1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
Commit Graph

2381 Commits

Author SHA1 Message Date
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
83012200d1 Separate Sluice styling away from SimplePrize styling 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
39417f3d11 Change screenshot folder for visual tests 2016-02-04 13:31:18 +01:00
Brett Sun
baf75cbee1 Fix shmui visual test 2016-02-04 13:31:18 +01:00
Brett Sun
574378af98 Update README for updated paths to tests 2016-02-04 13:31:18 +01:00
Brett Sun
67b46fb425 Move visual tests to /test/gemini folder 2016-02-04 13:31:18 +01:00
Brett Sun
a51b33857e Move sauce tests to /test/integration folder 2016-02-04 13:31:17 +01:00
Brett Sun
c3b8b596f1 Rebase remerge 2016-02-04 13:31:16 +01:00
Brett Sun
747f8df06b Rebase remerge 2016-02-04 13:30:55 +01:00
Brett Sun
afb832dc28 Remove browser-sync notify pop over that shows up in visual tests 2016-02-04 13:30:18 +01:00
Brett Sun
e895c76561 Add whitelabel visual test suite
Currently just checks landing page and some pages accessible to
unauthorized users.
2016-02-04 13:30:18 +01:00
Brett Sun
1d09ef1120 Main app visual test suite 2016-02-04 13:30: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
cb59d042b5 Update docs for PhantomJS 2.1, whitespace, and more tips 2016-02-04 13:29:54 +01:00
Brett Sun
3594229a6e Rebase remerge 2016-02-04 13:29:33 +01:00
Brett Sun
bd53151964 Add Gemini configuration for desktop and mobile on phantoms 2016-02-04 13:28:55 +01:00
Brett Sun
95bbe410de Rebase remerge 2016-02-04 13:28:49 +01:00
Brett Sun
76a413cee1 Merge with master 2016-02-01 10:18:30 +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
e08328b2fb Merge pull request #143 from ascribe/increase-sizelimit-for-works
Increase file size limit to 50GB
2016-01-27 11:55:20 +01:00
Brett Sun
215cc3b841 Move file name to under file upload preview for smaller screens 2016-01-27 11:33:45 +01:00
Tim Daubenschütz
8f7d4ccc2c Increase file size limit to 50GB
- Customer request
2016-01-27 11:32:23 +01:00
Brett Sun
5a5e597ca4 Merge pull request #80 from ascribe/align-global-notification-left
Use left alignment for global notification messages
2016-01-26 13:51:30 +01:00
Brett Sun
6a1dc7ed98 Merge with master 2016-01-26 13:50:03 +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
533a9efa8f Merge pull request #136 from ascribe/AD-1528-set-up-integration-testing-on-onion
Set up integration testing on onion
2016-01-26 10:47:54 +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
Brett Sun
0fefba549c Use configureHttp to set baseUrl for tests 2016-01-25 17:55:45 +01:00
Brett Sun
ebb8248364 Make sure to wait for LoginContainer 2016-01-25 17:37:04 +01:00
Brett Sun
bdc13473a1 Fix initial test script to wait for app to load 2016-01-25 17:32:04 +01:00
Brett Sun
f246005d9c Remove duplicate instance of gulp-sass 2016-01-25 17:31:18 +01:00
Brett Sun
a2ea9b4aa2 Add todo to the test README and make slight changes 2016-01-25 17:31:09 +01:00
vrde
c3c9c88421 Remove env variable from config 2016-01-25 11:32:43 +01:00
vrde
51d88a2ed2 Remove typo on env var name 2016-01-25 11:24:35 +01:00
vrde
c9a5fdce4f Merge remote-tracking branch 'origin/master' into AD-1528-set-up-integration-testing-on-onion 2016-01-25 11:05:18 +01:00
vrde
778c61bfdc Add utils to manage tunnel and stuff 2016-01-25 11:05:01 +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
58206a6094 Merge pull request #133 from ascribe/AG-131-Show-more-for-edition-table-not-working
Ag 131 show more for edition table not working
2016-01-25 10:25:36 +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