aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Db/Entity.php
Commit message (Collapse)AuthorAgeFilesLines
* Refactors "strpos" calls in lib/public to improve code readability.Faraz Samapoor2023-06-051-4/+4
| | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
* Improve typing in Entity.phpCôme Chilliet2023-01-201-12/+14
| | | | | | Removing @method in Entity brings even more errors. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix reading blob data as resourceThomas Citharel2022-07-251-0/+3
| | | | | | | | | | | | | | | | PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB (which is used for QBMapper). Previously we just converted this resource using settype, which produced things like "Resource id #14" instead of the actual resource data. Now we read the stream correctly if the returned data is a resource See context at #22472 Fixes #22439 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Add a metadata service to store file metadataCarl Schwan2022-04-131-0/+4
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Deprecate entity slugsChristoph Wurst2021-12-141-0/+1
| | | | | | | They are only used a single time in the whole Nextcloud Github organization. We can inline the code there and slim down the public API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add datetime support to QBMapperJoas Schilling2021-05-011-1/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix writing BLOBs to postgres with recent contacts interactionChristoph Wurst2020-08-281-1/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-15/+11
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make isXXX available for bool properties onlyDaniel Kesselberg2019-11-161-6/+18
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add isXXX getter to EntityChristoph Wurst2019-10-221-9/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix othersJoas Schilling2016-07-211-1/+2
|
* Move \OCP\AppFramework to PSR-4Roeland Jago Douma2016-05-061-0/+253