summaryrefslogtreecommitdiffstats
path: root/lib/private/hook.php
Commit message (Collapse)AuthorAgeFilesLines
* Update author informationLukas Reschke2016-03-011-0/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Simply use logException() to log the exception - no need for custom codeThomas Müller2016-01-131-22/+11
|
* Bubble up hint exceptions in hooks, so the user can see the hintJörn Friedrich Dreyer2016-01-131-0/+3
|
* Happy new year!Thomas Müller2016-01-121-2/+2
|
* Update license headersLukas Reschke2015-10-261-0/+1
|
* Throw exception on `getPath` if file does not existLukas Reschke2015-10-251-2/+2
| | | | | | | | | | Currently the `getPath` methods returned `NULL` in case when a file with the specified ID does not exist. This however mandates that developers are checking for the `NULL` case and if they do not the door for bugs with all kind of impact is widely opened. This is especially harmful if used in context with Views where the final result is limited based on the result of `getPath`, if `getPath` returns `NULL` PHP type juggles this to an empty string resulting in all possible kind of bugs. While one could argue that this is a misusage of the API the fact is that it is very often misused and an exception will trigger an immediate stop of execution as well as log this behaviour and show a pretty error page. I also adjusted some usages where I believe that we need to catch these errors, in most cases this is though simply an error that should hard-fail.
* Remove OC_LogThomas Müller2015-07-031-2/+2
|
* Throw ServerNotAvailableException alwaysMorris Jobke2015-04-101-1/+1
|
* fix cherrypickingJörn Friedrich Dreyer2015-04-101-1/+1
|
* throw exception if setup is incompleteMorris Jobke2015-04-101-0/+3
|
* PHPDoc cleanup - clean code \o/Thomas Müller2015-04-071-14/+15
|
* Hook: fixing error message in exception caseThomas Müller2015-04-071-7/+16
|
* Merge pull request #15129 from owncloud/version-command-busLukas Reschke2015-03-261-0/+3
|\ | | | | expire versions in a background command
| * Handle exceptions thrown during hooks when running unit testsRobin Appelman2015-03-261-0/+3
| |
* | Update license headersJenkins for ownCloud2015-03-261-3/+24
|/
* Revert "Updating license headers"Morris Jobke2015-02-261-24/+3
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-3/+24
|
* Cleanup of PHPDoc return typesRobin McCorkell2015-01-161-1/+1
|
* Dont connect hooks twiceRobin Appelman2014-06-061-0/+6
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-2/+2
| | | | * test case added to avoid adding them later
* Fix Scrutinizer errorsRobin McCorkell2014-05-131-1/+1
|
* Fix TypoLukas Reschke2014-05-111-1/+1
| | | | I guess that should be `default` and not `defautl`, wondering how this ever worked.
* Added test cleanup listener to detect untidy testsVincent Petry2013-12-191-0/+8
| | | | | After each test suite, detects whether there are stray datafiles, hooks or proxies, then show a warning and clear them.
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-0/+100
Conflicts: lib/private/vcategories.php