1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
Commit Graph

95 Commits

Author SHA1 Message Date
Brett Sun
d8e92f6e01 Upgrade js-utility-belt 2016-06-22 13:00:46 +02:00
Brett Sun
bafcfe83d9 Use eslint-config-ascribe-react 2016-06-21 17:20:28 +02:00
Brett Sun
0d05eb17fa Upgrade js-utility-belt 2016-06-17 18:27:25 +02:00
Brett Sun
2ba96780f1 Update eslint-config-ascribe to avoid errors with long re-export lines 2016-06-14 17:57:58 +02:00
Brett Sun
8ebd24251c Add js-utility-belt 2016-06-14 17:57:57 +02:00
Brett Sun
8a3dc579fe Bump dependencies 2016-06-14 17:57:50 +02:00
Brett Sun
206eca16cb Add back spacing to npm scripts 2016-06-08 15:25:06 +02:00
Tim Daubenschütz
960e16475b Fix all occurrences of react/addons usage
Fixed also: cloneWithProps deprecation
2016-06-06 16:07:16 +02:00
Tim Daubenschütz
b0777fe326 Bump react infrastructure dependencies 2016-06-06 16:07:12 +02:00
Brett Sun
7610d74c4c Add separate extract build command and disable it by default on development
Using ExtractTextPlugin disables hot reloading for CSS, so we only
enable it in production.
2016-06-03 18:06:51 +02:00
Brett Sun
319261f15e Update gemini and docs for visual regression testing 2016-06-03 16:02:31 +02:00
Brett Sun
92978269cc Fix ESLint errors on visual and integration test code 2016-06-03 13:26:40 +02:00
Brett Sun
aff95af78f Upgrade ESLint and use eslint-config-ascribe 2016-06-03 13:26:32 +02:00
Brett Sun
2921c2adac Handle dependencies that should be split from the main app
Using ES6’s System.import allows webpack to split up the dependency
into its own chunk and load it as necessary. When this is not possible
(ie. when a script expects itself to be dropped into the html), follow
the previous strategy of copying the dependency folder into the build
folder.
2016-06-02 17:14:58 +02:00
Brett Sun
7eaa3b1a2b Inject environment variables into app
Injects environment variables into the app through webpack, rather than
script snippets in index.html.

As part of this:

* Updated server.js to use node’s path package to resolve file paths
* Ensure that all url environment variables passed to the app don’t
have a trailing slash, allowing for cleaner template urls

**Note**: There are still a number of constants that should be taken
out of the app and put into environment variables.
2016-06-02 17:14:58 +02:00
Brett Sun
1b52749f9d Generate index.html using webpack
Allows webpack to generate the js and css tags rather than hard coding
them in
2016-06-02 17:14:58 +02:00
Brett Sun
bd2895afa0 Add webpack config
Notable changes:

