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

73 Commits

Author SHA1 Message Date
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
4d4cb7f505 Move getSubdomain to url utils 2016-06-14 17:58:00 +02:00
Brett Sun
a4216db6d9 Remove redundant '_utils' suffix in util file names 2016-06-14 17:57:57 +02:00
Brett Sun
d5a722259b Fix client--undefined class being applied to the default app 2016-06-06 16:11:14 +02:00
Brett Sun
c807f62297 Replace usage of history with router passed down through context 2016-06-06 16:10:41 +02:00
Brett Sun
d1dfdbdbec Only import what we need from react-router
Unfortunately webpack doesn’t understand jsnext:main declarations yet,
so we have to do this ourselves by using react-router’s es6 build
2016-06-06 16:07:47 +02:00
Tim Daubenschütz
b0777fe326 Bump react infrastructure dependencies 2016-06-06 16:07:12 +02:00
Brett Sun
d6c1dca63a Enable code splitting for whitelabels 2016-06-03 17:52:38 +02:00
Brett Sun
bd2895afa0 Add webpack config
Notable changes:

* Updated to babel 6
* Updated polyfills to only include core-js/es6 and core-js/stage/4
rather than entire babel/polyfill set
* Dev server with hot reloading replaces server.js in development
* Updated bootstrap loading to be separate from app’s stylesheets
* Cleaned up some of the font dependencies, removing the need for
templating their paths
2016-06-02 17:14:58 +02:00
Brett Sun
7b9c9eca24 Merge with master 2016-01-19 16:39:19 +01:00
Brett Sun
dbdef3ce6b Merge branch 'master' into AD-1452-share-to-facebook-not-loaded 2016-01-19 10:18:52 +01:00
Brett Sun
7f1e4ce0db Rename third party handler files to match their declarations 2016-01-06 15:23:48 +01:00
Brett Sun
dfd860a65c Import classlist-polyfill into app 2016-01-05 13:38:58 +01:00
Brett Sun
3c72ee331d Convert AppGateway to be single instance 2016-01-04 13:14:50 +01:00
Brett Sun
c335dd3882 On subdomain get error, use the default subdomain settings
Also small cleanups and avoids adding `client—undefined` class to body
for default subdomain
2016-01-04 13:08:32 +01:00
Brett Sun
6c5a2e0869 Load babel polyfill dependency but don't import
From the babel.io.github guys.
2015-12-17 16:09:47 +01:00
Brett Sun
274f149272 Make sure polyfill is loaded first by using import statement
ES6 `import` statements hoist their imports to the top of the file.
Using `require(‘babel/polyfill’)` actually loads the polyfill after the
other imports, causing errors.
2015-12-15 16:26:40 +01:00
Brett Sun
d972da935a Add Facebook Share button 2015-11-09 17:46:49 +01:00
Tim Daubenschütz
6c34cb0377 Add last bit of documentation 2015-10-12 09:24:18 +02:00
Tim Daubenschütz
69afc6165a Incorporate new RedirectProxyRoute into whitelabel pages 2015-10-09 15:19:24 +02:00
Tim Daubenschütz
c174b8b56c Tighten lib-dependencies, move history into its own module 2015-10-05 11:52:23 +02:00
Tim Daubenschütz
dc6d9160fe Fix error in AppGateway logic 2015-10-01 16:59:44 +02:00
Tim Daubenschütz
9a17e44df1 Refactor of wallet app routing 2015-10-01 15:57:46 +02:00
Tim Daubenschütz
8f9b5c7f27 Implement new routine for routeDidChange 2015-10-01 15:17:55 +02:00
Tim Daubenschütz
83c652a4f0 Rename pieces routes back to collection 2015-10-01 14:30:11 +02:00
Tim Daubenschütz
eebe936023 Change: router rendering, router location, route configs, notFound routes, redirect routes, 2015-09-30 17:09:46 +02:00
Tim Daubenschütz
d50d0faabe Write generic function for extracting subdomain and implement troughout whole app 2015-09-29 14:58:56 +02:00
vrde
865c21557c Add style for buttons 2015-09-21 16:23:18 +02:00
Tim Daubenschütz
ab1cab2091 Merge remote-tracking branch 'origin/master' into AD-456-ikonotv-branded-page-for-registra
Clear some merge conflicts and also some wrong merges.

BAD GIT!!!

Conflicts:
	js/components/ascribe_forms/property.js
	js/components/ascribe_uploader/react_s3_fine_uploader_utils.js
	sass/ascribe_uploader.scss
2015-09-15 13:30:24 +02:00
Tim Daubenschütz
8e98a7bff7 show overall progress 2015-09-04 14:54:39 +02:00
diminator
4bdab3410e contractagreementserializer with contract fully expanded 2015-09-04 14:48:10 +02:00
diminator
9b7a69bc20 contract agreement notifications 2015-09-04 11:49:55 +02:00
Tim Daubenschütz
ac45283968 first iteration: whitelabel pages depending on customer 2015-08-11 17:40:26 +02:00
Tim Daubenschütz
eb6e3cb20a finishing boilerplate for wallet app + prefixing whitelabel specific files 2015-08-11 14:47:28 +02:00
vrde
17ec6f34e0 Fix code after review 2015-07-27 18:21:20 +02:00
vrde
4d93e076df Add third party modules to handle tracking without polluting the code 2015-07-27 18:06:02 +02:00
Tim Daubenschütz
2ff47ede89 replace console logs with global logging 2015-07-17 15:52:53 +02:00
Tim Daubenschütz
af42bb8e67 error handling first cut 2015-07-17 15:41:09 +02:00
Tim Daubenschütz
13e151e83b add logging and responsive user navigation 2015-07-16 19:12:18 +02:00
Tim Daubenschütz
7da2149e24 raven fix 2015-07-16 17:07:09 +02:00
Tim Daubenschütz
0ce2794608 disable raven 2015-07-16 17:06:25 +02:00
Tim Daubenschütz
f12d2273d5 fix csrftoken cookie issue 2015-07-16 17:04:37 +02:00
vrde
9e7e9782d6 Add google analytics 2015-07-15 01:45:03 +02:00
vrde
c5fd8aa28f Add custom url mapping 2015-07-14 21:15:10 +02:00
Tim Daubenschütz
ff64734545 styling 2015-07-14 17:41:57 +02:00
Tim Daubenschütz
5ef63fbba3 use local whitelabel constants for route switching 2015-07-14 17:12:32 +02:00
vrde
1aa2863b80 Declutter piece list if no pieces are found 2015-07-13 21:51:05 +02:00
vrde
3fbe60692e Working on landing 2015-07-13 14:29:20 +02:00
vrde
df5295dffd Cleanup and reorder routes 2015-07-10 18:21:42 +02:00
vrde
d5ea4e515d Use distinct routers for different apps 2015-07-10 16:43:35 +02:00