Commit Graph

44 Commits

Author SHA1 Message Date
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 f43deb7940
chore: Move to prettier standard double quotes (#1309) 2020-06-20 13:59:15 -07:00
Tom Moor e2b28dfeb7
refactor: Policies Architecture (#1016)
* add policy serialize method

* Add policies to collection responses

* wip

* test: remove .only

* refactor: Return policies with team and document requests

* store policies on the client

* refactor: drive admin UI from policies
2019-08-21 21:41:37 -07:00
Tom Moor 32f83311f6
chore: upgrade sequelize (#965)
* 0.18.0

* chore: Upgrade sequelize 4 -> 5

* fix: migrations v5 support

* fix: Majority of test failures

* fix: the rest of v5 tests
2019-06-23 15:49:45 -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 ddd2b82d20 WIP: Successful Google Auth, broke pretty much everything else in the process 2018-05-28 11:36:37 -07:00
Tom Moor 44cb509ebf
Post to Slack (#603)
* Migrations

* WIP: Integration model, slack perms / hooks

* So so rough it pains me. Building this new model is revealing just how much needs to be refactored

* Working connect and post

* Cleanup UI, upating documents

* Show when slack command is connected

* stash

* 💚

* Add documents.update trigger

* Authorization, tidying

* Fixed integration policy

* pick integration presenter keys
2018-04-03 20:36:25 -07:00
Tom Moor e84fb5e6ba Update team and collection authorization 2018-02-18 01:14:51 -08:00
Jori Lallo 94dfebe5a0 Addressed PR feedback 2017-12-30 19:48:43 +02:00
Jori Lallo 26d0d815a2 Admin endpoints 2017-12-26 15:08:11 +02: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 a573c76512 Request auth on first load with existing token 2017-11-26 22:26:02 -08:00
Tom Moor aceaf261d2 Working on 'static' pages 2017-10-22 16:33:10 -07:00
Tom Moor 4d53c4aa00 Merge master 2017-10-21 21:12:56 -07:00
Jori Lallo 255d7564c5 Upload avatar to s3 on login 2017-10-19 00:49:22 -07:00
Jori Lallo 42ed9616b5 Added cookie to indicate logged in status 2017-10-11 00:14:45 -07:00
Jori Lallo 34dd1f1409 Dropped whitelisting 2017-10-04 01:17:30 -07:00
Tom Moor 432b7afede
Refactor Slack signin codE 2017-09-03 17:08:56 -07:00
Tom Moor 852fe991c5
💚 2017-07-15 16:18:06 -07:00
Jori Lallo 047cc7b151 Excluded two endpoints that arent now used 2017-07-12 23:04:58 -07:00
Tom Moor 639a0ec45c
Atlas > Collection 2017-05-27 11:08:52 -07:00
Jori Lallo 08b1609440 [chore] added prettier 2017-04-26 21:47:03 -07:00
Tom Moor 80ac9bb5d6
Redirect uri must match that passed to oauth request 2017-04-23 20:20:20 -07:00
Jori Lallo 6eb25d484e Better error message for blocked Slack orgs 2016-09-21 23:06:35 -07:00
Jori Lallo 63c916e994 Merge branch 'master' of github.com:jorilallo/atlas 2016-09-21 23:02:53 -07:00
Jori Lallo ea1f9d7deb Use Slack's domain for whitelisting 2016-09-21 23:02:29 -07:00
Jori Lallo fcc83dd2d6 New API responses with good errors 2016-09-17 14:53:30 -07:00
Jori Lallo 969243c3e4 Added auth.login API 2016-09-11 22:44:44 -07:00
Jori Lallo 43e60aacaf lint 2016-09-11 16:37:20 -07:00
Jori Lallo 48a9a9f285 Added signup API endpoint 2016-09-11 16:34:57 -07:00
Jori Lallo 4f998bccc8 Initial code for Slack based search 2016-08-22 23:37:01 -07:00
Jori Lallo 11f6c533b8 Request time cache, tracking collaborators etc 2016-08-15 12:51:26 +02:00
Jori Lallo e706e1c77c Legwork for initial documents for atlases 2016-07-26 00:05:10 -07:00
Jori Lallo f08087ebd1 Fixed auth 2016-07-25 22:49:32 -07:00
Jori Lallo e2c69903b3 Moved to using GET and caching with SW 2016-07-22 00:11:54 -07:00
Jori Lallo 24e02bfdc4 New database with migrations 2016-06-25 22:37:05 -07:00
Jori Lallo 9defb24335 Update user slack data on login 2016-05-29 11:41:55 -07:00
Jori Lallo 69e1f2c663 Update Slack team info after auth 2016-05-29 11:17:49 -07:00
Jori Lallo a0e2092e01 Fixed login issues 2016-05-26 23:36:49 -07:00
Jori Lallo 16269f84e2 Fixed authentication 2016-05-26 22:39:12 -07:00
Jori Lallo 869059040b Block unknown slacks 2016-05-22 22:08:28 -07:00
Jori Lallo 90310703ec Fixes to data fetching 2016-05-20 00:33:52 -07:00
Jori Lallo cce82b3d43 Refactor 2016-04-28 22:25:37 -07:00