Simon L
9228adba73
do not break personal settings page is viewer is not there
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-09 12:28:06 +07:00
Louis Chemineau
898df41de9
Revert "Merge branch 'master' of github.com:nextcloud/server"
...
This reverts commit d9d60238c7 , reversing
changes made to ba3fdb0cdc .
2024-02-08 15:31:19 +07:00
Simon L
686e2683ed
fix psalm
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-08 14:12:28 +07:00
Simon L
b0c57ed65f
do not break personal settings page is viewer is not there
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-07 14:29:22 +07:00
Ferdinand Thiessen
d49b70773b
fix(settings): Disable renaming for tokens marked to be wiped
...
This otherwise a WipeException will be thrown when trying to rename
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-29 13:53:45 +07:00
Côme Chilliet
eee9f1eec4
Always catch OCP versions of authentication exceptions
...
And always throw OC versions for BC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00
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
Faraz Samapoor
ff0b3feb2e
Refactors "strpos" calls in /apps/settings to improve code readability.
...
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 14:39:40 +07:00
Christopher Ng
4c111845e8
Fix default phone region validation
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-05 00:26:34 +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
Christopher Ng
531bb62223
Fix disabled federated scope
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-28 00:07:05 +07:00
Christopher Ng
f922b2fd70
Remake locale saving with Vue
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-16 19:02:18 +07:00
Christopher Ng
8eb46c995e
Remake group and quota details section with Vue
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 19:09:13 +07:00
Joas Schilling
7d6d65600e
Fix twofactor provider icons in dark mode
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-13 17:50:25 +07:00
Christopher Ng
f44d2586b1
Remake profile picture saving with Vue
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 02:22:57 +07:00
Christopher Ng
d7821f8474
Remake phone number property saving with Vue
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-26 23:49:27 +07:00
Christopher Ng
e2efbab13f
Remake website property saving with Vue
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-26 18:50:28 +07:00
Christopher Ng
dd7cb9784f
Remake location property saving with Vue
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 23:52:33 +07:00
Christopher Ng
09f6eb5e58
Remake Twitter handle saving with Vue
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 18:19:10 +07:00
Christopher Ng
c5c70daa66
Modularize shared account property components
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 18:08:39 +07:00
Christopher Ng
34308087d6
Consolidate account property getters
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-21 01:14:23 +07:00
Christopher Ng
1fc0b4320c
Add global profile toggle config
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 02:55:12 +07:00
Christopher Ng
50a6612c1f
Refine profile backend for frontend visibility requirements
...
- Provide metadata
- Dynamic displayId
- Add appId
- Filter out unused parameter config properties from the existing profile config
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-04 00:17:29 +07:00
Vitor Mattos
6f7ca3432c
show warning on personal settings page
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-10-23 00:54:51 +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
Arthur Schiwon
d93e2548f0
only offer to set locally verified mails as primary
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-15 15:38:49 +07:00
Arthur Schiwon
fe5e672654
let user choose notification email in user settings
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-15 15:38:40 +07:00
Christopher Ng
cc5815dcd0
Provide initial state
...
- camelCase language strings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-27 05:06:12 +07:00
Christopher Ng
d4d59493a2
Provide initial state
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-23 21:29:47 +07:00
Daniel Calviño Sánchez
1e19b1cc99
Hide "federated" scope when Federation app is disabled
...
If the Federation app is disabled it is not possible to synchronize the
users from a different server.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-08-18 19:56:10 +07:00
Christopher Ng
74aa115125
Refine unsupported federation scope checks
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-16 05:46:04 +07:00
Christopher Ng
ef41d5977a
Provide initial state
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-15 10:16:06 +07:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +07:00
Arthur Schiwon
a49588bbe5
PersonalInfo settings to use public AccoutManager API
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-12 22:55:34 +07:00
Vincent Petry
278a73789e
Map old account scope properties to new names
...
Use new scope values in settings page.
Adjust all consumers to use the new constants.
Map old scope values to new ones in account property getter.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +07:00
Roeland Jago Douma
e44be839bb
Fix some types in the Settings Personal pages
...
* Fix types
* Typed the code
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 11:05:41 +07:00
Christoph Wurst
378f116a63
Do not show 2FA settings if the user has no providers available
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-22 13:55:22 +07:00
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-16 18:48:22 +07:00
Joas Schilling
da9462b482
Make code strict
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:37 +07:00
Vincent Petry
2143f2bb82
Set up FS before querying storage info in settings
...
The personal info section of the personal settings is querying the
storage quota information. For this it requires the FS to be setup which
is not always guaranteed.
This fixes an issue where refreshing the settings page would cause it to
fail after Redis caches are full. It is likely that when Redis cache is
populated, some code path is initializing the FS, so it works so far.
But when the cache is populated, that code path is skipped so the FS is
not guaranteed to be setup...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-13 17:06:37 +07:00
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +07:00
Morris Jobke
0e6344f543
Merge pull request #22650 from nextcloud/fix/noid/fix-psalm-warning
...
Only load viewer in settings if the viewer app is enabled
2020-09-07 20:41:49 +07:00
Morris Jobke
ce1e873a0a
Only load viewer in settings if the viewer app is enabled
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-07 20:25:57 +07:00
Christoph Wurst
1f7f93a695
Update license headers for Nextcloud 20 (again)
...
There are still lots of outdated headers, so time for another round of
updates.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-07 14:37:44 +07:00
Jan C. Borchardt
4c48d6bf18
Add 'Reasons to use Nextcloud in your organization' call to action in settings
...
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-07 08:30:01 +07:00
Morris Jobke
2ad95feab6
Merge pull request #21816 from nextcloud/techdebt/noid/federatedfilesharing-to-ibootstrap
...
Use IBootstrap for the app federatedfilesharing
2020-07-14 20:44:05 +07:00
Morris Jobke
7e281a07bb
Use IBootstrap for the app federatedfilesharing
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-14 16:34:43 +07:00
Roeland Jago Douma
fa9dfd83c9
Fix AppFramework services
...
* We can't just register an alias as the services need the appId to be
injected. if we just register an alias this blows up since the main
container doesn't have the appId.
* Moved the Authtokens over to show the PoC works
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-14 16:01:14 +07:00