1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 09:35:10 +01:00
Commit Graph

1885 Commits

Author SHA1 Message Date
Brett Sun
7c73b7fac7 Refactor InjectInHeadMixin to be a util class instead 2015-11-09 14:32:14 +01:00
Tim Daubenschütz
3e22ad1d9d Finalize layouting submission form 2015-11-09 10:35:23 +01:00
Tim Daubenschütz
7721d62319 Create boilerplate code for portfolioreview 2015-11-06 16:52:08 +01:00
Tim Daubenschütz
b78bc66fe9 Fix minor bugs for simple_prize app 2015-11-06 15:47:55 +01:00
Tim Daubenschütz
f5a5e045a6 Finalize boilerplate for portfolioreview subdomain 2015-11-06 15:18:46 +01:00
Tim Daubenschütz
5adc34faeb Move and rename sluice prize app to 'simple_prize' 2015-11-06 15:18:36 +01:00
Brett Sun
56eff0d9ed Improve DRYness of acl buttons
The React dev tools don’t seem to be able to automatically pick up the
displayName when using createClass from within another function, so
it’s added here to give clarity when debugging.
2015-11-06 15:10:29 +01:00
Tim Daubenschütz
8892ac4225 Add additional fields to step two of cyland's loan process 2015-11-05 11:56:09 +01:00
Tim Daubenschütz
3cde6eec95 Merge pull request #21 from ascribe/AD-1290-reset-state-of-stores-in-componentdidmount
Reset state of PieceStore and EditionStore in ComponentDidMount
2015-11-04 14:58:37 +01:00
Brett Sun
2711c4ddb9 Move onChange() to after componentWillUnmount() for ESLint 2015-11-04 13:57:15 +01:00
Brett Sun
543605aae3 Move store resets to componentDidMount() 2015-11-04 13:56:43 +01:00
Tim Daubenschütz
c17685731a Fix invalidateCache functionality 2015-11-04 11:36:42 +01:00
Brett Sun
3fb0cc0f26 Small grammar fix 2015-11-03 10:26:25 -07:00
Tim Daubenschütz
9a54ebdbd7 Merge pull request #15 from ascribe/AD-1256-refactor-modalwrapper-to-not-be-
Refactor ModalWrapper to not require a trigger component
2015-11-03 17:21:11 +01:00
Tim Daubenschütz
96e7bd8e49 Add branch naming conventions to readme.md 2015-11-03 17:19:04 +01:00
Brett Sun
f2555aefcc Add email prop to loan and consign button 2015-11-03 11:12:04 +01:00
Tim Daubenschütz
c6f6bb398d Replace all occurrences of with momentjs 2015-11-03 10:57:41 +01:00
Tim Daubenschütz
4d526a5568 Merge pull request #11 from ascribe/AD-1251-refactor-inputtextareatoggables-
Refactor InputTextAreaToggable's required property to take a bool instead of a string
2015-11-03 10:25:46 +01:00
Tim Daubenschütz
64c2380663 Merge pull request #13 from ascribe/AD-1175-cannot-define-public-note-on-pie
added public note to piece
2015-11-03 10:25:14 +01:00
Tim Daubenschütz
cd4157df32 Remove s3.fine-uploader.min.js as we're using s3.fine-uploader.js for shiming anyways 2015-11-03 10:21:43 +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
6a0c4b4272 Remove user_fetcher.js 2015-11-03 09:52:54 +01:00
Brett Sun
cb6e94c8f1 Forgot to use our own omit instead of lodash's 2015-11-02 18:57:56 +01:00
Brett Sun
0b4cc3123d Remove lodash dependency 2015-11-02 18:45:06 +01:00
Brett Sun
05e3069240 Add propTypes to acl buttons 2015-11-02 18:44:09 +01:00
Brett Sun
e890cf5bb1 Cherry pick changes to excludePropFromObject() 2015-11-02 18:37:27 +01:00
Brett Sun
1a3dffe8bc Modify excludePropFromObject to be similar to lodash.omit() 2015-11-02 18:31:01 +01:00
Brett Sun
955e20d6b6 Reduce dependency footprint of new includes
Opted for decamelize instead of snake-case as it’s much smaller and we
don’t need the extra functionality of snake-case.
2015-11-02 18:29:06 +01:00
Brett Sun
fe4e337690 Use Object.assign() instead of writing own merge function 2015-11-02 18:27:45 +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
Tim Daubenschütz
0157c048ab Add cache invalidation for signup and login 2015-11-02 15:38:37 +01:00
Brett Sun
8540e3de36 Bring over missed changes for cyland for changes to form utils 2015-11-02 15:36:18 +01:00
Brett Sun
a0ebc7dc58 Use string formatting for RequestActionForm's notification message 2015-11-02 15:21:33 +01:00
Brett Sun
7746241a59 Fix getLangText() when using multiple placeholders 2015-11-02 15:21:27 +01:00
Brett Sun
fe06ea607f Remove unnecessary default props 2015-11-02 15:20:02 +01:00
Brett Sun
6c8016e094 Remove misleading editions prop to pieceOrEditions 2015-11-02 15:19:52 +01:00
Brett Sun
49f20462f1 Check for a new csrf token on componentWillReceiveProps instead of componentWillUpdate
this.setState() should not be used in componentWillUpdate():
https://facebook.github.io/react/docs/component-specs.html#updating-comp
onentwillupdate
2015-11-02 12:10:41 +01:00
Tim Daubenschütz
0770a1ed61 Implement cache invalidation functionality for UserStore & UserSources 2015-11-02 11:31:02 +01:00
Brett Sun
5f5461c10d Remove warning for missing prop from FurtherDetailsFileUploader 2015-11-02 10:42:15 +01:00
Brett Sun
a513af984d Update cyland for FineUploader changes 2015-11-02 10:41:59 +01:00
Tim Daubenschütz
147c852b02 Replace getFullYear() with getUTCFullYear() 2015-11-02 10:32:48 +01:00
Tim Daubenschütz
d50aa2913f Remove SessionPersistentStore 2015-11-02 10:00:50 +01:00
Tim Daubenschütz
ff4067e637 Revert "Add first cut on persistent stores"
This reverts commit bed067f9bc.

