1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00
Commit Graph

2696 Commits

Author SHA1 Message Date
Brett Sun
8a4243ffab Clean up FurtherDetails component 2016-07-08 16:06:00 +02:00
Brett Sun
0d751d5986 Log to sentry in addition to warning statements when checks fail in withContext 2016-07-08 16:06:00 +02:00
Brett Sun
2dce333c6a Change export of validationParts and validationTypes to be ValidationParts and ValidationTypes 2016-07-05 10:56:21 +02:00
Brett Sun
1511f06504 Move getDisplayName to react-utility-belt 2016-07-04 15:25:28 +02:00
Brett Sun
bf68efcd96 Stop including fineuploader by just copying its source
Onwards to react-components!
2016-06-29 12:02:19 +02:00
Brett Sun
b1ca64d04e Bump js-utility-belt 2016-06-28 13:42:35 +02:00
Brett Sun
2706f04f3a Add exports for custom propTypes as shape specs rather than the complete shape
Allows easier composition of the shapes in case we need to extend them
in components later
2016-06-27 11:30:32 +02:00
Brett Sun
67f56768b8 Get app version from environment variable 2016-06-24 16:14:31 +02:00
Brett Sun
ba62734bdb Move S3 settings to environment variables 2016-06-24 16:14:16 +02:00
Brett Sun
dbaf1a2e99 Consolidate Raven constants under one namespace 2016-06-24 16:11:43 +02:00
Brett Sun
3291af0812 Specify webpack build is intended for browser 2016-06-24 13:46:30 +02:00
Brett Sun
2ddb9ebd4a Add webpack resolve aliasing to dedupe packages installed through npm link 2016-06-24 13:46:09 +02:00
Brett Sun
b598b428b4 Move file hashing and creation utils to js-utility-belt 2016-06-23 19:48:42 +02:00
Brett Sun
20b4bf4f4d Fix typo with cyland custom styling 2016-06-23 19:44:17 +02:00
Brett Sun
406734d910 Cherrypicking unfinished uploader changes in preparation for move to react-components 2016-06-22 15:38:46 +02:00
Brett Sun
8dec470e46 Cherrypicking unfinished form changes in preparation of move to react-components 2016-06-22 15:34:06 +02:00
Brett Sun
f162117c92 Cleanup ascribe-form styles 2016-06-22 15:30:20 +02:00
Brett Sun
d8e92f6e01 Upgrade js-utility-belt 2016-06-22 13:00:46 +02:00
Brett Sun
bafcfe83d9 Use eslint-config-ascribe-react 2016-06-21 17:20:28 +02:00
Brett Sun
881584111b Replace AppConstant's baseUrl with appBasePath to be more inline with environment variable 2016-06-20 10:15:49 +02:00
Brett Sun
0d05eb17fa Upgrade js-utility-belt 2016-06-17 18:27:25 +02:00
Brett Sun
9c47c22e91 Resolve PR comments 2016-06-17 18:26:38 +02:00
Brett Sun
685ac0d941 Check if baseRequest throws a Response before assuming so 2016-06-15 14:46:35 +02:00
Brett Sun
c0ddea975a Remove IE8 support from UglifyJS 2016-06-15 13:00:51 +02:00
Brett Sun
c0be5e0b6c Explicitly ask for sourceMaps from UglifyJS
Otherwise breaks on webpack2-beta.9+
2016-06-15 12:58:36 +02:00
Brett Sun
2309e21571 Rewrite requests module using js-utility-belt's request 2016-06-14 17:58:01 +02:00
Brett Sun
136213856b Rename requests util 2016-06-14 17:58:00 +02:00
Brett Sun
fc153f4ab7 Add csrf utils 2016-06-14 17:58:00 +02:00
Brett Sun
c2eb37506a Replace utils in fetch_api with js-utility-belt's 2016-06-14 17:58:00 +02:00
Brett Sun
7014514654 Use UrlResolver to resolve api urls based on white labelling rather than updating ApiUrl's export
Keeping an export constant is more predictable and less surprising for
most people.
2016-06-14 17:58:00 +02:00
Brett Sun
17762ed7b2 Move escapeHTML to dom utils 2016-06-14 17:58:00 +02:00
Brett Sun
4d4cb7f505 Move getSubdomain to url utils 2016-06-14 17:58:00 +02:00
Brett Sun
ad2b7c223c Replace replaceSubstringAtIndex with built-in String.replace 2016-06-14 17:58:00 +02:00
Brett Sun
de571c7fab Use js-utility-belt's truncateText 2016-06-14 17:57:59 +02:00
Brett Sun
ec78ecb8ab Replace remaining general utils with js-utility-belt's
And removes a few unused utils
2016-06-14 17:57:59 +02:00
Brett Sun
56044488d7 Replace mergeOptions with js-utility-belt's safeMerge
And avoid using safeMerge when a normal Object.assign() would do.
2016-06-14 17:57:59 +02:00
Brett Sun
06c02ceecb Use js-utility-belt's text utils 2016-06-14 17:57:59 +02:00
Brett Sun
9e03ef2b90 Use sanitize from js-utility-belt 2016-06-14 17:57:59 +02:00
Brett Sun
5172b4da1f Remove obsolete tests for utils 2016-06-14 17:57:59 +02:00
Brett Sun
574a06311f Fix ESLint errors with form utils 2016-06-14 17:57:59 +02:00
Brett Sun
085d0aaa26 Fix ESLint errors with url utils 2016-06-14 17:57:58 +02:00
Brett Sun
8689585d74 Use js-utility-belt's url utils 2016-06-14 17:57:58 +02:00
Brett Sun
2ba96780f1 Update eslint-config-ascribe to avoid errors with long re-export lines 2016-06-14 17:57:58 +02:00
Brett Sun
643b45bdee Fix ESLint errors with language utils 2016-06-14 17:57:58 +02:00
Brett Sun
5a270442cb Use js-utility-belt's language utils 2016-06-14 17:57:58 +02:00
Brett Sun
63310c5717 Fix ESLint errors with computeHashOfFile 2016-06-14 17:57:58 +02:00
Brett Sun
f814a6ceb5 Use js-utility-belt's file utilities 2016-06-14 17:57:58 +02:00
Brett Sun
4784dff694 Use js-utility-belt's feature detection 2016-06-14 17:57:57 +02:00
Brett Sun
8ebd24251c Add js-utility-belt 2016-06-14 17:57:57 +02:00
Brett Sun
a4216db6d9 Remove redundant '_utils' suffix in util file names 2016-06-14 17:57:57 +02:00