Brett Sun
0a4d19677f
Merge with master
2016-02-04 14:00:03 +01:00
Brett Sun
f1b677dbd1
Use the activeRoute prop to generate route classnames on whitelabels
2016-02-04 13:32:06 +01:00
Brett Sun
8f2ace77af
Use previous method from white labels to get the current active route
2016-02-04 13:32:06 +01:00
Brett Sun
6f2424d103
Rebase remerge
2016-02-04 13:32:00 +01:00
Brett Sun
e616576fa5
Hide the footer if a route has the hideFooter
attribute
2016-02-04 13:31:19 +01:00
Brett Sun
764f81925b
Change children
prop from react-router to only be a Element type
...
Judging by
https://github.com/rackt/react-router/blob/master/docs/API.md#children-1
and a few inspections in the code, as well as tests, the `children`
prop injected into routes can only ever be a single React Element
object.
This allows us to easily get the active route of a child (if there is
an active route) by querying the `children`’s route prop.
2016-02-04 13:31:18 +01:00
Brett Sun
4e13376d5f
Add route class names to prize app
2016-02-04 13:31:18 +01:00
Brett Sun
2661f2ba57
Standardize CoaVerify route across apps
2016-02-04 13:30:18 +01:00
Brett Sun
5cfbe5cc39
Rebase remerge
2016-02-04 13:30:16 +01:00
Brett Sun
3c6dea3585
Merge pull request #146 from ascribe/AD-1519-visual-regression-cli
...
AD-1519 Visual regression tests
2016-02-04 12:03:50 +01:00
Brett Sun
8ef19a1ed0
Fix prize instances of the verify route to be coa_verify
2016-02-04 11:26:30 +01:00
Tim Daubenschütz
c0e55a1829
Merge pull request #147 from ascribe/AG-144-wallet-owner-should-not-be-redirected
...
Fix redirection of wallet owners
2016-02-02 10:23:57 +01:00
Brett Sun
eaaaa3bb76
Merge pull request #82 from ascribe/fix-input-date
...
Fix InputDate's initial evaluation of defaultValue
2016-02-01 15:45:40 +01:00
Tim Daubenschütz
b405bc675b
Fix PR feedback
2016-02-01 14:47:51 +01:00
Tim Daubenschütz
e2a481a3f0
Fix redirection of wallet owners
...
This also fixes a problem where newly created
users would be redirected to a 404 page.
2016-02-01 13:50:55 +01:00
Brett Sun
76a413cee1
Merge with master
2016-02-01 10:18:30 +01:00
Brett Sun
841cc05525
Merge with master
2016-01-29 11:35:43 +01:00
Brett Sun
7383fbb1f6
Standardize CoaVerify route across apps
2016-01-29 11:20:43 +01:00
Brett Sun
01217318a4
Add ids to dropdown buttons, as per warnings
...
Also helps us find these dropdown buttons with Gemini.
2016-01-29 11:20:27 +01:00
Tim Daubenschütz
f2542f99bd
Merge pull request #141 from ascribe/AG-139-specific-file-formats-leads-to-wrong-preview-sizing
...
AG-139 Extract extension using file name rather that mime type for uploader preview
2016-01-28 10:03:18 +01:00
Tim Daubenschütz
8f7d4ccc2c
Increase file size limit to 50GB
...
- Customer request
2016-01-27 11:32:23 +01:00
Brett Sun
627b2f75fe
Extract extension using file name rather that mime type for uploader preview
...
Also adds ellipsis overflow to the extension name to prevent long
extensions from resizing the preview element and removes redundant
`.file-drag-and-drop-preview-table-wrapper` class
2016-01-26 13:41:15 +01:00
Tim Daubenschütz
83eadf8528
Merge pull request #119 from ascribe/AG-109-marketplace-thumbnail-uploader-does-not-use-validation
...
AG-109 Marketplace thumbnail uploader does not use validation
2016-01-26 11:58:51 +01:00
Brett Sun
be081b6655
Fix check for allowed extensions in ReactS3FineUploader
2016-01-26 11:34:12 +01:00
Brett Sun
ba3c7db6cd
Reorder methods in ReactS3FineUploader
2016-01-26 11:33:38 +01:00
Tim Daubenschütz
d8f2423344
Merge pull request #95 from ascribe/add-default-should-redirect
...
Collection should redirect to Register Work when a user does not have pieces yet
2016-01-26 11:08:32 +01:00
Tim Daubenschütz
3d43cd8505
Remove 'disabledOn' for prize routes
2016-01-26 11:07:41 +01:00
Tim Daubenschütz
74c8abdf51
Merge pull request #135 from ascribe/AG-124-display-correct-file-type-in-download-button
...
Fix wrong file endings for files that do not have extensions
2016-01-26 10:47:37 +01:00
Tim Daubenschütz
79a1dc0e08
Fix wrong file endings for files that do not have extensions
...
Closes #130
2016-01-25 11:01:28 +01:00
Tim Daubenschütz
4088857d67
Fix property naming for Fetcher to fix "Show more" dialog
...
Closes #131
2016-01-25 10:23:20 +01:00
Brett Sun
64c02d4d65
Remove duplicate 'name' propType in PieceExtraDataForm
...
You would not believe how much pain this has caused me with PhantomJS...
2016-01-22 00:03:49 +01:00
Tim Daubenschütz
9f0a071473
Merge pull request #128 from ascribe/AG-127-remove-hash-option-for-thumbnail
...
Remove hash option for thumbnail
2016-01-21 17:33:17 +01:00
Brett Sun
aef3bf5094
Remove hash option for thumbnail
2016-01-21 17:20:45 +01:00
Tim Daubenschütz
26455b856c
Merge pull request #125 from ascribe/AG-124-display-correct-file-type-in-download-button
...
Extract file extension from amazon S3 link
2016-01-21 17:14:25 +01:00
Brett Sun
27f1b7e9b4
Add default redirect for empty collections
2016-01-21 16:47:57 +01:00
Brett Sun
9559bc09b4
Disable 'Collection' header item when no pieces are found for the user
...
The disabling only happens when the piece list is fetched, which may
not happen immediately in some cases (ie. logged in user goes straight
to another person’s edition first). We’re not able to fetch the piece
list immediately, as some white labels apply default filters on the
piece list which forces them to wait until they can begin fetching
their piece lists.
2016-01-21 16:47:35 +01:00
Tim Daubenschütz
d9755f3563
Extract file extension from amazon S3 link
2016-01-21 16:24:17 +01:00
Tim Daubenschütz
b81cd76d10
Change language in detail pages:
...
- "BY" => "CREATED BY"
- "REGISTREE" => "ASCRIBED BY"
2016-01-21 15:17:19 +01:00
Brett Sun
9b1e6cc8a1
Small stylistic changes to Header and NavRoutes
2016-01-21 15:11:19 +01:00
Tim Daubenschütz
80b4e22435
Cancel dragged invalid file with proper messaging
2016-01-21 13:53:14 +01:00
Brett Sun
4dd701a414
Add extension validation to marketplace thumbnail uploader
2016-01-21 12:24:31 +01:00
Brett Sun
af59531fe7
Move fine uploader validation constants into their own file
2016-01-21 12:24:15 +01:00
Brett Sun
a23dd99b94
Merge pull request #98 from ascribe/AD-1417-turn-links-in-further-details-into-anchors
...
AD-1417 Turn links in further details into anchors
2016-01-20 12:41:36 +01:00
Brett Sun
a85c70798e
Fix mistaken check for form buttons
2016-01-20 12:32:49 +01:00
Brett Sun
0045dc6981
Add anchorization to whitelabel forms
2016-01-20 12:31:02 +01:00
Brett Sun
d75a2d257d
Merge with master
2016-01-19 19:36:30 +01:00
Brett Sun
5b7a5de332
Merge with master
2016-01-19 17:02:04 +01:00
Brett Sun
c6afea2583
Calculate max thumbnail size instead of hard coding it on the registration form
2016-01-19 16:54:08 +01:00
Brett Sun
7b9c9eca24
Merge with master
2016-01-19 16:39:19 +01:00
Brett Sun
762af44fbb
Merge with master
2016-01-19 16:28:52 +01:00