Commit Graph

5032 Commits

Author SHA1 Message Date
Tom Moor
db73879918 Assorted cleanup, minor bug fixes, styling fixes, eslint rules (#5165
* fix: Logic error in toast
fix: Remove useless component

* fix: Logout not clearing all stores

* Add icons to notification settings

* Add eslint rule to enforce spaced comment

* Add eslint rule for arrow-body-style

* Add eslint rule to enforce self-closing components

* Add menu to api key settings
Fix: Deleting webhook subscription does not remove from UI
Split webhook subscriptions into active and inactive
Styling updates
2023-04-08 05:25:20 -07:00
Tom Moor
422bdc32d9 Add 's' method to access theme props (#5163) 2023-04-07 19:43:34 -07:00
Tom Moor
c202198d61 fix: Wide selection of comment toolbar fixes (#5160
* fix: Margin on floating toolbar
fix: Flash of toolbar on wide screens

* fix: Nesting of comment marks

* fix: Post button not visible when there is a draft comment, makes it look like the comment is saved
fix: Styling of link editor results now matches other menus
fix: Allow small link editor in comments sidebar

* fix: Cannot use arrow keys to navigate suggested links
Added animation to link suggestions
Added mixin for text ellipsis

* fix: Link input appears non-rounded when no creation option

* Accidental removal
2023-04-07 15:52:57 -07:00
Tom Moor
a5c44ee961 New Crowdin updates (#5066
* fix: New Italian translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New French translations from Crowdin [ci skip]

* fix: New Vietnamese translations from Crowdin [ci skip]

* fix: New Vietnamese translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New French translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Dutch translations from Crowdin [ci skip]

* fix: New Russian translations from Crowdin [ci skip]

* fix: New French translations from Crowdin [ci skip]

* fix: New Spanish translations from Crowdin [ci skip]

* fix: New Danish translations from Crowdin [ci skip]

* fix: New German translations from Crowdin [ci skip]

* fix: New Italian translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Korean translations from Crowdin [ci skip]

* fix: New Dutch translations from Crowdin [ci skip]

* fix: New Polish translations from Crowdin [ci skip]

* fix: New Portuguese translations from Crowdin [ci skip]

* fix: New Russian translations from Crowdin [ci skip]

* fix: New Swedish translations from Crowdin [ci skip]

* fix: New Turkish translations from Crowdin [ci skip]

* fix: New Chinese Simplified translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Vietnamese translations from Crowdin [ci skip]

* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]

* fix: New Indonesian translations from Crowdin [ci skip]

* fix: New Persian translations from Crowdin [ci skip]

* fix: New Thai translations from Crowdin [ci skip]

* fix: New Ukrainian translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Persian translations from Crowdin [ci skip]

* fix: New Persian translations from Crowdin [ci skip]

* fix: New German translations from Crowdin [ci skip]

* fix: New German translations from Crowdin [ci skip]

* fix: New German translations from Crowdin [ci skip]

* fix: New German translations from Crowdin [ci skip]

* fix: New French translations from Crowdin [ci skip]

* fix: New Spanish translations from Crowdin [ci skip]

* fix: New Danish translations from Crowdin [ci skip]

* fix: New German translations from Crowdin [ci skip]

* fix: New Italian translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Korean translations from Crowdin [ci skip]

* fix: New Dutch translations from Crowdin [ci skip]

* fix: New Polish translations from Crowdin [ci skip]

* fix: New Portuguese translations from Crowdin [ci skip]

* fix: New Russian translations from Crowdin [ci skip]

* fix: New Swedish translations from Crowdin [ci skip]

* fix: New Turkish translations from Crowdin [ci skip]

* fix: New Chinese Simplified translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Vietnamese translations from Crowdin [ci skip]

* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]

* fix: New Indonesian translations from Crowdin [ci skip]

* fix: New Persian translations from Crowdin [ci skip]

* fix: New Thai translations from Crowdin [ci skip]

* fix: New Ukrainian translations from Crowdin [ci skip]

* fix: New Italian translations from Crowdin [ci skip]

* fix: New French translations from Crowdin [ci skip]

* fix: New Turkish translations from Crowdin [ci skip]

* fix: New Turkish translations from Crowdin [ci skip]

* fix: New Dutch translations from Crowdin [ci skip]
2023-04-07 15:52:48 -07:00
dependabot[bot]
d0483be133 chore(deps): bump vm2 from 3.9.11 to 3.9.15 (#5161)Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.11 to 3.9.15.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.11...3.9.15)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-07 15:52:33 -07:00
Tom Moor
195df69e59 fix: Another mention positioning patch 2023-04-05 22:42:51 -04:00
Tom Moor
1f3d7506d7 Add additional error boundaries, improve display and reload behavior 2023-04-05 21:57:58 -04:00
Tom Moor
24729fa0d4 fix: Table cell selection background should be based on accent color 2023-04-05 21:27:39 -04:00
Tom Moor
a585a7d66b fix: Arrow navigation of mentions menu inside a table causes caret to move 2023-04-05 21:07:40 -04:00
Tom Moor
6c16ffb99a fix: Initial positioning of mention menu in comments 2023-04-05 20:06:24 -04:00
Tom Moor
99e4b458df fix: Improve ranking of results in editor menus when filtering using command-score 2023-04-05 18:37:50 -04:00
Tom Moor
9a7ecd7403 fix: Passing of start parameter to YouTube embed 2023-04-05 12:48:48 -04:00
Tom Moor
9573026fdd fix: Move comments empty state text to fixed position 2023-04-05 09:39:30 -04:00
Tom Moor
2458085eed fix: Draft comment on text gets into a strange state when unfocused (#5153) 2023-04-05 06:02:26 -07:00
Tom Moor
3ca86bcc0c fix: Draft comment on text gets into a strange state when unfocused 2023-04-04 23:06:07 -04:00
Tom Moor
1b11cb5aca fix: Missing space in translation string 2023-04-04 22:11:40 -04:00
Tom Moor
c71cbf39f5 Open downloads in the same tab 2023-04-04 21:38:30 -04:00
Tom Moor
4a99f9f386 fix: Mentions do not show any options in public collections (#5150)
* Mentions do not show any options in public collections

* Avoid reset data while loading
2023-04-03 18:05:22 -07:00
dependabot[bot]
5421f92a9f chore(deps-dev): bump eslint-import-resolver-typescript from 3.5.2 to 3.5.4 (#5147)Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) from 3.5.2 to 3.5.4.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.5.2...v3.5.4)

---
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>
2023-04-03 14:50:15 -07:00
dependabot[bot]
de58d0fb86 chore(deps-dev): bump @types/nodemailer from 6.4.4 to 6.4.7 (#5148)Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/nodemailer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nodemailer) from 6.4.4 to 6.4.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/nodemailer)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 14:49:50 -07:00
Hai
2e28a631b6 Pass query params to authorize endpoint during OIDC login (#5129) 2023-04-02 11:55:09 -07:00
Tom Moor
c6068d0fee fix: Styling inconsistency on anchors in headings, closes #5126 2023-04-02 14:50:51 -04:00
Tom Moor
cf3689014b fix: Email notifications not sent when mention added to edited comment (#5145
* WIP: Need new email template

* New emails
2023-04-02 11:46:47 -07:00
Tom Moor
40103c9d8f Wait to scroll comments until sidebar animation is complete
Cleanup some unused code
2023-04-02 11:41:41 -04:00
Apoorv Mishra
16a5be1aa6 Additional policy regarding comments on a document (#5130)
* feat: comment policy on document

* fix: add alongside read
2023-04-02 19:21:13 +05:30
Tom Moor
1be1371171 Add image resizing to history stack (allow undo)
Remove placeholder SVG when main image is loaded
2023-04-02 09:19:09 -04:00
Apoorv Mishra
046fe522c1 fix: remove userId col from documents (#5133) 2023-03-31 09:17:58 +05:30
Tom Moor
ec3ebb91c0 Adds placeholder during image loading (#5120
* Adds placeholder during image loading

* Small refactor
2023-03-29 20:12:55 -07:00
Tom Moor
381d640719 Auto-reload app every 24h when inactive 2023-03-29 22:01:45 -04:00
Tom Moor
f8a6a4b840 fix: Comment button does not appear immediately on focus of document comment input
closes #5118
2023-03-29 20:47:21 -04:00
Tom Moor
ace18ce336 fix: Soft breaks after text with comment mark does not work.
Note: This CSS was added waaaay back here: 2d5d5d3e4e
Since then the equivalent rule has moved to be more specific and this was vestigial.

closes #5119
2023-03-29 18:42:01 -04:00
Tom Moor
794df52080 fix: NotionImportTask 2023-03-29 09:34:04 -04:00
Tom Moor
8a2831ef80 fix: Add support for Zip files created natively on Windows
closes #5117
2023-03-29 08:28:51 -04:00
Tom Moor
980e613a7b fix: Download as Markdown should use .md extension
closes #5113
2023-03-29 07:43:40 -04:00
Tom Moor
f86ae64a69 test 2023-03-28 22:44:08 -04:00
Tom Moor
a2f1f059c7 fix: Users not mentionable when not in seamless editing mode 2023-03-28 22:32:47 -04:00
Tom Moor
7ba6a9379b Removal of non-collaborative editing code paths (#4210) 2023-03-28 19:13:42 -07:00
Tom Moor
3108a26793 fix: Trim document titles on save, closes #5084 2023-03-28 21:20:57 -04:00
Apoorv Mishra
1b1cd1c8d4 API to fetch users who have read/write permission on a document collection (#5047) 2023-03-28 17:54:32 -07:00
Tom Moor
fcc89be622 fix: File uploads can remove document closeby document content, closes #5097 2023-03-28 20:47:34 -04:00
Tom Moor
6040015b8d fix: Regression in 05a8e45f01 overrides image upload behavior 2023-03-28 20:26:19 -04:00
Aditya Sharma
05a8e45f01 Feat: zoom selected image on pressing space key (#5059) 2023-03-28 05:33:22 -07:00
Tom Moor
ce294bd1e7 fix: KaTeX parsing on shared links 2023-03-27 21:02:24 -04:00
Tom Moor
8cc4cff0d7 fix: Allow stylesheets to load from CDN 2023-03-27 20:23:54 -04:00
Tom Moor
e182dafeac fix: Improve readability of inline code in dark theme
closes #5096
2023-03-27 20:03:42 -04:00
Tom Moor
b5e7b7e3ef fix: path not available in browser 2023-03-27 19:40:34 -04:00
dependabot[bot]
eab7d17c83 chore(deps): bump zod from 3.20.6 to 3.21.4 (#5103)
Bumps [zod](https://github.com/colinhacks/zod) from 3.20.6 to 3.21.4.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.20.6...v3.21.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 14:54:06 -07:00
Tom Moor
e2e0b01143 fix: Entire header should not become transparent on desktop blur
closes #4700
2023-03-23 23:50:47 -04:00
Tom Moor
45a603f76f fix: Avoid print breaking across image 2023-03-23 23:12:09 -04:00
dependabot[bot]
c7e95df5ce chore(deps): bump @joplin/turndown-plugin-gfm from 1.0.45 to 1.0.47 (#5074)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 20:28:06 -07:00