114 Commits

Author SHA1 Message Date
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
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
8c02b0028c
Collection Permissions (#829)
see https://github.com/outline/outline/issues/668
2019-01-05 13:37:33 -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
07e61bd347 First pass, can create and update 2018-11-08 21:02:36 -08:00
Tom Moor
328f731541
Share Permissions (#761)
* Share restrictions

* Tweak language, add spec
2018-08-19 16:06:39 -07:00
Tom Moor
18cfe26e83 Migrate atlasId -> collectionId 2018-08-07 23:23:26 -07:00
Tom Moor
69677b31e4 Allow more than one user to be deleted 😂 2018-07-10 20:44:59 -07:00
Tom Moor
5f6236dd65 Merge master 2018-07-08 13:03:36 -07:00
Tom Moor
4976d53ed8 Remove password field 2018-07-07 18:19:13 -05:00
Tom Moor
465f819c45 Account deletion endpoint 2018-07-07 17:38:22 -05: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
53a0f423c3
Track recently active and signin times (#663)
* Track recently active and signin times

* Trust proxy headers in production
2018-06-04 19:07:56 -07:00
Tom Moor
2337b9df7f service -> serviceId 2018-06-01 15:13:05 -04:00
Tom Moor
72d874444e DB migrations
Google button
2018-05-28 20:31:53 -07:00
Tom Moor
9000aa3aac First pass at API 2018-05-12 23:14:06 -07:00
Tom Moor
44cb509ebf
Post to Slack (#603)
* Migrations

* WIP: Integration model, slack perms / hooks

* So so rough it pains me. Building this new model is revealing just how much needs to be refactored

* Working connect and post

* Cleanup UI, upating documents

* Show when slack command is connected

* stash

* 💚

* Add documents.update trigger

* Authorization, tidying

* Fixed integration policy

* pick integration presenter keys
2018-04-03 20:36:25 -07:00
Tom Moor
38494d6d3c Added migration for existing docs 2018-03-24 15:03:44 -07:00
Jori Lallo
1a8ca20fce UI to prevent suspended users viewing the application 2018-03-04 22:18:23 -08:00
Jori Lallo
3d6b9466fb Backend support 2018-03-04 15:38:51 -08:00
Tom Moor
18b0338736
Pinned documents (#608)
* Migrations and API for pinned documents

* Documentation

* Add pin icon

* Fin.

* v0.2.0

* Remove pin from DocumentPreview, add general menu
Add Pinned documents header

* Tidy

* Fixed: Drafts appearing on collection home
2018-02-28 23:28:36 -08:00
Tom Moor
9142d975df
Draft Documents (#518)
* Mostly there

* Fix up specs

* Working scope, updated tests

* Don't record view on draft

* PR feedback

* Highlight drafts nav item

* Bugaboos

* Styling

* Refactoring, gradually addressing Jori feedback

* Show collection in drafts list
Flow fixes

* Ensure menu actions are hidden when draft
2018-02-27 22:41:12 -08:00
Jori Lallo
c92697a8a8
Revert "Renamed Document#atlasId finally" 2018-02-07 11:32:18 -08:00
Jori Lallo
f08b3e0ac5 Renamed Document#atlasId finally 2018-02-07 00:04:39 -08:00
Jori Lallo
c4d1490d01 Added migration for adding initial admins 2017-12-26 15:06:53 +02:00
Tom Moor
32ba98bb1a
Unfurling of Slack links (#487)
* First pass: Unfurling of Slack links

* Add authentication in db

* Call associate on Event correctly

* Add SLACK_APP_ID, remove SLACK_REDIRECT_URI, tidy env sample

* PR feedback

* Comment clarify
2017-12-18 19:59:29 -08:00
Tom Moor
1f859f01e3 Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
Jori Lallo
0441e92d08 Lint rules and flow annotations for rest of the files 2017-11-15 23:40:14 -08:00
Jori Lallo
e70a8c2495 color editing 2017-10-29 23:23:16 -07:00
Jori Lallo
255d7564c5 Upload avatar to s3 on login 2017-10-19 00:49:22 -07:00
Jori Lallo
150771ee88 removed dependencies, html/preview 2017-10-16 23:35:56 -07:00
Jori Lallo
75bf265bd5 Removed legacy navigationtree 2017-10-15 18:35:28 -07:00
Jori Lallo
7c3cfbc9da Added Event model and logging to Collection 2017-10-09 23:27:34 -07:00
Tom Moor
7e82fd944e
allow-null-username 2017-09-04 13:27:29 -07:00
Tom Moor
28956b98fa
migration-fixes 2017-09-01 08:46:39 -07:00
Tom Moor
41f47f3f2f
Migrations fix 2017-08-31 19:41:10 -07:00
Tom Moor
8558b92cae Edit collection (#173)
* Collection edit modal

* Add icon

* 💚

* Oh look, some specs

* Delete collection

* Remove from collection

* Handle error responses
Protect against deleting last collection

* Fix key

* 💚

* Keyboard navigate documents list

* Add missing database constraints
2017-08-29 08:37:17 -07:00
Tom Moor
cfcdae8aa0
Save title emoji against document 2017-07-29 15:06:17 -07:00
Jori Lallo
cd584da5cf Upgrade sequelize and remove unique email constraints 2017-07-12 22:55:50 -07:00
Jori Lallo
b64e47f42a Circle CI (#113)
Circle CI
2017-07-08 21:13:47 -07:00
Jori Lallo
e73eec4486 renamed migration to keep in order 2017-06-26 23:50:33 -07:00
Tom Moor
52765d9d1d Document Viewers (#79)
* Recording document views

* Add 'views' to document response

* Basic displaying of document views, probably want it more sublte than this? But hey, lets get it in there

* Bigly improves. RESTful > RPC

* Display of who's viewed doc

* Add Popover, add Scrollable, move views store

* Working server tests 💁

* Document Stars (#81)

* Added: Starred documents

* UI is dumb but functionality works

* Star now displayed inline in title

* Optimistic rendering

* Documents Endpoints (#85)

* More seeds, documents.list endpoint

* Upgrade deprecated middleware

* document.viewers, specs

* Add documents.starred
Add request specs for star / unstar endpoints

* Basic /starred page

* Remove comment

* Fixed double layout
2017-06-25 17:21:33 -07:00
Jori Lallo
c229369efd Changed Collection documents to documentStructure and other WIP stuff 2017-06-04 14:40:27 -07:00
Jori Lallo
9631e58e65 Renamed collections table and added a new column for documents 2017-06-03 12:04:13 -07:00
Tom Moor
639a0ec45c
Atlas > Collection 2017-05-27 11:08:52 -07:00
Jori Lallo
08b1609440 [chore] added prettier 2017-04-26 21:47:03 -07:00
Jori Lallo
0e7c216735 Added user passwords 2016-09-11 17:47:22 -07:00
Jori Lallo
48a9a9f285 Added signup API endpoint 2016-09-11 16:34:57 -07:00
Jori Lallo
a2aea2abfc Implemented some of api keys 2016-08-24 00:37:54 -07:00