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

161 Commits

Author SHA1 Message Date
Brett Sun
3587a7ae4f Merge pull request #102 from ascribe/remove-unused-prize-list-components
Remove unused PrizeList store and action
2016-01-18 18:29:44 +01:00
Brett Sun
aa00415a83 Merge with master 2016-01-18 14:15:19 +01:00
Brett Sun
1333543e22 Merge pull request #104 from ascribe/use-parameters-in-calls-to-sources
Pass parameters to sources as opposed to using state
2016-01-18 14:09:07 +01:00
Brett Sun
78cf40ba64 Small cosmetic changes 2016-01-18 10:53:01 +01:00
Brett Sun
a2320b892d Merge with master 2016-01-18 10:40:13 +01:00
Brett Sun
d805c1758c Merge pull request #60 from ascribe/AD-1443-open-edition-lists-not-refreshing
AD-1443 Attempt to show as much of the original edition list as possible on refresh
2016-01-18 10:26:51 +01:00
Brett Sun
bc17dd4bad Small cosmetic changes 2016-01-18 10:17:49 +01:00
Brett Sun
50129b9d0c Refactor MarketSubmitButton to pull the piece as necessary rather than always fetching it in MarketAdditionalDataForm 2016-01-15 14:22:28 +01:00
Brett Sun
c6071d8ab4 Merge branch 'use-parameters-in-calls-to-sources' into AD-1558-piece-and-edition-detail-show-stale-data
Merge with update to the pattern used in sources
2016-01-15 14:20:18 +01:00
Brett Sun
f4eef6b7c8 Prevent empty change events being fired on actions that just delegate to sources 2016-01-15 13:56:56 +01:00
Brett Sun
e5a8ebd623 Use parameters instead of meta objects in state to pass information to sources 2016-01-15 13:55:58 +01:00
Brett Sun
03490b8c63 Fixes for converting pieceFetcher into store 2016-01-14 16:44:52 +01:00
Brett Sun
7136f2ce6c Add getInitialState and source pattern for PieceStore 2016-01-14 13:20:45 +01:00
Brett Sun
a5442e5acd Add getInitialState pattern for EditionStore 2016-01-13 17:24:32 +01:00
Brett Sun
ea18b31db1 Small style changes for Piece and Edition ListStores 2016-01-13 17:14:09 +01:00
Brett Sun
72db69ee9e Remove unused PrizeList store and action 2016-01-13 16:17:31 +01:00
Brett Sun
0f8094ef55 Merge pull request #69 from ascribe/AD-1346-hide-piece-registration-if-cant-submit
AD-1346 Hide piece registration if user cannot submit to whitelabel
2015-12-17 16:44:25 +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
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
1b4c6938f6 Hotfix for iOS Safari mergeOptions clashes 2015-12-14 21:27:58 +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
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
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
03481f3b09 Fix bug: Old edition HTTP request holds loading data for new edition request 2015-12-09 13:04:15 +01:00
Tim Daubenschütz
e8d5e0390d Improve robustness for server-side failing requests for COA 2015-12-08 17:38:04 +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
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
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
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
2b6b78310c Merge pull request #1 from ascribe/AD-1177-display-404-on-pieces-and-editio
AD-1177 display 404 on pieces and editio
2015-12-07 11:49:39 +01:00
Brett Sun
e69dfeb355 Revert "Merge with AD-1443"
Revert https://github.com/ascribe/onion/pull/40, as that needs more
work.
2015-12-03 17:43:15 +01:00
Tim Daubenschütz
5a6c827f0b Merge branch 'master' into AD-1177-display-404-on-pieces-and-editio
Conflicts:
	js/components/ascribe_detail/edition_container.js
	js/components/ascribe_detail/piece_container.js
2015-11-30 15:00:39 +01:00
Brett Sun
3d017392c1 Only use previous filterBy on refreshing edition lists if no filterBy argument was given
Also fix the behaviour of refresh using the list’s current length
rather than the previous page size.
2015-11-30 11:32:48 +01:00
Tim Daubenschütz
7146f00c05 Refactor webhooks: add source, clear state on create hide create on no items left 2015-11-27 13:36:42 +01:00
diminator
1c25f8e776 webhooks in settings without acl 2015-11-27 03:24:37 +01:00
Brett Sun
6649b7d7f1 Implement pause and resume functionality to global notifications
Also part of this change:
* Handle the notification cooldown periods using status changes rather
than emptying the queue
* Refactor how notifications are rendered
2015-11-21 19:23:20 +01:00
Tim Daubenschütz
efde22270c Add error nullification in sources 2015-11-16 17:44:56 +01:00
Tim Daubenschütz
f8c923daec Adjust naming for promise-based callback functions in sources 2015-11-16 17:16:13 +01:00
Tim Daubenschütz
ecdcbbc25e Fix minor issue 2015-11-03 10:09:44 +01:00
Tim Daubenschütz
35e9bedf04 Convert WhitelabelFetcher to WhitelabelSource 2015-11-03 10:07:44 +01:00
Tim Daubenschütz
f0325f2473 Specify and applying naming conventions 📃 for source and store methods 2015-11-02 16:32:55 +01:00
Tim Daubenschütz
7ce7f4d17d Completing prototype for using alt.js's sources instead of fetchers 2015-11-02 15:47:57 +01:00