Commit Graph

310 Commits

Author SHA1 Message Date
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
2ce11365ab fix: Minor button alignment issues 2019-08-08 22:07:29 -07:00
a26ae119fe feat: Keyboard shortcut reference inside editor 2019-08-08 21:13:58 -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
0f028812e1 fix: Flash of documents on home if drafts load before main request
fix: Drafts loading placeholder misplaced
2019-08-06 23:46:27 -07:00
c18e4cd43e feat: separate draft count and icon in sidebar 2019-08-05 23:17:41 -07:00
5c99116898 feat: redirect to requested doc after authentication 2019-08-05 22:25:19 -07:00
38a67b1f9e fix: Avatars should overlap in document header 2019-08-05 21:10:44 -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
a8d8fecd15 Update DropdownMenu.js 2019-07-13 12:56:04 -07:00
a515631e21 feat: document menu available in sidebar (#986)
* feat: document menu available in sidebar

* fix: more accessible blue

* feat: accessible blue
feat: clearer new doc button
closes #983

* lint
2019-07-13 10:15:38 -07:00
b3f847a371 fix: User profiles dont open from document collaborator facepile 2019-07-11 22:32:37 -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
7db0be0a6a fix: 2px misalignment
feat: Improved readability of tabs and subheadings
2019-07-07 21:40:34 -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
d3abbcf9d5 feat: Added tooltips to editor controls 2019-07-03 21:32:21 -07:00
ce675a7fe2 fix: Remove collections/document when removed elsewhere 2019-06-26 22:10:24 -07:00
3d7eb11a49 fix: react warning with DropToImport 2019-06-26 22:10:07 -07:00
8200e36b89 fix: Accessibility warning with react-modal 2019-06-26 22:09:52 -07:00
f0de382367 fix: Deeply nested document breadcrumb menu 2019-06-25 23:21:04 -07:00
b93824915d fix: Settings screen cleanup 2019-06-25 21:53:23 -07:00
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
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
8f276731ed Fixes: Socket reconnecting when changing theme 2019-04-20 15:19:35 -07:00
56a6db7d2a Cleanup 2019-04-18 18:51:16 -07:00
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
c1256c61aa Search archived documents (#932)
* POC

* Improved styling

* Test
2019-04-09 09:20:30 -07:00
57e051d62b Clarify available options in document move
closes #852
2019-04-08 22:27:10 -07:00
a3ca3447d1 Closes #929 – Clarify pin feature 2019-04-08 21:47:27 -07:00
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
ea3e81acc4 Closes #922 - Dark mode fixes 2019-04-06 17:07:14 -07:00
1fc5578349 Fixes: Ensure publishing info does not wrap 2019-04-06 16:46:20 -07:00
e33d447a0d Issue #919 : Show DocumentPath in Breadcrumbs at Publishing Info, instead of only showing collection's name (#920)
closes https://github.com/outline/outline/issues/919
2019-04-06 16:45:08 -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
52a029a657 👕 2019-03-13 23:50:52 -07:00
3ef507c137 Fixes #918 - Add extra at bottom of document 2019-03-13 22:59:25 -07:00
12ea37e71e Fixes: Text color on disabled buttons 2019-03-13 22:45:49 -07:00
680a9245bd More text color tweaking 2019-03-12 22:33:24 -07:00
0c2d9f2f9c Tweak subheading colors 2019-03-12 22:11:33 -07:00
59c82f1f06 Dark Mode (#912)
closes #704
2019-03-12 21:35:35 -07:00
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
f75783c2f1 Added empty state on user profiles when no documents edited 2019-03-09 18:55:54 -08:00
24bf3766bf Add shortcut tip when searching 2019-03-09 16:10:53 -08:00
8af7c3c264 Closes #894 - Sidebar jumping regression 2019-02-17 00:38:35 -08:00
1a6a7d04e5 Closes #866 - Updated Slack Icons 2019-01-27 00:21:22 +00:00
a2434988b4 Fixes: Overflow of long titles in move dialog 2019-01-26 18:05:58 +00:00
b46db25553 Fixes: No redirect after doc import 2019-01-26 17:28:08 +00:00
0ce50781d7 Fixes: Redirects do not push into history stack 2019-01-26 13:01:33 +00:00
39a61d8559 Upgrade Dependencies (#873)
* Loading placeholder

* Upgrade dependencies, reduce warnings

* 👕

* Remove more unused deps

* Bump RME
2019-01-21 11:06:44 -08:00
5525730272 Refactor history sidebar, reduce thrashing on doc render 2019-01-19 17:28:32 -08:00