Brett Sun
9ffa834ec0
Fix Navbar not showing mobile toggle
2016-06-10 10:32:42 +02:00
Brett Sun
2aa3aa5ff7
Fix Footer rendering from route declarations
...
Also a few cosmetic changes to make it more obvious the route holds an
actual footer type.
2016-06-10 10:25:09 +02:00
Brett Sun
df1e6a55c4
Remove displayName declaration from ProxyHandler's component
2016-06-10 10:25:03 +02:00
Brett Sun
ec13e968a4
Make withContext's displayName more intuitive
2016-06-10 10:24:54 +02:00
Brett Sun
0f57137c52
Remove route from context and use setRouteLeaveHooks in top level route components
2016-06-08 15:10:58 +02:00
Brett Sun
71dbad2a18
Add location to context
2016-06-08 14:54:05 +02:00
Brett Sun
5a0a6e88db
Convert usages of withRouter to withContext
2016-06-08 13:53:50 +02:00
Brett Sun
5073b0988d
Convert withCurrentUser and withWhitelabel to withContext
2016-06-08 13:53:46 +02:00
Brett Sun
75247b2594
Remove obsolete AppRouteWrapper
...
Now that currentUser and whitelabel are passed as context, we don’t
need AppRouteWrapper to copy them into routes as props
2016-06-08 13:11:52 +02:00
Brett Sun
34b1a2c1fc
Add whitelabel and isLoggedIn as arguments to ProxyHandler's redirectFunctions
2016-06-08 13:11:52 +02:00
Brett Sun
b02695a33a
Convert whitelabel to be passed down through context and withWhitelabel HOC
2016-06-08 13:11:48 +02:00
Brett Sun
b5eda1cdd2
Inject isLoggedIn through withCurrentUser
...
Makes checking for logged in status less error prone than always using
`currentUser.email` or `currentUser.username`.
2016-06-07 14:56:40 +02:00
Brett Sun
d1dba86b1a
Convert currentUser to be passed down through context and withCurrentUser HOC
...
Similar to what react-router did with their router and withRouter HOC.
2016-06-07 14:56:35 +02:00
Brett Sun
6b67a8462f
Convert usage of router from context to using withRouter
2016-06-06 16:54:38 +02:00
Brett Sun
c807f62297
Replace usage of history with router passed down through context
2016-06-06 16:10:41 +02:00
Brett Sun
d1dfdbdbec
Only import what we need from react-router
...
Unfortunately webpack doesn’t understand jsnext:main declarations yet,
so we have to do this ourselves by using react-router’s es6 build
2016-06-06 16:07:47 +02:00
tim
30c03783d1
Replace getDOMNode with findDOMNode
2016-06-06 16:07:43 +02:00
tim
7e0068bec8
Fix app crashing warnings
2016-06-06 16:07:17 +02:00
Tim Daubenschütz
fcaa85a0ed
Replace usage of History mixin with contextTypes
2016-06-06 16:07:16 +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
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