Tom Moor
ec35af4bc5
Refactor validations
2022-07-24 13:40:04 +01:00
Nan Yu
870d9ed41e
feat: allow external SSO methods to log into teams as long as emails match ( #3813 )
...
* wip
* wip
* fix comments
* better separation of conerns
* fix up tests
* fix semantics
* fixup tsc
* fix some tests
* the old semantics were easier to use
* add db:reset to scripts
* explicitly throw for unauthorized external authorization
* fix minor bug
* add additional tests for user creator and team creator
* yank the email matching logic out of teamcreator
* renaming
* fix type and test errors
* adds test to ensure that accountProvisioner works with email matching
* remove only
* fix comments
* recreate changes to allow self hosted to make teams
2022-07-24 04:55:30 -07:00
Apoorv Mishra
24170e8684
chore: Remove updatedAt column from events table ( #3841 )
2022-07-24 01:57:21 -07: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
4f537c7578
Remove retry on export task
2022-07-23 17:00:32 +01:00
Tom Moor
4bca081faa
chore: Add rolling window limits to import and export operations
2022-07-23 16:29:28 +01: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
6fe4b1cba1
fix: Code block previous language memory ( #3830 )
2022-07-22 01:59:48 -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
Tom Moor
80d50e3d88
fix: Diagrams.net proxy path considered as embeddable
2022-07-21 10:51:34 +01:00
Tom Moor
ba264974cf
fix: Improvement to accuracy of collaboration server metrics
2022-07-21 09:44:13 +01: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
dependabot[bot]
6568b16ef9
chore(deps): bump terser from 4.8.0 to 4.8.1 ( #3817 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 15:05:19 -07:00
Tom Moor
ef0412c449
fix: Cannot create new team on self-hosted ( #3819 )
2022-07-20 13:18:21 -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
4ee3929e9d
0.65.1
2022-07-19 09:59:02 +01:00
Tom Moor
9ab409a640
fix: Account for non-SSL database connection in pending migrations check ( #3811 )
...
* fix: Account for non-SSL database connection in pending migrations check
* Double exit
2022-07-19 01:58:48 -07:00
Tom Moor
9cafe75bf2
0.65.0
2022-07-18 23:30:51 +01:00
Tom Moor
630b4eff8a
chore: Bump passport
2022-07-18 22:51:11 +01:00
Tom Moor
bf8ca59442
chore: Bump moment
2022-07-18 22:40:34 +01:00
Tom Moor
9dd28def67
fix: Force download of public attachments
2022-07-18 21:49:48 +01:00
dependabot[bot]
d785389fde
chore(deps): bump prosemirror-gapcursor from 1.2.1 to 1.3.1 ( #3808 )
...
Bumps [prosemirror-gapcursor](https://github.com/prosemirror/prosemirror-gapcursor ) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/prosemirror/prosemirror-gapcursor/releases )
- [Changelog](https://github.com/ProseMirror/prosemirror-gapcursor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prosemirror/prosemirror-gapcursor/compare/1.2.1...1.3.1 )
---
updated-dependencies:
- dependency-name: prosemirror-gapcursor
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>
2022-07-18 13:01:26 -07:00
Tom Moor
1ccd770bce
Merge branch 'main' of github.com:outline/outline
2022-07-18 19:25:50 +01:00
dependabot[bot]
7719d378b0
chore(deps): bump semver and @types/semver ( #3805 )
...
Bumps [semver](https://github.com/npm/node-semver ) and [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver ). These dependencies needed to be updated together.
Updates `semver` from 7.3.5 to 7.3.7
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v7.3.5...v7.3.7 )
Updates `@types/semver` from 7.3.9 to 7.3.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: "@types/semver"
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>
2022-07-18 11:25:09 -07:00
dependabot[bot]
f26f8d4bb9
chore(deps-dev): bump @types/node from 15.12.2 to 18.0.6 ( #3806 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 15.12.2 to 18.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 11:24:43 -07:00
dependabot[bot]
89d4aeac67
chore(deps): bump slug and @types/slug ( #3804 )
...
Bumps [slug](https://github.com/Trott/slug ) and [@types/slug](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/slug ). These dependencies needed to be updated together.
Updates `slug` from 4.0.4 to 5.3.0
- [Release notes](https://github.com/Trott/slug/releases )
- [Changelog](https://github.com/Trott/slug/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Trott/slug/compare/v4.0.4...v5.3.0 )
Updates `@types/slug` from 5.0.2 to 5.0.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/slug )
---
updated-dependencies:
- dependency-name: slug
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: "@types/slug"
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>
2022-07-18 11:24:29 -07:00
Tom Moor
dc94a683e7
chore: Reduce timeout on webhook deliveries
2022-07-17 18:48:45 +01:00
Jamie Slome
04f5b08ba1
Update SECURITY.md ( #3711 )
...
* Update SECURITY.md
* Update SECURITY.md
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-07-17 07:29:10 -07:00
CuriousCorrelation
5924f4909f
fix: Cursor disappearing behind emoji ( #3786 )
...
* fix: Cursor disappearing behind emoji
* Move emoji node styles to `Styles.ts`
* fix: grammar
* fix: Pasting emoji adds a new line
* fix: DOM element type
2022-07-17 06:49:39 -07:00
CuriousCorrelation
c00bad38e2
feat(editor): Ability to select line in codeblocks ( #3798 )
...
* feat(editor): Ability to select line in codeblocks
* fix: Check to make sure sel is indeed in codeblock
2022-07-17 06:49:30 -07:00
Tom Moor
11e1ef455f
chore: Improve UUID vaildation – prevent nonsense reaching db queries
2022-07-17 14:49:04 +01: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
dependabot[bot]
67885e7339
chore(deps): bump react-dnd-html5-backend from 14.0.0 to 16.0.1 ( #3769 )
...
Bumps [react-dnd-html5-backend](https://github.com/react-dnd/react-dnd ) from 14.0.0 to 16.0.1.
- [Release notes](https://github.com/react-dnd/react-dnd/releases )
- [Changelog](https://github.com/react-dnd/react-dnd/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react-dnd/react-dnd/commits )
---
updated-dependencies:
- dependency-name: react-dnd-html5-backend
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-16 10:15:11 -07: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
dependabot[bot]
96d1c4997b
chore(deps): bump yjs from 13.5.34 to 13.5.39 ( #3770 )
...
Bumps [yjs](https://github.com/yjs/yjs ) from 13.5.34 to 13.5.39.
- [Release notes](https://github.com/yjs/yjs/releases )
- [Commits](https://github.com/yjs/yjs/compare/v13.5.34...v13.5.39 )
---
updated-dependencies:
- dependency-name: yjs
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>
2022-07-16 02:40:34 -07:00
Tom Moor
95f4fb2424
chore: Remove deprecated socket.io-auth ( #3780 )
2022-07-16 02:27:09 -07:00
Tom Moor
1247bb411e
Merge branch 'paullessing-issue-3655-allowed-domains-save-no-change'
2022-07-16 00:38:28 +01: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
Translate-O-Tron
fc414e2dd4
New Crowdin updates ( #3723 )
2022-07-15 16:19:13 -07: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
CuriousCorrelation
acabc00643
fix: ToolbarMenu popup on inline code selection ( #3775 )
...
* fix: `ToolbarMenu` popup on inline code selection
* fix: Replace `isCode` checks with single `isInCode`
* feat: Only relevant options on `code_inline` selection
* Change special case with item visibility toggle
* fix: `formattingMenuItems` visibility in `code_inline`
2022-07-15 16:10:47 -07:00
Tom Moor
e989999d6e
fix: Upgrade prosemirror-view fixes duplicate lines, closes #3371
...
Note: That this bump of prosemirror-view also includes typescript types for the first time ever, these conflict with the @types packages and cause the need for extensive changes throughout the codebase. To prevent this becoming a massive PR with days of testing these new types are being removed for now. In the future we will bump all of the pm dependencies and restore the package types here
2022-07-15 10:34:03 +01:00
dependabot[bot]
c3e149eb86
chore(deps): bump @babel/core from 7.17.10 to 7.18.6 ( #3771 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.17.10 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
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>
2022-07-13 12:48:57 -07:00