Commit Graph

30 Commits

Author SHA1 Message Date
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
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
fb4f6822a4 feat: Events / audit log (#1008)
* feat: Record events in DB

* feat: events API

* First pass, hacky activity feed

* WIP

* Reset dashboard

* feat: audit log UI
feat: store ip address

* chore: Document events.list api

* fix: command specs

* await event create

* fix: backlinks service

* tidy

* fix: Hide audit log menu item if not admin
2019-08-05 20:38:31 -07:00
92a18159b5 feat: Export collection as direct download instead of emailing (#1001)
* feat: Export collection as zip instead of emailing

* Flow typing download.js
2019-07-29 22:35:34 -07:00
32f83311f6 chore: upgrade sequelize (#965)
* 0.18.0

* chore: Upgrade sequelize 4 -> 5

* fix: migrations v5 support

* fix: Majority of test failures

* fix: the rest of v5 tests
2019-06-23 15:49:45 -07:00
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
8c02b0028c Collection Permissions (#829)
see https://github.com/outline/outline/issues/668
2019-01-05 13:37:33 -08:00
919bca6769 Collections got descriptions now 2018-11-18 13:12:46 -08:00
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
ddd2b82d20 WIP: Successful Google Auth, broke pretty much everything else in the process 2018-05-28 11:36:37 -07:00
5b6c908215 More granular error responses 2018-02-19 23:31:18 -08:00
7a0aa0ecf8 Add additional future-proofing auth checks for creation 2018-02-18 11:08:43 -08:00
e84fb5e6ba Update team and collection authorization 2018-02-18 01:14:51 -08:00
e70a8c2495 color editing 2017-10-29 23:23:16 -07:00
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
ff133f373c Remove recentDocuments from default collections list response 2017-07-06 22:20:24 -07:00
b854c2ca53 Tidy, move recent documents to query scope 2017-07-06 22:02:55 -07:00
3528b2d0ef Further cleanup 2017-06-05 01:00:29 -07:00
639a0ec45c Atlas > Collection 2017-05-27 11:08:52 -07:00
08b1609440 [chore] added prettier 2017-04-26 21:47:03 -07:00
ac6cf2ea8f server side cleanup 2016-08-27 10:48:56 -07:00
e7301aeb3e Fixed ordering issue on dashboard 2016-08-21 23:40:57 -07:00
11f6c533b8 Request time cache, tracking collaborators etc 2016-08-15 12:51:26 +02:00
c753382571 Renaming atlases to collections 2016-08-05 18:09:14 +03:00
e706e1c77c Legwork for initial documents for atlases 2016-07-26 00:05:10 -07:00
c88cc1f83b Lint 2016-07-25 23:01:14 -07:00
e2c69903b3 Moved to using GET and caching with SW 2016-07-22 00:11:54 -07:00
e5b175a86e Added atlases.create API 2016-07-21 22:06:30 -07:00
e967033b28 Fixes to tree 2016-06-26 22:15:15 -07:00
4beb84f4bc Renamed 2016-06-25 22:37:05 -07:00