Commit Graph

45938 Commits

Author SHA1 Message Date
Roeland Jago Douma 9a7265babf
Make authenticated cookies lax
This protects our cookies a bit more. It makes sure that when a 3rdparty
websites embededs a public alendar for example. That all the users see
this in anonymous mode there.

It adds a small helper function.

In the future we can think about protecting other cookies like this as
well. But for now this is sufficient to not have the user logged in at
all when doing 3rdparty requests.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-28 16:44:37 +02:00
Morris Jobke 0ded277bea
Merge pull request #11432 from nextcloud/assemblystream-eof
AssemblyStream is also eof if we have no more source stream
2018-09-28 16:25:49 +02:00
Morris Jobke d867f9f091
Merge pull request #11037 from nextcloud/trash-webui-dav
Use trashbin dav endpoint to list trash in webui
2018-09-28 16:03:24 +02:00
Robin Appelman f1f74a39b6
throw an error if a node is smaller than expected in assemblystream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-28 15:40: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
blizzz a23d524098
Merge pull request #11427 from nextcloud/enhancement/noid/ldap-numerical-ids
extend integration tests with users with numerical IDs
2018-09-28 15:25:54 +02:00
Robin Appelman 6b7a69752c
AssemblyStream is also eof if we have no more source stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-28 15:09:43 +02:00
Morris Jobke 3182b8b063
Merge pull request #11429 from nextcloud/feature/11033/bump_strengthify
Bump strengthify
2018-09-28 14:14:26 +02:00
Roeland Jago Douma 920771b11a
Merge pull request #11428 from nextcloud/history-icon-center-fix
Center back the history icon
2018-09-28 14:07:51 +02:00
Nextcloud bot db50e11edf
[tx-robot] updated from transifex 2018-09-28 11:14:08 +00:00
Roeland Jago Douma 6ddef7bceb
Bump strengthify
Fixes #11033
For https://github.com/orgs/nextcloud/projects/18

Move to a stricter CSP safe strengthify

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-28 12:55:00 +02:00
John Molakvoæ (skjnldsv) 005a8b3794
Cleanup
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-28 12:13:48 +02:00
Morris Jobke e2047009d1
Merge pull request #11414 from nextcloud/csp/11029/contacts_menu_compiled_handlebars
Compile contactmenu handlebars templates
2018-09-28 12:09:14 +02:00
John Molakvoæ (skjnldsv) 29e80053bf
Center back the history icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-28 12:07:04 +02:00
Arthur Schiwon 108a8d6c4c
extend integration tests with users with numerical IDs
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-09-28 11:19:48 +02:00
Morris Jobke f6e39e5400
Merge pull request #11423 from nextcloud/inline-input-error-fix
Fix invalid inline input confirm border
2018-09-28 10:59:44 +02:00
John Molakvoæ (skjnldsv) 4bfe88d2af
TABS :D
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-28 09:38:21 +02:00
John Molakvoæ (skjnldsv) e744b029ff
Fix invalid inline input confirm border
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-28 09:29:08 +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
John Molakvoæ (skjnldsv) f5f31e221c
Fix class selector for acceptance tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-28 08:20:10 +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
Roeland Jago Douma d72d267035
Merge pull request #11410 from nextcloud/csp/11030/filesummary_compiled_handlebars
Compile filesummary handlebars
2018-09-27 21:04:33 +02:00
Roeland Jago Douma c9e93b8084
Compile contactmenu handlebars templates
Fixes #11029
For https://github.com/orgs/nextcloud/projects/18

Ship the compiled handlebars templates. This makes it possible to have a
scricter CSP.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-27 20:33:58 +02:00
Roeland Jago Douma ae1250f422
Compile filesummary handlebars
Fixes #11030
For https://github.com/orgs/nextcloud/projects/18

This template is now compiled so this no longer has to happen in the
browser. Another step towards a stricter CSP.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-27 20:16:08 +02:00
blizzz d984231458
Merge pull request #11416 from nextcloud/bugfix/11218/show-email-authtype-none
Show auth type "None" in email settings
2018-09-27 18:07:49 +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
Morris Jobke d6522c41fe
Show auth type "None" in email settings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-09-27 16:59:43 +02:00
Morris Jobke 02de67773c
Merge pull request #11411 from nextcloud/fix-checkWellKnownUrl-not-being-executed
Fix "checkWellKnownUrl" not being run
2018-09-27 16:14:25 +02:00
Roeland Jago Douma fbe270dec6
Merge pull request #11384 from nextcloud/11372/fix/logo-height
Fixes the logo height
2018-09-27 15:41:13 +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
Michael Weimann c7714b43c7
Fixes the logo height
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-09-27 12:47:13 +02:00
Christoph Wurst c759a78926
Merge pull request #11398 from nextcloud/refactor/settings-manager-complexity
Reduce settings manager complexity by loading sections via DI
2018-09-27 10:33:32 +02:00
Christoph Wurst f71ffc73db
Remove unused constructor argument
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-09-27 09:44:21 +02:00
Christoph Wurst 0259792614
Reduce settings manager complexity by loading sections via DI
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-09-27 09:44:21 +02:00
Christoph Wurst 0ca78e15bc
Merge pull request #11163 from nextcloud/refactor/vue-backup-codes
Migrate backup codes settings to Vue
2018-09-27 09:41:48 +02:00
Christoph Wurst cd05670517
Fix generate button event and show regenerate button only when enabled
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-09-27 09:07:06 +02:00
Roeland Jago Douma 13d9b5f5e0
Bump npm packages
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-27 09:07:06 +02:00
Roeland Jago Douma 735d5e5cba
Add drone support
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-27 09:07:06 +02:00
Roeland Jago Douma edc861b041
Move to standard format
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-27 09:07:05 +02:00
Christoph Wurst 7882be160a
Migrate backup codes settings to Vue
Fixes https://github.com/nextcloud/server/issues/11034.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-09-27 09:07:05 +02:00
Christoph Wurst 522d6804f7
Merge pull request #11402 from nextcloud/fix_acceptance
Also test enabling of the Antivirus App for files
2018-09-27 06:55:50 +02:00
Nextcloud bot 2ace0df82a
[tx-robot] updated from transifex 2018-09-27 00:12:26 +00:00
Roeland Jago Douma 1fecea6c08
Also test enabling of the Antivirus App for files
Since there is no calendar release for 15 yet we should use an app that
we can quickly release for 15 as well.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-26 22:05:42 +02:00
Roeland Jago Douma bf57c53ca5
Merge pull request #11135 from nextcloud/babel-npm-webpack-fixes
Update config and babel for ie11
2018-09-26 21:34:49 +02:00
Robin Appelman c5f77de3e2
fix trashbin js tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-26 19:20:53 +02:00
blizzz ff55bcdad5
Merge pull request #11150 from nextcloud/feature/noid/unit-test-find-webroot
Extract logic for webroot into method and add test
2018-09-26 15:22:30 +02:00