dependabot[bot]
fbd16d4b9a
chore(deps-dev): bump prettier from 2.1.2 to 2.8.8 ( #5372 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-05-22 19:14:56 -07:00
Tom Moor
e2bc2f2067
Transfer changes from enterprise codebase
2023-05-13 12:30:24 -04:00
Tom Moor
7ce97f4d50
feat: Enable admins to list all collections in workspace
2023-05-11 22:25:12 -04:00
Tom Moor
ac8946f0c5
fix: Admins should be able to add and remove themselves from collections
2023-05-04 21:52:59 -04:00
Tom Moor
d8b4fef554
feat: Collection admins ( #5273
...
* Split permissions for reading documents from updating collection
* fix: Admins should have collection read permission, tests
* tsc
* Add admin option to permission selector
* Combine publish and create permissions, update -> createDocuments where appropriate
* Plural -> singular
* wip
* Quick version of collection structure loading, will revisit
* Remove documentIds method
* stash
* fixing tests to account for admin creation
* Add self-hosted migration
* fix: Allow groups to have admin permission
* Prefetch collection documents
* fix: Document explorer (move/publish) not working with async documents
* fix: Cannot re-parent document to collection by drag and drop
* fix: Cannot drag to import into collection item without admin permission
* Remove unused isEditor getter
2023-04-30 06:38:47 -07:00
Tom Moor
54cf3fb8b1
fix: Move rate limiting middleware infront of auth
...
Tighten rate limits on attachment, comment, and group creation
2023-04-19 22:10:11 -04: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
f39487d25b
fix: PaginatedList does not always load more ( #4811 )
2023-01-30 19:53:14 -08:00
Apoorv Mishra
f4461573de
Refactor to accommodate authentication, transaction and pagination states together ( #4636 )
...
* fix: refactor to accommodate authentication, transaction and pagination together into ctx.state
* feat: allow passing response type to APIContext
2023-01-04 23:51:44 +05:30
Tom Moor
05a4f050bb
chore: Improve graceful server shutdown ( #4625 )
...
* chore: Improve graceful server shutdown
* Replace node timers with custom promise timeout
2022-12-31 13:56:27 -08:00
Tom Moor
7a1e6a1b73
feat: Bulk HTML export for collection
2022-12-30 20:13:29 -05:00
Tom Moor
f3469d25fe
feat: Bulk HTML export ( #4620 )
...
* wip
* Working bulk html export
* Refactor
* test
* test
2022-12-30 09:42:20 -08:00
Tom Moor
c916d4f594
spike: db transaction as middleware ( #4301 )
2022-10-26 17:38:37 -07:00
Tom Moor
87e3f18e6d
chore: Remove method override middleware ( #4315 )
...
* chore: Remove method override middleware
* wip
* CodeQL
* max/min
2022-10-18 16:03:25 -07:00
Tom Moor
1915a453db
fix: Disallow adding self to collection ( #4299 )
...
* api
* ui
* update collection permissions
2022-10-15 19:11:09 -07:00
Tom Moor
afc7fb5f1d
fixes #4104
2022-09-11 15:27:19 +01:00
Tom Moor
0fd576cdd5
feat: Updated collection header ( #4101 )
...
* Return total results from collection membership endpoints
* Display membership preview on collections
* fix permissions
* Revert unneccessary changes
2022-09-11 05:54:57 -07:00
Tom Moor
212985e18f
feat: Allow viewers to be upgraded to editors on individual collections ( #4023 )
...
* Improve types
* More types, fix default permission for viewers added to collection
* fix change of default role for CollectionGroup
* Restore policy
* test
* tests
2022-08-30 23:12:27 -07:00
Tom Moor
a326e0ee88
chore: Rate limiter audit ( #3965 )
...
* chore: Rate limiter audit api/users
* Make requests required
* api/collections
* Remove checkRateLimit on FileOperation (now done at route level through rate limiter)
* auth rate limit
* Add metric logging when rate limit exceeded
* Refactor to shared configs
* test
2022-08-14 08:04:04 -07:00
Apoorv Mishra
0a6cfe5a6a
feat: Choose random color on collection creation ( #3912 )
...
Choose a random color from a shared color palette between backend
and frontend during collection creation.
2022-08-04 01:48:19 -07:00
Tom Moor
9cd26168e1
Separates policy for file operations
2022-07-03 18:19:56 +02:00
Tom Moor
c9cd424a8d
chore: Remove over-usage of invariant ( #3719 )
2022-07-02 05:29:39 -07:00
Tom Moor
ac07724f21
chore: Synchronizing refactor and small fixes from enterprise codebase ( #3634 )
...
* chore: Syncronizing refactor and small fixes from enterprise codebase
* fix
2022-06-05 00:59:41 -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
33ce49cc33
chore: Refactor data import ( #3434 )
...
* Complete refactor of import
* feat: Notion data import (#3442 )
2022-04-23 10:07:35 -07:00
Tom Moor
b1aba32b62
chore: Bringing across edits from enterprise codebase
2022-04-16 19:46:01 -07: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
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
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
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