summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2022-02-27Use rawurlencode as it encodes spaces correctly as %20Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-12-03let Symfony handle the defualt vote valueBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-30Fix catching connect exceptions while fetching feed logos #1570Michael Hamann
Display the message instead of the response when catching an exception during feed logo fetching. As there is no response and thus no method `getResponse()` in `ConnectException`, this fixes a "call to undefined method"-error that prevented feeds from fetching if fetching the logo resulted in a `ConnectException`. Signed-off-by: Michael Hamann <michael@content-space.de>
2021-11-18Fix code styleBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-18chore: use executeStatement instead of executeUpdateSean Molenaar
Signed-off-by: Sean Molenaar sean@seanmolenaar.eu Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-11-14Catch network errors while fetching feed logos, fixes #1570Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-18Smarter error logging Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2021-10-18make use of constant Benjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2021-10-18make use of base_url to handle relative urlsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-18Download feed logos via guzzle to have better error handlingBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-10-03Fix spelling of receiveDaniel Rheinbay
recive => receive Signed-off-by: Daniel Rheinbay <danielrheinbay@gmail.com>
2021-07-24Update all feeds from commandDavid Baucum
Closes #1359 Signed-off-by: David Baucum <david@baucum.me>
2021-06-16Search: add feed searchSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-06-16๐Ÿš‘ Item: set id to null in clone functionMarco Nassabain
This is done to set the id to null BEFORE resetting the updated fields. The purpose of this is to avoid explicitly adding a NULL id into the DB, which provokes an error in some DBMS (like postgres). Fixes #1375 Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-06-01Chore: implement removals from #935Sean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-05-27db: no longer order by items.last_modifiedSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu> Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-05-27controller: getRead + all_items is now unread typeSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu> Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-05-03[Backport] Prevent some of the favicon fetching errorsBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-04-24Search: Fix app prefix in search redirectSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-24replace deprecated getDescription callanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-04-14DB: only sort on item IDsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-10Search: Fix and test folder searchSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-08๐Ÿ”ฅ Remove changes to back-end from front-end prMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08(+) Adding sharing_user names to EVERY articles + pre-condition if โ†ตJimmy Huynh
sharedArticle: no title feed (e.g.: from wikiRSS...) Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿฉน Item: change $sharedBy to string|null in annot.Marco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐ŸŽจ Rename $l to $l10nMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿฉน Fix sharedByDisplayName bug:Marco Nassabain
- setting sharedByDisplayName shouldn't mark it as updated Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08โœ๏ธ Fix comments in ShareServiceMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08โœจ Add sharer display name into shared itemsMarco Nassabain
- Add mapSharedByDisplayNames in ShareService - Update ItemController to call function on items Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿ”ฅ Remove UserManager code from ItemMapper & testsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐ŸŽจ Type hint ItemController share functionmnassabain
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com> Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08โœ๏ธ Fix phpcs indentation errorMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿฉน Fix issues after rebaseMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿฉน Item: mark categoriesJson as updated in cloneMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿ—ƒ Update share migration versionMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08โœจ Item: add sharer display name in findEntitiesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08โœจ Update Item model: add sharedByDisplayNameMarco Nassabain
- added field + setters + getters - include field in serialized Item Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿงน ShareService: rename $url to $urlGeneratorMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐ŸŽจ ShareService: update dummy feed URLMarco Nassabain
- add IURLGenerator DI - update url to "http://serverurl/news/sharedwithme" - updated tests: added DI + adapted expected url Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐ŸŒ ShareService: Localize dummy feed titleMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08โ™ป๏ธ Item: Remove isSharedMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿงน Cleanup code, remove spaces, rename variablesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐ŸŽจ Share migration: remove shared_by default valueMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿš‘ Fix newsItem insert errorMarco Nassabain
- add Item::__clone method resetting updated fields - set item id to null in ShareService Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿš‘ Fix exception handling in ShareServiceMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿš‘ Fix ItemController::shareMarco Nassabain
- call correct ShareService function - correct ShareService className annotation Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿš‘ Fix errors in ShareServiceMarco Nassabain
- change argument $id to $itemId - import Exceptions Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿฉน Patch ItemController + test to use ShareServiceMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐Ÿš‘ Fix circular inclusion: create ShareServiceMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08๐ŸŽจ Update share migrationMarco Nassabain
- remove shared_with column - make shared_by nullable Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>