Commit graph

1340 commits

Author SHA1 Message Date
007183450a Context and column list for article queries
Sorting and transformation still need to be figured out
2021-02-01 21:02:46 -05:00
197cbba77d Document article column definitions 2021-02-01 15:48:44 -05:00
ddbcb598e8 Match more closely Miniflux query string behaviour
- The starred key is a simople boolean whose value is immaterial
- Blank values are honoured for keys other than starred and status
2021-01-31 10:44:27 -05:00
bb89083444 Perform strict validation of query parameters
This is in fact stricter than Miniflux, which ignores duplicate values
and does not validate anything other than the string enumerations
2021-01-30 21:37:19 -05:00
1e924bed83 Partial query string normalization 2021-01-30 13:38:02 -05:00
3b2190ca10 Include folder names directly in subscription list 2021-01-28 14:55:18 -05:00
ad094f5217 Don't return icons without types at all 2021-01-27 13:41:10 -05:00
cd5f13f4b9 Tests for icon querying 2021-01-27 11:53:07 -05:00
76f1cc8e91 Adjust users of subscriptionIcon 2021-01-26 13:44:44 -05:00
cc2672fb0a Improve icon fetching interface 2021-01-26 12:03:26 -05:00
1eea3b3a4c Fix feed update test 2021-01-26 10:32:27 -05:00
8e749bb73c Report 404 on icons for absence of data
This is significant as upgraded databases have icon IDs, but no data
2021-01-25 09:02:52 -05:00
bdf9c0e9d2 Prototype feed icon querying 2021-01-24 21:53:45 -05:00
9197a8d08b Implement feed deletion 2021-01-24 21:12:32 -05:00
8eebb75b18 Implement feed editing 2021-01-24 20:28:00 -05:00
5a8a044a92 Implement single-feed querying 2021-01-24 13:54:54 -05:00
a646ad77b7 Use a read transaction when computing filter rules 2021-01-24 11:45:08 -05:00
cca4b205e4 Correct error output of getCategoryFeeds 2021-01-24 11:33:00 -05:00
a34edcb0d1 Last tests for feed creation 2021-01-24 11:25:38 -05:00
7893b5f59d More feed adding tests 2021-01-23 18:01:23 -05:00
36cc4928b9 Test feed fetching errors for Miniflux 2021-01-23 12:00:11 -05:00
727864f401 Implement feed listing by category
Also modify user list to reflect changes in Miniflux 2.0.27.
2021-01-22 18:24:33 -05:00
4972c79e32 Allow simpler feed exception creation 2021-01-21 22:44:22 -05:00
6936f365e4 Add calls coming in next version of Miniflux 2021-01-21 11:11:25 -05:00
fd25be5c27 Basic tests for feed creation 2021-01-20 18:28:51 -05:00
e7b2f54183 Prototype feed creation 2021-01-19 23:17:03 -05:00
14d2d19ae1 Tests for Miniflux feed listing 2021-01-17 13:02:31 -05:00
2cf4bf0d4d Prototype Miniflux feed listing 2021-01-16 22:52:07 -05:00
86897af0b3 Add ability to enable scraper
Also transfer any existing scraper booleans on database upgrade. It was
previously possible to enable scraping manually by editing the database,
and these settings will be honoured.
2021-01-16 19:06:20 -05:00
7897585d98 Test scraping
Text search should also match scraped content when appropriate
2021-01-16 17:58:31 -05:00
76f70119fd More work on scraping 2021-01-16 16:48:35 -05:00
4cb23dd198 Partial implementation of proper content scraping 2021-01-16 14:24:01 -05:00
e74b44cc39 Change favicon to icon_url and add icon_id 2021-01-15 23:15:22 -05:00
2536c9fe03 Last tests for article filters 2021-01-15 23:02:33 -05:00
9f2b8d4f83 Imprement setting of filter rules 2021-01-14 12:42:33 -05:00
618fd67f80 Set marks for filtered articles on feed refresh 2021-01-13 14:54:22 -05:00
7a6186f2d7 Update Miniflux documentation 2021-01-13 14:43:29 -05:00
097362881b Tests for filtering during feed parsing 2021-01-11 23:12:43 -05:00
a4146ec129 Start on test for filtering during feed parsing 2021-01-11 09:53:09 -05:00
9e29235d87 Don't fetch from example.com during tests 2021-01-08 16:46:21 -05:00
549c7bdc72 Style fixes 2021-01-08 15:47:19 -05:00
4f34b4ff29 Rule refactoring
- The Database class is now responsible for preparing rules
- Rules are now returned in an array keyed by user
- Empty strings are now passed through during rule preparation
2021-01-08 14:17:46 -05:00
c1eff8479c Simplify configuration property caching 2021-01-07 19:49:09 -05:00
6dba8aa66b Fixes for rules
- Whitespace is now collapsed before evaluating rules
- Feed tests are fixed to retrieve a dumy set of rules
- Rule evaluation during feed parsing also filled out
2021-01-07 15:08:50 -05:00
461e256052 Work around MySQL syntax weirdness
Also improve test for token translation to actually test that the
translated tokens are accepted by the database system
2021-01-07 10:12:38 -05:00
47ae65b9d3 Function to apply filter rules 2021-01-03 22:15:39 -05:00
b12f87e231 Support Xdebug 3.x for coverage 2021-01-03 16:51:25 -05:00
ffc5579a7a Partial implementation of filter rule handling 2021-01-03 16:41:15 -05:00
7e17332714 Implement marking all as read for Miniflux 2020-12-31 17:50:40 -05:00
31f0539dc0 Implement Miniflux user deletion 2020-12-31 17:03:08 -05:00