J. King
f7e50fe95d
Passed code through linter
2017-08-29 10:50:31 -04:00
J. King
52104fb647
Implement article cleanup; fixes #28
2017-08-17 22:36:15 -04:00
J. King
eeb834fe4c
Record the size of feeds upon update
...
Used to retain at least N articles when cleaning up, so that very infrequently changed feeds do not have their most recent articles purged
2017-08-14 20:07:31 -04:00
J. King
67203679aa
Changed foreign key on marks table
...
Previously arsse_marks had a reference to arsse_users along with arsse_articles; the former has now changed to arsse_subscriptions.
Consequently deleting a subscription now deletes marks. Tests have been simplified as a consequence.
This change was understaken to simplify counting valid marks on articles for the purposes of article cleanup; now all marks are valid marks
2017-08-14 17:18:18 -04:00
J. King
3b018c89d1
Implemented cleanup of orphaned feeds; fixes #25
2017-08-02 18:27:04 -04:00
J. King
4066bba05e
Full code coverage for Database class
...
- Fixes #49
2017-07-22 23:08:08 -04:00
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
2017-07-17 07:47:57 -04:00
J. King
17ec6cf669
Move date formatting out of SQL and standardize on the DateFormatter trait
...
Fixes #56
2017-07-07 15:25:47 -04:00
J. King
7e458dddbc
More test re-organization
2017-06-18 12:48:29 -04:00
J. King
845b47e656
Re-organize test data for Database tests
2017-06-18 12:24:19 -04:00
J. King
dd24246f49
Finished last of feedUpdate tests; implemented NCN API functions
...
- Fixes #26
- Fixes #27
2017-06-03 17:34:37 -04:00
J. King
0514321a76
Save enclosures and categories properly in feedUpdate
2017-06-03 14:08:33 -04:00
J. King
c6b7e653c5
Tests for feedUpdate and feedListStale
...
The update process neglects to handle enclosures; this will have to be fixed
2017-06-02 19:16:36 -04:00