Brett Sun
6b1609e8d9
Merge pull request #201 from ascribe/modernize-build-system
...
Modernize build system
2016-06-10 10:26:24 +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
d6c1dca63a
Enable code splitting for whitelabels
2016-06-03 17:52:38 +02:00
Brett Sun
ab946abfbc
Suppress build info for dev server
2016-06-03 16:02:34 +02:00
Brett Sun
319261f15e
Update gemini and docs for visual regression testing
2016-06-03 16:02:31 +02:00
Brett Sun
c13a24a107
Add dedupe webpack plugin for production builds
2016-06-03 13:26:44 +02:00
Brett Sun
1a8691bc53
Map entire dist/ folder as /static in server to allow for dynamic chunking
...
Otherwise we’d have to change the mapping every time we add or remove a
chunk.
2016-06-03 13:26:43 +02:00
Brett Sun
173d3d19b7
Always build with /static as the public path for the assets
2016-06-03 13:26:43 +02:00
Brett Sun
92978269cc
Fix ESLint errors on visual and integration test code
2016-06-03 13:26:40 +02:00
Brett Sun
42d35e7807
Fix ESLint errors on server and dev server
2016-06-03 13:26:39 +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
a8ac9f2777
Move .env-template to .env_template for naming rules
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
4561034869
Clean gitignore
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
669c2610cf
Merge pull request #199 from ascribe/nuke-prizes
...
Remove prize whitelabels
2016-06-02 17:10:53 +02:00
Brett Sun
857ea3fe64
Remove prize styling
2016-05-31 18:42:36 +02:00
Brett Sun
37e4b68afb
Remove prize whitelabels
2016-05-27 12:04:36 +02:00
Brett Sun
53ef5248ca
Merge pull request #71 from ascribe/AD-1387-improve-redundancy-of-notifications
...
AD-1387 Improve robustness of notifications
2016-05-27 11:33:47 +02:00
Brett Sun
26dde8a42c
Merge pull request #160 from ascribe/add-default-notifications-message
...
Discard (and log) global notifications that do not have a message specified
2016-05-27 11:33:39 +02:00
Brett Sun
75e8e90a4c
Merge pull request #196 from ascribe/fix-edition-public-note-not-showing
...
Fix public notes not appearing in editions
2016-05-02 11:52:29 +02:00
Brett Sun
af0b2109f9
Remove small unnecessary bits of logic in displaying notes
2016-05-02 11:14:52 +02:00
Brett Sun
a8df08c01e
Show the public note on editions
...
Public notes should be visible either when there is one already saved,
or if you can edit the field
2016-05-02 11:13:24 +02:00
Brett Sun
e0a9d1ccba
Merge pull request #195 from ascribe/AG-194-non-owners-can-edit-further-details
...
Set the default editable status of the MarketFurtherDetails to be false
2016-04-27 17:59:30 +02:00
Brett Sun
c12a5f4977
Set the default editable status of the MarketFurtherDetails to be false
...
Non-owners don't get provided an acl_edit in their edition acls, so the
default behaviour of MarketAdditionalDetailsForm was to set the form to
be editable.
2016-04-25 17:32:59 +02:00
Brett Sun
b3f34e21e3
Merge pull request #190 from ascribe/remove-leftover-phantomjs-launcher
...
Remove phantomjs launcher leftover from rebase merge
2016-04-21 16:04:34 +02:00
Tim Daubenschütz
6b147cdef9
Merge pull request #193 from ascribe/AG-162-stuck-piece-registration
...
Hide button and spinner in form instead of replace
2016-04-21 16:02:29 +02:00
tim
abebbe2e51
Hide button and spinner in form instead of replace
2016-04-21 13:27:55 +02:00
Brett Sun
b26b38f5d9
Merge pull request #192 from ascribe/AG-191-ikonotv-weird-further-details-placeholder
...
AG-191 IkonoTV weird further details placeholder
2016-04-21 12:17:43 +02:00
Brett Sun
702107258a
Fix weird messaging IkonoTV empty further details placeholdher
2016-04-21 11:04:17 +02:00
Brett Sun
3b885a4f38
Remove phantomjs launcher leftover from rebase merge
2016-04-21 10:36:15 +02:00
Tim Daubenschütz
7c35a5de97
Merge pull request #189 from ascribe/AG-188-enable-amazon-s3-accelerate
...
Enable Amazon S3 Accelerate
2016-04-20 15:45:10 +02:00
tim
56b7071c87
Enable Amazon S3 Accelerate
2016-04-20 15:15:59 +02:00
Brett Sun
80a63e1c8c
Merge pull request #186 from ascribe/add-error-json-to-sentry
...
Log error json payloads in Sentry
2016-04-13 10:45:33 +02:00
Brett Sun
8db7655a37
Remove deprecated global notification types
2016-04-13 10:39:19 +02:00
Brett Sun
d995dc238b
Log error json payloads in Sentry
2016-04-13 10:19:41 +02:00
Brett Sun
91cc3c63ff
Merge pull request #175 from ascribe/fix-request-unexpected-end-of-input
...
Fix unexpected end of input exceptions from requests
2016-04-13 09:58:14 +02:00
tim
9f0cd93c28
quickfix wrong import
2016-04-07 13:51:12 +02:00
Tim Daubenschütz
a4b69100c6
Merge pull request #182 from ascribe/liquid-gallery-wallet
...
Add Liquid Gallery Whitelabel Page
2016-04-07 13:45:50 +02:00
tim
76daa7edc2
Add Liquid Gallery Whitelabel Page
2016-04-06 16:22:03 +02:00
Tim Daubenschütz
b6c8e5c65e
Merge pull request #179 from ascribe/remove-unused-api-endpoint
...
Remove edition_index endpoint
2016-03-23 16:28:09 +01:00
tim
ddebccbe1c
Remove edition_index endpoint
2016-03-22 15:31:03 +01:00