J. King
3ef1177f06
Remove driver lists
5 years ago
J. King
a143c86136
Set up test better
5 years ago
J. King
3da884dfbc
Don't embed ito SQL strings with question marks
Fixes #175
5 years ago
J. King
be5ad50f54
Tests for text search clause generator
5 years ago
J. King
d0f780d4e6
Unit tests for IN() clause generator
5 years ago
J. King
29667464a1
Remove unnecessary namespace imports
5 years ago
J. King
3439895779
Normalize URLs before establishing feed uniqueness
5 years ago
J. King
16530b9a66
Probably test for feed redirection bug
5 years ago
J. King
b8b559b0f8
Correct spuriously failing tests
5 years ago
J. King
db5bcb78a3
Fix lookup of evergreen tokens
5 years ago
J. King
f7240301e4
Basic database maintenance
Closes #169
5 years ago
J. King
422eaf9605
Invalidate sessions on password change; closes #170
5 years ago
J. King
2628ff7bf4
Make database test helpers generic
5 years ago
J. King
6ef13d0880
Style fixes
5 years ago
J. King
3899ee6b4e
Allow for replacing label and tag associations
This supplements adding and removing
5 years ago
J. King
e3d2215920
Style fixes
5 years ago
J. King
12f23ddc16
Updated tests for arbitrary sorting
5 years ago
J. King
f72c85c9f6
Hopefully working but maybe broken custom sorting
5 years ago
J. King
74fc39fca0
Implement multi-folder context option
5 years ago
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.
5 years ago
J. King
98f6fca7e3
Enforce minimum array size (for now)
5 years ago
J. King
ef1b761f95
Implement most multiple-item context options
Selecting multiple folder trees will require further effort
5 years ago
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.
5 years ago
J. King
e45ba3f0ea
Add means of unsetting a password in the backend
5 years ago
J. King
94314f3e6d
Fix test errors when PostgreSQL or MySQL are not available
5 years ago
J. King
86d52c8ff9
Fix test errors when PostgreSQL or MySQL are not available
5 years ago
J. King
b02c910b1e
Make token creation check that the user exists
5 years ago
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
5 years ago
J. King
5de1844f6d
Add article selection by tag
5 years ago
J. King
e6f70527cf
Simplify tag summary
5 years ago
J. King
ff0c9a3a55
Add functionality for interacting with subscription tags
5 years ago
J. King
e2cba68c1b
Clarify various SQL queries
5 years ago
J. King
4945f8baa3
Clarify various SQL queries
5 years ago
J. King
44366f48bf
Remove arbitrary search term limits; fixes #150
5 years ago
J. King
21fdd66d37
Work around limit to SQL parameter placeholders for IN() clauses
Improves #150
LIKE-based matches also need to be similarly conservative
5 years ago
J. King
95de375e0b
Handle folder and label exclusion
Consequently the way label data are retrieved was completely overhauled
5 years ago
J. King
677e33e518
Add text search exclusions
5 years ago
J. King
0dc82f64d5
Allow ranges in exclusion contexts
5 years ago
J. King
b950ac066f
Restrict options in not-context and hopefully make it easier to use
5 years ago
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
5 years ago
J. King
2df7c25b66
Add ability to search note text
5 years ago
J. King
bc3182a961
Basic substring searching
5 years ago
J. King
5cd84c4ab4
Validate configuration parameters on import, and other changes
- Each parameter is checked for type and normalized
- Interval strings are converted to DateInterval objects
- Timeouts can be specified as interval strings
- Most intervals can be null to signify infinity
- Driver classes are checked that they implement the correct interface
- Short driver names may be used, and are used by default
- Helpful errors messages are printed in case of erroneous configuration
Exporting is currently broken; this will be fixed in an upcoming commit
5 years ago
J. King
e501fbdc87
Remove the DatabaseInformation class in tests and use traits instead
5 years ago
J. King
0513b606c2
Merge master
6 years ago
J. King
cf896121b2
Style fixes
6 years ago
J. King
f2245861e3
Restore complete Database coverage
Also suppress PostgreSQL database function tests from normal coverage,
and add a "coverage:full" task to run them if needed.
6 years ago
J. King
51755a2ce6
Retire article field groups
6 years ago
J. King
0129965bbd
Cover some missed code
6 years ago
J. King
22941f5ad1
Fix session tests
PostgreSQL now passes all tests. Connection and permission errors still
need to be accounted
for before the implementation is complete.
6 years ago