Commit Graph

5327 Commits

Author SHA1 Message Date
Tom Moor
f2ea8daf65 Remove no longer used notification_settings table
closes #5062
2023-04-30 17:38:10 -04:00
Tom Moor
df1c360b2a fix: Line number alignment in code blocks nested in lists
closes #5217
2023-04-30 16:47:40 -04:00
Tom Moor
60b15b7b46 Upgrade docker image to Node 18 2023-04-30 15:49:19 -04:00
Tom Moor
9280904476 fix: Hidden scrollbars cause movement when navigating context menus, closes #5272 2023-04-30 15:43:46 -04:00
Tom Moor
20f3c55914 Various sidebar fixes (#5278
* fix: Right sidebar depth
Re-arrange order of document metadata

* fix: Comment reply not focused on 'Reply…' tap

* fix: Sidebar animation oddities on mobile/Safari
2023-04-30 12:42:05 -07:00
Tom Moor
d8b4fef554 feat: Collection admins (#5273
* Split permissions for reading documents from updating collection

* fix: Admins should have collection read permission, tests

* tsc

* Add admin option to permission selector

* Combine publish and create permissions, update -> createDocuments where appropriate

* Plural -> singular

* wip

* Quick version of collection structure loading, will revisit

* Remove documentIds method

* stash

* fixing tests to account for admin creation

* Add self-hosted migration

* fix: Allow groups to have admin permission

* Prefetch collection documents

* fix: Document explorer (move/publish) not working with async documents

* fix: Cannot re-parent document to collection by drag and drop

* fix: Cannot drag to import into collection item without admin permission

* Remove unused isEditor getter
2023-04-30 06:38:47 -07:00
amplitudes
2942e9c78e Return window origin instead of host (#5276) 2023-04-29 20:36:23 -07:00
Tom Moor
4b810bcdb7 0.69.1 2023-04-29 22:45:21 -04:00
Tom Moor
12bfa6c58d Add additional debug logging to export 2023-04-29 22:05:52 -04:00
Tom Moor
ba2bfc7c89 fix: recursive require in test env 2023-04-27 22:31:12 -04:00
Tom Moor
0f8c444af0 Add DD monitoring for simultaneous server connections 2023-04-27 21:48:51 -04:00
Tom Moor
4dade03c33 Allow workspace admins to remove comments (#5270) 2023-04-27 18:34:01 -07:00
Tom Moor
ef075c0fa2 fix: Not possible to place caret within existing comment
closes #5268
2023-04-27 20:21:23 -04:00
Tom Moor
4f019b7a99 Add new cron service, useful in dev to automatically run scheduled tasks and can be used in single-server deployments to avoid an external dependency 2023-04-26 22:14:10 -04:00
Tom Moor
217d41332f Automatically error file operations running longer than 12 hours 2023-04-26 21:55:00 -04:00
Tom Moor
f1ce23dce9 fix: Webhook category subscriptions do not work correctly, closes #5257 2023-04-26 08:59:24 -04:00
Tom Moor
01707d733a fix: Cannot delete FileOperation referencing collection 2023-04-25 21:58:24 -04:00
Tom Moor
106b335602 fix: Error when pasting embeddable content into comments 2023-04-25 21:56:23 -04:00
Tom Moor
b0da3b7cab fix: Throwing event as error 2023-04-24 23:35:46 -04:00
dependabot[bot]
6b978fc780 chore(deps): bump koa and @types/koa (#5250)Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [koa](https://github.com/koajs/koa) and [@types/koa](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/koa). These dependencies needed to be updated together.

Updates `koa` from 2.13.4 to 2.14.2
- [Release notes](https://github.com/koajs/koa/releases)
- [Changelog](https://github.com/koajs/koa/blob/2.14.2/History.md)
- [Commits](https://github.com/koajs/koa/compare/2.13.4...2.14.2)

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

---
updated-dependencies:
- dependency-name: koa
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/koa"
  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-24 16:28:57 -07:00
dependabot[bot]
473eb93377 chore(deps): bump winston from 3.3.3 to 3.8.2 (#5251)Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [winston](https://github.com/winstonjs/winston) from 3.3.3 to 3.8.2.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.3.3...v3.8.2)

---
updated-dependencies:
- dependency-name: winston
  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-04-24 16:28:49 -07:00
dependabot[bot]
c418829810 chore(deps): bump react-waypoint from 10.1.0 to 10.3.0 (#5252)Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [react-waypoint](https://github.com/civiccc/react-waypoint) from 10.1.0 to 10.3.0.
- [Release notes](https://github.com/civiccc/react-waypoint/releases)
- [Changelog](https://github.com/civiccc/react-waypoint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/civiccc/react-waypoint/compare/v10.1.0...v10.3.0)

---
updated-dependencies:
- dependency-name: react-waypoint
  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-04-24 16:28:35 -07:00
Tom Moor
d4da028527 0.69.0 2023-04-23 20:31:21 -04:00
Tom Moor
e8355171e9 New Crowdin updates (#5224 2023-04-23 12:20:59 -07:00
Apoorv Mishra
86062f396d Deleting a collection should detach associated drafts from it (#5082)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2023-04-23 12:20:44 -07:00
Tom Moor
7250c0ed64 tsc 2023-04-23 13:38:17 -04:00
Tom Moor
71b2cd1c46 Add success notice style (#5242
* Add success notice style

* Move quote styling closer to notices
Improving parsing of notices when pasting from other tools
2023-04-23 10:34:40 -07:00
Tom Moor
7620d37009 fix: Improve handling of max payload size 2023-04-23 12:38:04 -04:00
Tom Moor
076b854b49 ApiContext -> AppContext 2023-04-23 10:04:18 -04:00
Tom Moor
4134eced2c fix: Hide floating toolbar when dragging content (#5239) 2023-04-23 06:36:06 -07:00
Apoorv Mishra
20d85e3d3a Allow admin to change member's name (#5233)
* feat: allow admins to change user names

* fix: review
2023-04-22 20:48:51 +05:30
Tom Moor
f79cba9b55 fix: Newlines added around pasted text content, closes #5236 2023-04-22 10:13:43 -04:00
Tom Moor
e2c5fda610 fix: Do not copy edit path from headers
chore: Rename url -> path in routeHelpers
closes #5229
2023-04-22 10:00:09 -04:00
Tom Moor
4b5680a16e fix: Document hover preview should not show for the same document 2023-04-22 09:29:01 -04:00
Tom Moor
43c2e6880a fix: Documents on mobile horizontally scrollable 2023-04-21 23:04:25 -04:00
Tom Moor
53c25a5689 fix: Scroll to end of comment thread, not start 2023-04-21 18:56:23 -04:00
Tom Moor
3e5cd9eb3c fix: Infinite loop connecting Slack in self-hosted
closes https://github.com/outline/outline/discussions/4993
2023-04-21 18:09:28 -04:00
Tom Moor
7740ee2046 Merge branch 'main' of github.com:outline/outline 2023-04-21 18:00:37 -04:00
dependabot[bot]
4cde29541d chore(deps): bump vm2 from 3.9.16 to 3.9.17 (#5232)Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.16 to 3.9.17.
- [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.16...3.9.17)

---
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-20 14:44:27 -07:00
Tom Moor
af6eb4897e chore: Upgrade mammoth 2023-04-20 10:21:32 -04:00
Tom Moor
54cf3fb8b1 fix: Move rate limiting middleware infront of auth
Tighten rate limits on attachment, comment, and group creation
2023-04-19 22:10:11 -04:00
Apoorv Mishra
fb8d8f8159 fix: unwatch migrations dir (#5228) 2023-04-19 18:43:09 +05:30
Apoorv Mishra
dadba3f3af Autorun migrations in community edition (#5141)
* fix: autorun migrations in community edition

* re-run tests

* refactor

* fix: review

* fix: double error
2023-04-19 09:27:50 +05:30
Tom Moor
f4206f888c fix: Rare unable to login case 2023-04-18 22:14:58 -04:00
Tom Moor
961afe7dc5 fix: Full-width images have margin on side since #5197 2023-04-18 20:11:11 -04:00
Tom Moor
e4fb151a71 fix: NaN invalid CSS width issue 2023-04-18 19:49:56 -04:00
Tom Moor
d04b15a04b New Crowdin updates (#5206 2023-04-18 16:38:50 -07:00
Tom Moor
1642eb610d fix: Double recursive loops can cause server lockup on deeply nested docs (#5222) 2023-04-18 16:38:35 -07:00
Tom Moor
bcffd81c9c Log more debugging info on queue processing 2023-04-18 04:07:38 -04:00
Tom Moor
f91cdc3296 Add ability to reset custom theme 2023-04-17 22:48:07 -04:00