Commit Graph
628 Commits
Author SHA1 Message Date
Tom Moor af2aefa8f5 simplify feature switch 2021-09-10 21:02:44 -07:00
Tom Moor 0a07a0dd26 Merge branch 'main' into wvds-feat/twitter-embed 2021-09-08 19:34:14 -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 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
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 3dad744179 Merge branch 'main' into feat/issue-2230 2021-08-29 13:45:26 -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 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 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
Saumya PandeyandTom Moor f6d889f759 fix: Show starred docs in sidebar (#2317)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-08-23 13:07:28 +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 32792caca8 Add loading placeholder when exceeding 500ms 2021-08-20 17:36:11 -07:00
Tom Moor 7e1c5b7640 Move connection status to within doc area, otherwise you cant see it when sidebar is collapsed 2021-08-20 15:56:39 -07:00
Tom Moor 14974facc9 Handle permission denied when loading doc 2021-08-20 15:38:47 -07:00
Tom Moor 716ff572be Use onAuthenticate hook 2021-08-19 14:53:44 -07:00
Saumya Pandey ec8fde0a5f fix: Improvements in table component (#2450) 2021-08-18 03:27:23 +05:30
Tom Moor 80ff682ec6 fix: Use static docs for archived,trash,revisions 2021-08-13 18:14:55 -07:00
Tom Moor 4973298f24 fix: JS errors in shared document 2021-08-13 17:43:15 -07:00
Tom Moor 8bc77e54d3 Local document storage 2021-08-13 15:25:43 -07:00
Tom Moor 9ef44ff67d Merge main 2021-08-13 15:09:56 -07:00
Tom Moor 1db31eed41 fix: Incorrect empty state text for /created Home tab 2021-08-13 09:57:20 -07:00
Tom Moor 8843c789c5 Merge branch 'main' into collaborative-editing 2021-08-12 22:48:00 -07:00
Tom Moor ee2e776175 Add display when websocket connection is lost 2021-08-12 19:50:10 -07:00
Tom Moor e985078b80 fix: JS error scrolling overflowed templates page
closes #2445
2021-08-12 11:26:28 -07:00
Tom Moor aa90d388ef fix: Locally update text value and tasks summary with multiplayer editor 2021-08-11 17:10:13 -07:00
Tom Moor c1f832b0a2 Add team.features validation 2021-08-11 16:19:33 -07:00
Tom Moor 14596a11e8 fix: Template injection working with multiplayer and drafts 2021-08-11 15:47:17 -07:00
Tom Moor 06a9a6634b refactor template injection to be multiplayer-friendly 2021-08-10 23:16:38 -07:00
Tom Moor 6f684037e2 feat: Hook up awareness to presence store 2021-08-10 20:48:38 -07:00
Tom Moor c8fb988d6d Create features object to allow enabling future features 2021-08-10 17:40:16 -07:00
Tom Moor 135dc356af wip 2021-08-10 16:51:16 -07:00
Tom Moor 859b04d6a3 fix: Double network connection 2021-08-10 11:43:41 -07:00
Tom Moor d0f4d8282c wip 2021-08-08 18:49:29 -07:00
Tom Moor 79b92b92aa iteration 2021-08-07 18:11:09 -07:00
Tom Moor ce65f27a47 wip: Pull work across from previous branch 2021-08-06 16:39:17 -07:00
Saumya Pandey 42b384688d fix: Options to create a document is available when the policies of collection in the context doesn't permits the user (#2424) 2021-08-06 22:58:26 +05:30
Tom Moor 29c742a673 fix: Settings on 'Security' tab not persisting correctly after refactor (#2407)
* fix: Settings on 'Security' tab not persisting correctly after refactor
closes #2406
2021-08-02 13:37:53 -07:00
Tom Moor 59de4a7db0 feat: Default to "recently viewed" (#2390)
* feat: Default user to first collection on first app open

* Default home tab to 'recently viewed'

* fix: Styling of inactive tab
2021-07-30 07:16:03 -07:00
Tom Moor 63eb8aadaf fix: Flow, remove misused withTranslation on functional component 2021-07-30 00:52:42 -04:00
falleng0dandTom Moor 37c02a572b feat: Auto detect language on login page access (#2338)
* feat: Auto detect language on login page access

* fix: Apply tommoor suggested changes

* fix: QOL improvements for translators

* fix: consistency fix provider -> authProviderName

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-07-28 12:00:02 -07:00
Saumya PandeyandTom Moor a81fbd8608 fix: Show tasks completion on document list items (#2342)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-07-27 11:31:27 +05:30
Tom Moor 84ad7c482c fix: Various editor header and metadata fixes (#2361)
* fix: Publish button disabled on drafts in read-only mode
fix: Template selector appears on edited documents

* fix: Save button does not immediately come available when selecting a template

* fix: Template menu item alignment
closes #2204

* fixes: Use policy for display of star in document title
closes #2354

* fix: Modified time is sometimes bold when last edited user is current user
closes #2355

* fix: Allow starring of drafts
2021-07-22 15:17:18 -07:00
Tom Moor 6e07ee3f3e chore: Move animations and globals from shared directory (#2344) 2021-07-21 10:34:55 -07:00
Saumya PandeyandTom Moor fdb85ec195 fix: Separate toasts storage to own MobX store (#2339)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-07-20 14:36:10 +05:30
Tom Moor f64ab37d3c fix: Interpolation on archive/delete translationsg 2021-07-19 17:26:48 -04:00
falleng0dandTom Moor 2e955353ae feat: translations (#2275)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-07-19 11:12:53 -07:00