J. King
549c7bdc72
Style fixes
4 years ago
J. King
5ec04d33c6
Add backend functionality to rename users
4 years ago
J. King
d66cf32c1f
Style fixes
4 years ago
J. King
ebdfad535c
More Miniflux user tests
Also added user lookup functionality
4 years ago
J. King
a431243421
Fixes for MySQL and PostgreSQL
4 years ago
J. King
fcf1260dab
Adjust database portion of user property manager
4 years ago
J. King
978929aabd
WIP redesign of user properties
4 years ago
J. King
e16df90bae
Style fixes
4 years ago
J. King
7f2117adaa
Differentiate between duplicate/missing users and other failure modes
4 years ago
J. King
4baf5fa2f9
Tests for new user functionality in Database
4 years ago
J. King
771f79323c
Strip out remnants of the authorizer
4 years ago
J. King
4db1b95cf4
Add numeric IDs and other Miniflux data to SQLite schema
4 years ago
J. King
b5f118e8cb
Cleanup
5 years ago
J. King
bbace7a0ac
Use void and nullable return types where practical
5 years ago
J. King
29667464a1
Remove unnecessary namespace imports
5 years ago
J. King
2628ff7bf4
Make database test helpers generic
5 years ago
J. King
e45ba3f0ea
Add means of unsetting a password in the backend
6 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
6 years ago
J. King
a75fad53ca
Adapt the rest of the test series
6 years ago
J. King
7340d65c0e
Make data clearing in tests static
6 years ago
J. King
39110858b7
Move database function test series as first step in re-organization
6 years ago
J. King
931fe3b585
Move password generation to the User class
This allows user drivers which wish to generate their own passwords to
do so, and those which do not to defer to the built-in generator
6 years ago
J. King
11747c93fd
Strip out unused user management functionality
Tests have been removed as well; new tests are forthcoming
6 years ago
J. King
f64f0c6a22
Whitespace cleanup
6 years ago
J. King
11b2066922
Added per-file legal boilerplate
Includes PHPDoc license tag in the file-level block with accompanying copyright notice.
Also added an AUTHORS file on the off chance of outside contributions
7 years ago
J. King
26f6922b25
Partially implement labels
- Backend functions for adding, listing, removing, and editing (renaming) labels currently implemented
- TTRSS functions for adding (fixes #96 ), removing (fixes #97 ), and renaming (fixes #98 ) labels currently implemented
7 years ago
J. King
f7e50fe95d
Passed code through linter
7 years ago
J. King
4066bba05e
Full code coverage for Database class
- Fixes #49
7 years ago
J. King
da092d5f8c
Changed Misc\DateFormatter to a collection of static methods and renamed it to Date; renamed Data to Arsse to avoid confusion and better reflect its centrality
7 years ago
J. King
7e458dddbc
More test re-organization
7 years ago
J. King
845b47e656
Re-organize test data for Database tests
7 years ago
J. King
82e4838162
Re-organize Database tests
- Test files now consist entirely of traits:
- General setup trait mocking User class and cleaning up
- Driver trait to set up the database connection
- Series trait containing tests for the series, independent of driver used
8 years ago
J. King
dbd735f1f3
Full set of tests for user-related Database funcs
- Fixed a few inconsistencies and bugs along the way
- User manager tests need some equivalent fleshing out
8 years ago