Commit Graph

185 Commits

Author SHA1 Message Date
Tom Moor 22bc5a7373 Added delete endpoint 2018-05-13 00:28:31 -07:00
Tom Moor 9000aa3aac First pass at API 2018-05-12 23:14:06 -07:00
Tom Moor 67f2b3cce4 API endpoint accepts autosave 2018-05-06 22:13:52 -07:00
Tom Moor 518015f55b Upgrade to Flow 0.71 2018-05-05 16:16:08 -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
Jori Lallo 983b8fe9a0 Wrapped additional error data under `data` 2018-03-07 00:05:34 -08:00
Jori Lallo f5c1ddf8b9 added suspending admin email to error screen 2018-03-06 23:38:52 -08:00
Jori Lallo 1a8ca20fce UI to prevent suspended users viewing the application 2018-03-04 22:18:23 -08:00
Jori Lallo 1c2b3e992e Prevent API access from suspended user 2018-03-04 17:08:18 -08:00
Jori Lallo a0f58583b5 UI work 2018-03-04 16:53:57 -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 c80ae1bdd6 Fixes: Document not added to structure
Cache key bump
2018-02-28 23:21:29 -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 f8bdadfd9a Final direct BadRequest removals 2018-02-24 20:52:56 -08:00
Tom Moor f3c7fb8bc6 Fixes #593 2018-02-24 20:44:13 -08:00
Tom Moor 5b6c908215 More granular error responses 2018-02-19 23:31:18 -08:00
Tom Moor d73196594d Correct ApiKey delete auth check 2018-02-18 13:10:17 -08:00
Tom Moor 7a0aa0ecf8 Add additional future-proofing auth checks for creation 2018-02-18 11:08:43 -08:00
Tom Moor e3e084130c Add missing snap 2018-02-18 10:58:54 -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 f870cd88bc Slack hooks fixes and improvements
closes #533
2018-01-28 19:37:14 -08:00
Tom Moor 66fa88fcab Fixes 400 error response from slack hook
Split results into individual attachments
2018-01-28 17:00:20 -08:00
Jori Lallo bcbca3cf41 Added a simple test for unfurl enpoint 2018-01-15 14:07:29 -08:00
Jori Lallo 4c9bff478a Revert auth changes 2018-01-15 14:07:12 -08:00
Jori Lallo 94dfebe5a0 Addressed PR feedback 2017-12-30 19:48:43 +02:00
Jori Lallo 8f045b5c34 Updated snap 2017-12-27 12:59:27 +02:00
Jori Lallo 26d0d815a2 Admin endpoints 2017-12-26 15:08:11 +02:00
Jori Lallo a74e90fc09 Move auth to router.use 2017-12-26 15:08:10 +02:00
Jori Lallo 4406ec8e15 Added adminOnly auth option and auth middleware tests 2017-12-26 15:07:27 +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
Jori Lallo 308d36c528 Fixes s3 path 2017-12-13 23:32:45 -08:00
Jori Lallo 7d756e4fae Avatar upload 2017-12-13 23:23:22 -08:00
Jori Lallo cd1d2430bb Added a setting to update user’s profile 2017-12-13 23:19:26 -08:00
Tom Moor ced80b6723 FakeS3 support 2017-12-10 22:58:52 -08:00
Jori Lallo 5df2983ef6 Search improvements 2017-12-03 16:50:50 -08:00
Tom Moor a573c76512 Request auth on first load with existing token 2017-11-26 22:26:02 -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 94c2cc09ee Added documents.list endpoint to documentation (fixed some bad formatting)
Updated collection parameter
Increased fetch to 10 records, 5 looks dumb on larger screens
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 505310c172
Settings Routes (#449)
* Building out settings area

* Flow and refactoring

* TeamLogo

* Add temporary profile screen

* 💚

* PR feedback
2017-11-26 18:09:55 -08:00
Tom Moor 98f317c74a Prevents accidental overwriting of another users work 2017-11-25 13:04:54 -08:00
Tom Moor 7945abbe54 Added documents.list endpoint to documentation (fixed some bad formatting)
Updated collection parameter
Increased fetch to 10 records, 5 looks dumb on larger screens
2017-11-22 18:40:37 -08:00
Tom Moor acdcb9e9ec Merge branch 'master' of github.com:jorilallo/atlas into collection-home 2017-11-22 18:32:35 -08:00