Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +07:00
jld3103
755de1e0b5
refactor: Rename OpenAPI type aliases to their namespaces
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +07:00
jld3103
d019392645
fix(provisioning_api): Fix quota fields in OpenAPI
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-10-23 10:33:37 +07:00
Côme Chilliet
e51d20479e
Check limit and offset parameters sent to controller
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-10 10:43:18 +07:00
Côme Chilliet
afcebd1e92
Fix api description for Users#getDisabledUsers
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 14:50:12 +07:00
Côme Chilliet
cac3d465f0
Remove psalm @var annotations which should not be needed
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +07:00
Côme Chilliet
a1255539b8
Add endpoint for getting disabled user list
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +07:00
jld3103
c2d45cb172
Add single status code descriptions for OpenAPI
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +07:00
Joas Schilling
0956b493b6
fix(phonenumber): Use the newly introduced API to limit 3rdparty lib usage
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:54:21 +07:00
jld3103
3f16650e3b
provisioning_api: Fix quota constants in OpenAPI
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-14 15:41:13 +07:00
jld3103
38db3873a2
provisioning_api: Add OpenAPI spec
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 10:29:08 +07:00
Alexander Piskun
bd19cd6cf9
to return correct code when group not found
...
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-07-22 13:18:43 +07:00
Christoph Wurst
95145ee0c9
feat(ocp): More specific type for ICapabilities::getCapabilities
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-03 10:03:45 +07:00
Joas Schilling
4809e8d9a9
fix(CI): Satisfy psalm by removing a now obsolete type check
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-31 15:42:15 +07:00
Christoph Wurst
1381c4c157
feat(users): Store and load a user's manager
...
Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 13:56:48 +07:00
Joas Schilling
1c0aae9c54
fix(provisioning_api): Don't allow to configure the same additional email multiple times
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 08:41:37 +07:00
Christopher Ng
7bc8b543be
Improve handling of profile fields
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-30 17:11:41 +07:00
jld3103
02f9c3a06f
Use implementations instead of interfaces for accessing private methods
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-30 12:33:46 +07:00
Julien Veyssier
c838bdb820
Merge pull request #36665 from nextcloud/fix/36539
...
Always set displayname and display-name for user data
2023-03-22 15:21:29 +07:00
Julius Härtl
3287eddbbc
fix: Recalculate storage statistics on updating the quota
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-06 22:46:07 +07:00
jld3103
77f7da9921
Always set displayname and display-name for user data
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-02-10 21:52:54 +07:00
Joas Schilling
614e3e2969
Merge pull request #36094 from nextcloud/bugfix/noid/user-info-api-exclude-storage
...
Only expose storage location to admins
2023-01-16 22:27:37 +07:00
Vincent Petry
c24884d014
Only expose storage location to admins
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-13 10:31:19 +07:00
Côme Chilliet
1de26c84dd
Tear down in catch of an Exception
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:54:55 +07:00
Côme Chilliet
4edb96080d
Catch Exceptions when loading storage data of users
...
This avoids having the whole userlist crashing because a user external
storage fails to load. With this change only the problematic user
storage/quota information will be empty.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 12:01:21 +07:00
Joas Schilling
b4a29644cc
Add a const for the max user password length
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:23:43 +07:00
Carl Schwan
8dcd992ad4
Merge pull request #34940 from nextcloud/feat/add-mastodon
...
Add mastodon and reorganize profile info section
2022-11-22 17:47:04 +07:00
Carl Schwan
e35bcc9381
Fix tests
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 10:06:19 +07:00
Carl Schwan
d1209d8302
Rename mastodon to fediverse
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 08:40:12 +07:00
Carl Schwan
86d9626901
Add mastodon personal info field
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 16:28:56 +07:00
Vincent Petry
0b09531dc6
Don't use quota cache through user management
...
When querying the free space through user management APIs, don't use the
cached quota value. The latter is only there to accelerate PROPFINDs.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-21 16:24:22 +07:00
Joas Schilling
ab055418c6
Fix password length limitation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-10 12:33:58 +07:00
Christopher Ng
8a15c629e2
Fix translation of user exists error server-side
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 22:56:18 +07:00
luz paz
9d26671f05
Fix typos in apps/ subdirectory
...
Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/`
Signed-off-by: luz paz <luzpaz@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-05 12:59:54 +07:00
Christopher Ng
d59585974e
Fix creation of new user and display the correct error message
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-22 19:13:11 +07:00
Christopher Ng
c0868f93f1
Do not save invalid display name to the database
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-28 18:03:15 +07:00
Joas Schilling
3235785c24
Fix exception handling when profile data is too long
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-09 22:07:46 +07:00
Joas Schilling
31dc9aa682
Add API to change preferences
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-23 16:44:23 +07:00
John Molakvoæ
c98039c1df
Merge pull request #26725 from nextcloud/fix-federated-scope-not-shown-when-public-addressbook-upload-is-disabled
2021-10-22 11:52:56 +07:00
Christopher Ng
309354852f
Profile backend
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-19 04:59:35 +07:00
Christopher Ng
7215148a24
Add new account properties
...
- New properties
- Organisation
- Role
- Headline
- Biography
- Profile Enabled property
- Fix errors with building default account properties
- Fix L10N factory method `getLanguage` not public error
- Update tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-19 04:44:40 +07:00
Valdnet
d51cd106a0
l10n: Spelling unification
...
Spelling unification in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-10-17 14:16:05 +07:00
Carl Schwan
719dbafd13
Add support for Delegation Settings for more apps
...
* This adds support for the sharing, groupware, theming and user_ldap
app
* This adds some code who disapeared during a rebase in the initial
delegation PR (provisioning_api)
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-15 18:41:00 +07:00
rakekniven
feefa45a88
Changed spelling and aligned to other resources.
...
Reported at Transifex.
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-09-11 20:47:40 +07:00
Arthur Schiwon
763136ab48
also allow admins to set the primary email
...
- there will be times when it is necessary to reset this value for sure
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:05 +07:00
Arthur Schiwon
27865d03c0
use specific email getter where necessary
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:05 +07:00
Arthur Schiwon
4461b9e870
enable the user to set a primary (notification) email address (backend)
...
- specific getters and setters on IUser and implementation
- new notify_email field in provisioning API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:04 +07:00
Arthur Schiwon
0dee717c94
Confirm mails only per POST
...
- this is to avoid automatic confirmation by certain softwares that open
links
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:04 +07:00
Arthur Schiwon
aacaad2a3f
implement verification for additional mails
...
- mails added by (sub)admins are automatically verified
- provisioning_api controller as verification endpoint
- IAccountProperty gets a locallyVerified property
- IPropertyCollection gets a method to fetch an IAccountProperty by value
- an remove equivalent was already present
- AccountManager always initiates mail verification on update if necessary
- add core success template for arbitrary title and message
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 14:03:35 +07:00
Daniel Calviño Sánchez
193cf6cfde
Split capability
...
The "federated" and "published" scopes are independent one from each
other, so the capability that encompassed both needs to be split.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-08-18 19:56:10 +07:00