Commit Graph
1046 Commits
Author SHA1 Message Date
Tom Moor 9189d08118 lint 2021-09-10 21:16:56 -07:00
Tom Moor af2aefa8f5 simplify feature switch 2021-09-10 21:02:44 -07:00
Tom Moor 77c86ddbfb Sentry location 2021-09-10 20:08:15 -07:00
Tom Moor 7aaec29af6 Merge main 2021-09-10 20:06:28 -07:00
Tom Moor 231ab2da03 fix: Add recording of job errors, remove from queues on failure, centralize options 2021-09-09 22:38:34 -07:00
Tom Moor bd880ee984 chore: Add basic logging of metrics to event queue (#2545)
* chore: Add basic logging of metrics to event queue
closes #2524

* Better naming for multiple queue types

* Add stalled event
2021-09-09 21:55:45 -07:00
Tom Moor 995c6f90b7 fix: Mount _health route before catch-alls
closes #2536
2021-09-09 21:08:34 -07:00
Tom Moor 26c14bcead fix: Make collaborative config more lenient 2021-09-09 18:16:09 -07:00
Tom Moor 55c099b895 fix: Handle empty text nodes 2021-09-09 18:15:56 -07:00
Tom Moor ebcb303d0e fix: Allow Redis v6 on Heroku 2021-09-08 21:03:12 -07:00
Tom Moor 93611b1deb Add collaboration Procfile 2021-09-08 20:00:43 -07:00
Tom Moor 0a07a0dd26 Merge branch 'main' into wvds-feat/twitter-embed 2021-09-08 19:34:14 -07:00
Tom Moor c709e54738 fix: Init dd trace sooner, closes #2528 2021-09-02 23:22:31 -07:00
Tom Moor d96099b5b8 Move OIDC provider to routes directory 2021-09-02 19:55:06 -07:00
Greg Linklater 4b2bf28531 feat: Generic OAuth2 Authentication (#2388)
* chore: additional dependency

* feat: OAuth2 authentication provider

* docs: add env vars

* chore: lock file

* feat: add malformed user info error and notice

* feat: configurable scopes

* fix: explicitly enable state and disable pkce

* chore: remove externally supplied username from account provisioner use

* chore: remove upstream error

* chore: add explicit import for fetch

* chore: remove unused env var from sample

* docs: openid connect claims

* fix: forward fetch errors

* feat: configurable team claim name

* docs: move OIDC env vars together

* refactor: change provider name

* refactor: rename error to match provider

* fix: resolve claim using lodash.get

* refactor: remove OIDC_TEAM_CLAIM and hard code team name
2021-09-02 19:50:17 -07:00
Tom Moor a3df9e868f fix: Server error when loading documents.info with shareId and user token and child documents shared
closes #2527
2021-09-01 23:38:43 -07:00
Tom Moor 3b4a457da9 Merge branch 'main' into collaborative-editing 2021-09-01 07:40:20 -07:00
Tom Moor 476b5e03f9 perf: Move exports to worker service (#2514)
* first pass

* fixes

* fix: Move export related emails to queue

* i18n
2021-08-31 17:41:57 -07:00
Tom Moor 2a1bc4934c wip 2021-08-30 22:05:18 -07:00
Tom Moor 3e0cd3b3aa fix: Content duplication 2021-08-30 18:22:27 -07:00
Tom Moor 2e721f90ea fix: Embeds not converted in collaborative editor 2021-08-30 18:17:09 -07:00
Saumya PandeyandTom Moor 4929fbaccb fix: Move "public document sharing" to "Permissions" (#2496)
* Convert to functional component

* Move public sharing to permissions

* Add collections.permission_changed event

* Account for null

* Update server/events.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Add collections.permission_changed event

* Remove name

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-08-30 11:43:42 +05:30
Tom Moor 26835cb7c4 Merge branch 'main' into collaborative-editing 2021-08-29 21:16:00 -07:00
Tom Moor 08a8fea69a chore: Add /_health endpoint to all services
closes #2506
2021-08-29 19:44:06 -07:00
Tom Moor 2024c6e64f chore: Graceful server shutdown, closes #2507 2021-08-29 14:48:12 -07:00
Tom Moor 3dad744179 Merge branch 'main' into feat/issue-2230 2021-08-29 13:45:26 -07:00
Tom Moor 3dfd336f59 chore: Move all routes under routes directory (#2513)
closes #2504
2021-08-29 13:25:06 -07:00
Tom Moor 9a875920ac chore: Remove 'attachments' option from mailer 2021-08-29 12:35:55 -07:00
Saumya Pandey f389ac6414 fix: Improvements in share feat (#2502)
* Make request only when popover is visible

* Update policies required for shares.create shares.update

* Create withCollection scope

* Remove team share check from shares.create

* Update tests
2021-08-29 10:44:09 +05:30
Tom Moor 8d343fae6d fix: Enforce single process for collaboration 2021-08-28 17:30:59 -07:00
Tom Moor 9744d5e746 Merge branch 'main' of github.com:outline/outline into collaborative-editing 2021-08-28 15:40:39 -07:00
Saumya PandeyandTom Moor e4b7aa6761 fix: Add ability to choose user permission level when inviting (#2473)
* Select user role while sending invite

* Add tests to check for role

* Update app/scenes/Invite.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Use select

* Use inviteUser policy

* Remove unnecessary code

* Normalize rank/role
Fix text sizing of select input, fix alignment on users invite form

* Move component to root

* cleanup

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-08-29 03:05:37 +05:30
Saumya PandeyandTom Moor 00ba65f3ef fix: Refactor collection exports to not send email attachment (#2460)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-08-29 02:57:07 +05:30
Tom Moor 120c699db1 test 2021-08-28 12:16:30 -07:00
Tom Moor 3964c83ba6 fix: Add error handling to all services 2021-08-28 11:55:00 -07:00
Tom Moor 0158ab7ae8 refactor for new services structure 2021-08-28 11:43:38 -07:00
Tom Moor 19cad30ac8 Merge without enabling multiplayer 2021-08-27 22:24:46 -07:00
Tom Moor 28aef82af9 chore: Refactoring event processors and service architecture (#2495) 2021-08-27 21:42:13 -07:00
Saumya Pandey 86f008293a fix: Return memberships of collections (#2501) 2021-08-27 20:03:57 -07:00
Saumya Pandey 22ba4d0f48 fix: prevent access to docs in trash from deleted private collections (#2431)
* Check for collection in deleted document

* Add tests

* Use update policy

* Set paranoid to false when fetching deleted doc

* Update policy
2021-08-26 09:35:59 +05:30
Wesley a50471959b feat: Always show share button (#2469)
This is to enable the share page also for internal team members.

closes #2444
2021-08-22 23:20:29 -07:00
Tom Moor 781ab7f5aa fix: Broken queues 2021-08-21 13:17:21 -07:00
Tom Moor 72da0653cc Revert "feat: Add hosted domain hint when signing in through Google SSO from subdomain (#2458)" (#2467)
This reverts commit e613ec732b.
2021-08-21 11:11:01 -07:00
Tom Moor aa915ec52b fix persistence debounce 2021-08-20 19:27:29 -07:00
Tom Moor e613ec732b feat: Add hosted domain hint when signing in through Google SSO from subdomain (#2458)
* feat: Add hosted domain hint when signing in through Google SSO from subdomain

closes #2454
2021-08-20 14:03:52 -07:00
Tom Moor 83fcef1491 refactor 2021-08-20 13:45:22 -07:00
Tom Moor 716ff572be Use onAuthenticate hook 2021-08-19 14:53:44 -07:00
Tom Moor 1579ce7c52 avoid calculations when doc is unchanged 2021-08-13 17:36:19 -07:00
Tom Moor 4cd9bd26d0 Update deps, security fix 2021-08-13 16:11:39 -07:00
Tom Moor 9ef44ff67d Merge main 2021-08-13 15:09:56 -07:00