Commit graph

127 commits

Author SHA1 Message Date
Daniel Calviño Sánchez
2c1a1b1779
Disable "Enforce password protection" if not asking for a password
"Enforce password protection" is a subcase of "Always ask for a
password", so it should be disabled if its parent option is unchecked.
Although other dependant options in the sharing settings are fully
hidden instead of just disabled this option is disabled but shown to
avoid confusion when updating from a previous Nextcloud version where
"Always ask for a password" was unchecked and "Enforce password
protection" was checked.

Besides that, due to their dependency the enforced password protection
is now automatically unchecked too if its parent option is unchecked.

Finally, the groups excluded from password requirements are also
disabled when "Always ask for a password" is unchecked, as they might be
still shown if "Enforce password protection" was checked due to an
update from a previous version.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:34 +02:00
Daniel Calviño Sánchez
6daf962b4c
Split long line
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:18 +02:00
Daniel Calviño Sánchez
2c97bca5d0
Indent "Enforce password protection"
"Enforce password protection" is a subcase of "Always ask for a
password", so it should be indented to visually show the dependency.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:17 +02:00
Daniel Calviño Sánchez
f9039b4fbd
Replace "div" with "span" inside "p"
The permitted contents of a paragraph are only phrasing contents, so
"div" elements can not be used, although "span" can. Besides being
invalid HTML it seems that the browser ends the paragraph at the div, so
the label/input that appears after it is treated as being in a new
paragraph, which is not indented by default, and thus is not aligned
with the rest of its sibling inputs.

Note that an additional div is nevertheless added once the page is
loaded to be able to select the groups, but this one does not break its
parent paragraph (maybe due to being added after the page load, but I do
not really know). Nevertheless, it needs to be explicitly indented, and
the second indentend wrapper needs to be removed, as it affects only the
label but not the div/input, and therefore the label had an extra
indentation over the input.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:17 +02:00
Daniel Calviño Sánchez
8fa09bec09
Move "br" immediately after "label" for consistency with other elements
The rest of "<br/>" elements in the file appear immediately after their
previous "</label>" rather than in a new line.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:17 +02:00
Daniel Calviño Sánchez
74bddb7a1a
Add missing end tag for "label"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:16 +02:00
Anna Larch
5c2eb732f1 fix(carddav): expose system address book
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-11 18:59:30 +02:00
Daniel Calviño Sánchez
b677d3e27d Show loading spinner until share settings are fully loaded
The inputs of the sharing settings are generated in a template in the
server, but the listeners to react to changes in the elements and save
the values in the server are loaded in the client once the DOM finishes
loading. If the DOM takes long to load the user can start to interact
with the settings before the listeners were set up and, therefore, the
changes would not be saved in the server. However, as the inputs are
modified the user would think that the changes were already saved.

To address that now when the sharing settings are open a loading spinner
is shown instead of the contents of the sharing settings, and only once
the listeners to save the changes were set up the spinner is removed and
the contents shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-10 03:00:37 +02:00
Andy Scherzinger
bfa16fb3d7
bump hub number
Bump the hub number 4->5 for v27

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-04 13:36:03 +02:00
Anna Larch
1368012d97 fix(mailer): check if authentication is neccessary
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-03-24 10:26:04 +00:00
blizzz
86c102ed99
Merge pull request #36785 from nextcloud/bug/bring-back-auth-checkbox
Add back authentication checkbox for mailer settings
2023-03-01 21:35:08 +01:00
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