146e4da73b
feat: Document presence indicator ( #1114 )
...
* Update websockets to allow joining document-based rooms
* dynamic websocket joining
* emit user.join/leave events when entering and exiting document rooms
* presence storage
* feat: frontend presence store
* lint
* UI updates
* First pass editing state
* refactoring
* Timeout per user/doc
lint
* Document data loading refactor to keep Socket mounted
* restore: Mark as viewed functionality
Add display of 'you' to collaborators
* fix: Socket/document remount when document slug changes due to title change
* Revert unneccessary package update
* Move editing ping interval to a shared constant
* fix: Flash of sidebar when loading page directly on editing mode
* separate document and revision loading
* add comments for socket events
* fix: Socket events getting bound multiple times on reconnect
* fix: Clear client side presence state on disconnect
* fix: Don't ignore server side error
Improved documentation
* More comments / why comments
* rename Socket -> SocketPresence
* fix: Handle redis is down
remove unneccessary join
* fix: PR feedback
2020-01-02 21:17:59 -08:00
93e4ad8c5e
fix: Account for migrations ran on old versions of Sequelize ( #1130 )
2019-12-30 22:35:29 -08:00
98dda567c2
fix: User records not written correctly on signin ( #1119 )
...
* Initial fix for #1116
* clarify logic
2019-12-22 20:14:06 -08:00
d995f27736
feat: Add parentDocumentId option to documents.list endpoint
2019-12-22 17:06:29 -08:00
6bf2069fa7
fixes #1115 ( #1118 )
2019-12-22 14:54:12 -08:00
adf323713e
fix: Documentation spelling
2019-12-18 21:02:32 -08:00
293c3b7b9c
fix: Move references spacing directly below content ( #1113 )
...
* fix: Move references spacing directly below content
* Child document -> Nested document
2019-12-18 21:00:36 -08:00
89b87c5268
fix: Emails should be stored and processed in lowercase ( #1109 )
2019-12-17 19:44:50 -08:00
671fa9cc84
fix: Para floating on signin page when guest signin not enabled
2019-12-15 20:59:36 -08:00
6d8216c54e
feat: Guest email authentication ( #1088 )
...
* feat: API endpoints for email signin
* fix: After testing
* Initial signin flow working
* move shared middleware
* feat: Add guest signin toggle, obey on endpoints
* feat: Basic email signin when enabled
* Improve guest signin email
Disable double signin with JWT
* fix: Simple rate limiting
* create placeholder users in db
* fix: Give invited users default avatar
add invited users to people settings
* test
* add transaction
* tmp: test CI
* derp
* md5
* urgh
* again
* test: pass
* test
* fix: Remove usage of data values
* guest signin page
* Visually separator 'Invited' from other people tabs
* fix: Edge case attempting SSO signin for guest email account
* fix: Correctly set email auth method to cookie
* Improve rate limit error display
* lint: cleanup / comments
* Improve invalid token error display
* style tweaks
* pass guest value to subdomain
* Restore copy link option
* feat: Allow invite revoke from people management
* fix: Incorrect users email schema does not allow for user deletion
* lint
* fix: avatarUrl for deleted user failure
* change default to off for guest invites
* fix: Changing security settings wipes subdomain
* fix: user delete permissioning
* test: Add user.invite specs
2019-12-15 18:46:08 -08:00
cbd9ff2dd9
fixes #1093 – account for no previous revision in backlinks service
2019-12-07 11:40:15 -08:00
dd11bb9079
feat: Add warning for self-hosted installations that don't auth auth method configured
2019-12-05 13:22:06 -08:00
828ce086cc
fix: Account for unset S3 url when starting application
2019-12-05 12:55:46 -08:00
682151554b
fix: Additional SQL cascades required
2019-11-18 20:14:55 -08:00
3ea79dd31a
fix: Additional SQL cascades required
2019-11-18 19:49:33 -08:00
e404955394
feat: Trash ( #1082 )
...
* wip: trash
* Enable restoration of deleted documents
* update Trash icon
* Add endpoint to trigger garbage collection
* fix: account for drafts
* fix: Archived documents should be deletable
* fix: Missing delete cascade
* bump: upgrade rich-markdown-editor
2019-11-18 18:51:32 -08:00
f06097d9e8
chore: Remove marketing material from OSS project ( #941 )
...
* changes to support Plainhome
* changes to env sample
* changes to env variable names
* formatter fixes
* remove the content pages
* test fix
* lint fixes
* minor fixes
* removed unnesscary routes
* Apply suggestions from code review
Co-Authored-By: Tom Moor <tom.moor@gmail.com >
* removed team name from env
2019-11-03 15:01:46 -08:00
2d2ad83469
fix: Cannot move a document to nested child in private collection
2019-10-16 08:45:21 -07:00
65b8fb40f3
fix: Empty collection causes export failure
...
closes #1043
2019-10-12 19:31:15 -07:00
ec4d4fb20f
fix: Show error message when signing in to suspended account
...
closes #1056
2019-10-12 19:16:17 -07:00
d4347b6f4b
fix: Restore option missing in archived documents
2019-10-12 13:24:48 -07:00
2d913e3766
fix: Event activity endpoint with deleted actor
...
closes #1061
2019-10-12 13:03:50 -07:00
e33aaec469
fix: Remove nonsense relationship
2019-10-10 08:25:23 -07:00
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
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
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
b20d41a047
test: Update snapshots
2019-09-21 13:26:28 -07:00
1797a0e90c
Merge branch 'master' of https://github.com/rylxes/outline into rylxes-master
2019-09-21 13:11:31 -07:00
690299ac6b
Redirect unknown integration to integrations home, rather than 404
2019-09-21 12:28:34 -07:00
3292d95d8b
chore: add env parameter for enforce https ( #1042 )
...
* env parameter for enforce https
* Update app.js
fix format for multi-line condition
* Update app.js
fix code format
* Update app.js
2019-09-18 23:26:27 -07:00
593aa80abf
Show last active date on people list instead of joined date
2019-09-15 23:07:43 +01:00
439ae1e832
fix: CSP for client-side editor uploads
2019-09-15 14:41:34 -07:00
c60295fcca
fix: Slack notification not sent on publish, reported via Spectrum
2019-08-28 00:22:22 -07:00
780c5c1129
fix: Add github gist styles to CSP
2019-08-27 23:26:32 -07:00
b98c908568
fix: Add github gist to CSP
...
closes #1028
2019-08-27 23:12:09 -07:00
f1e8633623
fix: Add blob protocol to imgSrc
2019-08-27 09:21:53 -07:00
468fd792ed
fix: Allow iframes in CSP
2019-08-23 19:39:40 -07:00
c1bef2db59
fix: additional domains in CSP, dont send headers with API responses
2019-08-23 19:21:16 -07:00
53cc69a413
fix: additional security headers by default
2019-08-23 19:00:38 -07:00
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
dd95c9cba9
feat: Opensearch tags / descriptor
2019-08-08 19:52:29 -07:00
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
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
466ba6ec1f
fix: don't echo request back for unknown endpoints
...
closes #998
2019-07-25 23:17:45 -07:00
9cbc9aaad6
chore: RealtimeBoard -> Miro
...
closes #996
2019-07-25 22:56:20 -07:00
be09ffea7b
feat: sharing drafts ( #991 )
...
closes #988
2019-07-13 12:40:25 -07:00
3d805d5fe7
chore: tooltip update / remove css loader ( #985 )
...
* fix: Add suspended filter to people management #984
* chore: removing css loader
* pui-react-tooltip -> tippy
closes #980
* remove extract-text-plugin
2019-07-09 21:17:25 -07:00
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