Tom Moor
44920a25f4
feat: Nested document sharing ( #2075 )
...
* migration
* frontend routing, api permissioning
* feat: apiVersion=2
* feat: re-writing document links to point to share
* poc nested documents on share links
* fix: nested shareId permissions
* ui and language tweaks, comments
* breadcrumbs
* Add icons to reference list items
* refactor: Breadcrumb component
* tweaks
* Add shared parent note
2021-05-22 19:34:05 -07:00
Tom Moor
7f9cba9819
feat: Record share link last accessed time ( #2047 )
...
* chore: Migrations
* chore: Add recording of share link views
* feat: Add display of share link accessed date in admin
* translations
* test
* translations, admin pagination
2021-04-18 09:38:13 -07:00
Tom Moor
2ef0caba88
fix: Server error when invalid 'sort' field is passed from an API client ( #2000 )
2021-03-31 18:54:02 -07:00
Tom Moor
46912f8ddb
fix: Single share record per document ( #1984 )
2021-03-24 18:28:38 -07:00
Saumya Pandey
283b479689
chore: Change response of shares.info response for unshared document ( #1666 )
...
* Update server/api/share.js to send 204 status for unshared documents.
* Update shares.info endpoint to expect 204 in a few test.
* Update SharesStore and ApiClient to handle 204 status code
2020-11-30 22:49:15 -08:00
Tom Moor
e8648d4611
fix: Error in shares.info endpoint when requesting share record for deleted document
2020-09-03 23:22:41 -07:00
Tom Moor
dd0d51dd9d
test
2020-08-31 20:23:51 -07:00
Tom Moor
8550116c6b
fix: shares.list should not return shares for deleted documents
...
fix: shares.info should not return info for revoked shares
closes #1492
2020-08-31 20:15:10 -07:00
Tom Moor
449dc55aaa
chore: Upgrade Babel, Jest, Eslint ( #1437 )
...
* chore: Upgrade Prettier 1.8 -> 2.0
* chore: Upgrade Babel 6 -> 7
* chore: Upgrade eslint plugins
* chore: Add eslint import/order rules
* chore: Update flow-typed deps
2020-08-08 22:53:59 -07:00
Tom Moor
e312b264a6
chore: Upgrade Prettier 1.8 -> 2.0 ( #1436 )
2020-08-08 18:53:11 -07:00
Tom Moor
169ad5b025
feat: Sharing improvements ( #1388 )
...
* add migrations
* first pass at API
* feat: Updated share dialog UI
* tests
* test
* styling tweaks
* feat: Show share state on document
* fix: Allow publishing share links for draft docs
* test: shares.info
2020-07-28 19:14:32 -07:00
Tom Moor
f43deb7940
chore: Move to prettier standard double quotes ( #1309 )
2020-06-20 13:59:15 -07:00
Tom Moor
0f8d503df8
chore: API Consistency ( #1304 )
...
* chore: Addressing API inconsistencies
* lint
* add: Missing sort to groups.list
fix: Documention issues
* test: fix
* feat: Add missing shares.info endpoint
* feat: Add sorting to users.list endpoint
* fix: Incorrect pagination parameters listed on user endpoints
* users.s3Upload -> attachments.create
* chore: exportAll -> export_all
2020-06-16 20:56:17 -07:00
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
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
Tom Moor
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
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
028160d9ad
Fixes: Share links in private collections visible in share listing
2019-01-05 23:13:58 -08: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
328f731541
Share Permissions ( #761 )
...
* Share restrictions
* Tweak language, add spec
2018-08-19 16:06:39 -07:00
Tom Moor
cdd1fc4fb7
Fixes: Can't reshre a link once revoked
...
closes #733
2018-08-02 22:17:41 -07:00
Tom Moor
ae502c10c9
Revoked share links ( #664 )
...
* Move to revokation API for share links
* Respect revoked share links
Add documentation for shares endpoints
* 💚
2018-06-16 12:36:25 -07:00
Tom Moor
ddd2b82d20
WIP: Successful Google Auth, broke pretty much everything else in the process
2018-05-28 11:36:37 -07:00
Tom Moor
c060a5c798
id -> documentId
2018-05-24 21:19:38 -07:00
Tom Moor
e538df0df3
Filter private info from public shares
2018-05-23 23:59:00 -07:00
Tom Moor
7eea1a90af
One share link per user, per doc
2018-05-23 23:09:20 -07:00
Tom Moor
aeb97ddcae
Filter shares.list endpoint by admin
2018-05-23 22:55:01 -07:00
Tom Moor
47fb968009
Ability to revoke, ShareMenu
2018-05-23 22:09:14 -07:00
Tom Moor
22bc5a7373
Added delete endpoint
2018-05-13 00:28:31 -07:00
Tom Moor
9000aa3aac
First pass at API
2018-05-12 23:14:06 -07:00