1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00
Commit Graph

1930 Commits

Author SHA1 Message Date
Brett Sun
d6c1dca63a Enable code splitting for whitelabels 2016-06-03 17:52:38 +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
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
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
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
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
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
702107258a Fix weird messaging IkonoTV empty further details placeholdher 2016-04-21 11:04:17 +02:00
tim
56b7071c87 Enable Amazon S3 Accelerate 2016-04-20 15:15:59 +02:00
tim
76daa7edc2 Add Liquid Gallery Whitelabel Page 2016-04-06 16:22:03 +02:00
Tim Daubenschütz
227cd2832d fix thumbnail rendering for video 2016-03-10 17:07:11 +01:00
Tim Daubenschütz
fe77d73979 Merge pull request #172 from ascribe/AG-171-support-tiff-submissions
Add async tiff thumbnail encoding support
2016-03-10 15:37:29 +01:00
Brett Sun
55f53247ea Merge pull request #174 from ascribe/fix-digital-work-file-name
Use setTimeout instead of setInterval to refresh signed download urls
2016-03-10 15:32:37 +01:00
Tim Daubenschütz
7a59960255 Restrict thumbnail expansion if file is TIFF 2016-03-10 15:09:22 +01:00
Tim Daubenschütz
4fdab505e7 Restructure MediaPlayer
- encoding evaluation taken out to MediaContainer
2016-03-10 14:33:54 +01:00
Brett Sun
8f12e12bcc Move header_notification to be in sync with its component's name 2016-03-10 13:43:07 +01:00
Brett Sun
30911b5395 Make notification fetching dependent on if the current user is available 2016-03-10 13:41:36 +01:00
Brett Sun
114129588e Improve DRYness of HeaderNotification 2016-03-10 13:15:26 +01:00
Brett Sun
4cd093aaa8 Ignore global notifications that do not contain a message 2016-03-10 12:45:21 +01:00
Brett Sun
65c37b2c74 Use setTimeout instead of setInterval to refresh signed download urls 2016-03-10 12:06:58 +01:00
Tim Daubenschütz
e0401de1a3 Add async tiff thumbnail encoding support
- Fixes #171
2016-03-09 16:54:11 +01:00
Tim Daubenschütz
5e6b483149 Merge pull request #169 from ascribe/AG-112-visual-changes-to-23vivi
Ag 112 visual changes to 23vivi
2016-03-07 14:14:11 +01:00
Tim Daubenschütz
1edfca48c8 Fix minor indentation issue 2016-03-07 14:09:51 +01:00
Tim Daubenschütz
bc3093d4d7 Whitelabel login form
- also make some changes to signup form
2016-03-07 14:04:34 +01:00
Tim Daubenschütz
6301c0fe46 Refactor to route specific footer 2016-03-07 13:45:40 +01:00
Tim Daubenschütz
1c94ecc177 Add footer property to Route 2016-03-04 15:53:55 +01:00
Tim Daubenschütz
66e4591a56 Whitelabel signup form 2016-03-04 14:27:56 +01:00
Tim Daubenschütz
73ff516078 Add Date of registration to detail pages 2016-03-04 11:10:58 +01:00
Tim Daubenschütz
69dd08751b Merge pull request #165 from ascribe/AG-161-filter-password_confirm-for-sentry
Filter password_confirm for sentry
2016-03-03 11:16:42 +01:00
Tim Daubenschütz
0dc4efdca1 Filter password_confirm for sentry 2016-03-03 11:15:09 +01:00
Tim Daubenschütz
5b79648385 Merge pull request #153 from ascribe/fix-digital-work-file-name
Fix digital work file name download
2016-03-03 10:05:13 +01:00
Tim Daubenschütz
64d0dd008e Correct timer variable name 2016-03-03 10:04:45 +01:00
Tim Daubenschütz
e863349531 Refactor to comply with PR feedback 2016-03-01 12:55:27 +01:00
Tim Daubenschütz
627ace63cd Add demo whitelabel page 2016-02-24 11:16:56 +01:00
Tim Daubenschütz
b2a21c5cc1 Resign url based on setInterval 2016-02-22 17:38:02 +01:00
Tim Daubenschütz
23efaa368e Apply PR feedback 2016-02-22 12:18:40 +01:00
Tim Daubenschütz
f2c7f02480 Add component for signing S3 url 2016-02-17 11:38:01 +01:00
Brett Sun
dcdae7b7b1 Merge pull request #156 from ascribe/AG-114-show-visual-add-for-cosign-wallet-uneditable-works
AG-114 Show visual aid for uneditable works in consign wallet
2016-02-10 13:40:26 +01:00
Brett Sun
9e0efd5140 Small warnings fix for bool props 2016-02-09 12:07:23 +01:00
Brett Sun
e17347a98c Add error modal for uneditable marketplace editions that cannot be consigned due to missing fields 2016-02-09 12:07:09 +01:00
Brett Sun
28ed1473d6 Hotfix for uploader merge error 2016-02-09 10:20:32 +01:00
Tim Daubenschütz
dad4ea4e87 Merge pull request #107 from ascribe/cosmetic-fix-for-multiline-destructure
Update multiline destructuring format based on style guide
2016-02-09 09:27:26 +01:00
Tim Daubenschütz
8b0f27a17d Merge pull request #154 from ascribe/fix-getlangtext
Fix missing cases of getLangText
2016-02-09 09:25:49 +01:00
Brett Sun
d5b71ca438 Fix bool warning for showing webhook events 2016-02-08 17:53:58 +01:00
Tim Daubenschütz
2cb8fb2dd9 Replace bootstrap button with proper dl-link 2016-02-08 16:44:27 +01:00