Tom Moor
474f9ccfd5
iterate
2023-02-28 20:23:29 -05:00
Tom Moor
976cc7dce5
Fine, no popper
2023-02-28 19:58:12 -05:00
Tom Moor
164748421c
First pass
2023-02-28 19:50:58 -05:00
Tom Moor
e4ec1681d5
fix: Cannot scroll on mobile with image on screen
2023-02-28 18:59:22 -05:00
Tom Moor
739a291a46
fix: Cannot read properties of undefined (reading 'message')
2023-02-28 18:55:25 -05:00
Tom Moor
402406a3f7
Search for docs matching selected text when opening link editor
2023-02-28 08:58:45 -05:00
Tom Moor
372c46e2ad
Escape to defocus editor
2023-02-27 23:27:17 -05:00
Tom Moor
69612641ce
Improve leave animation on new thread form
2023-02-27 23:00:27 -05:00
Tom Moor
58ff82e7b9
fix: Floating toolbar on comments too tight
2023-02-27 21:09:52 -05:00
dependabot[bot]
18905535d3
chore(deps-dev): bump eslint-plugin-react-hooks from 4.2.0 to 4.6.0 ( #4944 )
...
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks ) from 4.2.0 to 4.6.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks )
---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
dependency-type: direct:development
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-27 17:24:49 -08:00
dependabot[bot]
0ca44223ea
chore(deps-dev): bump terser from 5.16.3 to 5.16.5 ( #4946 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.16.3 to 5.16.5.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/compare/v5.16.3...v5.16.5 )
---
updated-dependencies:
- dependency-name: terser
dependency-type: direct:development
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-27 17:24:27 -08:00
dependabot[bot]
cf561e3482
chore(deps): bump ioredis from 5.2.4 to 5.3.1 ( #4947 )
...
Bumps [ioredis](https://github.com/luin/ioredis ) from 5.2.4 to 5.3.1.
- [Release notes](https://github.com/luin/ioredis/releases )
- [Changelog](https://github.com/luin/ioredis/blob/main/CHANGELOG.md )
- [Commits](https://github.com/luin/ioredis/compare/v5.2.4...v5.3.1 )
---
updated-dependencies:
- dependency-name: ioredis
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-27 17:24:12 -08:00
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
vgwidt
9302beb630
fix: Visual Basic syntax higlighting ( #4769 ) ( #4770 )
2023-02-11 09:31:37 -08:00
Tom Moor
c5cb02e980
fix: Text color on key component
2023-02-10 23:18:10 -05:00
Tom Moor
db446ba67d
New Crowdin updates ( #4734 )
2023-02-10 19:36:51 -08:00
Tom Moor
237313a97d
fix: Action children not triggerable
2023-02-10 22:36:00 -05:00
Tom Moor
fcbd4d3d28
Track action usage
2023-02-10 18:56:12 -05:00
Tom Moor
bb6f4b1c1e
fix: Attachment converted to links when AWS ACL is public-read, closes #4853
2023-02-10 17:42:09 -05:00
Tom Moor
23b8cc307e
Revert "allow node 17 & 18 when installing dependencies ( #4844 )" ( #4846 )
...
This reverts commit c75c61ca4b .
2023-02-08 15:47:09 -08:00
Hans Pagel
c75c61ca4b
allow node 17 & 18 when installing dependencies ( #4844 )
2023-02-08 16:22:56 +01:00
Tom Moor
81f655f402
fix: Links with strikethrough do not have hover preview ( #4841 )
...
* fix: Links with strikethrough do not have hover preview
* refactor
2023-02-07 19:36:15 -08:00
dependabot[bot]
bb1fe1a25f
chore(deps): bump zod from 3.19.1 to 3.20.2 ( #4833 )
...
Bumps [zod](https://github.com/colinhacks/zod ) from 3.19.1 to 3.20.2.
- [Release notes](https://github.com/colinhacks/zod/releases )
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md )
- [Commits](https://github.com/colinhacks/zod/compare/v3.19.1...v3.20.2 )
---
updated-dependencies:
- dependency-name: zod
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-06 18:34:22 -08:00
dependabot[bot]
b9ffe8aaa3
chore(deps): bump tiny-cookie from 2.3.2 to 2.4.0 ( #4836 )
...
Bumps [tiny-cookie](https://github.com/Alex1990/tiny-cookie ) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/Alex1990/tiny-cookie/releases )
- [Changelog](https://github.com/Alex1990/tiny-cookie/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Alex1990/tiny-cookie/compare/v2.3.2...v2.4.0 )
---
updated-dependencies:
- dependency-name: tiny-cookie
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-06 18:33:56 -08:00
dependabot[bot]
97775e14df
chore(deps): bump immutable from 4.2.2 to 4.2.4 ( #4835 )
...
Bumps [immutable](https://github.com/immutable-js/immutable-js ) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/immutable-js/immutable-js/releases )
- [Changelog](https://github.com/immutable-js/immutable-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/immutable-js/immutable-js/compare/v4.2.2...v4.2.4 )
---
updated-dependencies:
- dependency-name: immutable
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-06 18:33:27 -08:00
Tom Moor
0b6c9d1838
Improve drag-and-drop ( #4824 )
...
* Improve drag-and-drop
* fixes
* fix drop highlight showing on ghosted sidebar item
2023-02-04 12:00:32 -08:00
Tom Moor
239e9e294d
fix: Microsoft auth silently errors when logged into multiple Microsoft accounts, allow account selection in OAuth flow
2023-02-04 14:56:52 -05:00
Tom Moor
9b002abae3
fix: Ensure tsvector content is below 1Mb limitation
...
closes #4714
2023-02-04 14:26:54 -05:00
Tom Moor
534eeacc97
fix: Documents with images exported as HTML have broken images
...
closes #4822
2023-02-04 14:04:38 -05:00
Tom Moor
8b28d6f6e0
fix: Suppress Slack updated notifications when publishing
...
closes #4821
2023-02-04 14:00:30 -05:00
Tom Moor
59b02154b9
Merge branch 'main' of github.com:outline/outline
2023-02-03 23:08:34 -05:00
Apoorv Mishra
0d6651b0da
Scroll children into view upon expansion ( #4812 )
...
* feat: smoothly scroll children into view
* fix: disable smooth scroll and throttling
2023-02-03 09:41:24 +05:30
Tom Moor
a1cefa9771
fix: FORCE_HTTPS setting results in redirect loop when Outline terminates SSL
2023-02-02 21:45:33 -05:00
Apoorv Mishra
1caa51f58e
Viewer should be allowed to subscribe to a document ( #4814 )
...
* fix: viewer should be allowed to subscribe to a document
* fix: allow subscribe only if the user has read permission for collection
2023-01-31 19:46:10 +05:30
Tom Moor
a2e07e9593
chore: Bump kbar
2023-01-31 08:53:38 -05:00
dependabot[bot]
8f166ca775
chore(deps-dev): bump jest-cli from 28.1.3 to 29.4.1 ( #4805 )
...
* chore(deps-dev): bump jest-cli from 28.1.3 to 29.4.1
Bumps [jest-cli](https://github.com/facebook/jest/tree/HEAD/packages/jest-cli ) from 28.1.3 to 29.4.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.1/packages/jest-cli )
---
updated-dependencies:
- dependency-name: jest-cli
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Snapshots
---------
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-01-30 20:17:09 -08:00
dependabot[bot]
d70aefe9fa
chore(deps): bump immutable from 4.0.0 to 4.2.2 ( #4807 )
...
Bumps [immutable](https://github.com/immutable-js/immutable-js ) from 4.0.0 to 4.2.2.
- [Release notes](https://github.com/immutable-js/immutable-js/releases )
- [Changelog](https://github.com/immutable-js/immutable-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/immutable-js/immutable-js/compare/v4.0.0...v4.2.2 )
---
updated-dependencies:
- dependency-name: immutable
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-01-30 19:58:33 -08:00
dependabot[bot]
4bc441cc9f
chore(deps): bump react-dnd from 14.0.1 to 16.0.1 ( #4808 )
...
Bumps [react-dnd](https://github.com/react-dnd/react-dnd ) from 14.0.1 to 16.0.1.
- [Release notes](https://github.com/react-dnd/react-dnd/releases )
- [Changelog](https://github.com/react-dnd/react-dnd/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react-dnd/react-dnd/commits )
---
updated-dependencies:
- dependency-name: react-dnd
dependency-type: direct:production
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-01-30 19:58:06 -08:00
Tom Moor
f39487d25b
fix: PaginatedList does not always load more ( #4811 )
2023-01-30 19:53:14 -08:00
dependabot[bot]
65a4874301
chore(deps): bump sequelize-typescript from 2.1.3 to 2.1.5 ( #4804 )
...
Bumps [sequelize-typescript](https://github.com/RobinBuschmann/sequelize-typescript ) from 2.1.3 to 2.1.5.
- [Release notes](https://github.com/RobinBuschmann/sequelize-typescript/releases )
- [Changelog](https://github.com/sequelize/sequelize-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RobinBuschmann/sequelize-typescript/compare/v2.1.3...v2.1.5 )
---
updated-dependencies:
- dependency-name: sequelize-typescript
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-01-30 18:19:01 -08:00
Tom Moor
d1268167c8
Increase build speed by running concurrently
2023-01-29 16:18:54 -05:00
Tom Moor
80a8f5b7e2
feat: For changes in long tables do not print the entire table in the emailed diff ( #4800 )
2023-01-29 11:48:37 -08:00
Tom Moor
5473b698a4
Inject DataDog trace ID's into logs when enabled
2023-01-29 13:40:26 -05:00
Apoorv Mishra
2e6c960ae9
fix: remove document name from path ( #4798 )
2023-01-29 10:36:37 -08:00
Tom Moor
d02d3cb55d
feat: Add import/export of documents as JSON ( #4621 )
...
* feat: Add export of documents as JSON
* Rename, add structured collection description
* stash
* ui
* Add entity creation data to JSON archive
* Import JSON UI plumbing
* stash
* Messy, but working
* tsc
* tsc
2023-01-29 10:24:44 -08:00
Tom Moor
85ca25371c
test ( #4796 )
2023-01-29 06:28:57 -08:00
Tom Moor
f0d9bb4898
Friendlier active tab design
2023-01-28 17:22:30 -05:00
Tom Moor
4de780c339
fix: Cmd+K styling does not match context menus
...
closes #4701
2023-01-28 17:17:35 -05:00
Tom Moor
075555a867
fix: Do not show actively disabled auth providers in self-hosted install ( #4794 )
...
* fix: Do not show actively disabled auth providers in self-hosted installation
* self review
* Refactor for easier mocking
2023-01-28 10:02:25 -08:00
Tom Moor
aac495fa58
fix: Pipe characters in code marks within tables cause the table layout to break
...
closes #4783
2023-01-28 13:01:02 -05:00
Apoorv Mishra
7dbc419bbf
Change "Move" dialog appearance to match that of "Publish" dialog ( #4787 )
...
* refactor: receive items as props in DocumentExplore
* refactor: leverage DocumentExplorer for DocumentMove
* fix: keyboard shortcut for moving document
* refactor: cleanup
* Revert "refactor: cleanup"
This reverts commit 9a0a98eff2 .
* fix: get rid of extra parent container
* Revert "fix: get rid of extra parent container"
This reverts commit 908eaf2bba .
* refactor: remove PathToDocument component
2023-01-28 22:33:56 +05:30
Apoorv Mishra
0c572ac2c4
Duplicate docs as unpublished drafts ( #4791 )
...
* feat: duplicate docs as unpublished drafts
* fix: use isTemplate
* fix: no need of ternary
2023-01-28 21:32:59 +05:30
Apoorv Mishra
6d45566be3
fix: missing collection name in path in explorer search results ( #4793 )
2023-01-28 06:29:59 -08:00
Tom Moor
d5eabd7771
fix: Allow loading attachments linked from other sites/emails.
...
Loosens same-site policy to include cookies for navigation events.
closes #4737
2023-01-27 18:52:47 -05:00
Tom Moor
b5876dc844
fix: Fallback to username when name is unavailable in OIDC provider
...
closes #4774
2023-01-27 18:18:08 -05:00
Tom Moor
0272ea03bd
fix: Text in revisions is unreadable in dark mode, closes #4782
2023-01-27 18:13:08 -05:00
Apoorv Mishra
ad902af52c
Move tree implementation out of collections store ( #4763 )
...
* refactor: attaching emoji in tree node is unnecessary
* refactor: pass depth and hasChildren as separate props
* refactor: move tree impl into a separate hook
* refactor: separate out as DocumentExplorer for reuse
* fix: separate search and node
* fix: review comments
* fix: tsc
2023-01-27 11:33:51 +05:30
Tom Moor
cc14c212b6
fix: Unable to access localStorage in document embedded in iframe with third party cookies blocked ( #4777 )
...
* fix: Pasting from Microsoft Office pastes image. Closes #3058
* fix: Use Storage wrapper implementation for all editor calls to localStorage
closes #4776
2023-01-26 04:48:56 -08:00
Tom Moor
9ea606a734
fix: Pasting from Microsoft Office pastes image. Closes #3058
2023-01-25 22:37:47 -05:00
Tom Moor
784631baf4
fix: Handle missing size on attachment
2023-01-25 22:30:21 -05:00
Tom Moor
6ab428a498
fix: Link toolbar does not allow doc search, closes #4757
2023-01-24 09:08:02 -05:00
Apoorv Mishra
88a1f72b59
fix: collections order in publish modal should match with the order in sidebar ( #4762 )
2023-01-24 04:23:58 -08:00
dependabot[bot]
2021f192bd
chore(deps): bump cookiejar from 2.1.3 to 2.1.4 ( #4758 )
...
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar ) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases )
- [Commits](https://github.com/bmeck/node-cookiejar/commits )
---
updated-dependencies:
- dependency-name: cookiejar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 17:48:14 -08:00
dependabot[bot]
1b6496dff4
chore(deps): bump koa-sslify from 5.0.0 to 5.0.1 ( #4753 )
...
Bumps [koa-sslify](https://github.com/turboMaCk/koa-sslify ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/turboMaCk/koa-sslify/releases )
- [Changelog](https://github.com/turboMaCk/koa-sslify/blob/master/CHANGELOG.md )
- [Commits](https://github.com/turboMaCk/koa-sslify/commits )
---
updated-dependencies:
- dependency-name: koa-sslify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 17:41:07 -08:00
dependabot[bot]
6c5dadff8c
chore(deps-dev): bump lint-staged from 12.3.8 to 13.1.0 ( #4754 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 12.3.8 to 13.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v12.3.8...v13.1.0 )
---
updated-dependencies:
- dependency-name: lint-staged
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 17:38:52 -08:00
Apoorv Mishra
6b286d82b8
Ability to choose publish location for a document ( #4582 )
...
* feat: initial base structure
* feat: utils for constructing and flattening collection tree
* feat: basic demo to display tree-like structure with virtualization
* feat: make it searchable
* feat: row component
* fix: handle row selection
* fix: scroll jitter
* fix: popover max-height to eliminate extra scroll
* fix: position scrollbar correctly
* fix: do not sort to maintain correct tree-like view
* feat: footer
* fix: scroll to selected item
* fix: deselect item
* fix: display selected location in footer
* fix: deselect item if any upon search trigger
* fix: create draft without collection
* fix: pass down collectionId to all the nodes
* feat: publish document under selected location
* fix: move the doc post publish in case it is supposed to be a nested doc
* fix: wrap text for selected location
* fix: footer background in dark mode and unused css
* fix: popover height in small devices
* fix: no need to spread
* refactor: remove outline
* refactor: border-radius is common
* refactor: remove active and focus
* fix: do not shrink spacer
* fix: scroll list padding with correctly adjusted scrolling
* refactor: use constants
* fix: use padding in favor of spacer
* refactor: border attrs not needed
* refactor: control title padding and icon size centrally
* fix: rename param
* fix: import path
* fix: refactor styles, avoid magic numbers
* fix: type err
* feat: make rows collapsible
* fix: fully expanded without disclosure upon search
* fix: use modal in place of popover
* fix: collapse descendants
* fix: rename PublishPopover to PublishModal
* fix: adjust collapse icon as part of tree view
* fix: enable keyboard navigation
* not sure why collapse and expand shortcuts are not working
* fix: row expansion and search box focus and blur
* fix: remove css hover, handle it via active prop
* fix: discard tree like view for search results
* fix: minor tweaks
* refactor: no need to pass onPublish
* refactor: remove unnecessary attrs from search component
* fix: publish button text
* fix: reset intial scroll offset to 0 on search
* fix: remove search highlights
* fix: clean up search component
* refactor: search and row collapse
* refactor: PublishLocation
* fix: show emoji or star icon if present
* fix: shift focus only from top item
* fix: leading emoji
* fix: baseline text
* fix: make path tertiary
* fix: do not show path for collections
* fix: path text color upon selection
* fix: deleted collection case
* fix: no results found
* fix: space around slash
* Refinement, some small refactors
* fix: Publish shortcut, use Button action
* Allow new document creation from command menu without active collection
* fix: duplicate
* fix: Unneccessary truncation
* fix: Scroll on expand/collapse
Remove wraparound
* fix: tsc
* fix: Horizontal overflow on PublishLocation
Remove pointless moveTo method
* fix: Missing translation
* Remove method indirection
Show expanded collection icon in tree when expanded
* Shrink font size a point
* Remove feature flag
* fix: Path color contrast in light mode
Remove unused expanded/show attributes
* shrink -> collapse, fix expanded disclosure without items after searching
* Mobile styles
* fix: scroll just into view
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-01-23 17:38:24 -08:00
Tom Moor
da4a0189dc
Update rateLimiter.ts
2023-01-22 14:37:52 -08:00
Tom Moor
312e11e7c1
fix: Any error from rate limiter results in 'Rate limit exceeded' screen
2023-01-22 11:31:48 -05:00
Tom Moor
d3dbf53d0b
chore: Add insurance rate limiter for when Redis is down/reconnecting
2023-01-22 11:04:30 -05:00
Tom Moor
5b561e98f7
chore: Add configurable per-document connection limit extension ( #4717 )
...
* chore: Add configurable per-document connection limit extension
* docs
2023-01-22 07:50:32 -08:00
Tom Moor
aa88bb2a7b
fix: Check browser has print ability before showing Print option
2023-01-22 10:32:31 -05:00
Tom Moor
f83b0ab5e3
fix: Remove :is selector (bad compatibility)
2023-01-22 10:22:41 -05:00
Tom Moor
095028541d
fix: Missing translations
2023-01-22 10:14:17 -05:00
Tom Moor
c1aa4c8dde
fix: Alignment of caption on fullwidth images
2023-01-22 10:13:15 -05:00
Tom Moor
049f49ebe8
fix: Fallback to initials instead of placeholder when offline
2023-01-22 09:46:52 -05:00
Tom Moor
f1406577b7
Color transition on icon picker
2023-01-21 23:37:08 -05:00
dependabot[bot]
1da6847e68
chore(deps-dev): bump @typescript-eslint/parser from 5.40.0 to 5.48.1 ( #4725 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.40.0 to 5.48.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.48.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-20 09:38:14 -08:00
Tom Moor
21ce145f67
0.67.2
2023-01-16 15:50:56 -08:00
Tom Moor
0a4c7091b5
chore: Yarn dedupe
2023-01-16 15:50:52 -08:00
dependabot[bot]
f0f574812d
chore(deps-dev): bump @babel/preset-typescript from 7.16.7 to 7.18.6 ( #4723 )
...
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript ) from 7.16.7 to 7.18.6.
- [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.18.6/packages/babel-preset-typescript )
---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 08:29:44 -08:00
dependabot[bot]
830763a9eb
chore(deps): bump jsdom from 20.0.3 to 21.0.0 ( #4721 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 20.0.3 to 21.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/20.0.3...21.0.0 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 08:29:25 -08:00
Tom Moor
55f2989a3d
New Crowdin updates ( #4624 )
...
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Ukrainian translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New Ukrainian translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New Ukrainian translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New Ukrainian translations from Crowdin [ci skip]
2023-01-15 12:48:57 -08:00
Tom Moor
788450136e
test: documents.update apiVersion 2 response
2023-01-15 09:43:56 -05:00
Tom Moor
0c269081d9
fix: Sidebar jumps when publish or unpublish document ( #4706 )
...
* Return updated collection in API response for documents.unpublish and documents.update
Allows for improved UX on clientside
* test
* tsc
* tsc
2023-01-15 06:01:06 -08:00
Tom Moor
31f743eb4c
fix: Incorrect spacing on IconPicker since menu style was changed
...
closes #4711
2023-01-14 23:27:45 -05:00
Aditya Sharma
4ca0fc32c1
show collection name in pin menu ( #4705 )
...
* show collection name in pin menu
* fix: fetching right collection name
* refactor: better variable names
* Update app/actions/definitions/documents.tsx
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Avoid additional translation
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-01-14 19:17:25 -08:00
Tom Moor
0bed01a062
fix: Cannot click on input in sidebar when editing doc/collection ( #4716 )
...
fix: Start editing with all text selected
fix: Styling issue around input
2023-01-14 19:14:50 -08:00
Tom Moor
a25372c186
fix: Full-width images in editor are incorrectly aligned in RTL documents
...
closes #4712
2023-01-14 21:47:33 -05:00
Tom Moor
51baba8fa8
fix: Small unfocusable area below last block in editor, closes #4713
2023-01-14 20:45:15 -05:00
Tom Moor
0cccd7141d
fix(collaboration): Avoid writing spurious changes from read-only users when serialized output changes
2023-01-13 23:54:44 -05:00
Tom Moor
6b438e3467
fix: Background on TOC does not transition smoothly on theme change
2023-01-13 22:22:31 -05:00
Tom Moor
0d53e5a7ba
chore: Clean build/ folder on every build, remove duplicative scripts
2023-01-13 22:18:25 -05:00
Tom Moor
e3db7455b3
feat: Add optional SMTP_NAME configuration for connecting to SMTP servers that require the client to have a specific hostname
2023-01-13 21:49:57 -05:00
Tom Moor
d20f379943
feat: Publish and Unpublish available in command menu
...
fix: Add default error handling for menu actions
2023-01-12 22:39:14 -05:00
Tom Moor
e347404502
chore: Improvements to document move behavior ( #4689 )
...
* chore: Improvements to document move behavior
* test
2023-01-12 18:48:09 -08:00
Tom Moor
17a8dbb3f0
fix: Prevent moving documents into drafts
2023-01-12 11:15:54 -05:00
Tom Moor
3be170ddb8
0.67.1
2023-01-11 21:27:37 -05:00
Tom Moor
4a97b35d5a
fix: Collection structure update on document move
2023-01-11 20:56:14 -05:00
Tom Moor
785b9888dd
Respond to slack url verification challenge with JSON instead of raw body
2023-01-11 09:07:15 -05:00
Tom Moor
d5158f0a34
0.67.0
2023-01-10 20:32:43 -05:00
Tom Moor
64b72bcf82
/bin/bash -> /bin/sh for Docker
2023-01-10 20:32:37 -05:00
Tom Moor
6be7409d85
fix: Mistake in i18n key
2023-01-10 18:13:59 -05:00
dependabot[bot]
fddcbbd7af
chore(deps): bump react-hook-form from 7.37.0 to 7.41.5 ( #4667 )
...
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form ) from 7.37.0 to 7.41.5.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases )
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md )
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.37.0...v7.41.5 )
---
updated-dependencies:
- dependency-name: react-hook-form
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 19:02:44 -08:00
dependabot[bot]
3e7f823e17
chore(deps): bump aws-sdk from 2.1189.0 to 2.1290.0 ( #4664 )
...
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js ) from 2.1189.0 to 2.1290.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases )
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1189.0...v2.1290.0 )
---
updated-dependencies:
- dependency-name: aws-sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 19:02:19 -08:00
dependabot[bot]
31c47ab37b
chore(deps): bump @joplin/turndown-plugin-gfm from 1.0.44 to 1.0.45 ( #4663 )
...
Bumps [@joplin/turndown-plugin-gfm](https://github.com/laurent22/joplin-turndown-plugin-gfm ) from 1.0.44 to 1.0.45.
- [Release notes](https://github.com/laurent22/joplin-turndown-plugin-gfm/releases )
- [Commits](https://github.com/laurent22/joplin-turndown-plugin-gfm/commits )
---
updated-dependencies:
- dependency-name: "@joplin/turndown-plugin-gfm"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 15:39:52 -08:00
dependabot[bot]
cbfb7d2c23
chore(deps): bump luxon from 3.0.1 to 3.2.1 ( #4660 )
...
Bumps [luxon](https://github.com/moment/luxon ) from 3.0.1 to 3.2.1.
- [Release notes](https://github.com/moment/luxon/releases )
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moment/luxon/compare/3.0.1...3.2.1 )
---
updated-dependencies:
- dependency-name: luxon
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 07:31:22 -08:00
Tom Moor
9617a15ae8
fix: No value supplied for attribute src
...
It shouldn't be possible to have an image node with no src, but it does happen occassionally and this prevents the document from persisting. It's better to have a broken image than a doc that won't save
2023-01-07 15:26:06 -05:00
Tom Moor
53414ec3ba
feat: Server side translation setup ( #4657 )
...
* Server side translation setup
* docs
2023-01-07 11:52:09 -08:00
Tom Moor
a333f48102
fix: Hanging }
2023-01-07 10:58:22 -05:00
Tom Moor
d4da33424b
fix: Math block overrides heading backspace key behavior
2023-01-07 10:01:21 -05:00
Tom Moor
e67ac1215a
feat: Allow moving draft documents ( #4652 )
...
* feat: Allow moving draft documents
* Allow drag-n-drop move of draft documents
* fix: Allow moving draft without a collection
* fix: Allow moving draft without a collection
2023-01-06 19:31:06 -08:00
Tom Moor
9f825b9adf
fix: Allow sort by title in documents.list
2023-01-06 16:58:39 -05:00
Tom Moor
4b47bffcf5
fix: images and files with cyrillic names don't import ( #4654 )
...
closes #4559
2023-01-06 06:02:15 -08:00
Tom Moor
cbd9971bc7
fix: Missing translation on Import screen
2023-01-06 08:32:55 -05:00
Tom Moor
c80aec5eb2
fix: build.sh copies dev webpack incorrectly
2023-01-06 05:26:13 -08:00
Tom Moor
5b60f1ab00
tsc
2023-01-05 21:25:17 -05:00
Tom Moor
ec2da746dc
chore: Convert LinkToolbar to functional component
...
Co-authored-by: Ítalo Sousa <italusousa@gmail.com >
2023-01-05 21:11:28 -05:00
Tom Moor
a065a8426f
fix: OL/UL inside of checkbox list is not styled correctly ( #4648 )
...
closes #4635
2023-01-05 17:18:07 -08:00
Apoorv Mishra
b6141442b7
Validate API request query ( #4642 )
...
* fix: refactor to accommodate authentication, transaction and pagination together into ctx.state
* feat: allow passing response type to APIContext
* feat: preliminary work for initial review
* fix: use unknown for base types
* fix: api/attachments
* fix: api/documents
* fix: jsdoc comment for input
* fix: replace at() with index access for compatibility
* fix: validation err message
* fix: error handling
* fix: remove unnecessary extend
2023-01-05 20:24:03 +05:30
Tom Moor
445d19f43e
chore: Extract product name from translation strings ( #4646 )
2023-01-04 19:00:57 -08:00
Tom Moor
f655288f67
fix: Issue where possibly logged into the wrong workspace when signing in via desktop app with multiple workspaces
2023-01-04 21:13:13 -05:00
Tom Moor
fc6bb3caef
fix: Unstable t method causing stars.list to fetch run multiple times. Seems this behavior changed in the recent dep bump
2023-01-04 20:42:48 -05:00
Apoorv Mishra
f4461573de
Refactor to accommodate authentication, transaction and pagination states together ( #4636 )
...
* fix: refactor to accommodate authentication, transaction and pagination together into ctx.state
* feat: allow passing response type to APIContext
2023-01-04 23:51:44 +05:30
Tom Moor
bb568d2e62
fix: Exports generate invalid internal links ( #4639 )
...
* refactoring
* Refactoring continues
* Refactor export, fix internal links in exported docs
* fix: Dupe document name detection
* sigh
2023-01-04 04:18:59 -08:00
Tom Moor
eb50c9e1f1
test: Remove tests associated with exporting documents from shareId
2023-01-03 22:49:02 -05:00
Tom Moor
a2e183627c
fix: Disabled authentication providers show as enabled in settings
2023-01-03 19:32:16 -05:00
Tom Moor
1c9eee2134
fix: Search on shared documents with custom slug not working
...
fix: Should not be able to export a document with shareId
2023-01-03 19:28:04 -05:00
Tom Moor
64d8f3091a
fix: 'Search titles' filter wraps to multiple lines on small screens
2023-01-02 21:25:24 -05:00
Tom Moor
0d920e02b1
chore: Remove query logging in test env
2023-01-02 21:06:39 -05:00
Tom Moor
6efcf1c1a8
chore: Refactor SearchHelper internals
2023-01-02 20:14:46 -05:00
Tom Moor
435969cf4b
chore: Refactor build:server to bashfile
2023-01-02 16:00:01 -05:00
Tom Moor
28a54113e1
fix: Always redirect to custom domain on server if set
2023-01-02 15:48:06 -05:00
Aditya Sharma
712ff8265e
feat: add search title only filter for search options ( #4587 )
...
* feat: search title only filter
* fix: page reload will keep settings
* fix: working with additional filters
* style changes
2023-01-02 10:00:10 -08:00
dependabot[bot]
b6234848fb
chore(deps): bump react-i18next from 11.16.6 to 12.1.1 ( #4634 )
...
* chore(deps): bump react-i18next from 11.16.6 to 12.1.1
Bumps [react-i18next](https://github.com/i18next/react-i18next ) from 11.16.6 to 12.1.1.
- [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/v11.16.6...v12.1.1 )
---
updated-dependencies:
- dependency-name: react-i18next
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update related deps, TS fixes
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-01-02 09:30:44 -08:00
dependabot[bot]
e4880daadf
chore(deps-dev): bump yarn-deduplicate from 3.1.0 to 6.0.1 ( #4633 )
...
Bumps [yarn-deduplicate](https://github.com/scinos/yarn-deduplicate ) from 3.1.0 to 6.0.1.
- [Release notes](https://github.com/scinos/yarn-deduplicate/releases )
- [Changelog](https://github.com/scinos/yarn-deduplicate/blob/master/CHANGELOG.md )
- [Commits](https://github.com/scinos/yarn-deduplicate/compare/v3.1.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: yarn-deduplicate
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 08:36:59 -08:00
dependabot[bot]
97b0fd465d
chore(deps-dev): bump html-webpack-plugin from 4.5.1 to 4.5.2 ( #4632 )
...
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases )
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/v4.5.2/CHANGELOG.md )
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v4.5.1...v4.5.2 )
---
updated-dependencies:
- dependency-name: html-webpack-plugin
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 08:36:18 -08:00
dependabot[bot]
423f961ca1
chore(deps): bump katex from 0.16.3 to 0.16.4 ( #4630 )
...
Bumps [katex](https://github.com/KaTeX/KaTeX ) from 0.16.3 to 0.16.4.
- [Release notes](https://github.com/KaTeX/KaTeX/releases )
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md )
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.3...v0.16.4 )
---
updated-dependencies:
- dependency-name: katex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 08:36:06 -08:00
Tom Moor
4ccff8cb29
chore: Convert GroupListItem, AddGroupsToCollection, AddPeopleToCollection, Drafts to functional components
2023-01-02 11:26:51 -05:00
Tom Moor
8c54f6330f
chore: Clarify import/export options
2023-01-02 10:39:49 -05:00
Tom Moor
846a1f8eab
fix: Remove extra spaces around hard break serialization, closes #4616
2023-01-02 10:26:46 -05:00
Tom Moor
205f7d2a7e
chore: Move Input to functional component ( #4629 )
...
* chore: Remove ReactHookWrappedInput workaround
Move Input to functional component
* I love Typescript
2023-01-01 10:35:02 -08:00
Tom Moor
2494ca39c1
fix: Improved GA4 integration
2023-01-01 12:27:09 -05:00
Tom Moor
8e4270c321
feat: Add GA integration, support for GA4 ( #4626 )
...
* GA integration settings
* trackingId -> measurementId
Hook up script
* Public page GA tracking
Correct layout of settings
* Remove multiple codepaths for loading GA measurementID, add missing db index
* Remove unneccessary changes, tsc
* test
2023-01-01 07:29:08 -08:00
Mohamed ELIDRISSI
dc795604a4
refactor: add server-side validation schema for events ( #4622 )
...
* refactor: move files to subfolder
* refactor: schema for events.list
* refactor: update nullable fields in Event model
* fix: event actor not nullable
* fix: team not nullable
2022-12-31 13:56:37 -08:00
Tom Moor
05a4f050bb
chore: Improve graceful server shutdown ( #4625 )
...
* chore: Improve graceful server shutdown
* Replace node timers with custom promise timeout
2022-12-31 13:56:27 -08:00
Tom Moor
ad9525bfa3
chore: Refactor icon components
...
fix: Alignment of Outline logo component
2022-12-31 12:26:39 -05:00
Tom Moor
575f70a9e2
fix: useMousePosition can set state after component unmounted
...
fix: Clicking item in SubMenu does not close parent menu
2022-12-31 10:34:23 -05:00
Tom Moor
e70f1ed84c
fix: Extra spacing below inputs
...
fix: UX fixes in share popover with custom links
2022-12-31 10:34:23 -05:00
Tom Moor
16958560e6
New Crowdin updates ( #4586 )
2022-12-31 06:06:46 -08:00
Tom Moor
cdbc6df485
chore: More tracing improvements
2022-12-31 09:04:45 -05:00
Tom Moor
c6fb764631
chore: Move tracing decorators into the codebase ( #4623 )
...
* Vendorize tracing, finally fix service name issues
* Upgrade datadaog-metrics, rename decorators -> tracing
* lint
2022-12-31 04:54:51 -08:00
Tom Moor
1e036ebd0e
fix: Nested documents do not respect export format
2022-12-30 20:36:15 -05:00
Tom Moor
7a1e6a1b73
feat: Bulk HTML export for collection
2022-12-30 20:13:29 -05:00
Tom Moor
1328162921
fix: Missing cascade constraints on stars table
2022-12-30 18:45:24 -05:00
Tom Moor
2e36ad9d1f
fix: Retain title attribute when parsing from Markdown sources
2022-12-30 15:54:31 -05:00
Tom Moor
c6c06ac4ce
test: Add test for table content
2022-12-30 15:27:18 -05:00
Tom Moor
b29a9fbeee
chore: Remove reliance on Markdown for document.getSummary, towards #3000
2022-12-30 15:14:59 -05:00
Tom Moor
0f489d54c3
Add DocumentHelper.toPlainText
2022-12-30 14:49:53 -05:00
Tom Moor
7c47ab560e
fix: Add check for 'name' returned from OIDC provider, closes #4453
2022-12-30 14:02:00 -05:00
Tom Moor
997d796eb7
chore: Remove anomalous serviceName from traces
2022-12-30 13:42:22 -05:00
Tom Moor
18b69fad99
fix: Improve contrast on danger color
2022-12-30 13:07:40 -05:00
Mohamed ELIDRISSI
318e1df13b
refactor: add server side validation schema for attachments ( #4606 )
...
* refactor: schema for attachments.create
* refactor: schema for attachments.delete
* refactor: remove deprecated "public" request param
2022-12-30 09:49:01 -08:00
Tom Moor
f3469d25fe
feat: Bulk HTML export ( #4620 )
...
* wip
* Working bulk html export
* Refactor
* test
* test
2022-12-30 09:42:20 -08:00
Tom Moor
1b8dd9399c
chore: Export improvements ( #4617 )
...
* wip
* i18n
2022-12-27 09:51:39 -08:00
dependabot[bot]
ee37ba9355
chore(deps-dev): bump @types/prosemirror-gapcursor from 1.0.4 to 1.3.0 ( #4615 )
...
Bumps [@types/prosemirror-gapcursor](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prosemirror-gapcursor ) from 1.0.4 to 1.3.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/prosemirror-gapcursor )
---
updated-dependencies:
- dependency-name: "@types/prosemirror-gapcursor"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 08:57:08 -08:00
dependabot[bot]
68ad7607b0
chore(deps): bump pg from 8.5.1 to 8.8.0 ( #4614 )
...
Bumps [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg ) from 8.5.1 to 8.8.0.
- [Release notes](https://github.com/brianc/node-postgres/releases )
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md )
- [Commits](https://github.com/brianc/node-postgres/commits/pg@8.8.0/packages/pg )
---
updated-dependencies:
- dependency-name: pg
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 08:56:29 -08:00
dependabot[bot]
393d9c4a72
chore(deps-dev): bump @types/react-helmet from 6.1.5 to 6.1.6 ( #4612 )
...
Bumps [@types/react-helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-helmet ) from 6.1.5 to 6.1.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-helmet )
---
updated-dependencies:
- dependency-name: "@types/react-helmet"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 08:54:37 -08:00
Tom Moor
c41bd9592e
feat: Add date/time template options to template titles
2022-12-24 15:53:05 +00:00
Tom Moor
b8f748be52
Merge branch 'main' of github.com:outline/outline
2022-12-24 12:41:15 +00:00
Tom Moor
82c565f1d4
Add additional filters to search_titles endpoint ( #4563 )
...
* Add additional filters to search_titles endpoint
* tests, fixes for drafts
* fix: dateFilter results in 500
* fix: Draft documents returned in collection-only search
2022-12-24 03:44:22 -08:00
dependabot[bot]
504693c68d
chore(deps): bump jsonwebtoken from 8.5.1 to 9.0.0 ( #4600 )
...
Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken ) from 8.5.1 to 9.0.0.
- [Release notes](https://github.com/auth0/node-jsonwebtoken/releases )
- [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md )
- [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.5.1...v9.0.0 )
---
updated-dependencies:
- dependency-name: jsonwebtoken
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-22 04:01:05 -08:00
Tom Moor
d261aa4d32
fix: Temporary fix for Mermaid Gantt charts – hardcode width
...
closes #4594
2022-12-22 06:50:57 -05:00
dependabot[bot]
09c3ee50ba
chore(deps): bump prosemirror-dropcursor and @types/prosemirror-dropcursor ( #4592 )
...
Bumps [prosemirror-dropcursor](https://github.com/prosemirror/prosemirror-dropcursor ) and [@types/prosemirror-dropcursor](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prosemirror-dropcursor ). These dependencies needed to be updated together.
Updates `prosemirror-dropcursor` from 1.4.0 to 1.6.1
- [Release notes](https://github.com/prosemirror/prosemirror-dropcursor/releases )
- [Changelog](https://github.com/ProseMirror/prosemirror-dropcursor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prosemirror/prosemirror-dropcursor/compare/1.4.0...1.6.1 )
Updates `@types/prosemirror-dropcursor` from 1.0.3 to 1.5.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/prosemirror-dropcursor )
---
updated-dependencies:
- dependency-name: prosemirror-dropcursor
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: "@types/prosemirror-dropcursor"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 16:51:12 -08:00
dependabot[bot]
0cb439857d
chore(deps): bump babel-plugin-styled-components from 1.12.0 to 2.0.7 ( #4589 )
...
Bumps [babel-plugin-styled-components](https://github.com/styled-components/babel-plugin-styled-components ) from 1.12.0 to 2.0.7.
- [Release notes](https://github.com/styled-components/babel-plugin-styled-components/releases )
- [Commits](https://github.com/styled-components/babel-plugin-styled-components/compare/v1.12.0...v2.0.7 )
---
updated-dependencies:
- dependency-name: babel-plugin-styled-components
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 16:50:21 -08:00
dependabot[bot]
1a69cb057c
chore(deps): bump exports-loader from 0.6.4 to 1.1.1 ( #4590 )
...
Bumps [exports-loader](https://github.com/webpack-contrib/exports-loader ) from 0.6.4 to 1.1.1.
- [Release notes](https://github.com/webpack-contrib/exports-loader/releases )
- [Changelog](https://github.com/webpack-contrib/exports-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/exports-loader/compare/v0.6.4...v1.1.1 )
---
updated-dependencies:
- dependency-name: exports-loader
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 16:49:41 -08:00
Tom Moor
0fa583e492
fix: Line numbers go missing when editing multiple blocks
...
closes #4440
2022-12-18 22:19:37 -05:00
Tom Moor
67ec5a1a33
fix: Missing onDelete constraint
2022-12-18 20:49:28 -05:00
Tom Moor
9618d514e1
fix: Switch workspace unreliable
2022-12-17 21:50:50 -05:00
Tom Moor
4b66a52a52
fix: Missing onDelete constraint
2022-12-17 21:19:55 -05:00
Tom Moor
bf21863dbf
New Crowdin updates ( #4565 )
...
* fix: New French translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
2022-12-17 17:17:28 -08:00
Tom Moor
acf74b83a8
feat: Full width images ( #4389 )
...
* feat: Full width images
* lint
* fix: Enable TOC overlaid on full size images
* Vendorize react-medium-image-zoom
* tsc
* fix
* Remove body scroll lock
2022-12-17 17:17:15 -08:00
Tom Moor
f8ba393f7c
Use auth.availableTeams endpoint for workspace switching ( #4585 )
2022-12-17 17:17:02 -08:00
Tom Moor
1995a3fb19
Dynamic bottom padding
2022-12-15 21:03:47 -05:00
Tom Moor
6f57767b7c
fix: Return after redirect
2022-12-15 20:04:42 -05:00
Tom Moor
a9683f4d53
fix: Add additional padding at the bottom of documents when editing
2022-12-14 20:44:38 -05:00
Tom Moor
600b3e4b3e
fix: Small tweaks/fixes to custom domain UI
2022-12-14 08:46:35 -05:00
Tom Moor
02b352a382
fix: Cross-subdomain redirect for shares with custom link
2022-12-14 08:46:20 -05:00
Apoorv Mishra
79829a3129
Ability to create share url slug ( #4550 )
...
* feat: share url slug
* feat: add col urlId
* feat: allow updating urlId
* fix: typo
* fix: migrations
* fix: urlId model validation
* fix: input label
* fix: debounce slug request
* feat: link preview
* fix: send slug variant in response if available
* fix: temporary redirect to slug variant if available
* fix: move up the custom link field
* fix: process and display backend err
* fix: reset custom link state on popover close and remove isCopied
* fix: document link preview
* fix: set urlId when available
* fix: keep unique(urlId, teamId)
* fix: codeql
* fix: get rid of preview type
* fix: width not needed for block elem
* fix: migrations
* fix: array not required
* fix: use val
* fix: validation on shareId and test
* fix: allow clearing urlId
* fix: do not escape
* fix: unique error text
* fix: keep team
2022-12-13 17:26:36 -08:00
dependabot[bot]
b9dd060736
chore(deps-dev): bump eslint-plugin-prettier from 3.1.4 to 4.2.1 ( #4567 )
...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) from 3.1.4 to 4.2.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.4...v4.2.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 14:35:22 -08:00
dependabot[bot]
301fde26b6
chore(deps): bump copy-to-clipboard from 3.3.1 to 3.3.3 ( #4570 )
...
Bumps [copy-to-clipboard](https://github.com/sudodoki/copy-to-clipboard ) from 3.3.1 to 3.3.3.
- [Release notes](https://github.com/sudodoki/copy-to-clipboard/releases )
- [Commits](https://github.com/sudodoki/copy-to-clipboard/compare/v3.3.1...v3.3.3 )
---
updated-dependencies:
- dependency-name: copy-to-clipboard
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 13:32:56 -08:00
dependabot[bot]
662012da08
chore(deps-dev): bump husky from 7.0.4 to 8.0.2 ( #4568 )
...
Bumps [husky](https://github.com/typicode/husky ) from 7.0.4 to 8.0.2.
- [Release notes](https://github.com/typicode/husky/releases )
- [Commits](https://github.com/typicode/husky/compare/v7.0.4...v8.0.2 )
---
updated-dependencies:
- dependency-name: husky
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 13:32:40 -08:00
dependabot[bot]
cab8b69e8d
chore(deps): bump class-validator from 0.13.2 to 0.14.0 ( #4569 )
...
Bumps [class-validator](https://github.com/typestack/class-validator ) from 0.13.2 to 0.14.0.
- [Release notes](https://github.com/typestack/class-validator/releases )
- [Changelog](https://github.com/typestack/class-validator/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/typestack/class-validator/compare/v0.13.2...v0.14.0 )
---
updated-dependencies:
- dependency-name: class-validator
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 13:32:15 -08:00
Tom Moor
91155295fe
fix: Loosen url validation
2022-12-11 21:28:09 -05:00
Tom Moor
80780eedda
fix: Mermaid diagrams do not respect dark mode ( #4564 )
...
* wip
* Move event binding
2022-12-11 11:33:17 -08:00
Tom Moor
e4da92a359
New Crowdin updates ( #4533 )
2022-12-11 08:35:40 -08:00
Tom Moor
0f19c550f9
fix: Uploaded and immediately deleted images are not removed from storage ( #4562 )
...
* fix: Uploaded and immediately deleted images are not removed from storage upon permanant delete
closes #4557
* Move attachment deletion async
2022-12-11 08:29:38 -08:00
Tom Moor
7e22526cc7
Improve error handling
2022-12-11 11:27:54 -05:00
Apoorv Mishra
5c842087a5
feat(server): rate limit all routes ( #4561 )
2022-12-10 05:47:18 -08:00
Apoorv Mishra
053d10d893
Enhance server side error handling ( #4537 )
...
* fix: server side error handling
* fix: push only unknown 500 errors to sentry
* fix: use in-house onerror in favor of errorHandling middleware
* fix: split error template into dev and prod envs
* fix: check Error instance
* fix: error routes in test env
* fix: review comments
* Remove koa-onerror
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-12-09 21:51:42 +05:30
Tom Moor
4f67437b81
chore: Bump Sentry deps ( #4556 )
2022-12-08 18:05:13 -08:00
Alex
7db2284564
build: harden calibreapp-image-actions.yml permissions ( #4555 )
...
Signed-off-by: Alex <aleksandrosansan@gmail.com >
Signed-off-by: Alex <aleksandrosansan@gmail.com >
2022-12-08 17:49:15 -08:00
Tom Moor
92ab7c1700
Bump bull, ioredis ( #4553 )
2022-12-07 19:06:44 -08:00
Tom Moor
239db70374
fix: Bump qs, fix prototype pollution
2022-12-07 22:05:35 -05:00
dependabot[bot]
a650e92979
chore(deps): bump fetch-retry from 4.1.1 to 5.0.3 ( #4539 )
...
Bumps [fetch-retry](https://github.com/jonbern/fetch-retry ) from 4.1.1 to 5.0.3.
- [Release notes](https://github.com/jonbern/fetch-retry/releases )
- [Commits](https://github.com/jonbern/fetch-retry/compare/4.1.1...5.0.3 )
---
updated-dependencies:
- dependency-name: fetch-retry
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 20:21:52 -08:00
dependabot[bot]
5f121ff268
chore(deps-dev): bump eslint-plugin-import from 2.25.3 to 2.26.0 ( #4542 )
...
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) from 2.25.3 to 2.26.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.25.3...v2.26.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 20:11:09 -08:00
Tom Moor
ea63023fca
feat: added user avatars in author search dropdown ( #4551 )
...
* feat: added user avatars in author search dropdown
* cleanup
* cleanup
* feat: added user avatars in author search dropdown
* cleanup
* cleanup
* added user icon
* Size tweaks
Co-authored-by: Aditya Sharma <aditya167411@gmail.com >
2022-12-06 20:10:56 -08:00
Tom Moor
549b7ab030
tsc
2022-12-06 09:32:13 -05:00
Tom Moor
4ce8ea8cd6
fix: Cannot create document from selection in root of collection
2022-12-06 09:10:45 -05:00
Tom Moor
98d79e1e8b
perf: Improve collab persistence performance ( #4544 )
...
* stash
* Remove query of state in documentCollaborativeUpdater
2022-12-06 05:21:10 -08:00
Tom Moor
b0b7c7d647
fix: Document import schema
2022-12-04 22:31:54 -05:00
Tom Moor
481382ee9f
Add link to download app (macOS)
2022-12-04 18:03:35 -05:00
Tom Moor
3d6da26ad6
fix: Flash of external link decoration when creating doc from selected text
2022-12-04 17:41:19 -05:00
Tom Moor
0a68266365
fix: Server error in document search with single quotes
2022-12-04 17:10:06 -05:00
Tom Moor
908ca36de2
Merge branch 'main' of github.com:outline/outline
2022-12-04 15:32:33 -05:00
Tom Moor
435a7ab26b
Dependency update
2022-12-04 15:07:17 -05:00
Aditya Sharma
8513200900
fix: Don't embed pasted links in list ( #4535 )
...
closes https://github.com/outline/outline/issues/4154
2022-12-04 11:41:03 -08:00
Tom Moor
1fd3f3137a
chore: Upgrade hocuspocus ( #4443 )
...
* dep bump
* Bump to beta 6
* fix: Race condition in indexeddb provider
2022-12-04 11:39:58 -08:00
Tom Moor
d16133fda8
Remove ui.isEditing, enable forcing desktop window open without sidebar
2022-12-04 11:55:33 -05:00
Tom Moor
cd29cd3aec
fix: Various improvements to select input, closes #4528
2022-12-04 10:57:09 -05:00
Tom Moor
13db16283a
fix: Cleanup user menu ( #4532 )
...
Move confirmation dialogs from window confirmations
2022-12-03 15:33:16 -08:00
Tom Moor
d6d1eb4485
feat: Prefix api keys
2022-12-03 18:21:33 -05:00
Tom Moor
0f31d5b45f
fix: Generate signing secret on webhook creation
2022-12-03 10:23:31 -05:00
Tom Moor
08a471f230
Add 'members' filter to user details page, closes #4529
2022-12-03 09:36:28 -05:00
Tom Moor
e15ad530de
tsc
2022-12-03 09:25:53 -05:00
Denis
6354acca85
if OIDC provider gets user_id as integer Postgres failed query ( #4527 )
2022-12-02 21:46:56 -08:00
Tom Moor
e32f2c2257
New Crowdin updates ( #4493 )
2022-12-02 20:05:45 -08:00
dependabot[bot]
6903a1c481
chore(deps-dev): bump babel-jest from 28.1.3 to 29.3.1 ( #4497 )
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 28.1.3 to 29.3.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.3.1/packages/babel-jest )
---
updated-dependencies:
- dependency-name: babel-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-02 19:35:19 -08:00
Denis
571f812771
fix: getEncryptedColumn for empty token ( #4507 )
2022-12-02 19:28:43 -08:00
Tom Moor
4d1bbf3f80
Upgrade socket.io ( #4526 )
...
* Upgrade socket.io, drop support with v2 clients
* tsc
2022-12-02 19:06:37 -08:00
Tom Moor
0a0498d139
fix: Allow subdomains upto 255 in self-hosted, closes #4524
2022-12-02 22:06:13 -05:00
dependabot[bot]
0f19a82488
chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 ( #4525 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-02 17:16:33 -08:00
Tom Moor
fc9d685ef5
fix: Remove unused S3 methods ( #4515 )
2022-12-01 19:45:24 -08:00
Tom Moor
b305154715
Add onLogout method to desktop bridge
2022-12-01 18:14:51 -05:00
Tom Moor
d09a3de800
fix: Desktop redirect on Safari
2022-12-01 08:26:01 -05:00
Tom Moor
83b687a632
fix: teamPermanentDeleter execution order
2022-11-30 23:07:37 -05:00
Tom Moor
648424fe2c
fix: Desktop redirect on Safari
2022-11-30 23:00:40 -05:00
Tom Moor
63cef45284
fix: documents endpoints allow slug as id parameter
2022-11-29 22:16:46 -05:00
Tom Moor
bc299a00f5
Add additional keywords for date slash commands
2022-11-28 23:36:30 -05:00
Tom Moor
b40bb71adf
fix: Allow clicking anywhere outside command menu to close
2022-11-28 23:35:41 -05:00
Tom Moor
59d9859a64
fix: Prevent hover styling when MenuItem is controlled
2022-11-28 21:18:15 -05:00
Tom Moor
fbeaa2ec9f
Handle keyboard shortcut request
2022-11-28 20:52:50 -05:00
dependabot[bot]
53669a4be6
chore(deps-dev): bump webpack from 4.44.1 to 4.46.0 ( #4495 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.44.1 to 4.46.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.44.1...v4.46.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 16:56:17 -08:00
dependabot[bot]
201c3e1f05
chore(deps): bump @babel/preset-react from 7.16.0 to 7.18.6 ( #4496 )
...
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react ) from 7.16.0 to 7.18.6.
- [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.18.6/packages/babel-preset-react )
---
updated-dependencies:
- dependency-name: "@babel/preset-react"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 16:55:50 -08:00
dependabot[bot]
572ffe44aa
chore(deps): bump polished from 3.7.2 to 4.2.2 ( #4494 )
...
Bumps [polished](https://github.com/styled-components/polished ) from 3.7.2 to 4.2.2.
- [Release notes](https://github.com/styled-components/polished/releases )
- [Commits](https://github.com/styled-components/polished/compare/v3.7.2...v4.2.2 )
---
updated-dependencies:
- dependency-name: polished
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 16:55:35 -08:00
Tom Moor
8ca5d66204
Desktop improvements ( #4492 )
...
* Update version to non-promise interface
* History navigation in sidebar
2022-11-28 15:30:50 -08:00
Tom Moor
a5e2ac6570
fix: Negated quote query error
2022-11-28 09:01:03 -05:00
Tom Moor
b5570a7587
New Crowdin updates ( #4479 )
2022-11-28 05:52:12 -08:00
Apoorv Mishra
d09c583c72
Allow document to be dragged to the top of a collection ( #4489 )
2022-11-28 05:42:58 -08:00
Tom Moor
cc333637dd
Desktop support ( #4484 )
...
* Remove home link on desktop app
* Spellcheck, installation toasts, background styling, …
* Add email,slack, auth support
* More desktop style tweaks
* Move redirect to client
* cleanup
* Record desktop usage
* docs
* fix: Selection state in search input when double clicking header
2022-11-27 15:07:48 -08:00
Tom Moor
ea9680c3d7
lint
2022-11-27 11:05:39 -05:00
Tom Moor
d22b44dcff
Further improved search matches
2022-11-27 10:46:54 -05:00
Tom Moor
fa8685d241
Add support for LaTeX inline and block expressions. ( #4446 )
...
* Add support for LaTeX inline and block expressions. (#4364 )
Co-authored-by: Tom Moor <tom@getoutline.com >
* tsc
* Show heading markers when LaTeX block is being edited
* Tab to space, name katex chunk
* Fork htmldiff, add support for math nodes
Co-authored-by: luisbc92 <luiscarlos.banuelos@gmail.com >
2022-11-27 06:27:56 -08:00
Tom Moor
cb1b8e9764
fix: Improved search engine-like behavior for text queries
2022-11-27 09:26:10 -05:00
Tom Moor
957e9ba0ff
fix: Cleanup build directory before building new server assets
2022-11-25 12:02:42 -05:00
Tom Moor
5a42f70b65
Add case for un-mapped custom domain to login page
2022-11-25 10:22:45 -05:00
Tom Moor
fd9625b57e
fix: TOC not rendered in non-seamless-editing mode
2022-11-24 11:35:29 -05:00
Tom Moor
18535d949e
New Crowdin updates ( #4476 )
2022-11-24 06:51:47 -08:00
Tom Moor
a8936039e5
Improved paste handling ( #4474 )
...
* Improved paste handling
* Remove file
2022-11-24 06:50:31 -08:00
Apoorv Mishra
a6125be6f1
Introduce zod for server-side validations ( #4397 )
...
* chore(server): use zod for validations
* fix(server): use ctx.input for documents.list
* fix(server): schema for documents.archived
* fix(server): documents.deleted, documents.viewed & documents.drafts
* fix(server): documents.info
* fix(server): documents.export & documents.restore
* fix(server): documents.search_titles & documents.search
* fix(server): documents.templatize
* fix(server): replace nullish() with optional()
* fix(server): documents.update
* fix(server): documents.move
* fix(server): remaining
* fix(server): add validation for snippet min and max words
* fix(server): fix update types
* fix(server): remove DocumentSchema
* fix(server): collate duplicate schemas
* fix: typos
* fix: reviews
* chore: Fixed case of Metrics import
* fix: restructure /api
* fix: loosen validation for id as it can be a slug too
* Add test for query by slug
Simplify import
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-11-24 10:11:43 +05:30
Tom Moor
100d05035b
Merge branch 'main' of github.com:outline/outline
2022-11-23 20:30:38 -05:00
Tom Moor
5b00741b1a
New Crowdin updates ( #4460 )
2022-11-23 17:13:58 -08:00
Aditya Sharma
95f2c69f81
fix: correct stats for update-checker ( #4470 )
...
fixes https://github.com/outline/outline/issues/4462
2022-11-23 17:13:39 -08:00
Tom Moor
0794450596
chore: Fixed case of Metrics import
2022-11-22 23:08:52 -05:00
Tom Moor
09f5462068
Enable viewers to upload attachments for documents in collections where they have edit permission ( #4468 )
2022-11-22 19:05:08 -08:00
dependabot[bot]
4cb1652005
chore(deps-dev): bump babel-plugin-transform-inline-environment-variables from 0.4.3 to 0.4.4 ( #4457 )
...
Bumps [babel-plugin-transform-inline-environment-variables](https://github.com/babel/minify ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/babel/minify/releases )
- [Changelog](https://github.com/babel/minify/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/minify/compare/babel-plugin-transform-inline-environment-variables@0.4.3...babel-plugin-transform-inline-environment-variables@0.4.4 )
---
updated-dependencies:
- dependency-name: babel-plugin-transform-inline-environment-variables
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 19:12:11 -08:00
dependabot[bot]
7dbf098d68
chore(deps): bump jsdom from 20.0.0 to 20.0.3 ( #4455 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 20.0.0 to 20.0.3.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/20.0.0...20.0.3 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 19:11:43 -08:00
dependabot[bot]
32e47d86a5
chore(deps-dev): bump @types/crypto-js from 4.1.0 to 4.1.1 ( #4454 )
...
Bumps [@types/crypto-js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/crypto-js ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/crypto-js )
---
updated-dependencies:
- dependency-name: "@types/crypto-js"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 19:11:18 -08:00
dependabot[bot]
e76e547d8a
chore(deps): bump rate-limiter-flexible from 2.3.7 to 2.4.1 ( #4456 )
...
Bumps [rate-limiter-flexible](https://github.com/animir/node-rate-limiter-flexible ) from 2.3.7 to 2.4.1.
- [Release notes](https://github.com/animir/node-rate-limiter-flexible/releases )
- [Commits](https://github.com/animir/node-rate-limiter-flexible/commits/v2.4.1 )
---
updated-dependencies:
- dependency-name: rate-limiter-flexible
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 19:11:07 -08:00
Tom Moor
e605961e23
feat: Optional branding on shared documents ( #4450 )
...
* feat: Optional branding on shared documents
* Refactor
Remove unneccessarily exposed team id
Remove top-level collapsible document on publicly shared urls
* fix: Branding disappears when revising document
fix: Clicking title should go back to main app when logged in
2022-11-21 16:20:50 -08:00
Tom Moor
088ef81133
fix: Improved styles for diffs, closes #4430
2022-11-20 14:09:11 -05:00
Tom Moor
6e36ffb706
feat: Allow data imports larger than the standard attachment size ( #4449 )
...
* feat: Allow data imports larger than the standard attachment size
* Use correct preset for data imports
* Cleanup of expired attachments
* lint
2022-11-20 09:22:57 -08:00
Tom Moor
1f49bd167d
fix: Flash of misaligned floating images upon loading
2022-11-19 20:18:55 -05:00
Tom Moor
c27987569b
fix: Flash of embeds visible upon loading when disabled
2022-11-19 20:09:56 -05:00
Tom Moor
ae6855f3df
chore: Refactors towards shared menu component ( #4445 )
2022-11-19 13:15:38 -08:00
Tom Moor
924b554281
fix: Padding below editor not clickable
2022-11-16 23:38:08 -05:00
Tom Moor
552c0ecf01
fix: Pasting document content in title should behave as expected
2022-11-16 23:38:08 -05:00
dependabot[bot]
19d33a7658
chore(deps): bump loader-utils from 1.4.1 to 1.4.2 ( #4439 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 19:18:47 -08:00
Tom Moor
f43f253286
Refactoring endpoints to transaction middleware
2022-11-15 22:22:35 -05:00
Tom Moor
01a482552a
fix: Unable to subscribe to fileOperation webhook events
2022-11-15 20:03:20 -05:00
Tom Moor
e6ef5a16cc
Fix TOC headings
2022-11-14 21:14:56 -05:00
Tom Moor
4c8138ad4a
fix: Some react warnings in dev mode
2022-11-14 19:36:24 -05:00
Tom Moor
4047ec73bb
feat: Integrate Zapier App Directory
2022-11-14 18:10:10 -05:00
dependabot[bot]
1e723be556
chore(deps): bump koa-sslify from 2.1.2 to 5.0.0 ( #4424 )
...
* chore(deps): bump koa-sslify from 2.1.2 to 5.0.0
Bumps [koa-sslify](https://github.com/turboMaCk/koa-sslify ) from 2.1.2 to 5.0.0.
- [Release notes](https://github.com/turboMaCk/koa-sslify/releases )
- [Changelog](https://github.com/turboMaCk/koa-sslify/blob/master/CHANGELOG.md )
- [Commits](https://github.com/turboMaCk/koa-sslify/compare/2.1.2...5.0.0 )
---
updated-dependencies:
- dependency-name: koa-sslify
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Nice try dependabot
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 >
2022-11-14 14:17:05 -08:00
dependabot[bot]
1f5171053e
chore(deps): bump core-js from 3.26.0 to 3.26.1 ( #4421 )
...
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js ) from 3.26.0 to 3.26.1.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/commits/v3.26.1/packages/core-js )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 13:35:19 -08:00
dependabot[bot]
829214d9a3
chore(deps): bump @juggle/resize-observer from 3.3.1 to 3.4.0 ( #4422 )
...
Bumps [@juggle/resize-observer](https://github.com/juggle/resize-observer ) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/juggle/resize-observer/releases )
- [Commits](https://github.com/juggle/resize-observer/compare/v3.3.1...v3.4.0 )
---
updated-dependencies:
- dependency-name: "@juggle/resize-observer"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 13:34:52 -08:00
dependabot[bot]
441055a05e
chore(deps-dev): bump @types/validator from 13.7.8 to 13.7.10 ( #4423 )
...
Bumps [@types/validator](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/validator ) from 13.7.8 to 13.7.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/validator )
---
updated-dependencies:
- dependency-name: "@types/validator"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 13:34:40 -08:00
Tom Moor
24a1eac804
Sidebar improvements from comments branch ( #4419 )
2022-11-13 18:26:53 -08:00
Tom Moor
b60c66316a
Insights refinements
2022-11-13 14:47:20 -05:00
Tom Moor
3880a956a3
Add document insights panel ( #4418 )
...
* Add document context to allow accessing editor in header, modals, and elsewhere
* lint
* framework
* Hacking together fast
* Insights
* Spacing tweak, docs
2022-11-13 10:19:09 -08:00
Tom Moor
762341a4ec
feat: Track attachments access ( #4416 )
2022-11-12 08:41:59 -08:00
Tom Moor
622f464b9f
Store import<->document relationship ( #4415 )
...
* Store import<->document relationship
* Update 20221112152649-import-document-relationship.js
* Store importId on collection, UI tweaks on import screen
2022-11-12 08:22:41 -08:00
Tom Moor
cafe4ed848
Add seed script
2022-11-12 10:16:19 -05:00
Tom Moor
cff67f4ca7
fix: Self-hosted logic for allowed domains ( #4412 )
...
* fix: Self-hosted logic for allowed domains
* test
2022-11-11 19:19:46 -08:00
Tom Moor
6788005115
Add missing team->user constraint ( #4411 )
...
* Add missing team->user constraint
* fix: teamPermanentDeleter cannot complete when team has domains
2022-11-11 09:40:52 -08:00
Tom Moor
26946853da
fix: DATABASE_URL missing in env does not produce validation error ( #4409 )
...
* fix: DATABASE_URL missing in env does not produce validation error
* lint
2022-11-11 07:11:10 -08:00
Tom Moor
d0827e21c1
tsc
2022-11-09 07:40:41 -05:00
Tom Moor
eee0abe415
test
2022-11-08 21:42:08 -05:00
Tom Moor
e7af0ce6de
fix: getPreference fallback
2022-11-08 21:30:14 -05:00
Tom Moor
369ac487b1
feat: Add preference to disable download option for viewers
2022-11-08 21:26:02 -05:00
Tom Moor
587f062677
Remove usage of tiley ( #4406 )
...
* First pass
* Mooarrr
* lint
* snapshots
2022-11-08 17:12:22 -08:00
dependabot[bot]
920b58c006
chore(deps): bump loader-utils from 1.4.0 to 1.4.1 ( #4405 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 05:31:03 -08:00
dependabot[bot]
d16d94a0f6
chore(deps): bump core-js from 3.10.2 to 3.26.0 ( #4395 )
...
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js ) from 3.10.2 to 3.26.0.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/commits/v3.26.0/packages/core-js )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 05:26:06 -08:00
dependabot[bot]
4d4cd42740
chore(deps): bump @bull-board/koa from 4.2.2 to 4.6.2 ( #4394 )
...
Bumps [@bull-board/koa](https://github.com/felixmosh/bull-board/tree/HEAD/packages/koa ) from 4.2.2 to 4.6.2.
- [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.6.2/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 >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 05:25:35 -08:00
dependabot[bot]
b55ba473d1
chore(deps): bump @babel/plugin-transform-destructuring from 7.16.0 to 7.20.2 ( #4396 )
...
Bumps [@babel/plugin-transform-destructuring](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-destructuring ) from 7.16.0 to 7.20.2.
- [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.20.2/packages/babel-plugin-transform-destructuring )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-destructuring"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 05:24:55 -08:00
Tom Moor
c859d2dd84
fix: Deleted text style in history, closes #4231
2022-11-07 21:55:14 -05:00
Tom Moor
fd799e00a7
fix: Unauthenticated shared document should default to user preferred language
...
closes #4384
2022-11-06 18:53:05 -05:00
Tom Moor
5f4d67e2f9
Bump caniuse
2022-11-06 14:10:48 -05:00
Tom Moor
9936f42882
Avoid fsstat on every request, remove koa-static ( #4387 )
...
* Avoid fsstat on every request, remove koa-static
* tsx
* Move compression middleware
2022-11-05 06:50:46 -07:00
Translate-O-Tron
bac1c9dc14
New Crowdin updates ( #4327 )
2022-11-03 18:39:23 -07:00
Tom Moor
2df4b352a1
fix: Hard to resize image larger than documen width immediately after uploading
2022-11-03 20:16:56 -04:00
Tom Moor
f2fb5dd1e5
fix: Team creation with private avatar. Do not attempt to copy, closes #4378
2022-11-03 08:58:33 -04:00
Tom Moor
c2de6b70bc
fix: Image resizing on mobile/touchscreen
2022-11-03 08:11:11 -04:00
Tom Moor
88188a0a59
fix: Sanitize url before opening
2022-11-03 07:38:35 -04:00
Tom Moor
5e17b24869
feat: Image resizing ( #4368 )
...
* wip
* works
* wip
* refactor
* Support replacing image and retain width
fix: Copy paste does not retain size
* cleanup
* fix: Cannot resize past 100%
fix: Borders to edges on unresized images
* Handle Escape key while dragging
* fix: Embeds and images dont render when edit state changes
fix: Small animation regression
2022-11-02 18:40:37 -07:00
Tom Moor
6f8d01df21
fix: Sanitize url before opening
2022-11-02 21:38:16 -04:00
Mihir Shah
881ea34dfe
chore: convert AddGroupToCollection component to functional component ( #4204 ) ( #4360 )
2022-11-02 17:31:13 -07:00
Tom Moor
3cb0b88f0f
Update MarkAsViewed.ts
2022-11-01 18:42:59 -07:00
dependabot[bot]
d4cac4983c
chore(deps-dev): bump @types/enzyme from 3.10.10 to 3.10.12 ( #4371 )
...
Bumps [@types/enzyme](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/enzyme ) from 3.10.10 to 3.10.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/enzyme )
---
updated-dependencies:
- dependency-name: "@types/enzyme"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 05:22:17 -07:00
Tom Moor
ab6c5c2e78
Missing observer
2022-11-01 08:21:59 -04:00
Mihir Shah
ade26139e6
chore: convert AddPeopleToGroup component to functional component ( #4204 ) ( #4359 )
2022-11-01 05:17:26 -07:00
Ítalo Sousa
17977064aa
Functional Component Refactor: MarkAsViewed ( #4365 )
...
* chore: convert MarkAsViewed to functional component
* chore: fix issues with MarkAsViewed refactor
2022-11-01 05:08:07 -07:00
dependabot[bot]
5b55f7ab1c
chore(deps): bump jszip from 3.10.0 to 3.10.1 ( #4370 )
...
Bumps [jszip](https://github.com/Stuk/jszip ) from 3.10.0 to 3.10.1.
- [Release notes](https://github.com/Stuk/jszip/releases )
- [Changelog](https://github.com/Stuk/jszip/blob/main/CHANGES.md )
- [Commits](https://github.com/Stuk/jszip/compare/v3.10.0...v3.10.1 )
---
updated-dependencies:
- dependency-name: jszip
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 14:21:08 -07:00
Tom Moor
1e62d25861
Refactor document search
2022-10-30 12:41:52 -04:00
Tom Moor
86aa531fad
Utility method to re-derive text field from CRDT
2022-10-30 10:29:32 -04:00
Tom Moor
f6f90ff406
fix: Unable to login with matching email from another auth provider ( #4356 )
...
* fix: Unable to login with matching email from another auth provider
* refactor
2022-10-29 13:46:29 -07:00
Tom Moor
79cbe304da
fix: Allow viewers to upload avatar ( #4349 )
...
* fix: Allow viewers to upload avatar
* DeleteAttachmentTask
* fix: Previous avatar should be deleted on change, if possible
* fix: Also cleanup team logo on change
2022-10-29 06:08:20 -07:00
Apoorv Mishra
19e26ba402
Return correct permissions upon document update ( #4352 )
2022-10-28 05:20:42 -07:00
Tom Moor
c916d4f594
spike: db transaction as middleware ( #4301 )
2022-10-26 17:38:37 -07:00
dependabot[bot]
51b3371bf5
chore(deps): bump mermaid and @types/mermaid ( #4257 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-10-26 19:07:52 -04:00
Tom Moor
39d8eb8a3a
Merge branch 'main' of github.com:outline/outline
2022-10-26 19:01:32 -04:00
Mihir Shah
c1fb8c74ff
chore: convert Avatar component to functional component ( #4204 ) ( #4337 )
2022-10-26 16:01:28 -07:00
Duale Siad
ca255d9210
Added syntax highlighting for various languages ( #4341 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-10-26 16:01:12 -07:00
Tom Moor
fe3e8d3830
More flexible subdomain validation
2022-10-26 07:23:33 -04:00
Mihir Shah
808eb540a7
chore: convert PlaceholderText component to functional component ( #4204 ) ( #4336 )
2022-10-25 14:44:20 -07:00
Apoorv Mishra
a89d30c735
Allow drafts to be created without requiring a collection ( #4175 )
...
* feat(server): allow document to be created without collectionId
* fix(server): policies for a draft doc without collection
* fix(app): hide share button for drafts
* feat(server): permissions around publishing a draft
* fix(server): return drafts without collection
* fix(server): handle draft deletion
* fix(server): show drafts in deleted docs
* fix(server): allow drafts without collection to be restored
* feat(server): return drafts in search results
* fix: use buildDraftDocument for drafts
* fix: remove isDraftWithoutCollection
* fix: do not return drafts for team
* fix: put invariants
* fix: query clause
* fix: check only for undefined
* fix: restore includeDrafts clause as it was before
2022-10-25 18:01:57 +05:30
dependabot[bot]
6b74d43380
chore(deps-dev): bump eslint-import-resolver-typescript from 3.5.1 to 3.5.2 ( #4329 )
...
Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript ) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases )
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.5.1...v3.5.2 )
---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 17:17:51 -07:00
dependabot[bot]
249f340b21
chore(deps-dev): bump nodemon from 2.0.18 to 2.0.20 ( #4330 )
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 2.0.18 to 2.0.20.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v2.0.18...v2.0.20 )
---
updated-dependencies:
- dependency-name: nodemon
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 17:17:38 -07:00
Tom Moor
f63bf336f1
fix: Show code block line numbers by default
2022-10-24 19:18:43 -04:00
Tom Moor
c3c1de09ab
Settings
2022-10-24 18:01:27 -04:00
Tom Moor
df46d3754a
feat: Authentication provider display ( #4332 )
...
* layout
* Refactor
* wip
* Quick changes to make this deployable without full management
* test
2022-10-24 14:01:40 -07:00
Tom Moor
434bb989cc
Stray console.log
2022-10-24 12:04:55 -07:00
Translate-O-Tron
b5b349be29
New Crowdin updates ( #4302 )
2022-10-24 06:45:04 -07:00
Tom Moor
87761e9bf2
feat: Code blocks can now optionally display line numbers ( #4324 )
...
* feat: Code blocks can now optionally display line numbers as a user preference
* Touch more breathing room
2022-10-24 06:44:46 -07:00
Tom Moor
708f9a3fd6
feat: Add additional 'smart text' replacements
2022-10-23 17:43:17 -04:00
dependabot[bot]
8d47a05591
chore(deps): bump react-hook-form from 7.31.2 to 7.37.0 ( #4309 )
...
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form ) from 7.31.2 to 7.37.0.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases )
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md )
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.31.2...v7.37.0 )
---
updated-dependencies:
- dependency-name: react-hook-form
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-23 11:04:40 -07:00
Daniyaal Beg
fabdcd03e2
Update Architecture.md ( #4323 )
2022-10-23 11:04:08 -07:00
Tom Moor
44ce377c38
fix #4183
2022-10-23 14:00:53 -04:00
github-actions[bot]
d43423fc39
chore: Auto Compress Images ( #4322 )
...
Co-authored-by: tommoor <tommoor@users.noreply.github.com >
2022-10-23 10:45:12 -07:00
Tom Moor
e00e3e232a
fix: Hard to select text in link editor input
2022-10-23 13:43:22 -04:00
Tom Moor
1f1dd23e18
feat: Add block command to create Mermaid diagram
...
closes #4272
2022-10-23 13:28:01 -04:00
Tom Moor
8ba911b56d
fix: Slight misalignment of archived badge
2022-10-23 13:00:57 -04:00
Tom Moor
e714e934cb
Tweak layout of login screen to account for new custom logos
2022-10-23 11:36:54 -04:00
Tom Moor
60f6a1f1c6
fix: More flexible link validation in editor allows custom protocols
...
closes #4319
2022-10-23 08:15:15 -04:00
Tom Moor
9af22017fe
fix: Do not oclude text on completed tasks, closes #4283
2022-10-23 07:52:23 -04:00
Tom Moor
f6ae32deef
Co-authored-by: Nan Yu <thenanyu@users.noreply.github.com>
2022-10-22 23:29:39 -04:00
Tom Moor
c0a86753bd
0.66.2
2022-10-22 11:24:04 -04:00
Tom Moor
f277d08982
fix: Actor on users.delete
2022-10-22 11:17:31 -04:00
Tom Moor
49d53ccfc2
fix: Disallow adding self to collection ( #4299 )
...
* api
* ui
* update collection permissions
2022-10-22 11:14:18 -04:00
dependabot[bot]
c108a91195
chore(deps-dev): bump @types/markdown-it-container from 2.0.4 to 2.0.5 ( #4308 )
...
Bumps [@types/markdown-it-container](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/markdown-it-container ) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/markdown-it-container )
---
updated-dependencies:
- dependency-name: "@types/markdown-it-container"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 04:44:59 -07:00
dependabot[bot]
6caa61f4a5
chore(deps-dev): bump @types/validator from 13.7.1 to 13.7.8 ( #4310 )
...
Bumps [@types/validator](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/validator ) from 13.7.1 to 13.7.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/validator )
---
updated-dependencies:
- dependency-name: "@types/validator"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 04:44:30 -07:00
Tom Moor
a814543aaf
fix: Drag-n-drop
2022-10-19 21:53:22 -04:00
Tom Moor
167ade0d59
fix: Flash of starred documents on Home screen
2022-10-19 21:53:22 -04:00
Tom Moor
b8b0d927f2
Fade in viewer information
2022-10-19 21:53:22 -04:00
Tom Moor
6072d3320a
Handle keyboard navigation
2022-10-19 21:53:22 -04:00
Tom Moor
1a88fd5515
Working fast-click
2022-10-19 21:53:22 -04:00
Tom Moor
3f3c05c800
stash
2022-10-19 21:53:22 -04:00
Apoorv Mishra
bb21fa725c
Add team preference to use logo for branding ( #4285 )
...
* feat: add team preference to use logo for branding
* fix: allow on cloud version too
2022-10-19 10:01:24 +05:30
Tom Moor
98f997387c
fix: Multi-method handlers, regressed in methodOverride removal
2022-10-18 23:50:14 -04:00
Tom Moor
7a9c75b9f1
Remove stray log
2022-10-18 21:49:37 -04:00
Tom Moor
87e3f18e6d
chore: Remove method override middleware ( #4315 )
...
* chore: Remove method override middleware
* wip
* CodeQL
* max/min
2022-10-18 16:03:25 -07:00
Tom Moor
0da46321b8
perf: Don't go to disk for html more than once ( #4312 )
2022-10-17 17:51:30 -07:00
Tom Moor
cbb2bdf80c
Update text column with CRDT backfill
2022-10-17 14:20:54 -04:00
Tom Moor
5d5fe66e77
fix: Logging in with email on a subdomain should not forward to other subdomains ( #4305 )
2022-10-16 08:20:46 -07:00
Tom Moor
ac31850a53
Revert i18n changes
2022-10-16 09:17:45 -04:00
Nan Yu
39fc8d5c14
feat: allow ad-hoc creation of new teams ( #3964 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
2022-10-16 05:57:27 -07:00
Tom Moor
1fbc000e03
chore: Reduce test boilerplate ( #4300 )
...
* chore: Reduce test boilerplate
* mo
2022-10-15 19:40:21 -07:00
Tom Moor
1915a453db
fix: Disallow adding self to collection ( #4299 )
...
* api
* ui
* update collection permissions
2022-10-15 19:11:09 -07:00
Kedas
97a50b20da
Add SENTRY_TUNNEL option ( #4298 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-10-15 15:12:38 -07:00
Tom Moor
7bac696eaf
fix #4294
2022-10-15 14:06:56 -04:00
Tom Moor
258225149a
chore: Dependency bumps ( #4295 )
...
* chore: Remove dupe dep of body-scroll-lock
* chore: Update dd-trace
* Sentry
* typescript-eslint (fixes warning)
2022-10-15 10:02:55 -07:00
mastqe
515e1a0d25
Functional Component Refactor: TypeForm, Vimeo, Whimsical, YouTube ( #4265 )
2022-10-15 07:02:12 -07:00
mastqe
ca31823228
Functional Component Refactor: Pitch, Prezi, Spotify, Trello ( #4264 )
2022-10-15 07:02:02 -07:00
mastqe
7b69f7a6e2
Functional Component Refactor: Marvel, Mindmeister, Miro, ModeAnalytics ( #4263 )
2022-10-15 07:01:53 -07:00
mastqe
557ad75fc2
Functional Component Refactor: InVision, Loom, Lucidchart ( #4262 )
2022-10-15 07:01:43 -07:00
mastqe
28371a4942
Functional Component Refactor: Google Calendar, DataStudio, & Drawings ( #4261 )
2022-10-15 07:01:32 -07:00
mastqe
42d866931b
Functional Component Refactor: Figma, Framer, Gist ( #4260 )
2022-10-15 07:01:10 -07:00
mastqe
4dc336eeab
Functional Component Refactor: Google Docs, Drive, Sheets, & Slides ( #4259 )
2022-10-15 07:00:59 -07:00
Translate-O-Tron
136d98792b
New Crowdin updates ( #4269 )
2022-10-15 07:00:47 -07:00
Tom Moor
def40e38ba
Update ClickUp.tsx
2022-10-13 06:39:20 -07:00
Apoorv Mishra
2708d429a9
Set subscribe/unsubscribe state correctly for documents ( #4266 )
2022-10-12 16:48:43 -07:00
Tom Moor
7199088d1b
fix: Multiplayer changes attributed to incorrect user ( #4282 )
...
* fix: Multiplayer changes attributed to the wrong user, performance improvements
* fix: Actually use _last_ editor
2022-10-12 06:19:07 -07:00
Tom Moor
484e912947
fix: Min-width collapsing search inputs
2022-10-11 22:21:11 -04:00
Tom Moor
cb89c3aa79
Draw.io -> Self-hosted
...
fix: Existing draw.io setting not appearing on first load
2022-10-11 22:09:33 -04:00
Tom Moor
5654c312b1
Remove TLDraw from embed menu as it no longer supports embedding
2022-10-11 21:47:39 -04:00
Apoorv Mishra
21b91ff060
Remove invite button should not overlap with member dropdown button ( #4243 )
2022-10-10 17:31:53 -07:00
dependabot[bot]
b29344efce
chore(deps): bump string-replace-to-array from 1.0.3 to 2.1.0 ( #4255 )
...
Bumps [string-replace-to-array](https://github.com/appfigures/string-replace-to-array ) from 1.0.3 to 2.1.0.
- [Release notes](https://github.com/appfigures/string-replace-to-array/releases )
- [Changelog](https://github.com/appfigures/string-replace-to-array/blob/master/changelog.md )
- [Commits](https://github.com/appfigures/string-replace-to-array/compare/v1.0.3...v2.1.0 )
---
updated-dependencies:
- dependency-name: string-replace-to-array
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 17:31:31 -07:00
dependabot[bot]
8d92da1027
chore(deps-dev): bump @types/utf8 from 3.0.0 to 3.0.1 ( #4253 )
...
Bumps [@types/utf8](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/utf8 ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/utf8 )
---
updated-dependencies:
- dependency-name: "@types/utf8"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 17:30:40 -07:00
Tom Moor
5ee3f2a608
fix: Performance degredation when multiple tabs are open
2022-10-10 18:47:37 -04:00
Tom Moor
65e903582f
memo
2022-10-10 08:57:36 -04:00
Tom Moor
2f2e367e91
fix: Bad functional refactor
2022-10-10 07:47:35 -04:00
Translate-O-Tron
73b604cd9d
New Crowdin updates ( #4215 )
2022-10-09 05:56:17 -07:00
Tom Moor
804db1b0e4
Add CRDT backfill script
2022-10-08 18:25:49 -04:00
Tom Moor
b1cd19df2f
Improve error handling on cookie parsing, closes #4246
2022-10-08 10:31:21 -04:00
Tom Moor
051c79d651
Improved network debugging
2022-10-08 10:08:17 -04:00
pbkompasz
c8f990018c
Refactor DBDiagram class component to functional ( #4228 )
2022-10-08 06:50:08 -07:00
pbkompasz
013a134084
Refactor Bilibili class component to functional ( #4227 )
2022-10-08 06:48:24 -07:00
Chavda Bhavik
2938c4e18c
Refactored Analytics component to functional component ( #4247 )
2022-10-08 06:47:24 -07:00
Tom Moor
0d6b3a9816
fix: Unable to connect slack on custom domains
2022-10-07 22:09:40 -04:00
Tom Moor
1a88cb9d08
fix: Upgrade popper, tippy to fix error ( #4224 )
...
* Upgrade popper, tippy to fix error
* tsc
2022-10-04 10:13:46 -07:00
pbkompasz
db47b643be
Refactor Airtable class component to functional ( #4226 )
2022-10-04 06:35:44 -07:00
Tom Moor
8417818528
test
2022-10-04 09:26:34 -04:00
Tom Moor
4e68d312e3
chore: Bump react-refresh-webpack-plugin
2022-10-03 21:39:48 -04:00
Tom Moor
125ddec60b
Shortcircuit notification generation if there is no diff to render
2022-10-03 21:04:32 -04:00
dependabot[bot]
dcae92ddfc
chore(deps-dev): bump react-refresh from 0.9.0 to 0.14.0 ( #4220 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 18:02:16 -07:00
pbkompasz
4df0d06eb2
Refractor Abstract class component to functional ( #4216 )
2022-10-03 06:15:37 -07:00
Tom Moor
55e622e22f
chore: More rate limited endpoints
2022-10-02 19:27:21 -04:00
Translate-O-Tron
a7683dda57
New Crowdin updates ( #4166 )
2022-10-02 16:06:10 -07:00
Kyriakos Georgiou
6871261139
feat(build): update postgres port in docker-compose.yml ( #4211 )
2022-10-02 15:51:47 -07:00
Tom Moor
933fbb2578
feat: Option for separate edit mode ( #4203 )
...
* stash
* wip
* cleanup
* Remove collaborativeEditing toggle, it will always be on in next release.
Flip separateEdit -> seamlessEdit
* Clarify language, hide toggle when collaborative editing is disabled
* Flip boolean to match, easier to reason about
2022-10-02 08:58:33 -07:00
Tom Moor
b9bf2e58cb
feat: Add cursor style user preference ( #4199 )
...
* feat: Add cursor style user preference
* Remove headings for now
2022-10-01 04:39:45 -07:00
vgwidt
ee8c47eb3b
fix: remove strikethrough text background ( #4202 )
...
* Update Styles.ts
* Update Styles.ts
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-10-01 04:39:33 -07:00
Tom Moor
4bb2a8ca1c
tsc
2022-09-30 22:44:13 -04:00
Tom Moor
923afad032
Bump Sentry
2022-09-30 20:46:09 -04:00
Tom Moor
ca4663f78a
fix: Remove 'More options' on share popover when sharing disabled
2022-09-29 09:15:58 -04:00
Tom Moor
41da156b0e
feat: Add view count to shared links in settings
2022-09-29 08:53:24 -04:00
Denis Olsem
492affb29a
Share document link that opens full editor ( #4134 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-09-29 04:49:35 -07:00
Pablo Yus
5b33aa6649
Enter in table cell adds a row after the current one ( #4186 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-09-28 20:03:28 -07:00
Tom Moor
7c3ad09974
fix: Overlapping logo, closes #4188
2022-09-28 23:03:00 -04:00
Tom Moor
047b17b479
fix: Increase possible length of user and team avatar urls
2022-09-27 23:14:03 -04:00
dependabot[bot]
463a8c7ccd
chore(deps): bump react-avatar-editor and @types/react-avatar-editor ( #4180 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 06:30:48 -07:00
Tom Moor
be17d6b4f9
Inline css in diff emails ( #4181 )
...
* Extract email styles into head
* tsc
* Inline CSS in emails
2022-09-26 18:46:55 -07:00
Tom Moor
6e25d1b6d4
fix: Remove events that are not sent from webhooks UI
2022-09-26 21:44:31 -04:00
dependabot[bot]
0f1b32e05a
chore(deps-dev): bump @types/react-helmet from 6.1.4 to 6.1.5 ( #4178 )
...
Bumps [@types/react-helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-helmet ) from 6.1.4 to 6.1.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-helmet )
---
updated-dependencies:
- dependency-name: "@types/react-helmet"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 16:01:29 -07:00
dependabot[bot]
58f330f9ce
chore(deps): bump json-loader from 0.5.4 to 0.5.7 ( #4179 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 16:01:16 -07:00
Tom Moor
dcf700072d
Extract email styles into head ( #4172 )
...
* Extract email styles into head
* tsc
2022-09-26 06:43:38 -07:00
Tom Moor
89a133ea59
Add sameSite attribute for auth cookies
2022-09-24 21:46:25 -04:00
Tom Moor
61a8230b47
Merge branch 'main' of github.com:outline/outline
2022-09-24 17:29:31 -04:00
Tom Moor
91d8d27f2d
feat: Render diffs in email notifications ( #4164 )
...
* deps
* diffCompact
* Diffs in email
* test
* fix: Fade deleted images
fix: Don't include empty paragraphs as context
fix: Allow for same image multiple times and refactor
* Remove target _blank
* fix: Table heading incorrect color
2022-09-24 14:29:11 -07:00
dependabot[bot]
0c5859222f
chore(deps-dev): bump concurrently from 7.3.0 to 7.4.0 ( #4111 )
...
Bumps [concurrently](https://github.com/open-cli-tools/concurrently ) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases )
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v7.3.0...v7.4.0 )
---
updated-dependencies:
- dependency-name: concurrently
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-24 14:22:51 -07:00
dependabot[bot]
4171725697
chore(deps): bump query-string from 7.0.1 to 7.1.1 ( #4110 )
...
Bumps [query-string](https://github.com/sindresorhus/query-string ) from 7.0.1 to 7.1.1.
- [Release notes](https://github.com/sindresorhus/query-string/releases )
- [Commits](https://github.com/sindresorhus/query-string/compare/v7.0.1...v7.1.1 )
---
updated-dependencies:
- dependency-name: query-string
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-24 14:22:22 -07:00
dependabot[bot]
50353304cb
chore(deps-dev): bump url-loader from 0.6.2 to 4.1.1 ( #4113 )
...
Bumps [url-loader](https://github.com/webpack-contrib/url-loader ) from 0.6.2 to 4.1.1.
- [Release notes](https://github.com/webpack-contrib/url-loader/releases )
- [Changelog](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/url-loader/compare/v0.6.2...v4.1.1 )
---
updated-dependencies:
- dependency-name: url-loader
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-24 14:22:08 -07:00
Apoorv Mishra
7a590550c9
Sign webhook requests ( #4156 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-09-24 14:19:26 -07:00
Translate-O-Tron
75fb0826c5
New Crowdin updates ( #4125 )
2022-09-24 12:36:43 -07:00
Tom Moor
1ac33a9466
Small tweak to menu backdrop on mobile
2022-09-22 22:55:43 -04:00
Tom Moor
996a11f5e3
fix: Incorrect integration settings for Draw.IO being used
2022-09-22 22:49:37 -04:00
Tom Moor
39e1f43598
fix: Allow expanding current selection in tables, closes #4128
2022-09-22 21:55:57 -04:00
Tom Moor
0232f3ee98
fix: Don't show colored ring on inactive collaborators, closes #4130
2022-09-22 21:49:03 -04:00
Tom Moor
7da4b50f4f
Allow click on link decoration to open, closes #4076
2022-09-22 21:14:07 -04:00
Tom Moor
da62307b43
fix: Embeds should not trigger when pasting urls in code, closes #4138
2022-09-22 21:02:45 -04:00
Tom Moor
6455b5332d
feat: Cmd+Enter opens selected link, closes #4151
2022-09-22 20:53:25 -04:00
Tom Moor
61154ba618
fix: Scroll to header does not work when header contains Chinese characters
2022-09-22 09:59:31 -04:00
Tom Moor
4f40c64101
fix: Share links containing share links can lead to 'Not found' pages
2022-09-22 09:11:45 -04:00
Tom Moor
62b4f520de
fix: Do not forward to a disabled authentication provider when attempting to sign-in with email
2022-09-22 07:27:03 -04:00
Tom Moor
d825ed957d
tsc
2022-09-21 10:44:58 -04:00
Tom Moor
cfabc2e8a0
test
2022-09-21 09:39:39 -04:00
Tom Moor
98e44f528f
0.66.1
2022-09-21 09:05:39 -04:00
Tom Moor
0e79795856
fix: Cannot download export result, closes #4059
2022-09-21 09:05:26 -04:00
Tom Moor
4f9a99c9b4
test
2022-09-18 18:09:28 -04:00
Tom Moor
f8912732b8
chore: Flag users with platform used
2022-09-18 17:53:55 -04:00
Tom Moor
ae697339ac
fix: Remove restriction on team domains for self-hosted installs
2022-09-18 17:16:50 -04:00
Tom Moor
d16a0365d7
chore: Move language and account delete from Profile -> Preferences
2022-09-18 16:43:18 -04:00
Apoorv Mishra
6502b108e3
Introduce account preferences to remember user's previous location ( #4126 )
2022-09-18 06:01:47 -07:00
Tom Moor
b68e58fad5
Improve keyboard navigation on sidebar tree items
2022-09-17 19:47:16 -04:00
Tom Moor
58c1a83ef0
chore: Bump dnd-kit
2022-09-17 19:23:42 -04:00
Tom Moor
f8895dacda
fix: Don't redirect to document after dragging pin
2022-09-17 19:23:25 -04:00
Tom Moor
15505cf951
fix double border on document card curl
2022-09-17 21:27:23 +01:00
Tom Moor
dccf86c491
fix: Hide membership preview on mobile
2022-09-16 07:25:19 +01:00
Tom Moor
a74635a37f
fix: Improved breakpoints for pins on mobile
...
fix: Prevent clock icon shrinking
fix: Prevent metadata wrapping
2022-09-15 23:04:43 +01:00
Tom Moor
410c9900c1
feat: Updated designs for pinned docs ( #4124 )
...
* Updated designs
* css
2022-09-15 00:51:51 -07:00
Translate-O-Tron
03a496929c
New Crowdin updates ( #4057 )
2022-09-14 15:52:27 -07:00
Tom Moor
c6e11bac71
feat: Add Dutch translations to language selector ( #4120 )
...
noramlize wording and order of available languages
2022-09-14 15:52:08 -07:00
Apoorv Mishra
ce410c4bf3
Support user and team preferences ( #4081 )
...
* feat: support user preferences
* feat: support team preferences
* fix: update snapshots
* feat: update last visited url by user
* fix: update snapshots
* fix: use path instead of complete url
* fix: do not expose preferences to other users with the exception of admin
* feat: support defaultDocumentStatus as a team preference
* feat: allow edit even when collaborative editing is enabled
* Revert "feat: allow edit even when collaborative editing is enabled"
This reverts commit a22a02a406d01eb418dab32249b8b846bf77c59b.
* Revert "feat: support defaultDocumentStatus as a team preference"
This reverts commit 4928cffe5c682952b1e469a3e50a1a34d05dcc58.
* fix: keep preference as a boolean
2022-09-14 16:07:39 +05:30
Tom Moor
607a795dd0
tsc
2022-09-14 11:04:38 +01:00
Tom Moor
e1e7f1b97d
fix: Include the maximum document import size in the error message
2022-09-14 09:20:17 +01:00
Tom Moor
6bb1b1ac1d
fix: Include the maximum document import size in the error message
2022-09-13 09:09:04 +01:00
Tom Moor
7d92b60e97
feat: Improve translations, fade inactive collection members
2022-09-13 08:47:41 +01:00
Tom Moor
6502aff4ef
fix: Toggling history sidebar should not push into history stack
2022-09-13 00:34:00 +01:00
Tom Moor
34fd039b6c
Add 'Open command menu' to keyboard shortcuts
2022-09-13 00:30:15 +01:00
Tom Moor
5e2e8afd92
Update home icon
2022-09-13 00:28:37 +01:00
Tom Moor
edd7aed7b2
fix: Line breaks inside of imported HTML image src fail import
2022-09-12 23:08:59 +01:00
Tom Moor
fe3ff1215e
Make submenus dismissable on mobile, alternative solution closes #3948
2022-09-12 10:12:42 +01:00
Tom Moor
abb03cc113
fix: Consistent capitalization
2022-09-12 09:37:01 +01:00
Tom Moor
9f17b4a545
fix: Spelling on collection export modal
2022-09-12 09:37:01 +01:00
vgwidt
ad3e880491
fix: Dialog doesn't close after deleting a document with a parent ( #4108 )
2022-09-12 01:26:09 -07:00
Tom Moor
15877fbb39
Update NudeButton.tsx
2022-09-11 14:54:26 -07:00
Tom Moor
a3907918e4
fix: CMD+F twice should allow page search
...
closes #4105
2022-09-11 15:48:45 +01:00
Tom Moor
afc7fb5f1d
fixes #4104
2022-09-11 15:27:19 +01:00
Tom Moor
0587968f8b
perf: More selective resource pre-fetching
2022-09-11 15:14:03 +01:00
Tom Moor
2c5b18c76b
fix: Avoid requesting recent searches until command bar is opened
2022-09-11 15:06:28 +01:00
Tom Moor
6877312b7a
fix: integrations.list requested more than once
2022-09-11 15:03:25 +01:00
Tom Moor
ec13220881
Simplify heading
2022-09-11 14:41:56 +01:00
Tom Moor
c89567991b
fix: Unsure filename when downloading an untitled document
...
fix: Unsure unique filename when downloading revision
2022-09-11 14:32:38 +01:00
Tom Moor
0fd576cdd5
feat: Updated collection header ( #4101 )
...
* Return total results from collection membership endpoints
* Display membership preview on collections
* fix permissions
* Revert unneccessary changes
2022-09-11 05:54:57 -07:00
Tom Moor
3aa7f34a73
fix: Regression in new docs starting with 'Untitled'
2022-09-10 23:32:30 +01:00
Tom Moor
1f93399447
feat: Add availableTeams to auth.info endpoint ( #3981 )
...
* Index emails migration
* feat: Add available teams to auth.info endpoint
* test
* separate presenter
* Include data from sessions cookie, include likely logged in state
* test
* test: Add test for team only in session cookie
* Suggested query change in PR feedback
2022-09-10 06:58:38 -07:00
Tom Moor
c10be0ebaa
fix: Missing spacing on document history loading state
2022-09-10 14:41:50 +01:00
dependabot[bot]
9ebc69a830
chore(deps): bump @renderlesskit/react from 0.6.0 to 0.11.0 ( #4065 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 16:44:40 -07:00
dependabot[bot]
a8b8953f4b
chore(deps): bump @babel/plugin-proposal-decorators ( #3945 )
...
Bumps [@babel/plugin-proposal-decorators](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-decorators ) from 7.12.1 to 7.18.10.
- [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.18.10/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>
2022-09-09 16:44:22 -07:00
dependabot[bot]
3a55ba4fd7
chore(deps-dev): bump webpack-cli from 3.3.12 to 4.10.0 ( #3941 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 16:39:26 -07:00
dependabot[bot]
c0b4b4ab75
chore(deps-dev): bump eslint from 7.13.0 to 7.32.0 ( #3944 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.13.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.13.0...v7.32.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 16:29:52 -07:00
Tom Moor
8a0c46adeb
fix: Collections not loaded if sidebar item collapsed
...
closes #4073
2022-09-09 23:54:22 +01:00
Tom Moor
04aad08e78
fix: Spacing around empty history state
2022-09-09 23:11:55 +01:00
Tom Moor
6f11bff91e
fix: Strange sidebar animation when history open and switching between docs
...
closes #4091
2022-09-09 23:00:56 +01:00
Tom Moor
c963abeb8b
fix: Missing cascade constraints on notifications table ( #4096 )
2022-09-09 14:31:38 -07:00
Tom Moor
35ea1cdff8
fix: Missing recipient.user, closes #4093
2022-09-09 22:30:31 +01:00
Tom Moor
12bb97ea99
fix: Server error viewing history with emoji in document, closes #4092
2022-09-09 22:29:42 +01:00
Tom Moor
876803362f
fix: Server error when code is passed as null to users.delete, closes #4070
2022-09-09 22:10:32 +01:00
Tom Moor
54dc0521e5
fix: Missing recipient.user, closes #4093
2022-09-09 22:05:28 +01:00
Tom Moor
b44aa62432
Bump prosemirror-commands
2022-09-09 09:41:57 +01:00
Tom Moor
c2876ca396
fix: Retain scroll position when navigating through document history
...
closes #4087
2022-09-08 13:01:01 +01:00
Tom Moor
810ef2134a
fix: Escape key to exit history view
2022-09-08 12:04:09 +01:00
Tom Moor
e0c74483d1
fix: Alignment of skeleton on document history sidebar
2022-09-08 12:02:33 +01:00
Tom Moor
fa75d5585f
feat: Show diff when navigating revision history ( #4069 )
...
* tidy
* Add title to HTML export
* fix: Add compatability for documents without collab state
* Add HTML download option to UI
* docs
* fix nodes that required document to render
* Refactor to allow for styling of HTML export
* div>article for easier programatic content extraction
* Allow DocumentHelper to be used with Revisions
* Add revisions.diff endpoint, first version
* Allow arbitrary revisions to be compared
* test
* HTML driven revision viewer
* fix: Dark mode styles for document diffs
* Add revision restore button to header
* test
* Support RTL languages in revision history viewer
* fix: RTL support
Remove unneccessary API requests
* Prefetch revision data
* Animate history sidebar
* fix: Cannot toggle history from timestamp
fix: Animation on each revision click
* Clarify currently editing history item
2022-09-08 02:17:52 -07:00
Apoorv Mishra
97f70edd93
Permanently redirect to /s/... for share links ( #4067 )
2022-09-08 00:44:25 -07:00
Tom Moor
c36dcc9712
feat: Open random document in command menu
2022-09-07 22:45:37 +01:00
Tom Moor
e8a6de3f18
feat: Add HTML export option ( #4056 )
...
* tidy
* Add title to HTML export
* fix: Add compatability for documents without collab state
* Add HTML download option to UI
* docs
* fix nodes that required document to render
* Refactor to allow for styling of HTML export
* div>article for easier programatic content extraction
2022-09-07 04:34:39 -07:00
Fawzi E. Abdulfattah
eb5126335c
Improving the urls to not break protocols and adding tests ( #3995 )
...
* Improving the urls utils to not break dynamic protocols and testing the utils
Signed-off-by: iifawzi <iifawzie@gmail.com >
* Adding a list of blocked protocols
Signed-off-by: iifawzi <iifawzie@gmail.com >
* Update the way of sanitizing blocked protocols
Signed-off-by: iifawzi <iifawzie@gmail.com >
* Update shared/utils/urls.ts
Javascript pseudo protocol does not require the //
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* updating the javascript protocol sanitizing tests
Signed-off-by: iifawzi <iifawzie@gmail.com >
* Update shared/utils/urls.test.ts
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
* Update shared/utils/urls.ts
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
* Using toBe instead of toEqual in tests
Signed-off-by: iifawzi <iifawzie@gmail.com >
* Sanitizing data: and vbscript:
Signed-off-by: iifawzi <iifawzie@gmail.com >
* Using toBeUndefined instead of toEqual in tests
Signed-off-by: iifawzi <iifawzie@gmail.com >
* Using URL to check the protocols
Signed-off-by: iifawzi <iifawzie@gmail.com >
* Allowing sms, fax, and tel protocols
Signed-off-by: iifawzi <iifawzie@gmail.com >
* Update shared/utils/urls.ts
inlining the protocols in the same file
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* removing unused protocols constant
Signed-off-by: iifawzi <iifawzie@gmail.com >
Signed-off-by: iifawzi <iifawzie@gmail.com >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
2022-09-07 16:51:56 +05:30
Apoorv Mishra
1e39b564fe
Throttle email notifications upon updating document frequently ( #4026 )
...
* feat: add needed columns for throttling notifs
* feat: update model
* feat: deliver only one notif in a 12 hour window
* fix: address review comments
* prevent retry if notification update fails
* fix type compatibility instead of circumventing it
* add index for emailedAt
* fix: add metadata attr to EmailProps
* chore: decouple metadata from EmailProps
* chore: add test
* chore: revert sending metadata in props
2022-09-07 16:51:30 +05:30
Tom Moor
e4023d87e2
fix: Animation of InputSelect is janky ( #4061 )
2022-09-06 01:17:52 -07:00
Tom Moor
2d39a6f0ab
Update SERVICES.md
2022-09-05 12:51:30 -07:00
Tom Moor
34b586724b
fix: Cannot download export result, closes #4059
2022-09-05 10:22:17 +02:00
Tom Moor
09b2d0babe
0.66.0
2022-09-05 00:07:38 +02:00
Translate-O-Tron
18821fdee2
New Crowdin updates ( #4004 )
2022-09-04 03:56:48 -07:00
Tom Moor
c8b12a59e2
fix: Post-signin redirect path is no longer saved ( #4054 )
...
closes #4045
2022-09-04 03:56:12 -07:00
Tom Moor
c964163cc5
fix: Handle GitLab can be configured for tokens to not expire. ( #4051 )
...
closes #4040
2022-09-04 03:56:00 -07:00
Tom Moor
c9156ae399
fix: Login screen not vertically centered on mobile ( #4052 )
2022-09-04 00:14:32 -07:00
Tom Moor
e0e87ea6a2
fix: Allow backlinks to work with fully qualified urls and anchors ( #4050 )
...
closes #4048
2022-09-04 00:14:21 -07:00
Tom Moor
e1b0e94fd5
Wrap code blocks when printing, closes #4001
2022-09-03 23:39:22 +02:00
Tom Moor
2fa5e5c796
fix: Incorrect validation
2022-09-02 20:56:13 +02:00
Tom Moor
0882a50cfd
fix: Requests using GET that should be POST, related #4042
2022-09-02 10:45:20 +02:00
Tom Moor
c85f3bd7b4
fix: Remove ability to use GET for RPC API requests by default ( #4042 )
...
* fix: Remove ability to use GET for RPC API requests by default
* tsc
2022-09-02 01:05:40 -07:00
Nicolas Caluori
2d29f0f042
Content is displayed wrongly when printing / Save as PDF ( #4043 )
2022-09-02 01:05:09 -07:00
dependabot[bot]
67d119f932
chore(deps): bump moment-timezone from 0.5.34 to 0.5.37 ( #4037 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-31 11:48:30 +05:30
Tom Moor
32b76303e5
Add simple count of views to share links ( #4036 )
...
* Add simple count of views to share links
* Remove no longer applicable tests
* Avoid incrementing view count for known bots
2022-08-30 23:16:40 -07:00
Tom Moor
212985e18f
feat: Allow viewers to be upgraded to editors on individual collections ( #4023 )
...
* Improve types
* More types, fix default permission for viewers added to collection
* fix change of default role for CollectionGroup
* Restore policy
* test
* tests
2022-08-30 23:12:27 -07:00
Tom Moor
b8115ae3ce
fix: Add url validation to team and user avatar fields
2022-08-30 23:05:57 +02:00
Tom Moor
264f19d255
fix: Suppress TooManyRequestsError to error tracker
2022-08-28 21:17:51 +02:00
Tom Moor
6fc1cbc0ce
fix: Unneccessary requests made on share links
2022-08-27 20:45:07 +02:00
Tom Moor
3cc3cd8cf8
fix: Do not replace SSR title with 'Untitled', closes #3985
2022-08-27 20:20:59 +02:00
Tom Moor
b9f1fde2e3
test
2022-08-27 13:39:11 +02:00
Tom Moor
a1d4cca9d9
Add support for document subscriptions to websockets
2022-08-27 12:53:40 +02:00
Tom Moor
922bf53753
fix: Document subscriptions backfill not recursive
2022-08-27 11:58:21 +02:00
Tom Moor
1c8fadbe02
Merge branch 'tom/socket-refactor'
2022-08-27 11:51:38 +02:00
Apoorv Mishra
4dbad4e46c
feat: Support embed configuration ( #3980 )
...
* wip
* stash
* fix: make authenticationId nullable fk
* fix: apply generics to resolve compile time type errors
* fix: loosen integration settings
* chore: refactor into functional component
* feat: pass integrations all the way to embeds
* perf: avoid re-fetching integrations
* fix: change attr name to avoid type overlap
* feat: use hostname from embed settings in matcher
* Revert "feat: use hostname from embed settings in matcher"
This reverts commit e7485d9cda .
* feat: refactor into a class
* chore: refactor url regex formation as a util
* fix: escape regex special chars
* fix: remove in-house escapeRegExp in favor of lodash's
* fix: sanitize url
* perf: memoize embeds
* fix: rename hostname to url and allow spreading entire settings instead of just url
* fix: replace diagrams with drawio
* fix: rename
* fix: support self-hosted and saas both
* fix: assert on settings url
* fix: move embed integrations loading to hook
* fix: address review comments
* fix: use observer in favor of explicit state setters
* fix: refactor useEmbedIntegrations into useEmbeds
* fix: use translations for toasts
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-26 12:21:46 +05:30
CuriousCorrelation
24c71c38a5
feat: Document subscriptions ( #3834 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-25 23:47:13 -07:00
Tom Moor
354a68a8b7
Remove long-deprecated documents.star/documents.unstar
2022-08-25 21:51:34 +02:00
Tom Moor
bb12f1fabb
SocketProvider -> WebsocketProvider
2022-08-25 21:34:54 +02:00
Tom Moor
debadcb711
fix: Wrap websocket handlers in action
...
Separate documents.archive
2022-08-25 21:34:54 +02:00
Tom Moor
d2aea687f3
Remove collection fetch on document delete
2022-08-25 21:34:54 +02:00
Tom Moor
60309975e0
Allow usePolicy to fetch missing policies
2022-08-25 21:34:54 +02:00
Tom Moor
983010b5d8
fix: collections.create event not propagated when initialized with private permissions
2022-08-25 21:34:54 +02:00
Tom Moor
de5524d366
Add tracing around websocket processor
2022-08-25 21:34:54 +02:00
Tom Moor
c62bfc4a60
Separate documents.update event
2022-08-25 21:34:54 +02:00
Tom Moor
7804f33e0d
Separate teams.update event
2022-08-25 21:34:54 +02:00
Tom Moor
d17e6f3432
Separate documents.delete event
2022-08-25 21:34:54 +02:00
Tom Moor
4f1277f912
Separate groups.delete event
2022-08-25 21:34:54 +02:00
Tom Moor
b172da6fdf
Separate collections.delete event
2022-08-25 21:34:54 +02:00
Tom Moor
138bc367dd
types
2022-08-25 21:34:54 +02:00
Tom Moor
c657134b46
types
2022-08-25 21:34:54 +02:00
Tom Moor
864f585e5b
chore: Remove long deprecated database columns ( #3821 )
...
* chore: Remove long deprecated database columns
* test
* Update 20220720221531-remove-deprecated-columns.js
* fix rollback
* Add guard for upgrading past v0.54.0
2022-08-25 11:52:01 -07:00
Tom Moor
a869ab7609
fix: Improve error messaging when file cannot be fetched for import
...
related #4006
2022-08-24 21:25:19 +02:00
Tom Moor
a3d8e6c8fc
chore: Add db:create command
2022-08-24 00:04:37 -07:00
Tom Moor
68f24fce21
fix: Add support for new clickup sharing links
2022-08-23 23:04:21 +02:00
Tom Moor
f0cbbee4b8
Merge branch 'main' of github.com:outline/outline
2022-08-23 22:58:45 +02:00
Tom Moor
7345d0c256
Remove links to valid files
2022-08-23 10:21:35 -07:00
Tom Moor
ee05a8a0ca
Merge branch 'main' of github.com:outline/outline
2022-08-23 09:58:03 +02:00
Translate-O-Tron
fd7e0ef41f
New Crowdin updates ( #3958 )
2022-08-22 11:41:16 -07:00
Tom Moor
1e5cf2d960
chore: Update dd-trace
2022-08-22 14:47:19 +02:00
Tom Moor
421312b845
Possible fix for #3986
2022-08-22 09:47:47 +02:00
Tom Moor
f1bd4a5b31
Merge branch '3991-add-explicit-timeouts-to-requests'
2022-08-22 09:21:22 +02:00
Tom Moor
72b0e78788
fix: Validate uuid on attachments.create endpoint
2022-08-20 23:46:01 +02:00
Tom Moor
8302840ab5
feat: Add timeout to incoming requests
2022-08-19 08:14:11 +02:00
Tom Moor
f32f07cdcc
chore: Refactor user activation to command
2022-08-18 11:24:27 +02:00
Tom Moor
f620a9d34c
fix: Cannot start without --services argument, regressed in 41d7cc26b5
...
closes #3984
2022-08-18 09:48:28 +02:00
Tom Moor
7113b5f604
fix: Restore user deletion through API, increase rate limit
2022-08-17 22:40:00 +02:00
Tom Moor
41d7cc26b5
chore: Adds name to Redis connections for debugging ( #3982 )
...
* chore: Adds name to Redis connections for debugging, minor associated refactoring
* Upgrade bull, ioredis
* Add pid to redis connection name in development
2022-08-17 12:55:57 -07:00
Tom Moor
e57941732a
fix: emoji column no longer filled in db, simplified state length validation
2022-08-16 22:05:10 +02:00
Tom Moor
a738b51d87
chore: Add additional logging for unknown request errors
2022-08-16 19:49:15 +02:00
Tom Moor
85dab03820
docs
2022-08-16 19:43:50 +02:00
Tom Moor
ed8176ca7d
fix: Limit ws payload size
2022-08-16 10:27:55 +02:00
Tom Moor
cfa7ecd7f8
fix: Add missing validation to document state
2022-08-16 09:35:31 +02:00
github-actions[bot]
44a4aee5cf
chore: Auto Compress Images ( #3977 )
...
Co-authored-by: apoorv-mishra <apoorv-mishra@users.noreply.github.com >
2022-08-16 00:10:52 -07:00
Jonathan Harrrington
7ead17a8e0
Add support for Grist embeds. ( #3914 )
...
* Add support for Grist embeds.
* Change Grist integration to only support SaaS
* Update Regex
* Update shared/editor/embeds/index.tsx
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
* Change Grist embed to use function based API
* Convert standard URL into embed url
* Update shared/editor/embeds/Grist.tsx
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
* Update shared/editor/embeds/Grist.tsx
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
* Update shared/editor/embeds/Grist.tsx
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
* Lint and test updates
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-16 09:17:20 +05:30
Apoorv Mishra
7a758f84a0
chore: refactor server test setup ( #3976 )
...
* chore: refactor server test setup
* Close dangling redis connections instead of mocking rate limiter
specific modules
* Segregate pre and post env test setup
* fix: remove mock file
2022-08-16 09:16:57 +05:30
Tom Moor
93bb9d067d
fix: H1 and title should be different sizes, closes #3975
2022-08-15 23:02:35 +02:00
Tom Moor
9f3266abaf
Remove headings 4 and below from TOC, see:
...
https://github.com/outline/outline/discussions/3973
2022-08-15 22:46:49 +02:00
Tom Moor
4d0473c22c
Reference email image by cid for self hosted instances ( #3957 )
2022-08-14 08:50:49 -07:00
Tom Moor
d8b4814aa9
perf: Suppress Mermaid diagram rendering when hidden ( #3963 )
2022-08-14 08:50:37 -07:00
Tom Moor
a326e0ee88
chore: Rate limiter audit ( #3965 )
...
* chore: Rate limiter audit api/users
* Make requests required
* api/collections
* Remove checkRateLimit on FileOperation (now done at route level through rate limiter)
* auth rate limit
* Add metric logging when rate limit exceeded
* Refactor to shared configs
* test
2022-08-14 08:04:04 -07:00
Tom Moor
9338328a82
fix: Add expiry to socket<->user mapping in Redis
2022-08-13 22:26:13 +02:00
Tom Moor
31931fc80c
test: Remove --detectLeaks as this expiremental flag is good – but flakey, tests fail in CI that do not locally
2022-08-12 15:37:08 +02:00
Tom Moor
7deda03000
test: Fix test memory leakage by mocking RateLimiter
2022-08-12 15:14:58 +02:00
Nan Yu
990de127e3
feat: add session switching to the root action menu ( #3925 )
...
* feat: add session switching to the root action menu
* minor fixes
* stylistic consistency
* capitalize account section
* minor fix
2022-08-12 05:11:22 -07:00
Apoorv Mishra
0c51bfb899
perf: reduce memory usage upon running server tests ( #3949 )
...
* perf: reduce memory usage upon running server tests
* perf: plug leaks in server/routes
* perf: plug leaks in server/scripts
* perf: plug leaks in server/policies
* perf: plug leaks in server/models
* perf: plug leaks in server/middlewares
* perf: plug leaks in server/commands
* fix: missing await on db.flush
* perf: plug leaks in server/queues
* chore: remove unused legacy funcs
* fix: await on db.flush
* perf: await on GC to run in between tests
* fix: remove db refs
* fix: revert embeds
* perf: plug leaks in shared/i18n
2022-08-11 21:39:17 +05:30
akp
8e1f42a9cb
Add optional export notifications ( #3935 )
...
* Add `emails.export_completed` notification to settings menu
Signed-off-by: AKP <tom@tdpain.net >
* Don't send email when export_completed notifications are disabled
Signed-off-by: AKP <tom@tdpain.net >
* Automatically subscribe new users to `export_completed` notifications
Signed-off-by: AKP <tom@tdpain.net >
* Alter secondary text on export page to mention optional notifications
Signed-off-by: AKP <tom@tdpain.net >
* Alter toast text on collection export for optional notifications
Signed-off-by: AKP <tom@tdpain.net >
* Only subscribe new admins to export notifs
Signed-off-by: AKP <tom@tdpain.net >
* Move `export_completed` notification decision into `beforeSend`
Signed-off-by: AKP <tom@tdpain.net >
* Update server/emails/templates/ExportFailureEmail.tsx
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Update server/emails/templates/ExportSuccessEmail.tsx
Co-authored-by: Tom Moor <tom.moor@gmail.com >
Signed-off-by: AKP <tom@tdpain.net >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-11 07:31:35 -07:00
Tom Moor
1adcce6b5d
fix: Upgrade markdown-it to fix text collapse bug ( #3953 )
...
* fix: Upgrade markdown-it to fix text collapse bug
* tsc. Need to overwrite the types for now until all Prosemirror modules are updated, they have recently been converted to Typescript and the types conflict
2022-08-11 06:31:52 -07:00
Translate-O-Tron
a5d611d544
New Crowdin updates ( #3795 )
2022-08-11 05:46:21 -07:00
Tom Moor
1d242d44b1
chore: Add eslint rule for object shorthand ( #3955 )
2022-08-11 05:18:14 -07:00
Apoorv Mishra
7eaa8eb961
feat: Put request rate limit at application server ( #3857 )
...
* feat: Put request rate limit at application server
This PR contains implementation for a blanket rate limiter at
application server level. Currently the allowed throughput is set high
only to be changed later as per the actual data gathered.
* Simplify implementation
1. Remove shutdown handler to purge rate limiter keys
2. Have separate keys for default and custom(route-based) rate limiters
3. Do not kill default rate limiter because it is not needed anymore due
to (2) above
* Set 60s as default for rate limiting window
* Fix env types
2022-08-11 15:40:30 +05:30
Tom Moor
593cf73118
test: Update jest configuration ( #3951 )
...
* Split shared tests
* Centralize and parallelize jest config
* ci
2022-08-10 13:26:36 -07:00
Tom Moor
e5c5e8907a
fix: Disallow data: URI's for images
2022-08-09 16:31:09 +02:00
dependabot[bot]
5640ec30cc
chore(deps): bump compressorjs from 1.0.7 to 1.1.1 ( #3943 )
...
Bumps [compressorjs](https://github.com/fengyuanchen/compressorjs ) from 1.0.7 to 1.1.1.
- [Release notes](https://github.com/fengyuanchen/compressorjs/releases )
- [Changelog](https://github.com/fengyuanchen/compressorjs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fengyuanchen/compressorjs/compare/v1.0.7...v1.1.1 )
---
updated-dependencies:
- dependency-name: compressorjs
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>
2022-08-08 09:13:03 -07:00
dependabot[bot]
da67486f2f
chore(deps): bump aws-sdk from 2.1044.0 to 2.1189.0 ( #3942 )
...
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js ) from 2.1044.0 to 2.1189.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases )
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1044.0...v2.1189.0 )
---
updated-dependencies:
- dependency-name: aws-sdk
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>
2022-08-08 09:11:55 -07:00
Tom Moor
8c39487c80
Move various document menu actions to action definitions
2022-08-08 17:31:53 +02:00
dependabot[bot]
3ab9d7492e
chore(deps): bump react-merge-refs from 1.1.0 to 2.0.1 ( #3903 )
...
* chore(deps): bump react-merge-refs from 1.1.0 to 2.0.1
Bumps [react-merge-refs](https://github.com/gregberge/react-merge-refs ) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/gregberge/react-merge-refs/releases )
- [Changelog](https://github.com/gregberge/react-merge-refs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gregberge/react-merge-refs/compare/v1.1.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: react-merge-refs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* tsc
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-08 15:04:18 +01:00
dependabot[bot]
6a5d6ee3db
chore(deps): bump oy-vey from 0.10.0 to 0.11.2 ( #3902 )
...
* chore(deps): bump oy-vey from 0.10.0 to 0.11.2
Bumps [oy-vey](https://github.com/oysterbooks/oy ) from 0.10.0 to 0.11.2.
- [Release notes](https://github.com/oysterbooks/oy/releases )
- [Changelog](https://github.com/revivek/oy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/oysterbooks/oy/compare/0.10.0...0.11.2 )
---
updated-dependencies:
- dependency-name: oy-vey
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* tsc
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-08 07:02:41 -07:00
Tom Moor
57f9871c22
Add NODE_ENV=production to env sample
2022-08-08 05:52:03 -07:00
Tom Moor
dca491fc28
test: Fix frontend test failures from upgrading Jest to v28
2022-08-08 13:31:34 +02:00
Tom Moor
e97cc61e2f
test: Mock bull, fix setInterval capturing memory in tests
...
Towards #3939
2022-08-08 13:15:06 +02:00
Tom Moor
ba385e1507
chore: Bump jest
2022-08-08 12:40:17 +02:00
Tom Moor
71c9fcf59b
test: Avoid creation of new server/app instance for each route test
2022-08-08 12:06:54 +02:00
Tom Moor
b45e6c504f
fix: Prevent webhook delivery for deleted teams
2022-08-08 11:15:04 +02:00
Tom Moor
1b00d51c74
fix: Check WebhookSubscription is not disabled before delivery attempt
2022-08-08 11:10:10 +02:00
Tom Moor
7923a7e071
Enforce user invites/request on server
2022-08-08 11:02:37 +02:00
Tom Moor
b37a848914
Add limit of 10 webhooks/team
2022-08-08 10:58:47 +02:00
github-actions[bot]
dca9bc1598
chore: Compressed inefficient images automatically ( #3933 )
...
Co-authored-by: apoorv-mishra <apoorv-mishra@users.noreply.github.com >
2022-08-07 13:10:08 -07:00
Apoorv Mishra
982ab2b48e
feat(editor): support google form embeds ( #3930 )
...
Fixes #3129 and #3923
2022-08-07 12:41:30 +05:30
Nan Yu
74d9409cc3
fix: refactor auth flow to explicitly pass in a host ( #3909 )
...
* fix: refactor auth flow to explicitly pass in a host
* add new error handler to all SSO providers
* refactor passport error into middleware
2022-08-04 02:00:52 -07:00
Apoorv Mishra
0a6cfe5a6a
feat: Choose random color on collection creation ( #3912 )
...
Choose a random color from a shared color palette between backend
and frontend during collection creation.
2022-08-04 01:48:19 -07:00
Apoorv Mishra
4a16124a94
fix: Remove templatize action for trashed document ( #3922 )
2022-08-04 01:44:15 -07:00
Apoorv Mishra
294521f162
fix: Escape regex for embeds ( #3907 )
...
Fixes #3899
2022-08-02 01:40:11 -07:00
Apoorv Mishra
00481d2bfc
fix: Improve document delete confirmation message ( #3876 )
...
Modify document delete confirmation message to warn
about the number of expected nested documents to be deleted.
2022-08-01 15:51:30 -07:00
Tom Moor
eace258a86
Revert "chore(deps-dev): bump react-refresh from 0.9.0 to 0.14.0 ( #3901 )" ( #3908 )
...
This reverts commit de4b515e64 .
2022-08-01 15:43:47 -07:00
dependabot[bot]
de4b515e64
chore(deps-dev): bump react-refresh from 0.9.0 to 0.14.0 ( #3901 )
...
Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react ) from 0.9.0 to 0.14.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v0.14.0/packages/react )
---
updated-dependencies:
- dependency-name: react-refresh
dependency-type: direct:development
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>
2022-08-01 13:57:32 -07:00
dependabot[bot]
c35c566fef
chore(deps-dev): bump concurrently from 6.2.1 to 7.3.0 ( #3905 )
...
Bumps [concurrently](https://github.com/open-cli-tools/concurrently ) from 6.2.1 to 7.3.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases )
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v6.2.1...v7.3.0 )
---
updated-dependencies:
- dependency-name: concurrently
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>
2022-08-01 11:56:14 -07:00
Pavlos
d9dc6aa2d7
Fix URL in huntr page link ( #3906 )
2022-08-01 18:51:38 +01:00
Spotlight
192802d360
feat: Expand highlighted languages ( #3891 )
...
Adds Elixir, Kotlin, and Swift to the list of available languages to be highlighted.
2022-07-31 11:23:59 -07:00
Tom Moor
cb9773ad85
chore: Add emailed confirmation code to account deletion ( #3873 )
...
* wip
* tests
2022-07-31 10:59:40 -07:00
Tom Moor
f9d9a82e47
fix: Cannot hit enter after sentance starting with forward slash
...
closes #3879
2022-07-29 09:15:48 +01:00
Tom Moor
383bac241e
fix: Suppress ForbiddenError in error tracker
2022-07-26 23:18:26 +01:00
Tom Moor
ea28dc46eb
fix: Error in WebhookProcessor when team is permanatly destroyed
2022-07-26 22:33:48 +01:00
Tom Moor
2794057738
fix: Sequelize rejectOnEmpty should result in 404 status
2022-07-26 22:06:47 +01:00
Tom Moor
b7b1f5e1fd
fix: Cleanup attachments uploaded to S3 when import fails ( #3868 )
2022-07-26 12:10:13 -07:00
Tom Moor
8fdd5bf734
fix: substitution of content when sending an image to a profile ( #3869 )
...
* fix: Limit public uploads to basic image types
* test
2022-07-26 12:10:00 -07:00
Tom Moor
086c3ec2d8
fix: Allow more flexible SMTP connection when SSL is not required. Do not fail on self-signed certs
2022-07-25 23:44:20 +01:00
Tom Moor
f370b0296b
fix: File operation cleanup task should also remove import data
2022-07-25 21:10:37 +01:00
Tom Moor
9b837763e6
0.65.2
2022-07-25 19:25:23 +01:00
dependabot[bot]
3d9a8be867
chore(deps-dev): bump typescript from 4.4.4 to 4.7.4 ( #3866 )
...
* chore(deps-dev): bump typescript from 4.4.4 to 4.7.4
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.4.4 to 4.7.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.7.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* tsc
* tsc
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-07-25 11:21:04 -07:00
dependabot[bot]
c8caeebdba
chore(deps): bump react-window from 1.8.6 to 1.8.7 ( #3865 )
...
Bumps [react-window](https://github.com/bvaughn/react-window ) from 1.8.6 to 1.8.7.
- [Release notes](https://github.com/bvaughn/react-window/releases )
- [Changelog](https://github.com/bvaughn/react-window/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bvaughn/react-window/commits )
---
updated-dependencies:
- dependency-name: react-window
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>
2022-07-25 11:09:47 -07:00
dependabot[bot]
2c7d5ac3d8
chore(deps-dev): bump @types/jsonwebtoken from 8.5.5 to 8.5.8 ( #3864 )
...
Bumps [@types/jsonwebtoken](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jsonwebtoken ) from 8.5.5 to 8.5.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jsonwebtoken )
---
updated-dependencies:
- dependency-name: "@types/jsonwebtoken"
dependency-type: direct:development
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>
2022-07-25 11:09:32 -07:00
Tom Moor
30190866f8
test: Flakey test
2022-07-25 08:59:30 +01:00
Tom Moor
53a08cf307
chore: Basic protection against zip bombs
2022-07-24 23:51:04 +01:00
dependabot[bot]
1c5864deee
chore(deps-dev): bump eslint-config-prettier from 8.3.0 to 8.5.0 ( #3807 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.3.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.3.0...v8.5.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
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>
2022-07-24 13:11:11 -07:00
Tom Moor
865e6d048e
fix: 'Export' option missing in collection menu for admins
2022-07-24 20:29:59 +01:00
Tom Moor
5e852170f9
perf: Read attachment buffers only when neccessary, closes #3849
2022-07-24 19:15:34 +01:00
Tom Moor
71da57773e
docs
2022-07-24 14:09:43 +01:00
Tom Moor
ec35af4bc5
Refactor validations
2022-07-24 13:40:04 +01:00
Nan Yu
870d9ed41e
feat: allow external SSO methods to log into teams as long as emails match ( #3813 )
...
* wip
* wip
* fix comments
* better separation of conerns
* fix up tests
* fix semantics
* fixup tsc
* fix some tests
* the old semantics were easier to use
* add db:reset to scripts
* explicitly throw for unauthorized external authorization
* fix minor bug
* add additional tests for user creator and team creator
* yank the email matching logic out of teamcreator
* renaming
* fix type and test errors
* adds test to ensure that accountProvisioner works with email matching
* remove only
* fix comments
* recreate changes to allow self hosted to make teams
2022-07-24 04:55:30 -07:00
Apoorv Mishra
24170e8684
chore: Remove updatedAt column from events table ( #3841 )
2022-07-24 01:57:21 -07:00
Tom Moor
7ae892fe06
fix: Long collection description prevents import ( #3847 )
...
* fix: Long collection description prevents import
fix: Parallelize attachment upload during import
* fix: Improve Notion image import matching
* chore: Bump JSZIP (perf)
* fix: Allow redirect from /doc/<id> to canonical url
* fix: Importing document with only title duplicates title in body
2022-07-24 01:37:20 -07:00
Tom Moor
4f537c7578
Remove retry on export task
2022-07-23 17:00:32 +01:00
Tom Moor
4bca081faa
chore: Add rolling window limits to import and export operations
2022-07-23 16:29:28 +01:00
Tom Moor
87b4c9fdba
fix: Cannot create collection if all existing collections are deleted ( #3836 )
2022-07-22 10:44:11 -07:00
Tom Moor
6fe4b1cba1
fix: Code block previous language memory ( #3830 )
2022-07-22 01:59:48 -07:00
Tom Moor
ef2abf824e
fix: Correctly sanitize href in link editor 'open url' flow
2022-07-22 00:23:53 +01:00
Tom Moor
4b4b0f7037
Revert "feat: Port scenes/Search to functional component style ( #3800 )" ( #3827 )
...
This reverts commit 5758ff3459 .
2022-07-21 03:37:27 -07:00
Tom Moor
80d50e3d88
fix: Diagrams.net proxy path considered as embeddable
2022-07-21 10:51:34 +01:00
Tom Moor
ba264974cf
fix: Improvement to accuracy of collaboration server metrics
2022-07-21 09:44:13 +01:00
CuriousCorrelation
71dd4f267b
feat: Port UserListItem to functional style ( #3802 )
...
* feat: Port `UserListItem` to functional style
* Add translation for pending invite
* Add missing translations
* Update `translations.json`
* Revert "Update `translations.json`"
This reverts commit d8000a7510 .
* fix: Incorrect translation strings
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-07-20 15:07:01 -07:00
CuriousCorrelation
5758ff3459
feat: Port scenes/Search to functional component style ( #3800 )
...
* feat: Refactor Search scene to functional style
* fix: Clicking on recent not updating search input
* Replace translations and root objs with stores
* Replace `props.location` with `useLocation`
* deconstruct `useLocation` for readability
* Replace match prop term with `useParams`
* [WIP] Replace props history with `useHistory`
* Replace `ReactComponentProps` with state style
* Remove `lastParam` check, use dependency array instead
* Add explict match on param change
This reverts commit bfcc4038ff .
2022-07-20 15:06:49 -07:00
dependabot[bot]
6568b16ef9
chore(deps): bump terser from 4.8.0 to 4.8.1 ( #3817 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 15:05:19 -07:00
Tom Moor
ef0412c449
fix: Cannot create new team on self-hosted ( #3819 )
2022-07-20 13:18:21 -07:00
Tom Moor
031a7d396f
Add message to login screen for shared links
2022-07-19 17:57:13 +01:00
Nan Yu
c3f5563e7f
feat: scope login attempts to specific subdomains if available - do not switch subdomains ( #3741 )
...
* make the user lookup in user creator sensitive to team
* add team specific logic to oidc strat
* factor out slugifyDomain
* change type of req during auth to Koa.Context
2022-07-19 06:50:55 -07:00
Tom Moor
4ee3929e9d
0.65.1
2022-07-19 09:59:02 +01:00
Tom Moor
9ab409a640
fix: Account for non-SSL database connection in pending migrations check ( #3811 )
...
* fix: Account for non-SSL database connection in pending migrations check
* Double exit
2022-07-19 01:58:48 -07:00
Tom Moor
9cafe75bf2
0.65.0
2022-07-18 23:30:51 +01:00
Tom Moor
630b4eff8a
chore: Bump passport
2022-07-18 22:51:11 +01:00
Tom Moor
bf8ca59442
chore: Bump moment
2022-07-18 22:40:34 +01:00
Tom Moor
9dd28def67
fix: Force download of public attachments
2022-07-18 21:49:48 +01:00
dependabot[bot]
d785389fde
chore(deps): bump prosemirror-gapcursor from 1.2.1 to 1.3.1 ( #3808 )
...
Bumps [prosemirror-gapcursor](https://github.com/prosemirror/prosemirror-gapcursor ) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/prosemirror/prosemirror-gapcursor/releases )
- [Changelog](https://github.com/ProseMirror/prosemirror-gapcursor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prosemirror/prosemirror-gapcursor/compare/1.2.1...1.3.1 )
---
updated-dependencies:
- dependency-name: prosemirror-gapcursor
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>
2022-07-18 13:01:26 -07:00
Tom Moor
1ccd770bce
Merge branch 'main' of github.com:outline/outline
2022-07-18 19:25:50 +01:00
dependabot[bot]
7719d378b0
chore(deps): bump semver and @types/semver ( #3805 )
...
Bumps [semver](https://github.com/npm/node-semver ) and [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver ). These dependencies needed to be updated together.
Updates `semver` from 7.3.5 to 7.3.7
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v7.3.5...v7.3.7 )
Updates `@types/semver` from 7.3.9 to 7.3.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: "@types/semver"
dependency-type: direct:development
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>
2022-07-18 11:25:09 -07:00
dependabot[bot]
f26f8d4bb9
chore(deps-dev): bump @types/node from 15.12.2 to 18.0.6 ( #3806 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 15.12.2 to 18.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
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>
2022-07-18 11:24:43 -07:00
dependabot[bot]
89d4aeac67
chore(deps): bump slug and @types/slug ( #3804 )
...
Bumps [slug](https://github.com/Trott/slug ) and [@types/slug](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/slug ). These dependencies needed to be updated together.
Updates `slug` from 4.0.4 to 5.3.0
- [Release notes](https://github.com/Trott/slug/releases )
- [Changelog](https://github.com/Trott/slug/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Trott/slug/compare/v4.0.4...v5.3.0 )
Updates `@types/slug` from 5.0.2 to 5.0.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/slug )
---
updated-dependencies:
- dependency-name: slug
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: "@types/slug"
dependency-type: direct:development
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>
2022-07-18 11:24:29 -07:00
Tom Moor
dc94a683e7
chore: Reduce timeout on webhook deliveries
2022-07-17 18:48:45 +01:00
Jamie Slome
04f5b08ba1
Update SECURITY.md ( #3711 )
...
* Update SECURITY.md
* Update SECURITY.md
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-07-17 07:29:10 -07:00
CuriousCorrelation
5924f4909f
fix: Cursor disappearing behind emoji ( #3786 )
...
* fix: Cursor disappearing behind emoji
* Move emoji node styles to `Styles.ts`
* fix: grammar
* fix: Pasting emoji adds a new line
* fix: DOM element type
2022-07-17 06:49:39 -07:00
CuriousCorrelation
c00bad38e2
feat(editor): Ability to select line in codeblocks ( #3798 )
...
* feat(editor): Ability to select line in codeblocks
* fix: Check to make sure sel is indeed in codeblock
2022-07-17 06:49:30 -07:00
Tom Moor
11e1ef455f
chore: Improve UUID vaildation – prevent nonsense reaching db queries
2022-07-17 14:49:04 +01:00
Tom Moor
4af69b2758
fix: Moving an image to empty space results in endless upload ( #3799 )
...
* fix: Error dragging images below doc, types
* fix: Handle html/text content dropped into padding
* refactor, docs
2022-07-17 03:31:55 -07:00
Tom Moor
dee87f15af
fix: Members table does not correctly reset from filters
2022-07-16 18:47:36 +01:00
dependabot[bot]
67885e7339
chore(deps): bump react-dnd-html5-backend from 14.0.0 to 16.0.1 ( #3769 )
...
Bumps [react-dnd-html5-backend](https://github.com/react-dnd/react-dnd ) from 14.0.0 to 16.0.1.
- [Release notes](https://github.com/react-dnd/react-dnd/releases )
- [Changelog](https://github.com/react-dnd/react-dnd/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react-dnd/react-dnd/commits )
---
updated-dependencies:
- dependency-name: react-dnd-html5-backend
dependency-type: direct:production
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>
2022-07-16 10:15:11 -07:00
Tom Moor
0b0a1b0169
fix: Heading action depth conflict, closes #3558
2022-07-16 17:58:02 +01:00
Tom Moor
de18196fd8
chore: Upgrade socket.io ( #3697 )
...
* Upgrade wip
* tsc
* tsc
* fix: Missing authenticated message
2022-07-16 06:02:03 -07:00
dependabot[bot]
96d1c4997b
chore(deps): bump yjs from 13.5.34 to 13.5.39 ( #3770 )
...
Bumps [yjs](https://github.com/yjs/yjs ) from 13.5.34 to 13.5.39.
- [Release notes](https://github.com/yjs/yjs/releases )
- [Commits](https://github.com/yjs/yjs/compare/v13.5.34...v13.5.39 )
---
updated-dependencies:
- dependency-name: yjs
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>
2022-07-16 02:40:34 -07:00
Tom Moor
95f4fb2424
chore: Remove deprecated socket.io-auth ( #3780 )
2022-07-16 02:27:09 -07:00
Tom Moor
1247bb411e
Merge branch 'paullessing-issue-3655-allowed-domains-save-no-change'
2022-07-16 00:38:28 +01:00
Tom Moor
7ffb182034
Merge branch 'issue-3655-allowed-domains-save-no-change' of github.com:paullessing/outline into paullessing-issue-3655-allowed-domains-save-no-change
2022-07-16 00:37:49 +01:00
Translate-O-Tron
fc414e2dd4
New Crowdin updates ( #3723 )
2022-07-15 16:19:13 -07:00
Nan Yu
c3ec7b0877
Feat: clarify security language and hide default settings when invites are required ( #3751 )
...
* clarify default role and allowed domains
* language tweaks
* Update app/scenes/Settings/Security.tsx
Co-authored-by: Tom Moor <tom.moor@gmail.com >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-07-15 16:13:41 -07:00
Tom Moor
e509719c77
Add ability to quickly create test users in development ( #3764 )
2022-07-15 16:11:30 -07:00
Tom Moor
a16cf72b73
feat: Error state for paginated lists ( #3766 )
...
* Add error state for failed list loading
* Move sidebar collections to PaginatedList for improved error handling, loading, retrying etc
2022-07-15 16:11:04 -07:00
CuriousCorrelation
acabc00643
fix: ToolbarMenu popup on inline code selection ( #3775 )
...
* fix: `ToolbarMenu` popup on inline code selection
* fix: Replace `isCode` checks with single `isInCode`
* feat: Only relevant options on `code_inline` selection
* Change special case with item visibility toggle
* fix: `formattingMenuItems` visibility in `code_inline`
2022-07-15 16:10:47 -07:00
Tom Moor
e989999d6e
fix: Upgrade prosemirror-view fixes duplicate lines, closes #3371
...
Note: That this bump of prosemirror-view also includes typescript types for the first time ever, these conflict with the @types packages and cause the need for extensive changes throughout the codebase. To prevent this becoming a massive PR with days of testing these new types are being removed for now. In the future we will bump all of the pm dependencies and restore the package types here
2022-07-15 10:34:03 +01:00
dependabot[bot]
c3e149eb86
chore(deps): bump @babel/core from 7.17.10 to 7.18.6 ( #3771 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.17.10 to 7.18.6.
- [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.18.6/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
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>
2022-07-13 12:48:57 -07:00
dependabot[bot]
4c05fe422c
chore(deps): bump http-errors from 1.4.0 to 2.0.0 ( #3772 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 00:59:56 -07:00
Tom Moor
47e73cee4e
feat: Cleanup api keys and webhooks for suspended users ( #3756 )
2022-07-13 00:59:31 -07:00
CuriousCorrelation
d1b01d28e6
fix: svg+xml image type ext not assigned properly ( #3774 )
2022-07-13 00:59:17 -07:00
Tom Moor
973cfc3fa3
Do not show suspended users to non admins ( #3776 )
2022-07-13 00:59:06 -07:00
dependabot[bot]
dd6084d044
chore(deps-dev): bump @types/formidable from 2.0.0 to 2.0.5 ( #3773 )
...
Bumps [@types/formidable](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/formidable ) from 2.0.0 to 2.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/formidable )
---
updated-dependencies:
- dependency-name: "@types/formidable"
dependency-type: direct:development
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>
2022-07-12 11:07:17 -07:00
Tom Moor
206545f350
fix: Ensure signed attachment urls are always downloaded rather than loaded in browser
2022-07-12 17:14:22 +01:00
Tom Moor
e92d68a0a3
Create dependabot.yml
2022-07-12 09:40:44 +02:00
CuriousCorrelation
66dbcde29b
feat: Redirect on unpublished share access ( #3760 )
...
* feat(WIP): Redirect on unpublished shares
* feat[WIP]: add redirect with test notice
* Revert to `Login` display, no redirects
2022-07-10 23:59:45 -07:00
Tom Moor
465a8bd505
fix: Version tag should open new tab, related type improvements
...
closes #3737
2022-07-10 11:22:45 +02:00
Tom Moor
aef62d1356
fix: Publish click from editing heading, closes #3759
2022-07-10 10:23:00 +02:00
Tom Moor
35e82beaf7
chore: Upgrade koa- dependencies ( #3761 )
2022-07-09 10:23:42 -07:00
Tom Moor
8bb88b8550
chore: Audit of all model column validations ( #3757 )
...
* chore: Updating all model validations before the white-hatters get to it ;)
* test
* Remove isUrl validation, thinking about it need to account for minio and other weird urls here
2022-07-09 08:04:40 -07:00
Tom Moor
da4a10e877
chore: Remove shares.info apiVersion 1 ( #3758 )
...
* chore: Remove shares.info apiVersion 1
* fix: Sporadic test failure
2022-07-09 04:28:56 -07:00
Tom Moor
caaf6dd76b
fix: Enter at beginning of collapsed heading should create a new heading above ( #3754 )
2022-07-09 02:23:12 -07:00
Tom Moor
2893924e9a
fix: Must check length before passing to timingSafeEqual
2022-07-09 11:19:40 +02:00
Tom Moor
32b7a7df00
fix: Handle sanitizeUrl can receive non-string value
...
closes #3746
2022-07-08 21:15:07 +02:00
Tom Moor
97f8c0813c
fix: Use crypto.timingSafeEqual, closes #3740
2022-07-08 21:10:51 +02:00
CuriousCorrelation
746dc30aeb
feat: Add pending migrations check during startup ( #3744 )
...
* feat: Add pending migrations check during startup
* fix: migration pending log message
Co-authored-by: Tom Moor <tom.moor@gmail.com >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-07-08 11:30:16 -07:00
Tom Moor
4a46d19846
fix: Improved model validation for Collection ( #3749 )
...
* fix: Added improved model validation for Collection attributes
* sp
* fix: Enforce title length in UI
2022-07-08 11:10:22 -07:00
Tom Moor
98106e7f6f
Update 20220702132722-add-webhooks-deleted-at.js
2022-07-08 02:22:48 -07:00
Nan Yu
1e808fc52c
Feat: add auth provider to users on sign in ( #3739 )
...
* feat: merge a new authentication method onto existing user records when emails match
* adds test for invite acceptance and auth provider creation
* addresses comments
- test existing user and invites in different test cases
- update lastActiveAt syncronously when an invite is accepted
* sort arrays in test to prevent nondeterministic test behaivior when doing array compare
2022-07-08 00:24:46 -07:00
Tom Moor
ec8c0645ba
fix: Correct annotation order 🙈
2022-07-07 12:23:27 +02:00
Tom Moor
f90309e781
fix: Unneccessary restrictive avatarUrl length
2022-07-07 12:16:54 +02:00
Paul Lessing
d8f125f413
Fix: Move logic inline
2022-07-07 11:01:32 +01:00
Tom Moor
c36e7bfbb6
fix: Add 10 domain limit per team ( #3733 )
...
* fix: Validate team domains are FQDN's
Add 10 domain limit per team
fix: Deletion of domains not happening within request lifecycle
* tests
* docs
2022-07-05 12:27:02 -07:00
Tom Moor
831df67358
feat: Adds route-level role filtering. ( #3734 )
...
* feat: Adds route-level role filtering. Another layer in the onion of security and performance
* fix: Regression in authentication middleware
2022-07-05 12:26:49 -07:00
Tom Moor
c6fdffba77
chore: Internal request filtering
2022-07-05 11:06:47 +02:00
Tom Moor
4e189b8970
Improved sanitization of href's in editor
2022-07-05 10:14:16 +02:00
Tom Moor
2f3dcb2520
fix: Do not show 'Full width' toggle to viewers
...
closes #3728
2022-07-04 15:20:01 +02:00
Nan Yu
f36f5f13f4
Fix: clear localstore after logout ( #3731 )
...
* fix: remove user, team, and policies from auth store and localstorage on logout
* true up the reset everywhere
2022-07-04 01:47:44 -07:00
Tom Moor
5d498632c6
fix: Models are not all removed from local store upon access change ( #3729 )
...
* fix: Clean data from stores correctly on 401/403 response
* Convert DataLoader from class component, remove observables and caching
* types
2022-07-03 13:48:50 -07:00
Tom Moor
9cd26168e1
Separates policy for file operations
2022-07-03 18:19:56 +02:00
Tom Moor
ee10e1407a
fix: Typo of fileOperation -> fileOperations
2022-07-03 16:27:03 +02:00
Tom Moor
c9af7ff889
fix: Suppress db validation errors in error reporting
2022-07-03 16:03:53 +02:00
Tom Moor
27978b8fc4
fix: Remove teams.create from audit events
2022-07-03 14:16:49 +02:00
Tom Moor
62d9bf7105
chore: Move initial avatar upload to background worker ( #3727 )
...
* chore: Async user avatar upload processor
* chore: Async team avatar upload
* Refactor to task for retries
* Docs
Include avatarUrl in task props to prevent race condition
Remove transaction around upload fetch request
2022-07-03 02:36:15 -07:00
Tom Moor
1f3a1d4b86
fix: Improved websockets error handling ( #3726 )
...
* fix: Add websocket client error capturing
fix: Incorrect parsing of documentName will never be empty
* fix: Non-present documentId in collaboration route should trigger an error response
* fix: Close unhandled websocket requests
2022-07-03 00:00:59 -07:00
Tom Moor
8ebe4b27b1
fix: Add additional model validation ( #3725 )
2022-07-02 14:29:01 -07:00
Tom Moor
0c30d2bb34
fix: share.document can be null when document is deleted
...
closes #3724
2022-07-02 19:56:15 +02:00
Tom Moor
f744d488f6
chore: Soft delete webhooks ( #3722 )
2022-07-02 10:41:28 -07:00
Tom Moor
8ebf6e884f
fix: Startup warning caused by unnecessary compilation of tests and mocks in non-test environments
2022-07-02 15:57:35 +02:00
Tom Moor
4438c80ea1
fix: users.promote + users.demote not available for individual subscription in webhook form
2022-07-02 14:55:07 +02:00
Tom Moor
863f22750f
feat: Add optional notification email when invite is accepted ( #3718 )
...
* feat: Add optional notification email when invite is accepted
* Refactor to use beforeSend
2022-07-02 05:40:40 -07:00
Tom Moor
ee22a127f6
feat: Add email when webhook is disabled ( #3721 )
...
fix: Webhook not disabled under some error conditions
2022-07-02 05:36:40 -07:00
Tom Moor
c9cd424a8d
chore: Remove over-usage of invariant ( #3719 )
2022-07-02 05:29:39 -07:00
Tom Moor
108b5b934a
fix: users.promote & users.demote not handled by DeliverWebhookTask
2022-07-02 14:24:49 +02:00
Tom Moor
94824af6e7
fix: Allow soft-deleted records to be queried from RevisionProcessor
...
closes #3706
2022-07-02 11:58:22 +02:00
Tom Moor
1c6eef3509
Don't show share link when team sharing disabled ( #3714 )
...
fix: Docs appear to be publicly shared when sharing previously enabled
2022-07-02 01:37:10 -07:00
Translate-O-Tron
4e09356982
New Crowdin updates ( #3681 )
2022-07-01 13:22:01 -07:00
Nan Yu
4b166432e6
fix: show a distinct error message when a user tries to create an account using a personal gmail ( #3710 )
...
* fix: show a different error message when a user tries to create an account using a personal gmail
* throw only after attempting to find the team
2022-07-01 13:21:23 -07:00
CuriousCorrelation
adb55fa965
feat: Custom Length decorator for UTF-8 chars len ( #3709 )
...
* feat: Custom Length decorator for UTF-8 chars len
* fix: Length decorator function return type
2022-07-01 13:21:09 -07:00
Tom Moor
7ce57c9c83
fix: attachments events not recognised by DeliverWebhookTask
2022-07-01 18:40:32 +02:00
Tom Moor
b44dc726f3
test: fix fetch related tests
2022-06-30 10:37:06 +02:00
Paul Lessing
117421b4cb
Feat: Only show save domains button if changes were made
...
The logic for this is that we show the button if either:
a) one or more new non-empty domains have been added, or
b) an existing domain was modified, even if the modification was then undone.
The reasoning for b) is as follows:
If a user adds a new domain row, makes changes, then removes the domain row, it is clear to the user that no changes have been made, and therefore the "save" button should not be visible.
However, as soon as the user makes any changes to an existing domain, they want to feel confident that they can hit save and ensure that whatever change they made is persisted; even if the change is identical to the current state, because they may not be able to recall accurately what the current state was. In those situations a user gets more confidence out of being able to hit save, than they would from being told by the system "you haven't made any changes".
2022-06-29 08:33:07 +01:00
Tom Moor
930bfd5391
fix: Must import fetch, log errors, use git short sha for version
2022-06-29 08:28:44 +02:00
Tom Moor
10f86ed218
feat: Webhooks ( #3691 )
...
* Webhooks (#3607 )
* Get the migration and the model setup. Also make the sample env file a bit easier to use. Now just requires setting a SECRET_KEY and besides that will boot up from the sample
* WIP: Start getting a Webhook page created. Just the skeleton state right now
* WIP: Getting a form created to create webhooks, need to bring in react-hook-forms now
* WIP: Get library installed and make TS happy
* Get a few checkboxes ready to go
* Get creating and destroying working with a decent start to a frontend
* Didn't mean to enable this
* Remove eslint and fix other random typescript issue
* Rename some events to be more realistic
* Revert these changes
* PR review comments around policies. Also make sure this inherits from IdModel so it actually gets an id
* Allow any admin on the team to edit webhooks
* Start sending some webhooks for some User events
* Make sure the URL is valid
* Start recording webhook deliveries
* Make sure to verify if the subscription is for the type of event we are looking at
* Refactor sending Webhooks and follow better webhook schema
This creates a presenter to unify the format of webhooks. We also
extract the sending of webhooks and recording their deliveries to a
method than can be used by each of the different event type methods
We also add a status to WebhookDelivery since we need to save the record
before we make the HTTP request to get its id. Then once we make the
request and get a response we can update the delivery with the HTTP info
* Turn off a subscription that has failed for the last 25 deliveries
* Get a first spec passing. Found a bug in my returning of promises so good to patch that up now
* This looks nicer
* Get some tests added for the processor
* Add cron task to delete older webhooks
* Add Document Events to the Processor
* Revisions, FileOperations and Collections
* Get all the server side events added to the processor and make Typescript make sure they are all accounted for
* Get all the events added to the Frontend and work on styling them a bit, still needs some love though
* Get UI styled up a bit
* Get events wired up for webhook subscriptions
* Get delete events working and test at least one variant of them
* Get deletes working and actually make sure to send the model id in the webhook
* Remove webhook secrets from this slice
* Add disabled label for subscriptions that are disabled
* Make sure to cascade the delete
* Reorg this file a bit
* Fix association
* I removed secret for the moment
* Apply Copy changes from PR Review
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Actually apply the copy changes
TIL that if you Resolve a conversation it _also_ removes the 'staged suggestion' from your list on Github
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Update app/scenes/Settings/Webhooks.tsx
Missed this copy change before
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Add disabled as yellow badge
* Resolve frontend comments
* Fixup Schema a bit and remove the dependency on the subscription
* Add test to make sure we don't disable until there are enough failures, and fix code to actually do that. Also some test fixes from the json response shape changes
* Fix WebhookDeliveries to store the responses as Text instead of blobs
* Switch to text better for response bodies, this is using the helpers better and makes the code read better
* Move the logic to a task but run in through the processor cause the tests expect that right now, moving the tests over next
* Split up the tests and actually enqueue the events from the WebhookProcessor instead of doing them inline
* Allow any team admin to see any webhook subscription for the team
* Add the indexes based on our lookup patterns
* Run eslint --fix to fix auto correct issues from when I tried to use Github to merge copy changes
* Allow subscriptions to be edited after creation
* Types caught that I didn't add the new event to the webhook processor, also added it to the frontend here
* I think this will get these into the translations file
* Catch a few more translations, use styled components better and remove usage of webhook subscription in the copy
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* fix: tsc
fix: Document model payload empty
* fix: Revision webhook payload
Add custom UA for hooks
* Add webhooks icon, move under Integrations settings
Some spacing fixes
* Add actorId to webhook payloads
* Add View and ApiKey event types
* Spacing tweaks, fix team payload
* fix: Webhook not disabled after 25 failures
* fix: Enable webhook when editing if previously disabled
* fix: Correctly store response headers
* fix: Error in json/parsing/presentation results in hanging 'pending' webhook delivery
* fix: Awkward payload for users.invite webhook
* Add BaseEvent, ShareEvent
* fix: Add share events to form
* fix: Move webhook delivery cleanup to single DB call
Remove some unused abstraction
* Add user, collection, group context to membership webhook events
Some associated refactoring
Co-authored-by: Corey Alexander <coreyja@gmail.com >
2022-06-28 22:44:50 -07:00
Tom Moor
9a6e09bafa
feat: Add mermaidjs integration ( #3679 )
...
* feat: Add mermaidjs integration (#3523 )
* Add mermaidjs to dependencies and CodeFenceNode
* Fix diagram id for mermaidjs diagrams
* Fix typescript compiler errors on mermaid integration
* Fix id generation for mermaid diagrams
* Refactor mermaidjs integration into prosemirror plugin
* Remove unnecessary class attribute in mermaidjs integration
* Change mermaidjs label to singular
* Change decorator.inline to decorator.node for mermaid diagram id
* Fix diagram toggle state
* Add border and background to mermaid diagrams
* Stop mermaidjs from overwriting fontFamily inside diagrams
* Add stable diagramId to mermaid diagrams
* Separate text for hide/show diagram
Use uuid as diagramId, avoid storing in state
Fix cursor on diagrams
* fix: Base diagram visibility off presence of source
* fix: More cases where our font-family is ignored
* Disable HTML labels
* fix: Button styling – not technically required but now we have a third button this felt all the more needed
closes #3116
* named chunks
* Upgrade mermaid 9.1.3
Co-authored-by: Jan Niklas Richter <5812215+ArcticXWolf@users.noreply.github.com >
2022-06-28 22:44:36 -07:00
Paul Lessing
c65a88fc9f
Fix: Changing security settings should not implicitly save allowedDomains
2022-06-28 19:40:25 +01:00
Tom Moor
e24a5adbd5
deps: upgrade nodemon, jpeg-js
2022-06-27 16:45:54 +02:00
Tom Moor
cddb6b2c32
deps: upgrade bull-board
2022-06-27 16:42:45 +02:00
Tom Moor
ac467b2936
fix: Return direct url to public attachments, closes #3686
2022-06-24 11:24:11 +02:00
Tom Moor
68ce304b48
fix: Language in document notification email, missing collection name
2022-06-24 10:01:54 +02:00
Tom Moor
50456c3b89
fix: Custom domain authentication, regressed in:
...
https://github.com/outline/outline/pull/3652
2022-06-22 21:58:05 +02:00
Tom Moor
51230a55e5
fix: Post-auth subdomain redirect
2022-06-22 19:51:37 +02:00
Tom Moor
6d4da176d1
chore: Move provisionSubdomain from Team model to teamCreator command
2022-06-22 11:09:20 +02:00
Tom Moor
88b3b50333
Enable turning off collaborative editing when self-hosted with warning
2022-06-22 09:15:14 +02:00
Tom Moor
305de71e8b
chore: Block all email providers from being added as team domains ( #3678 )
2022-06-21 01:29:43 -07:00
Tom Moor
9cd3ec0868
chore: Simplify model save codepath, prevents text from being sent ever when collab editing enabled
2022-06-20 22:55:37 +02:00
Tom Moor
6975d76faf
fix: Paste without formatting not respected
...
closes #3675
2022-06-20 15:58:07 +02:00
Tom Moor
4b27feff61
fix: Enable documents.update with collab editing ( #3647 )
...
* fix: Enable documents.update with collab editing
* jest cannot deal with ESM deps
2022-06-20 06:36:25 -07:00
Nan Yu
e0d2b6cace
feat: allow personal gmail accounts to be used to sign into teams with an existing invite ( #3652 )
...
* feat: allow personal gmail accounts to be used to sign into teams with an existing invite
* address comments
* add comment for appDomain
* address comments
2022-06-20 01:33:16 -07:00
Translate-O-Tron
188c1e409b
New Crowdin updates ( #3648 )
...
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Portuguese translations from Crowdin [ci skip]
* fix: New Persian translations from Crowdin [ci skip]
* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]
* fix: New Vietnamese translations from Crowdin [ci skip]
* fix: New Chinese Traditional translations from Crowdin [ci skip]
* fix: New Turkish translations from Crowdin [ci skip]
* fix: New Swedish translations from Crowdin [ci skip]
* fix: New Russian translations from Crowdin [ci skip]
* fix: New Polish translations from Crowdin [ci skip]
* fix: New Spanish translations from Crowdin [ci skip]
* fix: New Korean translations from Crowdin [ci skip]
* fix: New Japanese translations from Crowdin [ci skip]
* fix: New Italian translations from Crowdin [ci skip]
* fix: New Danish translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Dutch translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Thai translations from Crowdin [ci skip]
* fix: New French translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New Indonesian translations from Crowdin [ci skip]
2022-06-19 14:24:53 -07:00
Nan Yu
9faa5dd011
chore: minor version bump ( #3654 )
2022-06-12 22:57:59 -07:00
Tom Moor
1a62926909
fix: Allow soft breaks in paragraphs with Shift-Enter
2022-06-09 21:41:15 +02:00
Tom Moor
c4edfb8ebc
fix: Improve embed option visibility in dark mode
2022-06-09 21:38:24 +02:00
Tom Moor
8421e1f773
fix: Allow soft breaks in paragraphs with Shift-Enter
...
closes #3276
2022-06-09 21:24:11 +02:00
Tom Moor
118e5da345
fix: Unpublished does not appear in document history
...
closes #3429
2022-06-09 21:16:37 +02:00
Tom Moor
1c7c478a4a
fix: Newlines should be interpreted as paragraphs when pasting
...
closes #3421
2022-06-09 20:58:52 +02:00
Tom Moor
32cdb3f961
fix: Do not error when moving document into alphabetically ordered collection
...
closes #3649
2022-06-09 20:33:44 +02:00
Tom Moor
d99d84d97d
fix: Email cannot be found for some Azure sign-in accounts
2022-06-09 09:22:12 +02:00
Tom Moor
aed8d7a649
fix: SSR meta data for nested shared documents ( #3646 )
2022-06-08 01:38:34 -07:00
Tom Moor
80ad6cfec8
fix: Expired refreshToken should invalidate session, not check SSO retry task
2022-06-08 08:55:58 +02:00
Translate-O-Tron
892146a563
New Crowdin updates ( #3631 )
2022-06-07 13:57:44 -07:00
Tom Moor
56393f39b7
fix: Previously provisioned JWT's should be revoked on signout ( #3639 )
...
* feat: auth.delete endpoint
* test
2022-06-07 13:57:17 -07:00
Tom Moor
0de6650aa5
chore: Suppress unneccessary model warnings from Sequelize upgrade
2022-06-07 09:38:00 +02:00
Tom Moor
ac551a3c44
chore: Bump workbox-webpack-plugin dependency
2022-06-06 22:06:37 +02:00
Tom Moor
14b9259a47
fix: Always strip trailing slash on canonical links
2022-06-06 22:04:12 +02:00
Tom Moor
e5b524e4c2
chore: Upgrade sequelize dependency
2022-06-06 21:54:54 +02:00
Tom Moor
4bccb4c4ec
chore: Bump bull-board dependencies
2022-06-06 21:18:22 +02:00
Tom Moor
cdd4f0f315
fix: Add postgresql as valid database protocol
2022-06-06 12:13:03 -07:00
Tom Moor
728790e38f
feat: Validate Google, Azure, OIDC SSO access ( #3590 )
...
* chore: Store expiresAt on UserAuthentications. This represents the time that the accessToken is no longer valid and should be exchanged using the refreshToken
* feat: Check and expire Google SSO
* fix: Better handling of multiple auth methods
Added more docs
* fix: Retry access validation with network errors
* Small refactor, add Azure token validation support
* doc
* test
* lint
* OIDC refresh support
* CheckSSOAccessTask -> ValidateSSOAccessTask
Added lastValidatedAt column
Skip checks if validated within 5min
Some edge cases around encrypted columns
2022-06-05 13:18:51 -07:00
Tom Moor
c4c5b6289e
fix: Gap and grammar in Notification settings
2022-06-05 11:47:40 +02:00
Tom Moor
e337123cfd
fix: Add application/x-zip-compressed as acceptable mimetype for bulk import upload
...
related #3632
2022-06-05 11:01:37 +02:00
Tom Moor
ac07724f21
chore: Synchronizing refactor and small fixes from enterprise codebase ( #3634 )
...
* chore: Syncronizing refactor and small fixes from enterprise codebase
* fix
2022-06-05 00:59:41 -07:00
Tom Moor
28439d315d
fix: Self-hosted should show signin options for all configured authentication methods ( #2986 )
2022-06-04 10:46:03 -07:00
Tom Moor
4eb3b61c7a
fix: Lazily polyfill ResizeObserver for old iOS ( #3629 )
...
* fix: Lazily polyfill ResizeObserver for old iOS
* fix: Prevent child rendering until polyfills are loaded
* tsc
2022-06-04 09:06:07 -07:00
Translate-O-Tron
6fc608c8c1
New Crowdin updates ( #3622 )
2022-06-04 08:15:54 -07:00
Tom Moor
2dc930bfe2
fix: Context menus not scrollable on iOS ( #3626 )
...
closes #3588
2022-06-04 08:15:43 -07:00
Tom Moor
bf233b209b
fix: Alternative fix to #3583 , addresses some bugs that were introduced
2022-06-03 11:03:44 +02:00
Tom Moor
1dfd1e0681
fix: Reference error visiting share link for deleted team
2022-06-03 08:58:31 +02:00
dependabot[bot]
4054afe6f9
chore(deps): bump protobufjs from 6.11.2 to 6.11.3 ( #3623 )
2022-06-02 23:17:50 -07:00
Tom Moor
2d7dd558a1
fix: Unable to delete user via API ( #3619 )
...
Remove requirement to pass 'confirmation' to users.delete
closes #3604
2022-06-02 12:56:27 -07:00
Tom Moor
68dd76cfa3
chore: Update documentImporter with changes from enterprise, improved Confluence compat
2022-06-02 21:42:32 +02:00
Tom Moor
9113989635
fix: Members list does not update when viewing while underlying users changes
...
closes #3616
2022-06-02 18:43:07 +02:00
Translate-O-Tron
293ce2ba72
New Crowdin updates ( #3608 )
2022-06-02 09:30:28 -07:00
Nan Yu
fa1ce950e8
fix: infinite redirects when hosted subdomain is changed back and forth between two values ( #3615 )
2022-06-02 09:30:13 -07:00
Tom Moor
0a77733500
fix: Update canonical url when moving between pages of shared document
2022-06-01 21:27:18 +02:00
Nan Yu
41e425756d
chore: refactor domain parsing to be more general ( #3448 )
...
* change the api of domain parsing to just parseDomain and getCookieDomain
* adds getBaseDomain as the method to get the domain after any official subdomains
2022-05-31 18:48:23 -07:00
Translate-O-Tron
876f788f59
New Crowdin updates ( #3597 )
...
* fix: New German translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
* fix: New Chinese Simplified translations from Crowdin [ci skip]
* fix: New German translations from Crowdin [ci skip]
2022-05-30 10:33:47 -07:00
Lennart Lösche
0ae559f7bf
Update redis port in sample env file ( #3596 )
...
* fix redis port
The wrong Redis port is specified in the sample file, we fixed that
* adjust redis port in docker-compose
2022-05-30 10:06:10 -07:00
Tom Moor
da87fd422d
Remove hover styles on mobile context menus
2022-05-28 10:05:17 +02:00
Tom Moor
1e84872bab
fix: Only consider enabled AuthenticationProviders for Slack hooks
2022-05-28 09:36:22 +02:00
Tom Moor
4f0051ed5e
fix: Right click on links in editor opens them
...
closes #3594
2022-05-28 09:23:18 +02:00
Tom Moor
317ed1f041
fix: More env validation improvements
...
closes #3593
2022-05-28 09:11:02 +02:00
Tom Moor
8a29a3523a
0.64.3
2022-05-25 06:07:02 +01:00
Tom Moor
2babf42cda
fix: Headings missing in TOC on publicly shared pages
...
closes #3583
2022-05-24 22:11:49 +01:00
Tom Moor
df14da01b0
fix: Allow docker urls for OIDC, closes #3582
2022-05-24 21:20:18 +01:00
Tom Moor
62bb13047a
0.64.2
2022-05-24 08:00:08 +01:00
Tom Moor
6413797c34
fix: Empty string not parsed as false boolean in env validation
...
closes #3581
2022-05-24 07:59:52 +01:00
Tom Moor
ef5e3f0b29
fix: Empty environment variables should not trigger validations
...
Add deprecation notice for SLACK_KEY, SLACK_SECRET
closes #3578
2022-05-23 21:37:27 +01:00
Baptiste Mille-Mathias
51249fd6f7
upgrade CodeQL action to v2 ( #3572 )
...
v1 will be declared deprecated starting dec' 22
https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
2022-05-23 12:51:33 -07:00
Tom Moor
151c2c731a
0.64.1
2022-05-23 13:19:49 +01:00
Tom Moor
519ed1ac2c
fix: Environment variables always interpreted as true,
...
closes #3573
2022-05-23 13:19:38 +01:00
Tom Moor
f1ce28cd8f
fix: Allow underscores in Postgres and Redis hostnames for docker support
...
closes #3574
2022-05-23 13:11:52 +01:00
Tom Moor
adb56a3c31
Update LICENSE
2022-05-23 01:56:46 -07:00
Tom Moor
280e1c1d86
0.64.0
2022-05-23 09:55:20 +01:00
Baptiste Mille-Mathias
3c8b9725e1
Fix github action for stale issues ( #3569 )
2022-05-23 01:42:30 -07:00
Tom Moor
73de15fd5d
fix: documentUpdater called without change can result in lastModifiedById being updated
2022-05-22 22:39:54 +01:00
Tom Moor
a78ad8dec2
fix: Escape user defined values (regressed just now bc7052b7ca)
2022-05-22 11:10:59 +01:00
Tom Moor
45c082f137
fix: Notices dark theme
2022-05-22 09:33:30 +01:00
Tom Moor
4a9892c2e1
robots
2022-05-22 08:58:44 +01:00
Tom Moor
6d7f008af0
fix: Sidebar missing on public documents when accessing with valid team token
2022-05-22 08:51:47 +01:00
Tom Moor
bc7052b7ca
feat: Inject description and canonical url into public share links
2022-05-22 08:46:57 +01:00
Tom Moor
c4006cef7b
perf: Remove markdown serialize from editor render path ( #3567 )
...
* perf: Remove markdown serialize from editor render path
* fix: Simplify heading equality check
* perf: Add cache for slugified headings
* tsc
2022-05-21 12:50:27 -07:00
Tom Moor
2a6d6f5804
chore: Restore more flexible SMTP env email validation
2022-05-21 14:01:57 +01:00
Tom Moor
bf0ff6c823
chore: Casing of logger -> Logger as it's an instantiated class
2022-05-21 13:59:23 +01:00
Tom Moor
6c8b127ff9
chore: isHosted -> isCloudHosted for clarity
2022-05-21 13:34:52 +01:00
Tom Moor
f2be756cf4
feat: Improved error for community edition when database columns cannot be decrypted
2022-05-21 13:25:55 +01:00
rusakovdenis
67049a7868
fix: simplify transformation ( #3548 )
...
* fix: simplify transformation
Functions (isDragging, isOver, canDrop) always return a boolean value
* fix: type
In browserslist must be either an array or an object
2022-05-21 05:14:53 -07:00
Translate-O-Tron
d9706d4735
New Crowdin updates ( #3556 )
2022-05-21 05:14:34 -07:00
Tom Moor
ec748f9914
fix: Floating toolbar should not appear until mouseup when selecting with mouse
...
closes #3564
2022-05-21 12:57:29 +01:00
Tom Moor
ef668c2fa0
Tweak design of notices
2022-05-21 11:06:35 +01:00
Tom Moor
594a004c0f
chore: Move to GitHub action from Probot for stale issue/pr management
2022-05-21 10:05:41 +01:00
Tom Moor
468478d06d
fix: Another timestamp crash
2022-05-21 10:05:41 +01:00
Tom Moor
02caf88d2a
chore: AuthenticationProvider component to function
2022-05-21 10:05:41 +01:00
github-actions[bot]
50f26929a1
chore: Compressed inefficient images automatically ( #3563 )
...
Co-authored-by: tommoor <tommoor@users.noreply.github.com >
2022-05-21 01:44:17 -07:00
Tom Moor
0f93e92bc6
feat: Add 'Scribe' embed support
2022-05-21 09:28:04 +01:00
Tom Moor
c08940ca3c
feat: Add optional replyTo for email sending
2022-05-21 08:36:37 +01:00
Tom Moor
ee8324ad73
fix: Remove additional scope requests for now
2022-05-20 23:59:33 +01:00
Tom Moor
96a32c98e7
fix: Remove email validation to allow for Name <email> format
2022-05-20 22:18:21 +01:00
Tom Moor
5c741e3d98
fix: Crash render timestamp on some languages
2022-05-20 18:58:23 +01:00
Tom Moor
ba7b3fff05
fix: Emojis and embeds cannot be copied to plain text clipboard ( #3561 )
2022-05-20 09:47:13 -07:00
Tom Moor
90ca8655af
fix: Collapsed header button unclickable when full-width document option is selected
...
closes #3558
2022-05-20 10:04:36 +01:00
Tom Moor
0577c73f06
fix: Links with anchors are broken when pages are renamed
...
closes #3553
2022-05-20 09:43:54 +01:00
Tom Moor
39e146b4e6
fix: Minor usability improves to team domain management
2022-05-19 18:28:19 +01:00
Tom Moor
34576dd008
fix: Allow COLLABORATION_URL set with websocket protocol
2022-05-19 16:34:58 +01:00
Translate-O-Tron
585a34d27e
New Crowdin updates ( #3535 )
2022-05-19 08:05:35 -07:00
Tom Moor
3c002f82cc
chore: Centralize env parsing, validation, defaults, and deprecation notices ( #3487 )
...
* chore: Centralize env parsing, defaults, deprecation
* wip
* test
* test
* tsc
* docs, more validation
* fix: Allow empty REDIS_URL (defaults to localhost)
* test
* fix: SLACK_MESSAGE_ACTIONS not bool
* fix: Add SMTP port validation
2022-05-19 08:05:11 -07:00
Corey Alexander
51001cfac1
feat: Migrate allowedDomains to a Team Level Settings ( #3489 )
...
Fixes #3412
Previously the only way to restrict the domains for a Team were with the ALLOWED_DOMAINS environment variable for self hosted instances.
This PR migrates this to be a database backed setting on the Team object. This is done through the creation of a TeamDomain model that is associated with the Team and contains the domain name
This settings is updated on the Security Tab. Here domains can be added or removed from the Team.
On the server side, we take the code paths that previously were using ALLOWED_DOMAINS and switched them to use the Team allowed domains instead
2022-05-17 20:26:29 -04:00
Tom Moor
18e0d936ef
feat: Match incoming search requests using confirmed email as fallback ( #3538 )
2022-05-17 13:49:23 -07:00
Limezy
5658090d7e
Trying to chase missing translations ( #3441 )
2022-05-17 13:01:00 -07:00
Tom Moor
19de348c85
fix: null ref usage, closes #3456
2022-05-16 22:58:59 +01:00
Tom Moor
b8a02df7ba
chore: utils.gc -> cron.daily ( #3543 )
2022-05-16 12:44:22 -07:00
Tom Moor
4c15f27bb2
fix: Focus submit button by default in confirmation dialogs
...
fix: Move collection delete to use confirmation dialog
closes #3446
2022-05-15 16:21:42 +01:00
Tom Moor
b152b9f17b
fix: Possible extra separator in filtered context menus
...
Todo: We need to combine this logic with the menus in the editor, but not today
closes #3506
2022-05-15 15:40:49 +01:00
Tom Moor
40e41b26a1
fix: Missing not found page
...
closes #3476
closes #3531
2022-05-15 15:10:34 +01:00
Translate-O-Tron
4c01f6268e
New Crowdin updates ( #3462 )
2022-05-15 06:46:40 -07:00
Tom Moor
8815a58ff5
perf: Requesting less db columns when calculating collection permissions ( #3498 )
...
perf: Not looping collection documentStructure for unpublish permission calculation
2022-05-15 06:46:24 -07:00
Tom Moor
36a3ae4b01
fix: Don't show suspended users in document facepile or list of viewers ( #3497 )
2022-05-15 06:05:40 -07:00
Tom Moor
bca66f7415
fix: Exports show as 0 bytes
2022-05-15 07:10:35 +01:00
Tom Moor
06d966ad0c
fix: Spacing on login form
...
fix: signup query params overridden unneccessarily
closes #3516
2022-05-15 06:57:35 +01:00
Tom Moor
c205ffbfe9
Merge branch 'main' of github.com:outline/outline
2022-05-11 09:30:08 +01:00
Tom Moor
b75a6928cb
Revert "fix: Fade out navigation when editing and mouse hasn't moved ( #3256 )" ( #3502 )
...
This reverts commit e0cf873a36 .
2022-05-06 13:28:37 -07:00
Tom Moor
0ba792317b
Merge branch 'main' of github.com:outline/outline
2022-05-06 13:01:15 -07:00
Saumya Pandey
e0cf873a36
fix: Fade out navigation when editing and mouse hasn't moved ( #3256 )
...
* fix: hide header when editing
* fix: settings collab switch
* Update app/hooks/useMouseMove.ts
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* fix: accept timeout parameter
* fix: don't hide observing banner
* fix: hide on focused and observing
* perf: memo
* hide References too
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-05-07 00:17:09 +05:30
Tom Moor
1782c08195
fix: Touch lastViewedAt timestamp on document to prevent flash of order repositioning
2022-05-05 23:51:47 -07:00
Tom Moor
d9e7baf072
chore: Update caniuse browser support
2022-05-05 22:29:10 -07:00
Tom Moor
ec1bc801a4
fix: Write revision on document publish
2022-05-04 22:03:04 -07:00
Nan Yu
9117b7479f
fix: paginated list history headings were not rendering when there was only one unique heading ( #3496 )
...
* fix: paginated list history headings were not rendering when there was only one unique heading
* minor bug
2022-05-04 21:08:50 -07:00
Tom Moor
eeb8008927
chore: Refactor collection export to match import ( #3483 )
...
* chore: Refactor collection export to use FileOperations processor and task
* Tweak options
2022-05-01 21:06:07 -07:00
Tom Moor
669575fc89
fix: Account for null collection.documentStructure again
2022-05-01 09:30:47 -07:00
Felix Heilmeyer
247208e5f5
feat: make ioredis configurable via environment variables ( #3365 )
...
* feat: expose ioredis client options
* run linter
* refactor redis client init into class extension
* explicitly handle constructor errors
* rename singletons
2022-05-01 08:44:35 -07:00
Tom Moor
25dce04046
perf: Move collection sorting to frontend ( #3475 )
...
* perf: Move collection sorting to frontend, on demand, memoized
* fix: Add default
2022-05-01 08:30:16 -07:00
Tom Moor
5cd4ecd34a
fix: CRDT creation touches document updated timestamp ( #3482 )
...
fix: Race condition in collaboration document persistence
2022-05-01 08:30:07 -07:00
Tom Moor
bb074edb0d
perf: Improve speed of Azure login (parallelize two slow API requests)
...
chore: Improved types around passport
2022-04-30 16:57:58 -07:00
Tom Moor
a736022c39
chore: cleanup
2022-04-30 09:10:35 -07:00