Commit graph

272 commits

Author SHA1 Message Date
Carl Schwan
82139cc1e3
Fix avatar icons in user list when using dark theme
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 09:52:36 +02:00
Carl Schwan
0b77607362
Use NoteCard component in BackgroundJob settings
Fix #33880

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 14:13:42 +02:00
Carl Schwan
3fa59ba412
Fix apps list issues caused by redesign
- Make icons work on dark theme
- Use new buttons
- Fix some eslint warnings

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 10:49:17 +02: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 +00: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
Carl Schwan
60c42914d8
Port password settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-31 17:42:36 +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
2f30d3227f
Various fixes
- Fix user status dialog
  - Add label where missing
  - Move emoji picker inside input field (similar to talk)
  - Fix selecting an emoji
- Fix multiselect
- Fix button with confirmation action
- Fix some other unrelated dark theme issues
- Fix select2 focus
- Run npm lint:fix

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +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
Carl Schwan
68ed1af3c0
Fix accessibility of input fields
Input fields require a 44x44 pixels target size, this makes all the
input fields and button use that size.

Bonus is that now the input fields and buttons now have the same size as
the new vue button and this looks less weird than the previous state
with controls of different sizes.

See https://www.w3.org/WAI/WCAG21/Understanding/target-size.html

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
Christopher Ng
c5c70daa66 Modularize shared account property components
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 18:08:39 +00:00
Vincent Petry
d0473214cd
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:00 +02:00
Vincent Petry
7080187958
Bump @nextcloud/vue to 6.0.0-beta.3 and related
Update @nextcloud/vue to 6.0.0-beta.3
Update vue and vue-template-compiler to 2.7.8
Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:37:46 +02:00
Christoph Wurst
6a08c89452
Request 64px avatars for the user management
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-08-22 15:36:14 +02:00
Christopher Ng
d9f1f5a8ac Fix duplicate ids on apps management page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-13 02:14:47 +00:00
Carl Schwan
256c78374f
Improve Devices & sessions settings
- Add label for better accessibility
- Only allow to add app token with a name
- Align in rows

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-02 00:38:28 +02:00
Vincent Petry
623d53315b
Merge pull request #33206 from nextcloud/enh/27869/consolidate
Consolidate account property getters
2022-07-26 09:13:24 +02:00
jld3103
6c2ea4b29c
Add Neon user-agent
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2022-07-21 12:39:44 +02:00
Christopher Ng
34308087d6 Consolidate account property getters
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-21 01:14:23 +00:00
Christopher Ng
ecdde8dd5c Use material design icons in Email component
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-21 00:05:13 +00:00
Joas Schilling
def9e25967
Fix HTML validation of material design icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-15 09:12:10 +02:00
Joas Schilling
ba9815fbe1
Translate error when user already exists
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-14 10:22:41 +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
blizzz
74ebb72622
Merge pull request #33110 from nextcloud/feat/handle-onetime-password-large
Handle one time password and very large passwords
2022-07-08 19:54:05 +02:00
Christopher Ng
ad0f2db292 Add current scope to scope actions label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-07 19:02:24 +00: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
Christopher Ng
05d53c6340 Fix undefined logger
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-28 18:19:15 +00:00
Louis Chemineau
347ca20f4e Rename setting name to reduce its length
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-27 11:04:17 +02:00
Christopher Ng
2948c5e1f1 Use unique key to prevent email component reuse
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-10 20:15:35 +00:00
Valdnet
dfe7243338
l10n: Delete apostrophe
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-07 16:41:38 +02:00
rakekniven
4399ed4712
l10n: Fix escaping issue
At Transifex the string is cut and shown `For the server to work properly, it`

