Commit Graph

29734 Commits (cce8d0a7a5113675f4778e07ef8d87ea0934482e)

Author SHA1 Message Date
Arthur Schiwon cce8d0a7a5
fix(LDAP): solve race condition reading groups of disappeared LDAP user
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-11 15:35:10 +07:00
Arthur Schiwon c1480aade4
refactor(LDAP): pass IConfig via constructor to Group_LDAP
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-10 11:18:57 +07:00
Arthur Schiwon 039da6bd22
refactor(tests): simplify code, reduce duplication
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 21:58:32 +07:00
Arthur Schiwon 9e2d9d5df9
test(Group LDAP): add test for getting groups of OfflineUser
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 21:08:28 +07:00
Arthur Schiwon cb3faad5b5
fix(ldap): store last known user groups
- for LDAP user life cycle management

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 19:46:27 +07:00
Simon L 4fd0408088
Merge pull request #40784 from nextcloud/enh/39414/move-docs 2023-10-09 16:40:08 +07:00
Nextcloud bot 6f722119f7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-09 00:28:34 +07:00
Nextcloud bot 3008f7cadc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-08 00:29:22 +07:00
Grigorii K. Shartsev be8d9042b5 fix(comments): move new comment instructions placeholder to description
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-07 08:45:53 +07:00
Christopher Ng ca43254b93 fix(ci): Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:48:51 +07:00
Christopher Ng 675feb9cf3 chore: Adapt to breaking DateTime rename
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:40:33 +07:00
Simon L 4ad5a18afb fix double heading
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-06 17:57:39 +07:00
Simon L e5b11ced4a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-06 16:22:02 +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 d655f2a3b9 enh(settings): Semantic user table markup
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:49:24 +07:00
Simon L 6439fdf5b6 Move inline docs to online documentation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-05 15:42:47 +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
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 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
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
John Molakvoæ (skjnldsv) dbeb526bba
fix(files): disallow illegal characters
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:12:44 +07:00
John Molakvoæ 3f725824b1
Merge pull request #40756 from nextcloud/fix/encoded-source 2023-10-04 08:48:48 +07:00
John Molakvoæ d591510253
fix(files): legacy humanFileSize tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-04 08:44:57 +07:00
Nextcloud bot cf6e9a19c4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-04 00:26:58 +07:00
John Molakvoæ d79e26b25a
fix(files): encoded source path on actions requests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-03 18:11:03 +07:00
Julien Veyssier 03cb99aff3
show loading icon in 'save share' button when creating a share
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-03 13:55:02 +07:00
Nextcloud bot 4d227c195f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 00:26:05 +07:00
fenn-cs 0537bbd331 Correct check for enabled expiration date
The default expiration date cannot be enforced if it is not enabled
in the first place. Hence, the check for whether a share has an expiration date
should not consider enforcements but only where the share expiry type is enabled.

For example : Using `this.config.isDefaultExpireDateEnabled` instead of
`this.config.isDefaultExpireDateEnforced` which can be verified by checking `isExpiryDateEnforced`.

Resolves : https://github.com/nextcloud/server/issues/40612

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-02 11:29:04 +07:00
fenn-cs a092bae720 Updates to sharing flow
- Show enforced expiry date for new shares.
- Improve quick share dropdown visibility in dark mode.
- Prevent expiry date from showing expire for incoming shares.
by updating the check for `share.passwordExpirationTime` to equally
check for `undefined`.
- Move "Download permission/attribute" from custom setting (as it is just
another advanced setting and not an actual permission).
- Show correct text for upload/editing when "allow public uploads" is enabled
or disabled by admin.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-02 11:59:10 +07:00
Côme Chilliet 9ebcd287ef
Merge pull request #37201 from AaronDewes/fix/ldap-filter-generation
Fix: Escape group names for LDAP
2023-10-02 09:49:22 +07:00
Nextcloud bot 3622af9b43
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 00:25:52 +07:00
Nextcloud bot 645002a1be
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 00:26:09 +07:00