Commit Graph

16300 Commits

Author SHA1 Message Date
Roeland Jago Douma bc07098b49 HttpClient getHeader can return empty string
Fixes #11999

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-08 15:26:23 +00:00
Roeland Jago Douma 7e2092cfa1
Merge pull request #13411 from nextcloud/backport/13403/stable15
[stable15] CSP: Allow fonts to be provided in data
2019-01-07 19:25:47 +01:00
Roeland Jago Douma de30c11cf3 CSP: Allow fonts to be provided in data
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-07 14:40:23 +00:00
Roeland Jago Douma 7416ce20a0 Use the real logger in the settings
Fixes #13285
The wrapper logger should not be used here. But we need the real logger.
Since this in internal we can just pass that on directly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-07 12:40:36 +00:00
Nextcloud bot a0d08147d9
[tx-robot] updated from transifex 2019-01-05 01:12:08 +00:00
Roeland Jago Douma d92c05e646 Throttle with correct metadata
Fixes #13202

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-04 21:21:46 +00:00
Nextcloud bot 5270f3996f
[tx-robot] updated from transifex 2019-01-04 01:12:40 +00:00
Roeland Jago Douma 241ec0715c Rewrite getNumberOfUnreadCommentsForFolder query
Before the joining and filtering removed unkown files. Resulting in
manual queries for all the files with no (unread) comments (the 99%).

