]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
8 years agoMerge pull request #21957 from owncloud/share2_to_ocp
Morris Jobke [Thu, 28 Jan 2016 09:41:39 +0000 (10:41 +0100)]
Merge pull request #21957 from owncloud/share2_to_ocp

[Share 2.0] Move interfaces to OCP

8 years ago[Share 2.0] Remove setId and setProviderId from the interface
Roeland Jago Douma [Wed, 27 Jan 2016 21:34:27 +0000 (22:34 +0100)]
[Share 2.0] Remove setId and setProviderId from the interface

Those should only ever be set by the providers

8 years ago[Share 2.0] Fix interfaces and comments
Roeland Jago Douma [Wed, 27 Jan 2016 19:51:26 +0000 (20:51 +0100)]
[Share 2.0] Fix interfaces and comments

* Made comments more clear
* Removed unneeded methods
* IShares shareTime is now a proper DateTime object
* IShares getPath -> getNode & setPath -> setNode
* Fix unit tests

8 years ago[Share 2.0] Add getShareManager to OCP\IServerContainer
Roeland Jago Douma [Wed, 27 Jan 2016 13:48:52 +0000 (14:48 +0100)]
[Share 2.0] Add getShareManager to OCP\IServerContainer

8 years ago[Share 2.0] Create IManger interface for share manager
Roeland Jago Douma [Wed, 27 Jan 2016 11:31:10 +0000 (12:31 +0100)]
[Share 2.0] Create IManger interface for share manager

8 years ago[Share 2.0] Move IShare to OCP
Roeland Jago Douma [Wed, 27 Jan 2016 11:13:53 +0000 (12:13 +0100)]
[Share 2.0] Move IShare to OCP

8 years ago[Share 2.0] Fix IShare
Roeland Jago Douma [Wed, 27 Jan 2016 10:50:49 +0000 (11:50 +0100)]
[Share 2.0] Fix IShare

8 years agoMerge pull request #21963 from owncloud/fix-installer
Thomas Müller [Wed, 27 Jan 2016 19:25:51 +0000 (20:25 +0100)]
Merge pull request #21963 from owncloud/fix-installer

Check whether ownCloud is installed

8 years agoMerge pull request #21959 from owncloud/cache-interface-clean
Thomas Müller [Wed, 27 Jan 2016 18:33:35 +0000 (19:33 +0100)]
Merge pull request #21959 from owncloud/cache-interface-clean

clean cache interface

8 years agoMerge pull request #21895 from owncloud/calendar-sharing
Thomas Müller [Wed, 27 Jan 2016 18:32:05 +0000 (19:32 +0100)]
Merge pull request #21895 from owncloud/calendar-sharing

Migrate from CardDAV sharing to more general DAV sharing

8 years agoCheck whether ownCloud is installed
Lukas Reschke [Wed, 27 Jan 2016 14:54:57 +0000 (15:54 +0100)]
Check whether ownCloud is installed

ownCloud might not yet be setup. This causes an issue as the user config requires a setup ownCloud. Thus this needs a block whether ownCloud is installed or not.

Fixes https://github.com/owncloud/core/issues/21955

8 years agoMerge pull request #21923 from owncloud/fix-errors-after-install
Thomas Müller [Wed, 27 Jan 2016 15:16:31 +0000 (16:16 +0100)]
Merge pull request #21923 from owncloud/fix-errors-after-install

Fix errors after install

8 years agoMerge pull request #21940 from owncloud/share2_do_not_returned_removed_group_shares
Thomas Müller [Wed, 27 Jan 2016 15:16:06 +0000 (16:16 +0100)]
Merge pull request #21940 from owncloud/share2_do_not_returned_removed_group_shares

[Share 2.0] Properly handle user deleted group shares

8 years agoMerge pull request #21950 from owncloud/ignore-gd-jped-warnings
Thomas Müller [Wed, 27 Jan 2016 15:15:38 +0000 (16:15 +0100)]
Merge pull request #21950 from owncloud/ignore-gd-jped-warnings

Ignore GD JPEG warnings

8 years agoclean cache interface
Robin Appelman [Wed, 27 Jan 2016 14:51:39 +0000 (15:51 +0100)]
clean cache interface

