Brett Sun
1580dd8f52
Small additional info for logging COA errors
2015-12-17 16:40:38 +01:00
Brett Sun
6c5a2e0869
Load babel polyfill dependency but don't import
...
From the babel.io.github guys.
2015-12-17 16:09:47 +01:00
Brett Sun
e81341269d
If fetching COA results in 404, created a new COA
2015-12-17 15:46:30 +01:00
Brett Sun
95bce14220
Merge pull request #79 from ascribe/hotfix-contract-creation
...
Hotfix contract agreement creation failing on first time
2015-12-17 13:12:37 +01:00
Brett Sun
41df6fe837
Add global notification to form validation
2015-12-17 13:05:39 +01:00
Brett Sun
b6ca964adb
Fix contractAgreementList not updating correctly after initial creation
2015-12-17 11:01:49 +01:00
Brett Sun
ad17a9d6f3
Show server error in notification if one is given for failed piece registrations
2015-12-16 18:14:06 +01:00
Brett Sun
84ee8f6a9b
Use the right property on Image for previewing
2015-12-16 17:50:09 +01:00
Brett Sun
1fc1337207
Fix React warnings
2015-12-16 17:49:47 +01:00
Brett Sun
f2f775f20c
Carry down currentUser as prop to MediaContainer instead of adding state
2015-12-16 17:49:30 +01:00
Brett Sun
875e98dd3b
Merge pull request #75 from ascribe/AD-1506-cyland-loan-later-button
...
Fix PR feedback for Cyland loan button
2015-12-16 15:46:47 +01:00
Brett Sun
b971d516cc
Fix PR feedback for Cyland loan button
2015-12-16 15:33:00 +01:00
Brett Sun
f4227e9906
Update form's email state if the email prop changes
2015-12-16 15:17:47 +01:00
Brett Sun
0da3891d51
Merge pull request #70 from ascribe/fix-polyfill-import
...
Fix polyfill import
2015-12-16 14:25:06 +01:00
Brett Sun
e3c4e54386
Reverse order of Cyland loan form buttons
...
Maintains consistency with other buttons on the web app.
2015-12-16 14:24:03 +01:00
Brett Sun
e7c29d0d98
Cyland Admin should also not be able to register work
...
As per (AD-1504)[https://ascribe.atlassian.net/browse/AD-1504 ], Cyland
admin should not be able to register work, but instead use another
account to get loaned work.
2015-12-16 13:59:31 +01:00
Brett Sun
94e20d2ba8
Remove unnecessary button class
2015-12-16 12:45:21 +01:00
Brett Sun
764b9dbf12
Remove leftover function from previous functionality that was removed
2015-12-16 12:44:50 +01:00
Brett Sun
7fbe8a311b
Use col-xs instead of col-sm to handle mobile screens on white label landing pages
2015-12-16 12:43:43 +01:00
Brett Sun
1ea89313ff
Add custom buttons to loan form for Cyland registration
2015-12-16 12:43:03 +01:00
Brett Sun
5ee3b07cc1
Revert "Hotfix for iOS Safari mergeOptions clashes"
...
This reverts commit 1b4c6938f6
.
The actual problem was the late loading of the polyfills.
2015-12-15 16:26:49 +01:00
Brett Sun
274f149272
Make sure polyfill is loaded first by using import statement
...
ES6 `import` statements hoist their imports to the top of the file.
Using `require(‘babel/polyfill’)` actually loads the polyfill after the
other imports, causing errors.
2015-12-15 16:26:40 +01:00
Brett Sun
1b4c6938f6
Hotfix for iOS Safari mergeOptions clashes
2015-12-14 21:27:58 +01:00
Brett Sun
1de06b0ac5
Only show register work route if user can submit to wallet for IkonoTV, Lumenus
2015-12-14 18:59:10 +01:00
Brett Sun
b3b94b6f60
Fix spacing of WalletRoutes
2015-12-14 18:58:33 +01:00
Brett Sun
08025cc427
Remove unused showAddWork
property from Header
2015-12-14 18:58:05 +01:00
Brett Sun
6cc9ce8094
Don't redirect to register piece and then to contract notifications
...
Avoids new user getting asked if they want to cancel registration of a
piece before they even agree to the Ikono contract.
2015-12-14 18:34:27 +01:00
Brett Sun
cef2785438
Hot fix to show edition even if not logged on
2015-12-14 17:00:04 +01:00
Brett Sun
8aae923388
Merge pull request #68 from ascribe/PR-hotfixes
...
PR hotfixes
2015-12-14 16:57:51 +01:00
Brett Sun
33db8e2cbe
Merge pull request #67 from ascribe/AD-1362-implement-portfolioreview-judging-flow
...
Use mime types for <input>'s accept property
2015-12-14 16:32:14 +01:00
Brett Sun
5aaf02b0b4
Fire profileDidLoad event in PR to load intercom
2015-12-14 16:30:38 +01:00
Brett Sun
d9615188b0
Only assume TypeError if request's response is null
2015-12-14 14:54:57 +01:00
Brett Sun
e24c9c9c74
Small change to PR piece registration
...
Ignore `success` return of request, as requests will error if this is
returned false.
2015-12-14 14:34:13 +01:00
Brett Sun
9342262f5c
Move ignoreSentry parameter of logGlobal to be last in parameter list
2015-12-14 14:31:53 +01:00
Brett Sun
d0cef8c836
Add additional data fields requested by PR
...
Also adds way to sort the Properties in Prize Details by appending
`[digit]-[label]` to the Property’s name.
2015-12-14 13:03:19 +01:00
Brett Sun
be2f9bbc97
Make sure uploaded file from UploadButton has been linked with S3 before we try deleting it
2015-12-14 12:08:49 +01:00
Brett Sun
3286ef77bf
Add 404 handling to prizes' piece container
2015-12-14 11:57:14 +01:00
Brett Sun
bee420a919
Small fixes for PR's otherdata fileClass
2015-12-14 11:57:10 +01:00
Brett Sun
8f98251735
Add additional comment for Safari behaviour of input's accept property
2015-12-14 11:41:06 +01:00
Brett Sun
38ef18a192
Hotfix for sending contract agreements without appendices
2015-12-11 11:15:17 +01:00
Brett Sun
6e9b1ac181
Hotfix for header accessing undefined ref
...
Sometimes `onRouteChange()` is triggered before the component’s refs
are available, so we have to check for them before setting their state.
2015-12-10 19:19:01 +01:00
Brett Sun
d5823f10ec
Use mime types for input's accept property as safari doesn't play nicely with just the extensions
2015-12-10 17:54:33 +01:00
Brett Sun
b9e41d5cba
Use mergeOptions instead of Object.assign when merging sources to check for clashes
2015-12-10 15:42:33 +01:00
Brett Sun
b126de5c2d
Add empty object defaults to stores that use sources
...
Avoids inconsistent state where the store might set `null` or
`undefined` due to the server’s response
2015-12-10 15:41:55 +01:00
Brett Sun
268cbd55ad
Add logout link to submitted piece's hero component
2015-12-10 15:15:56 +01:00
Brett Sun
c9d330c2bd
Merge branch 'AD-1362-implement-portfolioreview-judging-flow' of github.com:ascribe/onion into AD-1362-implement-portfolioreview-judging-flow
2015-12-10 14:45:17 +01:00
diminator
51ff0295c0
refactor prize app to be compliant with whitelabel settings
2015-12-10 14:07:05 +01:00
Brett Sun
7cc51f81d0
Fix user fetch dispatch collision since the PieceContainer also fetches the user
2015-12-10 12:42:23 +01:00
Brett Sun
9b99e3ae09
Fix PR comments
2015-12-10 11:11:37 +01:00
Brett Sun
08cc88c699
Fix shorthand property ordering
2015-12-09 18:03:52 +01:00
Brett Sun
ffe88eb3bf
Cherry pick from previous PR
2015-12-09 18:02:14 +01:00
diminator
3461a28f36
Merge remote-tracking branch 'remotes/origin/master' into AD-1362-implement-portfolioreview-judging-flow
2015-12-09 16:48:33 +01:00
Tim Daubenschütz
8278f5404f
Increase robustness of:
...
- PieceListToolbarOrderWidget
- PieceListToolbarFilterWidget
2015-12-09 16:17:08 +01:00
Tim Daubenschütz
80df66ea5b
Merge branch 'master' into AD-1484-hide-PieceListToolbarFilterWidget-if-no-filters-applicable
2015-12-09 16:11:05 +01:00
Tim Daubenschütz
02af024609
Cosmetic changes in EditionContainer and CoaVerifyContainer
2015-12-09 15:56:47 +01:00
Brett Sun
7605f093ab
Fix Request error case
2015-12-09 14:44:31 +01:00
Tim Daubenschütz
b31872261d
Add AuthPrizeRoleRedirect to missing routes
2015-12-09 14:00:00 +01:00
Tim Daubenschütz
0b63801d33
Merge branch 'master' into AD-1362-implement-portfolioreview-judging-flow
2015-12-09 13:49:40 +01:00
Tim Daubenschütz
3e8e7a40e7
Fix setState warning for EditionContainer
2015-12-09 13:28:11 +01:00
Tim Daubenschütz
057a278d19
In EditionStore use empty object instead of null as default state
2015-12-09 13:21:55 +01:00
Tim Daubenschütz
2a251897d5
Split EditionSource up into CoaSource and EditionSource
2015-12-09 13:18:07 +01:00
Tim Daubenschütz
fb8111fadc
Merge branch 'AD-290-coa-buttons-and-usage-esp-verify' of github.com:ascribe/onion into AD-290-coa-buttons-and-usage-esp-verify
2015-12-09 13:04:27 +01:00
Tim Daubenschütz
03481f3b09
Fix bug: Old edition HTTP request holds loading data for new edition request
2015-12-09 13:04:15 +01:00
diminator
02a9844ed7
Merge remote-tracking branch 'remotes/origin/master' into AD-290-coa-buttons-and-usage-esp-verify
2015-12-09 11:42:22 +01:00
diminator
7318d4e5df
embed in edition
2015-12-09 11:41:46 +01:00
Tim Daubenschütz
de3d3e937e
Throw no 'Client Request Error' when body.success is not available
2015-12-09 11:24:11 +01:00
diminator
4e3cf47d3f
Merge branch 'AD-290-coa-buttons-and-usage-esp-verify' of github.com:ascribe/onion into AD-290-coa-buttons-and-usage-esp-verify
2015-12-08 18:17:30 +01:00
diminator
8226011e8a
query_params in coa_verify
2015-12-08 18:17:08 +01:00
Tim Daubenschütz
4727646654
Add nice message for waiting user
2015-12-08 17:43:19 +01:00
Tim Daubenschütz
e8d5e0390d
Improve robustness for server-side failing requests for COA
2015-12-08 17:38:04 +01:00
Tim Daubenschütz
02bb72970d
Merge pull request #52 from ascribe/AD-1428-add-link-to-portfolio-review-website
...
Add link to portfolio review website to registration form
2015-12-08 17:23:31 +01:00
Brett Sun
f9e7355704
Add FAQ to footer
2015-12-08 17:18:03 +01:00
Tim Daubenschütz
d035f1e41c
Hide PieceListToolbarFilterWidget when no filters are applicable
2015-12-08 16:49:06 +01:00
Tim Daubenschütz
32bc4b0c69
Add custom styling for PR
2015-12-08 16:43:45 +01:00
Brett Sun
9c8ba1bb1f
Fix spacing
2015-12-08 16:31:51 +01:00
Brett Sun
d609d1da9b
Merge with master
2015-12-08 16:27:03 +01:00
Brett Sun
b02f6d7695
Merge with master
2015-12-08 16:11:27 +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
Brett Sun
cfae0f67c0
Fix unnecessary promise chain in PrizePieceRatings
2015-12-08 15:09:33 +01:00
Brett Sun
257ff9b5d3
Destructure params for fetchPieceList
2015-12-08 15:09:03 +01:00
Brett Sun
349ea8518f
Destructure params for fetchEditionList
2015-12-08 14:55:04 +01:00
Brett Sun
f82797bea3
Move compnentDidUpdate for ESLint warning
2015-12-08 14:48:44 +01:00
Tim Daubenschütz
2cc02d9599
Increase robustness of coa fetching routine
2015-12-08 14:18:31 +01:00
Brett Sun
a844189e86
Attempt to show as close as possible of the original edition list on filter/unfilter refreshes
2015-12-08 13:44:10 +01:00
Brett Sun
4fa25ca446
Add option to specify the max edition to fetch and update the edition list to
2015-12-08 13:41:15 +01:00
Tim Daubenschütz
da75353b00
Refactor Edition endpoints to create Coa on demand properly
2015-12-08 13:28:47 +01:00
Brett Sun
8f3d8fafa6
Change fronted instances of 23vivi to be uppercase
2015-12-08 12:04:01 +01:00
Tim Daubenschütz
bf6b78c058
Revert "coa flush causes dispatcherror"
...
This reverts commit eaed301155
.
2015-12-08 11:49:03 +01:00
diminator
eaed301155
coa flush causes dispatcherror
2015-12-08 11:46:30 +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
6d5e3e1753
Add link to portfolio review website to registration form
2015-12-08 10:09:20 +01:00
Tim Daubenschütz
b8c58aa900
Add hotfix: do not unlisten history.js object
2015-12-07 17:41:10 +01:00
Brett Sun
7fdd534bc8
Hide thumbnail creation for marketplace white labels
...
Thumbnails and marketplace images might become confusing to the user if
they are both available. In the future, we may want to change the
marketplace image to just be the thumbnail image.
2015-12-07 17:24:13 +01:00
Tim Daubenschütz
23556b1b4c
Merge pull request #34 from ascribe/add-pause-resume-to-global-notifications
...
Implement pause and resume functionality to global notifications
2015-12-07 17:22:02 +01:00
Tim Daubenschütz
aba0747fe3
Merge pull request #30 from ascribe/AD-1313-Attach-thumbnail-to-piece-in-register-form
...
Ad 1313 attach thumbnail to piece in register form
2015-12-07 17:17:19 +01:00
Tim Daubenschütz
3681260054
Return empty string if file without extension is submitted
2015-12-07 17:14:43 +01:00
Tim Daubenschütz
56d8726a0b
Minor changes for integrating PR Feedback
2015-12-07 17:02:53 +01:00