summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2021-05-16controller: getRead + all_items is now unread typeSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-05-05mitigate 32-bit issues with microsecondsanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-05-03Prevent some of the favicon fetching errorsBenjamin Brahmer
change user agent for fetching the feeds log to 'NextCloud-News/1.0' check if logo in feed is just an empty string remove path of url before searching for a favicon check if file was actually downloaded Ignore http errors when fetching favicons Add feed to integration tests that doesn't have a logo Co-authored-by: Alec Kojaev <alec.kojaev@gmail.com> Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-05-02fix atom feed summary fetchinganoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-04-24Search: Fix app prefix in search redirectSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-16DB: only sort on item IDsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-12Search: Fix and test folder searchSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-08Null check category label before trying to decode (#1282)Chris Danser
* Null check category label before trying to decode Signed-off-by: skiingwiz <skiingwiz@gmail.com>
2021-04-06DB: Use boolean parameter for unread/starredSean Molenaar
Issue GH-1278 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-05DB: Allow negative limitsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-04-02Allow directly adding a feed without going through the discovery processskiingwiz
Signed-off-by: skiingwiz <skiingwiz@gmail.com>
2021-03-31DB: Updates should use set()Sean Molenaar
Issue GH-1211 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-30chore: Improve test coverageSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-29Search: Add folder search (#1215)Sean Molenaar
* Search: Add folder search Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-25Make PHPstan stricterSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-23DB: Don't show deleted feed itemsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-03-17🎨 Item: implode categories for search indexMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-03-17🎨 Item: store categories as json & add helper fnsMarco Nassabain
+ added setter/getters that work with arrays to simplify use case Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-03-17✨ Item: add categories into search indexMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-03-17✨ Add 'catagories' to jsonSerialize()Jimmy Huynh
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr>
2021-03-17♻️ Renaming 'tags' into 'categories'Jimmy Huynh
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr>
2021-03-17🐛 Fix Item model: set default value for setTagsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-03-17✨ Update FeedFetcher: import 'tags' to 'item'Jimmy Huynh
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr>
2021-03-17✨ Update 'Item' model: add 'tags' fieldJimmy Huynh
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr>
2021-03-17🗃 Add migration: 'tags' column (longtext)Jimmy Huynh
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr>
2021-03-01Actions: Integration tests using batsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-27DB: Fix offset quotesSean Molenaar
Issue GH-1200 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-23DB: Use ID as offset in item queriesSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-23Feed: Fix rename moving fileSean Molenaar
Issue #1181 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-20General: Fix folder querySean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-20Command: Add debug item list commandsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-16remove unused lastModified from feed fetcherBenjamin Brahmer
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-02-16prefer the feeds logo over the faviconBenjamin Brahmer
The logo of the feed is prefered if it is a square picture, else the favicon is returned. Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
2021-02-14update sorting columnanoy
follow-up for b4fa772bc5f23f84fc292f5d6bf884543d2bfe51 (#1056) Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-02-13Remove V1 item APISean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-10fix refetching of purged articlesanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-02-05DB: Remove unused fieldsSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-05Psalm: Fix class loadingSean Molenaar
2021-02-04fix result ordering for purging queryanoy
updated_date is currently always NULL Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-02-02fix articlesPerUpdate aliasanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-02-02Controllers: Export Starred or unread instead of andSean Molenaar
Fixes GH-1010 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-02-02fix item purger for PostgreSQLanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-01-30Mappers: Implement item purgingSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-26Base: Update psalm definition and dependency listSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-20Fetcher: Update client and add testSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-18Migration: Don't use unsigned for pubdateSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-18Controllers: Fetch feed after creatingSean Molenaar
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2021-01-17fix typo in string template valueanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-01-17fix TypeError caused by type conversion in controlleranoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2021-01-15fix TypeError in ItemMapperanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>