Commit Graph

14175 Commits

Author SHA1 Message Date
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
Nextcloud bot 79d31198c9
[tx-robot] updated from transifex 2016-09-14 00:10:39 +00:00
Morris Jobke 9ca848c317
Opening the trashbin causes errors in log for files without preview
* put a file without a generated preview in the trashbin
  (e.g. a *.docx file)
* open the trashbin
* following errors will show up in the nextcloud.log:
	- filesize(): stat failed for ...
	- fopen(...): failed to open stream: No such file or directory at ...
	- fread() expects parameter 1 to be resource, boolean given at ...
	- fclose() expects parameter 1 to be resource, boolean given at ...
	- imagecreatefromstring(): Empty string or invalid image at ...

This is because the preview code tries to load an SVG image, which
is obviously only text.

The fix simply handles this before the loading happens and the web UI
keeps showing the default mimetype icon.
2016-09-13 20:18:09 +02:00
Roeland Jago Douma 14ea159670 Merge pull request #1391 from nextcloud/stable10-backport-1376
[stable10] Allow increasing permissions for share owner
2016-09-13 15:43:24 +02:00
Morris Jobke d7faff0b0d Merge pull request #1367 from nextcloud/trash-detect-correct-mimetype-stable10
[stable10] deleted files, fix mimetype detection
2016-09-13 11:50:26 +02:00
Vincent Petry 4c177ce6af
Allow increasing permissions for share owner
In some cases, the owner of the share is also recipient through a group
share. The owner must still be able to increase permissions in that
situation.
2016-09-13 11:39:22 +02:00
Nextcloud bot 7c3934d3e6
[tx-robot] updated from transifex 2016-09-13 00:11:26 +00:00
Bjoern Schiessle a6b661bd68
detect the correct mimetype of the files in the trashbin, therefore we have to check the filename without the appended timestamp 2016-09-12 11:47:57 +02:00
Nextcloud bot 3d0a7c49cc
[tx-robot] updated from transifex 2016-09-12 00:09:41 +00:00
Nextcloud bot 37d6cf6f6c
[tx-robot] updated from transifex 2016-09-11 00:09:20 +00:00
Nextcloud bot 3ba03a69fd
[tx-robot] updated from transifex 2016-09-10 00:09:25 +00: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
Nextcloud bot de921ccd98
[tx-robot] updated from transifex 2016-09-09 00:09:38 +00:00
Morris Jobke 520bfa872b Merge pull request #1324 from nextcloud/backport-1323-show-download-button-for-updates-atm
[stable10] Show an download button instead of the updater
2016-09-08 15:41:45 +02:00
Morris Jobke 8e5b2ce3b3 Merge pull request #1316 from nextcloud/backport-1311-add-docs-for-workflows
[stable10] Add a docs link when given
2016-09-08 14:08:52 +02:00
Roeland Jago Douma cfcadaea36 Merge pull request #1319 from nextcloud/backport-1243-fix-detection-of-file-types-a-bit
[stable10] Fix detection of file types a bit
2016-09-08 13:45:23 +02:00
Joas Schilling a44c1c748c
Fix tests 2016-09-08 11:14:17 +02:00
Joas Schilling 292b95462e
Show an update button instead of the updater 2016-09-08 11:02:10 +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 5996983e28
Make mimetype also work for READ and DELETE operations 2016-09-08 09:21:26 +02:00
Joas Schilling d3a1fbd9eb
Better detection of mimetypes while uploading a zip on a mac 2016-09-08 09:21:00 +02:00
Joas Schilling 9de17c3785
Add a docs link when given 2016-09-08 08:57:54 +02:00
Nextcloud bot 8c4e5a923a
[tx-robot] updated from transifex 2016-09-08 00:10:28 +00:00
Morris Jobke 86bbea9b8c
Fix layout of success message and text 2016-09-07 19:08:25 +02:00
Felix Epp a28f000610
Add icon for the theming app 2016-09-07 08:34:01 +02:00
Nextcloud bot 9bd40755ef
[tx-robot] updated from transifex 2016-09-07 00:09:32 +00:00
Joas Schilling 9ac95be358
No background and logo in 10 2016-09-06 11:22:01 +02:00
Joas Schilling b626f710c1
php 5.4 and 5.5 compatibility 2016-09-06 11:19:08 +02:00
Joas Schilling ebaa49f76d
Add image URLs and tests 2016-09-06 11:10:27 +02:00
Joas Schilling 9f98cfceb4
Add theming information to capabilities for the client 2016-09-06 11:10:15 +02:00
Nextcloud bot e9d0520788
[tx-robot] updated from transifex 2016-09-06 00:09:25 +00:00
Nextcloud bot 1193d8d1b4
[tx-robot] updated from transifex 2016-09-05 00:09:16 +00:00
Nextcloud bot c5f2917e1a
[tx-robot] updated from transifex 2016-09-04 00:09:28 +00:00
Nextcloud bot d928d47fb6
[tx-robot] updated from transifex 2016-09-03 00:09:30 +00:00
Nextcloud bot 4849538c70
[tx-robot] updated from transifex 2016-09-02 00:09:17 +00:00
Joas Schilling c3ae21fef2
Also prevent null byte character 2016-09-01 12:45:31 +02:00
Joas Schilling ed0f0db5fa
Filter out %0A from paths 2016-09-01 12:45:19 +02:00
Nextcloud bot e6c8c33b03
[tx-robot] updated from transifex 2016-09-01 00:09:31 +00:00
Roeland Jago Douma 62c89213f4 Merge pull request #1181 from nextcloud/backport-870-oracle-support
[stable10] Fix oracle support of external storage app
2016-08-31 15:15:07 +02:00
Roeland Jago Douma 5fae9e2bbe Merge pull request #1207 from nextcloud/backport-1190-addressbook-correctly-handle-multi-values
[stable10] Correctly handle multi-values when converting VCards to array
2016-08-31 15:08:18 +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
Vincent Petry 6d1ccefc90
Added closeCursor in SharedMount numeric id 2016-08-30 19:47:16 +02:00
Vincent Petry c4f303d19c
Prevent error with orphaned shares when updating user mount cache 2016-08-30 19:45:22 +02:00
Lukas Reschke fe3e7629e2 Merge pull request #1191 from nextcloud/stable10-share-allowspaceinremote
[stable10] Allow space for federated share id search
2016-08-30 15:37:07 +02:00
Vincent Petry 102d4dc1af
Allow space for federated share id search 2016-08-30 12:57:23 +02:00
Julius Haertl 6ce976e7f0
Theming: Show loading spinner while uploading files 2016-08-30 10:28:57 +02:00
Joas Schilling b4a2f93ec8
Fix oracle support of external storage app 2016-08-30 10:08:49 +02:00
Morris Jobke f4d4e3f55f Merge pull request #1179 from nextcloud/stable10_us_25675
[stable10] Added integration test (#25675)
2016-08-30 09:48:17 +02:00
Lukas Reschke 351d01510d Merge pull request #1176 from nextcloud/backport-1145-10
[stable10] DAV: Return data-fingerprint always when asked
2016-08-30 08:41:45 +02:00
Thomas Müller bc3c4ebd2d
[stable9.1] Added integration test (#25675)
* [stable9.1] Added integration test

* A shared storage is never a home storage - fixes #25582
2016-08-30 08:32:12 +02:00
blizzz 7e2c4b80d2 Merge pull request #1140 from nextcloud/backport-1132-prevent-parse-error-on-editing-an-html-comment
[stable10] Prevent parse error on editing an HTML comment
2016-08-30 00:14:34 +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
Lukas Reschke dbc860e6f7 Merge pull request #1159 from nextcloud/stable9.1-27a5be96f108d4ab2b91bcd765433e1646ba9bf2
[9.1] Before a user is getting scanned the database connection is re-…
2016-08-29 21:39:55 +02:00
Lukas Reschke 0a1b1d57a7 Merge pull request #1157 from nextcloud/stable9.1-init-filesconfig
Make sure file list files config always exists
2016-08-29 21:39:44 +02:00
Vincent Petry db420e54a1
[9.1] Before a user is getting scanned the database connection is re-establ… 2016-08-29 15:22:29 +02:00
Vincent Petry 006e9e8b42
Make sure file list files config always exists
Initialize files config with defaults in case none was passed
2016-08-29 15:20:48 +02:00
Joas Schilling 42425bb910
Prevent parse error on editing an HTML comment 2016-08-29 14:26:40 +02:00
Lukas Reschke 49da5267a9
Use temporary file as cache 2016-08-29 12:19:02 +02:00
Lukas Reschke d4d90a0b84
Increase theming performance
1. Set proper caching headers (`Pragma: cache`)
2. Resize image proportionally to a max size of 1920px
3. Store images with progressive mode

This resizes a previous 2.8 MB picture to 300kb and makes it rendering going down from 11 seconds to less than 1 here. And future requests won't have to download the file newly.
2016-08-29 12:18:57 +02:00
Lukas Reschke 25ed51743a Merge pull request #902 from nextcloud/stable10-787
[stable10] Files external settings polish
2016-08-26 14:58:46 +02:00
Roeland Jago Douma b59f5fc725
Require a ThemingDefaults class again 2016-08-24 13:25:26 +02:00
Roeland Jago Douma 4528bdabe7
Do not error on NotFoundException
Since this exception can be thrown when a shared file is in the
trashbin there is no need to spam the log like crazy.

Fixes #938
2016-08-24 08:17:28 +02:00
Lukas Reschke 2ca5186c94 Merge pull request #993 from nextcloud/stable10-965
[stable10] Fix hidden files handling
2016-08-23 22:16:17 +02:00
Lukas Reschke 805fc22276 Merge pull request #1008 from nextcloud/shared-storage-non-recursive-10
[10] Fix shared storage recursive setup
2016-08-23 22:15:21 +02:00
Robin Appelman fa980af53c prevent infinite recursion while getting storage from mount 2016-08-23 13:59:01 +02:00
Roeland Jago Douma d2718b38ff
Backport of Do not error on maxUploadChange #1005 to stable10
Do not error on maxUploadChange

The new admin page broke the updating of the max upload size. This is
due to very old code there.

* Now update is done in the background using js
* Added proper route+controller to update

Fixes #994

put file handling into a section again
2016-08-23 11:39:44 +02:00
Lukas Reschke f4bb803564 Merge pull request #1009 from nextcloud/backport-995
[stable10] Backport Workflow section + hidden empty sections #995 to stabble10
2016-08-23 11:20:13 +02:00
Roeland Jago Douma 53a3ec2f18
When requesting a permalink to an invalid file redirect
We need to do the redirect to update address bar.
2016-08-23 08:15:05 +02:00
Roeland Jago Douma ac9f75e1d9
When using permalinks don't error out if file id can't be found
Fixes #952

* Use only the index route (since it went to showFile anyways)
* Fix tests
* Use getUserFolder to force init of users mounts
2016-08-23 08:15:00 +02:00
Arthur Schiwon ff2f5ecbf7
Backport Workflow section + hidden empty sections #995 to stabble10
add section to worklfowengine

enlist only registered sections that also have settings registered to

adjust test

Move admin settings to workflow section

fix wrong var name

Save the container with the app's namespace so we can resolve it
2016-08-22 16:37:48 +02:00
Roeland Jago Douma e9e54f057a Merge pull request #1010 from nextcloud/backport-1006
[stable10] fixes registering of theming settings where server return OC_Defaults
2016-08-22 15:08:56 +02:00
Arthur Schiwon 0f3513afff
fixes registering of theming settings where server return OC_Defaults instead of ThemingDefaults 2016-08-22 13:24:08 +02:00
Robin Appelman 58b810a547 handle failed shares 2016-08-22 12:41:16 +02:00
Robin Appelman f4e89c15bf Lazy init shared storage 2016-08-22 12:41:12 +02:00
Robin Appelman 89d4684ef1 reuse existing root id 2016-08-22 12:41:08 +02:00
Joas Schilling 4377d99662
Validate the operation 2016-08-22 09:03:47 +02:00
Joas Schilling 85813c42f9
System tags are not sharing but workflow 2016-08-22 09:01:00 +02:00
Vincent Petry a1f1d2c9e8 Fix hidden files handling
Hidden files (dot files) are now always rendered in the DOM to make
sure that all file operations and selection still work as expected.

Their visibility is now toggled on CSS level.
2016-08-20 18:48:29 +02:00
Morris Jobke 418eec83e0
use simple bell as update notification icon 2016-08-19 14:00:18 +02:00
Morris Jobke 71fa7a20af
Change federation icon to the share icon 2016-08-19 13:53:14 +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
Robin Appelman e286e0492a fix error when not logged in 2016-08-18 23:37:34 +02:00
Robin Appelman bead6c9307 change remote cloud naming to Nextcloud 2016-08-18 23:37:16 +02:00
Robin Appelman 42f14ab5a9 dont register personal files_external setting if it's empty 2016-08-18 23:37:04 +02:00
Morris Jobke 0f926e03bd Merge pull request #926 from nextcloud/backport-925-use-util-methods
[stable10] Load the Template class in case it's not loaded
2016-08-18 16:38:55 +02:00
Lukas Reschke e014ec548d
Add cachebuster to apps.css 2016-08-18 12:46:07 +02:00
Lukas Reschke 3ac524c420 Merge pull request #904 from nextcloud/backport-903-allow-disable-comments
[stable10] Revert "Always add activities for comments to the stream"
2016-08-18 12:06:11 +02:00
Joas Schilling 93a3b7bb18
Load the Template class in case it's not loaded 2016-08-18 12:01:59 +02:00
Morris Jobke 6d43860457
add viewBox to app icon for proper scaling in Firefox 2016-08-17 18:39:50 +02:00
Roeland Jago Douma a3c5aefc96
Add viewBox to app icons
If we don't add a viewbox a lot of browsers will just say NOPE!!! when
we ask them to scale.
2016-08-17 16:27:04 +02:00
Nextcloud bot 4470ab36bb
[tx-robot] updated from transifex 2016-08-17 13:32:21 +00:00
Joas Schilling f900861485
Revert "Always add activities for comments to the stream"
This reverts commit 48c41b888c
2016-08-17 13:33:53 +02:00
Morris Jobke 263c73c685 Fix casing of external storage app 2016-08-17 13:22:28 +02:00
Morris Jobke 8ffbe757d2 layout refinements 2016-08-17 13:22:17 +02:00
Robin Appelman cc422e556b hide files external in personal settings if it's empty 2016-08-17 13:22:09 +02:00