I modified this without vue knowledge. @CarlSchwan Can you check please?

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-03 16:14:29 +02:00
jld3103
26804ceccb Fix Nextcloud Android app not showing proper name 2022-05-30 16:11:26 +02:00
Carl Schwan
6d883a8572 Fix various errors reported by eslint
And also make sure eslint doesn't try to index apps-extra that contains
other repo with not necessarely the same eslint rules

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 10:12:18 +02:00
Pytal
e647b9fa49
Merge pull request #32443 from nextcloud/port/background-job-admin 2022-05-20 09:58:13 -07:00
Carl Schwan
697b83bf50
Merge pull request #32501 from nextcloud/cleanup/admin-delegation-setting
Cleanup admin delegation setting page
2022-05-20 18:55:18 +02: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
Carl Schwan
4f4d777767 Cleanup admin delegation setting page
- Simplify code a bit
- Add link to doc
- Use Nextcloud vue component a bit more

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-19 18:15:41 +02:00
John Molakvoæ
264adf0c3b
Fix profile and add gradient-primary-background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +02:00
John Molakvoæ
73918b8af9
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:00 +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
szaimen
34004a3339 fix showing of all apps are up-to-date in apps management
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-25 12:30:39 +00:00
John Molakvoæ
493b20605f
Font fixes and design update for theme picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 09:31:07 +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
Petre T
ae1a8204dd Fix user counts updates on user add/remove
Signed-off-by: Petre Tudor <petre.tudor@dorkfar.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-29 10:59:29 +02:00
Vincent Petry
7bcc1830a2
Set max length to app token field to match backend
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-25 09:42:00 +01:00
Vanessa Pertsch
779e38e6a6 add new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-21 14:00:04 +00: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
Vanessa
ae79c0cc1c
Merge pull request #31378 from nextcloud/fix/31237/new-button-UserList
use new button component UserList
2022-03-15 08:08:37 +01:00
Louis Chemineau
7e8ae46a01 Use global $ in settings admin.js
Fix https://github.com/nextcloud/server/issues/31570

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-14 20:00:37 +00:00
Vanessa Pertsch
c1dfd6f784 use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>

Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-14 09:34:27 +00:00
Christopher Ng
c22cfa057d Fix settings error message timeout
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-04 04:56:48 +00:00
Vincent Petry
8f6a3f4e6d
Merge pull request #31359 from nextcloud/fix/apps-error-message-timeout
Fix apps settings error message timeout
2022-03-03 17:16:15 +01:00
Christopher Ng
a68318a52b Fix duplicate primary email message
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 01:16:16 +00:00
Christopher Ng
135f70ee9a Fix apps settings error message timeout
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-02 00:06:23 +00:00
Simon L
774fac10dc
Merge pull request #31355 from nextcloud/fix/23441/fix-developer-link
try to fix developer link
2022-03-01 10:42:18 +01:00
szaimen
ec2462d5d2
try to fix developer link
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-01 09:03:49 +01:00
Vanessa Pertsch
800f5f1be1 use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-01 07:37:35 +00:00
John Molakvoæ
8c969085ac Apps toolbar height and alignment fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-28 13:46:03 +00:00
Vanessa Pertsch
49a7d9b7d3 use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
2022-02-24 16:59:57 +01:00
Vanessa Pertsch
af5479467e use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
2022-02-24 16:59:57 +01:00
szaimen
1116529b56 fix all modals after vue 5.0
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-22 13:27:14 +00:00
Carl Schwan
e1f8b09b92 Fix external app
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 18:02:46 +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
d460c37024 try to fix overlapping buttons in apps-management
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-10 20:26:55 +00:00
Joas Schilling
40e141ee4a
Fix selecting user status, clear time and app password scope
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 09:11:42 +01:00
Brendan
20e372f0fd
Add app version to sidebar, mainly for mobile view as it disappears from list view
Signed-off-by: Brendan O'Neill brendan.oneill96@hotmail.co.uk
2022-02-03 17:22:06 +01:00
Julien Veyssier
63e755e1c8
change Actions trigger to <button> when editing user
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-02-03 12:50:24 +01:00
Louis Chemineau
78481e2e7c Add compiled files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
ArcticFall
398297b449 Add new component for the group list items.
Signed-off-by: Martin Jänel <spammemore@posteo.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
ArcticFall
849d3697d3 Add js methods for renaming a group.
Signed-off-by: Martin Jänel <spammemore@posteo.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
ArcticFall
1f80d767b4 Add ActionInput for renaming a group and corresponding method.
Signed-off-by: Martin Jänel <spammemore@posteo.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
John Molakvoæ
3192b3e2f2
Merge pull request #30729 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-7.0.1 2022-01-22 09:54:34 +01:00
Louis Chemineau
e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
Valdnet
0fb15e30a8 l10n: Spelling unification in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-20 09:56:30 +00:00
Valdnet
00b43cfa6b Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-20 08:30:59 +00:00
Valdnet
ae8085fbf8 Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-20 08:20:07 +00:00
Louis Chemineau
14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau
9fc6cc9634 Add generic type and description when its missing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +01:00
Louis Chemineau
d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +01:00
John Molakvoæ
79f14e8299 Use sync modifier with openMenu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-08 09:59:12 +00:00
John Molakvoæ (skjnldsv)
dd7bf0f902
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +01:00
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
Louis Chemineau
adfb9010d4
Migrate to webpack v5
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:12:47 +01:00
Christoph Wurst
91916a01a4
Fix rendering app authors with homepage or email
When the first author of an app doesn't have homepage/email attributes
set in info.xml then any further author was rendered as `[object
Object]` due to the complex XML node seralized to a JavaScript string.
The logic was fixed so that it converts any of the authors to simple
text.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-28 16:30:18 +01:00
szaimen
70feadafb4 improve personal settings on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-23 11:08:49 +00:00
Quentin Guidée
de5743cfb7
Devices & sessions: fix misaligned header
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-21 23:21:14 +01:00
Daniel Calviño Sánchez
45e66458ff Fix input for groups validation in new user form
The hidden input used for form validation was not actually hidden since
Nextcloud 22, as the DOM structure changed to show a dialog rather than
adding a row on top of the list when adding new users, so the CSS rules
no longer matched.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-07 18:02:17 +01:00
Christopher Ng
9ac81f6c2a Set number of visibility dropdown rows dynamically
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-26 01:04:21 +00:00
Christopher Ng
7ad07d6aa6 Improve accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-26 00:26:20 +00:00
szaimen
0224687e23 Personalsettings - remove marginLeft as it breaks the layout
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-24 01:45:54 +00:00
Christopher Ng
697a6935a4 Improve sorting
- Extract sort logic into a separate function
- Sort non-core parameters with localeCompare

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 00:22:07 +00:00