Tom Moor
fff0812659
Various commenting improvements ( #4941 )
...
* fix: New threads attached to previous as replies
* fix: Cannot use floating toolbar properly in comments
* perf: Avoid re-writing history on click in editor
* fix: Comment on text selection
* fix: 'Copy link' on comments uses wrong hostname
* Show comment buttons on input focus rather than non-empty input
Increase maximum sidebar size
* Allow opening comments from document menu
* fix: Clicking comment menu should not focus thread
* fix: Selection color
* fix: Draft comments not restored
* Add border above document level comment input
* fix: Floating toolbar not constrainted by offset parent
* fix flash of no comment on saving
* fix: Clicking on editor does not remove draft mark
2023-02-27 16:50:35 -08:00
Apoorv Mishra
6b00ced48f
fix: use LOG_LEVEL to set server log severity ( #4937 )
2023-02-27 21:36:01 +05:30
Tom Moor
51909772a4
Webhook support for comments ( #4932 )
...
* fix: Restore newlines in code line numbers as safety measure
* Add comments to webhook payloads
2023-02-26 11:20:00 -08:00
Tom Moor
08df14618c
Various commenting improvements ( #4938 )
...
* fix: New threads attached to previous as replies
* fix: Cannot use floating toolbar properly in comments
* perf: Avoid re-writing history on click in editor
* fix: Comment on text selection
* fix: 'Copy link' on comments uses wrong hostname
* Show comment buttons on input focus rather than non-empty input
Increase maximum sidebar size
* Allow opening comments from document menu
* fix: Clicking comment menu should not focus thread
2023-02-26 11:19:12 -08:00
Tom Moor
b813f20f8f
fix: Tab no longer works to nest lists (regression from comment merge)
2023-02-25 22:48:31 -05:00
Tom Moor
f0484c8417
fix: Restore newlines in code line numbers as safety measure
2023-02-25 17:51:31 -05:00
Tom Moor
64371b82d1
fix: Use of this inside functional component (bad merge)
2023-02-25 16:38:17 -05:00
Mohamed ELIDRISSI
00baa2bd6d
refactor: add server side validation schema for groups ( #4881 )
...
* refactor: move files to subfolder
* refactor: schema for groups.list
* refactor: schema for groups.info
* refactor: schema for groups.create
* refactor: schema for groups.update
* refactor: schema for groups.delete
* refactor: schema for groups.memberships
* refactor: schema for groups.add_user
* refactor: schema for groups.remove_user
2023-02-25 12:03:23 -08:00
Tom Moor
fc8c20149f
feat: Comments ( #4911 )
...
* Comment model
* Framework, model, policy, presenter, api endpoint etc
* Iteration, first pass of UI
* fixes, refactors
* Comment commands
* comment socket support
* typing indicators
* comment component, styling
* wip
* right sidebar resize
* fix: CMD+Enter submit
* Add usePersistedState
fix: Main page scrolling on comment highlight
* drafts
* Typing indicator
* refactor
* policies
* Click thread to highlight
Improve comment timestamps
* padding
* Comment menu v1
* Change comments to use editor
* Basic comment editing
* fix: Hide commenting button when disabled at team level
* Enable opening sidebar without mark
* Move selected comment to location state
* Add comment delete confirmation
* Add comment count to document meta
* fix: Comment sidebar togglable
Add copy link to comment
* stash
* Restore History changes
* Refactor right sidebar to allow for comment animation
* Update to new router best practices
* stash
* Various improvements
* stash
* Handle click outside
* Fix incorrect placeholder in input
fix: Input box appearing on other sessions erroneously
* stash
* fix: Don't leave orphaned child comments
* styling
* stash
* Enable comment toggling again
* Edit styling, merge conflicts
* fix: Cannot navigate from insights to comments
* Remove draft comment mark on click outside
* Fix: Empty comment sidebar, tsc
* Remove public toggle
* fix: All comments are recessed
fix: Comments should not be printed
* fix: Associated mark should be removed on comment delete
* Revert unused changes
* Empty state, basic RTL support
* Create dont toggle comment mark
* Make it feel more snappy
* Highlight active comment in text
* fix animation
* RTL support
* Add reply CTA
* Translations
2023-02-25 12:03:05 -08:00
Tom Moor
59e25a0ef0
fix: New Japanese translations from Crowdin ( #4927 )
2023-02-25 11:15:33 -08:00
Apoorv Mishra
af3edd7cb2
fix: coalesce falsy body to {} ( #4929 )
2023-02-25 11:14:44 -08:00
dependabot[bot]
05c5d0637e
chore(deps): bump koa-body from 4.2.0 to 6.0.1 ( #4806 )
...
* chore(deps): bump koa-body from 4.2.0 to 6.0.1
Bumps [koa-body](https://github.com/koajs/koa-body ) from 4.2.0 to 6.0.1.
- [Release notes](https://github.com/koajs/koa-body/releases )
- [Changelog](https://github.com/koajs/koa-body/blob/master/CHANGELOG.md )
- [Commits](https://github.com/koajs/koa-body/compare/v4.2.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: koa-body
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update types
* test
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-02-24 05:11:49 -08:00
Tom Moor
f7a62e2497
New Crowdin updates ( #4909 )
2023-02-23 20:15:17 -08:00
dependabot[bot]
51aa6c5c30
chore(deps): bump @bull-board/koa from 4.6.2 to 4.12.1 ( #4906 )
...
Bumps [@bull-board/koa](https://github.com/felixmosh/bull-board/tree/HEAD/packages/koa ) from 4.6.2 to 4.12.1.
- [Release notes](https://github.com/felixmosh/bull-board/releases )
- [Changelog](https://github.com/felixmosh/bull-board/blob/master/CHANGELOG.md )
- [Commits](https://github.com/felixmosh/bull-board/commits/v4.12.1/packages/koa )
---
updated-dependencies:
- dependency-name: "@bull-board/koa"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 19:19:27 -08:00
dependabot[bot]
9d9df81dec
chore(deps): bump sequelize from 6.20.1 to 6.29.0 ( #4921 )
...
* chore(deps): bump sequelize from 6.20.1 to 6.29.0
Bumps [sequelize](https://github.com/sequelize/sequelize ) from 6.20.1 to 6.29.0.
- [Release notes](https://github.com/sequelize/sequelize/releases )
- [Commits](https://github.com/sequelize/sequelize/compare/v6.20.1...v6.29.0 )
---
updated-dependencies:
- dependency-name: sequelize
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* lint
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-02-23 19:19:12 -08:00
Tom Moor
3acc352cf0
Fix PWA manifest ( #4922 )
2023-02-23 18:52:25 -08:00
Tom Moor
49bc0ed9f7
Optimize lodash bundle size ( #4919 )
...
* Optimize lodash bundle size
* Move to vite plugins
2023-02-23 17:57:11 -08:00
Tom Moor
a92534dfac
fix: Bundle size calculation includes development React ( #4912 )
2023-02-21 19:57:05 -08:00
Tom Moor
2f64d3c172
Restore core-js dependency
2023-02-21 14:13:55 -05:00
Tom Moor
eb42f8006d
chore: Remove 16+ unused dependencies ( #4910 )
...
* chore: Remove no-longer used webpack loaders
* chore: Remove migration of markdown from Slate documents (2y old)
* chore: Remove more unused deps
* chore: Remove explicit core-js dep
* Remove more unused dependencies
* test
2023-02-21 08:43:28 -08:00
Tom Moor
0887219be6
chore: Bump babel, remove lodash plugin ( #4908 )
2023-02-20 18:32:46 -08:00
dependabot[bot]
f8fe3a749e
chore(deps): bump @babel/plugin-proposal-decorators ( #4904 )
...
Bumps [@babel/plugin-proposal-decorators](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-decorators ) from 7.18.10 to 7.21.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.21.0/packages/babel-plugin-proposal-decorators )
---
updated-dependencies:
- dependency-name: "@babel/plugin-proposal-decorators"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 18:13:35 -08:00
dependabot[bot]
7de9a9b906
chore(deps): bump vite from 4.1.1 to 4.1.3 ( #4907 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.1.1 to 4.1.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.1.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 18:12:54 -08:00
Tom Moor
c33a4103e7
chore: Remove setimmediate polyfill ( #4903 )
...
* Add setimmediate to dependencies
* Remove use of setimmediate
2023-02-20 08:24:14 -08:00
Tom Moor
a9e373c72f
fix: HMR in development
2023-02-20 11:23:25 -05:00
Tom Moor
0e622288ff
fix: Line-numbering in code blocks runs horizontal on Linux
...
closes #4901
2023-02-20 09:08:07 -05:00
Tom Moor
0514c119f9
New Crowdin updates ( #4860 )
2023-02-19 19:52:41 -08:00
Tom Moor
21a1257d06
chore: Move remaining auth methods to plugins ( #4900 )
...
* Move Google, Email, and Azure to plugins
* Move OIDC provider, remove old loading code
* Move AuthLogo to plugin
* AuthLogo -> PluginIcon
* Lazy load plugin settings
2023-02-19 19:52:08 -08:00
Tom Moor
667ffdeaf1
fix: Import size should use larger of AWS_S3_UPLOAD_MAX_SIZE and MAX_IMPORT_SIZE
...
closes #4899
2023-02-19 19:18:31 -05:00
Tom Moor
f63441c15d
fix: Docker build
2023-02-19 12:22:37 -05:00
Tom Moor
618967d6da
Ensure development commands are ran with development env
...
Ref #4889
2023-02-19 11:17:31 -05:00
Tom Moor
70beb7524f
feat: Custom accent color ( #4897 )
...
* types
* Working, but messy
* Add InputColor component
* types
* Show default theme values when not customized
* Support custom theme on team sign-in page
* Payload validation
* Custom theme on shared documents
* Improve theme validation
* Team -> Workspace in settings
2023-02-19 07:43:03 -08:00
Tom Moor
7c05b7326a
test
2023-02-18 14:16:34 -05:00
Tom Moor
4805259823
fix: Cursor position changes on new token with line numbers enabled ( #4896 )
...
Move line numbers to psuedo element
2023-02-18 10:56:26 -08:00
Tom Moor
66b5dd0a2b
fix: Do not show authentication provider plugins that aren't enabled
2023-02-18 13:56:03 -05:00
Tom Moor
aece719a07
fix: Trim trailing digits from minimized classnames
2023-02-17 19:04:50 -05:00
Tom Moor
2cd5d0e624
chore: Bump Node to 18 LTS ( #4795 )
...
* Bump Node to 18 LTS
* Upgrade Jest
2023-02-16 05:33:54 -08:00
Tom Moor
0207786eec
Update Mermaid.js ( #4883 )
...
* Update Mermaid.js
* tsc
* Allow using more CI resources
* Downgrade
2023-02-15 20:46:32 -08:00
Tom Moor
12aca51541
0.68.0
2023-02-15 22:51:21 -05:00
Hans Pagel
e754f89e5c
Replace Webpack with Vite ( #4765 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
Co-authored-by: Vio <vio@beanon.com >
2023-02-15 19:39:46 -08:00
Tom Moor
490d05b68b
fix: Incorrect key events trigger on non-qwerty layouts
2023-02-14 19:09:44 -05:00
Tom Moor
b50bee1ec7
fix: ga is not defined
2023-02-14 19:03:54 -05:00
Mohamed ELIDRISSI
0976e85a1a
refactor: add server side validation schema for authProviders ( #4876 )
...
* refactor: move files to subfolder
* refactor: schema for authenticationProviders.info
* refactor: schema for authenticationProviders.update
* refactor: use validated body
2023-02-14 14:49:24 -08:00
dependabot[bot]
ab7b20958b
chore(deps): bump fs-extra and @types/fs-extra ( #4871 )
...
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra ) and [@types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra ). These dependencies needed to be updated together.
Updates `fs-extra` from 4.0.3 to 11.1.0
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases )
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/4.0.3...11.1.0 )
Updates `@types/fs-extra` from 9.0.13 to 11.0.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra )
---
updated-dependencies:
- dependency-name: fs-extra
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: "@types/fs-extra"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 05:57:10 -08:00
dependabot[bot]
8fc1f67697
chore(deps): bump react-i18next from 12.1.1 to 12.1.5 ( #4872 )
...
Bumps [react-i18next](https://github.com/i18next/react-i18next ) from 12.1.1 to 12.1.5.
- [Release notes](https://github.com/i18next/react-i18next/releases )
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/react-i18next/compare/v12.1.1...v12.1.5 )
---
updated-dependencies:
- dependency-name: react-i18next
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 05:56:46 -08:00
Tom Moor
60101c507a
Move bulk of webhook logic to plugin ( #4866 )
...
* Move bulk of webhook logic to plugin
* Re-enable cleanup task
* cron tasks
2023-02-12 16:28:11 -08:00
Tom Moor
7895ee207c
Clear previous plugin and server files in build directory before rebuilding
2023-02-12 16:43:20 -05:00
Tom Moor
e028715afb
Minor fixes from enterprise codebase
2023-02-12 16:31:15 -05:00
Tom Moor
33afa2f029
Plugin architecture ( #4861 )
...
* wip
* Refactor, tasks, processors, routes loading
* Move Slack settings config to plugin
* Fix translations in plugins
* Move Slack auth to plugin
* test
* Move other slack-related files into plugin
* Forgot to save
* refactor
2023-02-12 10:11:30 -08:00
Mohamed ELIDRISSI
492beedf00
refactor: add server side validation schema for apiKeys ( #4859 )
...
* refactor: add tests for apiKey api routes
* refactor: move files to subfolder
* refactor: schema for apiKeys.create and apiKeys.delete
2023-02-11 15:02:52 -08:00