J. King
669e17a1f6
Add ability to discover multiple feeds
2020-12-01 17:12:19 -05:00
J. King
50fd127ac4
Test for icon fetching
2020-11-05 10:14:42 -05:00
J. King
c25782f98c
Partial icon handling skeleton
2020-11-04 20:00:00 -05:00
J. King
bc53a2d24a
Style fixes
2020-03-01 15:16:50 -05:00
J. King
39a1895867
Refine and cover new Guzzle error handling
2020-02-03 16:54:45 -05:00
J. King
49d003082d
Fix problems with nicolus/picofeed
...
This involved multiple fixes to Picofeed itself, not all of which have
been merged upstream yet
2020-01-23 17:07:20 -05:00
J. King
e583ffea67
Start on integrating well-maintained picofeed fork
...
Picofeed configuration does not seem to get passed to Guzzle.
2020-01-21 08:42:38 -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
eb120b4629
Fetch in three hours if caching is via etag
2019-07-27 11:03:17 -04:00
J. King
a5049ac646
Remove reference to PicoFeed in the User-Agent string
...
PicoFeed is dead, so there's no point.
2019-01-23 09:21:35 -05:00
J. King
81acba90dc
Use strict equality when comparing strings
2019-01-11 10:38:06 -05:00
J. King
e2b6cb8360
Remove PicoFeed-related FIXMEs
...
PicoFeed will never be fixed, so they are not helpful
2018-11-20 15:46:22 -05:00
J. King
f64f0c6a22
Whitespace cleanup
2018-10-26 14:58:04 -04:00
J. King
89bfc23d32
Standardize date normalization to immutables
...
Also move date formats to the ValueInfo class
Standardizing on immutables avoids any possible ambiguity in the API of the resultant value, as well as any ambiguity as to whether a DateTime output instance is the same instance or a clone (they had been clones)
2018-01-02 16:27:58 -05:00
J. King
79f9808f1f
CS fixes
2017-12-07 15:18:25 -05:00
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
2017-11-16 20:23:18 -05:00
J. King
a80e283abc
Perform feed discovery correctly; fixes #118
2017-10-02 11:53:52 -04:00
J. King
1b72d45adf
Relegate bootstrap.php to testing; fixes #117
2017-10-01 09:33:49 -04:00
J. King
3482a35e54
Implement feed discovery; fixes #110
2017-09-30 11:43:43 -04:00
J. King
f7e50fe95d
Passed code through linter
2017-08-29 10:50:31 -04:00
J. King
78faf88563
Implemented configuration exporting; fixes #63
...
Default user agent string creation moved to Feed class as a consequence of difficulties in exporting it reliably
2017-07-27 09:09:39 -04:00
J. King
d3bca6eb47
More code coverage accommodation
2017-07-20 22:40:09 -04:00
J. King
3a26c75044
Tests for Database::meta*() functions
...
Improves #49
2017-07-18 16:38:23 -04:00
J. King
feadf51096
Workaround for picoFeed memory leak. Fixes #58
2017-07-18 12:52:26 -04:00
J. King
aaa4d1e988
Basic support for PicoFeed content scraping
...
- At the moment this is a completely manual setting: feed deduplication makes the setting very hard to handle for multiple users
- Improves #60
2017-07-17 14:56:50 -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
d4674c61b2
More bug fixes
...
- use DateFormatter throughout the Feed class
- Ensure dates have TEXT affinity in SQLite, in case it matters
- Add a userPreAuth setting for when relying on the Web server to do authentication
2017-07-15 13:33:17 -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
0ab6210214
Fix feed ID discovery so it doesn't short-circuit the item loop
2017-06-03 13:43:58 -04:00
J. King
ba61ca2b2c
Add category list to feed items
2017-06-03 11:16:26 -04:00
J. King
5b8f23441c
Feed tests: article matching
...
These should be the last required tests for the Feed class
2017-05-30 20:18:04 -04:00
J. King
3e5343e3e8
Feed tests: last set of next-fetch tests, with fixes
2017-05-27 23:14:43 -04:00
J. King
7656de716b
Feed tests: fetching and parsing
2017-05-27 18:15:52 -04:00
J. King
c800852f3a
Remove stubs to support non-HTTP authentication
...
Also removes authPreferHTTP setting
2017-05-26 13:06:06 -04:00
J. King
6771e8916a
Fixed more Feed bugs
...
- Two items with differing IDs but identical hashes were matching in the deduplicator; they shouldn't
- They would also match in the database matcher, and shouldn't
- The second-pass database matcher was overaggressively finding items as new
2017-05-23 22:15:57 -04:00
J. King
fd7d1c3192
Fixes to Feed class for bugs uncovered by initial deduplication tests
...
Three bugs:
- The parser wrapping was generating hashes for fallback values in absence of actual values for both URL and title (which is valid if obscure RSS), URL and content, or title and content; now fallback values are detected and empty strings used instead of hashes
- The deduplicator was assuming all three hashes would always exist, which is no longer the case
- The database matcher was making the same assumption as the deduplicator
2017-05-23 20:39:29 -04:00
J. King
ed3e3c12d6
More Feed tests: more cache header handling
2017-05-22 13:01:38 -04:00
J. King
adfb22e922
macOS fixes
2017-05-21 21:49:54 -04:00
J. King
97a8f473a7
More Feed tests; Linux fixes
...
- Adjusted some namespace case
- Included Linux test runner; should also work with macOS
- Made the PHP server run in the background on Windows
2017-05-21 19:51:03 -04:00
J. King
c2a7ad7b19
Optimize initial feed update
2017-05-04 22:43:18 -04:00
J. King
9c7f4710aa
Fix feed fetching
...
There are almost certainly other bugs; proper tests forthcoming
2017-05-04 14:42:40 -04:00
J. King
3bc9082cfa
Integrated adaptive update intervals Fixes #51
2017-04-30 17:54:29 -04:00
J. King
3b4d79abc8
Implement second part of adaptive update interval; improves #51
...
Implements part of algorithm used when feed has been updated
2017-04-27 09:47:40 -04:00
J. King
2e64e60f2e
Implement part of adaptive update interval; improves #51
...
Implements part of algorithm used when a feed has not been updated; this is much simpler than when a feed has been modified
2017-04-24 21:51:56 -04:00
J. King
f842439b01
Deduplicate feed items within the feed itself
2017-04-23 13:12:33 -04:00
J. King
93c010d3d5
Move feed item change detection to Feed class
2017-04-22 23:40:57 -04:00
J. King
818707b067
Fix adding a subscription (again)
...
Also ensured HTTP last modified date is parsed properly.
2017-04-06 20:50:47 -04:00
Dustin Wilson
25aeaf4801
Grab favicon from site's URL, not the feed's
...
• Changed Feed to where the favicon is gotten when parsing so the
feed’s site URL is used instead of the feed’s for favicons. Some feeds
don’t have the same domain.
• Fixed a bug in Database.
2017-04-02 21:23:15 -05:00
J. King
dc9f5e545e
Fix adding a feed
...
Also start on handling the v1-2 API
2017-04-01 15:42:10 -04:00