Commit graph

166 commits

Author SHA1 Message Date
Arthur Schiwon
a13c9639ba
up the hub
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-02-28 09:03:28 +01:00
Anna Larch
f0ffa91b12 Add back authentication checkbox for mailer settings
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-02-22 09:46:41 +01:00
Côme Chilliet
dde5c46a3e
Migrate to Symfony Mailer
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-02 10:30:06 +01:00
Vincent Petry
d33f707bfd
Merge pull request #35609 from nextcloud/add-data-section-id
Add section-id and section-type data attributes to settings <li> navigation items
2022-12-16 16:38:15 +01:00
Carl Schwan
27bfa74cc5 Fix profile visibility not appearing
And refactor how the grid works (now it's automatically using the
correct size instead of harcoding it)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-06 17:56:42 +01:00
Thomas Citharel
0cc50aff49
Add section-id and section-type data attributes to settings <li> navigation items
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-12-05 12:19:21 +01:00
Carl Schwan
d1209d8302 Rename mastodon to fediverse
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 08:40:12 +01:00
Carl Schwan
d847eacfbd Refactor profile info settings
- Make it possible to add the new property whiout chaning foundamentally
  how the layout work each time
- Use only one grid instead of multiple nested grid
- Better mobile reponsiveness

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 16:29:04 +01:00
Carl Schwan
86d9626901 Add mastodon personal info field
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 16:28:56 +01:00
Christopher Ng
531bb62223 Fix disabled federated scope
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-28 00:07:05 +00:00
Christopher Ng
f922b2fd70 Remake locale saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-16 19:02:18 +00: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 +00:00
Vincent Petry
547253e451
Show Nextcloud Hub 3 in overview page when applicable
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14 08:55:06 +02: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 +02:00
Christopher Ng
f44d2586b1 Remake profile picture saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 02:22:57 +00:00
Vincent Petry
af29b97807
Merge pull request #33396 from Xavierando/#33036-Set-default-expiration-date-(shareapiDefaultExpireDate)
#33036 [Bug]: Set default expiration date
2022-09-01 17:58:46 +02:00
Julius Härtl
702b0cccd6
Make scroll areas keyboard focussable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:39 +02:00
Carl Schwan
60c42914d8
Port password settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-31 17:42:36 +02:00
Vincent Petry
809f448ef7
Merge pull request #33746 from nextcloud/a11y/33739/fix-legacy-nav
Add a11y attributes for legacy app navigation
2022-08-31 11:57:31 +02:00
Vincent Petry
cc53efe4dd
Add a11y attributes for legacy app navigation
Aded "role=navigation"
Added "aria-current=page" for the currently selected item.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-29 22:46:48 +02: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 +00:00
Christopher Ng
e2efbab13f Remake website property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-26 18:50:28 +00:00
Carl Schwan
f1ce2c2b93
Fix rebasing issues and improve profile settings page a bit more
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:51:10 +02:00
Carl Schwan
f630bd27f7
Adapt to new Nextcloud vue style
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Christopher Ng
dd7cb9784f Remake location property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 23:52:33 +00:00
Christopher Ng
09f6eb5e58 Remake Twitter handle saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 18:19:10 +00:00
Xavierando
3a4c194f4c
Update sharing.php 2022-07-28 18:03:22 +02:00
Carl Schwan
4e0574e184 Port encryption admin settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-13 14:58:55 +02:00
Carl Schwan
f99a06c89a Don't allow setting password bigger than 469 characters
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-05 11:47:25 +02:00
Pytal
e647b9fa49
Merge pull request #32443 from nextcloud/port/background-job-admin 2022-05-20 09:58:13 -07:00
Carl Schwan
e8e0f97c9a Port BackgroundJob admin settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-20 15:00:54 +02:00
Carl Schwan
9d5a542a4e Improve two factor admin settings
- Port more of it to vue
- Use new nextcloud vue components for the setting section
- Add a bit of spacing between the elements

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-20 13:27:55 +02:00
Louis Chemineau
039a830703 Do not display search option in Shares settings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-03 17:51:11 +02:00
Louis Chemineau
80fa3c7319 Add setting to ignore email during search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-03 17:50:29 +02:00
Valdnet
ee0e597eec
l10n: Change apostrophe
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-26 11:02:21 +02:00
szaimen
d214114a75 update description of cronjob settings to be aligned to the documentation update
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-25 14:17:23 +02:00
Valdnet
167efe9796
l10n: Change to lowercase
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-14 10:15:39 +02:00
Valdnet
2117e72c29
l10n: Remove dot and add a parenthesis
Adaptation of the text string to the others. Removing the dot and adding a parenthesis.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-14 09:55:47 +02:00
Louis Chemineau
37f1c8640e Add settings to ignore second display name in search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-12 17:27:59 +02:00
Louis Chemineau
0e06ee68c0 Add settings to not match userID during full match
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-06 15:41:41 +02:00
Vincent Petry
b8b4d247b4
Merge pull request #31194 from nextcloud/feat/allow-to-exclude-groups-from-password-enforcement
Allow to disable password policy enforcement for selected groups
2022-04-06 10:13:23 +02:00
Carl Schwan
a29251e02d Allow to disable password policy enforcement for selected groups
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-05 17:04:17 +00:00
Christian Oliff
c13888a188
use inputmode="numeric" on port number
this is a UX enhancement for touchscreen devices... e.g. iPad
2022-04-05 17:59:47 +09:00
Christopher Ng
108abd77ed Add profile default setting for admin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 02:55:12 +00:00
Christopher Ng
1fc0b4320c Add global profile toggle config
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 02:55:12 +00:00
Carl Schwan
2ebffc0535 Add warning to the user
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: MichaIng <micha@dietpi.com>
Co-authored-by: zroebg <carlos@reendex.com>
2022-03-01 12:15:31 +01:00
Carl Schwan
7c8a901b84 Cleanup admin settings js files
* Move admin.js to webpack, so that this use the bundled jquery files
  instead of the deprecated window.$ Also fixing formatting

