Commit Graph

1147 Commits

Author SHA1 Message Date
Jan-Christoph Borchardt 7b74beb3a3
Highlight 'Enable' button in sidebar, and 'Update' button generally
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-19 16:20:31 +02:00
Roeland Jago Douma 053ddbaa6f
Bump npm deps in /settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-17 22:20:15 +02:00
Christoph Wurst 8222e9dd12
Remove Vue compiler because templates have to be precompiled anyway
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-16 11:49:42 +02:00
Christoph Wurst f8579a87f5
Fix unsafe-eval used in 2FA admin settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-16 11:49:07 +02:00
Roeland Jago Douma 3797b8e7e3
Merge pull request #11834 from nextcloud/csp/federationmenu
Compile federationscope menu handlebars template
2018-10-15 21:23:19 +02:00
Roeland Jago Douma d65438f931
Compile federationscope menu handlebars template
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-15 10:44:24 +02:00
Christoph Wurst 83e994c11f
Make it possible to enforce mandatory 2FA for groups
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-15 08:22:52 +02:00
Roeland Jago Douma d9ffd6db4e
Rebuild settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-12 13:05:28 +02:00
Christoph Wurst 67c3730fbb
Add admin interface to enforce 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-10 14:34:52 +02:00
Daniel Calviño Sánchez 20a5ce217a Add check for well known URL of WebFinger in the settings overview
If the WebFinger service is not set in Nextcloud configuration no check
is performed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-10 14:12:10 +02:00
Morris Jobke b8d54bd53a
Fix a misleading setup check for .well-known/caldav & carddav
The problem is that the version without the slash is the correct one.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-10-10 10:41:02 +02:00
Christoph Wurst 9d2a66967b
Remove useless promise transformation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-08 15:29:37 +02:00
Roeland Jago Douma 8932a51b91
Extract translated strings of compiled handlebars
Follow up to #11615

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-05 12:32:48 +02:00
John Molakvoæ (skjnldsv) 153faad307
Bump build and fix makefile
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-04 09:26:42 +02:00
Morris Jobke c8e617b07c
Set nonce for loading the zxcvbn
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-10-03 17:05:01 +02:00
Roeland Jago Douma 893d2daece
Merge pull request #11578 from nextcloud/add-group-settings-fix
Fixed js error when adding new group
2018-10-03 15:12:55 +02:00
John Molakvoæ (skjnldsv) 8a8cf45d08
Fixed js error when adding new group
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-03 12:15:54 +02:00
Marin Treselj a92e8b4c18
Merge pull request #11538 from nextcloud/heading-bold
Set headings to Semibold for better information architecture
2018-10-03 10:09:57 +02:00
John Molakvoæ (skjnldsv) 834f3df19a
Fix generateUrl for webpack
OC.generateUrl(OC.linkTo('contacts', 'js/')) will append index.php, we
should not have that!

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-02 17:26:08 +02:00
John Molakvoæ (skjnldsv) 5cec23d840
Babel fix and dynamic import on settings
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-02 17:26:07 +02:00
Jan-Christoph Borchardt 26e952f3f2
Fix federation-menu Javascript to use h3
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-02 16:20:53 +02:00
Roeland Jago Douma 7e5b7f75ba
Bump templates to handlebars 4.0.12
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-28 21:17:08 +02:00
John Molakvoæ (skjnldsv) 2b41b01bf2
Add new group entry on users list + fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-28 15:37:37 +02:00
John Molakvoæ ecf33a679e
Merge pull request #11417 from nextcloud/hover-quota-used-space-regression
Add back the total used space per user
2018-09-28 08:59:24 +02:00
John Molakvoæ (skjnldsv) 8a2ac44250
State default unknown quota to 0
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-28 08:22:37 +02:00
Christoph Wurst 9eb4259af9
Merge pull request #11412 from nextcloud/csp/11032/authtoekn_compiled_handlebars
Compile handlebars template for AuthTokenView
2018-09-28 07:36:45 +02:00
Morris Jobke c367f95afa
Merge pull request #10833 from nextcloud/fix_8623
Re-enable upload button after updating Avatar fixes #8623
2018-09-27 17:27:12 +02:00
John Molakvoæ (skjnldsv) 7c15d9e080
Fix string formatting
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-27 17:16:12 +02:00
John Molakvoæ (skjnldsv) 1aa0990ccd
Add back the total used space per user
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-27 17:13:26 +02:00
Daniel Calviño Sánchez fe30653194
Fix "checkWellKnownUrl" not being run
The check is run only if its last parameter is true; data() tries to
convert the HTML attribute string to an actual JavaScript value, so
"true" is returned as an actual boolean instead of an string; as a
strict comparison against "true" was used the result was false and thus
the checks were not run.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-09-27 15:39:26 +02:00
Roeland Jago Douma d66e662492
Compile handlebars template for AuthTokenView
Fixes #11032
For https://github.com/orgs/nextcloud/projects/18

