CuriousCorrelation
b6813272c1
[WIP] Change map with MenuItem to PaginatedList
2022-07-17 12:22:25 +01:00
CuriousCorrelation
0a0946cf12
Add InputSearch styling
2022-07-17 12:22:25 +01:00
CuriousCorrelation
f7d7159805
Remove PaginatedDropdown in favor of merge with FilterOptions
2022-07-17 12:22:24 +01:00
CuriousCorrelation
2fca88f621
Revert UserFilter changes
2022-07-17 12:22:24 +01:00
CuriousCorrelation
2b97a5d593
Made default item component dependency
...
Now parent component can set a default value,
instead of it being hardcoded "Any authors".
2022-07-17 12:22:24 +01:00
CuriousCorrelation
b9e013185d
Fix dropdown button label not setting
2022-07-17 12:22:24 +01:00
CuriousCorrelation
a55b0b3872
Use user.id as PaginatedItem id
2022-07-17 12:22:24 +01:00
CuriousCorrelation
1cf83da73f
Remove onFocus
...
Has no adverse effects so far, fingers crossed
2022-07-17 12:22:24 +01:00
CuriousCorrelation
61d4158d8c
Impl Paginated list
...
Pagination seems to work fine.
`onFocus` isn't useful because
mount is handled already.
TODO: Try removing `onFocus`
2022-07-17 12:22:24 +01:00
CuriousCorrelation
8b70a52114
Add memoized options
...
TODO: Use `options` to create filtered data
2022-07-17 12:22:24 +01:00
CuriousCorrelation
2f7789088a
Add users param to PaginatedDropdown
...
Not sure what `users` type should be.
TODO: Use `users` to calculate `options`
2022-07-17 12:22:24 +01:00
CuriousCorrelation
7c43d937c4
Change PaginatedDropdown to consume user store
...
`PaginatedDropdown` should consume user store directly,
so the pagination and refresh can be encapsulated
into one single component.
TODO: Impl memoized options calculation for
`PaginatedDropdown`
2022-07-17 12:22:24 +01:00
CuriousCorrelation
10daeb41e6
Impl author filter and mount set
...
TODO: Limit user display using pagination.
- Limit user display
- Scroll limited users
- Query for more
Because data would be provided by parent component,
`PaginatedDropdown` might need to use a callback
to fetch additional data.
2022-07-17 12:22:24 +01:00
CuriousCorrelation
d20c6c456e
Add static positioning for search box
...
Now search box doesn't scroll away with the content
TODO: Impl `handleOnChange`
2022-07-17 12:22:24 +01:00
CuriousCorrelation
180a41bd59
Replace FilterOptions with PaginatedDropdown
...
TODO: Make search bar sticky
2022-07-17 12:22:24 +01:00
CuriousCorrelation
fada7032be
Add PaginatedDropdown component
...
Based on `FilterOptions.tsx`
TODO: Replace `FilterOptions` with `PaginatedDropdown`
in `UserFilter.tsx`
2022-07-17 12:22:24 +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 and Tom Moor
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
dependabot[bot]
4c05fe422c
chore(deps): bump http-errors from 1.4.0 to 2.0.0 ( #3772 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 00:59:56 -07:00
Tom Moor
47e73cee4e
feat: Cleanup api keys and webhooks for suspended users ( #3756 )
2022-07-13 00:59:31 -07:00
CuriousCorrelation
d1b01d28e6
fix: svg+xml image type ext not assigned properly ( #3774 )
2022-07-13 00:59:17 -07:00
Tom Moor
973cfc3fa3
Do not show suspended users to non admins ( #3776 )
2022-07-13 00:59:06 -07:00
dependabot[bot]
dd6084d044
chore(deps-dev): bump @types/formidable from 2.0.0 to 2.0.5 ( #3773 )
...
Bumps [@types/formidable](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/formidable ) from 2.0.0 to 2.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/formidable )
---
updated-dependencies:
- dependency-name: "@types/formidable"
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-12 11:07:17 -07:00
Tom Moor
206545f350
fix: Ensure signed attachment urls are always downloaded rather than loaded in browser
2022-07-12 17:14:22 +01:00
Tom Moor
e92d68a0a3
Create dependabot.yml
2022-07-12 09:40:44 +02:00
CuriousCorrelation
66dbcde29b
feat: Redirect on unpublished share access ( #3760 )
...
* feat(WIP): Redirect on unpublished shares
* feat[WIP]: add redirect with test notice
* Revert to `Login` display, no redirects
2022-07-10 23:59:45 -07:00
Tom Moor
465a8bd505
fix: Version tag should open new tab, related type improvements
...
closes #3737
2022-07-10 11:22:45 +02:00
Tom Moor
aef62d1356
fix: Publish click from editing heading, closes #3759
2022-07-10 10:23:00 +02:00
Tom Moor
35e82beaf7
chore: Upgrade koa- dependencies ( #3761 )
2022-07-09 10:23:42 -07:00
Tom Moor
8bb88b8550
chore: Audit of all model column validations ( #3757 )
...
* chore: Updating all model validations before the white-hatters get to it ;)
* test
* Remove isUrl validation, thinking about it need to account for minio and other weird urls here
2022-07-09 08:04:40 -07:00
Tom Moor
da4a10e877
chore: Remove shares.info apiVersion 1 ( #3758 )
...
* chore: Remove shares.info apiVersion 1
* fix: Sporadic test failure
2022-07-09 04:28:56 -07:00
Tom Moor
caaf6dd76b
fix: Enter at beginning of collapsed heading should create a new heading above ( #3754 )
2022-07-09 02:23:12 -07:00
Tom Moor
2893924e9a
fix: Must check length before passing to timingSafeEqual
2022-07-09 11:19:40 +02:00
Tom Moor
32b7a7df00
fix: Handle sanitizeUrl can receive non-string value
...
closes #3746
2022-07-08 21:15:07 +02:00
Tom Moor
97f8c0813c
fix: Use crypto.timingSafeEqual, closes #3740
2022-07-08 21:10:51 +02:00
CuriousCorrelation and Tom Moor
746dc30aeb
feat: Add pending migrations check during startup ( #3744 )
...
* feat: Add pending migrations check during startup
* fix: migration pending log message
Co-authored-by: Tom Moor <tom.moor@gmail.com >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-07-08 11:30:16 -07:00