* Updated to babel 6
* Updated polyfills to only include core-js/es6 and core-js/stage/4
rather than entire babel/polyfill set
* Dev server with hot reloading replaces server.js in development
* Updated bootstrap loading to be separate from app’s stylesheets
* Cleaned up some of the font dependencies, removing the need for
templating their paths
2016-06-02 17:14:58 +02:00
Brett Sun
d2a17839ee Rename sauce tunnelling command to sauce-tunnel for less ambiguity 2016-06-02 17:14:58 +02:00
Brett Sun
9b70488b7f Upgrade to babel6 2016-06-02 17:14:58 +02:00
Brett Sun
959c5402de Remove gulp and browserify dependencies 2016-06-02 17:14:58 +02:00
Brett Sun
a98ce448c9 Upgrade heroku node engine to 6.2 2016-06-02 17:14:58 +02:00
Brett Sun
d1b9c8f96c Re-order package.json 2016-06-02 17:14:58 +02:00
Brett Sun
122dc97bb6 Bump version number
Cause that's how you know it's upgraded!
2016-06-02 17:14:58 +02:00
Brett Sun
a79c0f2784 Remove trailing trues on visual regression scripts
Doesn’t seem to be eliminating the node failure logs, so we’ll use the
silent flag instead
2016-02-05 14:43:20 +01:00
Brett Sun
826ca08073 Merge with master 2016-02-05 10:38:59 +01:00
Brett Sun
8531b77633 Merge with master 2016-01-11 17:52:32 +01:00
diminator
2acf3f4056 Added round to prizepiece
upon new round:
- reset is_selected
- increment round for is_selected=True
bug fix filter on is_selected
2016-01-06 14:24:58 +01:00
Brett Sun
3aab73379a Merge with master 2015-11-30 11:43:33 +01:00
Tim Daubenschütz
6888aaa8d9 Merge pull request #37 from ascribe/AD-1345-remind-users-not-to-leave-long-submission-form
Ad 1345 remind users not to leave long submission form
2015-11-27 17:34:12 +01:00
Brett Sun
3b6481eda0 Bump Rackt/History to 1.13.1
Gracefully handle when sessionStorage is unavailable
2015-11-26 11:45:40 +01:00
Tim Daubenschütz
121a1dbb8d Bump react-router to 1.0.0 because of found bug 2015-11-25 15:00:56 +01:00
Brett Sun
c270977eb9 Fix default filter on piece list 2015-11-24 19:26:45 +01:00
Brett Sun
955e20d6b6 Reduce dependency footprint of new includes
Opted for decamelize instead of snake-case as it’s much smaller and we
don’t need the extra functionality of snake-case.
2015-11-02 18:29:06 +01:00
Brett Sun
d23331d9b9 Remove ReactS3FineUploader's dependency on react-router's location
ReactS3FineUploader used to check the current url’s query params to
determine which method it should use to upload, but this decision means
the component is tightly coupled with react-router and history.js. A
major pain point is having to propagate the location prop all the way
down to this component even when it’s not necessary.

Now, ReactS3FineUploader’s parent elements can either parse the current
query params themselves or, if they have a location from react-router,
simply use the location.

Added a few utils to help parse url params.
2015-10-30 17:43:20 +01:00
Tim Daubenschütz
b2634c5b3f Upgrade react-router 2015-10-21 20:57:35 +02:00
Tim Daubenschütz
444de8ebd7 Remove potentially dangerous automatic upgrade for react-router 2015-10-20 17:42:19 +02:00
Tim Daubenschütz
ddf3eb18fc update package.json 2015-10-09 14:08:47 +02:00
Tim Daubenschütz
c174b8b56c Tighten lib-dependencies, move history into its own module 2015-10-05 11:52:23 +02:00
Tim Daubenschütz
17fd470e6b Upgrade react-router-bootstrap 2015-10-01 14:00:56 +02:00
Tim Daubenschütz
eebe936023 Change: router rendering, router location, route configs, notFound routes, redirect routes, 2015-09-30 17:09:46 +02:00
Tim Daubenschütz
5ded1e0760 Update browserify-shim and react-router 2015-09-30 15:05:27 +02:00
Tim Daubenschütz
6102ed3bb4 update react textarea autosize 2015-09-21 16:10:25 +02:00
Tim Daubenschütz
801227cfee remove react-progress-bar for react-bootstrap progressbar 2015-09-09 14:11:52 +02:00
Tim Daubenschütz
9aa47a5de4 open localhost.com:3000 instead of localhost:3000 2015-08-31 17:55:27 +02:00
Tim Daubenschütz
b4f68f23e8 update react-datepicker DO NPM INSTALL 2015-08-26 18:03:58 +02:00
Tim Daubenschütz
1620437c86 add defaultValue to inputdate 2015-08-12 13:53:17 +02:00
diminator
f5b34222a9 remove ratings from master branch 2015-08-10 17:45:49 +02:00
diminator
a6e257bd27 Merged in AD-545-add-rating-support-for-the-pieces (pull request #36)
Ad 545 add rating support for the pieces
2015-08-10 17:08:11 +02:00
diminator
a27415eb86 jury dashboard + rating WIP 2015-08-10 15:23:13 +02:00
Tim Daubenschütz
f3e378f221 update react-bootstrap first cut 2015-08-05 16:49:25 +02:00