* Remove log.js that seems to be from a time where logreader was bundled
  with server and I couldn't find an usage of it anymore

* Fix recent regression in rebuild navigation function (now not depending on
  jquery anymore and bundled by webpack).

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 17:52:03 +01:00
szaimen
84cf39f582 show if the mail server settings are not set or verified
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-03 20:16:35 +01:00
szaimen
526f2a140f fix overlapping in the help settings section
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-17 21:35:46 +01:00
Vincent Petry
89cbd7b1c1
Fix doc link in sharing settings
The doc link "i" icon was on the wrong line.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:58:44 +01:00
Christopher Ng
19c62d051f Add new profile visibility section
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-04 00:31:32 +00:00
Louis
317d97309f
Merge pull request #27949 from CarlSchwan/work/carl/password-reset-autocomplete
Add autocompletion for password reset
2021-10-25 12:24:31 +02:00
Vitor Mattos
6f7ca3432c
show warning on personal settings page
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-10-23 00:54:51 +02:00
Carl Schwan
b7a35afcf1
Add autocompletion for password reset
Using autocomplete="current-password" and autocomplete="new-password"
will help browser with integrated password managers to generate safe
password for the users.

See https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element
and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/password#allowing_autocomplete.

Also unify autocapitalize="none" autocorrect="off" behavior in a few
other places for password input fields.

Close #27885

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-Authored-By: Julien Veyssier <eneiluj@posteo.net>
Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
2021-10-22 12:18:26 +02: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 +02:00
Christopher Ng
3be9d3ca8f Profile frontend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19 04:59:36 +00:00
Carl Schwan
6958d8005a
Add admin privilege delegation for admin settings
This makes it possible for selected groups to access some settings
pages.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-09-29 21:43:31 +02:00
Thomas Citharel
b3c7927260
Show warning on the share settings when the File Shares app is disabled
Closes #3706

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-15 16:33:03 +02:00
Christopher Ng
0552b6a7dd Vuetify
- abstract HeaderBar component

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-27 05:06:12 +00:00
Christopher Ng
a8ad5a3b6e Vuetify
- abstract shared components
- rewrite email section

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-23 21:29:47 +00: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 +02:00
Jan C. Borchardt
1bbe945482
Add h2 to personal info page, fixing accessibility issue
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-07-29 16:34:45 +02:00
Christopher Ng
44763576b1
Make emails Vuetiful
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-15 10:16:06 +02:00
szaimen
addc825275 add singular and plural in for days in admin sharing settings
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-06 19:05:17 +02:00
Valdnet
99ebe7176b
l10n: Correct spelling 2021-05-30 21:05:39 +02:00
Valdnet
ee48cd9f31
l10n: Remove space from translation
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-28 09:20:20 +02:00
Morris Jobke
f1dbabd910
Merge pull request #26727 from nextcloud/group-exclude-link-share
Add option to exclude groups from creating link shares
2021-05-21 15:35:39 +02:00
François Freitag
d887851183 Prefer string $file over 1-element array in script()
The string syntax is more obvious. There should be one (and preferably
only one) way of doing things.

