This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/server/models
Saumya Pandey 9fccc280d7
fix: Add ability to permanently delete documents in trash (#2192)
* Align false conditions before true

* Update documents.delete endpoint for permanent delete

* Add permanent delete to events table and integrate with socket.io

* Add permanent delete to document menu

* Update parentDocumentId of direct child to null

* Add translation

* Add test for permanent delete

* Add space

* Update app/scenes/DocumentPermanentDelete.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Update app/stores/DocumentsStore.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Update server/commands/documentPermanentDeleter.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Update app/scenes/DocumentPermanentDelete.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Change socket room from team to collection

* Add translation

* Create log func for commands

* Move tests from utils to permanentDeleter command

* Add additional tests

* Set redirect to trash

* Return promise from beforeEach

* Add undeleted documents validation

* Include deleteAt attribute in db query

* Update server/commands/documentPermanentDeleter.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* tweak language

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-06-25 16:14:40 -07:00
..
ApiKey.js chore: Serialize domain policies on team (#1970) 2021-03-22 20:50:12 -07:00
Attachment.js refactor: Upload file to storage, and then pass attachmentId to collections.import 2021-02-18 22:36:07 -08:00
AuthenticationProvider.js feat: authenticationProviders API endpoints (#1962) 2021-03-26 11:31:07 -07:00
Backlink.js chore: Upgrade Prettier 1.8 -> 2.0 (#1436) 2020-08-08 18:53:11 -07:00
Collection.js fix: Use friendly urls for collections (#2162) 2021-06-09 17:48:48 -07:00
Collection.test.js fix: Use friendly urls for collections (#2162) 2021-06-09 17:48:48 -07:00
CollectionGroup.js chore: Upgrade Prettier 1.8 -> 2.0 (#1436) 2020-08-08 18:53:11 -07:00
CollectionUser.js chore: Upgrade Prettier 1.8 -> 2.0 (#1436) 2020-08-08 18:53:11 -07:00
Document.js fix: Two restore options when an archived document is deleted (#2194) 2021-06-10 22:52:32 -07:00
Document.test.js fix: Use friendly urls for collections (#2162) 2021-06-09 17:48:48 -07:00
Event.js fix: Add ability to permanently delete documents in trash (#2192) 2021-06-25 16:14:40 -07:00
Group.js chore: Upgrade Babel, Jest, Eslint (#1437) 2020-08-08 22:53:59 -07:00
Group.test.js feat: Add read-only collections (#1991) 2021-03-30 21:02:08 -07:00
GroupUser.js chore: Upgrade Prettier 1.8 -> 2.0 (#1436) 2020-08-08 18:53:11 -07:00
Integration.js chore: Rename `Authentication` -> `IntegrationAuthentication` (#2091) 2021-04-27 18:42:45 -07:00
IntegrationAuthentication.js chore: Rename `Authentication` -> `IntegrationAuthentication` (#2091) 2021-04-27 18:42:45 -07:00
Notification.js chore: Upgrade Prettier 1.8 -> 2.0 (#1436) 2020-08-08 18:53:11 -07:00
NotificationSetting.js chore: Upgrade Prettier 1.8 -> 2.0 (#1436) 2020-08-08 18:53:11 -07:00
Revision.js chore: Refactor backlinks and revisions (#1611) 2020-11-01 10:26:39 -08:00
Revision.test.js chore: Refactor backlinks and revisions (#1611) 2020-11-01 10:26:39 -08:00
SearchQuery.js fix: Long search term causes server error writing query to db (#2237) 2021-06-17 23:23:35 -07:00
Share.js feat: Nested document sharing (#2075) 2021-05-22 19:34:05 -07:00
Star.js chore: Upgrade Prettier 1.8 -> 2.0 (#1436) 2020-08-08 18:53:11 -07:00
Team.js fix: Welcome collection should be visible to all by default 2021-05-05 21:12:49 -07:00
Team.test.js feat: Add read-only collections (#1991) 2021-03-30 21:02:08 -07:00
User.js fix: Add Portugese, Brazil to language options (#2164) 2021-06-09 17:42:14 -07:00
User.test.js fix: Improved handling of authentication edge-cases (#2023) 2021-04-11 19:39:31 -07:00
UserAuthentication.js chore: Migrate authentication to new tables (#1929) 2021-03-09 12:22:08 -08:00
View.js fix: Add Portugese, Brazil to language options (#2164) 2021-06-09 17:42:14 -07:00
index.js chore: Rename `Authentication` -> `IntegrationAuthentication` (#2091) 2021-04-27 18:42:45 -07:00