]>
source.dussan.org Git - nextcloud-server.git/log
Arthur Schiwon [Thu, 3 Dec 2015 16:20:40 +0000 (17:20 +0100)]
fix php doc
Arthur Schiwon [Thu, 3 Dec 2015 16:19:40 +0000 (17:19 +0100)]
OC not oc
Arthur Schiwon [Thu, 3 Dec 2015 16:16:51 +0000 (17:16 +0100)]
parameter checks for setting actor and object to happen only in one place
Arthur Schiwon [Thu, 3 Dec 2015 16:13:18 +0000 (17:13 +0100)]
fix usage of empty
Arthur Schiwon [Thu, 3 Dec 2015 15:35:57 +0000 (16:35 +0100)]
different strategy in cleaning up after user was deleted
we do not listen to deletion hooks anymore, because there is no guarantee that they
will be heard - requires that something fetches the CommentsManager first.
Instead, in the user deletion routine the clean up method will be called directly. Same way
as it happens for files, group memberships, config values.
Arthur Schiwon [Mon, 23 Nov 2015 22:53:55 +0000 (23:53 +0100)]
add icommentsmanger and icomment implementation
register CommentsManager service, allow override, document in config.sample.php
don't insert autoincrement ids in tests, because of dislikes from oracle and pgsql
specify timezone in null date
only accepts strings for ID parameter that can be converted to int
replace forgotten hardcoded IDs in tests
react on deleted users
react on file deletion
Postgresql compatibility
lastInsertId needs *PREFIX* with the table name
do not listen for file deletion, because it is not reliable (trashbin, external storages)
add runtime cache for comments
Thomas Müller [Wed, 9 Dec 2015 13:32:00 +0000 (14:32 +0100)]
Merge pull request #21060 from owncloud/support-for-read-only-config-dir
Add support for read only config dir
Thomas Müller [Wed, 9 Dec 2015 12:15:16 +0000 (13:15 +0100)]
Merge pull request #21019 from owncloud/occ-get-apppath
Add occ command to get app path
Thomas Müller [Wed, 9 Dec 2015 12:07:57 +0000 (13:07 +0100)]
Merge pull request #20989 from owncloud/fix_20769
Update parent when moving share into recieved share
Thomas Müller [Wed, 9 Dec 2015 12:05:14 +0000 (13:05 +0100)]
Merge pull request #21059 from owncloud/remove-deaed-code-mount-config
Remove dead code
Thomas Müller [Wed, 9 Dec 2015 12:02:25 +0000 (13:02 +0100)]
Merge pull request #21068 from owncloud/fix-exit-code-autotest-external
Fix exit code autotest external
Thomas Müller [Wed, 9 Dec 2015 11:18:51 +0000 (12:18 +0100)]
Use default timeout on connection test
Thomas Müller [Wed, 9 Dec 2015 11:10:12 +0000 (12:10 +0100)]
remove deprecated strict setting
Thomas Müller [Wed, 9 Dec 2015 11:09:45 +0000 (12:09 +0100)]
script shall exit with error in case the start file has issues - fixes #20798
Thomas Müller [Wed, 9 Dec 2015 10:53:43 +0000 (11:53 +0100)]
Merge pull request #21061 from owncloud/fix-oracle-last-insert-id-test
Fix the last insert id test by changing to an autoincremen…
Thomas Müller [Wed, 9 Dec 2015 10:29:25 +0000 (11:29 +0100)]
Merge pull request #21056 from owncloud/check-return
Verify return type
Thomas Müller [Wed, 9 Dec 2015 10:28:53 +0000 (11:28 +0100)]
Merge pull request #21055 from owncloud/fix-php-docs-for-console
Fix PHPDoc and check if path does exists
Thomas Müller [Wed, 9 Dec 2015 10:27:46 +0000 (11:27 +0100)]
Merge pull request #20995 from owncloud/fix-18734
ensure multiselect always receives an array when setting its value, f…
Victor Dubiniuk [Mon, 7 Dec 2015 22:24:28 +0000 (01:24 +0300)]
Add occ command to get app path
Thomas Müller [Wed, 9 Dec 2015 10:12:53 +0000 (11:12 +0100)]
Merge pull request #21064 from owncloud/fix-occ-install-on-os-x
Allow occ install on OS X - same behaviour as web setup
Joas Schilling [Wed, 9 Dec 2015 10:09:02 +0000 (11:09 +0100)]
Do not quote the table name for lastInsertId()
Morris Jobke [Wed, 9 Dec 2015 09:49:54 +0000 (10:49 +0100)]
Allow occ install on OS X - same behaviour as web setup
Thomas Müller [Wed, 9 Dec 2015 09:05:36 +0000 (10:05 +0100)]
Merge pull request #21003 from owncloud/personal-mount-mountid
Dont set the string storage id to the numeric storage id for personal mounts
Thomas Müller [Wed, 9 Dec 2015 09:05:20 +0000 (10:05 +0100)]
Merge pull request #21005 from owncloud/verify_password_before_unshare
The ajax code path unshares a link share when updating the password
Thomas Müller [Wed, 9 Dec 2015 09:04:56 +0000 (10:04 +0100)]
Merge pull request #21038 from owncloud/share-computesharepermissions-notstore
Fix (re)share permission checks in a few code paths
Thomas Müller [Wed, 9 Dec 2015 09:04:30 +0000 (10:04 +0100)]
Merge pull request #21043 from owncloud/add-php-doc
Add type description
Joas Schilling [Wed, 9 Dec 2015 08:43:23 +0000 (09:43 +0100)]
Fix the last insert id test by changing to an autoincrement table
Lukas Reschke [Wed, 9 Dec 2015 07:54:11 +0000 (08:54 +0100)]
Add support for read only config dir
We already support the `config_is_read_only` for the config file itself. However not for the whole directory (which is a bug).
This unifies the check in the checkServer routine with the one in base.php. Now one can enable a read only config folder so that ownCloud is not allowed to overwrite it's own source code.
To test this set the whole config folder to read only, clear your session, refresh, see it fails, add the new code, refresh, see it works. Also verify that setup still works fine. (obviously setup does not work with a read only config Also verify that setup still works fine. (obviously setup does not work with a read only config))
Fixes https://github.com/owncloud/core/issues/14455
Lukas Reschke [Wed, 9 Dec 2015 06:53:09 +0000 (07:53 +0100)]
Remove dead code
Silences two other security warnings, also I cleaned up the PHPDoc a little bit.
Jenkins for ownCloud [Wed, 9 Dec 2015 06:55:14 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
Lukas Reschke [Wed, 9 Dec 2015 06:32:19 +0000 (07:32 +0100)]
Verify return type
Can also be null. Silences another security warning...
Lukas Reschke [Wed, 9 Dec 2015 05:50:47 +0000 (06:50 +0100)]
Fix PHPDoc and check if path does exists
Mutes another security warning of some static scanners.
Robin Appelman [Tue, 8 Dec 2015 17:01:44 +0000 (18:01 +0100)]
Add tests
Vincent Petry [Tue, 8 Dec 2015 15:48:33 +0000 (16:48 +0100)]
Add explicit check for groups excluded from sharing
Since isSharable() doesn't do the check for groups excluded from
sharing, adding an explicit check in the sharing code.
Vincent Petry [Tue, 8 Dec 2015 15:33:39 +0000 (16:33 +0100)]
Fix more unit tests to pass a mock storage instead of null to FileInfo
Thomas Müller [Tue, 8 Dec 2015 15:24:50 +0000 (16:24 +0100)]
Merge pull request #21037 from owncloud/fix-irritating-ldap-log-entry
passing an empty base in this diagnosis call will not result in LDAP…
Lukas Reschke [Wed, 2 Sep 2015 14:49:34 +0000 (16:49 +0200)]
Add type description
Allows IDEs and static code analyzers. Would have saved me some minutes today :)
Thomas Müller [Tue, 8 Dec 2015 13:51:57 +0000 (14:51 +0100)]
Merge pull request #21018 from owncloud/scrutinizer-patch-1
Scrutinizer Auto-Fixes
Thomas Müller [Tue, 8 Dec 2015 12:52:04 +0000 (13:52 +0100)]
Merge pull request #21031 from owncloud/sanitize-findAppInDirectories
Sanitize the appId passed to `findAppInDirectories`
Thomas Müller [Tue, 8 Dec 2015 12:51:45 +0000 (13:51 +0100)]
Merge pull request #21030 from owncloud/querybuilder-new-features
Querybuilder new features
Thomas Müller [Tue, 8 Dec 2015 12:51:25 +0000 (13:51 +0100)]
Merge pull request #20786 from owncloud/systemtags-dav
DAV endpoint for system tags
Vincent Petry [Tue, 8 Dec 2015 12:02:57 +0000 (13:02 +0100)]
Add reshare permission checks
Added in isSharable() in incoming remote share.
Added in isSharable() in regular incoming share.
Added in FileInfo to make sure the proper attributes are returned to the
clients.
Vincent Petry [Tue, 8 Dec 2015 10:32:18 +0000 (11:32 +0100)]
Compute share permissions in the view
The share permissions are now computed in the View/FileInfo instead of
storing them directly/permanently on the storage
Arthur Schiwon [Tue, 8 Dec 2015 11:31:58 +0000 (12:31 +0100)]
passing an empty base in this diagnosis call will not result in LDAP errors
Neither in "Invalid DN syntax" nor in "Object not found"
Joas Schilling [Tue, 8 Dec 2015 08:57:38 +0000 (09:57 +0100)]
Add a method to the get "to use" table and column name
Thomas Müller [Tue, 8 Dec 2015 10:04:25 +0000 (11:04 +0100)]
Merge pull request #21022 from owncloud/get-rid-of-by-reference
Get rid of by reference
Thomas Müller [Tue, 8 Dec 2015 10:04:09 +0000 (11:04 +0100)]
Merge pull request #20979 from owncloud/settings-groups-entry
Add 'my groups' anchor to the personal page sidebar
Thomas Müller [Tue, 8 Dec 2015 10:03:33 +0000 (11:03 +0100)]
Merge pull request #21025 from owncloud/remove-legacy-trusted-domain-support
Remove legacy repair steps + do not cast trusted domains
Thomas Müller [Tue, 8 Dec 2015 09:15:28 +0000 (10:15 +0100)]
Merge pull request #20951 from owncloud/Make_showing_logs_optional
Controlled arguments for run script
Thomas Müller [Tue, 8 Dec 2015 09:04:41 +0000 (10:04 +0100)]
Merge pull request #21028 from owncloud/fix-php-doc-for-storage-config
Use proper PHPDoc reference
Lukas Reschke [Tue, 8 Dec 2015 09:01:09 +0000 (10:01 +0100)]
Sanitize the appId passed to `findAppInDirectories`
Would have prevented quite some security bugs in the past. Nice hardening for now.
Joas Schilling [Tue, 8 Dec 2015 08:49:21 +0000 (09:49 +0100)]
Add select distinct to the query builder
Lukas Reschke [Tue, 8 Dec 2015 08:45:20 +0000 (09:45 +0100)]
Use proper PHPDoc reference
Joas Schilling [Tue, 8 Dec 2015 08:40:20 +0000 (09:40 +0100)]
Allow getting the last insert id without much hassle
Joas Schilling [Tue, 8 Dec 2015 08:11:50 +0000 (09:11 +0100)]
More fixes to the docs
Lukas Reschke [Tue, 8 Dec 2015 08:07:38 +0000 (09:07 +0100)]
Add unit test for nested arrays
Lukas Reschke [Tue, 8 Dec 2015 07:28:15 +0000 (08:28 +0100)]
Use \OCP\Util::sanitizeHTML instead of \OC_Util::sanitizeHTML
Lukas Reschke [Tue, 8 Dec 2015 07:27:52 +0000 (08:27 +0100)]
Get rid of passing a reference
Fixes https://github.com/owncloud/core/issues/14643
Lukas Reschke [Tue, 8 Dec 2015 07:50:00 +0000 (08:50 +0100)]
Do not trust casting
Lukas Reschke [Tue, 8 Dec 2015 07:46:41 +0000 (08:46 +0100)]
Remove unused repair steps
These ones are not necessary anymore for the new major release.
Lukas Reschke [Tue, 8 Dec 2015 07:44:42 +0000 (08:44 +0100)]
Remove legacy check
This one is not required anymore as we have the RepairConfig repair step since November 2014.
Thomas Müller [Tue, 8 Dec 2015 07:39:33 +0000 (08:39 +0100)]
Merge pull request #21014 from owncloud/share-unsharelinkpapercut
Fix unshare link click element
Jenkins for ownCloud [Tue, 8 Dec 2015 06:56:19 +0000 (01:56 -0500)]
[tx-robot] updated from transifex
Scrutinizer Auto-Fixer [Mon, 7 Dec 2015 20:08:20 +0000 (20:08 +0000)]
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Thomas Müller [Mon, 7 Dec 2015 18:55:45 +0000 (19:55 +0100)]
Merge pull request #21015 from owncloud/update-redirecttocorrectpage
Redirect to correct URL after updating
Thomas Müller [Mon, 7 Dec 2015 18:55:26 +0000 (19:55 +0100)]
Merge pull request #20996 from owncloud/issue-12215-remove-password-reset-when-not-possible
Issue 12215 remove password reset when not possible
Vincent Petry [Mon, 7 Dec 2015 17:08:00 +0000 (18:08 +0100)]
Redirect to correct URL after updating
Now requires a trailing slash to make sure we don't land on the
forbidden page.
Vincent Petry [Mon, 7 Dec 2015 16:58:17 +0000 (17:58 +0100)]
Fix unshare link click element
When clicking on the unshare link (trash icon), the correct link element
needs to be used instead of whatever child was clicked. Then, that
element might contain a visible loading icon.
This fixes the spinner detection and also prevents a full page reload in
case the spinner was visible.
Thomas Müller [Mon, 7 Dec 2015 16:49:43 +0000 (17:49 +0100)]
Merge pull request #21006 from owncloud/scrutinizer-patch-1
Scrutinizer Auto-Fixes
Thomas Müller [Mon, 7 Dec 2015 16:49:24 +0000 (17:49 +0100)]
Merge pull request #21009 from owncloud/share-forbidlinkshare-duplicatefield
Fix duplicate bogus share field when link sharing is not allowed
Thomas Müller [Mon, 7 Dec 2015 16:49:03 +0000 (17:49 +0100)]
Merge pull request #21011 from owncloud/allow-ico
Allow .ico files
Thomas Müller [Mon, 7 Dec 2015 16:47:10 +0000 (17:47 +0100)]
Merge pull request #18212 from ryno83/treat_LDAP_users_not_available_by_user_filter_as_deleted
treat LDAP users not available by user filter as deleted
Lukas Reschke [Mon, 7 Dec 2015 16:15:04 +0000 (17:15 +0100)]
Allow .ico files
Makes `/core/img/favicon.ico` accessible again via web.
Thomas Müller [Mon, 7 Dec 2015 16:11:26 +0000 (17:11 +0100)]
Merge pull request #20991 from owncloud/disabled-checked-checkbox-css-rules
Disabled checked checkbox css rules
Thomas Müller [Mon, 7 Dec 2015 16:11:01 +0000 (17:11 +0100)]
Merge pull request #21004 from owncloud/adding-mention-bot
Adding a basic configuration for the mention bot
Vincent Petry [Mon, 7 Dec 2015 15:53:56 +0000 (16:53 +0100)]
Fix duplicate bogus share field when link sharing is not allowed
Whenever link share is not allowed, it was outputting a bogus sharing
field which name would conflict with the regular sharing field.
This fix makes sure that the bogus sharing field with "Resharing not
allowed" message only appears when triggered by removed share
permissions.
Thomas Müller [Mon, 7 Dec 2015 15:50:07 +0000 (16:50 +0100)]
Merge pull request #20980 from owncloud/UoM-ResPlat-DevOps-swift-improved-fopen
Improving fopen behaviour for Swift backend
Scrutinizer Auto-Fixer [Mon, 7 Dec 2015 15:43:36 +0000 (15:43 +0000)]
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Roeland Jago Douma [Mon, 7 Dec 2015 15:38:49 +0000 (16:38 +0100)]
The ajax code path unshares a link share when updating the password
In order to not mess up existing shares if the password gets verified we
should first fire this validation.
Thomas Müller [Mon, 7 Dec 2015 15:35:20 +0000 (16:35 +0100)]
Adding a basic configuration for the mention bot
Roeland Jago Douma [Mon, 7 Dec 2015 12:24:16 +0000 (13:24 +0100)]
Update parent when moving share into recieved share
Fixes #20769
When I receive a share and move a share of myself into that share (which
is allowed currently) I effectively hand over ownership of the files I
move. So we need to update the share I move to have as a parent the
share I move it into. Else our mounting system gets confused.
Thomas Müller [Mon, 7 Dec 2015 15:25:53 +0000 (16:25 +0100)]
Merge pull request #20987 from owncloud/dont-deprecate-OC.filePath-master
OC.FilePath has still a valid use case when generating paths to stati…
Thomas Müller [Mon, 7 Dec 2015 15:23:38 +0000 (16:23 +0100)]
Merge pull request #20998 from owncloud/add-csp-header-to-static-resources
Add CSP header to static resources
Thomas Müller [Mon, 7 Dec 2015 15:19:21 +0000 (16:19 +0100)]
Merge pull request #20993 from owncloud/issue-20666-language-always-overwritten
Do not overwrite the language when it's just missing for one app
Patrick Robertson [Wed, 4 Nov 2015 08:04:51 +0000 (16:04 +0800)]
Add 'my groups' anchor to the personal page sidebar
Robin Appelman [Mon, 7 Dec 2015 15:15:37 +0000 (16:15 +0100)]
Dont set the string storage id to the numeric storage id for personal mounts
Lukas Reschke [Mon, 7 Dec 2015 14:47:05 +0000 (15:47 +0100)]
Add CSP header to static resources
Fixes https://github.com/owncloud/core/issues/16164
Joas Schilling [Mon, 7 Dec 2015 14:37:26 +0000 (15:37 +0100)]
Allow specifying a custom reset-password-url
Thomas Müller [Mon, 7 Dec 2015 14:17:38 +0000 (15:17 +0100)]
Merge pull request #20988 from owncloud/scrutinizer-patch-1
Scrutinizer Auto-Fixes
Thomas Müller [Mon, 7 Dec 2015 14:17:19 +0000 (15:17 +0100)]
Merge pull request #20981 from owncloud/issue-19848-multiple-emails-for-sharelink
Allow sending a share email to multiple users
Arthur Schiwon [Mon, 7 Dec 2015 14:14:49 +0000 (15:14 +0100)]
ensure multiselect always receives an array when setting its value, fixes #18734
Joas Schilling [Mon, 7 Dec 2015 14:14:19 +0000 (15:14 +0100)]
Remove password reset when the user can not change the password
Joas Schilling [Mon, 7 Dec 2015 13:07:14 +0000 (14:07 +0100)]
Add rules for checked+disabled and disabled checkbox style
Joas Schilling [Mon, 7 Dec 2015 13:34:15 +0000 (14:34 +0100)]
Do not overwrite the language when it's just missing for one app
Scrutinizer Auto-Fixer [Mon, 7 Dec 2015 12:05:27 +0000 (12:05 +0000)]
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Thomas Müller [Mon, 7 Dec 2015 11:23:42 +0000 (12:23 +0100)]
OC.FilePath has still a valid use case when generating paths to static files what for generateUrl cannot be used for - closes #15604
Joas Schilling [Mon, 7 Dec 2015 11:01:02 +0000 (12:01 +0100)]
Add a unit test for single user case as well
Joas Schilling [Mon, 7 Dec 2015 09:49:34 +0000 (10:49 +0100)]
Allow sending a share email to multiple users
Thomas Müller [Mon, 7 Dec 2015 09:27:35 +0000 (10:27 +0100)]
Merge pull request #20569 from owncloud/issue_20427
Show external storage status in file list + prompt credentials if different
Thomas Müller [Mon, 7 Dec 2015 09:24:09 +0000 (10:24 +0100)]
Merge pull request #20796 from owncloud/cleanup-trashbin-code
Cleanup trashbin expire code