J. King
4a87926dd5
Fix up context tests
2 years ago
J. King
6f1332c559
Start to shore up testing
2 years ago
J. King
983fa58ec8
Convert article and edition ranges to atomic
Unit tests for ranges are still missing
2 years ago
J. King
2c2bb4a856
Retrofits dates to use ranges
Article and edition ranges still need work
2 years ago
J. King
ad32bf3340
Style fixes
3 years ago
J. King
2348786a92
Start on replacing Phake with Phony
3 years ago
J. King
90034ac1f8
Style fixes
3 years ago
J. King
54a6fcc0d6
Consolidate object factoriesinto one place
3 years ago
J. King
549c7bdc72
Style fixes
3 years ago
J. King
4f34b4ff29
Rule refactoring
- The Database class is now responsible for preparing rules
- Rules are now returned in an array keyed by user
- Empty strings are now passed through during rule preparation
3 years ago
J. King
6dba8aa66b
Fixes for rules
- Whitespace is now collapsed before evaluating rules
- Feed tests are fixed to retrieve a dumy set of rules
- Rule evaluation during feed parsing also filled out
3 years ago
J. King
47ae65b9d3
Function to apply filter rules
3 years ago
J. King
ffc5579a7a
Partial implementation of filter rule handling
3 years ago
J. King
d5cd5b6a17
Implement hidden marks
Tests are still needed
3 years ago
J. King
e60f7ea03f
Add class constant visibility
4 years ago
J. King
bc53a2d24a
Style fixes
4 years ago
J. King
b5f118e8cb
Cleanup
4 years ago
J. King
bbace7a0ac
Use void and nullable return types where practical
4 years ago
J. King
5838af892f
Replace references to Zend with Laminas
4 years ago
J. King
c59cdfef76
Whitespace fixes
5 years ago
J. King
b6dd8ab20d
Improvements to and proper tests for query builder
5 years ago
J. King
c706a76057
Simplify array flattening
5 years ago
J. King
c3643fba10
Tests for URL::absolute()
5 years ago
J. King
17a2fa96f8
Upgrade to PHPUnit 8
5 years ago
J. King
1809fb254e
Deal with trailing whitespace in media types
5 years ago
J. King
4f5a8e3180
Make media type checking more robust
5 years ago
J. King
c5337b37b4
Consolidate creation of synthetic server requests
5 years ago
J. King
29667464a1
Remove unnecessary namespace imports
5 years ago
J. King
0eb0fbcc0d
Also normalize relative URLs
5 years ago
J. King
3439895779
Normalize URLs before establishing feed uniqueness
5 years ago
J. King
bd71ddb929
Percent-encoding and IPv6 normalization
5 years ago
J. King
d4802bcdb6
Handle IDNs
While IPv6 address normalization was originally planned, this was deemed
too much effort to bother with such a niche feature; IPv6 addresses are
instead passed through unmodified
5 years ago
J. King
dc750acf07
Handle ports, paths, and credentials correctly
5 years ago
J. King
13c27c2536
Start on URL normalizer
5 years ago
J. King
ba32ad2f17
Add context options for multiple tags, labels, etc
5 years ago
J. King
5de1844f6d
Add article selection by tag
5 years ago
J. King
18d52ea402
Make exclusion contexts return their parent on change
5 years ago
J. King
b950ac066f
Restrict options in not-context and hopefully make it easier to use
5 years ago
J. King
f4a74eec5d
Add all the other context options allowed by the TTRSS search syntax
5 years ago
J. King
2df7c25b66
Add ability to search note text
5 years ago
J. King
ace94e3ef8
Fix context, and context tests
5 years ago
J. King
500851f161
Style fixes
5 years ago
J. King
b0643de21c
Add handling of DateInterval objects to ValueInfo
5 years ago
J. King
0513b606c2
Merge master
6 years ago
J. King
f7b9a2a6cf
Fixes for PHPUnit 7
6 years ago
J. King
0129965bbd
Cover some missed code
6 years ago
J. King
7340d65c0e
Make data clearing in tests static
6 years ago
J. King
f64f0c6a22
Whitespace cleanup
6 years ago
J. King
cbc9491f75
CS fixes and version bump
6 years ago
J. King
27caf147df
Changes to Date helper class
- Changed 'transform' method to use ValueInfo throughout. This fixes a number of obscure bugs
- Changed the 'add' and 'sub' methods to default to "now" rather than null. This means null passes through rather than being interpreted as the current time, to be consistent with other date tools
- Also changed the 'add' and 'sub' methods so that they operate correctly with invalid date strings
- Added tests for the class; improves #66
- Modified TTRSS tests because the "iso8601" format string in ValueInfo is different from Date's older format
6 years ago