Signed-off-by: François Freitag <mail@franek.fr>
2021-05-18 09:24:05 +02:00
Robin Appelman
0e6321957d
allow excluding groups from creating link shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-12 16:11:31 +02:00
Daniel Calviño Sánchez
da84ed7d4c Fix active scope not visible in the menu if excluded
Depending on some settings (for example, if lookup server upload is
disabled) some items can be hidden in the scope menu. However, if the
user selected an scope in the past once the settings were changed the
scope was no longer visible in the menu. Now the active scope will be
always visible in the menu, although if it is an excluded scope it will
be disabled. Selecting any other scope will then hide the excluded and
no longer active one.

When upload to the lookup server is disabled the scope menu was hidden
for display name and email in the personal information settings; now the
menu will be always shown to enable the above described behaviour.

Note that the menu will be shown even if there is a single available
scope so the user can read its description.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:42 +02:00
Jan C. Borchardt
738ac612d2
Fix accessibility of federation menu privacy buttons
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:54 +02:00
Jan C. Borchardt
64e90cdc66
Fix accessibility of profile picture section
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:54 +02:00
Jan C. Borchardt
749a266f78
Add proper labels for personal settings privacy toggles
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 20:34:47 +02:00
Vincent Petry
af61486aea
Separate settings for remote share expiration
Added separate settings for default and enforced expiration date for
remote shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:06:09 +02:00
Joas Schilling
6ae3de247d
Fix working for phone number integration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-29 17:04:32 +02:00
Vincent Petry
5d14fd4396
Make extra user profile fields always editable
The fields for phone number, address, website and twitter are now
editable regardless whether federated sharing and the lookup server
are enabled or not.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +01:00
Vincent Petry
9fb447ea42
Adjust scopes menu based on conditions
Now not all fields have the "v2-private" option in place.
Fix dropdown issue when a scope was stored that is not listed after
disabling the lookup server.
Whenever the lookup server upload is disabled, the scope menu is now
displayed where it makes sense to allow switching between the two private
scopes.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +01:00
John Molakvoæ (skjnldsv)
a100186e5e
Sharing link & mail parity
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:50:45 +01:00
Joas Schilling
78efabb073
Fix CS hopefully
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:51:28 +01:00
Joas Schilling
5b53b6f977
Add a setting to restrict returning a full match unless in phonebook or same group
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:25:57 +01:00
Joas Schilling
177ae33ba1
Add a hint that the settings are OR based
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:56 +01:00
Joas Schilling
b71268e38b
Add a config setting to restrict autocompletion to phonebook matches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:55 +01:00
Roeland Jago Douma
adc4f1a811
Merge pull request #22916 from J0WI/unifiy-links-to-php.net
Unify links to php.net
2020-12-22 09:53:31 +01:00
Joas Schilling
570c1bf7c4
Display errors that happen on saving
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-07 14:19:37 +01:00
Christoph Wurst
2526c5e042
Fix the config key on the sharing expire checkbox
We don't use `shareapi_internal_enforce_expire_date` anywhere.
`shareapi_enforce_internal_expire_date` is the one we want.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-24 14:17:41 +01:00
Roeland Jago Douma
644e7a2085
Move the password fiels of chaging passwords to post
* This is not actually used with GET (obviously). But else some scanners
  trip on it

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-17 16:10:18 +01:00
Julius Härtl
8cf7c63a71
Move help to separate stylesheet
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-04 13:17:16 +01:00
Morris Jobke
f6448779ad
Specify accept argument to avatar upload input field
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-27 15:51:37 +01:00
Sebastian Nohn
d0205ae128 Fix #20679 - be more alert about 2FA consequences
Signed-off-by: Sebastian Nohn <sebastian@nohn.net>
2020-10-11 13:57:29 +02: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 +02:00
Jan C. Borchardt
dca0cc9217
Make 'Reasons to use Nextcloud' button translatable, fix #22977
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-23 10:27:42 +02:00
Morris Jobke
792b3d52cb
Merge pull request #22917 from nextcloud/Valdnet-patch-4
l10n: Add parentheses for unification
2020-09-17 18:10:53 +02:00
Valdnet
2aaae73c72
l10n: Add a dot 2020-09-17 17:40:18 +02:00
J0WI
68ce17e59b Unify links to php.net
Update all links to https://www.php.net/

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-09-17 17:40:04 +02:00
Valdnet
d8f5275277
l10n: Add parentheses for unification 2020-09-17 17:32:25 +02: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 +02:00
Daniel Kesselberg
230b9c4713
Remove obsolete scripts
Leftover from https://github.com/nextcloud/server/pull/21224.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-08 23:43:10 +02:00
Joas Schilling
7dcb1cdb42
Remove controller and routes which have no UI component anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-04 10:41:08 +02:00
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.

This also removes and empty lines from method/function bodies at the
beginning and end.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 14:19:56 +02:00
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 10:35:09 +02:00