Commit Graph

33 Commits

Author SHA1 Message Date
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
642c11ff7d Document Archive (#921)
* WIP: Archive

* WIP

* Finishing up archive endpoints

* WIP

* Update docs

* Flow

* Stash

* Add toast message confirmations

* Redirect handling, fixed publishhing info for archived docs

* Redirect to collection instead of home, remove unused pub info

* Account for deleted parent

* Trash -> Archive
Allow reading of archived docs

* Dont overload deletedAt

* Fixes

* 💚

* ParentDocumentId wipe for unarchived sub docs

* Fix: CMD+S exits editing
Fix: Duplicate user name on published but unedited docs

* Improve jank on paginated lists

* Prevent editing when archived

* 💚
Separate lint / flow steps
2019-04-06 16:20:27 -07:00
c78bf3c4bf Display document views (#849)
* Display who has viewed a document in the header

* Add overflow, display of WHEN last viewed
Cleanup old document attributes
Add firstViewedAt, lastViewedAt to API response

* Cleanup

* Added: API documentation for views endpoints

* Include views for deleted users
2019-01-08 22:49:20 -08:00
8c02b0028c Collection Permissions (#829)
see https://github.com/outline/outline/issues/668
2019-01-05 13:37:33 -08:00
6391474d14 getUrl -> url consistency
test improvements
2018-11-08 21:05:07 -08:00
18cfe26e83 Migrate atlasId -> collectionId 2018-08-07 23:23:26 -07:00
e538df0df3 Filter private info from public shares 2018-05-23 23:59:00 -07:00
518015f55b Upgrade to Flow 0.71 2018-05-05 16:16:08 -07:00
18b0338736 Pinned documents (#608)
* Migrations and API for pinned documents

* Documentation

* Add pin icon

* Fin.

* v0.2.0

* Remove pin from DocumentPreview, add general menu
Add Pinned documents header

* Tidy

* Fixed: Drafts appearing on collection home
2018-02-28 23:28:36 -08:00
9142d975df Draft Documents (#518)
* Mostly there

* Fix up specs

* Working scope, updated tests

* Don't record view on draft

* PR feedback

* Highlight drafts nav item

* Bugaboos

* Styling

* Refactoring, gradually addressing Jori feedback

* Show collection in drafts list
Flow fixes

* Ensure menu actions are hidden when draft
2018-02-27 22:41:12 -08:00
c92697a8a8 Revert "Renamed Document#atlasId finally" 2018-02-07 11:32:18 -08:00
f08b3e0ac5 Renamed Document#atlasId finally 2018-02-07 00:04:39 -08:00
ae4aed6fe0 Move title validation to server (#552)
closes issue-546
2018-01-31 19:23:33 -08:00
26d0d815a2 Admin endpoints 2017-12-26 15:08:11 +02:00
98f317c74a Prevents accidental overwriting of another users work 2017-11-25 13:04:54 -08:00
eb8b12d327 Working recently edited list 2017-11-19 21:32:18 -08:00
c6537279ba Fixes for empty document 2017-10-22 22:20:53 -07:00
150771ee88 removed dependencies, html/preview 2017-10-16 23:35:56 -07:00
5c43e12218 Moved document matching to use urlId to prevent issues with renamed documents 2017-09-12 19:55:01 -07:00
95182057a6 💚 2017-09-02 18:44:41 -07:00
b9b2769563 Fixes: Documents marked as starred incorrectly 2017-09-02 16:58:24 -07:00
cfcdae8aa0 Save title emoji against document 2017-07-29 15:06:17 -07:00
e6938ee06f Resilient to collection or document not existing 2017-07-23 15:26:00 -07:00
3b2ad193d5 DocumentPreview Improves (#141)
* Show collection name in search results
Highlight documents modified since last edited
Move views to scope

* Allow ESC key to work on Search page when input not focused

* Update document title with search query
Show loading indicator for search results

* WIP

* 💚 ?

* 💚

* Address PR feedback
2017-07-16 09:24:45 -07:00
bd0a1d5edb Fix flow issues 2017-07-08 22:36:59 -07:00
b9df4a76d7 Merge master 2017-07-08 22:30:20 -07:00
c618b956d2 Incorporate limit 2017-07-06 22:17:37 -07:00
b854c2ca53 Tidy, move recent documents to query scope 2017-07-06 22:02:55 -07:00
f08ca8d460 Moar 2017-07-06 20:59:45 -07:00
f90d170497 Using the magic of joins 2017-07-03 21:35:17 -07:00
a7465aaf2e Include collaborator count and limit frontend to last 5 2017-07-03 12:29:20 -05:00
251771e345 Include only 7 most recent collaborators for document 2017-06-30 00:51:00 -07:00
52765d9d1d Document Viewers (#79)
* Recording document views

* Add 'views' to document response

* Basic displaying of document views, probably want it more sublte than this? But hey, lets get it in there

* Bigly improves. RESTful > RPC

* Display of who's viewed doc

* Add Popover, add Scrollable, move views store

* Working server tests 💁

* Document Stars (#81)

* Added: Starred documents

* UI is dumb but functionality works

* Star now displayed inline in title

* Optimistic rendering

* Documents Endpoints (#85)

* More seeds, documents.list endpoint

* Upgrade deprecated middleware

* document.viewers, specs

* Add documents.starred
Add request specs for star / unstar endpoints

* Basic /starred page

* Remove comment

* Fixed double layout
2017-06-25 17:21:33 -07:00