8 years agoIgnore GD JPEG warnings
Lukas Reschke [Wed, 27 Jan 2016 12:59:15 +0000 (13:59 +0100)]
Ignore GD JPEG warnings

Fixes https://github.com/owncloud/core/issues/21873

8 years agoMerge pull request #21942 from owncloud/use-message-if-hint-is-empty
Thomas Müller [Wed, 27 Jan 2016 11:11:31 +0000 (12:11 +0100)]
Merge pull request #21942 from owncloud/use-message-if-hint-is-empty

In case the hint of the HintException is empty we better use the exce…

8 years agoMerge pull request #21947 from owncloud/oc-backbone-webdav-put-bool-tojson
Thomas Müller [Wed, 27 Jan 2016 10:43:57 +0000 (11:43 +0100)]
Merge pull request #21947 from owncloud/oc-backbone-webdav-put-bool-tojson

Fix system tags proppatch with booleans

8 years agoFix system tags proppatch with booleans
Vincent Petry [Wed, 27 Jan 2016 09:52:00 +0000 (10:52 +0100)]
Fix system tags proppatch with booleans

Backbone webdav adapter now converts booleans and ints to strings.

Fixed system tags to use "true" / "false" strings for booleans instead
of 1 / 0.

8 years agoMerge pull request #21856 from owncloud/sync-federated-cloud-users-in-cron
Thomas Müller [Wed, 27 Jan 2016 09:11:01 +0000 (10:11 +0100)]
Merge pull request #21856 from owncloud/sync-federated-cloud-users-in-cron

Sync federated clouds using a cron job

8 years agoIn case the hint of the HintException is empty we better use the exception message
Thomas Müller [Wed, 27 Jan 2016 09:08:21 +0000 (10:08 +0100)]
In case the hint of the HintException is empty we better use the exception message

8 years agoExtract sharing functionality into own backend class for reusability
Thomas Müller [Mon, 25 Jan 2016 21:49:26 +0000 (22:49 +0100)]
Extract sharing functionality into own backend class for reusability

8 years agoFix server ctor including unit test - this shall never happen again
Thomas Müller [Mon, 25 Jan 2016 19:23:11 +0000 (20:23 +0100)]
Fix server ctor including unit test - this shall never happen again

8 years agoMigrate from CardDAV sharing to more generalk DAV sharing
Thomas Müller [Mon, 25 Jan 2016 16:50:39 +0000 (17:50 +0100)]
Migrate from CardDAV sharing to more generalk DAV sharing

8 years agoMerge pull request #21741 from owncloud/l10n-improvements
Thomas Müller [Wed, 27 Jan 2016 08:37:00 +0000 (09:37 +0100)]
Merge pull request #21741 from owncloud/l10n-improvements

Move methods to the factory that are not related to translating, but to guessing/finding the language

8 years agoMerge pull request #21887 from owncloud/share2_updateShare
Thomas Müller [Wed, 27 Jan 2016 08:36:41 +0000 (09:36 +0100)]
Merge pull request #21887 from owncloud/share2_updateShare

[Sharing 2.0] update share

8 years agoMerge pull request #21906 from owncloud/querybuilder-clob-comparison
Thomas Müller [Wed, 27 Jan 2016 08:36:21 +0000 (09:36 +0100)]
Merge pull request #21906 from owncloud/querybuilder-clob-comparison

Querybuilder clob comparison

8 years agoMerge pull request #21930 from owncloud/less-error-messages
Thomas Müller [Wed, 27 Jan 2016 08:34:09 +0000 (09:34 +0100)]
Merge pull request #21930 from owncloud/less-error-messages

Avoid error message in log during setup because of existing data dir

8 years ago[Share 2.0] Properly handle user deleted group shares
Roeland Jago Douma [Wed, 27 Jan 2016 08:02:12 +0000 (09:02 +0100)]
[Share 2.0] Properly handle user deleted group shares

If a user deletes a group share we create a special share entry. To the
API this is just a normal group share for that user with permissions 0.
But we should not return this.

8 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 27 Jan 2016 06:55:01 +0000 (01:55 -0500)]
[tx-robot] updated from transifex

