Commit Graph

44 Commits

Author SHA1 Message Date
Tom Moor 3bace8c9e4
fix: Restore DNS prefetching for static resources (#1820)
* fix: Restore DNS prefetching for static resources

* fix: CDN paths
feat: preload instead of prefetch for key bundles

* csp

* fix: Turns out prefetch-src is still behind a flag in Chrome, not publicly available yet
2021-01-18 15:48:46 -08:00
Tom Moor 522df125aa
feat: Add CDN support (#1817)
* chore: CSP

* chore: Optionally use CDN for serving images
2021-01-16 11:12:10 -08:00
Tom Moor e8719340d1 refactor: Remove babel/register for instant production server startup 2020-08-23 19:10:16 -07:00
Tom Moor 0555fd2caa
pref: JS bundling improvements (#1461)
* perf: Split only initial vendors
2020-08-17 22:09:12 -07:00
Tom Moor 221ee48429 fix: Don't mangle class names in production 2020-08-12 19:28:15 -07:00
Tom Moor 11f7e3a060
chore: Bundle Stats / Webpack v4 (#1448)
* chore: Experiment with bundle size monitoring service

* chore: Ensure build runs on CI, move lint and flow before test

* chore: Upgrade Webpack v3 -> v4

* chore: Add webpack-cli
Remove unused dep
Move deps to dev

* Move babel deps to production

* Move babel deps to production
2020-08-12 13:16:10 -07:00
Tom Moor 449dc55aaa
chore: Upgrade Babel, Jest, Eslint (#1437)
* chore: Upgrade Prettier 1.8 -> 2.0

* chore: Upgrade Babel 6 -> 7

* chore: Upgrade eslint plugins

* chore: Add eslint import/order rules

* chore: Update flow-typed deps
2020-08-08 22:53:59 -07:00
Tom Moor 67981a351e
chore: Remove env variables in webpack bundle (#1353)
* chore: Remove env variables in webpack bundle

* remove unused globals

* refactor: consolidate window.env calls to single file

* fix: Slack client side integration auth

* fix: developers url
2020-07-18 11:02:40 -07:00
Tom Moor 5cb04d7ac1
New login screen (#1331)
* wip

* feat: first draft of auth.config

* chore: auth methodS

* chore: styling

* styling, styling, styling

* feat: Auth notices

* chore: Remove server-rendered pages, move shared/components -> components

* lint

* cleanup

* cleanup

* fix: Remove unused component

* fix: Ensure env variables in prod too

* style tweaks

* fix: Entering SSO email into login form fails
fix: Tweak language around guest signin
2020-07-09 22:33:07 -07:00
Tom Moor 3d805d5fe7
chore: tooltip update / remove css loader (#985)
* fix: Add suspended filter to people management #984

* chore: removing css loader

* pui-react-tooltip -> tippy
closes #980

* remove extract-text-plugin
2019-07-09 21:17:25 -07:00
Tom Moor 07a941a65d
Websocket Support (#937)
* Atom / RSS meta link

* Spike

* Feeling good about this spike now

* Remove document.collection

* Remove koa.ctx from all presenters to make them portable outside requests

* Remove full serialized model from events
Move events.add to controllers for now, will eventually be in commands

* collections.create event
parentDocument -> parentDocumentId

* Fix up deprecated tests

* Fixed: Doc creation

* documents.move

* Handle collection deleted

* 💚

* Authorize room join requests

* Move starred data structure
Account for documents with no context on sockets

* Add socket.io-redis

* Add WEBSOCKETS_ENABLED env variable to disable websockets entirely for self hosted
New installations will default to true, existing installations to false

* 💚 No need for promise response here

* Reload notice
2019-04-17 19:11:23 -07:00
Tom Moor cc8dacba32 Preserve function names in production code 2018-12-04 22:36:13 -08:00
Tom Moor 3c563e3001 Ensure team authentication matches subdomain 2018-11-17 23:30:05 -08:00
Tom Moor 1b0ac340c2 Best practice for DefinePlugin 2018-11-17 19:09:48 -08:00
Tom Moor 21b1c0747c Basic functionality in place, need improved errors and logged in redirect 2018-11-08 21:05:07 -08:00
Tom Moor 0d28717647 Fixes build by updating Uglify 2018-05-12 14:42:10 -07:00
Jori Lallo bc403faa8e Added link=“prefetch” tags 2018-01-21 22:25:37 -08:00
Jori Lallo 2e609d7f4f derp 2018-01-03 21:38:02 -08:00
Jori Lallo 2c9e92e5b9 Fixes 2018-01-03 21:35:13 -08:00
Jori Lallo 7a7f8f7c53 Moved config files to a separate folder 2018-01-03 16:58:34 -08:00
Jori Lallo 686c237e36 Moved to webpack 3 2018-01-03 16:29:01 -08:00
Jori Lallo 348e5f0b20 Added email templating, and user welcome email 2017-11-12 15:02:23 -08:00
Tom Moor b08e34d578 Insert ga tags in app 2017-11-09 00:17:55 -08:00
Tom Moor 4863680d86 frontend > app 2017-10-25 22:49:04 -07:00
Jori Lallo f3cb17046d Fix to webpack plugin 2017-09-11 23:32:26 -07:00
Jori Lallo 9808c1cdf5 Bring back extract text webpack plugin 2017-09-11 23:18:44 -07:00
Jori Lallo 2140a0698a Refactor CSS modules out 2017-09-10 18:44:35 -07:00
Jori Lallo 5f488200ab Trying out `source-map` for devtool setting 2017-07-10 22:54:26 -07:00
Jori Lallo be4ce5d9b5 Force react builds into production mode 2017-07-10 20:10:54 -07:00
Jori Lallo 10b746e140 rm localenv 2017-07-06 23:27:16 -07:00
Jori Lallo f70e2326c0 Fixed source maps 2017-05-17 19:49:30 -07:00
Jori Lallo 8ed81884d7 Better webpack settings for development 2016-08-27 13:18:46 -07:00
Jori Lallo d2187c4b10 Renamed /src to /frontend 2016-07-24 15:32:31 -07:00
Jori Lallo 2992136fa9 Added babel polyfill and lodash 2016-07-23 12:50:48 -07:00
Jori Lallo 3d2f3d002a Prod fixes 2016-06-04 19:03:00 -07:00
Jori Lallo b8bd9630b3 Don't minify in prod for debugging 2016-06-04 18:55:03 -07:00
Jori Lallo 3f993ac813 Added babel-regenerator-runtime to webpack.prod 2016-06-02 22:32:51 -07:00
Jori Lallo 4ca38b8a63 more settings 2016-05-23 22:55:42 -07:00
Jori Lallo 67ca3c2ae2 Use HtmlWebpackPlugin for eployments 2016-05-23 20:35:19 -07:00
Jori Lallo 77b5be64e6 Debugging 2016-05-22 22:56:26 -07:00
Jori Lallo fd79d11479 Production build improvements 2016-05-22 22:41:57 -07:00
Jori Lallo 5e5f37b3c0 optimized bundle size and dependencies 2016-05-03 00:32:40 -07:00
Jori Lallo cce82b3d43 Refactor 2016-04-28 22:25:37 -07:00
Jori Lallo af30485e9f Initial commit 2016-02-27 13:53:11 -08:00