Commit Graph

69979 Commits (570159e6101cfa09d4035da2e2811bc7ecd71dd5)
 

Author SHA1 Message Date
Joas Schilling 570159e610
fix(DB): Update comment to state why we still use the max 4k limit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:27 +07:00
Joas Schilling ccb01b19a0
fix(sqlite): Remove some old SQLite cheats
- Doctrine correctly forces integer for autoincrement by now
- Doctrine correctly maintains integer types by now

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:27 +07:00
Joas Schilling f8ee6c4769
fix(oracle): Move away from internal and deprecated SchemaDiff API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:26 +07:00
Joas Schilling 919207873e
fix(dbal): Move migrator away from deprecated calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:26 +07:00
Joas Schilling 160298c556
fix(mysql): Remove custom MySQL workaround from 2015
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +07:00
Joas Schilling b202b139dd
fix(postgres): Remove old Postgres 9.4 workaround
Postgres 10 is the minimum in the meantime
and doctrine/dbal fixed this in 2.6.0 already
ref https://github.com/doctrine/dbal/pull/2614

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +07:00
Joas Schilling ad839dbb0a
fix(sqlite): Remove no longer required autoincrement fix
- I installed current master and exported the schema as SQL
- Then I went to this branch, removed the content of the run() method (so made it no-op)
- I installed again and exported the schema as SQL
- The files are exactly the same, so whatever we tried to fix was fixed since 2015 in doctrine dbal

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +07:00
Joas Schilling 00acf1bae1
feat(CI): Add a stub for SensitiveParameter, so Psalm is not failing on Doctrine/DBAL
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:24 +07:00
Joas Schilling c4ed7f9d21
fix(dbal): Doctrine\DBAL\Connection::PARAM_* types are deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:24 +07:00
Joas Schilling 18d672c38f
chore(deps): Bump doctrine/dbal to supported 3.7.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:23 +07:00
Matthieu Gallien d061e05b08
Merge pull request #40563 from nextcloud/updateCrl
Update crl after revoke mfazones.csr
2023-10-06 09:57:52 +07:00
Christoph Wurst 0e58d4a52f
Merge pull request #40795 from nextcloud/fix/user/log-app-token-login-name-mismatch-user
fix(user): Log affected user of app token login name mismatch
2023-10-06 09:57:18 +07:00
Matthieu Gallien 74089f9d11 Update crl after revoke mfazones.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-06 09:35:58 +07:00
Christoph Wurst 83a30dfbdf
fix(user): Log affected user of app token login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-06 08:51:50 +07:00
Pytal 649990ee8b
Merge pull request #40719 from nextcloud/enh/a11y/semantic-user-table 2023-10-05 17:31:08 +07:00
Nextcloud bot 4016c7a1be
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-06 00:26:17 +07:00
Christopher Ng 091b3e0586 fix(cypress): User table create/delete tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 +07:00
Christopher Ng 95a7925dc9 fix(cypress): User table disable/enable tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 +07:00
Christopher Ng 37fa4efdae fix(cypress): User table modify tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 +07:00
Christopher Ng 8a31efb644 fix(cypress): User table column tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 +07:00
Christopher Ng 14cb7b926c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 +07:00
Christopher Ng d655f2a3b9 enh(settings): Semantic user table markup
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:49:24 +07:00
Julien Veyssier b4fec29e8e
Merge pull request #40766 from nextcloud/enh/noid/oauth2-code-expiration
Make OAuth2 authorization code expire
2023-10-05 15:16:02 +07:00
Julien Veyssier d56950a6c9
adjust phpdoc types in OauthApiController
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:03 +07:00
Julien Veyssier 98c8a465b0
update OpenAPI specs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:03 +07:00
Julien Veyssier da63d3c27b
update autoload files
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Julien Veyssier d2bc483adf
adjust oauth app
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Julien Veyssier 32f984c520
adjust oauth tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Julien Veyssier c6da99474e
rename oauth2_access_token's created_at to code_created_at
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Julien Veyssier e944980eb6
add db index on oauth2_access_tokens's (token_count, created_at)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Julien Veyssier ddfc124767
add test for refusing to get an oauth token from a code when we're not in authorization state
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Julien Veyssier 779e1d51ac
delete oauth access token when receiving a code that has expired
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Julien Veyssier 1ab45bad5d
refuse oauth authorization code if a token has already been delivered (active token)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Julien Veyssier 7bba410997
cleanup access tokens that are still in authorization state and that have expired
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Julien Veyssier 2995b0948f
add tests for oauth2 authorization code expiration
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Julien Veyssier 807f173dec
make oauth2 authorization code expire after 10 minutes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +07:00
Christoph Wurst f3f2d9b978
Merge pull request #40764 from nextcloud/chore/eslint-no-external-apps
chore: Do not lint external apps
2023-10-05 10:38:53 +07:00
Arthur Schiwon 6200c914a3
Merge pull request #40745 from nextcloud/fix/noid/ocm-provider-rewrite-rules
fix ocm-provider rewrite rules
2023-10-05 10:24:02 +07:00
Nextcloud bot a309d26687
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-05 00:40:35 +07:00
Pytal ce1c9730dd
Merge pull request #40771 from nextcloud/fix/37098/migrate-to-nc-icon-svg-wrapper 2023-10-04 17:15:23 +07:00
Ferdinand Thiessen a3657edb19
Merge pull request #40768 from nextcloud/fix/37098/dashboard-duplicated-ids
fix(dashboard): remove duplicated IDs on the dashboard page
2023-10-04 23:52:57 +07:00
Grigorii K. Shartsev 5d33380178 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 20:24:55 +07:00
Grigorii K. Shartsev 8cc21f50c1 fix(files): migrate from CustomSvgIconrenderer to NcIconSvgWrapper
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 20:24:54 +07:00
Julia Kirschenheuter 7641af5a5b
Merge pull request #40662 from nextcloud/fix-37080_correct_aria_label_text_on_action_inputs
Correct `aria-label` on action input and text field
2023-10-04 18:14:06 +07:00
nextcloud-command e1bda0ad8f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-04 15:29:21 +07:00
John Molakvoæ ff9be6b20a
Merge pull request #40515 from nextcloud/fix/redirect-if-wrong-dir 2023-10-04 16:37:25 +07:00
Grigorii K. Shartsev 9ffd5a3402 chore: build assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 16:22:51 +07:00
Grigorii K. Shartsev c4684c8ec5 fix(dashboard): remove duplicated IDs
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 16:19:38 +07:00
julia.kirschenheuter 1431b0dd27 Correct `aria-label` on action input and text field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-04 14:28:28 +07:00
John Molakvoæ (skjnldsv) b05719c8e9
fix: redirect to proper directory if file not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:29:05 +07:00