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
1e84872bab
fix: Only consider enabled AuthenticationProviders for Slack hooks
2022-05-28 09:36:22 +02:00
Tom Moor
6d7f008af0
fix: Sidebar missing on public documents when accessing with valid team token
2022-05-22 08:51:47 +01:00
Tom Moor
bf0ff6c823
chore: Casing of logger -> Logger as it's an instantiated class
2022-05-21 13:59:23 +01:00
Tom Moor
3c002f82cc
chore: Centralize env parsing, validation, defaults, and deprecation notices ( #3487 )
...
* chore: Centralize env parsing, defaults, deprecation
* wip
* test
* test
* tsc
* docs, more validation
* fix: Allow empty REDIS_URL (defaults to localhost)
* test
* fix: SLACK_MESSAGE_ACTIONS not bool
* fix: Add SMTP port validation
2022-05-19 08:05:11 -07: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
Tom Moor
18e0d936ef
feat: Match incoming search requests using confirmed email as fallback ( #3538 )
2022-05-17 13:49:23 -07:00
Tom Moor
b8a02df7ba
chore: utils.gc -> cron.daily ( #3543 )
2022-05-16 12:44:22 -07:00
Tom Moor
8815a58ff5
perf: Requesting less db columns when calculating collection permissions ( #3498 )
...
perf: Not looping collection documentStructure for unpublish permission calculation
2022-05-15 06:46:24 -07:00
Tom Moor
36a3ae4b01
fix: Don't show suspended users in document facepile or list of viewers ( #3497 )
2022-05-15 06:05:40 -07:00
Tom Moor
eeb8008927
chore: Refactor collection export to match import ( #3483 )
...
* chore: Refactor collection export to use FileOperations processor and task
* Tweak options
2022-05-01 21:06:07 -07:00
Tom Moor
ceebc922cf
fix: Error attempting to import .docx files, closes #3455
2022-04-25 21:07:22 -07:00
Tom Moor
33ce49cc33
chore: Refactor data import ( #3434 )
...
* Complete refactor of import
* feat: Notion data import (#3442 )
2022-04-23 10:07:35 -07: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
b1aba32b62
chore: Bringing across edits from enterprise codebase
2022-04-16 19:46:01 -07:00
Tom Moor
86f1645199
feat: Automatic invite reminder email ( #3354 )
...
* feat: Add user flags concept, for tracking bits on a user
* feat: Example flag usage for user invite resend abuse
* wip
* test
* fix: Set correct flag
2022-04-12 20:12:33 -07:00
Tom Moor
7f5bf6c6b3
feat: User flags ( #3353 )
...
* feat: Add user flags concept, for tracking bits on a user
* feat: Example flag usage for user invite resend abuse
2022-04-11 19:42:50 -07:00
Tom Moor
b7a6a34565
fix: Flash of empty state on paginated lists ( #3351 )
...
* fix: Flash of empty state on paginated lists
fix: Typing of PaginatedList to generic
* test
* test
2022-04-09 20:31:51 -07:00
Tom Moor
8f23504c64
fix: Archived documents should be filtered from getChildDocumentIds when searching and loading share data ( #3352 )
...
closes #3343
2022-04-09 18:34:18 -07:00
Tom Moor
5c1888b0a4
feat: Adds menu item to resend outstanding invites ( #3348 )
...
* feat: Adds menu item to resend outstanding invites
* i18n
* snapshots
2022-04-09 11:34:27 -07:00
Nan Yu
75a868e5e8
feat: Search shared documents ( #3126 )
...
* provide a type-ahead search input on shared document pages that allow search of child document tree
* improve keyboard navigation handling of all search views
* improve coloring on dark mode list selection states
* refactor PaginatedList component to eliminate edge cases
2022-04-08 10:40:51 -07:00
Tom Moor
15375bf199
fix: users.info request flood ( #3334 )
...
* feat: Add user id filter to users.list endpoint
* fix: Remove users.info request loop
2022-04-06 22:00:11 -07:00
Tom Moor
448f94ed04
fix: Allow admin edit/update access to all collections ( #3335 )
...
* fix: Allow admin edit/update access to all collections
* test
2022-04-06 16:49:07 -07:00
Tom Moor
dbfdcd6d23
chore: Refactor worker, emails and data cleanup to task system ( #3337 )
...
* Refactor worker, all emails on task system
* fix
* lint
* fix: Remove a bunch of expect-error comments in related tests
* refactor: Move work from utils.gc into tasks
* test
* Add tracing to tasks and processors
fix: DebounceProcessor triggering on all events
Event.add -> Event.schedule
2022-04-06 16:48:28 -07:00
Tom Moor
84d6bf8ddf
feat: Add ability to star collection ( #3327 )
...
* Migrations, models, commands
* ui
* Move starred hint to location state
* lint
* tsc
* refactor
* Add collection empty state in expanded sidebar
* Add empty placeholder within starred collections
* Drag and drop improves, Relative refactor
* fix: Starring untitled draft leaves empty space
* fix: Creating draft in starred collection shouldnt open main
* fix: Dupe drop cursor
* Final fixes
* fix: Canonical redirect replaces starred location state
* fix: Don't show reorder cursor at the top of collection with no permission to edit when dragging
2022-04-03 18:51:01 -07:00
Nan Yu
096b35e08e
chore: change the way that share permissions are checked on child documents to use the parentId field of documents rather than the collection structure ( #3294 )
2022-03-28 10:18:59 -07:00
CommanderRoot
f7b1f3ad6d
refactor: replace deprecated String.prototype.substr() ( #3285 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-03-25 11:57:42 -07:00
Tom Moor
6af9246f26
feat: Allow disabling collection creation for members ( #3270 )
2022-03-24 16:02:50 -07:00
Tom Moor
5e655e42f6
chore: documentStructure database locking ( #3254 )
2022-03-18 08:59:11 -07:00
Tom Moor
a27af88d4a
perf: Stop copying attachments when moving documents ( #3251 )
...
* perf: Stop copying attachments when moving documents
* lint
2022-03-16 15:18:04 -07:00
Tom Moor
d63326066f
feat: Improve settings layout ( #3234 )
...
* Setup, and security settings
* Settings -> Details
* Settings -> Notifications
* Profile
* lint
* fix: Flash of loading on members screen
* align language input
* feat: Move share links management to sortable table
* Add account menu to sidebar on settings page
* Aesthetic tweaks, light borders between settings and slight column offset
2022-03-14 17:44:56 -07:00
Tom Moor
e30f6e937c
fix: Automatically disable email sign-in when SMTP is not configured
...
fix: Do not show email signin as enabled when SMTP configured
closes #3227
2022-03-12 17:01:46 -08:00
Tom Moor
d399e1048a
perf: Don't load CRDT state from database by default ( #3215 )
2022-03-09 20:07:10 -08:00
Tom Moor
c1e8b6c823
perf: Remove unneccessary join from documents.viewed
2022-03-08 16:51:47 -08:00
Tom Moor
631d600920
feat: File attachments ( #3031 )
...
* stash
* refactor, working in non-collab + collab editor
* attachment styling
* Avoid crypto require in browser
* AttachmentIcon, handling unknown types
* Do not allow attachment creation for file sizes over limit
* Allow image as file attachment
* Upload placeholder styling
* lint
* Refactor: Do not use placeholder for file attachmentuploads
* Add loading spinner
* fix: Extra paragraphs around attachments on insert
* Bump editor
* fix build error
* Remove attachment placeholder when upload fails
* Remove unused styles
* fix: Attachments on shared pages
* Merge fixes
2022-03-06 13:58:58 -08:00
Tom Moor
5e96145277
feat: Add support for S3 transfer acceleration
2022-03-02 21:12:38 -08:00
Tom Moor
64d4462412
fix: Allow removing title via API
...
fix: Empty document title continously autofocuses
closes #3108
2022-02-19 09:10:06 -08:00
Tom Moor
9db6951434
fix: Server side validation for #3112
2022-02-17 22:51:18 -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
d643c9453e
feat: Import improvements ( #3064 )
...
* feat: Split and simplify import/export pages in prep for more options
* minor fixes
* File operations for imports
* test
* icons
2022-02-06 22:29:24 -08:00
Tom Moor
c5a11fe17b
chore: Enable eslint to enforce curly ( #3060 )
2022-02-05 10:15:40 -08:00
Tom Moor
79e2cad5b9
feat: Add reordering to starred documents ( #2953 )
...
* draft
* reordering
* JIT Index stars on first load
* test
* Remove unused code on client
* small unrefactor
2022-01-21 18:11:50 -08:00
Nan Yu
c2c7a7190c
fix: trim collection name on save rather than on change ( #2962 )
...
* fix: trim collection name on save rather than on change
* move trim to server
2022-01-20 18:53:29 -08:00
Tom Moor
062016b164
chore: Move editor into codebase ( #2930 )
2022-01-19 18:43:15 -08:00
Nan Yu
266f8c96c4
fix: issue-2956 ( #2957 )
2022-01-19 18:24:25 -08:00
Nan Yu
71820fb3ad
feat: Add navigation sidebar to shared documents ( #2899 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
2022-01-14 19:02:01 -08:00
Tom Moor
c6cc04cad8
chore: More typescript FIXME's removed
2022-01-06 21:25:42 -08:00
Tom Moor
b20a341f0c
chore: Typescript database models ( #2886 )
...
closes #2798
2022-01-06 18:24:28 -08:00
Tom Moor
eb0c324da8
feat: Pin to home ( #2880 )
2021-12-30 16:54:02 -08:00
Tom Moor
66d5a567c2
feat: Optional full-width toggle for document display ( #2869 )
...
* Migration, model, presenter
* Working implementation
* fix: Account for table of contents
* Checkbox -> Toggle
* Checkbox -> Toggle
2021-12-19 13:58:16 -08:00