Brett Sun
c807f62297
Replace usage of history with router passed down through context
2016-06-06 16:10:41 +02:00
Tim Daubenschütz
fcaa85a0ed
Replace usage of History mixin with contextTypes
2016-06-06 16:07:16 +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
537d6d52e8
Small fixes for warnings
2016-02-08 10:41:36 +01:00
Brett Sun
8ba9eb20b6
Add better PropType validation for components
2016-02-05 11:53:33 +01:00
Brett Sun
1ffa1eb6aa
Fix potential race condition causing ProxyHandler to not evaluate its redirect functions if the component doesn't get updated
2016-01-13 16:03:08 +01:00
Brett Sun
8531b77633
Merge with master
2016-01-11 17:52:32 +01:00
Brett Sun
d622ddac06
Load current user and whitelabel settings in AscribeApp
2016-01-11 12:54:15 +01:00
Tim Daubenschütz
7e5662676c
Add header to jury, judge and admin role
2015-12-08 15:44:46 +01:00
Tim Daubenschütz
e427429263
Implement AuthPrizeRoleRedirect
2015-12-08 15:21:20 +01:00
Tim Daubenschütz
50377ba478
Generalize ProxyHandler to take arbitrary redirect functions
2015-12-08 11:17:04 +01:00
Tim Daubenschütz
7cb5fa6758
Rename AuthProxyHandler to ProxyHandler and remove default export
2015-12-08 10:38:32 +01:00
Tim Daubenschütz
e1c2c2514c
Move AuthProxyHandler one directory up
2015-12-08 10:23:37 +01:00
Tim Daubenschütz
88d1edd45c
Add pageExitWarning for SlidesContainer
2015-11-25 15:01:23 +01:00
Tim Daubenschütz
bccfc0906f
Revert super funny-"Important minor fix"
...
We better want this not to go live
This reverts commit b77fefb55c
.
Conflicts:
js/constants/application_constants.js
2015-11-20 16:17:08 +01:00
Tim Daubenschütz
b77fefb55c
Important minor fix
2015-11-20 10:21:21 +01:00
Tim Daubenschütz
e016ee7446
Merge pull request #12 from ascribe/AD-1242-Frontend-caching-using-local-storage
...
Implement functionality for feature-detecting webStorage
2015-11-16 17:37:29 +01:00
Brett Sun
56eff0d9ed
Improve DRYness of acl buttons
...
The React dev tools don’t seem to be able to automatically pick up the
displayName when using createClass from within another function, so
it’s added here to give clarity when debugging.
2015-11-06 15:10:29 +01:00
Tim Daubenschütz
0770a1ed61
Implement cache invalidation functionality for UserStore & UserSources
2015-11-02 11:31:02 +01:00
vrde
dc97517d65
Refactor AuthProxyHandler
2015-10-12 17:57:23 +02:00
vrde
12d3fb289e
Rename RedirectProxyHandler to AuthProxyHandler
2015-10-12 17:00:53 +02:00
vrde
04abf31354
Remove ProxyRoute
2015-10-12 16:51:18 +02:00
Tim Daubenschütz
356e0e368a
Fix some spelling errors in documentation
2015-10-12 14:29:31 +02:00
Tim Daubenschütz
d760fe13d0
Merge remote-tracking branch 'origin/master' into AD-727-missing-redirects-to-login-page
...
Conflicts:
js/components/whitelabel/wallet/components/cyland/ascribe_detail/cyland_piece_container.js
2015-10-12 14:18:53 +02:00
Tim Daubenschütz
d86668e759
Document RedirectProxyHandler
2015-10-09 15:51:03 +02:00
Tim Daubenschütz
211e253fb8
Add documentation for ProxyRoute
2015-10-09 15:39:00 +02:00
Tim Daubenschütz
cee8d7cae7
fix bug in FileDragAndDropDialog
2015-10-09 14:22:48 +02:00
Tim Daubenschütz
299007baab
Refactor redirect and redirectAuthenticated
2015-10-09 13:51:21 +02:00
Tim Daubenschütz
f066971ccc
Finalize ProxyRoute and RedirectProxyRoute
2015-10-06 18:28:15 +02:00
Tim Daubenschütz
28dfcfa75a
Merge remote-tracking branch 'origin/master' into AD-727-missing-redirects-to-login-page
...
Conflicts:
js/components/ascribe_detail/edition.js
js/components/ascribe_forms/form_login.js
js/components/ascribe_forms/form_signup.js
2015-10-06 16:40:02 +02:00
Tim Daubenschütz
0c6538df2f
add redirect to auth_component
2015-10-06 15:38:39 +02:00
Tim Daubenschütz
6877f2c8a7
Minor renaming of ProxyHandler
2015-10-06 15:29:01 +02:00
Tim Daubenschütz
97fd639c30
Implement ProxyRoute
2015-10-06 10:20:36 +02:00