Commit Graph

407 Commits

Author SHA1 Message Date
Tom Moor 2db8cdc7d1 Fixes #952 – Page jump 2019-05-19 17:49:51 -07:00
Tom Moor 6d03257cc1 Bump RME – More editor fixes 2019-04-23 20:22:49 -07:00
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 0bc6662366 Update RME: Fixes horizontal rules being interpreted as headings 2019-04-17 23:09:43 -07:00
Tom Moor 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
Tom Moor 0c1bf1586d Closes outline/issues#926
Closes outline/issues#888
Added native lazy loading in prep for Chrome release
2019-04-10 21:06:53 -07:00
Tom Moor a3ca3447d1 Closes #929 – Clarify pin feature 2019-04-08 21:47:27 -07:00
Tom Moor 705938e622 Bump RME, fix tab to indent lists 2019-04-07 15:57:05 -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 76957865bb Ensure normalize on load, imported documents arent safe 2019-03-31 14:39:55 -07:00
Tom Moor 1883e77d5c Bump RME, improve perf 2019-03-30 23:36:02 -07:00
Tom Moor 1ef528bbd7 Bump RME - closes #915 2019-03-13 23:49:54 -07:00
Tom Moor a7d49e9042 Bump production dependencies with open CVEs
closes #916
2019-03-13 23:11:03 -07:00
Tom Moor 7b7ec52eee Bump production dependencies with open CVEs 2019-03-12 23:54:35 -07:00
Tom Moor 59c82f1f06
Dark Mode (#912)
closes #704
2019-03-12 21:35:35 -07:00
Tom Moor 3db1a6679a Bump RME 2019-03-07 08:44:57 -08:00
Tom Moor f1c14f943e Bump RME 2019-03-02 20:35:28 -08:00
Tom Moor 4a90c57dfe More dependency upgrades 2019-03-02 16:02:44 -08:00
Tom Moor 565a0006c9 Remove lint-staged dependency 2019-03-02 15:56:41 -08:00
Tom Moor 78ee921244 Upgrade slug dependency 2019-03-02 15:51:02 -08:00
Tom Moor f705da4f3b Update dependencies 2019-03-02 15:39:18 -08:00
Tom Moor b4796e5b35 Fixes: Cookie encoding issues 2019-02-28 23:23:44 -08:00
Tom Moor 1d93acefeb Bump RME – Fixes scroll to anchor
closes #902
2019-02-20 21:00:40 -08:00
Tom Moor 15bc0e7629 Bump RME – Improves keyboard behavior around deleting inline code 2019-02-17 00:39:06 -08:00
Tom Moor fdb49cf153 Bump RME: Includes fix for addition marks disappearing 2019-02-15 21:48:54 -08:00
Tom Moor 721332e87a Update RME – Fixes: Individual code lines are scrollable 2019-02-09 16:09:02 +07:00
Tom Moor 945e7ffb7b Fixes: Imported tables are normalized out of document 2019-02-08 10:23:02 +07:00
Tom Moor c2e58898d8 Fixes: Multiline blockquotes collapse 2019-01-27 22:43:40 +00:00
Tom Moor e7e94cdef2 Bump RME 2019-01-26 17:08:00 +00:00
Tom Moor 1768a1921d Fixes: Issue with embeds disappearing 🙈 2019-01-22 12:43:54 +00:00
Tom Moor 39a61d8559
Upgrade Dependencies (#873)
* Loading placeholder

* Upgrade dependencies, reduce warnings

* 👕

* Remove more unused deps

* Bump RME
2019-01-21 11:06:44 -08:00
Tom Moor 2d48eb46a9 Closes #868 2019-01-19 13:11:11 -08:00
Tom Moor d21dd710bb
Upgrade Editor – Slate 0.44 / RME 8.0.0 (#863)
* Upgrade Slate

* Normalization

* Remove dupe dep

* Fixes placeholders

* Image uploading fixed

* Verbose but solid placeholder handling

* RME 8.0.0

* Fixes: Ability to delete embeds
2019-01-18 22:44:31 -08:00
Tom Moor ef583314e0
Remove parse-domain dependency (#856)
* Remove parse-domain dependency

* Remove only, add commentary

* Update lockfile
2019-01-12 13:50:30 -08: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 3c51b38672 Upgrade RME, fixes block insert menu appearing on embeds and block toolbar not hiding correctly on outside click 2018-12-16 14:18:56 -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 67cd250316 Remove diff summary from document history sidebar.
Cause of occassional memory leaks and downtime :(
2018-11-23 11:12:14 -08:00
Tom Moor c5cd2223f7 Bump RME: Fixes deleting images now smoother
Adds code language selection to code blocks
2018-11-22 14:57:03 -08:00
Tom Moor 8208a6128a Upgrade RME - z-index fix 2018-11-18 18:59:09 -08:00
Tom Moor d3834d2dc5 Fixes: Redis keys related to queue jobs should be removed after completion 2018-11-17 16:09:42 -08:00
Tom Moor 11a411447c Bump RME - closes #803 2018-11-17 14:06:21 -08:00
Tom Moor e24a187699 accessToken per subdomain 2018-11-09 23:40:33 -08:00
Tom Moor 21b1c0747c Basic functionality in place, need improved errors and logged in redirect 2018-11-08 21:05:07 -08:00
Tom Moor 8d569fd46d Upgrade dependencies 2018-11-06 21:58:32 -08:00
Tom Moor 5f97897418 SSLify 2018-11-04 10:15:37 -08:00
Tom Moor 5f2d4e416c Upgrade RME 2018-10-29 21:05:07 -07:00
Tom Moor 3f0202f660 Closes #780 2018-09-30 08:58:27 -07:00
Tom Moor 7515bd2275 Upgrade styled-components
Upgrade styled-components-grid
2018-09-29 23:19:46 -07:00
Tom Moor d0bee23432
Version History (#768)
* Stash. Super rough progress

* Stash

* 'h' how toggles history panel
Add documents.restore endpoint

* Add tests for documents.restore endpoint

* Document restore endpoint

* Tiding, RevisionMenu, remove scroll dep

* Add history menu item

* Paginate loading

* Fixed: Error boundary styling
Select first revision faster

* Diff summary, styling

* Add history loading placeholder
Fix move modal not opening

* Fixes: Refreshing page on specific revision

* documentation for document.revision

* Better handle versions with no text changes (will no longer be created)
2018-09-29 21:24:07 -07:00
Tom Moor 717e26a7a9 Fixes #778 2018-09-25 22:09:12 -07:00
Tom Moor d4d4907901 Bump RME. Closes #771 2018-09-10 22:21:51 -07:00
Tom Moor 7550e03b22 Fixes: Editor content written between image upload start and finish is lost
Fixes: Image lost after upload if document is immediately closed without further edits
2018-09-03 13:58:24 -07:00
Tom Moor be09b290b7 RME upgrade, fix autoFocus logic 2018-08-16 22:51:51 -07:00
Tom Moor 4c1e33110e Upgrade to rich-markdown-editor 4.0 2018-08-13 21:20:44 -07:00
Tom Moor ff41aa4a17 Update debug dependency. Low severity CVE-2017-16137 2018-08-11 14:09:59 -07:00
Tom Moor 71775460c7 Bump RME - Fixes block toolbar coloring 2018-08-10 12:04:58 -07:00
Tom Moor 8e3ae07daf Bump RME - Heading anchor offset 2018-08-07 00:04:08 -07:00
Tom Moor d863ab3271 Hash navigation improvements 2018-08-05 22:08:46 -07:00
Tom Moor 71830d7c77 Further improved search result snippets 2018-08-04 22:46:55 -07:00
Tom Moor 9fa1ad55ce Upgrade RME. Potential fix for #723 2018-07-24 00:08:46 -07:00
Tom Moor 03411ead09 Upgrade RME - Slate deps and bugfixes 2018-07-21 10:53:17 -07:00
Tom Moor 1bb4583b3f Upgrade RME - Adds markdown shortcuts to headings, fixes several FF issues 2018-07-20 00:17:59 -07:00
Tom Moor 2c0802372b Update RME - Text loss fix 2018-07-18 23:06:35 -07:00
Tom Moor 7efff83410 Update RME - Moar fixes 2018-07-18 00:32:41 -07:00
Tom Moor 7f8a59ae2f Upgrade to RME 2, restores functionality removed from that module 2018-07-14 22:26:26 -07:00
Tom Moor 8fe7d8e4be Update yarn.lock 2018-07-08 12:42:44 -07:00
Tom Moor 6bd53b72b2 Fixes #707
Improved clickable area around editor content
2018-06-25 22:45:43 -07:00
Tom Moor d529c98983 Fixes #697 2018-06-23 18:11:17 -07:00
Tom Moor 238c6ee653 Upgrade editor, inline code styling 2018-06-23 00:25:17 -07:00
Tom Moor b8dda3bd65 Update editor, speed up sidebar
closes #694
2018-06-23 00:10:52 -07:00
Tom Moor b9e0668d7d
Bulk export (#684)
* First pass (working) collection export to zip

* Add export confirmation screen

* 👕

* Refactor

* Job for team export, move to tmp file, settings UI

* Export all collections job

* 👕

* Add specs

* Clarify UI
2018-06-20 21:33:21 -07:00
Tom Moor cedd31c9ea Upgrade editor, closes #685 2018-06-19 22:30:39 -07:00
Tom Moor 42478785fc Bump icons, add theme-color 2018-06-16 14:12:15 -07:00
Tom Moor adc78fd408 Closes #679 2018-06-16 13:10:14 -07:00
Tom Moor aacfd42640 Fixes #676 - Newlines no longer added to nested lists on save 2018-06-09 17:22:03 -07:00
Tom Moor b929fb2bd3 Fixes TOC 2018-06-07 22:26:53 -07:00
Tom Moor 21d887151d Fixes #674 - Focus in toolbar no longer lost on autosave 2018-06-07 20:48:43 -07:00
Tom Moor 1977278426 Upgrade RME - Allow pasting of Markdown syntax 2018-06-04 17:53:20 -07:00
Tom Moor 4c9f86c7f7 Save avatars to le cloud in beforeSave hooks
Added encryption to uploads
Updated icon for team settings
2018-06-01 18:00:48 -04: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 1ba5c1cf96 Fixes #653 2018-05-26 20:04:57 -07:00
Tom Moor b495dce043 Update editor, fix serialization issues in code 2018-05-26 17:21:28 -07:00
Tom Moor 6222d210be Upgrade editor
Prevent markdown in code blocks and headings
Improved handling of valid markdown characters in text
2018-05-20 17:13:12 -07:00
Tom Moor cbd4003ddb Split deps, upgrade markdown editor to version with ES5 compilation 2018-05-12 15:22:33 -07:00
Tom Moor a62ad053d7 Upgrade editor 2018-05-12 14:10:49 -07:00
Tom Moor 3f5a9fdb3a Add icon to clarify menu functionality 2018-05-06 14:01:28 -07:00
Tom Moor 518015f55b Upgrade to Flow 0.71 2018-05-05 16:16:08 -07:00
Tom Moor 4a4f9f7107 Bump rich-markdown-editor 2018-05-03 00:34:28 -07:00
Tom Moor d7327fefa2 Upgrade styled-components
Restore async editor loading
2018-05-02 23:12:13 -07:00
Tom Moor 41a96e4331 Remove Icons 2018-05-02 21:51:39 -07:00
Tom Moor f72fa40a0f WIP 2018-04-03 20:20:30 -07:00
Tom Moor 8793a9dfbf Improves rendering of headings to have better spacing in the Markdown output 2018-03-26 23:12:16 -07:00
Tom Moor 403e504499
Merge pull request #620 from outline/paragraph-handling
Improved paragraph behavior
2018-03-26 21:23:21 -07:00
Tom Moor f8ba139128 Final dep updates to Slate 32 2018-03-25 14:42:28 -07:00
Tom Moor 14c963ca70 Bump serializer 2018-03-24 14:42:38 -07:00
Tom Moor 48e3a93d83 Bump slate serializer 2018-03-18 01:10:53 -07:00
Tom Moor d02fc793ee Improved paragraph behavior 2018-03-10 21:25:07 -08:00
Tom Moor b9dda35566 Bump slate-edit-code dependency 2018-03-06 21:00:44 -08:00
Tom Moor 16a6c3bffe Remove moment 2018-03-06 20:31:12 -08:00
Jori Lallo 4bc8a152c1 Added natural sorting for documents and collections 2018-02-28 23:00:41 -08:00
Jori Lallo fb19075d0e
Merge pull request #602 from outline/authorization-improves
Authorization Improvements
2018-02-20 22:30:41 -08:00
Tom Moor 2f81eb5e87 Added more structure and tests to our authorization code 2018-02-18 00:11:48 -08:00
Tom Moor 925f1b8799 Updates mode dependencies for Slate 32 compatability
(remove deprecation warnings)
2018-02-17 17:02:19 -08:00
Tom Moor e8b10176eb Upgrade to Slate 32
closes #588
2018-02-13 21:03:38 -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 4cc7338534
Analytics (#582)
* gtm > ga

* Record pageviews in SPA

* Remove home-rolled tracking in favor of autotrack

* cleanup
2018-02-10 23:23:50 -08:00
Jori Lallo 5758c0d6ba Catch server errors with koa-onerror 2018-02-10 22:58:22 -08:00
Tom Moor 2f06db0b87 Upgrade Slate 3 point releases, fixes a number of the editor JS issues we've seen 2018-02-07 23:19:41 -08:00
Tom Moor f076582ce4
Fixes code blocks (#554)
* Fixes code blocks

* Flow ignore uncompiled files

* 💚

* big > bug
2018-02-04 12:30:22 -08:00
Tom Moor 6e5fcbd96b Updates a couple of editor dependencies that were lagging
Move webpack manifest plugin to prod dep (failing builds)
2018-01-28 11:08:50 -08:00
Jori Lallo bc403faa8e Added link=“prefetch” tags 2018-01-21 22:25:37 -08:00
Jori Lallo 1586c5c208
Merge pull request #507 from outline/jori/webpack-upgrade
Webpack 3 + dynamic Editor loading
2018-01-15 13:28:25 -08:00
Tom Moor 14fdebb4e5 Closes #464 2018-01-06 16:10:05 -08:00
Jori Lallo 2c9e92e5b9 Fixes 2018-01-03 21:35:13 -08:00
Jori Lallo 2fd5fc2dff Dynamic loading for Editor 2018-01-03 20:08:43 -08:00
Jori Lallo 686c237e36 Moved to webpack 3 2018-01-03 16:29:01 -08:00
Jori Lallo 26d0d815a2 Admin endpoints 2017-12-26 15:08:11 +02:00
Jori Lallo 4406ec8e15 Added adminOnly auth option and auth middleware tests 2017-12-26 15:07:27 +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
Tom Moor 938bb3fc31
Merge pull request #490 from outline/fix-bullets
Closes #489
2017-12-18 08:00:52 -08:00
Tom Moor 4f23dac472 Closes #489 2017-12-18 07:55:15 -08:00
Jori Lallo 7d756e4fae Avatar upload 2017-12-13 23:23:22 -08:00
Jori Lallo c2879c51b2 started working on avatar upload 2017-12-13 23:20:04 -08:00
Tom Moor 5900fa1fbb Fixes #475 - serializer now ensures paragraph node in list items 2017-12-11 21:50:53 -08:00
Tom Moor bbb9fc328a Update Slate to 0.31.5 2017-12-08 21:51:20 -08:00
Tom Moor 13b1ab7dca Merge branch 'master' of github.com:jorilallo/atlas into update-slate 2017-12-08 20:22:07 -08:00
Tom Moor 64c2624479 Fixes: Image upload. Back to using our own plugin to show progress 2017-12-06 08:15:06 -08:00
Tom Moor 751b468e92 More and more fixes 2017-12-03 19:59:54 -08:00
Jori Lallo 5df2983ef6 Search improvements 2017-12-03 16:50:50 -08:00
Tom Moor 15e8e50601 Slate 30 2017-12-02 23:14:27 -08:00
Tom Moor 21c1c1797e Add changelog 2017-11-28 22:46:26 -08:00
Jori Lallo 6aa0390e99
Merge pull request #450 from outline/jori/marketing-pages
Public page CSS tweaks
2017-11-26 17:47:21 -08:00
Jori Lallo 210588d9a6 Improved mobile styles and keyword targeting 2017-11-26 16:52:25 -08:00
Tom Moor 2d8a41a982 Add highlighting to search results as mocked. 2017-11-25 15:44:10 -08:00
Tom Moor d6eac889ae Closes #440 2017-11-21 21:19:46 -08:00
Jori Lallo b59f87ff95 requestAnimationFrame polyfill for react tests 2017-11-18 13:17:12 -08:00
Jori Lallo f8cde17062
Merge pull request #409 from jorilallo/update-sc
Updates styled components
2017-11-12 16:47:12 -08:00
Jori Lallo c3a9fa4df8
Merge pull request #406 from jorilallo/jori/smtp
Added email templating, and user welcome email
2017-11-12 16:46:35 -08:00
Tom Moor 12b5848644 Updates styled components 2017-11-12 15:56:23 -08:00
Jori Lallo 348e5f0b20 Added email templating, and user welcome email 2017-11-12 15:02:23 -08:00
Tom Moor 54b57c50b4 Fixed: Unencoded search terms 2017-11-12 10:55:13 -08:00
Tom Moor 21c7cb93a2 Upgrade to React 16 2017-11-10 13:42:33 -08:00
Jori Lallo 5c47f9b5d1 Added zooming image and max width fix 2017-11-07 23:10:02 -08:00
Tom Moor 1eea2af80d Fixes #363 2017-10-30 21:45:37 -07:00
Tom Moor 84c82c31a9 Shared assets, cleanup for initial deploy 2017-10-29 15:02:24 -07:00
Tom Moor fc45d6a180 Sharing global styles 2017-10-26 22:42:08 -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
Tom Moor 38228d0315 WIP 2017-10-21 14:05:20 -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
Tom Moor e4e2ac8aa1 Fixes broken links (#325)
* Fixes #323

* Update yarn.lock
2017-10-19 20:44:03 -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
Tom Moor e86387ced7 closes #308 2017-10-16 20:25:28 -07:00
Tom Moor de700d8164 Upgrade slate-markdown to fix #116 2017-10-15 12:46:55 -07:00
Jori Lallo 42ed9616b5 Added cookie to indicate logged in status 2017-10-11 00:14:45 -07:00
Jori Lallo 466f6a509b Refactored moving 2017-10-01 18:36:44 -07:00
Tom Moor 00d18ceda3 Merge master 2017-09-13 19:18:49 -07:00
Tom Moor 72b10787e5
Connecting modals where needed 2017-09-11 23:41:12 -07:00
Jori Lallo 9808c1cdf5 Bring back extract text webpack plugin 2017-09-11 23:18:44 -07:00
Jori Lallo 2140a0698a Refactor CSS modules out 2017-09-10 18:44:35 -07:00
Tom Moor 3c9f69d495
Feather icons 2017-09-04 12:14:18 -07:00
Tom Moor e34ffe0cf4 Move collaborators to top right (#201)
* Hopefully the last time we rejig this before launch

* Improved spacing

* Move to injectGlobal, alignment fixes
2017-09-03 17:26:57 -07:00
Tom Moor 057e3b10e8
Upgrade dependencies 2017-09-02 16:10:59 -07:00
Tom Moor 49c731a82b
Upgrade dependencies 2017-09-02 15:56:04 -07:00
Tom Moor 5d12e7bcc0
Upgrade Slate, point plugin to branch instead of hash 2017-09-02 15:45:48 -07:00
Tom Moor 66aaee26da
Update slate drag or drop 2017-08-31 19:36:47 -07:00
Jori Lallo ad44c67a46 Added event emitters and fixed document deletion 2017-08-29 00:27:12 -07:00
Tom Moor 3a348d7b8b
Update to use dev branch 2017-08-27 09:03:05 -07:00
Tom Moor 667d1caf11
Added: Placeholder when uploading images 2017-08-26 22:37:20 -07:00
Tom Moor 38c8a46d32 'Copy to Clipboard' functionality (#163)
* Adds 'Copy to Clipboard' functionality to all code blocks in readOnly

* Show on hover, move to SC

* 💚

* PR feedback
2017-08-02 22:10:58 -07:00
Tom Moor 297bf850c2
Align title correctly when first character is emoji 2017-07-29 16:15:04 -07:00
Jori Lallo 9b808efd7a Cache documents and collection 2017-07-16 11:48:01 -07:00
Jori Lallo cd584da5cf Upgrade sequelize and remove unique email constraints 2017-07-12 22:55:50 -07:00
Jori Lallo 8624ed5a44 Added styled-components table plugin 2017-07-11 22:00:50 -07:00
Tom Moor e9ee724f3b
Merge branch 'new-collection' 2017-07-10 00:43:00 -07:00
Tom Moor 112508e48f
Cleanup 2017-07-10 00:42:15 -07:00
Jori Lallo 6217fff2b5 Merge pull request #122 from jorilallo/new-collection
Create a collection
2017-07-10 00:42:10 -07:00
Tom Moor 205590ca6a
💚 2017-07-10 00:38:51 -07:00
Jori Lallo d72f73ab18 updated flow-typed and flow 2017-07-09 10:59:42 -07:00
Tom Moor 98da54d82a
Modals architecture 2017-07-09 09:02:44 -07:00
Jori Lallo 948bbd6e92 rm cross-env, fixed deployments 2017-07-06 23:27:16 -07:00
Jori Lallo 6656689c2d remove ignore-loader 2017-07-06 23:27:16 -07:00
Tom Moor 93a44e4a4c
Move inputs and buttons to central components 2017-06-25 19:21:08 -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
Tom Moor 74d65aba67 Search improvements (#76)
* Search improvements

* Search results keyboard navigation
2017-05-31 20:23:09 -07:00
Tom Moor e3b2fcf8c9
Improves 2017-05-26 00:04:13 -07:00
Jori Lallo 4c8df3231d Updated jest for frontend 2017-05-22 23:51:16 -07:00
Jori Lallo b25298c8f1 upgraded to react router v4 2017-05-17 19:57:26 -07:00
Jori Lallo ff17047791 Slate editor (#38)
* WIP: Slate editor

* WIP

* Focus at start / end working

* ah ha

* Super basic floating toolbar

* Nested list editing

* Pulling more logic into plugins

* inline code markdown

* Backspace at end of code block should remove mark

* Ensure there is always an empty line at editor end

* Add keyboard shortcuts for bold, italic, underline

* Add strikethrough shortcode and toolbar

* Toolbar to declarative
Fixed paragraph styling
Removed unused stuffs

* Super basic link editing

* Split Toolbar, now possible to edit and remove links

* Add new link to selection from toolbar working

* Ensure toolbar doesn't extend off screen

* Fix minor js issues, disable formatting of document title

* Boom, icons

* Remove codemirror, fix MD parsing issues

* CMD+S now saves inplace

* Add --- shortcut for horizontal rule

* Improved styling for link editor

* Add header anchors in readOnly

* More readable core text color

* Restored image file uploading 🎉

* Add support for inline md syntax, ** __ etc

* Centered

* Flooooow

* Checklist support

* Upgrade edit list plugin

* Finally. Allow keydown within rich textarea

* Update Markdown serializer

* Cleanup, remove async editor loading

* Editor > MarkdownEditor
Fixed unsaved changes warning triggered when all changes are saved

* MOAR typing

* Combine edit and view

* Fixed checkboxes still editable in readOnly

* wip

* Breadcrumb
Restored scroll

* Move document scene actions to menu

* Added: Support for code blocks, syntax highlighting

* Cleanup

*  > styled component

* Prevent CMD+Enter from adding linebreak

* Show image uploading in layout activity indicator

* Upgrade editor deps

* Improve link toolbar. Only one scenario where it's not working now
2017-05-17 19:36:31 -07:00
Jori Lallo 75ad27658e Fix flow errors 2017-05-09 23:14:24 -07:00
Jori Lallo dfdaef1098 Config and flow scripts 2017-05-03 22:49:08 -07:00
Jori Lallo c9d6d4bfb2 Remove Rebass 2017-05-01 22:01:50 -07:00
Jori Lallo 930bf7d105 Removed useless modules 2017-04-30 11:14:57 -07:00
Jori Lallo 8d84ebe886 Start using babel-preset-env 2017-04-29 15:52:05 -07:00
Jori Lallo 70dad7aa47 Added styled components 2017-04-29 14:02:55 -07:00
Tom Moor 4e5c3944d8
Add flow, example implementation and types 2017-04-27 22:10:43 -07:00
Tom Moor 2095b3a874 Fix prettier integration, format (#31)
* Fix prettier integration, format

* Reformat again
2017-04-27 21:48:13 -07:00
Jori Lallo ab80a0b047 Upgraded koa 2017-04-26 22:25:52 -07:00
Jori Lallo b34d80717b Upgraded dependencies 2017-04-26 22:18:36 -07:00
Jori Lallo 08b1609440 [chore] added prettier 2017-04-26 21:47:03 -07:00
Jori Lallo 8a489ce18e Added rimraf 2017-02-09 21:48:12 -08:00
Jori Lallo df70e87361 Added yarn lock 2016-10-14 13:08:32 -07:00