Commit Graph

570 Commits

Author SHA1 Message Date
Tom Moor da9477667c user.update endpoint should send full user in response 2018-05-31 12:57:04 -07:00
Tom Moor 10a0ffe472 Team details settings page 2018-05-31 12:44:32 -07:00
Tom Moor 55e1451160 Slack commands and post working agagain with new flow 2018-05-29 23:33:30 -07:00
Tom Moor 4a7f8d3895 Move slack auth handling entirely to server 2018-05-28 23:44:56 -07:00
Tom Moor aa9ed09f08 Prevent signin without hosted domain 2018-05-28 22:32:36 -07:00
Tom Moor 25aa1f288b Renames, clear token, show signin options based on env 2018-05-28 21:14:43 -07:00
Tom Moor 72d874444e DB migrations
Google button
2018-05-28 20:31:53 -07:00
Tom Moor ddd2b82d20 WIP: Successful Google Auth, broke pretty much everything else in the process 2018-05-28 11:36:37 -07:00
Tom Moor 5bebb7351d 👕 2018-05-26 17:59:34 -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 c060a5c798 id -> documentId 2018-05-24 21:19:38 -07:00
Tom Moor e538df0df3 Filter private info from public shares 2018-05-23 23:59:00 -07:00
Tom Moor 7eea1a90af One share link per user, per doc 2018-05-23 23:09:20 -07:00
Tom Moor aeb97ddcae Filter shares.list endpoint by admin 2018-05-23 22:55:01 -07:00
Tom Moor 47fb968009 Ability to revoke, ShareMenu 2018-05-23 22:09:14 -07:00
Tom Moor d93815ca0a Share links list WIP 2018-05-22 23:01:49 -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 187c2dcb27 Working share link loading (plenty of restrictions still to put in place) 2018-05-16 23:52:26 -07:00
Tom Moor 4266020315 Gen and copy share link from frontend 2018-05-16 23:07:33 -07:00
Tom Moor 500d039856 Retrieve documents using shareId 2018-05-13 13:26:06 -07:00
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 3005da78e2 Pull changelog from Github releases - one less place to manage 2018-05-12 19:56:44 -07:00
Tom Moor ba0a7b7f4a Update docs
Remove extra API request after document.update
Cleanup
2018-05-07 22:08:47 -07:00
Tom Moor 67f2b3cce4 API endpoint accepts autosave 2018-05-06 22:13:52 -07:00
Tom Moor d55a8ad02d Update mailer snapshot (added alt text) 2018-05-05 16:33:12 -07:00
Tom Moor 518015f55b Upgrade to Flow 0.71 2018-05-05 16:16:08 -07:00
Jori Lallo 46124654dd Promo slack on homepage 2018-04-03 22:40:20 -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 c7d50c4a78
Merge pull request #614 from outline/jori/billing-suspended
Suspended accounts and settings changes
2018-03-07 00:11:17 -08: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 e9e4538436 Addressed feedback 2018-03-06 23:09:21 -08:00
Tom Moor 16a6c3bffe Remove moment 2018-03-06 20:31:12 -08:00
Jori Lallo 0b005afdf9 More email styles 2018-03-06 19:34:13 -08:00
Jori Lallo 189c592a44 Tweaked email layout 2018-03-04 23:18:39 -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 7272b24eaf
Merge pull request #610 from outline/jori/natural-sort
Added natural sorting for documents and collections
2018-02-28 23:28:47 -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
Jori Lallo 4bc8a152c1 Added natural sorting for documents and collections 2018-02-28 23:00:41 -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 8ebf748cf6
Merge pull request #585 from outline/jori/koa-onerror
Catch server errors with koa-onerror
2018-02-11 11:19:08 -08:00
Tom Moor 6caba86751
Mobile Responsive Styles (#580)
* WIP: Responsive styles

* Flip breakpoints, ensure doc doesn't spread

* Add MenuIcon

* Refactor Sidebar to share mobile responsive styles

* Fix accidental find/replace

* Tweak padding to take into account icon spacing
2018-02-10 23:24:12 -08:00
Jori Lallo 5758c0d6ba Catch server errors with koa-onerror 2018-02-10 22:58:22 -08:00
Jori Lallo b47771c56f Order document structure alphabetically 2018-02-06 23:26:14 -08:00
Jori Lallo 5588897271
Merge pull request #564 from outline/jori/route-fixes
Search and routing fixes
2018-02-06 21:56:24 -08:00
Jori Lallo b93ccf5fcc
Check for parent document existance (#567) 2018-02-04 23:43:43 -08:00
Jori Lallo 8f53755258
Filter headers (#566) 2018-02-04 22:32:13 -08:00
Jori Lallo a941e04d08 Removed useless catch 2018-02-04 17:28:14 -08:00
Tom Moor ae4aed6fe0 Move title validation to server (#552)
closes issue-546
2018-01-31 19:23:33 -08:00
Tom Moor 637aaf9702
Merge pull request #545 from outline/list-styling
Fixes: LI spacing in documents got accidentally increased
2018-01-30 22:13:03 -08:00
Jori Lallo dd9d3351b8
Added social links (#535) 2018-01-29 23:41:43 -08:00
Tom Moor f870cd88bc Slack hooks fixes and improvements
closes #533
2018-01-28 19:37:14 -08:00
Jori Lallo 2b2bc376ce
Merge pull request #532 from outline/jori/collection-delete-fixes
Fixed collection deletion
2018-01-28 17:54:53 -08:00
Jori Lallo 5ab423108a Fixed collection deletion 2018-01-28 17:04:53 -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
Tom Moor de6778fc42 Fixes: LI spacing in documents got accidentally increased 2018-01-28 16:27:19 -08:00
Jori Lallo 8cdc09339b
Merge pull request #519 from outline/jori/prefetch
Added link=“prefetch” tags
2018-01-26 11:21:34 -08:00
Jori Lallo 77a53718a3
Merge branch 'master' into jori/slack-tweaks 2018-01-23 23:02:51 -08:00
Jori Lallo 47ce9f816f a note about slack slash command 2018-01-23 23:01:57 -08:00
Jori Lallo 1dd06db566 Slack tag 2018-01-23 23:01:32 -08:00
Jori Lallo 0f790b37e3 moved to fs read 2018-01-23 22:38:18 -08:00
Jori Lallo 598477fedb
Merge pull request #520 from outline/jori/about-page
About page
2018-01-23 22:37:39 -08:00
Tom Moor 51409bcbc7
Update About.js 2018-01-23 22:00:19 -08:00
Tom Moor a4323f1ea1 Edits, grammar, correct apostrophe 2018-01-22 20:51:25 -08:00
Jori Lallo b99ed0cee3 Added about page 2018-01-21 23:59:19 -08:00
Jori Lallo bc403faa8e Added link=“prefetch” tags 2018-01-21 22:25:37 -08:00
Jori Lallo 69af7f4efe disallow robots index for self hosted deployments 2018-01-21 18:47:43 -08:00
Jori Lallo 1b5513be0c Use URL env 2018-01-21 18:47:13 -08:00
Jori Lallo 1eb6d14298 Added more metatarsi + screenshot 2018-01-18 00:01:34 -08:00
Jori Lallo eb1ba1a6be changed copy 2018-01-17 22:18:55 -08:00
Jori Lallo a6584714c3 New onboarding document 2018-01-17 22:18:55 -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
Tom Moor 9d441fc51a
Webhook / Integration Event bus (#499)
* First bash at an event bus for webhooks and integrations

* Refactoring

* poc

* Revert too wide ranging changes
Move to two-queues
2018-01-13 10:46:29 -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 80c8912c10 Nicer formatting 2017-12-26 15:14:28 +02:00
Jori Lallo 7e44edad42 Added API docs 2017-12-26 15:12:10 +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
Jori Lallo c4d1490d01 Added migration for adding initial admins 2017-12-26 15:06:53 +02:00
Jori Lallo 0fd30a7313
Merge pull request #491 from outline/jori/email-queue
Added task queue for emails
2017-12-25 05:38:40 -08:00
Jori Lallo 1cb00079da Added task queue for emails 2017-12-18 20:55:41 -08: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 0b45f87421
Merge pull request #486 from outline/jori/privacy
Added privacy policy
2017-12-17 17:51:55 -08:00
Jori Lallo 787fb63f09 Added privacy policy 2017-12-17 17:14:16 -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
Jori Lallo c8a569ee10
Merge pull request #479 from outline/jori/lock-collection
Lock collection navigation tree changes
2017-12-11 21:56:06 -08:00
Tom Moor ced80b6723 FakeS3 support 2017-12-10 22:58:52 -08:00
Tom Moor ec86b9fe8c Update sample .env
Update README to reflect new process
2017-12-10 17:38:56 -08:00
Jori Lallo c5e2bb2432 Lock collection navigation tree changes 2017-12-09 15:04:55 -08:00
Jori Lallo abcd737854
Merge pull request #470 from outline/jori/search-improvements
Search improvements
2017-12-03 20:57:18 -08:00
Jori Lallo 5df2983ef6 Search improvements 2017-12-03 16:50:50 -08:00
Jori Lallo 36b8e49353 Fixed search ordering 2017-12-03 11:04:17 -08:00
Tom Moor 8ccd60996d
Merge pull request #456 from outline/changelog
Add Changelog
2017-11-29 09:53:44 -08:00
Jori Lallo 883e584da2
Merge pull request #454 from outline/issue-448
Request auth on first load with existing token
2017-11-28 23:00:00 -08:00
Tom Moor 21c1c1797e Add changelog 2017-11-28 22:46:26 -08:00
Tom Moor a573c76512 Request auth on first load with existing token 2017-11-26 22:26:02 -08:00
Jori Lallo 0af46a0d46 Added feedback link 2017-11-26 22:03:23 -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
Jori Lallo b27ac8c17e tweaked margins 2017-11-26 17:04:20 -08:00
Jori Lallo 210588d9a6 Improved mobile styles and keyword targeting 2017-11-26 16:52:25 -08:00
Jori Lallo ba3756eb74 Added min height to hero 2017-11-26 12:39:28 -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
Jori Lallo 8b2f6f193f
Merge pull request #431 from outline/jori/slack-no-results
Added no results text for Slack slash command
2017-11-22 12:11:54 -08:00
Tom Moor eb74016445
Merge pull request #442 from outline/slack-direct-install
Slack direct install flow
2017-11-22 08:25:59 -08:00
Tom Moor dd2cd2f9d8 Working direct install flow 2017-11-21 23:51:31 -08:00
Jori Lallo 5c01ff47e9 Added spectrum link 2017-11-21 01:00:30 -08:00
Jori Lallo dcb9366592 Small homepage improvements 2017-11-21 00:23:55 -08:00
Tom Moor 7dbc727599 homepage 2017-11-20 22:54:51 -08:00
Jori Lallo 592b5e49b6 Added no results text for Slack slash command 2017-11-19 23:49:27 -08:00
Tom Moor eb8b12d327 Working recently edited list 2017-11-19 21:32:18 -08:00
Jori Lallo c1b2ac68f5
Merge pull request #414 from outline/jori/public-api-doc
Public api doc
2017-11-19 19:35:48 -08:00
Jori Lallo 2adaa9424a typo 2017-11-19 18:47:20 -08:00
Jori Lallo 1e9669cbc0 tick 2017-11-19 18:43:21 -08:00
Jori Lallo 200f7039c9 more endpoints 2017-11-19 18:41:36 -08:00
Jori Lallo 116149c9f8 fixes 2017-11-19 18:13:14 -08:00
Jori Lallo b4f7d9f61d more docs 2017-11-19 18:12:45 -08:00
Jori Lallo e82654ab7f Public API docs 2017-11-19 18:12:45 -08:00
Jori Lallo 00c2145116 Public API docs 2017-11-19 18:11:35 -08:00
Jori Lallo a99628b2d5 Public API docs 2017-11-19 18:11:34 -08:00
Tom Moor 1f859f01e3 Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
Jori Lallo f2cf4b7d27
Merge pull request #411 from jorilallo/jori/reply-to
Added optional reply to address
2017-11-18 13:16:36 -08:00
Jori Lallo 96b946488d Updated email envvars based on feedback 2017-11-18 13:11:12 -08:00
Jori Lallo 0441e92d08 Lint rules and flow annotations for rest of the files 2017-11-15 23:40:14 -08:00
Tom Moor 9fb79df405 Tweak grammar 2017-11-15 21:57:11 -08:00
Tom Moor 68305e65ea Optimize PNG's 2017-11-15 21:16:15 -08:00
Tom Moor 51a9803c7d Feedback 2017-11-15 20:59:57 -08:00
Tom Moor 787fac01d8 WIP 2017-11-13 08:15:12 -08:00
Tom Moor 43a962496b Homepage 2017-11-12 21:39:24 -08:00
Jori Lallo 95a395aa95 Added optional reply to address 2017-11-12 17:40:36 -08:00
Jori Lallo c74ed3ad65 Addressed comments 2017-11-12 16:35:23 -08:00
Jori Lallo a8ace3ca60 Fixed test setup 2017-11-12 15:19:04 -08:00
Jori Lallo 6b94e728a1 404 on unknown preview route 2017-11-12 15:04:46 -08:00
Jori Lallo 348e5f0b20 Added email templating, and user welcome email 2017-11-12 15:02:23 -08:00
Jori Lallo c33c7f04d8 New dev commands and updates 2017-11-10 17:19:52 -08:00
Tom Moor 6c1996d79b Update favicon 2017-11-09 23:20:29 -08:00
Tom Moor 5cccd11d7b Added favicon, social tags to SSR pages 2017-11-09 23:14:03 -08:00
Jori Lallo 4a7e581cf2
Merge pull request #389 from jorilallo/ga
Google Analytics
2017-11-09 00:50:03 -08:00
Jori Lallo f5c51a96f0 Renamed Atlas to Outline 2017-11-09 00:20:22 -08:00
Tom Moor b08e34d578 Insert ga tags in app 2017-11-09 00:17:55 -08:00
Tom Moor 7bad7a2567 Google Analytics tracking on SSR pages 2017-11-09 00:01:02 -08:00
Jori Lallo 53cda8ce2b
Merge pull request #374 from jorilallo/jori/colorpicker
Color picker
2017-10-31 22:04:09 -07:00
Jori Lallo 980ad792c5 addressed comments 2017-10-31 21:55:46 -07:00
Jori Lallo c9fc880137 include user id in the uploads path 2017-10-30 22:35:30 -07:00
Jori Lallo 27fd10f2a6 Prefix s3 user uploads with `uploads/` 2017-10-29 23:52:09 -07:00
Jori Lallo e70a8c2495 color editing 2017-10-29 23:23:16 -07:00
Tom Moor 84c82c31a9 Shared assets, cleanup for initial deploy 2017-10-29 15:02:24 -07:00
Tom Moor e370676b49 Homepage skeleton 2017-10-26 23:02:45 -07:00
Tom Moor fc45d6a180 Sharing global styles 2017-10-26 22:42:08 -07:00
Tom Moor aa34db8318 Merge branch 'master' of github.com:jorilallo/atlas into tom/static 2017-10-25 22:48:28 -07:00
Jori Lallo c6537279ba Fixes for empty document 2017-10-22 22:20:53 -07:00
Tom Moor 524afd8b44 SignIn / SignOut working 2017-10-22 20:29:27 -07:00
Tom Moor 802ce10f14 POC 2017-10-22 17:16:57 -07:00
Tom Moor aceaf261d2 Working on 'static' pages 2017-10-22 16:33:10 -07:00
Tom Moor 4d53c4aa00 Merge master 2017-10-21 21:12:56 -07:00
Jori Lallo 7c1e80cf42 Merge pull request #329 from jorilallo/jori/avatar-s3
Upload avatars to S3
2017-10-19 23:39:16 -07:00
Jori Lallo 1fdbf256a7 review comments 2017-10-19 23:30:31 -07:00
Jori Lallo c1a8e15a52 flow 2017-10-19 23:00:40 -07:00
Tom Moor d0dbe4cf02 Fixes: Adding Slack command 2017-10-19 21:02:39 -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 36d46533b6 Added simple revisions API 2017-10-16 22:36:44 -07:00
Jori Lallo 06def29564 Merge pull request #304 from jorilallo/jori/rm-navigationtree
Removed legacy navigationtree
2017-10-15 18:42:49 -07:00
Jori Lallo 75bf265bd5 Removed legacy navigationtree 2017-10-15 18:35:28 -07:00
Jori Lallo 275e754bf1 Moved Bugsnag token into envvar 2017-10-15 16:51:25 -07:00
Jori Lallo d4dc6f2a28 separated bugsnag token 2017-10-15 16:37:10 -07:00
Jori Lallo 42ed9616b5 Added cookie to indicate logged in status 2017-10-11 00:14:45 -07:00
Jori Lallo 7c3cfbc9da Added Event model and logging to Collection 2017-10-09 23:27:34 -07:00
Jori Lallo dd0588d760 Several fixes + refactor to Collection methods 2017-10-09 00:05:15 -07:00
Jori Lallo 7081291ed6 Merge pull request #288 from jorilallo/jori/move-tweaks
Refactored document move
2017-10-07 16:07:12 -07:00
Jori Lallo 34dd1f1409 Dropped whitelisting 2017-10-04 01:17:30 -07:00
Jori Lallo ccec69d431 Final fixes to document move 2017-10-01 23:42:17 -07:00