Tom Moor
b42e9737b6
feat: Memberships ( #1032 )
...
* WIP
* feat: Add collection.memberships endpoint
* feat: Add ability to filter collection.memberships with query
* WIP
* Merge stashed work
* feat: Add ability to filter memberships by permission
* continued refactoring
* paginated list component
* Collection member management
* fix: Incorrect policy data sent down after collection.update
* Reduce duplication, add empty state
* cleanup
* fix: Modal close should be a real button
* fix: Allow opening edit from modal
* fix: remove unused methods
* test: fix
* Passing test suite
* Refactor
* fix: Flow UI errors
* test: Add collections.update tests
* lint
* test: moar tests
* fix: Missing scopes, more missing tests
* fix: Handle collection privacy change over socket
* fix: More membership scopes
* fix: view endpoint permissions
* fix: respond to privacy change on socket event
* policy driven menus
* fix: share endpoint policies
* chore: Use policies to drive documents UI
* alignment
* fix: Header height
* fix: Correct behavior when collection becomes private
* fix: Header height for read-only collection
* send id's over socket instead of serialized objects
* fix: Remote policy change
* fix: reduce collection fetching
* More websocket efficiencies
* fix: Document collection pinning
* fix: Restored ability to edit drafts
fix: Removed ability to star drafts
* fix: Require write permissions to pin doc to collection
* fix: Header title overlaying document actions at small screen sizes
* fix: Jank on load caused by previous commit
* fix: Double collection fetch post-publish
* fix: Hide publish button if draft is in no longer accessible collection
* fix: Always allow deleting drafts
fix: Improved handling of deleted documents
* feat: Show collections in drafts view
feat: Show more obvious 'draft' badge on documents
* fix: incorrect policies after publish to private collection
* fix: Duplicating a draft publishes it
2019-10-05 18:42:03 -07:00
Tom Moor
4164fc178c
fix: First auto-save unfocuses document ( #1046 )
...
* fix: Autosave unfocuses document
* Revert unneeded change
* test: le fix
* fix: Handle offline state
fix: Untitled documents appear with empty titles
* fix: Draft bubble roundness (yes, it doesnt belong here but see it, fix it)
2019-09-22 17:09:11 -07:00
Tom Moor
d96afad6c0
fix: Document heading vertical alignment
2019-08-24 10:22:58 -07:00
Tom Moor
54565fff74
fix: Handle doc not found / no permission
...
closes #1021
2019-08-21 22:11:54 -07:00
Tom Moor
d024d31f66
refactor: flow typing ( #1012 )
...
* fix: padding
* fix: Minor button alignment issues
* feat: Add icon to invite people button
* WIP
2019-08-08 23:09:09 -07:00
Tom Moor
a26ae119fe
feat: Keyboard shortcut reference inside editor
2019-08-08 21:13:58 -07:00
Tom Moor
18d104218e
fix: public share links attempting to load backlinks
2019-07-13 11:33:32 -07:00
Tom Moor
091e542406
feat: Backlinks ( #979 )
...
* feat: backlinks
* feat: add backlinkDocumentId to documents.list
* chore: refactor
fix: create and delete backlink handling
* fix: guard against self links
* feat: basic frontend
fix: race condition
* styling
* test: fix parse ids
* self review
* linting
* feat: Improved link styling
* fix: Increase clickable area at bottom of doc / between references
* perf: global styles are SLOW
2019-07-07 19:25:45 -07:00
Tom Moor
3e3db7435f
lint
2019-07-07 19:18:51 -07:00
thenanyu
dea6085a11
refactor document dirty and empty logic
2019-07-06 21:45:50 -07:00
Tom Moor
a256eba856
Fixes #936
2019-04-20 15:31: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
4a571a088e
Closes #930 – Don't allow launch of move dialog from drafts
2019-04-10 21:13:21 -07:00
Tom Moor
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
Tom Moor
20a54bd2e9
Don't publish by default
2019-03-30 23:35:53 -07:00
Tom Moor
a2749a752a
ESC key should go back when editing a document
2019-03-09 20:12:43 -08:00
Tom Moor
fc7c485ba9
Add 'n' shortcut for new doc
...
Fixed cmd+enter shortcut to publish doc
Fixed keyboard shortcut display on non-mac
Fixed heading alignment
Fixed documents smaller than page should not scroll
2019-03-09 20:00:45 -08:00
Tom Moor
8af7c3c264
Closes #894 - Sidebar jumping regression
2019-02-17 00:38:35 -08:00
Tom Moor
70d30e31b9
Fixes: Quick fix for document move not working
2019-01-26 18:01:13 +00:00
Tom Moor
39a61d8559
Upgrade Dependencies ( #873 )
...
* Loading placeholder
* Upgrade dependencies, reduce warnings
* 👕
* Remove more unused deps
* Bump RME
2019-01-21 11:06:44 -08:00
Tom Moor
4f4e55d120
Fixes: New document creation
2019-01-19 18:14:10 -08:00
Tom Moor
5525730272
Refactor history sidebar, reduce thrashing on doc render
2019-01-19 17:28:32 -08:00
Tom Moor
babcf4a3f3
More withRouter removal
2019-01-19 15:25:46 -08:00
Tom Moor
258b5464a2
Boop
2019-01-19 01:52:43 -08:00
Tom Moor
bfd32843ff
Added caching of loaded editor instance
2019-01-19 01:31:34 -08:00
Tom Moor
72d8abe069
Canonical check
2019-01-19 00:51:25 -08:00
Tom Moor
77a8f54973
Even less history passing, fix global styles warning in dev
2019-01-19 00:44:16 -08:00
Tom Moor
13501b6d76
Moving redirects to declarative method
2019-01-19 00:23:39 -08:00
Tom Moor
d21dd710bb
Upgrade Editor – Slate 0.44 / RME 8.0.0 ( #863 )
...
* Upgrade Slate
* Normalization
* Remove dupe dep
* Fixes placeholders
* Image uploading fixed
* Verbose but solid placeholder handling
* RME 8.0.0
* Fixes: Ability to delete embeds
2019-01-18 22:44:31 -08:00
Tom Moor
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
Tom Moor
18859bec3d
Add real buttons to document header
...
Fixed: Incorrect page title when starting a new doc
Fixed: Linting error
2019-01-05 18:45:19 -08:00
Tom Moor
29630e68d2
Closes #815
2018-12-16 17:57:41 -08:00
Tom Moor
044b4f16bc
Editor embeds ( #680 )
...
- [x] Make deleting an embed easier
- [x] Add document level ability to disable embeds
- [x] Add team level ability to disable embeds
- [x] GitHub
- [x] Numeracy
- [x] Mode Analytics
- [x] Figma
- [x] Airtable
- [x] Vimeo
- [x] RealtimeBoard
- [x] Loom
- [x] Lucidcharts
- [x] Framer
- [x] InVision
- [x] Typeform
- [x] Marvel
- [x] Spotify
- [x] Codepen
- [x] Trello
2018-12-15 14:06:29 -08:00
Tom Moor
8cbcb77486
Base model refactor ( #810 )
...
* Big upgrades
* WIP: Stash
* Stash, 30 flow errors left
* Downgrade mobx
* WIP
* When I understand the difference between class and instance methods
* 💚
* Fixes: File import
Model saving edge cases
pinning and starring docs
Collection editing
Upgrade mobx devtools
* Notification settings saving works
* Disabled settings
* Document mailer
* Working notifications
* Colletion created notification
Ensure not notified for own actions
* Tidy up
* Document updated event only for document creation
Add indexes
Notification setting on user creation
* Commentary
* Fixed: Notification setting on signup
* Fix document move / duplicate stale data
Add BaseModel.refresh method
* Fixes: Title in sidebar not updated after editing document
* 💚
* Improve / restore error handling
Better handle offline errors
* 👕
2018-12-04 22:24:30 -08:00
Tom Moor
085c452d77
Add subtle branding to shared documents
2018-11-20 21:12:17 -08:00
Tom Moor
cd1956b971
Split editor
2018-11-18 18:28:22 -08:00
Tom Moor
c308a2378f
stash
2018-11-18 13:12:46 -08:00
Tom Moor
8d569fd46d
Upgrade dependencies
2018-11-06 21:58:32 -08:00
Tom Moor
690feb6040
Fixes: Opening document history menu
2018-11-05 23:39:10 -08:00
Jonathan King
91d79491f4
Make isHistory regex slightly more specific
2018-10-16 13:01:17 +01:00
Tom Moor
d0bee23432
Version History ( #768 )
...
* Stash. Super rough progress
* Stash
* 'h' how toggles history panel
Add documents.restore endpoint
* Add tests for documents.restore endpoint
* Document restore endpoint
* Tiding, RevisionMenu, remove scroll dep
* Add history menu item
* Paginate loading
* Fixed: Error boundary styling
Select first revision faster
* Diff summary, styling
* Add history loading placeholder
Fix move modal not opening
* Fixes: Refreshing page on specific revision
* documentation for document.revision
* Better handle versions with no text changes (will no longer be created)
2018-09-29 21:24:07 -07:00
Tom Moor
717e26a7a9
Fixes #778
2018-09-25 22:09:12 -07:00
Tom Moor
54a04dd8cc
Linting [ci skip]
2018-08-26 15:27:32 -07:00
Tom Moor
61872373ec
Remove nolonger neccessary editCache
2018-08-18 17:48:56 -07:00
Tom Moor
f401b6f2e0
Tidying, possible fix for excessive view count
2018-08-18 17:45:56 -07:00
Tom Moor
3da078e98b
Move isDirty to view concern. Document model is not updated until save
2018-08-18 17:41:09 -07:00
Tom Moor
e58da006d0
👕
2018-08-16 22:53:58 -07:00
Tom Moor
be09b290b7
RME upgrade, fix autoFocus logic
2018-08-16 22:51:51 -07:00
Tom Moor
c140c64346
Use new RME callback to reduce amount of document serialization
...
Account for new RME autoFocus prop in 5.0
2018-08-16 21:19:31 -07:00
Tom Moor
4c1e33110e
Upgrade to rich-markdown-editor 4.0
2018-08-13 21:20:44 -07:00