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
b1a1d24f9c
fix: Unknown Slack users should be able to search team accessible docs ( #1049 )
...
* fix: Unknown Slack users should be able to search team accessible docs
* test: fix flaky test
* test: remove obsolete snapshot
* lint
* flow
* fix: Spelling mistake
2019-09-22 11:52:15 -07:00
Tom Moor
b20d41a047
test: Update snapshots
2019-09-21 13:26:28 -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
978eda3ad2
fix: Deleted collections not showing in audit log
...
feat: Show titles of objects in audit log
fix: modelId not saved with share events
fix: List item squashes avatar at small screen sizes
2019-08-07 20:52:59 -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
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
Tom Moor
466ba6ec1f
fix: don't echo request back for unknown endpoints
...
closes #998
2019-07-25 23:17:45 -07:00
Tom Moor
be09ffea7b
feat: sharing drafts ( #991 )
...
closes #988
2019-07-13 12:40:25 -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
thenanyu
dea6085a11
refactor document dirty and empty logic
2019-07-06 21:45:50 -07:00
Tom Moor
ccc0906b0a
feat: Improved onboarding documents ( #970 )
...
* feat: New onboarding documents
* Images -> blocks
* Add tips
* test: removes assumptions of welcome documents
this actually results in the tests being much more understandable too
* add db flag when document was created from welcome flow
2019-07-04 10:33:00 -07:00
Tom Moor
c9c5e43389
fix: add support for help slack command
2019-06-25 20:43:59 -07:00
Tom Moor
d5192acabf
feat: invites ( #967 )
...
* stub invite endpoint
* feat: First pass invite UI
* feat: allow removing invite rows
* First pass: sending logic
* fix: label accessibility
* fix: add button submits
incorrect permissions
middleware flow error
* 💚
* Error handling, email filtering, tests
* Flow
* Add Invite to people page
Remove old Tip
* Add copy link to subdomain
2019-06-24 22:14:59 -07:00
Tom Moor
0a8a685c12
fix: improved pagination validation
2019-06-23 16:11:15 -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
Himanshu Agarwal
0079593446
Fix: Now supports AWS signature version 4. ( #949 )
...
* intial commiy
* cleaning code
* added makeCredential to s3.js and removed extra module dependecy
* lint fixes
* minor fix
* minor fixes
* changed encoding type from string to any
* added new env var to env.sample
2019-06-19 00:33:38 -07:00
arpitsingh94
7dfe8785a2
Added ability to append to documents. Added test cases for the same ( #963 )
...
* added ability to append to documents. Added test cases for the same
* made changes required for lint test
* updated snapshot for document.test.js to reflect new test cases added
* append should not enforce newline character
2019-06-13 23:36:24 -07:00
Tom Moor
3eb67eaecf
Fixes: Calm notifications when hitting CMD+S while editing
2019-04-23 20:54:24 -07:00
Tom Moor
da7fdfef0a
Improved search filtering ( #940 )
...
* Filter search by collectionId
* Improve spec, remove recursive import
* Add userId filter for documents.search
* 💚
* Search filter UI
* WIP UI
* Date filtering
Prevent dupe menu
* Refactor
* button
* Added year option, improved hover states
* Add new indexes
* Remove manual string interpolation in SQL construction
* Move dateFilter validation to controller
* Fixes: Double query when changing filter
Fixes: Visual jump between filters in dropdown
* Add option to clear filters
* More clearly define dropdowns in dark mode
* Checkbox -> Checkmark
2019-04-23 07:31:20 -07:00
Tom Moor
b54583f438
👕
2019-04-20 12:01:09 -07:00
Tom Moor
56a6db7d2a
Cleanup
2019-04-18 18:51:16 -07:00
Tom Moor
5b34a4f076
Fix: Don't send notifications for autosave events
2019-04-17 21:55:11 -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
c1256c61aa
Search archived documents ( #932 )
...
* POC
* Improved styling
* Test
2019-04-09 09:20:30 -07:00
Tom Moor
763f57a3dc
Move document improvements ( #927 )
...
* Show all collections in UI
* Introduce command pattern
* Actually remove from previous collection
* Stash
* Fixes: Promises resolved outside of response lifecycle
* 💚
* 💚
* documentMover tests
* Transaction
* Perf. More in transactions
2019-04-08 21:25:13 -07:00
Tom Moor
d668bd5646
Remove duplicate save in archive
...
Improve documents.archive test
2019-04-07 09:56:09 -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
7b7ec52eee
Bump production dependencies with open CVEs
2019-03-12 23:54:35 -07:00
Tom Moor
19fc99944a
Adds 'post to channel' functionality. ( #901 )
...
* Adds 'post to channel' functionality. Closes #613
* Add specs
Update Slack integration marketing page
* Fix specs
* 💚
2019-02-19 22:42:13 -08:00
Tom Moor
8d3dc3a92e
User Profile ( #858 )
...
* First pass user profile
* 💚
* More collaborator tooltip improvements
2019-01-12 19:41:45 -08:00
Tom Moor
3a260037cd
Regex-like search queries from Slack should not cause a server error
2019-01-11 19:41:19 -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
74515e0b19
Improve partial word matching
2019-01-07 21:44:33 -08:00
Tom Moor
58e31a9d3d
Fixes #831 - Link from Slack notification does not work for teams with subdomains
2019-01-06 00:05:50 -08:00
Tom Moor
028160d9ad
Fixes: Share links in private collections visible in share listing
2019-01-05 23:13:58 -08:00
Tom Moor
70287de6d7
Fixes: Cannot load document in private collection from share link when signed in with user that cannot access
2019-01-05 23:04:09 -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
b7bea4941e
Content pages
2018-12-20 20:00:58 -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
9ca0038d39
Fixes: Collection creation notification email
...
Added: Unsubscribe option to notification email footers
Added: Two new notification types (emails not written yet)
Fixed: Validation added to notification setting events
2018-12-05 23:44:41 -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
67cd250316
Remove diff summary from document history sidebar.
...
Cause of occassional memory leaks and downtime :(
2018-11-23 11:12:14 -08:00
Tom Moor
919bca6769
Collections got descriptions now
2018-11-18 13:12:46 -08:00
Tom Moor
b3a8d34af3
Add support for SUBDOMAINS_ENABLED=false
2018-11-11 22:06:50 -08:00
Tom Moor
6391474d14
getUrl -> url consistency
...
test improvements
2018-11-08 21:05:07 -08:00
Tom Moor
8de074b275
Allow removing subdomain
2018-11-08 21:05:07 -08:00
Tom Moor
21b1c0747c
Basic functionality in place, need improved errors and logged in redirect
2018-11-08 21:05:07 -08:00