Claudio Cambra
a4e2a7bb7b
fix(appsmanagement): Fix exception on generating preview url for screenshots
...
Some installed apps meant for older server versions might unexpectedly
offer up screenshot values in a non-string format (e.g. health). Avoid
an exception by checking first if the first app screenshot is indeed a
string and otherwise we take the value of the parameter
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-01 14:48:33 +07:00
Andrey Borysenko
824aa30057
fix: add missing import after backport
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:59 +07:00
Andrey Borysenko
cac5be5341
fix(ci): psalm, suppress undefined for viewApps
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:57 +07:00
Andrey Borysenko
c53f5c43b4
WIP: address review comments, small fixes
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:56 +07:00
Andrey Borysenko
fb4150ec86
fix(ci): suppress UndefinedClass for AppAPI related classes since it's bundled
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-30 20:36:56 +07:00
Andrey Borysenko
3a51374ff3
feat(app_api): add initial state data for AppAPI UI part
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
# Conflicts:
# apps/settings/lib/Controller/AppSettingsController.php
# Conflicts:
# apps/settings/lib/Controller/AppSettingsController.php
2024-10-30 20:36:50 +07:00
Benjamin Gaussorgues
51d8dc76c5
fix(users): use correct active user count
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 09:09:44 +07:00
Kate
7bd791f327
Merge pull request #48571 from nextcloud/backport/48532/stable30
2024-10-29 10:26:18 +07:00
Ferdinand Thiessen
7b2a614ca5
Merge pull request #48866 from nextcloud/backport/48853/stable30
...
[stable30] fix(app-store): Ensure the `groups` property is always an array
2024-10-23 19:08:38 +07:00
Ferdinand Thiessen
2198fe16c9
fix(app-store): Also proxy images of locally installed apps
...
Before this only app store apps got their screenshots proxied,
but this will cause locally installed apps to not be correctly shown on the app-store.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 15:19:24 +07:00
Ferdinand Thiessen
35a1d4b224
fix(app-store): Ensure the `groups` property is always an array
...
If the value was a string, like a single group, then `json_decode` will also yield only a string.
So in this case we ensure the property is always an array with that value.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 15:05:23 +07:00
Marcel Müller
2023f3cce3
fix(appstore): Hide last modified information for shipped apps
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-10-18 12:02:07 +07:00
Maksim Sukharev
6c73ba339a
fix: do not reduce count for subadmins if they are members of group
...
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-04 18:22:16 +07:00
Maksim Sukharev
962a971643
fix: correctly count disabled users for subadmins
...
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-09-30 10:10:22 +07:00
Ferdinand Thiessen
dbe88caec5
fix: Ensure app discover section is returned as list
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-24 11:37:41 +07:00
provokateurin
f012c996ee
refactor(settings): Replace security annotations with respective attributes
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:49:43 +07:00
Louis Chemineau
3574d7eec8
feat(users): Enable features for delegated user admins
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 19:58:44 +07:00
Louis Chemineau
dff8815449
feat(users): Add support for admin delegation for users and groups management
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 17:17:35 +07:00
Marcel Klehr
9dca5ae0e0
feat(settings/admin/ai): Add Task Processing API settings
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 15:24:19 +07:00
Christopher Ng
e8cacc50a2
chore(settings): Rename user groups
...
- "Active accounts" -> "All accounts"
- "Recent accounts" -> "Recently active"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-11 11:19:09 +07:00
Christopher Ng
51e9651436
chore(l10n): Translate group names
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-11 11:19:09 +07:00
Christopher Ng
07319a118b
feat: Add Recent accounts section
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-11 11:19:09 +07:00
Ferdinand Thiessen
8fc498fb82
fix(IntegrityCheck): Ensure the check is run if no results are available
...
If there are no cached results the current implementation was also returning an empty array,
but this was the same as when there was a successful run.
So to distinguish this we return `null` if there are *no* results.
In this case we need to rerun the integrity checker.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-03 11:37:49 +07:00
Arthur Schiwon
98b5cdc43d
Merge pull request #43942 from nextcloud/fix/43612/avoid-pwd-confirm-sso
...
fix(Session): avoid password confirmation on SSO
2024-06-07 11:25:36 +07:00
Arthur Schiwon
f6d6efef3a
refactor(Token): introduce scope constants
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-05 19:01:14 +07:00
Andy Scherzinger
ec5b60af28
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-03 20:33:31 +07:00
Jake Nabasny
f863290572
feat(ldap): sync additional properties to profile and SAB
...
Synced from LDAP to profile:
- Date of birth
Synced from LDAP to SAB (via the profile):
- Biography
- Date of birth
Original code by Jake Nabasny (GitHub: @slapcat)
Co-authored-by: Jake Nabasny <jake@nabasny.com>
Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-30 12:01:13 +07:00
Christopher Ng
2b04a80f90
feat: Add legal notice and privacy policy links to help page
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-22 15:19:59 +07:00
Côme Chilliet
733a818139
fix: Migrate a few more classes away from OC_App::getAppPath
...
Also fixed AppTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:19:01 +07:00
Côme Chilliet
ec5133b739
fix: Apply new coding standard to all files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-02 14:16:21 +07:00
Ferdinand Thiessen
5453c1d7fa
feat(settings): Allow to sort groups in the account management alphabetically
...
We can do this purly in the frontend - but when enforced from the backend using the existing system config,
we need to follow the requirement. We then show a warning about the configuration.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-27 12:04:03 +07:00
Ferdinand Thiessen
bae133bf4f
fix(AppDiscoverFetcher): Do not remove entries as expired that have no expiry date
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-19 09:36:06 +07:00
Ferdinand Thiessen
df502c114d
feat(settings): Cache app discover images to ensure privacy of users
...
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:25 +07:00
Ferdinand Thiessen
f4efb762ec
feat: Allow to fetch app discover json and provide frontend API route
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:24 +07:00
Andrey Borysenko
865fd3ba08
fix: add missing copyrights and strict types
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-03-12 18:14:40 +07:00
jld3103
4ac2375ca2
feat: Add declarative settings
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-03-12 13:56:54 +07:00
Côme Chilliet
ca246dc35c
feat(settings): Migrate SSL access and URL generation check to SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-29 12:21:36 +07:00
Andrii Rublov
a72706f1e6
Merge branch 'master' into fix/pages-titles-apps
...
Signed-off-by: Andrii Rublov <github.a@rublov.me>
2024-02-25 13:48:38 +07:00
John Molakvoæ
b080113fdd
Merge branch 'master' into fix/42480/user-admin-not-admin
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-02-24 19:31:22 +07:00
Ferdinand Thiessen
00386a5407
fix(settings): Use initial state instead of custom state for server data
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-23 21:59:02 +07:00
Ferdinand Thiessen
dd7fba2c95
fix(settings): Only use `id` in categories - drop duplicated `ident` property
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-23 21:59:02 +07:00
Andrii Rublov
8d22d341c8
[Bugfix]: Titles of pages (dashboard, apps-settings, users-settings) #43327
...
Signed-off-by: Andrii Rublov <airublev@outlook.com>
2024-02-23 18:39:23 +07:00
Arthur Schiwon
c98b0462e3
fix(admin role): fix old and wrong way to determine whether user is admin
...
- fixes Settings knowing who is an admin of non-local group backend groups
- obsoletes and removes a little old, deprecated code
- double checks proper parameter type on Group\Manager::isAdmin
- also fixes legacy OC_User code to check whether user is an admin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-02-19 18:57:22 +07:00
John Molakvoæ
524ed97d62
fix: replace `Account name` by `Login`
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:10 +07:00
Vincent Petry
839ddaa354
feat: rename users to account or person
...
Replace translated text in most locations
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2024-02-13 21:06:30 +07:00
Côme Chilliet
67541f21f6
Migrate fair use of free push service check to new SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 13:05:59 +07:00
Côme Chilliet
9add64f30e
Merge writable temporary space check with the s3 one, and improve
...
It will now show available space and path of both PHP and Nextcloud
temporary directories if they differ.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 11:47:30 +07:00
Côme Chilliet
ccbc5fc273
Remove old version of temporary space setup check and fix tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 11:47:29 +07:00
Côme Chilliet
10664e9529
Migrate MySQL utf8mb4 check to new SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-23 17:34:04 +07:00
Côme Chilliet
ca3e1a531a
Merge gmp and bcmath module checks with the existing PHP modules setup check
...
Also add description for why each module is recommended
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-22 15:07:21 +07:00