84 Commits

Author SHA1 Message Date
Tom Moor
f5a1f59290 Fix search result ordering
Add support for returning your own drafts in results
Added regression tests
2018-08-04 21:28:37 -07:00
Tom Moor
e192bcbaee Improves ordering of search results
Modifies documents.search to return a context snippet and search ranking
Displays context snipped on search results screen
2018-08-04 18:32:56 -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
67e3431fe3 More extensive specs around documents.info endpoint now that it doesn't require auth 2018-05-26 13:29:42 -07:00
Tom Moor
6662e2666d Handle non-existent shareId 2018-05-26 11:23:21 -07:00
Tom Moor
e2144051df Fixed returning sensitive data in documents.info 2018-05-24 22:15:36 -07:00
Tom Moor
b40b77b228 Merge branch 'master' into share-links 2018-05-22 21:27:45 -07:00
Tom Moor
d557ef96ac Fixes #649 – cant delete a draft document that has had its collection previously removed 2018-05-19 15:38:08 -07:00
Tom Moor
500d039856 Retrieve documents using shareId 2018-05-13 13:26:06 -07:00
Tom Moor
67f2b3cce4 API endpoint accepts autosave 2018-05-06 22:13:52 -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
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
Tom Moor
f3c7fb8bc6 Fixes #593 2018-02-24 20:44:13 -08:00
Tom Moor
83f32be6f7 Add missing authorization on views endpoints
Updated ApiKeys authorization to match elsewhere
2018-02-18 10:56:56 -08:00
Tom Moor
e84fb5e6ba Update team and collection authorization 2018-02-18 01:14:51 -08:00
Tom Moor
2f81eb5e87 Added more structure and tests to our authorization code 2018-02-18 00:11:48 -08:00
Jori Lallo
b47771c56f Order document structure alphabetically 2018-02-06 23:26:14 -08:00
Jori Lallo
b93ccf5fcc
Check for parent document existance (#567) 2018-02-04 23:43:43 -08:00
Tom Moor
ae4aed6fe0 Move title validation to server (#552)
closes issue-546
2018-01-31 19:23:33 -08:00
Tom Moor
e07893b001 Merge master 2017-11-26 18:23:11 -08:00
Tom Moor
33fea77a86 PR feedback, remove collectionId 2017-11-26 18:18:41 -08:00
Tom Moor
81edb55d56 Working recently edited list 2017-11-26 18:18:40 -08:00
Tom Moor
98f317c74a Prevents accidental overwriting of another users work 2017-11-25 13:04:54 -08:00
Tom Moor
eb8b12d327 Working recently edited list 2017-11-19 21:32:18 -08:00
Jori Lallo
36d46533b6 Added simple revisions API 2017-10-16 22:36:44 -07:00
Jori Lallo
a5a1e286d4 Addressed user feedback 2017-09-24 13:51:33 -07:00
Tom Moor
229cd3271a Fixes: 500 error when attempting to load a deleted document from view 2017-09-13 23:04:58 -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
66e4995885
💚 ? 2017-07-15 16:08:12 -07:00
Jori Lallo
b80fcfff6c Fixed search and added tests 2017-07-10 21:24:25 -07:00
Jori Lallo
22153441fa Updated IDs and fixed tests 2017-06-28 23:24:19 -07:00
Jori Lallo
56beb8b55f Fixed document.update API 2017-06-28 23:18:46 -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