8 years agoAvoid error message in log during setup because of existing data dir
Morris Jobke [Tue, 26 Jan 2016 17:50:41 +0000 (18:50 +0100)]
Avoid error message in log during setup because of existing data dir

8 years agoMerge pull request #21926 from owncloud/add-locking-support-for-onenote
Thomas Müller [Tue, 26 Jan 2016 17:11:12 +0000 (18:11 +0100)]
Merge pull request #21926 from owncloud/add-locking-support-for-onenote

Add fake locking support for OneNote 2013

8 years agoAdd fake locking support for OneNote 2013
Lukas Reschke [Tue, 26 Jan 2016 16:31:01 +0000 (17:31 +0100)]
Add fake locking support for OneNote 2013

Fixes https://github.com/owncloud/core/issues/21925

8 years agoFix PHPDoc and signature
Lukas Reschke [Tue, 26 Jan 2016 16:27:58 +0000 (17:27 +0100)]
Fix PHPDoc and signature

8 years agoMerge pull request #21664 from owncloud/comments-dav
Thomas Müller [Tue, 26 Jan 2016 16:20:32 +0000 (17:20 +0100)]
Merge pull request #21664 from owncloud/comments-dav

Comments DAV implementation

8 years agoMerge pull request #21921 from owncloud/use-proper-tag
Thomas Müller [Tue, 26 Jan 2016 16:19:37 +0000 (17:19 +0100)]
Merge pull request #21921 from owncloud/use-proper-tag

Do not use duplicated tag

8 years agoFix errors after install
Lukas Reschke [Tue, 26 Jan 2016 15:48:57 +0000 (16:48 +0100)]
Fix errors after install

When installing ownCloud the first time the first thing that an admin saw was an error message:

> Error   PHP   touch(): Unable to create file owncloud.log because Permission denied at /var/www/owncloud/lib/private/log/owncloud.php#48

Or something related. This lead to a lot confusion as can be seen in our forum and in our issue tracker. This change should make the error messages disappear in most cases (e.g. where the file can actually be written). To test this:

1. On master install ownCloud and check owncloud.log => Error message
2. On this branch install ownCloud and check owncloud.log => No error message

Fixes https://github.com/owncloud/core/issues/13736 and https://github.com/owncloud/core/issues/12893

8 years agoDo not use duplicated tag
Lukas Reschke [Tue, 26 Jan 2016 15:42:31 +0000 (16:42 +0100)]
Do not use duplicated tag

Fixes "This app has no minimum ownCloud version assigned. This will be an error in ownCloud 11 and later.", the tag can only be there once. Also set to 9.0 as this will be the next major release.

8 years agoMerge pull request #21912 from owncloud/issue-21908-trashbin-flickering
Thomas Müller [Tue, 26 Jan 2016 15:16:21 +0000 (16:16 +0100)]
Merge pull request #21912 from owncloud/issue-21908-trashbin-flickering

Hide the delete button, until we know its a custom avatar

8 years agoMerge pull request #21833 from owncloud/use-proper-shared-uri-for-contacts
Thomas Müller [Tue, 26 Jan 2016 15:13:32 +0000 (16:13 +0100)]
Merge pull request #21833 from owncloud/use-proper-shared-uri-for-contacts

Reassemble behavior on shared address books with respect to uri and d…

8 years agoMerge pull request #21752 from owncloud/files-delete-fix
Thomas Müller [Tue, 26 Jan 2016 15:13:10 +0000 (16:13 +0100)]
Merge pull request #21752 from owncloud/files-delete-fix

Only check selection for delete permissions, not parent folder

8 years agoMerge pull request #21916 from owncloud/sftp-handle-no-user
Thomas Müller [Tue, 26 Jan 2016 15:12:38 +0000 (16:12 +0100)]
Merge pull request #21916 from owncloud/sftp-handle-no-user

Handle no user set in sftp constructor

8 years agoMerge pull request #21920 from owncloud/fix-firstrunwizard-button
Thomas Müller [Tue, 26 Jan 2016 15:12:14 +0000 (16:12 +0100)]
Merge pull request #21920 from owncloud/fix-firstrunwizard-button

fix first run wizard button not wrapping

