]>
source.dussan.org Git - nextcloud-server.git/log
Joas Schilling [Mon, 20 Mar 2017 09:02:05 +0000 (10:02 +0100)]
Don't use a generic exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
Roeland Jago Douma [Mon, 20 Mar 2017 09:23:30 +0000 (10:23 +0100)]
Merge pull request #3946 from nextcloud/downstream-27263
Fix public link download button (unit test only)
Morris Jobke [Mon, 20 Mar 2017 09:22:58 +0000 (03:22 -0600)]
Merge pull request #3952 from nextcloud/downstream-27209
Log files:scan exception, add InterruptedException
Morris Jobke [Mon, 20 Mar 2017 09:21:02 +0000 (03:21 -0600)]
Merge pull request #3949 from nextcloud/downstream-27307
Check if app exists before enabling
Lukas Reschke [Mon, 20 Mar 2017 09:20:13 +0000 (10:20 +0100)]
Update autoloader
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Morris Jobke [Mon, 20 Mar 2017 09:18:20 +0000 (03:18 -0600)]
Merge pull request #3954 from nextcloud/downstream-27392
Added logic and tests to remove everything inside a folder
Lukas Reschke [Mon, 20 Mar 2017 09:15:34 +0000 (10:15 +0100)]
Merge pull request #3940 from nextcloud/downstream-27048
Add postLogout hook to finish sessions from external session managers…
Lukas Reschke [Mon, 20 Mar 2017 09:13:57 +0000 (10:13 +0100)]
Add exception to PHPDoc
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Morris Jobke [Mon, 20 Mar 2017 08:47:32 +0000 (02:47 -0600)]
Improve the test case
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Morris Jobke [Mon, 20 Mar 2017 08:42:31 +0000 (02:42 -0600)]
Merge pull request #3943 from nextcloud/downstream-27318
Output maintenance mode message on STDERR
Vincent Petry [Mon, 27 Feb 2017 09:32:20 +0000 (10:32 +0100)]
Fix public link download button
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Vincent Petry [Fri, 10 Feb 2017 14:24:25 +0000 (15:24 +0100)]
Log files:scan exception, add InterruptedException
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Sergio Bertolin [Wed, 15 Mar 2017 14:31:48 +0000 (14:31 +0000)]
Added logic and tests to remove everything inside a folder
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Morris Jobke [Mon, 20 Mar 2017 07:53:28 +0000 (01:53 -0600)]
Merge pull request #3947 from nextcloud/downstream-27323
Disable empty password for user::resetpassword command using CLI
Morris Jobke [Mon, 20 Mar 2017 07:53:05 +0000 (01:53 -0600)]
Merge pull request #3941 from nextcloud/downstream-27254
HTTP 1.1 used when giving 403 and 404 errors while attempting to down…
Morris Jobke [Mon, 20 Mar 2017 07:51:20 +0000 (01:51 -0600)]
Merge pull request #3917 from michaelletzgus/html5-fix_dup-IDs
Fix duplicate id "apps-management"
Roeland Jago Douma [Mon, 20 Mar 2017 07:48:10 +0000 (08:48 +0100)]
Merge pull request #3931 from nextcloud/downstream-27295
Don't store empty groupids
Morris Jobke [Mon, 20 Mar 2017 07:35:17 +0000 (01:35 -0600)]
Merge pull request #3930 from nextcloud/downstream-27227
Added functions to add files in local_storage
Morris Jobke [Mon, 20 Mar 2017 07:34:49 +0000 (01:34 -0600)]
Merge pull request #3934 from nextcloud/downstream-27246
Update the occ:encrypt-all prompt
Morris Jobke [Mon, 20 Mar 2017 07:31:20 +0000 (01:31 -0600)]
Merge pull request #3935 from nextcloud/downstream-27293
log where a resource was not found
Christoph Wurst [Mon, 20 Mar 2017 07:31:01 +0000 (08:31 +0100)]
Merge pull request #3936 from nextcloud/downstream-27253
Add extensionpoint to sharedialogview
Morris Jobke [Mon, 20 Mar 2017 07:12:11 +0000 (01:12 -0600)]
Merge pull request #3942 from nextcloud/downstream-27264
Clear onpopstate handlers after unit tests
Morris Jobke [Mon, 20 Mar 2017 07:10:16 +0000 (01:10 -0600)]
Merge pull request #3933 from nextcloud/downstream-27258
Add percentage to user's quota info
Morris Jobke [Mon, 20 Mar 2017 07:09:39 +0000 (01:09 -0600)]
Merge pull request #3932 from nextcloud/downstream-27273
trigger event on input autofill
Morris Jobke [Mon, 20 Mar 2017 07:09:14 +0000 (01:09 -0600)]
Merge pull request #3938 from nextcloud/downstream-27201
Defining App "cron" for "Invalidating tokens older than" message
Christoph Wurst [Mon, 20 Mar 2017 07:07:12 +0000 (08:07 +0100)]
Merge pull request #3919 from michaelletzgus/layout-fix_avatar
Fix avatar and caret position
noveens [Wed, 8 Mar 2017 10:13:47 +0000 (15:43 +0530)]
checking if app exists in the FileStream now
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Sujith H [Tue, 7 Mar 2017 10:09:40 +0000 (15:39 +0530)]
Disable empty password for user::resetpassword command using CLI
Fixes issue: https://github.com/owncloud/core/issues/25206
Signed-off-by: Sujith H <sharidasan@owncloud.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Morris Jobke [Mon, 20 Mar 2017 05:20:24 +0000 (23:20 -0600)]
ownC -> Nextc
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
noveens [Mon, 6 Mar 2017 13:13:03 +0000 (18:43 +0530)]
maintenance warning printed on STDERR rather than STDOUT
redundant check removed
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Vincent Petry [Mon, 27 Feb 2017 09:06:53 +0000 (10:06 +0100)]
Clear onpopstate handlers after unit tests
Fixes issue when running Karma tests in Firefox.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
noveens [Fri, 24 Feb 2017 22:16:12 +0000 (03:46 +0530)]
HTTP 1.1 used when giving 403 and 404 errors while attempting to download non-existent file
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Felix Rupp [Mon, 6 Feb 2017 16:05:11 +0000 (17:05 +0100)]
Add postLogout hook to finish sessions from external session managers (#27048)
* Add postLogout hook to finish sessions from external session managers like CAS
* Add postLogout hook to finish sessions from external session managers like CAS
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Martin [Wed, 22 Feb 2017 16:24:27 +0000 (17:24 +0100)]
Defining App "cron" for "Invalidating tokens older than" message #27167 (#27201)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Felix Heidecke [Fri, 24 Feb 2017 14:45:47 +0000 (15:45 +0100)]
Add extensionpoint to sharedialogview
Write method overriding extension
Add a list of unknowns while inputting a search term
Rename OCA.Share extension point
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Jörn Friedrich Dreyer [Thu, 2 Mar 2017 09:50:54 +0000 (10:50 +0100)]
log where a resource was not found
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Sergio Bertolin [Wed, 1 Mar 2017 10:10:30 +0000 (10:10 +0000)]
Added functions to add files in local_storage
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
David Toledo [Mon, 27 Feb 2017 12:41:05 +0000 (13:41 +0100)]
Add percentage to user's quota info
* Add percentage to user's quota info
Fixes https://github.com/owncloud/core/issues/24011
* Do not show percentage if the quota is Unlimited
* translate quota
* correct condition and remove print_unescaped
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Morris Jobke [Mon, 20 Mar 2017 03:58:12 +0000 (21:58 -0600)]
ownC -> Nextc
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Matthew Setter [Fri, 24 Feb 2017 11:36:27 +0000 (12:36 +0100)]
Update the occ:encrypt-all prompt
The message isn't as clear, nor as succinct, as it could be.
Given that, this commit seeks to address both those points.
This commit was prompted by https://github.com/owncloud/documentation/pull/2835.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Jörn Friedrich Dreyer [Thu, 2 Mar 2017 13:17:20 +0000 (14:17 +0100)]
test setTagGroups with empty groupids
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Jörn Friedrich Dreyer [Thu, 2 Mar 2017 10:36:20 +0000 (11:36 +0100)]
don't store empty groupids
gives an exception on oracle and shouldn't be added in the first place
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Felix Heidecke [Mon, 27 Feb 2017 21:49:42 +0000 (22:49 +0100)]
trigger event on input autofill
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Nextcloud bot [Mon, 20 Mar 2017 01:07:43 +0000 (01:07 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Sun, 19 Mar 2017 22:29:50 +0000 (16:29 -0600)]
Merge pull request #3907 from nextcloud/port-more-db-stuff
Use SystemConfig instead of AllConfig for DB stuff
Morris Jobke [Fri, 17 Mar 2017 22:37:48 +0000 (16:37 -0600)]
Use SystemConfig instead of AllConfig for DB stuff
* preparation for followup PRs to clean up the DB bootstrapping
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Morris Jobke [Sun, 19 Mar 2017 21:49:38 +0000 (15:49 -0600)]
Merge pull request #3927 from nextcloud/minor-fixes
Namespace and array syntax fixes
Morris Jobke [Sun, 19 Mar 2017 20:52:54 +0000 (14:52 -0600)]
Namespace and array syntax fixes
* minor fixes in preparation of a bigger DB and config PR
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Roeland Jago Douma [Sun, 19 Mar 2017 19:45:55 +0000 (20:45 +0100)]
Merge pull request #3906 from nextcloud/shares-circles-2
Support Circles
Michael Letzgus [Sun, 19 Mar 2017 15:17:26 +0000 (16:17 +0100)]
Fix duplicate id "apps-management"
Change CSS from #apps-management to .apps-management
Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
Michael Letzgus [Sun, 19 Mar 2017 14:19:11 +0000 (15:19 +0100)]
Fix avatar and caret position
* Avatar image was not vertcially aligned
* The caret was below the avatar
* The surrounding <div> exceeded the title bar
Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
Roeland Jago Douma [Sun, 19 Mar 2017 13:08:34 +0000 (14:08 +0100)]
Merge pull request #3913 from cwickert/master
DummyGetResponsePlugin: ownCloud -> Nexcloud
Michael Letzgus [Sun, 19 Mar 2017 11:23:20 +0000 (12:23 +0100)]
Fix duplicate id "apps-management"
Make duplicate id "apps-management" a class since IDs must be unique:
https://www.w3.org/TR/2011/WD-html5-
20110525 /elements.html#the-id-attribute
https://api.jquery.com/id-selector/
Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
Nextcloud bot [Sun, 19 Mar 2017 01:08:20 +0000 (01:08 +0000)]
[tx-robot] updated from transifex
Christoph Wickert [Sat, 18 Mar 2017 11:59:25 +0000 (12:59 +0100)]
DummyGetResponsePlugin: ownCloud -> Nexcloud
Signed-off-by: Christoph Wickert <cwickert@suse.de>
Lukas Reschke [Sat, 18 Mar 2017 09:47:57 +0000 (10:47 +0100)]
Merge pull request #3899 from nextcloud/issue-3662-not-sending-is-an-error
Fail when the test mail could not be sent
Nextcloud bot [Sat, 18 Mar 2017 01:07:50 +0000 (01:07 +0000)]
[tx-robot] updated from transifex
Lukas Reschke [Fri, 17 Mar 2017 23:01:17 +0000 (00:01 +0100)]
Merge pull request #3898 from nextcloud/issue-3627-always-suggest-cli-url
Always suggest the overwrite.cli.url
Maxence Lange [Fri, 17 Mar 2017 19:48:33 +0000 (18:48 -0100)]
shares-circles
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
Morris Jobke [Fri, 17 Mar 2017 18:06:46 +0000 (12:06 -0600)]
Merge pull request #3904 from nextcloud/revert-3893-downstream-27069
Revert "Add integration test for trashbin"
Morris Jobke [Fri, 17 Mar 2017 18:06:16 +0000 (12:06 -0600)]
Revert "Add integration test for trashbin"
Morris Jobke [Fri, 17 Mar 2017 15:16:19 +0000 (09:16 -0600)]
Merge pull request #3887 from nextcloud/downstream-26379
Add CleanupRemoteStorages command
Joas Schilling [Fri, 17 Mar 2017 12:56:36 +0000 (13:56 +0100)]
Merge pull request #3892 from nextcloud/downstream-27101
Redirect unlink to rmdir
Joas Schilling [Fri, 17 Mar 2017 12:53:04 +0000 (13:53 +0100)]
Merge pull request #3881 from nextcloud/downstream-26842
Backbone Webdav Adapter MKCOL support
Joas Schilling [Fri, 17 Mar 2017 12:45:25 +0000 (13:45 +0100)]
Fail when the test mail could not be sent
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Fri, 17 Mar 2017 12:34:23 +0000 (13:34 +0100)]
Always suggest the overwrite.cli.url
Signed-off-by: Joas Schilling <coding@schilljs.com>
blizzz [Fri, 17 Mar 2017 10:33:50 +0000 (11:33 +0100)]
Merge pull request #3883 from nextcloud/downstream-26968
Ignore exception when deleting keys of deleted user
Joas Schilling [Fri, 17 Mar 2017 10:10:21 +0000 (11:10 +0100)]
Merge pull request #3878 from nextcloud/downstream-26303
Fixed failing test which was ignoring a required (not null) column
Joas Schilling [Fri, 17 Mar 2017 09:59:53 +0000 (10:59 +0100)]
Cleanup test
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Fri, 17 Mar 2017 09:39:08 +0000 (10:39 +0100)]
Fix unit test
Signed-off-by: Joas Schilling <coding@schilljs.com>
Roeland Jago Douma [Fri, 17 Mar 2017 09:10:00 +0000 (10:10 +0100)]
Merge pull request #3893 from nextcloud/downstream-27069
Add integration test for trashbin
Joas Schilling [Fri, 17 Mar 2017 09:06:58 +0000 (10:06 +0100)]
Merge pull request #3885 from nextcloud/downstream-26529
Skip FailedStorage in background scan
Joas Schilling [Fri, 17 Mar 2017 09:05:25 +0000 (10:05 +0100)]
Merge pull request #3886 from nextcloud/downstream-26995
Chunking NG: Assemble in natural sort order of files
Joas Schilling [Fri, 17 Mar 2017 08:59:56 +0000 (09:59 +0100)]
Safer queries
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Fri, 17 Mar 2017 08:59:25 +0000 (09:59 +0100)]
Better output
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Fri, 17 Mar 2017 08:17:36 +0000 (09:17 +0100)]
Merge pull request #3894 from nextcloud/downstream-27008
Integration test check download without saving file locally
Roeland Jago Douma [Fri, 17 Mar 2017 07:53:10 +0000 (08:53 +0100)]
Merge pull request #3856 from nextcloud/escape-likes-in-database-user-backend
Escape like parameters in database user backend
Roeland Jago Douma [Fri, 17 Mar 2017 07:39:02 +0000 (08:39 +0100)]
Merge pull request #3870 from nextcloud/add-base-uri-to-csp-policy
Add base-uri to CSP policy
Roeland Jago Douma [Fri, 17 Mar 2017 07:31:12 +0000 (08:31 +0100)]
Merge pull request #3874 from nextcloud/harden-js-by-disabling-eval-execution
Harden JS by disabling jQuery eval
Roeland Jago Douma [Fri, 17 Mar 2017 07:30:07 +0000 (08:30 +0100)]
Merge pull request #3875 from nextcloud/use-new-short-urls
Use cleaner social media URLs
Jörn Friedrich Dreyer [Wed, 12 Oct 2016 10:59:13 +0000 (12:59 +0200)]
Add CleanupRemoteStorages command
cleanup files, address review
Fix CleanupRemoteStoragesTest tests
Fix test expectation.
Added files count to check filecache deletion.
Sort by numeric id for deterministic test results
Removed precise order test and added storage check
Remove inaccurate removal message check which has a different order on
Oracle.
Added more checks to confirm that existing storages still exist.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Philipp Schaffrath [Tue, 10 Jan 2017 11:10:36 +0000 (12:10 +0100)]
Fixed failing test which was ignoring a required (not null) column (#26303)
* Fixed failing test which was ignoring a required (not null) column
* restored test to original, catching DriverException which also catches ConstraintViolationException
* catch ConstraintViolationException again
* removed unnecessary field from this test
* clobfield should be nullable
* clobfield now is nullable
* removed autoincrement since whenever this strategy is enabled, oracle would not throw constraint violation exceptions (needed for setValues), which mysql still does
* this field does not auto increment anymore
* mark integerfield as primary, since it is not getting marked as such through auto increment anymore,
integerfield default always has been 0 instead of null
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Vincent Petry [Thu, 15 Dec 2016 14:11:56 +0000 (15:11 +0100)]
Backbone Webdav Adapter MKCOL support
Usually Backbone collections cannot be created and just simply exists.
But in the Webdav world they need to be creatable.
This enhancement makes it possible to use a Backbone Model to represent
such collections and when creating it, it will use MKCOL instead of PUT.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Vincent Petry [Wed, 18 Jan 2017 16:42:07 +0000 (17:42 +0100)]
Ignore exception when deleting keys of deleted user
Whenever a user was deleted for encryption where the keys are stored in
the home, we can ignore user existence exceptions because it means the
keys are already gone.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Vincent Petry [Wed, 2 Nov 2016 17:04:17 +0000 (18:04 +0100)]
Skip FailedStorage in background scan
The background job that scans storages must skip failed storages to
avoid potential exceptions, especially when the failed storage comes
from a shared storage where the source is not accessible.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Markus Goetz [Fri, 20 Jan 2017 16:46:04 +0000 (17:46 +0100)]
Chunking NG: Assemble in natural sort order of files
For https://github.com/owncloud/client/pull/5476
Before this, the assembly could be bogusly in the order 0,1,10,11,2,3 etc.
As per the spec "The name of every chunk should be its chunk number."
https://github.com/cernbox/smashbox/blob/master/protocol/chunking.md
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Vincent Petry [Tue, 24 Jan 2017 06:32:47 +0000 (07:32 +0100)]
Integration test check download without saving file locally
Use Guzzle stream mode to download the contents instead of using a
temporary local file.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Morris Jobke [Fri, 17 Mar 2017 05:54:13 +0000 (23:54 -0600)]
Add drone.yml config
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Vincent Petry [Wed, 1 Feb 2017 09:54:10 +0000 (10:54 +0100)]
Add integration test for trashbin
Add test for basic deletion.
Add test when deleting from shared folder as recipient.
Add test to check that metadata stays when moving out of shared folder
as recipient.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Vincent Petry [Wed, 8 Feb 2017 14:56:34 +0000 (15:56 +0100)]
Redirect unlink to rmdir (#27101)
Many API callers will call unlink even for directories and it can mess
up with some wrappers like the encryption wrapper
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Morris Jobke [Fri, 17 Mar 2017 05:00:55 +0000 (23:00 -0600)]
Merge pull request #2824 from nextcloud/ext-storage-expireversions
Properly expire ext storage versions (#26601)
Morris Jobke [Fri, 17 Mar 2017 04:51:31 +0000 (22:51 -0600)]
Merge pull request #3619 from nextcloud/fix-scss-for-apps
Fix SCSS usage in apps
Nextcloud bot [Fri, 17 Mar 2017 01:07:41 +0000 (01:07 +0000)]
[tx-robot] updated from transifex
Lukas Reschke [Thu, 16 Mar 2017 22:45:49 +0000 (23:45 +0100)]
Use cleaner social media URLs
We now have nice cleaner URLs since a longer time, let's use them.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Lukas Reschke [Thu, 16 Mar 2017 22:08:47 +0000 (23:08 +0100)]
Merge pull request #3679 from nextcloud/socialsharing
Add social sharing
Lukas Reschke [Thu, 16 Mar 2017 22:03:02 +0000 (23:03 +0100)]
Harden JS by disabling jQuery eval
Disable execution of eval in jQuery. We do require an allowed eval CSP
configuration at the moment for handlebars et al. But for jQuery there is
not much of a reason to execute JavaScript directly via eval.
This thus mitigates some unexpected XSS vectors. As example try to insert
`$('.fileinfo').html('<a href="asd"><script>alert(1)</script></a>');`
with and without this patch in your browsers JS console when the file list
is opened.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Lukas Reschke [Thu, 16 Mar 2017 21:05:47 +0000 (22:05 +0100)]
Merge pull request #3862 from nextcloud/dont-set-the-status-twice
Don't set the HTTP status twice
Lukas Reschke [Thu, 16 Mar 2017 20:59:47 +0000 (21:59 +0100)]
Don't call function in constructor
The constructor is iniitiated already very early in base.php, thus requiring this here will break the setup and some more. For now we probably have to live with a static function call here thus.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Lukas Reschke [Thu, 16 Mar 2017 19:51:40 +0000 (20:51 +0100)]
Adjust integration test
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Morris Jobke [Thu, 16 Mar 2017 19:03:41 +0000 (13:03 -0600)]
Merge pull request #3008 from nextcloud/appmenu-experiment
Show apps in header