Commit graph

575 commits

Author SHA1 Message Date
Joas Schilling
7bdd16261d
Make sure transparency is an integer when saving a calendar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-30 18:03:20 +02:00
Lukas Reschke
f123f925da
Add integration tests for legacy DAV endpoints
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-10 16:20:33 +01:00
Joas Schilling
8b9f0ac56e
Fix detection of the new iOS app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-02-10 10:18:33 +01:00
Roeland Jago Douma
1b0155cef2 Merge pull request #2462 from nextcloud/stable10-1513
[stable10] Return ETag and OC-ETag in case of a move (#25683)
2016-12-16 08:16:50 +01:00
Lukas Reschke
f823024416
Add test execution against legacy DAV backend
Since the tests to quite hugely rely on sync tokens being present I also included those in the legacy backend.
2016-12-15 02:42:40 +01:00
Thomas Müller
5f0625ff54
Return ETag and OC-ETag in case of a move (#25683)
Downstreaming of https://github.com/owncloud/core/pull/25683

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-02 01:29:35 +01:00
Thomas Citharel
1700224b62
fix typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2016-12-02 00:36:57 +01:00
Vincent Petry
db8b66c546
Hack to prevent warning for read-only wrapper in public links
Storage wrappers should normally always be registered inside a presetup
hook. However in the public link scenario this is not possible and
there is currently no good alternative with the current architecture.

Instead of logging a warning every time, this fix prevents the warning
to be shown but also adds a FIXME in the code for the future. This is
ok because this app is already using private/internal APIs at the
moment and should be reworked properly in the future.
2016-11-17 17:00:49 +01:00
Joas Schilling
1a104df189
Make sure we only use numbers as length
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-19 11:41:37 +02:00
Joas Schilling
b4ef49744b Merge pull request #1717 from nextcloud/stable10-backport-1580
[stable10] Unset user PHOTO before setting new one in OCA\DAV\CardDAV\Converter:…
2016-10-12 13:13:35 +02:00
Olivier Mehani
99f7315ed5
Unset user PHOTO before setting new one in OCA\DAV\CardDAV\Converter::updateCard (#26243)
Signed-off-by: Olivier Mehani <shtrom@ssji.net>

#26242
2016-10-12 10:49:06 +02:00
Claudemir Todo Bom
5d55162ee5
fix issue #1482 - mail invites through v1 webdav
Signed-off-by: Claudemir Todo Bom <claudemir@todobom.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-12 10:13:13 +02:00
Joas Schilling
e811dea771
Fix SyncJob class name in info.xml
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-06 10:59:03 +02:00
Joas Schilling
884e538575
Close cursors 2016-09-29 14:33:56 +02:00
Joas Schilling
5b8c7768b1
Chunk if you have too many contacts 2016-09-29 14:33:44 +02:00
Joas Schilling
33c39f7b27
Chunk if you have too many events 2016-09-29 14:33:31 +02:00
Joas Schilling
db24cdcd92
Increase the max length for components 2016-09-27 17:07:43 +02:00
Lukas Reschke
8ff4d95ae8
Move Travis tests to DroneCI
Should give us some quicker test execution speed as we're not limited by Travis

Explicitly invoke with "bash"

Install instance already

Use newest litmus container
2016-09-14 08:19:12 +02:00
Roeland Jago Douma
70231dcccf Merge pull request #1343 from nextcloud/stable10-throw-exceptions-not-printable
[stable10] Don't print exception message in HTML
2016-09-09 15:23:55 +02:00
Lukas Reschke
7350e13113
Don't print exception message in HTML
The exception message is potentially influenced by user input and could thus be confusing (e.g. somebody could try to open a file like "Please send a mail to support@foo.com", and then the message would include that string.

It is thus reasonable to not show the exception message by default. Also for the browser view I added an `exit()` at the end, as otherwise the XML exception would be attached.
2016-09-09 14:16:17 +02:00
Lukas Reschke
68ab8325c7
Filter more mimetypes
There's no need to allow more than those defined mimetypes for images.
2016-09-09 12:36:28 +02:00
Joas Schilling
2e407732ba
Fix tests 2016-09-08 09:33:10 +02:00
Joas Schilling
42b9eed5dc
UPDATE permissions qualify for renaming a node 2016-09-08 09:33:01 +02:00
Joas Schilling
14299e44e2
Only require CREATE permissions when the file does not exist yet 2016-09-08 09:32:51 +02:00
Joas Schilling
1c61e749ab
Add a unit test for all the magic 2016-08-31 12:07:19 +02:00
Joas Schilling
25e9d67d52
Correctly handle multi-values when converting VCards to array 2016-08-31 12:07:10 +02:00
Markus Goetz
4685ca9154
[master] DAV: Return data-fingerprint always when asked (#25482)
For owncloud/client#5056
Users can configure arbitrary subfolders for syncing, therefore we should
always return it when asked for.
The sync client makes sure to not always ask for it to save bandwidth.
2016-08-29 23:59:57 +02:00
Thomas Müller
0298760c1b
Move over to new CalDAVTester repo (#25859)
* Move over to new caldac tester repo

* no run.py anymore
2016-08-19 10:19:58 +02:00
Joas Schilling
7b3974501e
Increment the versions and adjust the capitilization 2016-08-08 16:48:00 +02:00
Bernhard Posselt
5e24c6b5fd fix #724 by using step instead of job 2016-08-04 14:52:38 +02:00
Thomas Müller
f944a8861a
Adding quota plugin to new dav endpoint (#25615)
* Adding quota plugin to new dav endpoint

* Added integrated test failing in old endpoint

* Added 0B quota test
2016-07-29 12:31:56 +02:00
Robin Appelman
76b2cffb08 add dav property to check if a file has a preview available 2016-07-27 16:37:56 +02:00
Joas Schilling
23b205ed48
Run the license script 2016-07-22 11:40:41 +02:00
Joas Schilling
f4fbdbabee
Change the app name 2016-07-22 09:24:59 +02:00
Lukas Reschke
c385423d10 Merge pull request #479 from nextcloud/add-bruteforce-throttler
Implement brute force protection
2016-07-21 00:31:02 +02:00
Lukas Reschke
ba4f12baa0
Implement brute force protection
Class Throttler implements the bruteforce protection for security actions in
Nextcloud.

It is working by logging invalid login attempts to the database and slowing
down all login attempts from the same subnet. The max delay is 30 seconds and
the starting delay are 200 milliseconds. (after the first failed login)
2016-07-20 22:08:56 +02:00
Lukas Reschke
a17ba2f488 Merge pull request #466 from nextcloud/escape-special-characters
Escape special characters (#25429)
2016-07-20 21:24:19 +02:00
Roeland Douma
26cf51403e Merge pull request #464 from nextcloud/master-change-load-order
[master] Change load order of auth backends so that we can throw an exception …
2016-07-20 20:08:22 +02:00
Vincent Petry
e5c4f53eea
Cast share id to string (#25402) 2016-07-20 15:10:10 +02:00
Aaron Wood
7c0de08cc4
Escape special characters (#25429)
* Escape LIKE parameter

* Escape LIKE parameter

* Escape LIKE parameter

* Escape LIKE parameter

* Escape LIKE parameter

* Use correct method in the AbstractMapping class

* Change the getNamesBySearch method so that input can be properly escaped while still supporting matches

* Don't escape hardcoded wildcard
2016-07-20 14:46:47 +02:00
Thomas Müller
e795f7b106
Change load order of auth backends so that we can throw an exception in OCA\DAV\Connector\Sabre\Auth - fixes #25362 (#25476) 2016-07-20 14:40:52 +02:00
Morris Jobke
0a6d95b126 Merge pull request #394 from nextcloud/tags-for-everything
SystemTags for everything not just files
2016-07-19 10:47:12 +02:00
Björn Schießle
ea470f8777 Merge pull request #405 from nextcloud/theming-fixes
Theming fixes
2016-07-18 15:59:47 +02:00
Joas Schilling
54708f97a1
Fix non-existing exception class 2016-07-18 10:26:42 +02:00
Joas Schilling
7c039bcbf6
Allow apps to register SystemTags plugins 2016-07-18 10:26:42 +02:00
Joas Schilling
c2b077e185
Fix doc blocks 2016-07-18 10:26:42 +02:00
Joas Schilling
8e13ff2c86
Fix TODO and bring in abstraction (similar to comments) 2016-07-18 10:26:36 +02:00
Morris Jobke
40328114f9 Merge pull request #379 from nextcloud/create_federated_share_on_mount
Create federated share on mount
2016-07-18 09:22:48 +02:00
Morris Jobke
ab6db739fa Merge pull request #407 from nextcloud/dav_phpunit_fixes
Fix PHPUnit 5.4 warnings in DAV app
2016-07-15 11:14:15 +02:00
Roeland Jago Douma
2fcb24166f
Fix PHPUnit 5.4 warnings in DAV app
* getMock is deprecated
2016-07-15 09:52:46 +02:00