8 years agofiles_sharing requires int as file id
Arthur Schiwon [Tue, 26 Jan 2016 14:45:37 +0000 (15:45 +0100)]
files_sharing requires int as file id

8 years agoFix comments from Thomas
Roeland Jago Douma [Tue, 26 Jan 2016 13:29:30 +0000 (14:29 +0100)]
Fix comments from Thomas

8 years agofix first run wizard button not wrapping
Jan-Christoph Borchardt [Tue, 26 Jan 2016 14:28:19 +0000 (15:28 +0100)]
fix first run wizard button not wrapping

8 years agoMerge pull request #21913 from owncloud/fix_resolve_user_group_share
Vincent Petry [Tue, 26 Jan 2016 14:20:03 +0000 (15:20 +0100)]
Merge pull request #21913 from owncloud/fix_resolve_user_group_share

[Share 2.0] Resolve to correct usergroup share

8 years agoReassemble behavior on shared address books with respect to uri and displayname
Thomas Müller [Thu, 21 Jan 2016 15:20:52 +0000 (16:20 +0100)]
Reassemble behavior on shared address books with respect to uri and displayname

8 years agoMove parameter to the right function call
Joas Schilling [Tue, 26 Jan 2016 11:15:18 +0000 (12:15 +0100)]
Move parameter to the right function call

8 years agoUse our OCP constants
Joas Schilling [Tue, 26 Jan 2016 11:14:55 +0000 (12:14 +0100)]
Use our OCP constants

8 years agoIntroduce helper method
Joas Schilling [Tue, 26 Jan 2016 11:07:23 +0000 (12:07 +0100)]
Introduce helper method

8 years agoFix Oracle comparisons
Joas Schilling [Tue, 26 Jan 2016 10:27:35 +0000 (11:27 +0100)]
Fix Oracle comparisons

8 years agoAdd tests for clob comparisons
Joas Schilling [Tue, 26 Jan 2016 09:46:03 +0000 (10:46 +0100)]
Add tests for clob comparisons

8 years agoAdjust comments to the new constants
Joas Schilling [Tue, 26 Jan 2016 09:45:29 +0000 (10:45 +0100)]
Adjust comments to the new constants

8 years agoHandle no user set in sftp constructor
Robin Appelman [Tue, 26 Jan 2016 13:48:45 +0000 (14:48 +0100)]
Handle no user set in sftp constructor

8 years agoWe must resolve to the proper usergroup share
Roeland Jago Douma [Tue, 26 Jan 2016 11:58:41 +0000 (12:58 +0100)]
We must resolve to the proper usergroup share

8 years agoMove class to legacy folder
Joas Schilling [Tue, 26 Jan 2016 13:10:05 +0000 (14:10 +0100)]
Move class to legacy folder

8 years agoFix tests
Joas Schilling [Mon, 18 Jan 2016 09:05:46 +0000 (10:05 +0100)]
Fix tests

8 years agoAdd tests for findAvailableLanguages
Joas Schilling [Mon, 18 Jan 2016 09:00:29 +0000 (10:00 +0100)]
Add tests for findAvailableLanguages

8 years agoAdd tests for findLanguage()
Joas Schilling [Mon, 18 Jan 2016 08:53:25 +0000 (09:53 +0100)]
Add tests for findLanguage()

8 years agoRemove tests for wrapper
Joas Schilling [Fri, 15 Jan 2016 15:24:42 +0000 (16:24 +0100)]
Remove tests for wrapper

8 years agoAdd tests for the factory
Joas Schilling [Fri, 15 Jan 2016 15:24:31 +0000 (16:24 +0100)]
Add tests for the factory

8 years agoAdd tests for the new l10n class
Joas Schilling [Fri, 15 Jan 2016 14:23:51 +0000 (15:23 +0100)]
Add tests for the new l10n class

8 years agoMove legacy test file to new location
Joas Schilling [Fri, 15 Jan 2016 14:22:39 +0000 (15:22 +0100)]
Move legacy test file to new location

8 years agoFix the tests
Joas Schilling [Fri, 15 Jan 2016 13:59:48 +0000 (14:59 +0100)]
Fix the tests

