03db975217
Merge branch 'feature/document-history-header' of git://github.com/guilherme-diniz/outline into guilherme-diniz-feature/document-history-header
2020-08-24 23:46:16 -07:00
9b5573c5e2
0.46.1
2020-08-24 20:22:08 -07:00
70838918c3
fix: Collections not collapsing
2020-08-23 12:51:35 -07:00
ec38f5d79c
refactor: Remove old react lifecycle methods ( #1480 )
...
* refactor: Remove deprecated APIs
* bump mobx-react for hooks support
* inject -> useStores
https://mobx-react.js.org/recipes-migration\#hooks-to-the-rescue
* chore: React rules of hooks lint
2020-08-23 11:51:56 -07:00
179176c312
fix: Update package.json build script to use yarn instead of npm. ( #1476 )
...
* fix: Update package.json build script to yarn.
Update package.json build script to use yarn instead of npm to maintain consistency with the rest of scripts. I was running into an issue with the Dockerfile when using nvm with yarn and this fixed the issue.
2020-08-22 19:56:52 -07:00
c446a91f7d
fix: Restore Postgres SSL support on Heroku
...
https://github.com/brianc/node-postgres/issues/2009
2020-08-22 08:27:42 -07:00
05f48f054b
feat: Add Header to Document History Sidebar
2020-08-21 20:58:57 -03:00
ec55299c8b
fix: Improve websocket reliability ( #1470 )
...
* check connection on page visibility change
* fix: SocketPresence account for socket changing
2020-08-20 20:37:54 -07:00
26c574ab58
chore: Upgrade pg and sequelize to support node 14+ ( #1462 )
...
* Upgrade pg and sequelize to support node 14+
When Node 14 came out the app was incompatible, we should always have a maximum version defined here until the server code has been tested to prove compatibility
Co-authored-by: Lance Whatley <whatl3y@gmail.com >
2020-08-20 20:19:44 -07:00
6dd6768f07
feat: Allow moving templates between collections ( #1454 )
...
- Allow template move in document policy
- fix: Ensure that document is not added to collection structure in documentMover command
- fix: Moving a template should now show nested documents as options
- fix: Hitting 'm' should not allow moving a draft
- fix: Styling of seperators on move screen
2020-08-20 19:46:29 -07:00
0555fd2caa
pref: JS bundling improvements ( #1461 )
...
* perf: Split only initial vendors
2020-08-17 22:09:12 -07:00
d885252fb0
fix: Mobile style fixes and improvements ( #1459 )
...
* fixes #1457 – check for matchMedia function before using it
* fixes: Depth issues
closes #1458
* fixes: Long breadcrumbs cause horizontal overflow
* fix: Improve tabs and overflow on mobile
2020-08-17 00:08:22 -07:00
df9b0bcf91
fix: Websocket reconnect when navigating from settings -> home
2020-08-14 17:47:12 -07:00
31910f1628
Remove auto reconnect, increase reconnectionDelayMax
2020-08-14 17:25:55 -07:00
14cb3a36c1
perf: Reduce initial bundle size / async bundle loading ( #1456 )
...
* feat: Move to React.lazy
* perf: Remove duplicate babel/runtime
* fix: Run yarn-deduplicate
* Further attempts to remove rich-markdown-editor from initial chunk
* perf: Lazy loading of authenticated routes
* perf: Move color picker to async loading
fix: Display placeholder when loading rich editor
* fix: Cache bust on auto reload
2020-08-14 17:23:58 -07:00
d3350c20b6
perf: Attempt websocket connection before polling
2020-08-14 13:37:11 -07:00
174acfac32
fix: Unnecessary shares.info request when loading public share ( #1453 )
...
closes #1450
2020-08-13 16:48:03 -07:00
9ef4e2b437
Update LICENSE
2020-08-12 20:04:48 -07:00
8088da8cf3
0.46.0
2020-08-12 20:03:57 -07:00
221ee48429
fix: Don't mangle class names in production
2020-08-12 19:28:15 -07:00
ffe8c046ef
fix: Bump RME – Improves floating toolbar behavior
2020-08-12 17:01:27 -07:00
dbe8a10702
fix: Login to X should be centered when team name wraps to newline
2020-08-12 14:05:32 -07:00
11f7e3a060
chore: Bundle Stats / Webpack v4 ( #1448 )
...
* chore: Experiment with bundle size monitoring service
* chore: Ensure build runs on CI, move lint and flow before test
* chore: Upgrade Webpack v3 -> v4
* chore: Add webpack-cli
Remove unused dep
Move deps to dev
* Move babel deps to production
* Move babel deps to production
2020-08-12 13:16:10 -07:00
0f41a04e49
refactor: Remove centralized Modal management ( #1444 )
...
* refactor: Finally remove centralized Modals component
* chore: Cleanup related unused methods in UiStore
2020-08-12 10:49:15 -07:00
d055021ad4
chore: Remove all usage of collection.type ( #1445 )
...
* chore: Remove all usage of collection.type
* migration: Remove type column
2020-08-12 10:49:02 -07:00
810dc5a061
feat: Clicking the last updated time should open document history sidebar
...
Ref #1285
2020-08-11 21:01:03 -07:00
7abe375b3e
refactor: Removed unusued index on the onSearchLink ( #1420 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2020-08-11 19:59:11 -07:00
63371d8f5b
flow
2020-08-11 18:59:57 -07:00
6e61df0729
fix: Improved loading jank fix, new DelayedMount component
2020-08-10 21:30:12 -07:00
5ddc4000d0
fixes: Strange scroll behavior on long collection descriptions
...
closes #1391
2020-08-10 16:23:55 -07:00
48b61559cc
fixes: JS error when attempting to show toast messages from collection description editor
2020-08-10 16:04:23 -07:00
0cac5cfe51
fix: Prevent reload loop with error on editor load
2020-08-10 15:52:45 -07:00
e9ce80a3aa
fixes: Case where websocket will not reconnect
...
closes #1384
2020-08-09 23:25:27 -07:00
07d488c826
fix: GitHub Gist embed reliability, closes #1400
2020-08-09 21:53:57 -07:00
e2bd03494d
chore: Update syntax, improve more typing ( #1439 )
...
* chore: <React.Fragment> to <>
* flow types
2020-08-09 09:48:04 -07:00
ead55442e0
flow: Restore lesser flowtype for styled-components
...
The current flow-typed def requires an insane amount of manual typing that just doesnt
make any sense. Restoring the old definition for now:
https://github.com/flow-typed/flow-typed/issues/3766
2020-08-08 23:41:02 -07:00
449dc55aaa
chore: Upgrade Babel, Jest, Eslint ( #1437 )
...
* chore: Upgrade Prettier 1.8 -> 2.0
* chore: Upgrade Babel 6 -> 7
* chore: Upgrade eslint plugins
* chore: Add eslint import/order rules
* chore: Update flow-typed deps
2020-08-08 22:53:59 -07:00
e312b264a6
chore: Upgrade Prettier 1.8 -> 2.0 ( #1436 )
2020-08-08 18:53:11 -07:00
68dcb4de5f
fix: Catch expected error when shares.info returns 404
2020-08-08 17:55:21 -07:00
d2b9a5c03f
fix: Various React errors in console
2020-08-08 17:51:40 -07:00
1b023fb6d7
fix: Remove flash of loading state for document lists
2020-08-08 17:39:30 -07:00
afe4553a7e
chore: Resolve 2 open security alerts
2020-08-08 17:35:42 -07:00
139e2e29d7
flow
2020-08-08 17:12:36 -07:00
638418432a
test
2020-08-08 16:32:12 -07:00
c6d2467fae
chore: Upgrade Flow to v0.104.0
2020-08-08 16:26:20 -07:00
e9387db895
chore: Remove unused flow-typed
2020-08-08 16:05:32 -07:00
065d04ec98
chore: Missing flow types
2020-08-08 15:58:34 -07:00
869fc086d6
feat: Templates ( #1399 )
...
* Migrations
* New from template
* fix: Don't allow public share of template
* chore: Template badges
* fix: Collection active
* feat: New doc button on template list item
* feat: New template menu
* fix: Sorting
* feat: Templates onboarding notice
* fix: New doc button showing on archived/deleted templates
2020-08-08 15:18:37 -07:00
59c24aba7c
chore(deps): bump elliptic from 6.5.2 to 6.5.3 ( #1406 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-30 19:23:44 -07:00
bc4806ac30
feat: Allow checkboxes to be toggled without going into 'edit' mode ( #1349 )
2020-07-28 20:43:34 -07:00