Commit Graph

2065 Commits

Author SHA1 Message Date
Tom Moor
8490f5d558 Add security preference for workspace creation in cloud (#6801) 2024-04-13 06:01:15 -07:00
Hemachandar
581944e754 feat: duplicate a document as draft (#6782)
* feat: duplicate a document as draft

* review

* Default `publish` toggle to match current document

Ensures duplicating a draft does not publish it.

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-04-12 17:47:59 -07:00
Tom Moor
9b45feb9ee Improve user role management on members (#6775) 2024-04-09 19:02:40 -07:00
Tom Moor
b458bb3af9 Refactor required route role 2024-04-06 21:43:15 -04:00
Tom Moor
79899d051c updateRole -> update_role 2024-04-06 21:16:44 -04:00
Tom Moor
3f209101e6 Add updateRole endpoint (#6771) 2024-04-06 06:32:15 -07:00
Apoorv Mishra
6a4628afef Refactor unfurling related types (#6730)
* wip

* fix: refactor unfurl types
2024-04-03 07:28:30 +05:30
Tom Moor
4311aac4ff fix: Incorrect role information in collection added email 2024-04-02 19:05:42 -04:00
Tom Moor
365f4c4b1f Add role parameter to users.list endpoint (#6754) 2024-04-02 05:00:12 -07:00
Tom Moor
4b54686c76 Improve error message around port errors on server start 2024-04-01 21:06:22 -04:00
Tom Moor
e9df3db1ef Remove comment for guests with read-only permissions 2024-04-01 20:51:13 -04:00
Tom Moor
c27cd945a7 Policies refactor, guest roles (#6732) 2024-03-31 17:28:35 -07:00
Tom Moor
09c82bdf40 Remove isAdmin, isViewer from API response (#6738)
* Remove isAdmin,isViewer from API response

* snap
2024-03-29 06:29:59 -07:00
Tom Moor
7c083b4bfe chore: Remove isViewer and isAdmin columns (#6734) 2024-03-28 18:50:50 -07:00
Tom Moor
0dede0b56e Convert isViewer and isAdmin to getters (#6724) 2024-03-28 16:00:35 -07:00
Tom Moor
77716f3803 chore: Migrate user role to new column (#6721)
* Migration

* Double write

* Backfill script

* Simplify for self-hosted

* flip

* migration
2024-03-27 15:57:59 -07:00
Tom Moor
34923d9b8d feat: Enable unfurling comments in Slack (#6716) 2024-03-26 06:09:41 -07:00
Apoorv Mishra
450d0d9355 Github integration (#6414)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-03-23 07:09:28 -07:00
Tom Moor
1f7620c6f5 chore: Add warning if enabling debug logging while filtering it out, closes #6691 2024-03-21 20:11:15 -04:00
Apoorv Mishra
bd2b32f9d5 Helper for cache related utilities (#6696)
Co-authored-by: Tom Moor <tom@getoutline.com>
2024-03-21 16:49:38 -07:00
Tom Moor
3b7010337c fix: Missing cascade prevents team permanant deletion 2024-03-19 19:06:30 -04:00
Tom Moor
e2c8678855 chore: Move some tasks to background priority 2024-03-19 18:57:15 -04:00
Tom Moor
5248c95211 fix: Shared documents on suspended teams should be hidden 2024-03-18 23:10:58 -04:00
Tom Moor
cbdacc7cfd Add ability to link Slack <-> Outline accounts (#6682) 2024-03-18 18:21:38 -07:00
Tom Moor
988a4c5ac1 Add refreshToken to IntegrationAuthentication 2024-03-17 13:23:20 -04:00
Tom Moor
4e47f4c1e2 chore: Remove params requirement on fetchPage 2024-03-17 13:13:23 -04:00
Apoorv Mishra
85c8f83e33 PluginManager refactor (#6677)
* fix: refactor plugin manager

* fix: make id optional

* fix: allow add to accept single object

* fix: getHooks

* fix: tsc

* fix: remove id
2024-03-16 21:22:25 +05:30
Tom Moor
6775f25425 Automatically infer user language when signing in via Google (#6679) 2024-03-16 06:59:42 -07:00
Axel Rindle
34c2c5fd51 feat: support custom db schema (#6670)
* feat: db schema

* apply suggestion

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

* fix linter

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-03-15 06:08:12 -07:00
Tom Moor
fb50b84400 fix: Plugin tasks not registered 2024-03-14 08:52:13 -04:00
Tom Moor
4c2a579d3f Include export format in filename 2024-03-13 23:00:07 -04:00
Tom Moor
ac4166da28 Add title emoji support in JSON import/export (#6660) 2024-03-10 20:09:44 -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
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
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
1a454d6dbb chore: Add sleep before Slack notification 2024-03-08 22:02:20 -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
panos--
dce4fd6adc fix: HTML import escapes dollar signs in code (#6638) (#6645) 2024-03-06 05:00:50 -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
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
Tom Moor
7e4b60df4d Spelling 2024-02-26 20:45:39 -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