Roeland Jago Douma
ece41318b8
Check if the favorite tag exists
If the tag does not exist there is no need to do :boom: and log an
exception on error level
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
hace 6 años
Arthur Schiwon
38a90130ce
move log constants to ILogger
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
hace 6 años
Roeland Jago Douma
f4fd0224db
Do not use \OCP\DB anymore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
hace 6 años
Morris Jobke
3579487798
Remove unused and deprecated methods of OCP\DB
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
hace 6 años
Morris Jobke
2b335fd607
Use insertIfNotExist of the new interface
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
hace 6 años
Morris Jobke
8195b17ed7
Remove deprecated and unsused methods of OCP\DB
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
hace 6 años
Morris Jobke
2a38605545
Properly log the full exception instead of only the message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
hace 6 años
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
hace 6 años
Julius Härtl
4cfa1c66b8
Doc: Fix phpDoc issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
hace 6 años
Roeland Jago Douma
ede15f0988
Fix L10N::t
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
hace 7 años
Joas Schilling
0215b004da
Update with robin
hace 8 años
Joas Schilling
ba87db3fcc
Fix others
hace 8 años
Roeland Jago Douma
f52c5b31b6
Move more from \OC to PSR-4
* \OC\OCSClient
* \OC\Preview
* \OC\PreviewManager
* \OC\Repair
* \OC\RepairException
* \OC\Search
* \OC\ServerContainer
* \OC\ServerNotAvailableException
* \OC\ServiceUnavailableException
* \OC\Setup
* \OC\Streamer
* \OC\SubAdmin
* \OC\SystemConfig
* \OC\TagManager
* \OC\Tags
* \OC\TempManager
* \OC\TemplateLayout
* \OC\URLGenerator
* \OC\Updater
hace 8 años
Joas Schilling
09ae160463
Replace other usages
hace 8 años
Thomas Müller
682821c71e
Happy new year!
hace 8 años
Morris Jobke
190cc2bb67
Remove OC_DB::getConnection
hace 8 años
Joas Schilling
50f6386c63
Fix undefined variable $tagId
hace 9 años
Morris Jobke
e837927ad5
fix followup issues with unneeded parameters
hace 9 años
Morris Jobke
ccf47f40aa
Remove unused variables
* should make scrutinizer a lot more happy
* reduces maybe memory footprint
hace 9 años
Clark Tomlinson
3ffb2d8abd
remove unessesary logging of methods instantiation
hace 9 años
Jenkins for ownCloud
b585d87d9d
Update license headers
hace 9 años
Joas Schilling
1a26263123
Do not walk over the users directory, but over the list of tagged objects
Way quicker
hace 9 años
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
hace 9 años
Jenkins for ownCloud
6a1a4880f0
Updating license headers
hace 9 años
Vincent Petry
ef8d38ca27
Fix chunked query for tags + unit test
hace 9 años
Robin McCorkell
2b99fc76ec
Cleanup of PHPDoc return types
hace 9 años
derkostka
1c22b1f626
Fix Undefined variable: result at tags.php#231
Fix app":"PHP","message":"Undefined variable: result at \/var\/www\/owncloud\/lib\/private\/tags.php#231" by moving the function call into the respective loop
Adjust indentation
Do it right - indentation
sorry, this is my first one
hace 9 años
Vincent Petry
cae600722e
Add getTagsForObjects in ITags
Returns the list of tags that are set on the given object ids.
hace 9 años
Bernhard Reiter
b416f7d8ac
PHPDoc fixes as suggested by @MorrisJobke.
hace 9 años
Bernhard Reiter
1770179648
Add getTag() function for accessing of a single tag.
hace 9 años
Bernhard Reiter
bc265e8b52
Make loading of tags from DB more explicit.
hace 9 años
Bernhard Reiter
226d7233e1
In Tags::rename($from, $to), check if there already is a tag named $to.
hace 9 años
Bernhard Reiter
7e9baafc53
Add option to include tags for shared items.
hace 9 años
Bernhard Reiter
7963125c41
Remove two obsolete try...catch blocks.
hace 9 años
Bernhard Reiter
5471189fe6
Implement Tag and TagMapper classes.
Subclassed from \OCP\AppFramework\Db\Entity and Mapper,
respectively. This will allow us to also deal with shared tags.
hace 9 años
Bernhard Reiter
cf6fb2c2e4
Remove redundant null initializations.
hace 9 años
Bernhard Reiter
3e5d725502
Test addMultiple() with $sync=true.
hace 9 años
Robin Appelman
d0266c0bf8
Use public api for getting l10n
hace 9 años
Robin McCorkell
87b548ed91
Fix all PHPDoc types and variable names, in /lib
hace 10 años
Thomas Tanghus
b54b0b2153
Yet another cleanup
hace 10 años
Jörn Friedrich Dreyer
2a6a9a8cef
polish documentation based on scrutinizer patches
hace 10 años
Thomas Tanghus
a3fbad43c1
Use DEBUG instead of ERROR when favourites not found. Fix #6419
hace 10 años
Thomas Müller
8e0060405d
reorganize file in lib
hace 10 años
Thomas Tanghus
aaed871cee
Add factory class for the server container.
hace 10 años
Thomas Tanghus
60bff6c589
Use fetchOne() instead of numRows() when doing a COUNT(*).
hace 10 años
Thomas Tanghus
be402fab53
Forgot to return false if add() didn't add anything.
hace 10 años
Thomas Tanghus
8a02afd87a
Added more error checking in add()
hace 10 años
Thomas Tanghus
1bbeb12e2e
Updated method names and added a few more tests.
hace 10 años
Thomas Müller
b63acdb125
fixing namespaces and rename hasCategory to hasTag
hace 10 años
Thomas Tanghus
45f73feb69
OC_VCategories=>OC\Tags. Public interface + getter in server container
hace 10 años