Commit Graph

62 Commits

Author SHA1 Message Date
Tom Moor 0e7d352781
chore: Add fetch-retry, remove isomorphic-fetch (#2297)
* chore: Add fetch-retry, remove isomorphic-fetch

closes #2270

* test: Mock fetch
2021-07-09 04:07:18 -07:00
Saumya Pandey a6d4d4ea36
fix: Add Portugese, Brazil to language options (#2164)
* Add Portugese, Brazil to language options

* Upgrade date-fns package

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-06-09 17:42:14 -07:00
Viorel Cojocaru ba24a3318e
Fix chunks setup (#2181)
* build: Webpack config - use named chunk ids

prevent invalidation across builds by using a deterministic chunkId algorithm

* fix: Autotrack chunk name syntax
2021-06-05 09:50:38 -07:00
Viorel Cojocaru 7a6491cf0d
build: Webpack config - allow package.json module field usage (#2173)
- revert resolve.alias to default
- revert bundless-* package aliases to commonjs folder to avoid transpiling
2021-06-04 18:18:17 -07:00
Tom Moor a96993fda9
feat: Add PWA support to subdomains (#1915)
* fix: Remove overscroll
* Remove title from fixed header in PWA as it's displayed immediately above in application title
2021-02-21 13:32:49 -08:00
Tom Moor 7e922d8716
feat: Installable PWA (#1882) 2021-02-15 15:19:51 -08:00
Tom Moor b017590033 fix: 'bake' release env variables at build time 2021-02-12 17:18:55 -08:00
Tom Moor 7d244dfa1f 'bake' release env variables at build time 2021-02-12 16:53:16 -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 14cb3a36c1
perf: Reduce initial bundle size / async bundle loading (#1456)
* feat: Move to React.lazy

* perf: Remove duplicate babel/runtime

* fix: Run yarn-deduplicate

* Further attempts to remove rich-markdown-editor from initial chunk

* perf: Lazy loading of authenticated routes

* perf: Move color picker to async loading
fix: Display placeholder when loading rich editor

* fix: Cache bust on auto reload
2020-08-14 17:23:58 -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 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 c15cbd06a4
chore: Bugsnag -> Sentry (#1178)
* Bugsnag -> Sentry

* fix: Import style
2020-02-16 22:58:50 -08: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 3c563e3001 Ensure team authentication matches subdomain 2018-11-17 23:30:05 -08:00
Tom Moor e24a187699 accessToken per subdomain 2018-11-09 23:40:33 -08:00
Tom Moor 6418712c47 Improve error handling 2018-11-08 21:05:07 -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 f633f63a61 Merge ErrorsStore into UiStore 2018-05-31 11:42:39 -07:00
Tom Moor 0d28717647 Fixes build by updating Uglify 2018-05-12 14:42:10 -07:00
Tom Moor 16a6c3bffe Remove moment 2018-03-06 20:31:12 -08:00
Tom Moor 4cc7338534
Analytics (#582)
* gtm > ga

* Record pageviews in SPA

* Remove home-rolled tracking in favor of autotrack

* cleanup
2018-02-10 23:23:50 -08:00
Jori Lallo 0bd3c69a90 Fixed boundless webpack config 2018-01-15 13:23:45 -08:00
Jori Lallo fe00e1f76d more boundless builds 2018-01-03 21:41:04 -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
Tom Moor 32ba98bb1a
Unfurling of Slack links (#487)
* First pass: Unfurling of Slack links

* Add authentication in db

* Call associate on Event correctly

* Add SLACK_APP_ID, remove SLACK_REDIRECT_URI, tidy env sample

* PR feedback

* Comment clarify
2017-12-18 19:59:29 -08:00
Tom Moor dd2cd2f9d8 Working direct install flow 2017-11-21 23:51:31 -08:00
Tom Moor b08e34d578 Insert ga tags in app 2017-11-09 00:17:55 -08:00
Tom Moor fc45d6a180 Sharing global styles 2017-10-26 22:42:08 -07:00
Tom Moor 4863680d86 frontend > app 2017-10-25 22:49:04 -07:00
Jori Lallo d4dc6f2a28 separated bugsnag token 2017-10-15 16:37:10 -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
Tom Moor 297bf850c2
Align title correctly when first character is emoji 2017-07-29 16:15:04 -07:00
Jori Lallo 9b808efd7a Cache documents and collection 2017-07-16 11:48:01 -07:00
Jori Lallo 279f59a11d Ignore unicode 2017-07-10 21:47:02 -07:00
Jori Lallo 6656689c2d remove ignore-loader 2017-07-06 23:27:16 -07:00
Jori Lallo 0a76d6af9e Flow for all the files 2017-05-11 17:23:56 -07:00
Tom Moor 4e5c3944d8
Add flow, example implementation and types 2017-04-27 22:10:43 -07:00
Jori Lallo 0cd285097f Cleaning deployment related stuff 2017-02-09 21:55:36 -08:00
Jori Lallo fc6562df01 Hide some parts from the self-deployed service 2016-10-14 13:08:25 -07:00
Jori Lallo 45b21f365d Added api, keyboard shortcut flatpages 2016-09-14 20:50:59 -07:00
Jori Lallo 8ed81884d7 Better webpack settings for development 2016-08-27 13:18:46 -07:00
Jori Lallo 4f998bccc8 Initial code for Slack based search 2016-08-22 23:37:01 -07:00
Jori Lallo f08087ebd1 Fixed auth 2016-07-25 22:49:32 -07:00