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
Saumya Pandey
37fd7ec97a
fix: Enable offline access to google accounts ( #2392 )
...
* Enable google offline access
* Prevent overriding prompt parameter
2021-07-29 20:04:57 -07:00
Tom Moor
c687745263
fix: E-mail signin on incorrect subdomain should allow the process to continue instead of error
...
closes #2276
2021-07-05 19:25:21 -04:00
Tom Moor
1c0c694c22
fix: Email auth should allow same guest user on multiple subdomains ( #2252 )
...
* test: Add email auth tests to establish current state of system
* fix: Update logic to account for dupe emails used between subdomains
* test
* test
2021-07-02 12:07:43 -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
Tom Moor
2c0f14f07b
fix: Explicit import of fetch-with-proxy
2021-05-13 17:20:24 -07:00
Tom Moor
2cb0bab82a
fix: Welcome emails should not be sent when inviting a user ( #2132 )
...
* chore: Bump nodemailer
* fix: Welcome email sent to invites
* test: Add regression test for emails from accountProvisioner
2021-05-11 18:59:31 -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
b89f4c36f4
chore: Rename Authentication -> IntegrationAuthentication ( #2091 )
2021-04-27 18:42:45 -07:00
Tom Moor
fa52bc5afd
chore: Slack integration screen improvements ( #2049 )
...
* feat: Add collection iconography and colors to Slack settings page
fix: Use standardized list components
fix: Slack icon size
chore: Convert to translation strings
* fix: Missing translation, convert to Scene
2021-04-18 18:34:49 -07:00
Tom Moor
7a8ccdb229
feat: Microsoft authentication ( #1953 )
...
closes #755
2021-04-17 13:22:18 -07:00
Tom Moor
190f0b6dc5
fix: Improve handling of suspended users signing in with email ( #2012 )
...
* chore: Separate signin/auth middleware
fix: Email signin token parsed by JWT middleware
fix: Email signin marked as active when logging in as suspended
fix: Suspended email signin correctly redirected to login screen
closes #1740
* refactor middleware -> lib
* lint
2021-04-08 20:40:04 -07:00
Tom Moor
b5dcb1b3fe
fix: JS error from #1962 refactor when Google or Slack auth credentials are missing
2021-03-29 22:03:40 -07:00
Tom Moor
e00a437f2f
feat: authenticationProviders API endpoints ( #1962 )
2021-03-26 11:31:07 -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
ed2a42ac27
chore: Migrate authentication to new tables ( #1929 )
...
This work provides a foundation for a more pluggable authentication system such as the one outlined in #1317 .
closes #1317
2021-03-09 12:22:08 -08:00
Tom Moor
f799758a6f
feat: Allow Google sign-in users to choose account
...
Alternative to https://github.com/outline/outline/pull/1763
2021-01-03 08:54:47 -08:00
Tom Moor
ba61091c4c
fix: Allow soft deletion of teams ( #1754 )
...
* fix: Allow soft deletion of teams
* test: regression specs
2020-12-30 09:40:23 -08:00
Tom Moor
e966eb8c9a
fix: Error notice not displayed to user when exceeding rate limit on signin attempt
2020-12-20 13:05:16 -08:00
Tom Moor
19ab32f551
chore: Add additional missing events ( #1639 )
...
* chore: Add additional missing events
signed in
profile updated
team setting updated
* Minor refactor to DRY existing code
* Add events
* lint
* flow: Add missing ip to event types
2020-11-14 20:44:18 -08:00
Tom Moor
1b6a986986
chore: Refactor authentication pass between subdomains ( #1619 )
...
* fix: Use get request instead of cookie to transfer token between domains
* Add domain to database
Add redirects to team domain when present
* 30s -> 1m
* fix: Avoid redirect loop if subdomain and domain set
* fix: Create a transfer specific token to prevent replay requests
* refactor: Move isCustomDomain out of shared as it won't work on the client
2020-11-04 19:54:04 -08:00
Tom Moor
b78e2f1e05
fix: Match search requests from Slack using Integration for non-Slack teams ( #1599 )
...
* Match slack hook requests to integration
2020-10-21 08:53:38 -07:00
Tom Moor
2c1a111dee
feat: Support importing .docx or .html files as new documents ( #1551 )
...
* Support importing .docx as new documents
* Add html file support, build types and interface for easily adding file types to importer
* fix: Upload embedded images in docx to storage
* refactor: Bulk of logic to command
* refactor: Do all importing on server, so we're not splitting logic for import into two places
* test: Add documentImporter tests
Co-authored-by: Lance Whatley <whatl3y@gmail.com >
2020-09-16 21:54:33 -07:00
Tom Moor
449dc55aaa
chore: Upgrade Babel, Jest, Eslint ( #1437 )
...
* chore: Upgrade Prettier 1.8 -> 2.0
* chore: Upgrade Babel 6 -> 7
* chore: Upgrade eslint plugins
* chore: Add eslint import/order rules
* chore: Update flow-typed deps
2020-08-08 22:53:59 -07:00
Tom Moor
e312b264a6
chore: Upgrade Prettier 1.8 -> 2.0 ( #1436 )
2020-08-08 18:53:11 -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
efcfda8398
fix: Port from hosted
2020-06-22 22:11:39 -07:00
Tom Moor
f43deb7940
chore: Move to prettier standard double quotes ( #1309 )
2020-06-20 13:59:15 -07:00
Tom Moor
f4c4a11277
fix: Only transfer accessToken if matches root token
2020-05-21 21:42:46 -07:00
Tom Moor
092d9dce18
fix: Don't set cookie domain when not using multiple subdomains ( #1145 )
...
* fix: Don't set cookie domain when not using multiple subdomains
* wip logging domain
* wip logging domain
* wip logging domain
* wip logging domain
* Revert "wip logging domain"
This reverts commit 325907e74962179e02cee0b1df364a3aedbe62e3.
* Revert "wip logging domain"
This reverts commit 6ee095a49e9c18999a20d5379234323d49d5e6c8.
* Revert "wip logging domain"
This reverts commit 813d8eb960cdf4dd6db4795739df3adf895600e2.
* Revert "wip logging domain"
This reverts commit f1ca81927626bbd0d46c1963510d115a003176d8.
* Remove SUBDOMAINS_ENABLED from documented env variables, no-one self hosting should need this – it just adds confusion to those looking to host on a single subdomain
fix: Account for server/client process.env parsing
Co-authored-by: Nan Yu <nanyu@Nans-MBP-2.lan >
Co-authored-by: Nan Yu <nan@getoutline.com >
2020-05-19 21:05:57 -07:00
Tom Moor
dac2d43f55
dashboard -> home ( #1194 )
2020-02-26 21:10:20 -08:00
Tom Moor
98dda567c2
fix: User records not written correctly on signin ( #1119 )
...
* Initial fix for #1116
* clarify logic
2019-12-22 20:14:06 -08:00
Tom Moor
89b87c5268
fix: Emails should be stored and processed in lowercase ( #1109 )
2019-12-17 19:44:50 -08:00
Tom Moor
6d8216c54e
feat: Guest email authentication ( #1088 )
...
* feat: API endpoints for email signin
* fix: After testing
* Initial signin flow working
* move shared middleware
* feat: Add guest signin toggle, obey on endpoints
* feat: Basic email signin when enabled
* Improve guest signin email
Disable double signin with JWT
* fix: Simple rate limiting
* create placeholder users in db
* fix: Give invited users default avatar
add invited users to people settings
* test
* add transaction
* tmp: test CI
* derp
* md5
* urgh
* again
* test: pass
* test
* fix: Remove usage of data values
* guest signin page
* Visually separator 'Invited' from other people tabs
* fix: Edge case attempting SSO signin for guest email account
* fix: Correctly set email auth method to cookie
* Improve rate limit error display
* lint: cleanup / comments
* Improve invalid token error display
* style tweaks
* pass guest value to subdomain
* Restore copy link option
* feat: Allow invite revoke from people management
* fix: Incorrect users email schema does not allow for user deletion
* lint
* fix: avatarUrl for deleted user failure
* change default to off for guest invites
* fix: Changing security settings wipes subdomain
* fix: user delete permissioning
* test: Add user.invite specs
2019-12-15 18:46:08 -08:00
Tom Moor
fb4f6822a4
feat: Events / audit log ( #1008 )
...
* feat: Record events in DB
* feat: events API
* First pass, hacky activity feed
* WIP
* Reset dashboard
* feat: audit log UI
feat: store ip address
* chore: Document events.list api
* fix: command specs
* await event create
* fix: backlinks service
* tidy
* fix: Hide audit log menu item if not admin
2019-08-05 20:38:31 -07:00
Tom Moor
7aea6458ce
fix: Update email in auth service should update email in Outline
2019-06-25 21:44:46 -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
f80c3c6877
Fixed: Return error when Slack auth fails to help with debugging
2019-03-13 23:22:12 -07:00
Tom Moor
ac814abda4
Fixes: Oauth error on subdomains authenticating slack post
2018-12-20 20:25:13 -08:00
Tom Moor
8653338f4e
Fixes: Connecting slack commands from subdomain
2018-12-15 19:05:22 -08:00
Tom Moor
b068ba9f02
Customize route for first signin for tracking
2018-12-08 08:57:34 -08:00
Tom Moor
c60bd4260f
Provision subdomain for ALL new teams, add tests
2018-11-12 14:00:23 -08:00
Tom Moor
61138ff4fa
Cleanup
2018-11-11 21:17:03 -08:00
Tom Moor
cc9f32cdc9
Team switcher
2018-11-11 16:24:05 -08:00
Tom Moor
10e1f0231c
Iterate, iterate
2018-11-11 14:23:31 -08:00
Tom Moor
e24a187699
accessToken per subdomain
2018-11-09 23:40:33 -08:00
Tom Moor
c323de4807
Attempt to provision subdomain on team create
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