Commit Graph

6469 Commits

Author SHA1 Message Date
Tom Moor
4c2a579d3f Include export format in filename 2024-03-13 23:00:07 -04:00
Tom Moor
69da25b216 Revert sonner – better styling 2024-03-13 21:06:20 -04:00
dependabot[bot]
bb56796bdd chore(deps-dev): bump eslint-plugin-react from 7.33.2 to 7.34.0 (#6667)
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.33.2 to 7.34.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.2...v7.34.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  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>
2024-03-11 16:23:38 -07:00
dependabot[bot]
423039f2b3 chore(deps): bump diff and @types/diff (#6666)
Bumps [diff](https://github.com/kpdecker/jsdiff) and [@types/diff](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/diff). These dependencies needed to be updated together.

Updates `diff` from 5.1.0 to 5.2.0
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/compare/v5.1.0...v5.2.0)

Updates `@types/diff` from 5.0.4 to 5.0.9
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/diff)

---
updated-dependencies:
- dependency-name: diff
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/diff"
  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>
2024-03-11 16:00:16 -07:00
dependabot[bot]
04190f03e7 chore(deps): bump sonner from 1.0.3 to 1.4.3 (#6668)
Bumps [sonner](https://github.com/emilkowalski/sonner) from 1.0.3 to 1.4.3.
- [Release notes](https://github.com/emilkowalski/sonner/releases)
- [Commits](https://github.com/emilkowalski/sonner/commits/v1.4.3)

---
updated-dependencies:
- dependency-name: sonner
  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>
2024-03-11 16:00:07 -07:00
Tom Moor
ac4166da28 Add title emoji support in JSON import/export (#6660) 2024-03-10 20:09:44 -07:00
Tom Moor
9f55645655 fix: Backtick shortcut not applied correctly with composition (#6659)
* fix: Backtick shortcut not applied correctly with composition

* docs
2024-03-10 07:59:15 -07:00
Tom Moor
fe4c2fb7d6 chore: Add eslint rule for no-shadow (#6658)
* chore: Add eslint rule for no-shadow

* fix
2024-03-09 13:04:27 -08:00
Tom Moor
fc37070ac8 fix: variable shadowing in API router registration 2024-03-09 12:44:56 -05:00
Tom Moor
128f6cca77 chore: Remove unused link decoration logic 2024-03-09 10:44:10 -05:00
Apoorv Mishra
34e8a64b50 Share env vars client-side using @Public decorator (#6627)
* fix: public env vars using decorator

* fix: relocate

* fix: use env.public

* fix: register public env vars across plugins

* fix: test

* fix: tsc

* fix: mark remaining ones as public

* fix: move oidc ones to plugin

* fix: prevent overwrite

* fix: review
2024-03-09 14:48:59 +05:30
Tom Moor
0983dd91b6 fix: Backspace at the beginning of code block should convert to paragraph 2024-03-08 23:59:53 -05:00
Tom Moor
efcad50970 Cleanup type on templates/index 2024-03-08 23:54:19 -05:00
Tom Moor
f9a11a28d8 chore: Plugin registration (#6623)
* first pass

* test

* test

* priority

* Reduce boilerplate further

* Update server/utils/PluginManager.ts

Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com>

* fix: matchesNode error in destroyed editor transaction

* fix: Individual imported files do not display source correctly in 'Insights'

* chore: Add sleep before Slack notification

* docs

* fix: Error logged about missing plugin.json

* Remove email template glob

---------

Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com>
2024-03-08 20:32:05 -08:00
Tom Moor
f3334cedb2 Reduce size of Insights display toggle 2024-03-08 23:03:06 -05:00
Tom Moor
1a454d6dbb chore: Add sleep before Slack notification 2024-03-08 22:02:20 -05:00
Tom Moor
8f996ca2f3 fix: Individual imported files do not display source correctly in 'Insights' 2024-03-08 21:29:34 -05:00
Tom Moor
193bde0bd5 fix: matchesNode error in destroyed editor transaction 2024-03-08 20:45:21 -05:00
Tom Moor
df9f8cbabc Display import source data on documents (#6651)
* Display import source in Insights

* Ensure sourceMetadata is not returned on public requests

* Support createdByName

* Prefer display source name
2024-03-07 16:33:56 -08:00
Tom Moor
2d879d0939 fix: Restore env validation for plugins (#6649)
* fix: Restore env validation for plugins

* rever
2024-03-06 18:13:54 -08:00
Tom Moor
9bedc2f690 fix: Incorrect message on insights control, closes OLN-297 2024-03-06 08:11:55 -05:00
panos--
dce4fd6adc fix: HTML import escapes dollar signs in code (#6638) (#6645) 2024-03-06 05:00:50 -08:00
dependabot[bot]
98eba29cdd chore(deps-dev): bump @types/katex from 0.16.0 to 0.16.7 (#6633)
Bumps [@types/katex](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/katex) from 0.16.0 to 0.16.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/katex)

---
updated-dependencies:
- dependency-name: "@types/katex"
  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>
2024-03-05 20:27:12 -08:00
dependabot[bot]
1819ddfe63 chore(deps): bump cookie from 0.5.0 to 0.6.0 (#6631)
Bumps [cookie](https://github.com/jshttp/cookie) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Changelog](https://github.com/jshttp/cookie/blob/master/HISTORY.md)
- [Commits](https://github.com/jshttp/cookie/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 20:26:55 -08:00
dependabot[bot]
916eccfc38 chore(deps): bump socket.io from 4.7.3 to 4.7.4 (#6632)
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.7.3 to 4.7.4.
- [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/4.7.3...4.7.4)

---
updated-dependencies:
- dependency-name: socket.io
  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>
2024-03-05 20:26:40 -08:00
Pranav Joglekar
a7aac2d8de fix: show complete page without scrollbar in print view (#6635) 2024-03-05 20:26:26 -08:00
Apoorv Mishra
fd34a6d19c Refactor and regroup urlHelpers utils (#6462)
* fix: refactor urlHelpers

* fix: move to /plugins/slack/shared

* fix: remove .babelrc

* fix: remove Outline class

* fix: Slack -> SlackUtils

* fix: UrlHelper class
2024-02-29 11:41:03 +05:30
Tom Moor
021cd253af fix: Missing SET NULL on shares relationship. closes #6609 2024-02-28 22:49:34 -05:00
Translate-O-Tron
838b5d551e New Crowdin updates (#6473) 2024-02-28 17:46:47 -08:00
Tom Moor
6e1c38876a fix: Publicly shared pages redirect to login 2024-02-28 20:23:59 -05:00
Hemachandar
0f7bae13e2 feat: Archive all notifications (#6599)
* feat: Archive all notifications

* use non-modal notification menu

* don't show icons in context menu
2024-02-27 18:04:33 -08:00
Tom Moor
60e52d0423 Separate environment configs (#6597)
* Separate environment configs

* wip

* wip

* test

* plugins

* test

* test

* .sequelizerc, unfortunately can't go through /utils/environment due to not supporting TS

* docker-compose -> docker compose

* fix: .local wipes .development

* Add custom validation message for invalid SECRET_KEY (often confused)
2024-02-27 09:24:23 -08:00
dependabot[bot]
415383a1c9 chore(deps): bump es5-ext from 0.10.62 to 0.10.63 (#6607)
Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.62 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](https://github.com/medikoo/es5-ext/compare/v0.10.62...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 06:00:10 -08:00
dependabot[bot]
e5a3ced1ba chore(deps-dev): bump @types/google.analytics from 0.0.42 to 0.0.46 (#6600)
Bumps [@types/google.analytics](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/google.analytics) from 0.0.42 to 0.0.46.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/google.analytics)

---
updated-dependencies:
- dependency-name: "@types/google.analytics"
  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>
2024-02-27 05:56:08 -08:00
dependabot[bot]
5663890c6c chore(deps-dev): bump @types/koa from 2.14.0 to 2.15.0 (#6601)
Bumps [@types/koa](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/koa) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/koa)

---
updated-dependencies:
- dependency-name: "@types/koa"
  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>
2024-02-27 05:55:57 -08:00
dependabot[bot]
bf7ab58adf chore(deps): bump polished from 4.2.2 to 4.3.1 (#6602)
Bumps [polished](https://github.com/styled-components/polished) from 4.2.2 to 4.3.1.
- [Release notes](https://github.com/styled-components/polished/releases)
- [Commits](https://github.com/styled-components/polished/compare/v4.2.2...v4.3.1)

---
updated-dependencies:
- dependency-name: polished
  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>
2024-02-27 05:55:45 -08:00
dependabot[bot]
6eb0f96c33 chore(deps): bump styled-normalize from 8.1.0 to 8.1.1 (#6604)
Bumps [styled-normalize](https://github.com/sergeysova/styled-normalize) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/sergeysova/styled-normalize/releases)
- [Commits](https://github.com/sergeysova/styled-normalize/compare/v8.1.0...v8.1.1)

---
updated-dependencies:
- dependency-name: styled-normalize
  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>
2024-02-27 05:55:26 -08:00
Tom Moor
edae1c6ee1 fix: Account for createdBy, updatedBy being undefined. closes #6578 2024-02-26 21:55:06 -05:00
Tom Moor
7e4b60df4d Spelling 2024-02-26 20:45:39 -05:00
Tom Moor
83c1c513bb chore: Ensure user is not connected to document when clearing cache 2024-02-25 11:41:50 -05:00
Tom Moor
d42a493d8b chore: Suppress AWS deprecation message 2024-02-25 11:11:36 -05:00
Tom Moor
2ec4ff3cd0 chore: Add tags to queue processor traces 2024-02-25 11:07:28 -05:00
Tom Moor
9436c82ceb Alt fix 2024-02-24 17:02:51 -05:00
Tom Moor
0484941158 fix: Filter drafts by default, related #6537 2024-02-24 16:39:54 -05:00
Tom Moor
168643c084 chore: Move processing of documents.import to async worker (#6595) 2024-02-24 12:28:33 -08:00
Hemachandar
055f518409 fix: Conditionally show collections tooltip on invite screen (#6576)
* fix: Conditionally show collections tooltip on invite screen

* render collections tooltip only if non-empty
2024-02-24 11:02:59 -08:00
Pranav Joglekar
50b90b8878 improv: use statusFilter instead of includeArchive,includeDrafts for document search (#6537)
* improv: use statusFilter instead of includeArchive,includeDrafts for document search

* improv: update FilterComponent to add support for multiple selected items

* feat: update document type search ui

* fix test

* Restore support for old parameters to avoid breaking change

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-02-24 11:02:19 -08:00
Tom Moor
b7f0af9b85 fix: Vendorized turndown-gfm-plugin and fixed performance issue with parsing tables
closes OLN-277
2024-02-24 13:01:04 -05:00
Tom Moor
4fe82f7df9 Add close button to toasts on hover 2024-02-24 09:57:35 -05:00
Tom Moor
49186fa4c6 fix: Make inline code easier to distinguish in dark mode, closes #6591 2024-02-24 00:06:55 -05:00