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
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
Tom Moor
4a46d19846
fix: Improved model validation for Collection ( #3749 )
...
* fix: Added improved model validation for Collection attributes
* sp
* fix: Enforce title length in UI
2022-07-08 11:10:22 -07:00
Tom Moor
98106e7f6f
Update 20220702132722-add-webhooks-deleted-at.js
2022-07-08 02:22:48 -07:00
Nan Yu
1e808fc52c
Feat: add auth provider to users on sign in ( #3739 )
...
* feat: merge a new authentication method onto existing user records when emails match
* adds test for invite acceptance and auth provider creation
* addresses comments
- test existing user and invites in different test cases
- update lastActiveAt syncronously when an invite is accepted
* sort arrays in test to prevent nondeterministic test behaivior when doing array compare
2022-07-08 00:24:46 -07:00
Tom Moor
ec8c0645ba
fix: Correct annotation order 🙈
2022-07-07 12:23:27 +02:00
Tom Moor
f90309e781
fix: Unneccessary restrictive avatarUrl length
2022-07-07 12:16:54 +02:00
Paul Lessing
d8f125f413
Fix: Move logic inline
2022-07-07 11:01:32 +01:00
Tom Moor
c36e7bfbb6
fix: Add 10 domain limit per team ( #3733 )
...
* fix: Validate team domains are FQDN's
Add 10 domain limit per team
fix: Deletion of domains not happening within request lifecycle
* tests
* docs
2022-07-05 12:27:02 -07:00
Tom Moor
831df67358
feat: Adds route-level role filtering. ( #3734 )
...
* feat: Adds route-level role filtering. Another layer in the onion of security and performance
* fix: Regression in authentication middleware
2022-07-05 12:26:49 -07:00
Tom Moor
c6fdffba77
chore: Internal request filtering
2022-07-05 11:06:47 +02:00
Tom Moor
4e189b8970
Improved sanitization of href's in editor
2022-07-05 10:14:16 +02:00
Tom Moor
2f3dcb2520
fix: Do not show 'Full width' toggle to viewers
...
closes #3728
2022-07-04 15:20:01 +02:00
Nan Yu
f36f5f13f4
Fix: clear localstore after logout ( #3731 )
...
* fix: remove user, team, and policies from auth store and localstorage on logout
* true up the reset everywhere
2022-07-04 01:47:44 -07:00
Tom Moor
5d498632c6
fix: Models are not all removed from local store upon access change ( #3729 )
...
* fix: Clean data from stores correctly on 401/403 response
* Convert DataLoader from class component, remove observables and caching
* types
2022-07-03 13:48:50 -07:00
Tom Moor
9cd26168e1
Separates policy for file operations
2022-07-03 18:19:56 +02:00
Tom Moor
ee10e1407a
fix: Typo of fileOperation -> fileOperations
2022-07-03 16:27:03 +02:00
Tom Moor
c9af7ff889
fix: Suppress db validation errors in error reporting
2022-07-03 16:03:53 +02:00
Tom Moor
27978b8fc4
fix: Remove teams.create from audit events
2022-07-03 14:16:49 +02:00
Tom Moor
62d9bf7105
chore: Move initial avatar upload to background worker ( #3727 )
...
* chore: Async user avatar upload processor
* chore: Async team avatar upload
* Refactor to task for retries
* Docs
Include avatarUrl in task props to prevent race condition
Remove transaction around upload fetch request
2022-07-03 02:36:15 -07:00
Tom Moor
1f3a1d4b86
fix: Improved websockets error handling ( #3726 )
...
* fix: Add websocket client error capturing
fix: Incorrect parsing of documentName will never be empty
* fix: Non-present documentId in collaboration route should trigger an error response
* fix: Close unhandled websocket requests
2022-07-03 00:00:59 -07:00
Tom Moor
8ebe4b27b1
fix: Add additional model validation ( #3725 )
2022-07-02 14:29:01 -07:00
Tom Moor
0c30d2bb34
fix: share.document can be null when document is deleted
...
closes #3724
2022-07-02 19:56:15 +02:00
Tom Moor
f744d488f6
chore: Soft delete webhooks ( #3722 )
2022-07-02 10:41:28 -07:00
Tom Moor
8ebf6e884f
fix: Startup warning caused by unnecessary compilation of tests and mocks in non-test environments
2022-07-02 15:57:35 +02:00
Tom Moor
4438c80ea1
fix: users.promote + users.demote not available for individual subscription in webhook form
2022-07-02 14:55:07 +02:00
Tom Moor
863f22750f
feat: Add optional notification email when invite is accepted ( #3718 )
...
* feat: Add optional notification email when invite is accepted
* Refactor to use beforeSend
2022-07-02 05:40:40 -07:00
Tom Moor
ee22a127f6
feat: Add email when webhook is disabled ( #3721 )
...
fix: Webhook not disabled under some error conditions
2022-07-02 05:36:40 -07:00
Tom Moor
c9cd424a8d
chore: Remove over-usage of invariant ( #3719 )
2022-07-02 05:29:39 -07:00
Tom Moor
108b5b934a
fix: users.promote & users.demote not handled by DeliverWebhookTask
2022-07-02 14:24:49 +02:00
Tom Moor
94824af6e7
fix: Allow soft-deleted records to be queried from RevisionProcessor
...
closes #3706
2022-07-02 11:58:22 +02:00
Tom Moor
1c6eef3509
Don't show share link when team sharing disabled ( #3714 )
...
fix: Docs appear to be publicly shared when sharing previously enabled
2022-07-02 01:37:10 -07:00
Translate-O-Tron
4e09356982
New Crowdin updates ( #3681 )
2022-07-01 13:22:01 -07:00
Nan Yu
4b166432e6
fix: show a distinct error message when a user tries to create an account using a personal gmail ( #3710 )
...
* fix: show a different error message when a user tries to create an account using a personal gmail
* throw only after attempting to find the team
2022-07-01 13:21:23 -07:00
CuriousCorrelation
adb55fa965
feat: Custom Length decorator for UTF-8 chars len ( #3709 )
...
* feat: Custom Length decorator for UTF-8 chars len
* fix: Length decorator function return type
2022-07-01 13:21:09 -07:00
Tom Moor
7ce57c9c83
fix: attachments events not recognised by DeliverWebhookTask
2022-07-01 18:40:32 +02:00
Tom Moor
b44dc726f3
test: fix fetch related tests
2022-06-30 10:37:06 +02:00
Paul Lessing
117421b4cb
Feat: Only show save domains button if changes were made
...
The logic for this is that we show the button if either:
a) one or more new non-empty domains have been added, or
b) an existing domain was modified, even if the modification was then undone.
The reasoning for b) is as follows:
If a user adds a new domain row, makes changes, then removes the domain row, it is clear to the user that no changes have been made, and therefore the "save" button should not be visible.
However, as soon as the user makes any changes to an existing domain, they want to feel confident that they can hit save and ensure that whatever change they made is persisted; even if the change is identical to the current state, because they may not be able to recall accurately what the current state was. In those situations a user gets more confidence out of being able to hit save, than they would from being told by the system "you haven't made any changes".
2022-06-29 08:33:07 +01:00