8 years agoDeprecate OC_L10N in favor of a namespaces and DI version
Joas Schilling [Fri, 15 Jan 2016 12:30:13 +0000 (13:30 +0100)]
Deprecate OC_L10N in favor of a namespaces and DI version

8 years agoDeprecate getFirstWeekDay() and getDateFormat() in favor of l()
Joas Schilling [Fri, 15 Jan 2016 11:57:50 +0000 (12:57 +0100)]
Deprecate getFirstWeekDay() and getDateFormat() in favor of l()

8 years agoMove finding the language files and creating the function out of the object
Joas Schilling [Fri, 15 Jan 2016 11:37:34 +0000 (12:37 +0100)]
Move finding the language files and creating the function out of the object

8 years agoMove validation and fallbacks of app and lang to the constructor/factory
Joas Schilling [Fri, 15 Jan 2016 10:25:35 +0000 (11:25 +0100)]
Move validation and fallbacks of app and lang to the constructor/factory

8 years agoMove findLanguage() and setLanguageFromRequest() to factory
Joas Schilling [Fri, 15 Jan 2016 10:09:37 +0000 (11:09 +0100)]
Move findLanguage() and setLanguageFromRequest() to factory

8 years agoMove languageExists() to the factory
Joas Schilling [Fri, 15 Jan 2016 09:27:09 +0000 (10:27 +0100)]
Move languageExists() to the factory

8 years agoMove findAvailableLanguages() to the factory
Joas Schilling [Fri, 15 Jan 2016 09:04:41 +0000 (10:04 +0100)]
Move findAvailableLanguages() to the factory

8 years ago[share 2.0] manager unit tests
Roeland Jago Douma [Mon, 25 Jan 2016 12:09:50 +0000 (13:09 +0100)]
[share 2.0] manager unit tests

8 years ago[Share 2.0] Fire off hook
Roeland Jago Douma [Mon, 25 Jan 2016 12:09:25 +0000 (13:09 +0100)]
[Share 2.0] Fire off hook

8 years ago[Share 2.0] Fix unit tests
Roeland Jago Douma [Mon, 25 Jan 2016 11:09:56 +0000 (12:09 +0100)]
[Share 2.0] Fix unit tests

8 years ago[Share 2.0] Add unit test for the default share provider
Roeland Jago Douma [Sun, 24 Jan 2016 12:15:14 +0000 (13:15 +0100)]
[Share 2.0] Add unit test for the default share provider

8 years ago[Share 2.0] Add update share
Roeland Jago Douma [Fri, 22 Jan 2016 13:52:20 +0000 (14:52 +0100)]
[Share 2.0] Add update share

8 years agoadjust unit tests
Arthur Schiwon [Tue, 26 Jan 2016 12:16:14 +0000 (13:16 +0100)]
adjust unit tests

8 years agoRevert "utilize elementMap for parsing DateTime string input argument for REPORT...
Arthur Schiwon [Tue, 26 Jan 2016 12:04:41 +0000 (13:04 +0100)]
Revert "utilize elementMap for parsing DateTime string input argument for REPORT method"

This reverts commit 2027bf2686ee077fb2ad65f7a91f920c96b3fd85.

8 years agoHide the delete button, until we know its a custom avatar
Joas Schilling [Tue, 26 Jan 2016 11:59:58 +0000 (12:59 +0100)]
Hide the delete button, until we know its a custom avatar

8 years agoreturn 404 instead of 403 when attempting to create a comment on an not existing...
Arthur Schiwon [Tue, 26 Jan 2016 11:47:33 +0000 (12:47 +0100)]
return 404 instead of 403 when attempting to create a comment on an not existing or unavailable file

8 years agoutilize elementMap for parsing DateTime string input argument for REPORT method
Arthur Schiwon [Tue, 26 Jan 2016 11:40:05 +0000 (12:40 +0100)]
utilize elementMap for parsing DateTime string input argument for REPORT method

8 years agosmaller changes related to reviews
Arthur Schiwon [Tue, 26 Jan 2016 11:08:51 +0000 (12:08 +0100)]
smaller changes related to reviews

