J. King
52104fb647
Implement article cleanup; fixes #28
7 years ago
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
7 years ago
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
7 years ago
J. King
3b018c89d1
Implemented cleanup of orphaned feeds; fixes #25
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
17ec6cf669
Move date formatting out of SQL and standardize on the DateFormatter trait
Fixes #56
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
dd24246f49
Finished last of feedUpdate tests; implemented NCN API functions
- Fixes #26
- Fixes #27
7 years ago
J. King
0514321a76
Save enclosures and categories properly in feedUpdate
7 years ago
J. King
c6b7e653c5
Tests for feedUpdate and feedListStale
The update process neglects to handle enclosures; this will have to be fixed
7 years ago