Tom Moor
ec9f45f310
fix: Allow team admin to manage permissions on any document they have access to ( #8746 )
2025-03-22 08:22:09 -07:00
Tom Moor
0642396264
perf: Policies refactor ( #7460 )
2024-08-28 06:10:38 -07:00
feingold-ant
cb4f610bb4
doc editors can create child docs ( #7257 )
2024-07-15 16:57:06 -07:00
Tom Moor
a19fb25bea
fix: Open permissions for guests that have collection manage permission ( #7075 )
...
* fix: Opens up permissions for guests that have collection manage permission
* tsc
* tests
2024-06-20 06:18:18 -07:00
Brian Krausz and Tom Moor
95b9453269
feat: docs managers can action docs & create subdocs ( #7077 )
...
* feat: docs managers can action docs & create subdocs
* tests
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-06-19 19:22:33 -07:00
Tom Moor
8dc530a50f
fix: Policies on archived documents disallow unarchive ( #6862 )
2024-05-01 18:02:01 -07:00
Tom Moor
c27cd945a7
Policies refactor, guest roles ( #6732 )
2024-03-31 17:28:35 -07:00
Tom Moor
0dede0b56e
Convert isViewer and isAdmin to getters ( #6724 )
2024-03-28 16:00:35 -07:00
Apoorv Mishra and Tom Moor
1490c3a14b
Individual document sharing with permissions ( #5814 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2024-01-30 17:48:22 -08:00
Tom Moor
ec0564eb32
chore: Test performance ( #5786 )
2023-09-06 14:19:21 -07:00
Tom Moor
3eb947e9a5
chore: Improve perf of server tests ( #5785 )
2023-09-06 04:14:49 -07:00
Apoorv Mishra
16a5be1aa6
Additional policy regarding comments on a document ( #5130 )
...
* feat: comment policy on document
* fix: add alongside read
2023-04-02 19:21:13 +05:30
Apoorv Mishra
1caa51f58e
Viewer should be allowed to subscribe to a document ( #4814 )
...
* fix: viewer should be allowed to subscribe to a document
* fix: allow subscribe only if the user has read permission for collection
2023-01-31 19:46:10 +05:30
Tom Moor
e67ac1215a
feat: Allow moving draft documents ( #4652 )
...
* feat: Allow moving draft documents
* Allow drag-n-drop move of draft documents
* fix: Allow moving draft without a collection
* fix: Allow moving draft without a collection
2023-01-06 19:31:06 -08:00
Apoorv Mishra
a89d30c735
Allow drafts to be created without requiring a collection ( #4175 )
...
* feat(server): allow document to be created without collectionId
* fix(server): policies for a draft doc without collection
* fix(app): hide share button for drafts
* feat(server): permissions around publishing a draft
* fix(server): return drafts without collection
* fix(server): handle draft deletion
* fix(server): show drafts in deleted docs
* fix(server): allow drafts without collection to be restored
* feat(server): return drafts in search results
* fix: use buildDraftDocument for drafts
* fix: remove isDraftWithoutCollection
* fix: do not return drafts for team
* fix: put invariants
* fix: query clause
* fix: check only for undefined
* fix: restore includeDrafts clause as it was before
2022-10-25 18:01:57 +05:30
Tom Moor
1fbc000e03
chore: Reduce test boilerplate ( #4300 )
...
* chore: Reduce test boilerplate
* mo
2022-10-15 19:40:21 -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
Apoorv Mishra
0c51bfb899
perf: reduce memory usage upon running server tests ( #3949 )
...
* perf: reduce memory usage upon running server tests
* perf: plug leaks in server/routes
* perf: plug leaks in server/scripts
* perf: plug leaks in server/policies
* perf: plug leaks in server/models
* perf: plug leaks in server/middlewares
* perf: plug leaks in server/commands
* fix: missing await on db.flush
* perf: plug leaks in server/queues
* chore: remove unused legacy funcs
* fix: await on db.flush
* perf: await on GC to run in between tests
* fix: remove db refs
* fix: revert embeds
* perf: plug leaks in shared/i18n
2022-08-11 21:39:17 +05:30
Tom Moor
b20a341f0c
chore: Typescript database models ( #2886 )
...
closes #2798
2022-01-06 18:24:28 -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