Commit Graph

45893 Commits

Author SHA1 Message Date
Roeland Jago Douma 78273cb1e6
Add an endppoint for clients to request an app password
Now that we allow enforcing 2 factor auth it make sense if we also allow
and endpoint where the clients can in the background fetch an
apppassword if they were configured before the login flow was present.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-03 19:05:20 +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
Morris Jobke 71072a0b56
Merge pull request #11338 from rubo77/password-br
sharebymail: Add linebreak before password
2018-10-03 12:57:22 +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
Morris Jobke 213d43f043
Merge pull request #11568 from nextcloud/fix/11097/just_update_password_hash
Just update password hash without validating
2018-10-03 12:08:49 +02:00
Roeland Jago Douma ae71a5574f
Merge pull request #11571 from nextcloud/dropdown-bottom-users-list-fix
Force multiselect max-height to 5.5 items
2018-10-03 12:04:45 +02:00
rubo77 a3849e60ba sharebymail: Add linebreak before password
Signed-off-by: Ruben Barkow <github@r.z11.de>
2018-10-03 11:42:12 +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
Roeland Jago Douma 6979b2ea0c
Merge pull request #11557 from nextcloud/update-design
Accessibility and design fixes for update and redirect pages
2018-10-03 10:01:20 +02:00
Roeland Jago Douma f9e201adfe
Merge pull request #11409 from nextcloud/feature/consolidated-2fa-settings
Consolidate personal two-factor provider settings
2018-10-03 09:56:21 +02:00
John Molakvoæ (skjnldsv) 66664cf9a5
Force multiselect max-height to 5.5 items
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-03 08:33:24 +02:00
Roeland Jago Douma 0c9a3de68f
Just update password hash without validating
Fixes #11097

If your password hash changed (becuse your are on 7.2 and we moved to
ARGON2). Then we shold not 'set a new password' but just update the
hash. As else we invoke the password policy again which might lock out
users.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-03 00:37:20 +02:00
Christoph Wurst daa897100e Update autoloader class map
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-02 23:41:33 +02:00
Morris Jobke 8ede3f6346
Merge pull request #11446 from nextcloud/bugfix/10678/pretty-urls-dont-work
Allow overwrite.cli.url without trailing slash
2018-10-02 23:39:30 +02:00
Morris Jobke e45248c17a
Merge pull request #10967 from nextcloud/zipresponse
Add zip response
2018-10-02 23:34:30 +02:00
Jan-Christoph Borchardt 241e0db3da
Remove box-shadow from update/redirect boxes
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-02 23:15:49 +02:00
Morris Jobke 126a824490
Merge pull request #11204 from nextcloud/feature/11153/add-adminemail-cli
Add --admin-email to cli installer
2018-10-02 23:10:51 +02:00
Jan-Christoph Borchardt aafe303f78
Fix 2FA settings icon alignment
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-02 22:58:38 +02:00
Christoph Wurst 79a0ee4f4a
Consolidate personal two-factor provider settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-02 22:56:33 +02:00
Morris Jobke bcbffdb644
Add PHPDoc
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-10-02 22:35:31 +02:00
Daniel Kesselberg a4eb3ee508
Validate email in occ command
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-10-02 22:24:30 +02:00
Daniel Kesselberg 13877c2d20
Use setUserValue instead setEMailAddress because latter omits an changeUser events.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-10-02 22:24:30 +02:00
Daniel Kesselberg 6c805ec9ba
Add --admin-email to cli installer
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-10-02 22:24:30 +02:00
Morris Jobke 6b730b4c47
Merge pull request #11390 from nextcloud/feature/11043/apptoken_v3
Apptoken v3: imrpove token handling on external password change
2018-10-02 21:45:10 +02:00
Morris Jobke 19d552e00b
Merge pull request #11336 from nextcloud/bugfix/3342/database-name-prefix-sqlite
Allow --database-name and --database-table-prefix for sqlite from occ
2018-10-02 21:44:03 +02:00
Morris Jobke 34751e05a6
Merge pull request #11553 from nextcloud/header-overflow
Fix header overflow, fix more apps menu, fix #11552
2018-10-02 21:30:11 +02:00
Jan-Christoph Borchardt 4de8f48b06
Accessibility and design fixes for update and redirect pages
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-02 20:58:32 +02:00
Morris Jobke c70e3c55e4
Merge pull request #11549 from nextcloud/feature/background_job_to_check
Add job to check users for backup code reminders
2018-10-02 20:42:17 +02:00
Roeland Jago Douma 36bf522c8b
Add job to check users for backup code reminders
Now that we can enforce 2FA we also should notify users that have
enabled 2FA but do not yet have backup codes generated.