Compile the default authtoken handlebars view.
This avoids runtime compilations (speed) and avoids unsafe eval calls
thus allowing a stricter CSP.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-27 14:07:48 +02:00
John Molakvoæ (skjnldsv) 8f05df2b14
Rebase and bump
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-26 09:44:49 +02:00
John Molakvoæ (skjnldsv) ba47f97124
Update config and babel for ie11
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-10 12:02:26 +02:00
Roeland Jago Douma b52454db56
Bump js deps settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-04 10:32:26 +02:00
Roeland Jago Douma 0066bc5bc5
Update map
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-03 09:07:16 +02:00
Jin Lin Wright 464696b5dc add missing js files 2018-08-29 14:43:58 +02:00
Tobia De Koninck a12560d8c5 Re-enable upload button after updating Avatar fixes #8623
Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
2018-08-24 15:15:16 +02:00
Roeland Jago Douma 4c138b2042
Recompile settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-18 13:35:46 +02:00
Michael Weimann cfcdcbed35
Fixes hiding the disabled users nav item if there are no disabled users
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-08-14 22:28:53 +02:00
John Molakvoæ (skjnldsv) b9a24bfef8
Allow external actions to users list
+ Created fix

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-08-13 11:33:48 +02:00
Roeland Jago Douma 9cb1b1b76e
Recompile
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-10 15:22:53 +02:00
Julius Härtl da60031b54
Bump bundled javascript from settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-10 13:56:52 +02:00
Christoph Wurst 3254b85c12
Merge pull request #10546 from nextcloud/popover-tokens
Popovermenu fix and token settings design fixes
2018-08-10 09:38:27 +02:00
Christoph Wurst b85e1188e1
Fix `this` context for enter-key handler on app tokens
Fixes https://sentry.io/share/issue/e07c5560b6154212832e4cd6598464c7/.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-08-08 11:07:47 +02:00
Michael Weimann 978fc50c65
Updates the built files
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-08-07 18:02:14 +02:00
Michael Weimann d1636147eb
Fixes the apps list layout
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-08-07 18:02:13 +02:00
John Molakvoæ (skjnldsv) 4ba40385a4
POpovermenu fix and token settings design fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-08-06 10:48:07 +02:00
Julius Härtl bee78a475e
Use icon classes in personal settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-01 10:05:42 +02:00
Roeland Jago Douma f05d30c5b0
Compile vue
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-31 15:03:40 +02:00
Daniel Calviño Sánchez ab6688fe0b Set display name (if specified) when a new user is created
Although the form to create a new user included a field to set the
display name its value was not taken into account, so the new user ended
with the default display name (the same as the user name).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 13:40:47 +02:00
Julius Härtl 4c773891d7
Fix app navigation controller to return an array
This is required to not break compatibility with existing consumers of that endpoint like the apps management or the client

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-25 13:50:46 +02:00
Julius Härtl 4e53888784
Replace contacts-dark icon
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-24 18:53:59 +02:00
John Molakvoæ (skjnldsv) d6b718584e
Sidebar fix
Fix sidebar and scrollbar on content
Sidebar fixes, and sidebar-width + header-height variables

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-20 23:37:00 +02:00
John Molakvoæ (skjnldsv) 842583038b
Cleanup structure
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-20 23:35:21 +02:00
Julius Härtl 784eef16f6
Bump settings build
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-20 14:39:20 +02:00
Michael Weimann c17b191dfb Display the remove item even for elements without a count
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-07-18 23:09:49 +02:00
Roeland Jago Douma 82a39e6fdb
Rebuild js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-17 17:43:18 +02:00
Julius Härtl 1e1f164ff5
Update settings js
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-04 16:19:33 +02:00
Julius Härtl 7b87e00db1
Properly insert app icons into navigation
If the app menu is rebuild with the first icon being updated, the whole
list was empty, therefore we need a fallback to properly insert the
element then.

