Commit Graph

16 Commits

Author SHA1 Message Date
Tom Moor cdafc3bb40 fix: More membership scopes 2019-09-07 12:21:12 -07:00
Tom Moor 0326937e95 fix: Missing scopes, more missing tests 2019-09-07 11:52:35 -07:00
Tom Moor 55391c74d0 test: moar tests 2019-09-06 14:26:50 -07:00
Tom Moor 3f6b8beab9 test: Add collections.update tests 2019-09-06 14:19:36 -07:00
Tom Moor d1f4fff092 feat: Add ability to filter memberships by permission 2019-08-31 12:10:40 -07:00
Tom Moor 8dc7a96a6d feat: Add ability to filter collection.memberships with query 2019-08-26 21:59:38 -07:00
Tom Moor 0ac596fdb0 feat: Add collection.memberships endpoint 2019-08-26 21:05:08 -07:00
Tom Moor e2b28dfeb7 refactor: Policies Architecture (#1016)
* add policy serialize method

* Add policies to collection responses

* wip

* test: remove .only

* refactor: Return policies with team and document requests

* store policies on the client

* refactor: drive admin UI from policies
2019-08-21 21:41:37 -07:00
Tom Moor f87b561685 feat: Allow export of collections as sync zip (#1013)
* feat: Allow export of collections as sync zip

* test: Add spec
2019-08-09 20:37:51 -07:00
Tom Moor 07a941a65d Websocket Support (#937)
* Atom / RSS meta link

* Spike

* Feeling good about this spike now

* Remove document.collection

* Remove koa.ctx from all presenters to make them portable outside requests

* Remove full serialized model from events
Move events.add to controllers for now, will eventually be in commands

* collections.create event
parentDocument -> parentDocumentId

* Fix up deprecated tests

* Fixed: Doc creation

* documents.move

* Handle collection deleted

* 💚

* Authorize room join requests

* Move starred data structure
Account for documents with no context on sockets

* Add socket.io-redis

* Add WEBSOCKETS_ENABLED env variable to disable websockets entirely for self hosted
New installations will default to true, existing installations to false

* 💚 No need for promise response here

* Reload notice
2019-04-17 19:11:23 -07:00
Tom Moor 8c02b0028c Collection Permissions (#829)
see https://github.com/outline/outline/issues/668
2019-01-05 13:37:33 -08:00
Tom Moor b9e0668d7d Bulk export (#684)
* First pass (working) collection export to zip

* Add export confirmation screen

* 👕

* Refactor

* Job for team export, move to tmp file, settings UI

* Export all collections job

* 👕

* Add specs

* Clarify UI
2018-06-20 21:33:21 -07:00
Tom Moor 5b6c908215 More granular error responses 2018-02-19 23:31:18 -08:00
Tom Moor 83f32be6f7 Add missing authorization on views endpoints
Updated ApiKeys authorization to match elsewhere
2018-02-18 10:56:56 -08:00
Tom Moor e84fb5e6ba Update team and collection authorization 2018-02-18 01:14:51 -08:00
Tom Moor 8558b92cae Edit collection (#173)
* Collection edit modal

* Add icon

* 💚

* Oh look, some specs

* Delete collection

* Remove from collection

* Handle error responses
Protect against deleting last collection

* Fix key

* 💚

* Keyboard navigate documents list

* Add missing database constraints
2017-08-29 08:37:17 -07:00