Tom Moor
38fa3ed903
lint
2022-10-18 20:53:15 -04:00
Tom Moor
c269d9f1a3
Add document context to allow accessing editor in header, modals, and elsewhere
2022-10-18 20:53:15 -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
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