8 years agoComments DAV implementation
Arthur Schiwon [Mon, 11 Jan 2016 17:09:00 +0000 (18:09 +0100)]
Comments DAV implementation

8 years agoMerge pull request #21901 from owncloud/fix-setup
Thomas Müller [Tue, 26 Jan 2016 10:42:55 +0000 (11:42 +0100)]
Merge pull request #21901 from owncloud/fix-setup

Fix setup page

8 years agoMerge pull request #21853 from owncloud/tags-fixpropertyma
Thomas Müller [Tue, 26 Jan 2016 10:37:37 +0000 (11:37 +0100)]
Merge pull request #21853 from owncloud/tags-fixpropertyma

Fix oc:tags tag list serializer

8 years agoMerge pull request #21845 from owncloud/sync-system-addressbook-on-avatar-change
Thomas Müller [Tue, 26 Jan 2016 10:37:17 +0000 (11:37 +0100)]
Merge pull request #21845 from owncloud/sync-system-addressbook-on-avatar-change

Changing the avatar of the user emits the changeUser event which trig…

8 years agoMerge pull request #21894 from owncloud/refactor-csrf
Thomas Müller [Tue, 26 Jan 2016 10:36:56 +0000 (11:36 +0100)]
Merge pull request #21894 from owncloud/refactor-csrf

Add new CSRF manager for unit testing purposes

8 years agoFix setup page
Morris Jobke [Tue, 26 Jan 2016 08:05:10 +0000 (09:05 +0100)]
Fix setup page

* fixes #21897

8 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 26 Jan 2016 06:56:06 +0000 (01:56 -0500)]
[tx-robot] updated from transifex

8 years agoMerge pull request #21892 from owncloud/issue-21890-parameters
Thomas Müller [Mon, 25 Jan 2016 20:13:41 +0000 (21:13 +0100)]
Merge pull request #21892 from owncloud/issue-21890-parameters

Add parameters types to IQueryBuilder

8 years agoTrigger change on avatar delete
Thomas Müller [Mon, 25 Jan 2016 12:06:00 +0000 (13:06 +0100)]
Trigger change on avatar delete

8 years agoAssert that User::triggerChange is called upon avatar change
Thomas Müller [Fri, 22 Jan 2016 11:56:53 +0000 (12:56 +0100)]
Assert that User::triggerChange is called upon avatar change

8 years agoChanging the avatar of the user emits the changeUser event which triggers update...
Thomas Müller [Fri, 22 Jan 2016 10:34:49 +0000 (11:34 +0100)]
Changing the avatar of the user emits the changeUser event which triggers update of the system addressbook

8 years agoRegenerate CSRF token upon login
Lukas Reschke [Mon, 25 Jan 2016 16:15:28 +0000 (17:15 +0100)]
Regenerate CSRF token upon login

Otherwise somebody else might be able to note down the CSRF token before login on a shared computer.

8 years agoAdd new CSRF manager for unit testing purposes
Lukas Reschke [Mon, 25 Jan 2016 16:15:54 +0000 (17:15 +0100)]
Add new CSRF manager for unit testing purposes

This adds a new CSRF manager for unit testing purposes, it's interface is based upon https://github.com/symfony/security-csrf. Due to some of our required custom changes it is however not possible to use the Symfony component directly.

8 years agoMerge pull request #21885 from owncloud/add-size-minus-zero-to-avatar
Thomas Müller [Mon, 25 Jan 2016 18:54:15 +0000 (19:54 +0100)]
Merge pull request #21885 from owncloud/add-size-minus-zero-to-avatar

Adding support of -1 as size to be passed into get and getFile

8 years agoMerge pull request #21830 from owncloud/systemtags-sidebar-permissions
Thomas Müller [Mon, 25 Jan 2016 16:33:40 +0000 (17:33 +0100)]
Merge pull request #21830 from owncloud/systemtags-sidebar-permissions

Systemtags sidebar permissions

8 years agoReplace other usages
Joas Schilling [Mon, 25 Jan 2016 16:17:36 +0000 (17:17 +0100)]
Replace other usages

8 years agoAdd parameters to public interface
Joas Schilling [Mon, 25 Jan 2016 16:17:20 +0000 (17:17 +0100)]
Add parameters to public interface