8000 SequelizeDatabaseError: there is no escaped character: "1\" · Issue #7481 · outline/outline · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SequelizeDatabaseError: there is no escaped character: "1\" #7481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sentry-io bot opened this issue Aug 29, 2024 · 2 comments
Closed

SequelizeDatabaseError: there is no escaped character: "1\" #7481

sentry-io bot opened this issue Aug 29, 2024 · 2 comments
Assignees

Comments

@sentry-io
Copy link
sentry-io bot commented Aug 29, 2024

Reproducible with query 1:!

Sentry Issue: OUTLINE-CLOUD-7A0

SequelizeDatabaseError: there is no escaped character: "1\"
  File "/app/build/server/models/helpers/SearchHelper.js", line 141, in SearchHelper.searchForUser
    const results = await _Document.default.unscoped().findAll({
  File "/app/build/server/routes/api/documents/documents.js", line 756, in <anonymous>
    response = await _SearchHelper.default.searchForUser(user, query, {
  File "/app/build/server/routes/api/middlewares/apiResponse.js", line 12, in apiResponseMiddleware
    await next();
  File "/app/build/server/routes/api/middlewares/apiTracer.js", line 21, in apiTracerMiddleware
    await next();
...
(8 additional frame(s) were not displayed)
Copy link
linear bot commented Aug 29, 2024

@tommoor
Copy link
Member
tommoor commented Sep 3, 2024

caub/pg-tsquery#27

@tommoor tommoor self-assigned this Sep 3, 2024
@tommoor tommoor closed this as completed in 9b24482 Sep 3, 2024
truecharts-admin referenced this issue in truecharts/public Sep 5, 2024
…7790c by renovate (#25953)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [outlinewiki/outline](https://redirect.github.com/outline/outline) |
minor | `0.78.0` -> `0.79.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>outline/outline (outlinewiki/outline)</summary>

###
[`v0.79.0`](https://redirect.github.com/outline/outline/releases/tag/v0.79.0)

[Compare
Source](https://redirect.github.com/outline/outline/compare/v0.78.0...v0.79.0)

#### What's Changed

##### Group document membership

It is now possible to add groups directly to documents, all members of
the group will receive access to the document with the chosen
permissions. Use this to share portions of a larger private collection
with a mix of stakeholders. Groups appear as a new sharing option in the
existing `Share` button.

##### Other improvements

- Add support to embed any webpage with `/embed` command by
[@&#8203;Blendman974](https://redirect.github.com/Blendman974) in
[https://github.com/outline/outline/pull/7319](https://redirect.github.com/outline/outline/pull/7319)
- Add support for Dropbox embed by
[@&#8203;LouisKottmann](https://redirect.github.com/LouisKottmann) in
[https://github.com/outline/outline/pull/7299](https://redirect.github.com/outline/outline/pull/7299)
- Add support for workspace templates by
[@&#8203;hmacr](https://redirect.github.com/hmacr) in
[https://github.com/outline/outline/pull/7150](https://redirect.github.com/outline/outline/pull/7150)
- Added `R` language highlighting in code blocks
[https://github.com/outline/outline/issues/7473](https://redirect.github.com/outline/outline/issues/7473)
-   New and improved translations
- Shared and read-only documents can now be dragged to "Starred" in
[https://github.com/outline/outline/pull/7506](https://redirect.github.com/outline/outline/pull/7506)
- Outgoing emails now include headers to enhance threading in inbox by
[@&#8203;hmacr](https://redirect.github.com/hmacr) in
[https://github.com/outline/outline/pull/7477](https://redirect.github.com/outline/outline/pull/7477)
- Inserting `/time` and `/datetime` in templates will now insert a
template variable
- Allowed `shift+enter` to insert a soft break in comments
[#&#8203;7451](https://redirect.github.com/outline/outline/issues/7451)
- Audio and video files are now served with `inline` content disposition
so they display in browser
-   Space characters are now allowed when filtering `@mention`
-   Added an option to clear an existing text highlight in the editor
-   The `e` shortcut now refocuses the editor if unfocused
-   `Shift-Ctrl-c` added as editor shortcut for toggling code blocks

##### Fixes

- Emojis in headings are now correctly included in the table of contents
-   Added a missing error toast when importing a document fails
-   Escape key with suggestion menu open no longer unfocuses editor
- Improved markdown detection of tables with alignment characters in
header
- Comment marks are now correctly removed when a document is duplicated
[https://github.com/outline/outline/issues/7390](https://redirect.github.com/outline/outline/issues/7390)
- Fixed flashing of document header with many live collaborators
[https://github.com/outline/outline/issues/7400](https://redirect.github.com/outline/outline/issues/7400)
- Fixed toolbar positioning issues on Android
[https://github.com/outline/outline/issues/7052](https://redirect.github.com/outline/outline/issues/7052)
- Fixed error when passed too many user invites by
[@&#8203;bkrausz](https://redirect.github.com/bkrausz) in
[https://github.com/outline/outline/pull/7282](https://redirect.github.com/outline/outline/pull/7282)
- Fixed several issues with importing collections by
[@&#8203;hmacr](https://redirect.github.com/hmacr) in
[https://github.com/outline/outline/pull/7270](https://redirect.github.com/outline/outline/pull/7270)
- Fixed an issue where collection index calculation does not take into
account user scope
[https://github.com/outline/outline/pull/7294](https://redirect.github.com/outline/outline/pull/7294)
- Fixed error in `DeliverWebhookTask` when trash is emptied by
[@&#8203;apoorv-mishra](https://redirect.github.com/apoorv-mishra) in
[https://github.com/outline/outline/pull/7304](https://redirect.github.com/outline/outline/pull/7304)
- Fixed a possibility that document title changes are not saved on
navigation in
[https://github.com/outline/outline/pull/7293](https://redirect.github.com/outline/outline/pull/7293)
-   Added protection against pasting invalid `@mentions`
-   Trashed documents no longer appear in "Shared with me"
- Fixed an internal server error when search query contains a `:`
[https://github.com/outline/outline/issues/7481](https://redirect.github.com/outline/outline/issues/7481)
- Fixed backwards icon asset naming by
[@&#8203;bkrausz](https://redirect.github.com/bkrausz) in
[https://github.com/outline/outline/pull/7327](https://redirect.github.com/outline/outline/pull/7327)
- Share dialog is now scrollable again by
[@&#8203;apoorv-mishra](https://redirect.github.com/apoorv-mishra) in
[https://github.com/outline/outline/pull/7344](https://redirect.github.com/outline/outline/pull/7344)
- Fixed an issue where collections are not loaded if collapsed in
sidebar by
[@&#8203;apoorv-mishra](https://redirect.github.com/apoorv-mishra) in
[https://github.com/outline/outline/pull/7358](https://redirect.github.com/outline/outline/pull/7358)
- Fixed internal links copied in publicly shared documents are incorrect
in
[https://github.com/outline/outline/pull/7368](https://redirect.github.com/outline/outline/pull/7368)
- Fixed an issue in latest Chrome that causes editor elements to become
unscrollable in
[https://github.com/outline/outline/pull/7394](https://redirect.github.com/outline/outline/pull/7394)
- Fixed problems viewing comments past first 25 in
[https://github.com/outline/outline/pull/7397](https://redirect.github.com/outline/outline/pull/7397)
-   Improved performance when editing the document title
- Improved performance with missing indexes in
[https://github.com/outline/outline/pull/7425](https://redirect.github.com/outline/outline/pull/7425)
- Improved performance by avoiding count query in search where possible
in
[https://github.com/outline/outline/pull/7426](https://redirect.github.com/outline/outline/pull/7426)
- Fixed logic for post-login redirect in
[https://github.com/outline/outline/pull/7428](https://redirect.github.com/outline/outline/pull/7428)
- Fixed an issue where quotes in code are replaced with smart quotes in
[https://github.com/outline/outline/pull/7450](https://redirect.github.com/outline/outline/pull/7450)
- Fixed an issue with for OIDC logout logic by
[@&#8203;blib](https://redirect.github.com/blib) in
[https://github.com/outline/outline/pull/7446](https://redirect.github.com/outline/outline/pull/7446)
- Fixed port is now considered for whether a link is internal in
[https://github.com/outline/outline/pull/7529](https://redirect.github.com/outline/outline/pull/7529)
-   Fixed healthcheck in self-hosted docker image
- Fixed code blocks do not scroll automatically when using beginning and
end of line shortcuts
-   Improved performance by increasing concurrency on worker
- Pasting onto a placeholder now replaces the placeholder
[https://github.com/outline/outline/issues/7346](https://redirect.github.com/outline/outline/issues/7346)
- An error when searching no longer displays the previous results
[https://github.com/outline/outline/issues/7437](https://redirect.github.com/outline/outline/issues/7437)

#### New Contributors

- [@&#8203;LouisKottmann](https://redirect.github.com/LouisKottmann)
made their first contribution in
[https://github.com/outline/outline/pull/7299](https://redirect.github.com/outline/outline/pull/7299)
- [@&#8203;DiamondYuan](https://redirect.github.com/DiamondYuan) made
their first contribution in
[https://github.com/outline/outline/pull/7411](https://redirect.github.com/outline/outline/pull/7411)
- [@&#8203;Blendman974](https://redirect.github.com/Blendman974) made
their first contribution in
[https://github.com/outline/outline/pull/7319](https://redirect.github.com/outline/outline/pull/7319)
- [@&#8203;blib](https://redirect.github.com/blib) made their first
contribution in
[https://github.com/outline/outline/pull/7446](https://redirect.github.com/outline/outline/pull/7446)

**Full Changelog**:
outline/outline@v0.78.0...v0.79.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC42Ny41IiwidXBkYXRlZEluVmVyIjoiMzguNjcuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJ1cGRhdGUvZG9ja2VyL2dlbmVyYWwvbm9uLW1ham9yIl19-->
Yuxiza added a commit to SealingClub/outline that referenced this issue Oct 20, 2024
* fix: Improve sidebar loading state

* fix: Menu on document revisions not actionable

* fix: Flashing of document header with many live collaborators

closes outline#7400

* fix: Empty IFRAMELY_URL environment variable triggers validation

Related outline#7401

* fix: Websocket event not required for each document in imported collection
fix: Newly imported collections do not appear in sidebar until reload

* fix: 'Image failed to load' state not centered on large images

* fix: Reduce size of button to match visual area on Collaborators component

* fix: Visible horizontal scrollbars on EmojiPicker

* Tweak initial avatar styling

* fix: Flash of highlighted menu item state as context menu opens

* New Crowdin updates (outline#7336)

* feat: Cache count of group members (outline#7377)

* fix: Select inputs unactionable

* chore: Restore createDatabaseInstance flexibility

* refactor: Improve search functionality in SuggestionsMenu (outline#7411)

* fix: Counter cache not correctly recalculated for missing keys

* fix: Non-clickable items have cursor

* Sidebar order

* chore(deps-dev): bump @types/crypto-js from 4.2.1 to 4.2.2 (outline#7415)

Bumps [@types/crypto-js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/crypto-js) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/crypto-js)

---
updated-dependencies:
- dependency-name: "@types/crypto-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump katex from 0.16.10 to 0.16.11 (outline#7416)

Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.10 to 0.16.11.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](KaTeX/KaTeX@v0.16.10...v0.16.11)

---
updated-dependencies:
- dependency-name: katex
  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>

* fix: Set deletedAt rather than remove ParanoidModels

Related outline#7413

* fix: Reduce unneccessary client fetches

* fix: Partial documents.update payload wipes existing document icon

* perf: Avoid unneccessary toMarkdown call in document presenter

* perf: Add miss
8000
ing indexes (outline#7425)

* perf: Add missing indexes to notifications table

* Add two more missing indexes

* tests

* perf: Avoid count query in search where possible (outline#7426)

* Remove unused replacements

* perf: Avoid count query where possible

* logic

* fix: 'Restore' option appears on documents when policy is not loaded

* fix: Include actor as sender for document edited emails, related #7424

* perf: Remove old usage of dynamic require statement in policy serialization (outline#7427)

* fix: Refactor `postLoginRedirect` logic for reliability (outline#7428)

* New Crowdin updates (outline#7406)

* perf: Avoid multiple renders when adding search results to store

* fix: Incorrect response value from fetchAll (not used up until now)
Added warning when fetchAll is used with an endpoint without pagination info

* fix: Enable the 'e' shortcut to focus editor

* fix: Error in documentDuplicate when content is not yet written, closes outline#7432

* fix: Error on search shows previous results instead of error state, closes outline#7437

* Add clear option to remove highlight in formatting menu

closes outline#7436

* perf: Cache textSerializers on server

* Allow space when searching for @mention

* fix: Escape key with suggestion menu open should not unfocus editor

* Vendorize `cancan` with performance improvements (outline#7448)

* Vendorize CanCan with performance improvements

* docs

* fix: Allow shift+enter soft break in comments, closes outline#7451

* fix: Do not replace smart quotes in code (outline#7450)

* fix: Blue focus outline on browser edge when zooming images

* Feature: Add generic Iframe support (outline#7319)

* Added generic Iframes support

* Rename Iframe to Embed and more explicit matchOnPaste boolean

* Update icon, text

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* chore: Auto Compress Images (outline#7455)

Co-authored-by: tommoor <tommoor@users.noreply.github.com>

* Add video and audio as safe inline content-disposition

* fix: Add small amount of empty space to the bottom of shared documents

* Add reserved space for pinned documents

* fix: MobX warning - attempted to use array index out of bounds

* fix: Set redis expiry in seconds (outline#7456)

* fix: Set redis expiry in seconds

* change expiry for github and iframely

* fix: Date/time commands operate differently when hitting space than other menu items

* fix: Floating formatting toolbar on Android mobile, closes outline#7052

* fix: Random icon color chosen when none set

* Specify time conversion unit (outline#7458)

* fix: specificity in time units

* fix: milliseconds -> ms

* chore: Script to invalidate unfurls cache (outline#7459)

* Client lifecycle hooks (outline#7407)

* Add example client lifecycle hooks

* AfterCreate, AfterDelete hooks

* chore(deps): bump react-hook-form from 7.52.2 to 7.53.0 (outline#7462)

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.52.2 to 7.53.0.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](react-hook-form/react-hook-form@v7.52.2...v7.53.0)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* perf: Policies refactor (outline#7460)

* fix: Assorted fixes from group memberships branch (tom/document-group-permissions)

* fix: Filter trashed documents from 'Shared with me'
closes outline#7478

* Standardize websocket collection channel logic

* New Crowdin updates (outline#7438)

* New `Replace` type utility (outline#7476)

* fix: Replace type

* trigger ci

* perf: Reduce rendering when editing title

* fix: Assorted fixes from group memberships branch (tom/document-group-permissions)

* feat: Invite groups to documents (outline#7275)

* New Crowdin updates (outline#7489)

* logout for OIDC outline#6909 (outline#7446)

* logout for OIDC

* logout fix

* add some time

* fix: Do not send notification to actor in group addition

* fix: Allow dragging shared documents to starred section (outline#7506)

* fix: Allow dragging shared documents to starred section

* fix: Allow read-only collection drag and drop
fix: Full screen delete modal from drag and drop

* fix: Store group name against group events

* fix: Set DB batch limit (outline#7511)

* fix: Set DB batch limit

* better assertion

* fix: limit parallel image downloads in document importer

* perf: Increase default concurrency on worker

* test

* fix: Uncaught URI malformed error

* Suppress 'Added to document' notifications when user has existing document membership and added through group

* feat: Add 'R' language highlighting, closes outline#7473

* fix: Migration script check, closes outline#7479

* fix: Prevent ISE when searched query contains colon, closes outline#7481

* fix: Protect against pasting invalid @mentions

* chore(deps-dev): bump eslint-import-resolver-typescript (outline#7515)

Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) from 3.6.1 to 3.6.3.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](import-js/eslint-import-resolver-typescript@v3.6.1...v3.6.3)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @sentry/react from 7.118.0 to 7.119.0 (outline#7514)

Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 7.118.0 to 7.119.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.119.0/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.118.0...7.119.0)

---
updated-dependencies:
- dependency-name: "@sentry/react"
  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>

* chore(deps-dev): bump @types/readable-stream from 4.0.14 to 4.0.15 (outline#7513)

Bumps [@types/readable-stream](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/readable-stream) from 4.0.14 to 4.0.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/readable-stream)

---
updated-dependencies:
- dependency-name: "@types/readable-stream"
  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>

* Improve error log when SECRET_KEY is incorrectly defined.
Related #7523

* fix: Markdown table with column alignment not detected as markdown

* fix: Missing error toast if file size is too large on import document
closes outline#7524

* feat: Add email headers to enhance threading (outline#7477)

* feat: Add email headers to enhance threading

* tsc

* review

* change comment mentioned email subject

* paginated load

* rename util method

* add tests

* group events

* test for unsupported notification

* typo

* review

* fix: Consider port in `isInternalUrl` util (outline#7529)

* fix: Emoji in heading does not appear in TOC, closes outline#7525

* fix: Include plugin tests on CI (outline#7528)

* fix: Include plugin tests on CI

* chore: fix Vite chunk warning

* fix: In templates insert template string for times

* fix: CTRL+E shortcut code block scroll behavior
closes outline#7535

* fix: Publish child documents created through editor CMD+K

* fix: Improve scrolling behavior
closes outline#7533

* feat: Add background task for empty_trash action (outline#7531)

* feat: Add background task for empty_trash action

* review

* enqueue task only if docs are available

* fix: Move wget installation and HEALTHCHECK to correct stage.
closes outline#7279

* New Crowdin updates (outline#7505)

* 0.79.0-0

* 0.79.0

* chore(deps): bump vite-plugin-pwa from 0.17.4 to 0.20.3 (outline#7522)

* chore(deps): bump vite-plugin-pwa from 0.17.4 to 0.20.3

Bumps [vite-plugin-pwa](https://github.com/vite-pwa/vite-plugin-pwa) from 0.17.4 to 0.20.3.
- [Release notes](https://github.com/vite-pwa/vite-plugin-pwa/releases)
- [Commits](vite-pwa/vite-plugin-pwa@v0.17.4...v0.20.3)

---
updated-dependencies:
- dependency-name: vite-plugin-pwa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: build error

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com>

* fix: Docker HEALTHCHECK does not work if PORT is not explicity defined in env
closes outline#7547

* feat: Adds 'Dockerfile' as language (outline#7549)

* fix: Usage of env.URL before environment validation

* fix: Error in non-Outline Electron browser, improved typings

* feat: Add 'nginx' language, closes outline#7542

* Add 'Permissions' option to document menu for those with, erm.. permission

* fix: group_user primary key migration needs to cleanup duplicate rows before adding constraint.
closes outline#7546

* 0.79.1

* Update LICENSE

* fix: Use padlock icon for document permissions in menu, small refactor

* chore: Remove  from presenter payloads

* feat: Adds team preference to disable user account removal (outline#7556)

* feat: Adds team preference to disable user account removal

* Switch to using policy

* feat: add Umami (outline#7366)


Co-authored-by: Tom Moor <tom.moor@gmail.com>

* fix: Cannot unset collection description, closes outline#7553

* fix: Remove manual revision deletion in document delete endpoint

* Delay loading of document policies until document menu is opened (outline#7442)

* fix: loading of doc policies should be delayed until menu is opened

* fix: fetch upon hover and display menu only when data is loaded

* fix: remove documents.isFetching

* fix: wait for policies to load

* fix: bifurcate

* fix: clas
8000
sName is never used at any callsite of

* fix: MenuContext

* fix: collection is derived from document

* fix: mount MenuContent only when button is clicked

* fix: jsdoc

* fix: aria-label

* fix: review

* chore(deps): bump @octokit/auth-app from 6.1.1 to 6.1.2 (outline#7569)

Bumps [@octokit/auth-app](https://github.com/octokit/auth-app.js) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/octokit/auth-app.js/releases)
- [Commits](octokit/auth-app.js@v6.1.1...v6.1.2)

---
updated-dependencies:
- dependency-name: "@octokit/auth-app"
  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>

* chore(deps-dev): bump terser from 5.31.6 to 5.32.0 (outline#7567)

Bumps [terser](https://github.com/terser/terser) from 5.31.6 to 5.32.0.
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](terser/terser@v5.31.6...v5.32.0)

---
updated-dependencies:
- dependency-name: terser
  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>

* fix: Issue in latest Chrome with Korean IME, closes outline#7574

* feat: Add Cmd-Shift-c as shortcut for inline code

* fix: Missing highlight color in floating toolbar

* Add missing keyboard shortcuts in guide

* fix: JS error when user removed from membership relation, closes outline#7582

* fix: Warning of active prop passed to dom

* perf: Remove subscriptions.list request on document load, ref outline#7442

* Home and Search sticky in sidebar

* fix: Syncronized login state of tabs, related outline#7467

* fix: Restore individual tabs to correct page post-login, closes outline#7467

* fix: Team is required for user queries from slack hooks

* fix: Add guards around sessionStorage use, closes outline#7583

* fix: Filter self from user suggestions, closes outline#7559

* fix: Include results from users with accents in @mention search (outline#7590)

* fix: Include results from users with accents in @mention search

* test

* New Crowdin updates (outline#7551)

* fix: Include results from users with accents in users.list query

* Add filtering and async loading to search filters (outline#7597)

* Add input within search filters

* Query users on demand

* Enforce input on collection and user filters

* Improve filter matching, reduce flickering

* fix: Negative days in deletion banner, closes outline#7485

* fix: Disconnected icon is misaligned

* fix: Internal URL detection on client, closes outline#7245

* perf: Do not trigger list hover transactions in read-only editor

* fix: CMD+K with link editor open should focus editor

* fix: Archived documents can appear in shared with me sidebar

* Check document access before creating @mention notification

* feat: Add userId filter to documents.users endpoint

* feat: Add ability to tag users out of document (outline#7601)

* feat: Add ability to tag users out of document

* cleanup fetchDocumentUsers

* chore(deps-dev): bump @types/validator from 13.12.0 to 13.12.1 (outline#7609)

Bumps [@types/validator](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/validator) from 13.12.0 to 13.12.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/validator)

---
updated-dependencies:
- dependency-name: "@types/validator"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @babel/plugin-transform-destructuring from 7.24.7 to 7.24.8 (outline#7608)

Bumps [@babel/plugin-transform-destructuring](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-destructuring) from 7.24.7 to 7.24.8.
- [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.24.8/packages/babel-plugin-transform-destructuring)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-destructuring"
  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>

* fix: OIDC signin to prevent duplicate auth providers (outline#7598)

* Refactor OIDC signin to prevent duplicate auth providers

* refactor

* feat: Add confirmation for document archive, closes outline#7605

* feat: group/groupuser commands (outline#7548)

* fix: Add guard for empty actorId, closes outline#7614

* fix: Prevent mismatch of parentDocumentId and collectionId in documents.move request

* Allow drag and drop into "Shared with me" as parent (outline#7619)

* wip

* Remove collections from documents.move response

* Remove parsing of collections in documents.move response

* test

* Add 'Toggle task list item' to shortcut guide

* fix: Incorrect filter input background in dark mode

* test: Remove table truncation as it causes sporadic test failures

* Increase collection rate limit to 50/hour

* Adds natural behavior of `Tab`, `Shift-Tab` in code blocks (outline#7622)

* Adds proper handling of Tab, Shift-Tab in code blocks

* refactor

* chore: Bump prosemirror-view

* In `documents.archived`, allow `sort: "index"` in request (outline#7628)

* fix: allow sorting by index and filtering by collectionId

* fix: cleanup

* fix: `document.content` column not updated when sending text attribute through API (outline#7630)

* Sticky public access toggle (outline#7617)

* Sticky public access toggle

* tweak

* fix: Improve scroll to comment logic, closes outline#7435

* chore: Remove old feature flag
fix: Loading jank when creating new collection
Add italic prop to Text component

* New Crowdin updates (outline#7595)

* refactor: Move hooks to correct folder

* fix: Pragmatic fix to drafts count in sidebar, closes outline#7219

* fix: Add resilience for absolute attachment paths in Markdown importer, closes outline#7512

* fix: Document editors are sometimes not included in insights/collaboratorIds, closes outline#7613

* fix: Protect against dangerous characters in env

* Add release script (outline#7637)

* fix: Version number not updated from previous release, outline#7635

* v0.80.1

* fix: disable bilibili autoplay (outline#7639)

* chore(deps-dev): bump discord-api-types from 0.37.87 to 0.37.101 (outline#7646)

Bumps [discord-api-types](https://github.com/discordjs/discord-api-types) from 0.37.87 to 0.37.101.
- [Release notes](https://github.com/discordjs/discord-api-types/releases)
- [Changelog](https://github.com/discordjs/discord-api-types/blob/main/CHANGELOG.md)
- [Commits](discordjs/discord-api-types@0.37.87...0.37.101)

---
updated-dependencies:
- dependency-name: discord-api-types
  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>

* chore(deps): bump bull from 4.12.2 to 4.16.3 (outline#7649)

Bumps [bull](https://github.com/OptimalBits/bull) from 4.12.2 to 4.16.3.
- [Release notes](https://github.com/OptimalBits/bull/releases)
- [Changelog](https://github.com/OptimalBits/bull/blob/develop/CHANGELOG.md)
- [Commits](OptimalBits/bull@v4.12.2...v4.16.3)

---
updated-dependencies:
- dependency-name: bull
  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>

* fix: Allow team creation without SSO methods

* fix: Maximum call stack size exceeded, closes outline#7642

* fix: Remove deprecated meta tag

* fix: Add check for paths in useLastVisitedPath, closes outline#7655

* fix: Account for multiple existing OIDC authentication providers, closes outline#7638

* v0.80.2

* fix: post login redirect path not correctly spent, closes outline#7662

* fix: Table sorting does not take into account tables without a header

* fix: Drop to reorder cursor appearing where move location is invalid

* fix: Correctly decorate urlId as Unique (outline#7671)

* fix: Improve display of Mermaid pie charts

* Add Heading 4 to block menu

* fix: Adjust math delimiter to fix markdown import/export compatibility issue (outline#6727)

outline#6650)

* fix: check doc access before sending mention email (outline#7664)

* fix: check doc access before sending mention email

* refactor

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Add recently viewed documents to top of command menu (outline#7685)

* Add recent documents to command menu
Add priority key to actions and sections

* refactor

* Rename section

* refactor, remove more unused code

* Show targeted collection/document in command bar, closes outline#7678

* Add confirmation dialog when dragging

* Tweak command bar heading style

* fix: Add icons to copy functionality in command menu

* Add reverse alphabetical sort for collections, closes outline#7692

* fix: align document and collection title (outline#7696)

* perf: use findAll for querying document collaborators (outline#7697)

* perf: use findAll for querying document collaborators

* remove unnecessary compact

* fix: sidebar cannot display correctly on mobile, when collapsed is true (outline#7694)

* fix: Race condition with policies removed on app load

* fix: Another race condition with policy removal on startup

* chore(deps-dev): bump @types/jest from 29.5.12 to 29.5.13 (outline#7702)

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.12 to 29.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  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>

* chore(deps-dev): bump @types/body-scroll-lock from 3.1.0 to 3.1.2 (outline#7703)

Bumps [@types/body-scroll-lock](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/body-scroll-lock) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/DefinitelyTyped/Defini
6D47
telyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/body-scroll-lock)

---
updated-dependencies:
- dependency-name: "@types/body-scroll-lock"
  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>

* Add hashed column for API keys (outline#7699)

* Add hashed column for API keys

* test

* Add obfuscatedValue getter

* chore(deps): bump socket.io-client from 4.7.5 to 4.8.0 (outline#7701)

Bumps [socket.io-client](https://github.com/socketio/socket.io) from 4.7.5 to 4.8.0.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io-client@4.7.5...socket.io-client@4.8.0)

---
updated-dependencies:
- dependency-name: socket.io-client
  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>

* perf: store document state in context (outline#7658)

* perf: store document state in context

* provide doc-context for shared routes

* feat: Add 'Copy public link' option to document menu

* fix: Improve empty state for command menu no results

* Show nested docs on Archive page (outline#7488)

* fix: nested docs should appear in archive

* fix(app): ArchivableModel

* fix(server): ArchivableModel

* fix: PartialWithArchivedAt not needed

* fix: new PartialExcept type

* fix: restore deletion

* fix: review

* Add script to backfill ApiKey hashes (outline#7717)

* Add hashed column for API keys

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* New Crowdin updates (outline#7641)

* fix: User cannot update profile when MembersCanDeleteAccount setting is disabled, closes #7729

* spelling

* fix: Cloned response on network error can cause process to hang (remove)

* chore(deps): bump cookie from 0.6.0 to 0.7.0 (outline#7734)

Bumps [cookie](https://github.com/jshttp/cookie) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Remove usage of deprecated docker build image

* Archive collections (outline#7266)

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* fix: Enter key while renaming item in sidebar should persist
fix: Renaming item in sidebar should not navigate to collection

* fix: Addressed several React warnings in icon picker

* fix: Error during import with long filenames (outline#7738)

* fix: Stream error during import causes worker restart

* refactor

* fix: Ensure we never write filenames longer than the system can handle

* chore(deps-dev): bump @types/react-avatar-editor from 13.0.2 to 13.0.3 (outline#7739)

Bumps [@types/react-avatar-editor](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-avatar-editor) from 13.0.2 to 13.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-avatar-editor)

---
updated-dependencies:
- dependency-name: "@types/react-avatar-editor"
  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>

* chore(deps): bump prosemirror-model from 1.22.3 to 1.23.0 (outline#7741)

Bumps [prosemirror-model](https://github.com/prosemirror/prosemirror-model) from 1.22.3 to 1.23.0.
- [Changelog](https://github.com/ProseMirror/prosemirror-model/blob/master/CHANGELOG.md)
- [Commits](ProseMirror/prosemirror-model@1.22.3...1.23.0)

---
updated-dependencies:
- dependency-name: prosemirror-model
  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>

* chore(deps): bump @babel/preset-env from 7.24.7 to 7.25.7 (outline#7740)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.24.7 to 7.25.7.
- [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.25.7/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  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>

* Allow search page to work with Firefox keywords, closes outline#7722

* chore: Moves ProseMirror NodeView to render within main React context (outline#7736)

* fix: Regression in e857d00 rendering embeds

* fix: Add extra safety around search queries

* fix: Remove slashes and literal newlines from markdown, closes outline#7691

* fix: Incorrect keyboard shortcut for TOC shown on macOS

* fix: “Share to web” control is unresponsive when opening via “Permissions” menu item

* fix: Race condition rendering Mermaid diagrams in dark mode

* feat: Add option to export table as CSV, closes outline#7743

* feat: Lossless JSON import (outline#7274)

* feat: Lossless JSON import

* transform node only when attachments are present in the zip

* chore(deps): bump vite from 5.3.1 to 5.4.8 (outline#7704)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.3.1 to 5.4.8.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.8/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.8/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  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>

* fix: Mention with space in search is not inserted correctly, closes outline#7759

* fix: RTL headings are not considered separately for layout

closes outline#7757

* New Crowdin updates (outline#7730)

* fix: Remove docker version in compose file (outline#7762)

* fix: show all document backlinks for a user (outline#7751)

* fix: show all document backlinks for a user

* add findByIds method to Document model

* default options param

* move filter to Document model

* docs

* fix: Backlinks from collections without direct membership not returned

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* feat: include content in document mentioned email (outline#7756)

* feat: include content in document mentioned email

* handle doc publish flow

* add tests, doc

* including heading node

* Diff border

* merge: merge from pull/main for version 0.80.2

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com>
Co-authored-by: Translate-O-Tron <75237327+outline-translations@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com>
Co-authored-by: DiamondYuan <541832074@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Blendman974 <guillaume974etheve@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: tommoor <tommoor@users.noreply.github.com>
Co-authored-by: Hemachandar <132386067+hmacr@users.noreply.github.com>
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com>
Co-authored-by: Boris Bliznioukov <blib@mail.com>
Co-authored-by: Meng Sen <qyg2297248353@gmail.com>
Co-authored-by: Nam Vu <git@yuru.moe>
Co-authored-by: uy/sun <hmy0119@hotmail.com>
Co-authored-by: bLue <tbdblue@gmail.com>
Co-authored-by: 清纯的小黄瓜 <qri@qri.moe>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Luke Thomas <96008479+Zoobdude@users.noreply.github.com>
Co-authored-by: WannaR <2037245632@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0