This adds a repair step that inserts a background job to do this.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-02 20:41:56 +02:00
Christoph Wurst 98bac99522
Merge pull request #11484 from nextcloud/babel-fix-and-dynamic-import-settings
Babel fix and dynamic import settings
2018-10-02 20:41:39 +02:00
Morris Jobke 00569a0173
Merge pull request #8282 from Cybso/config-logfilemode
Make logfile's mode configurable.
2018-10-02 20:28:01 +02:00
Morris Jobke 4de134385f
Merge pull request #11111 from kevin147147/patch-4
Added kinetic scrolling for iOS to apps dropdown menu
2018-10-02 20:25:07 +02:00
Jan-Christoph Borchardt 2665965918
Fix header overflow, fix more apps menu, fix #11552
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-02 20:16:20 +02:00
Roeland Jago Douma 19f84f7b54
Add tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-02 19:50:54 +02:00
Roeland Jago Douma d9febae5b2
Update all the publickey tokens if needed on web login
* On weblogin check if we have invalid public key tokens
* If so update them all with the new token

This ensures that your marked as invalid tokens work again if you once
login on the web.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-02 19:50:54 +02:00
Roeland Jago Douma 00e99af586
Mark token as invalid if the password doesn't match
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-02 19:50:44 +02:00
Roeland Jago Douma efef053960
Add column to DB to store expired passwords
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-02 19:50:44 +02:00
Roeland Jago Douma 0c18b4decc
Merge pull request #11185 from nextcloud/bugfix/noid/redirect-guests-to-login-on-mention-notification
Redirect guests to login if they follow the link of a comment mention…
2018-10-02 19:43:09 +02:00
Morris Jobke 01082d04fd
Merge pull request #10909 from nextcloud/feature/noid/trash-add-droppable-zone
Added Trash-Dropzone to easily dispose of files and folders
2018-10-02 19:36:38 +02:00
Morris Jobke 7005ff420e
Fix tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-10-02 18:37:57 +02:00
Roland Tapken d17856a1e9
Make logfile's mode configurable.
The file logger currently resets the mode of the logfile to 0640.

When the webserver is running as a different user than the cron job
(but both are in the same group) the files mode has to be 0660. The
current implementation breaks logging for the user that is not the
owner of the logfile.

This patch introduces a new config option 'logfilemode' that expects
an octal value (defaults to 0640). Unless the value is lower or equal
than 0 the logfiles mode will be resetted to this value.

Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
2018-10-02 18:27:06 +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) b7d82e9262
Bump check script
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-02 17:26:07 +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
Roeland Jago Douma c2ef47ee13
Merge pull request #10757 from coliff/patch-1
remove  type="text/javascript" from index.html
2018-10-02 17:21:13 +02:00
Roeland Jago Douma 3aa3fb4709
Merge pull request #11526 from nextcloud/3rdparty/symfony/3.4.16
[3rdparty] Bump symfony packages to 3.4.16
2018-10-02 17:17:07 +02:00
Roeland Jago Douma ac8d4b2f31
Merge pull request #11527 from nextcloud/fix/10926/share_indexes
Add uid_owner and uid_initiator share tabe indices
2018-10-02 17:16:07 +02:00
Morris Jobke 25790ece89
Merge pull request #11536 from nextcloud/adjust-dialog-radius
Adjust border-radius-large to fit with padding of modals
2018-10-02 17:15:59 +02:00
Roeland Jago Douma 67c76ffcea
Merge pull request #11535 from nextcloud/bugfix/11031/theming-unsafe-eval
Manually instantiate jscolor to avoid csp errors
2018-10-02 16:43:05 +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