Long story short. This will return a list of all the files in the parent
folder with their unread comment count (can be 0). But this makes sure
that the result is properly cached. In the dav handling.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-03 16:10:13 +00:00
Nextcloud bot ec05897e4e
[tx-robot] updated from transifex 2019-01-03 01:11:58 +00:00
Morris Jobke f81fdd4b5c
Merge pull request #13252 from nextcloud/backport/13240/stable15
[stable15] Add default values when parsing account data
2019-01-02 16:28:02 +01:00
Roeland Jago Douma 832fa63dec
Merge pull request #13278 from nextcloud/backport/13086/stable15
[stable15] Fetch lastInsertId only when id null
2019-01-02 09:15:28 +01:00
Nextcloud bot 2d91e9f00d
[tx-robot] updated from transifex 2019-01-01 01:11:45 +00:00
Nextcloud bot 933d0c1902
[tx-robot] updated from transifex 2018-12-31 01:11:52 +00:00
Nextcloud bot 9cc7b9b9ec
[tx-robot] updated from transifex 2018-12-30 01:12:51 +00:00
Nextcloud bot 9e315b1ac4
[tx-robot] updated from transifex 2018-12-28 01:11:59 +00:00
Daniel Kesselberg 92938f6f00 Access id property without getter.
Some implementations typehint getId to integer but default is null.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-12-27 17:01:57 +00:00
Daniel Kesselberg 97b03745b0 Fetch lastInsertId only when id null
When id column has no autoincrement flag query for lastInsertId fails
on postgres because no value has been generated. Call lastInsertId only
if id is null.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-12-27 17:01:57 +00:00
Nextcloud bot 424fc68d4c
[tx-robot] updated from transifex 2018-12-27 01:11:51 +00:00
Julius Härtl 3be77ba956 Add default values when parsing account data
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-24 13:19:38 +00:00
Roeland Jago Douma 77a81d00cf SCSS cache buster is a combination of apps/theming/scc_vars
Else on scss files we'd get <file>?v=<hash>?v=<hash2>
This is of course not valid. Now it becomes <file>?v=<hash>-<hash2>

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-21 09:33:18 +00:00
Roeland Jago Douma 7b09d11924 Use a case insensitive search for email
Fixes #7084
Now entering wrongly cased email (roeland@ instead of Roeland@) for
password reset etc. Will also work.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 15:19:15 +00:00
Christoph Wurst c2aa9263b7
Merge pull request #13155 from nextcloud/fulltextsearc-createindex
[15.0.1] allow content provider to generate new Index
2018-12-20 09:33:27 +01:00
Maxence Lange 663f9706f7 using the createIndex from FullTextSearchManager
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 11:27:37 -01:00
Maxence Lange 3c1fd5cf29 allow content provide to generate new Index
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 09:36:38 -01:00
Roeland Jago Douma 9f6ee5b939 Only trust the X-FORWARDED-HOST header for trusted proxies
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-19 08:48:18 +00:00
Nextcloud bot 3f3337af9b
[tx-robot] updated from transifex 2018-12-17 01:11:42 +00:00
Nextcloud bot 3045b6aae2
[tx-robot] updated from transifex 2018-12-16 01:12:42 +00:00
Nextcloud bot da3196fdb8
[tx-robot] updated from transifex 2018-12-15 01:11:48 +00:00
Daniel Kesselberg a77b33759f Change doc link for 15
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-12-10 11:28:18 +01:00
Nextcloud bot 1f94126f59
[tx-robot] updated from transifex 2018-12-06 01:12:12 +00:00
Morris Jobke 1e906fd15c
Merge pull request #12868 from nextcloud/backport/12857/stable15
[stable15] Emit write update only once on touch
2018-12-06 01:18:21 +01:00
Morris Jobke f4497bbb57
Merge pull request #12867 from nextcloud/backport/12854/stable15
[stable15] Log and continue on Dav reader failure (repair uid)
2018-12-06 01:07:28 +01:00
Morris Jobke b490a46c4a
Merge pull request #12861 from nextcloud/backport/12855/stable15
[stable15] Only execute query in propagateChange once
2018-12-05 23:37:00 +01:00
Roeland Jago Douma 07eb6e5716 Emit write update only once on touch
When a touch is done (i.e. when creating a new file in the node API)
The hooks contain 'write' and 'touch' (and the operation is touch as
well). This would cause a double write update. Which doesn't make sense.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-05 21:55:24 +00:00
John Molakvoæ (skjnldsv) 7028362604 Log and continue on Dav reader failure
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-05 21:54:50 +00:00
Roeland Jago Douma 1656a08323 Only execute query in propagateChange once
The second execute statement should be inside the if block. Else it gets
executed twice which makes no sense.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-05 20:44:35 +00:00
Joas Schilling 19d693035b
Validate all rich objects not only the used ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-05 20:06:09 +01:00
Morris Jobke 3fd14b2920
Merge pull request #12833 from nextcloud/backport/12831/stable15
[stable15] Do not update child all child shares on group share update
2018-12-05 09:33:16 +01:00
Nextcloud bot e77f1ea351
[tx-robot] updated from transifex 2018-12-05 01:12:05 +00:00
Roeland Jago Douma 7bb79dc733 Do not update child all child shares on group share update
Else we overwrite the whole share for link shares. Basically breaking
them.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-04 21:51:20 +00:00
Morris Jobke 31b5c17f2e PHP module is named mbstring
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-12-04 17:56:46 +00:00
Christoph Wurst ad61fda11c Fix activatable/deactivatable 2fa provider interface typos
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-12-04 08:43:35 +00:00
Nextcloud bot 2ca2393513
[tx-robot] updated from transifex 2018-11-30 01:12:08 +00:00
Morris Jobke 96450a9e9b
Merge pull request #12692 from nextcloud/storage-no-encryption-interface-15
[15] Add interface to allow storages from opting out of encryption
2018-11-29 22:01:14 +01:00
Roeland Jago Douma c602d1b751
Merge pull request #12736 from nextcloud/backport/12424/stable15
[stable15] Add pipe mode for sendmail
2018-11-29 19:36:30 +01:00
Peter Kraume 604cbb62ec Set Referrer-Policy also in addSecurityHeaders()
Fix: #12689
Signed-off-by: Peter Kraume <peter.kraume@gmx.de>
2018-11-29 16:48:06 +00:00
Daniel Kesselberg 4991dfbb14 Add sendmailmode to gui
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-11-29 16:44:36 +00:00
Carsten Wiedmann ad0a2ee181 Apply patch from @cwiedmann but drop -oi option for pipe
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-11-29 16:44:36 +00:00
Christoph Wurst d5e0292ba2 Update autoloader classmap
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-11-29 16:27:53 +01:00
Nextcloud bot be1b653ede
[tx-robot] updated from transifex 2018-11-29 01:11:44 +00:00