Tom Moor
d2aea687f3
Remove collection fetch on document delete
2022-08-25 21:34:54 +02:00
Tom Moor
60309975e0
Allow usePolicy to fetch missing policies
2022-08-25 21:34:54 +02:00
Tom Moor
983010b5d8
fix: collections.create event not propagated when initialized with private permissions
2022-08-25 21:34:54 +02:00
Tom Moor
c62bfc4a60
Separate documents.update event
2022-08-25 21:34:54 +02:00
Tom Moor
7804f33e0d
Separate teams.update event
2022-08-25 21:34:54 +02:00
Tom Moor
d17e6f3432
Separate documents.delete event
2022-08-25 21:34:54 +02:00
Tom Moor
4f1277f912
Separate groups.delete event
2022-08-25 21:34:54 +02:00
Tom Moor
b172da6fdf
Separate collections.delete event
2022-08-25 21:34:54 +02:00
Tom Moor
138bc367dd
types
2022-08-25 21:34:54 +02:00
Tom Moor
c657134b46
types
2022-08-25 21:34:54 +02:00
Tom Moor
a738b51d87
chore: Add additional logging for unknown request errors
2022-08-16 19:49:15 +02:00
Tom Moor
ed8176ca7d
fix: Limit ws payload size
2022-08-16 10:27:55 +02:00
Tom Moor
93bb9d067d
fix: H1 and title should be different sizes, closes #3975
2022-08-15 23:02:35 +02:00
Tom Moor
9f3266abaf
Remove headings 4 and below from TOC, see:
...
https://github.com/outline/outline/discussions/3973
2022-08-15 22:46:49 +02:00
Tom Moor
a326e0ee88
chore: Rate limiter audit ( #3965 )
...
* chore: Rate limiter audit api/users
* Make requests required
* api/collections
* Remove checkRateLimit on FileOperation (now done at route level through rate limiter)
* auth rate limit
* Add metric logging when rate limit exceeded
* Refactor to shared configs
* test
2022-08-14 08:04:04 -07:00
Nan Yu
990de127e3
feat: add session switching to the root action menu ( #3925 )
...
* feat: add session switching to the root action menu
* minor fixes
* stylistic consistency
* capitalize account section
* minor fix
2022-08-12 05:11:22 -07:00
akp
8e1f42a9cb
Add optional export notifications ( #3935 )
...
* Add `emails.export_completed` notification to settings menu
Signed-off-by: AKP <tom@tdpain.net >
* Don't send email when export_completed notifications are disabled
Signed-off-by: AKP <tom@tdpain.net >
* Automatically subscribe new users to `export_completed` notifications
Signed-off-by: AKP <tom@tdpain.net >
* Alter secondary text on export page to mention optional notifications
Signed-off-by: AKP <tom@tdpain.net >
* Alter toast text on collection export for optional notifications
Signed-off-by: AKP <tom@tdpain.net >
* Only subscribe new admins to export notifs
Signed-off-by: AKP <tom@tdpain.net >
* Move `export_completed` notification decision into `beforeSend`
Signed-off-by: AKP <tom@tdpain.net >
* Update server/emails/templates/ExportFailureEmail.tsx
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Update server/emails/templates/ExportSuccessEmail.tsx
Co-authored-by: Tom Moor <tom.moor@gmail.com >
Signed-off-by: AKP <tom@tdpain.net >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-11 07:31:35 -07:00
Tom Moor
1d242d44b1
chore: Add eslint rule for object shorthand ( #3955 )
2022-08-11 05:18:14 -07:00
Tom Moor
593cf73118
test: Update jest configuration ( #3951 )
...
* Split shared tests
* Centralize and parallelize jest config
* ci
2022-08-10 13:26:36 -07:00
Tom Moor
e5c5e8907a
fix: Disallow data: URI's for images
2022-08-09 16:31:09 +02:00
Tom Moor
8c39487c80
Move various document menu actions to action definitions
2022-08-08 17:31:53 +02:00
dependabot[bot]
3ab9d7492e
chore(deps): bump react-merge-refs from 1.1.0 to 2.0.1 ( #3903 )
...
* chore(deps): bump react-merge-refs from 1.1.0 to 2.0.1
Bumps [react-merge-refs](https://github.com/gregberge/react-merge-refs ) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/gregberge/react-merge-refs/releases )
- [Changelog](https://github.com/gregberge/react-merge-refs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gregberge/react-merge-refs/compare/v1.1.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: react-merge-refs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* tsc
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-08-08 15:04:18 +01:00
Tom Moor
dca491fc28
test: Fix frontend test failures from upgrading Jest to v28
2022-08-08 13:31:34 +02:00
Tom Moor
7923a7e071
Enforce user invites/request on server
2022-08-08 11:02:37 +02:00
Nan Yu
74d9409cc3
fix: refactor auth flow to explicitly pass in a host ( #3909 )
...
* fix: refactor auth flow to explicitly pass in a host
* add new error handler to all SSO providers
* refactor passport error into middleware
2022-08-04 02:00:52 -07:00
Apoorv Mishra
0a6cfe5a6a
feat: Choose random color on collection creation ( #3912 )
...
Choose a random color from a shared color palette between backend
and frontend during collection creation.
2022-08-04 01:48:19 -07:00
Apoorv Mishra
4a16124a94
fix: Remove templatize action for trashed document ( #3922 )
2022-08-04 01:44:15 -07:00
Apoorv Mishra
00481d2bfc
fix: Improve document delete confirmation message ( #3876 )
...
Modify document delete confirmation message to warn
about the number of expected nested documents to be deleted.
2022-08-01 15:51:30 -07:00
Tom Moor
cb9773ad85
chore: Add emailed confirmation code to account deletion ( #3873 )
...
* wip
* tests
2022-07-31 10:59:40 -07:00
Tom Moor
f9d9a82e47
fix: Cannot hit enter after sentance starting with forward slash
...
closes #3879
2022-07-29 09:15:48 +01:00
Tom Moor
8fdd5bf734
fix: substitution of content when sending an image to a profile ( #3869 )
...
* fix: Limit public uploads to basic image types
* test
2022-07-26 12:10:00 -07:00
dependabot[bot]
3d9a8be867
chore(deps-dev): bump typescript from 4.4.4 to 4.7.4 ( #3866 )
...
* chore(deps-dev): bump typescript from 4.4.4 to 4.7.4
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.4.4 to 4.7.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.7.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* tsc
* tsc
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-07-25 11:21:04 -07:00
Tom Moor
865e6d048e
fix: 'Export' option missing in collection menu for admins
2022-07-24 20:29:59 +01:00
Tom Moor
ec35af4bc5
Refactor validations
2022-07-24 13:40:04 +01:00
Tom Moor
7ae892fe06
fix: Long collection description prevents import ( #3847 )
...
* fix: Long collection description prevents import
fix: Parallelize attachment upload during import
* fix: Improve Notion image import matching
* chore: Bump JSZIP (perf)
* fix: Allow redirect from /doc/<id> to canonical url
* fix: Importing document with only title duplicates title in body
2022-07-24 01:37:20 -07:00
Tom Moor
87b4c9fdba
fix: Cannot create collection if all existing collections are deleted ( #3836 )
2022-07-22 10:44:11 -07:00
Tom Moor
ef2abf824e
fix: Correctly sanitize href in link editor 'open url' flow
2022-07-22 00:23:53 +01:00
Tom Moor
4b4b0f7037
Revert "feat: Port scenes/Search to functional component style ( #3800 )" ( #3827 )
...
This reverts commit 5758ff3459 .
2022-07-21 03:37:27 -07:00
CuriousCorrelation
71dd4f267b
feat: Port UserListItem to functional style ( #3802 )
...
* feat: Port `UserListItem` to functional style
* Add translation for pending invite
* Add missing translations
* Update `translations.json`
* Revert "Update `translations.json`"
This reverts commit d8000a75105a984f9ee8418b278d93a034ad4adf.
* fix: Incorrect translation strings
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-07-20 15:07:01 -07:00
CuriousCorrelation
5758ff3459
feat: Port scenes/Search to functional component style ( #3800 )
...
* feat: Refactor Search scene to functional style
* fix: Clicking on recent not updating search input
* Replace translations and root objs with stores
* Replace `props.location` with `useLocation`
* deconstruct `useLocation` for readability
* Replace match prop term with `useParams`
* [WIP] Replace props history with `useHistory`
* Replace `ReactComponentProps` with state style
* Remove `lastParam` check, use dependency array instead
* Add explict match on param change
This reverts commit bfcc4038ff13ed69e0b87e1ac898e2147f2ca6bf.
2022-07-20 15:06:49 -07:00
Tom Moor
031a7d396f
Add message to login screen for shared links
2022-07-19 17:57:13 +01:00
Nan Yu
c3f5563e7f
feat: scope login attempts to specific subdomains if available - do not switch subdomains ( #3741 )
...
* make the user lookup in user creator sensitive to team
* add team specific logic to oidc strat
* factor out slugifyDomain
* change type of req during auth to Koa.Context
2022-07-19 06:50:55 -07:00
Tom Moor
4af69b2758
fix: Moving an image to empty space results in endless upload ( #3799 )
...
* fix: Error dragging images below doc, types
* fix: Handle html/text content dropped into padding
* refactor, docs
2022-07-17 03:31:55 -07:00
Tom Moor
dee87f15af
fix: Members table does not correctly reset from filters
2022-07-16 18:47:36 +01:00
Tom Moor
0b0a1b0169
fix: Heading action depth conflict, closes #3558
2022-07-16 17:58:02 +01:00
Tom Moor
de18196fd8
chore: Upgrade socket.io ( #3697 )
...
* Upgrade wip
* tsc
* tsc
* fix: Missing authenticated message
2022-07-16 06:02:03 -07:00
Tom Moor
7ffb182034
Merge branch 'issue-3655-allowed-domains-save-no-change' of github.com:paullessing/outline into paullessing-issue-3655-allowed-domains-save-no-change
2022-07-16 00:37:49 +01:00
Nan Yu
c3ec7b0877
Feat: clarify security language and hide default settings when invites are required ( #3751 )
...
* clarify default role and allowed domains
* language tweaks
* Update app/scenes/Settings/Security.tsx
Co-authored-by: Tom Moor <tom.moor@gmail.com >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-07-15 16:13:41 -07:00
Tom Moor
e509719c77
Add ability to quickly create test users in development ( #3764 )
2022-07-15 16:11:30 -07:00
Tom Moor
a16cf72b73
feat: Error state for paginated lists ( #3766 )
...
* Add error state for failed list loading
* Move sidebar collections to PaginatedList for improved error handling, loading, retrying etc
2022-07-15 16:11:04 -07:00