1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-25 02:36:28 +02:00
Commit Graph

2380 Commits

Author SHA1 Message Date
Brett Sun
8527627db0 Hide the footer if a route has the hideFooter attribute 2016-02-01 14:49:48 +01:00
Brett Sun
50d50c66ee 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-01 14:48:44 +01:00
Brett Sun
6fc3a58567 Merge branch 'AD-1519-visual-regression-cli' into AD-1396-log-404-page-views-when-previous-view-was-within-the-app 2016-02-01 10:18:57 +01:00
Brett Sun
76a413cee1 Merge with master 2016-02-01 10:18:30 +01:00
Brett Sun
aee12e6155 Add reference test images 2016-01-29 14:38:29 +01:00
Brett Sun
a785fbc220 Change screenshot folder for visual tests 2016-01-29 14:37:55 +01:00
Brett Sun
11f644dd11 Fix shmui visual test 2016-01-29 14:37:41 +01:00
Brett Sun
29b1d8f7e5 Update README for updated paths to tests 2016-01-29 13:58:57 +01:00
Brett Sun
27ebf9d711 Move visual tests to /test/gemini folder 2016-01-29 13:58:52 +01:00
Brett Sun
8cb9536187 Move sauce tests to /test/integration folder 2016-01-29 13:39:46 +01:00
Brett Sun
cc072199a1 Update npm scripts for sauce labs 2016-01-29 11:48:37 +01:00
Brett Sun
841cc05525 Merge with master 2016-01-29 11:35:43 +01:00
Brett Sun
83b5b09b87 Add npm scripts for running visual tests 2016-01-29 11:26:10 +01:00
Brett Sun
331fdb528d Remove browser-sync notify pop over that shows up in visual tests 2016-01-29 11:24:28 +01:00
Brett Sun
cf0a66ef2e Add whitelabel visual test suite
Currently just checks landing page and some pages accessible to
unauthorized users.
2016-01-29 11:24:01 +01:00
Brett Sun
f9c70e2beb Main app visual test suite 2016-01-29 11:21:57 +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
Brett Sun
7edddc4d5a Update docs for PhantomJS 2.1, whitespace, and more tips 2016-01-29 11:17: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
Brett Sun
f44597c2bf Add docs for visual regression testing
Also adds a simple script for testing with phantomJS
2016-01-25 10:59:44 +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
vrde
a95a0fd2ea Add multi browser test 2016-01-22 17:52:03 +01:00
Tim Daubenschütz
6821ab9e44 Merge branch 'master' of github.com:ascribe/onion 2016-01-22 15:54:14 +01:00
Brett Sun
7fa2f09d02 Merge branch 'master' into AD-1519-visual-regression-cli 2016-01-22 10:38:53 +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