Morris Jobke
5870bd2383
Merge pull request #24296 from nextcloud/backport/stable19/23023
...
[stable19] Delete files that exceed trashbin size immediately
2020-11-23 21:07:46 +01:00
Morris Jobke
2a7c990ea0
Merge pull request #24306 from nextcloud/fix/stable19-sabre-parse-xml-errors
...
[stable19] Update sabre/xml to fix XML parsing errors
2020-11-23 20:51:55 +01:00
Christoph Wurst
3f06a29b2b
Update sabre/xml to fix XML parsing errors
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-23 12:06:11 +01:00
Julius Härtl
1a607b2030
Delete files that exceed trashbin size immediately
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-23 09:09:39 +01:00
Nextcloud bot
22f5093f7b
[tx-robot] updated from transifex
2020-11-22 02:18:47 +00:00
Nextcloud bot
de80cbc037
[tx-robot] updated from transifex
2020-11-21 02:19:35 +00:00
Morris Jobke
32503f375c
Merge pull request #24262 from nextcloud/backport/24108/stable19
...
[stable19] Use correct year for generated birthdays events
2020-11-20 22:41:39 +01:00
Sven Strickroth
75cdfd8dc2
Use correct year for generated birthdays events
...
'X-APPLE-OMIT-YEAR' is not always present, at least iOS 12.4 uses the hard coded date of 1604 (the start of the gregorian calendar) when the year is unknown.
cf. https://forums.bitfire.at/topic/2050/bday-without-year-for-vcard-3-0-if-server-drops-property-x-apple-omit-year and https://gitlab.com/CardBook/CardBook/-/issues/586
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2020-11-20 20:39:34 +00:00
Morris Jobke
7d2968aca0
Merge pull request #24260 from nextcloud/backport/24257/stable19
...
[stable19] Simple typo in comments
2020-11-20 21:29:31 +01:00
Carlos Ferreira
8f9facccf0
Simple typo in comments
2020-11-20 19:48:09 +00:00
Roeland Jago Douma
b5d99fdc67
Merge pull request #24233 from nextcloud/backport/24211/stable19
...
[stable19] Fix setting images through occ for theming
2020-11-20 10:04:16 +01:00
Nextcloud bot
b97416ee62
[tx-robot] updated from transifex
2020-11-20 02:20:26 +00:00
Julius Härtl
cc0283e2b2
Fix setting images through occ for theming
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-19 22:21:39 +00:00
Roeland Jago Douma
e5b977589a
Merge pull request #24182 from nextcloud/backport/24102/stable19
...
[stable19] Check quota of subdirectories when uploading to them
2020-11-19 10:40:16 +01:00
Roeland Jago Douma
076130ba46
Merge pull request #24195 from nextcloud/backport/24098/stable19
...
[stable19] circleId too short in some request
2020-11-19 10:09:41 +01:00
Nextcloud bot
cf65cba574
[tx-robot] updated from transifex
2020-11-19 02:20:29 +00:00
Roeland Jago Douma
666ad85b63
Merge pull request #24171 from nextcloud/version/19.0.5/final
...
19.0.5
2020-11-18 20:15:47 +01:00
Maxence Lange
4d0a05f81f
circleId too short in some request
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-11-18 07:57:18 +00:00
Nextcloud bot
b19fb24178
[tx-robot] updated from transifex
2020-11-18 02:18:55 +00:00
Roeland Jago Douma
29f8e6df44
Merge pull request #24184 from nextcloud/revert-24177-backport/24098/stable19
...
Revert "[stable19] circleId too short in some request"
2020-11-17 21:53:27 +01:00
Christoph Wurst
751aa3f6b7
Revert "[stable19] circleId too short in some request"
2020-11-17 14:21:06 +01:00
Julius Härtl
a297523381
Check for target folder available quota when uploading
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-17 13:55:21 +01:00
Julius Härtl
4530877e5d
Fetch quota with files propfind
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-17 12:35:20 +00:00
Christoph Wurst
8a710c8837
Merge pull request #24177 from nextcloud/backport/24098/stable19
...
[stable19] circleId too short in some request
2020-11-17 13:32:20 +01:00
Maxence Lange
abb05a5b1f
circleId too short in some request
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-11-17 10:25:43 +00:00
Roeland Jago Douma
b57234acce
19.0.5
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-17 09:39:27 +01:00
Nextcloud bot
ec4a226342
[tx-robot] updated from transifex
2020-11-17 02:18:44 +00:00
Roeland Jago Douma
55e15f0221
Merge pull request #24092 from nextcloud/version/19.0.5/RC2
...
19.0.5 RC2
2020-11-16 19:43:50 +01:00
Roeland Jago Douma
47ee460f86
Merge pull request #24160 from nextcloud/backport/24069/stable19
...
[stable19] Fix default internal expiration date
2020-11-16 19:17:46 +01:00
Julius Härtl
8de8bd2326
Merge pull request #24076 from nextcloud/backport/23741/stable19
...
[stable19] Unlock when promoting to exclusive lock fails
2020-11-16 17:07:05 +01:00
Roeland Jago Douma
fd3db61cff
Merge pull request #24111 from J0WI/backport/23239/stable19
...
[stable19] Fix password visibility toggles
2020-11-16 16:03:33 +01:00
Daniel Calviño Sánchez
4e094b71b6
Add integration tests for creating shares with default expiration dates
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:20:19 +00:00
Daniel Calviño Sánchez
8832d15069
Reset app configs by deleting the values instead of setting the defaults
...
This avoids the need to keep the default values in the integration tests
in sync with the code, and also makes possible to reset values with
"dynamic" defaults (defaults that depend on other values).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:20:16 +00:00
Daniel Calviño Sánchez
a50132e4e1
Add unit tests for "validateExpirationDateInternal"
...
They were copied and adjusted as needed from the tests for
"validateExpirationDate".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:20:13 +00:00
Daniel Calviño Sánchez
dd70a20da0
Fix default internal expiration date
...
The default expiration date for internal shares was set from the default
link expiration date instead of the internal one.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:20:11 +00:00
Daniel Calviño Sánchez
ca133ea2cc
Add explicit time to test date for clarity
...
This shows in a clearer way that the expected expiration date is the
original one, but without time.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:20:08 +00:00
Daniel Calviño Sánchez
16b1b655cf
Add unit test for expiration date with date and with default
...
This adds back what was being actually tested in the unit test fixed in
the previous commit.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:20:05 +00:00
Daniel Calviño Sánchez
1aed476937
Fix unit test for expiration date without date but with default
...
The expiration date was explicitly given, so it was not testing what it
should. Moreover, "link_defaultExpDays" needs to be mapped when testing
the default value (even if it will just fallback to the value of
"shareapi_expire_after_n_days").
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:20:02 +00:00
Daniel Calviño Sánchez
2e0352182b
Fix unit test method name
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:59 +00:00
Daniel Calviño Sánchez
e13c5ece4f
Fix unit test for verifying enforced valid expiration date.
...
The enforced expiration date was not actually enabled, as for that
"shareapi_default_expire_date" needs to be explicitly set to "yes".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:56 +00:00
Daniel Calviño Sánchez
42782ceeba
Fix unit test for verifying enforced expire date too far in the future
...
The test should fail if no exception was thrown, and no exception was
thrown due to a missing configuration parameter. However, the use of
"addToAssertionCount(1)" made the test pass even if no exception was
thrown and, therefore, to silently fail.
Now the missing configuration parameter was added and the test will fail
if the expected exception is not thrown.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:53 +00:00
Daniel Calviño Sánchez
94648f1ecd
Add unit tests to enforce a relaxed default share expiration date
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:51 +00:00
Daniel Calviño Sánchez
24f067bdaf
Remove wrong and misleading comment
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:48 +00:00
Daniel Calviño Sánchez
9e84664f21
Remove extra spaces
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:45 +00:00
Daniel Calviño Sánchez
53e73dc46f
Fix typo in variable name
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:42 +00:00
Daniel Calviño Sánchez
bd431e2e59
Fix typos in method names
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-16 13:19:39 +00:00
J0WI
f819df132c
Fix password visibility toggles
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-16 12:36:40 +00:00
Roeland Jago Douma
67f58b9c5f
Merge pull request #24155 from nextcloud/dependencies/stable19/dompurify
...
[stable19] Bump dompurify to 2.2.2
2020-11-16 12:50:51 +01:00
Roeland Jago Douma
7057e05ff2
Merge pull request #24080 from nextcloud/backport/24066/stable19
...
[stable19] Fix default internal expiration date enforce
2020-11-16 12:22:02 +01:00
Roeland Jago Douma
20b3025022
Merge pull request #24115 from nextcloud/backport/24096/stable19
...
[stable19] Convert the card resource to a string if necessary
2020-11-16 12:15:15 +01:00