Fixes https://github.com/nextcloud/dashboard/issues/10

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-03 12:14:39 +02:00
Kevin Ndung'u f4c2a81258
Fix hardcoded message in app details view 2018-07-02 00:19:16 +03:00
Julius Härtl 3f77b0fc8b
Move user password form to security settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-29 13:35:07 +02:00
John Molakvoæ (skjnldsv) b495716daf
Fix new group selection
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-29 12:27:34 +02:00
Roeland Jago Douma 000c302505
Update Vue settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-29 09:11:04 +02:00
Georg Ehrke 0cacdd3132
show locale example and apply new locale right away
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 13:19:50 +02:00
Thomas Citharel d8921ccd85
Allow user to choose locale
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-27 13:15:19 +02:00
John Molakvoæ (skjnldsv) d3d357fb94
Resend activation email for new users as admin
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-26 09:18:49 +02:00
Joas Schilling 3784ef9fbb
Use a placeholder instead of magic string concatenation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-06-26 08:22:20 +02:00
Roeland Jago Douma 3bc3ff38f3
Bump webpack
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-25 20:27:06 +02:00
John Molakvoæ (skjnldsv) ab22ffada5
Css clamp
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-25 14:27:23 +02:00
John Molakvoæ (skjnldsv) 910a431653
Real ellipsis and better line height
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-25 14:08:38 +02:00
John Molakvoæ (skjnldsv) f8f6529653
Fixed multi line in users list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-25 14:08:38 +02:00
John Molakvoæ (skjnldsv) 006deecb00
removed debug
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-22 09:50:17 +02:00
John Molakvoæ (skjnldsv) bd4cba4fb2
Added icons to users list and improved design
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-22 09:48:19 +02:00
John Molakvoæ (skjnldsv) 259f70d640
Apps search
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-19 23:55:44 +02:00
John Molakvoæ (skjnldsv) 0281e9dafc
Fit user search to new standard
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-19 23:54:00 +02:00
John Molakvoæ (skjnldsv) 2f38f2b707
Add user search support
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-19 23:53:20 +02:00
John Molakvoæ (skjnldsv) a53dbb8c0b
New user support, provisionning api and design fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-19 23:20:33 +02:00
Robin Appelman 8a1cbbd90e
Don't pretend we can add/remove users to/from groups when we can't
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-06-19 16:23:02 +02:00
John Molakvoæ (skjnldsv) 9546e939fb
Bump compilation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-19 06:38:26 +02:00
John Molakvoæ (skjnldsv) 62667914a0
Copyright fix, changed vue settings output name and fixes template name
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-12 10:26:53 +02:00
Julius Härtl b61e72fe00
Update asettings bundled javascript
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-09 12:07:55 +02:00
John Molakvoæ (skjnldsv) da583f05fc
Allow 0 quota by provisioning api
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-07 11:30:37 +02:00
Morris Jobke 132597bbd3
Merge pull request #9766 from nextcloud/vue-build-tests
Add vue apps build tests
2018-06-07 11:10:31 +02:00
Morris Jobke b24db1e491
Merge pull request #9762 from nextcloud/feature/noid/setupcheck-design
Add visual indicator for setup checks
2018-06-07 09:59:46 +02:00
John Molakvoæ (skjnldsv) fd147cc3fd
Bump updatenotification
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-07 09:28:06 +02:00
John Molakvoæ (skjnldsv) 14cb805cf1
Bump settings config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-07 08:35:02 +02:00
Julius Härtl 5a20ac7df2
Add warning state to setup checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-06 17:34:38 +02:00
Julius Härtl 6afe3e42f3
Add visual indicator for setup checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-06 17:34:37 +02:00
Julius Härtl 008832665f
Add bundled code
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-06 11:40:09 +02:00
Julius Härtl 664bc37a80
Remove old js code except for app navigation rebuild
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-06 11:40:09 +02:00
Julius Härtl 8594fdc493
Move to AppFramework Controller
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Move app management ajax code to AppSettingsController

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-06 11:40:06 +02:00
John Molakvoæ (skjnldsv) 4644841ba6
Do not show count on empty groups
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-25 15:00:52 +02:00
John Molakvoæ (skjnldsv) a093a67b5a
Fixed app navigation order
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-24 17:52:16 +02:00
John Molakvoæ (skjnldsv) cd73cd3a6e
Fixed error throw and disablign count group update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-24 17:52:15 +02:00
John Molakvoæ (skjnldsv) f5d0f14045
Fix the navigation component
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-24 17:52:15 +02:00
John Molakvoæ (skjnldsv) c55cf79453
Added total count for subadmins
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-24 17:52:15 +02:00
John Molakvoæ (skjnldsv) ddd1c8bc86
Disabled fix since new users list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-24 17:52:15 +02:00
Julius Härtl d44cbc8118
Add custom texts to apps management password checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-05-24 14:02:56 +02:00
John Molakvoæ (skjnldsv) aa1c6fb6b4
Fixed IE design, subadmins groups update and multiselect base width
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-23 09:43:33 +02:00
John Molakvoæ (skjnldsv) 16af12e0a0
Fixed webpack config, groups flex thanks to @juliushaertl and groups tooltip
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-18 17:47:10 +02:00