J. King
2cf4bf0d4d
Prototype Miniflux feed listing
2021-01-16 22:52:07 -05:00
J. King
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
J. King
7897585d98
Test scraping
...
Text search should also match scraped content when appropriate
2021-01-16 17:58:31 -05:00
J. King
4cb23dd198
Partial implementation of proper content scraping
2021-01-16 14:24:01 -05:00
J. King
e74b44cc39
Change favicon to icon_url and add icon_id
2021-01-15 23:15:22 -05:00
J. King
2536c9fe03
Last tests for article filters
2021-01-15 23:02:33 -05:00
J. King
9f2b8d4f83
Imprement setting of filter rules
2021-01-14 12:42:33 -05:00
J. King
618fd67f80
Set marks for filtered articles on feed refresh
2021-01-13 14:54:22 -05:00
J. King
549c7bdc72
Style fixes
2021-01-08 15:47:19 -05:00
J. King
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
J. King
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
J. King
5ec04d33c6
Add backend functionality to rename users
2020-12-25 17:47:36 -05:00
J. King
88cf3c6dae
Test filter rule retrieval
2020-12-23 09:38:22 -05:00
J. King
d66cf32c1f
Style fixes
2020-12-22 16:13:12 -05:00
J. King
a81760e39d
Aggressivly clean up hidden articles
...
Notably, starred articles are cleaned up if hidden
2020-12-22 15:17:18 -05:00
J. King
f0bfe1fdff
Simplify editionLatest Database method
...
Also adjust label querying to take hidden marks into account
2020-12-20 17:34:32 -05:00
J. King
8527c83976
Exclude hiddens from subscription unread count
...
Also fix a bug that would result in the unread count being null if
no marks existed
2020-12-20 11:55:36 -05:00
J. King
97010d8822
Tests for marking articles hidden
2020-12-19 10:59:40 -05:00
J. King
86c4a30744
Adjust articleStarred function to discount hidden
2020-12-17 18:12:52 -05:00
J. King
8ae3740d5f
Implement querying articles by hidden mark
2020-12-15 19:28:51 -05:00
J. King
d5cd5b6a17
Implement hidden marks
...
Tests are still needed
2020-12-15 13:20:03 -05:00
J. King
ebdfad535c
More Miniflux user tests
...
Also added user lookup functionality
2020-12-10 20:08:00 -05:00
J. King
5c83655541
Add modification timestamp to user metadata
2020-12-08 16:10:23 -05:00
J. King
2eedf7d38c
Finally fix MySQL
2020-12-07 09:52:42 -05:00
J. King
ce68566fcb
Hopefully fix MySQL
2020-12-06 20:27:20 -05:00
J. King
a431243421
Fixes for MySQL and PostgreSQL
2020-12-06 13:17:19 -05:00
J. King
fcf1260dab
Adjust database portion of user property manager
2020-12-05 22:13:48 -05:00
J. King
978929aabd
WIP redesign of user properties
2020-12-05 11:01:44 -05:00
J. King
06dee77bac
First tests for Miniflux
2020-11-23 09:31:50 -05:00
J. King
f6cd2b87ce
Port token data from Microsub branch
2020-11-18 11:25:28 -05:00
J. King
e16df90bae
Style fixes
2020-11-16 10:26:14 -05:00
J. King
180b4ecc9b
More user tests
2020-11-16 10:24:06 -05:00
J. King
7f2117adaa
Differentiate between duplicate/missing users and other failure modes
2020-11-15 16:24:26 -05:00
J. King
4baf5fa2f9
Tests for new user functionality in Database
2020-11-13 19:30:23 -05:00
J. King
771f79323c
Strip out remnants of the authorizer
2020-11-09 16:51:30 -05:00
J. King
532ce4a502
Prototype changes to user management
...
The driver itself has not been expnaded; more is probably required to ensure
metadata is kept in sync and users created when the internal database does
not list a user an external database claims to have
2020-11-09 13:43:07 -05:00
J. King
b62c11a43e
Lasts tests for icon cache; fixes #177
2020-11-07 08:11:06 -05:00
J. King
311910795a
More tests for icon cache
2020-11-06 17:06:01 -05:00
J. King
3d3c20de5c
Don't anticipate API features
2020-11-06 15:57:27 -05:00
J. King
424b14d2b4
Clean up use of subscriptionFavicon
2020-11-06 10:27:30 -05:00
J. King
dd1a80f279
Consolidate subscription icon querying
...
Users and tests still need adjusting
2020-11-05 18:32:11 -05:00
J. King
4fc208d940
More consistent icon API
2020-11-05 16:51:46 -05:00
J. King
c3a57ca68b
Tests for icon cache population
2020-11-05 14:19:17 -05:00
J. King
7c40c81fb3
Add icons to the database upon feed update
2020-11-05 08:13:15 -05:00
J. King
c25782f98c
Partial icon handling skeleton
2020-11-04 20:00:00 -05:00
J. King
2438f35f3d
Add icon cache to database
...
Feed updating has not yet been adapted to store
icon data (nor their URLs anymore)
2020-11-04 18:34:22 -05:00
J. King
16d2e01668
New schema for PostgreSQL and MySQL
2020-10-30 19:00:11 -04:00
J. King
4db1b95cf4
Add numeric IDs and other Miniflux data to SQLite schema
2020-10-30 15:25:22 -04:00
J. King
b58a326461
Prepare for schema changes
2020-10-29 11:58:45 -04:00
J. King
afbf3be031
Use 'union all' instead of 'union' in queries
2020-09-22 11:34:52 -04:00
J. King
0f3ada598e
Work around Picofeed bug
...
A fix is pending merging upstream
2020-09-09 14:52:35 -04:00
J. King
e60f7ea03f
Add class constant visibility
2020-03-01 18:32:01 -05:00
J. King
bc53a2d24a
Style fixes
2020-03-01 15:16:50 -05:00
J. King
b5f118e8cb
Cleanup
2020-01-20 13:52:48 -05:00
J. King
bbace7a0ac
Use void and nullable return types where practical
2020-01-20 13:34:03 -05:00
J. King
737dd9f6b8
Fix foreign keys in MySQL
2019-12-01 15:00:28 -05:00
J. King
3ef1177f06
Remove driver lists
2019-10-18 13:20:28 -04:00
J. King
3da884dfbc
Don't embed ito SQL strings with question marks
...
Fixes #175
2019-09-12 09:53:43 -04:00
J. King
be5ad50f54
Tests for text search clause generator
2019-09-12 09:41:01 -04:00
J. King
fb6e2babb9
Change some conditions to asserts
2019-09-12 08:32:40 -04:00
J. King
3439895779
Normalize URLs before establishing feed uniqueness
2019-09-03 19:04:23 -04:00
J. King
cfef75ccba
Don't update the feed URL when fetching
...
This can result in some unpredictable constraint violations
2019-08-06 09:58:30 -04:00
J. King
db5bcb78a3
Fix lookup of evergreen tokens
2019-07-26 20:06:47 -04:00
J. King
f7240301e4
Basic database maintenance
...
Closes #169
2019-07-26 09:37:51 -04:00
J. King
422eaf9605
Invalidate sessions on password change; closes #170
2019-07-25 22:34:58 -04:00
J. King
2aa16f3405
Merge branch 'fever' into opml
2019-07-24 14:04:04 -04:00
J. King
6ef13d0880
Style fixes
2019-05-01 22:52:20 -04:00
J. King
3899ee6b4e
Allow for replacing label and tag associations
...
This supplements adding and removing
2019-04-27 18:32:15 -04:00
J. King
2af223753d
Function to add a feed without a subscription
2019-04-21 14:07:36 -04:00
J. King
ceecd58393
OPML parsing comments and minr fixes
2019-04-21 13:10:47 -04:00
J. King
e3d2215920
Style fixes
2019-04-05 11:03:15 -04:00
J. King
12f23ddc16
Updated tests for arbitrary sorting
2019-04-04 17:21:23 -04:00
J. King
f72c85c9f6
Hopefully working but maybe broken custom sorting
2019-04-04 11:22:50 -04:00
J. King
4b133bddd6
Prototype arbitrary result ordering
2019-04-03 15:02:59 -04:00
J. King
74fc39fca0
Implement multi-folder context option
2019-04-02 22:44:09 -04:00
J. King
cce1089e10
Handle edge case with folder 0
...
Folder 0 (the root folder) is a valid, though nonsensical selection:
using it as a positive option is the same as not using the option at
all, and using it as a negative option necessarily yields an empty set.
However, it can in some contexts be validly specified, and so it should
be handled consistently. It had not been previously, but is now.
2019-04-02 19:58:35 -04:00
J. King
98f6fca7e3
Enforce minimum array size (for now)
2019-04-02 18:37:46 -04:00
J. King
ef1b761f95
Implement most multiple-item context options
...
Selecting multiple folder trees will require further effort
2019-04-02 18:24:20 -04:00
J. King
d8407330a0
Add a function to get when feeds were last updated
...
This is an optimization for Fever, which returns this information with
every API call.
2019-03-26 16:51:44 -04:00
J. King
acb3973149
Prototype implementation of Fever groups and feeds
2019-03-26 08:53:26 -04:00
J. King
e45ba3f0ea
Add means of unsetting a password in the backend
2019-03-24 14:42:23 -04:00
J. King
b02c910b1e
Make token creation check that the user exists
2019-03-10 15:54:43 -04:00
J. King
38bdde1167
Add access tokens to the db, with relevant code
...
Tokens are similar to sessions in that they stand in for users, but the
protocol handlers will manage them; Fever login hashes are the
originating use case for them. These must never expire, for example,
and we need to specify their values.
This commit also performs a bit of database clean-up
2019-03-09 16:23:56 -05:00
J. King
5de1844f6d
Add article selection by tag
2019-03-07 11:07:22 -05:00
J. King
e6f70527cf
Simplify tag summary
2019-03-07 08:20:09 -05:00
J. King
ff0c9a3a55
Add functionality for interacting with subscription tags
2019-03-06 22:15:41 -05:00
J. King
4945f8baa3
Clarify various SQL queries
2019-03-05 19:22:01 -05:00
J. King
fb1bdbfb37
Database schema for subscription tags
2019-03-03 12:10:18 -05:00
J. King
44366f48bf
Remove arbitrary search term limits; fixes #150
2019-03-02 13:53:43 -05:00
J. King
21fdd66d37
Work around limit to SQL parameter placeholders for IN() clauses
...
Improves #150
LIKE-based matches also need to be similarly conservative
2019-03-01 22:36:25 -05:00
J. King
95de375e0b
Handle folder and label exclusion
...
Consequently the way label data are retrieved was completely overhauled
2019-02-27 10:48:11 -05:00
J. King
677e33e518
Add text search exclusions
2019-02-26 11:39:19 -05:00
J. King
0dc82f64d5
Allow ranges in exclusion contexts
2019-02-26 11:11:42 -05:00
J. King
b950ac066f
Restrict options in not-context and hopefully make it easier to use
2019-02-25 22:41:12 -05:00
J. King
14c02d56ac
Implement new context options other than not().
...
Context handling has also been re-organized to simplify later
implementation of the not() option
2019-02-25 16:26:38 -05:00
J. King
2df7c25b66
Add ability to search note text
2019-02-23 20:14:52 -05:00
J. King
bc3182a961
Basic substring searching
2019-02-22 18:50:39 -05:00
J. King
17f3a2f059
Start on an API overview for the Database class
2019-02-13 12:37:41 -05:00
J. King
49cefaf5c8
Complete API documentation for the Database class
2019-02-04 13:05:48 -05:00
J. King
d3a385beef
Partial API documentation for the Database class
2019-02-03 12:25:07 -05:00