Conflicts:
	js/actions/user_actions.js
	js/stores/session_persistent_store.js
	js/stores/user_store.js
	js/utils/feature_detection_utils.js
2015-11-02 09:59:59 +01:00
Tim Daubenschütz
11f3ab51a3 Revert "Implement functionality for feature-detecting webStorage"
This reverts commit c7ef23ee40.

Conflicts:
	js/utils/feature_detection_utils.js
2015-11-02 09:55:53 +01:00
Brett Sun
1e328b722b Sanitize utility should not modify given object
Mutating arguments and then returning them is redundant and confusing
behaviour (why pass it back if they already have it? Am I getting a new
copy since it returns something?).
2015-10-30 17:46:51 +01:00
Brett Sun
d23331d9b9 Remove ReactS3FineUploader's dependency on react-router's location
ReactS3FineUploader used to check the current url’s query params to
determine which method it should use to upload, but this decision means
the component is tightly coupled with react-router and history.js. A
major pain point is having to propagate the location prop all the way
down to this component even when it’s not necessary.

Now, ReactS3FineUploader’s parent elements can either parse the current
query params themselves or, if they have a location from react-router,
simply use the location.

Added a few utils to help parse url params.
2015-10-30 17:43:20 +01:00
Tim Daubenschütz
469f5108a8 Implement cached source for user endpoint 2015-10-30 16:57:03 +01:00
Brett Sun
67fbfbd470 Update RequestActionForm to use form utils 2015-10-30 11:46:01 +01:00