Tom Moor
ab30bfcf24
fix: Cannot sign-in with Gmail on desktop app
2023-05-08 19:03:56 -04:00
Tom Moor
a9800165c1
fix: Some authentication notices not displayed, injection of arbitrary strings
2023-04-11 21:54:53 -04:00
Tom Moor
2f9a56aa6f
Centralize default user and team preferences. ( #5172
...
Passing the fallback at each callpoint was dumb
2023-04-09 14:23:58 -07:00
Tom Moor
aab3a49f2c
chore: Bump outline-icons ( #5170
...
* Bump outline-icons to default use currentColor
* wip
2023-04-08 08:16:05 -07:00
Tom Moor
db73879918
Assorted cleanup, minor bug fixes, styling fixes, eslint rules ( #5165
...
* fix: Logic error in toast
fix: Remove useless component
* fix: Logout not clearing all stores
* Add icons to notification settings
* Add eslint rule to enforce spaced comment
* Add eslint rule for arrow-body-style
* Add eslint rule to enforce self-closing components
* Add menu to api key settings
Fix: Deleting webhook subscription does not remove from UI
Split webhook subscriptions into active and inactive
Styling updates
2023-04-08 05:25:20 -07:00
Tom Moor
422bdc32d9
Add 's' method to access theme props ( #5163 )
2023-04-07 19:43:34 -07:00
Tom Moor
21a1257d06
chore: Move remaining auth methods to plugins ( #4900 )
...
* Move Google, Email, and Azure to plugins
* Move OIDC provider, remove old loading code
* Move AuthLogo to plugin
* AuthLogo -> PluginIcon
* Lazy load plugin settings
2023-02-19 19:52:08 -08:00
Tom Moor
445d19f43e
chore: Extract product name from translation strings ( #4646 )
2023-01-04 19:00:57 -08:00
Tom Moor
f655288f67
fix: Issue where possibly logged into the wrong workspace when signing in via desktop app with multiple workspaces
2023-01-04 21:13:13 -05:00
Tom Moor
ad9525bfa3
chore: Refactor icon components
...
fix: Alignment of Outline logo component
2022-12-31 12:26:39 -05:00
Tom Moor
cc333637dd
Desktop support ( #4484 )
...
* Remove home link on desktop app
* Spellcheck, installation toasts, background styling, …
* Add email,slack, auth support
* More desktop style tweaks
* Move redirect to client
* cleanup
* Record desktop usage
* docs
* fix: Selection state in search input when double clicking header
2022-11-27 15:07:48 -08:00
Tom Moor
5a42f70b65
Add case for un-mapped custom domain to login page
2022-11-25 10:22:45 -05:00
Tom Moor
587f062677
Remove usage of tiley ( #4406 )
...
* First pass
* Mooarrr
* lint
* snapshots
2022-11-08 17:12:22 -08:00
Tom Moor
e714e934cb
Tweak layout of login screen to account for new custom logos
2022-10-23 11:36:54 -04:00
Apoorv Mishra
bb21fa725c
Add team preference to use logo for branding ( #4285 )
...
* feat: add team preference to use logo for branding
* fix: allow on cloud version too
2022-10-19 10:01:24 +05:30
Nan Yu
39fc8d5c14
feat: allow ad-hoc creation of new teams ( #3964 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
2022-10-16 05:57:27 -07:00
Apoorv Mishra
6502b108e3
Introduce account preferences to remember user's previous location ( #4126 )
2022-09-18 06:01:47 -07:00
Tom Moor
c9156ae399
fix: Login screen not vertically centered on mobile ( #4052 )
2022-09-04 00:14:32 -07:00
Nan Yu
74d9409cc3
fix: refactor auth flow to explicitly pass in a host ( #3909 )
...
* fix: refactor auth flow to explicitly pass in a host
* add new error handler to all SSO providers
* refactor passport error into middleware
2022-08-04 02:00:52 -07:00
Tom Moor
031a7d396f
Add message to login screen for shared links
2022-07-19 17:57:13 +01:00
Nan Yu
c3f5563e7f
feat: scope login attempts to specific subdomains if available - do not switch subdomains ( #3741 )
...
* make the user lookup in user creator sensitive to team
* add team specific logic to oidc strat
* factor out slugifyDomain
* change type of req during auth to Koa.Context
2022-07-19 06:50:55 -07:00
Nan Yu
4b166432e6
fix: show a distinct error message when a user tries to create an account using a personal gmail ( #3710 )
...
* fix: show a different error message when a user tries to create an account using a personal gmail
* throw only after attempting to find the team
2022-07-01 13:21:23 -07:00
Tom Moor
50456c3b89
fix: Custom domain authentication, regressed in:
...
https://github.com/outline/outline/pull/3652
2022-06-22 21:58:05 +02:00
Nan Yu
e0d2b6cace
feat: allow personal gmail accounts to be used to sign into teams with an existing invite ( #3652 )
...
* feat: allow personal gmail accounts to be used to sign into teams with an existing invite
* address comments
* add comment for appDomain
* address comments
2022-06-20 01:33:16 -07:00
Nan Yu
41e425756d
chore: refactor domain parsing to be more general ( #3448 )
...
* change the api of domain parsing to just parseDomain and getCookieDomain
* adds getBaseDomain as the method to get the domain after any official subdomains
2022-05-31 18:48:23 -07:00
Tom Moor
6c8b127ff9
chore: isHosted -> isCloudHosted for clarity
2022-05-21 13:34:52 +01:00
Tom Moor
02caf88d2a
chore: AuthenticationProvider component to function
2022-05-21 10:05:41 +01:00
Corey Alexander
51001cfac1
feat: Migrate allowedDomains to a Team Level Settings ( #3489 )
...
Fixes #3412
Previously the only way to restrict the domains for a Team were with the ALLOWED_DOMAINS environment variable for self hosted instances.
This PR migrates this to be a database backed setting on the Team object. This is done through the creation of a TeamDomain model that is associated with the Team and contains the domain name
This settings is updated on the Security Tab. Here domains can be added or removed from the Team.
On the server side, we take the code paths that previously were using ALLOWED_DOMAINS and switched them to use the Team allowed domains instead
2022-05-17 20:26:29 -04:00
Limezy
5658090d7e
Trying to chase missing translations ( #3441 )
2022-05-17 13:01:00 -07:00
Tom Moor
06d966ad0c
fix: Spacing on login form
...
fix: signup query params overridden unneccessarily
closes #3516
2022-05-15 06:57:35 +01:00
Nan Yu
233f3af667
feat: allow admins to require invites before user accounts can be created ( #3381 )
...
* allow admins to require invites before user accounts can be created
* use new dialog component for general confirmation dialogs
2022-04-19 12:27:23 -07:00
Tom Moor
1b89959fc1
fix: Clarify language on magic link success message
...
closes #3242
2022-04-01 19:59:25 -07:00
忽如寄
9f400af73b
refactor: ♻️ refactor isHosted && type clean up ( #3290 )
...
* refactor: ♻️ refactor isHosted && type clean up
Change-Id: I4dfbad8a07607432801de78920ce42bf81e46498
* refactor: ♻️ code clean up
Change-Id: I8f487a33d332a2acaff84397a97371b56ace28a1
* feat: 💄 lint
Change-Id: I776b1a5e249bdb542f8e6da7cb2277821cf91094
* feat: ✨ ci type
Change-Id: I486dde7bf60321238e9a394c40ad8cdb8bfc54c8
* feat: some code sugession
Change-Id: I4761d057344b95a98e99068d312a42292977875b
2022-03-27 15:18:37 -07:00
Tom Moor
f44b5708c3
fix: Show error when auth.config fails rather than blank screen, useful as part of self-hosted setup in particular
2022-03-12 16:17:29 -08:00
Tom Moor
d5763233ca
HelpText -> Text
2022-02-17 20:59:40 -08:00
Saumya Pandey
42061edbd1
feat: add the ability to choose default collection ( #3029 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-02-10 10:06:10 +05:30
Tom Moor
15b1069bcc
chore: Move to Typescript ( #2783 )
...
This PR moves the entire project to Typescript. Due to the ~1000 ignores this will lead to a messy codebase for a while, but the churn is worth it – all of those ignore comments are places that were never type-safe previously.
closes #1282
2021-11-29 06:40:55 -08:00
Tom Moor
f7b587b5a5
fix: Dont show back link on custom domains
...
closes #2671
2021-10-21 21:45:57 -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
63eb8aadaf
fix: Flow, remove misused withTranslation on functional component
2021-07-30 00:52:42 -04:00
falleng0d
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
Tom Moor
77d6adb73b
feat: Signup query params tracking ( #2098 )
...
* feat: Add tracking of signup query params
* fix: Headers already sent to client
* fix: OAuth error wipes previously written query params cookie
2021-05-01 13:46:08 -07:00
Tom Moor
317c52df62
fix: Improve error handling for Azure-specific errors not captured in OAuth2 strategy
2021-04-18 22:41:27 -07:00
Tom Moor
7a8ccdb229
feat: Microsoft authentication ( #1953 )
...
closes #755
2021-04-17 13:22:18 -07:00
Tom Moor
8cbc873451
chore: Clarify flow on /create page
2021-04-03 14:29:08 -07:00
Tom Moor
1b972070d7
feat: Enforce single team when self-hosted ( #1954 )
...
* fix: Enforce single team when self hosting
* test: positive case
* refactor
* fix: Visible error message on login screen for max teams scenario
* Update Notices.js
* lint
2021-03-18 21:56:24 -07:00
Tom Moor
5d6f68d399
feat: Move to passport for authentication ( #1934 )
...
- Added `accountProvisioner`
- Move authentication to use passport strategies
- Make authentication more pluggable
- Change language of services -> providers
closes #1120
2021-03-11 10:02:22 -08:00
Tom Moor
785e208c6c
lint
2021-01-31 14:41:00 -08:00
Tom Moor
ce2b246e60
fix: auth.config request should only be made on Login screen ( #1852 )
2021-01-29 17:54:28 -08:00
Tom Moor
7735aa12d7
GSuite -> Google Workspace
2020-10-27 22:14:51 -07:00