J. King
d5cd5b6a17
Implement hidden marks
Tests are still needed
4 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
7 years ago
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)
7 years ago
J. King
095fe10aec
Reorganize PDO tests into namespaces
7 years ago
J. King
59fee52074
Reorganize tests into namespaces
7 years ago
J. King
dd7d6e44b9
Further fixes for test timezone assumptions
7 years ago
J. King
3f65625090
Ensure tests do not rely in UTC default timezone
Six tests failed if the default timezone was not UTC. These were all due to faulty expectations, however, not faulty output.
7 years ago
J. King
3adfe8742f
Reorganize test cases
7 years ago