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/app/stores
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
..
ApiKeysStore.js chore: Upgrade Babel, Jest, Eslint (#1437) 2020-08-08 22:53:59 -07:00
AuthStore.js feat: Move to passport for authentication (#1934) 2021-03-11 10:02:22 -08:00
BaseStore.js fix: Use friendly urls for collections (#2162) 2021-06-09 17:48:48 -07:00
CollectionGroupMembershipsStore.js chore: Upgrade Babel, Jest, Eslint (#1437) 2020-08-08 22:53:59 -07:00
CollectionsStore.js fix: Use friendly urls for collections (#2162) 2021-06-09 17:48:48 -07:00
DocumentPresenceStore.js chore: Upgrade Prettier 1.8 -> 2.0 (#1436) 2020-08-08 18:53:11 -07:00
DocumentsStore.js fix: Add ability to permanently delete documents in trash (#2192) 2021-06-25 16:14:40 -07:00
GroupMembershipsStore.js chore: Upgrade Babel, Jest, Eslint (#1437) 2020-08-08 22:53:59 -07:00
GroupsStore.js chore: Upgrade Babel, Jest, Eslint (#1437) 2020-08-08 22:53:59 -07:00
IntegrationsStore.js chore: Upgrade Babel, Jest, Eslint (#1437) 2020-08-08 22:53:59 -07:00
MembershipsStore.js chore: Upgrade Babel, Jest, Eslint (#1437) 2020-08-08 22:53:59 -07:00
NotificationSettingsStore.js chore: Upgrade Prettier 1.8 -> 2.0 (#1436) 2020-08-08 18:53:11 -07:00
PoliciesStore.js chore: Upgrade Babel, Jest, Eslint (#1437) 2020-08-08 22:53:59 -07:00
RevisionsStore.js chore: Refactor backlinks and revisions (#1611) 2020-11-01 10:26:39 -08:00
RootStore.js chore: Remove events log from settings 2020-10-26 19:32:48 -07:00
SharesStore.js feat: Nested document sharing (#2075) 2021-05-22 19:34:05 -07:00
UiStore.js fix: Sidebar flash when moving between collection/document due to mobx-react upgrade 2021-06-13 17:22:35 -07:00
UiStore.test.js 💚 2019-01-09 22:59:39 -08:00
UsersStore.js feat: Read-only users (#1955) 2021-04-11 19:39:17 -07:00
ViewsStore.js chore: Upgrade Babel, Jest, Eslint (#1437) 2020-08-08 22:53:59 -07:00
index.js chore: Move to prettier standard double quotes (#1309) 2020-06-20 13:59:15 -07:00