Tom Moor
39e146b4e6
fix: Minor usability improves to team domain management
2022-05-19 18:28:19 +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
Limezy
5658090d7e
Trying to chase missing translations ( #3441 )
2022-05-17 13:01:00 -07:00
Tom Moor
4c15f27bb2
fix: Focus submit button by default in confirmation dialogs
...
fix: Move collection delete to use confirmation dialog
closes #3446
2022-05-15 16:21:42 +01: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
Tom Moor
b75a6928cb
Revert "fix: Fade out navigation when editing and mouse hasn't moved ( #3256 )" ( #3502 )
...
This reverts commit e0cf873a36 .
2022-05-06 13:28:37 -07:00
Saumya Pandey
e0cf873a36
fix: Fade out navigation when editing and mouse hasn't moved ( #3256 )
...
* fix: hide header when editing
* fix: settings collab switch
* Update app/hooks/useMouseMove.ts
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* fix: accept timeout parameter
* fix: don't hide observing banner
* fix: hide on focused and observing
* perf: memo
* hide References too
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-05-07 00:17:09 +05:30
Tom Moor
25dce04046
perf: Move collection sorting to frontend ( #3475 )
...
* perf: Move collection sorting to frontend, on demand, memoized
* fix: Add default
2022-05-01 08:30:16 -07:00
Tom Moor
a736022c39
chore: cleanup
2022-04-30 09:10:35 -07:00
Tom Moor
7fa0199dca
fix: Applying a template should not overwrite an existing title
...
closes #3430
2022-04-27 19:18:45 -07:00
Tom Moor
964b4ef97d
fix: Allow authorized signups to hosted-only setting
2022-04-27 19:04:06 -07:00
Tom Moor
11477a1185
chore: Centralize clientside logging
2022-04-25 23:31:30 -07:00
Tom Moor
2a11a23d5b
fix: Updated design of api tokens to clarify, closes #3422
2022-04-25 21:34:36 -07:00
Tom Moor
0cdf1f791e
fix: Permission select should have border
2022-04-23 18:33:14 -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
48893f727e
fix: Tabs on document references don't show active state
...
'Referenced by' -> 'Backlinks'
2022-04-17 11:42:55 -07:00
Tom Moor
5b0a45c159
fix: Entirety of document title should have text cursor
2022-04-16 18:47:59 -07:00
Tom Moor
cf58d8e3e1
fix: Capture drop events in clickable padding below editor ( #3376 )
...
* fix: Capture drop events in clickable padding below editor
* fix: Inconsistency in drop handling
2022-04-15 09:03:25 -07:00
Tom Moor
0ecfa95efc
fix: Search params are not considered on first load
...
closes #3378
2022-04-14 17:50:20 -07:00
Tom Moor
7f58fbe71b
fix: Save title change immediately on field blur
...
closes #3374
2022-04-13 16:26:22 -07:00
Nan Yu
5520317ce1
fix: prevent the interactive gutter elements from interfering with the sidebar collapse button ( #3350 )
...
* fix: prevent the interactive gutter elements from interfering with the sidebar collapse button
* keep mobile padding the same on documents
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-04-11 19:48:05 -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
9281287dba
one
2022-04-09 20:25:54 -07:00
Tom Moor
48fad5cfa0
fix: Link preview and search should work on collection descriptions ( #3355 )
2022-04-09 19:00:56 -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
2e41ace386
refactor: Move depths and breakpoints out of theme
2022-04-04 21:20:38 -07:00
Tom Moor
20a69b711a
fix: Some spots where navigation state was not preserved
...
fix: Collection in main nav pops open when moving from starred collection
2022-04-04 19:04: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
Tom Moor
41579eb4bf
fix: Cleanup totally empty drafts on leave ( #3310 )
...
* fix: Cleanup totally empty drafts on leave
* cleanup
* fix: Add check the doc has never been saved after creation when auto-deleting
2022-04-03 11:51:38 -07:00
Tom Moor
1b89959fc1
fix: Clarify language on magic link success message
...
closes #3242
2022-04-01 19:59:25 -07:00
Tom Moor
4907169cfb
fix: Hint when all invites were not sent
...
closes #3317
2022-04-01 18:04:13 -07:00
Tom Moor
c66aca063e
feat: Add patterns to insert current date and time into doc ( #3309 )
...
* feat: Add patterns to insert current date and time into doc
* Add commands to title input too
* lint: Remove console.log
2022-03-31 19:51:55 -07:00
Tom Moor
6f2a4488e8
chore: Editor refactor ( #3286 )
...
* cleanup
* add context
* EventEmitter allows removal of toolbar props from extensions
* Move to 'packages' of extensions
Remove EmojiTrigger extension
* types
* iteration
* fix render flashing
* fix: Missing nodes in collection descriptions
2022-03-30 19:10:34 -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
忽如寄
396836dedd
refactor: ♻️ del children type ( #3283 )
...
* refactor: 🔧 del unnecessary children type
Change-Id: I3dea5e07f5401bdbdd168eb959fe361c57784167
* feat: 💄 eslint
Change-Id: Ie173adeca9e3112d8cdfc1f85964332105dcb424
* feat: 🔧 add css type
Change-Id: I8850c4d09b152f4d9c4d98e6eebca58bd9eecd37
* fix: 💄 ci lint
Change-Id: I69ff89c7a30e2bdcd26475ec83f3f5ec143121b6
2022-03-24 17:45:36 -07:00
Tom Moor
6af9246f26
feat: Allow disabling collection creation for members ( #3270 )
2022-03-24 16:02:50 -07:00
Tom Moor
203980c845
fix: ARIA fixes, missing button labels
2022-03-16 23:41:06 -07:00
Saumya Pandey
52358073e0
fix: settings collab switch
2022-03-16 15:18:24 -07:00
Tom Moor
76e1869ebf
fix: Catch error when emoji combinations cause document to be unable to persist ( #3250 )
...
* fix: Catch and warn of rare error when emoji combinations cause document to be unable to persist changes
closes #3230
* addEventListener -> removeEventListener
2022-03-16 15:18:16 -07:00
Nan Yu
ac2a124714
fix: prevent history from crashing due to missing EditorView ( #3257 )
...
* put the editor into read only mode when examining history
2022-03-16 15:01:25 -07:00
Nan Yu
d1b28499c6
chore: new arrow key navigation ( #3229 )
...
* rebuild keyboard navigation lists
* add new keyboard navigation components
* remove references to boundless-arrow-key-navigation
* fix aria-labels on paginated lists everywhere
2022-03-15 10:36:10 -07:00
Tom Moor
f3705b4a22
fix: Tweaks to share links management
2022-03-14 20:02:26 -07:00
Tom Moor
a08f433c24
fix: Small text under subdomain setting
2022-03-14 17:55:25 -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
Saumya Pandey
c979d003e4
fix: navigate to all the pages of settings through command bar ( #3226 )
...
* fix: create useAuthorizedSettingsConfig
* use config to render routes
* translations and icon
* mount in CommandBar
* memo
* Update app/hooks/useSettingsAction.tsx
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* fix: add actions into settings action
* remove comment
* fix: update shares
* fix: Remove Slack/Zapier from translations
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-03-13 09:38:36 +05:30
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
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