J. King
4080b2d09d
Apply new rules
2021-04-14 11:17:01 -04:00
J. King
2348786a92
Start on replacing Phake with Phony
2021-02-27 15:24:02 -05:00
J. King
90034ac1f8
Style fixes
2021-02-08 19:14:11 -05:00
J. King
54a6fcc0d6
Consolidate object factoriesinto one place
2021-02-06 23:51:23 -05:00
J. King
549c7bdc72
Style fixes
2021-01-08 15:47:19 -05:00
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
2021-01-08 14:17:46 -05:00
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
2021-01-07 15:08:50 -05:00
J. King
47ae65b9d3
Function to apply filter rules
2021-01-03 22:15:39 -05:00
J. King
ffc5579a7a
Partial implementation of filter rule handling
2021-01-03 16:41:15 -05:00
J. King
d5cd5b6a17
Implement hidden marks
...
Tests are still needed
2020-12-15 13:20:03 -05:00
J. King
e60f7ea03f
Add class constant visibility
2020-03-01 18:32:01 -05:00
J. King
bc53a2d24a
Style fixes
2020-03-01 15:16:50 -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
5838af892f
Replace references to Zend with Laminas
2020-01-20 10:40:05 -05:00
J. King
524b1ca140
Merge branch 'master' into phpunit-8
2019-12-06 18:26:28 -05:00
J. King
5df89009e6
Merge branch 'master' of https://code.mensbeam.com/MensBeam/arsse
2019-12-02 19:09:16 -05:00
J. King
de424e42f6
Merge branch 'master' into phpunit-8
2019-11-14 11:51:38 -05:00
J. King
c59cdfef76
Whitespace fixes
2019-10-25 15:16:35 -04:00
J. King
b6dd8ab20d
Improvements to and proper tests for query builder
2019-10-18 13:11:03 -04:00
J. King
c706a76057
Simplify array flattening
2019-10-18 13:10:03 -04:00
J. King
c3643fba10
Tests for URL::absolute()
2019-10-17 16:23:41 -04:00
J. King
17a2fa96f8
Upgrade to PHPUnit 8
2019-10-16 14:42:43 -04:00
J. King
1809fb254e
Deal with trailing whitespace in media types
2019-09-27 22:54:33 -04:00
J. King
4f5a8e3180
Make media type checking more robust
2019-09-27 22:38:03 -04:00
J. King
c5337b37b4
Consolidate creation of synthetic server requests
2019-09-25 18:30:53 -04:00
J. King
29667464a1
Remove unnecessary namespace imports
2019-09-05 10:03:32 -04:00
J. King
0eb0fbcc0d
Also normalize relative URLs
2019-09-03 19:34:56 -04:00
J. King
3439895779
Normalize URLs before establishing feed uniqueness
2019-09-03 19:04:23 -04:00
J. King
bd71ddb929
Percent-encoding and IPv6 normalization
2019-09-03 13:16:05 -04:00
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
2019-08-27 15:18:02 -04:00
J. King
dc750acf07
Handle ports, paths, and credentials correctly
2019-08-27 11:08:13 -04:00
J. King
13c27c2536
Start on URL normalizer
2019-08-26 22:13:30 -04:00
J. King
ba32ad2f17
Add context options for multiple tags, labels, etc
2019-04-02 09:32:31 -04:00
J. King
5de1844f6d
Add article selection by tag
2019-03-07 11:07:22 -05:00
J. King
18d52ea402
Make exclusion contexts return their parent on change
2019-02-25 23:37:14 -05:00
J. King
b950ac066f
Restrict options in not-context and hopefully make it easier to use
2019-02-25 22:41:12 -05:00
J. King
f4a74eec5d
Add all the other context options allowed by the TTRSS search syntax
2019-02-25 10:46:43 -05:00
J. King
2df7c25b66
Add ability to search note text
2019-02-23 20:14:52 -05:00
J. King
ace94e3ef8
Fix context, and context tests
2019-02-22 12:34:06 -05:00
J. King
500851f161
Style fixes
2019-01-23 16:34:54 -05:00
J. King
b0643de21c
Add handling of DateInterval objects to ValueInfo
2019-01-17 16:29:42 -05:00
J. King
0513b606c2
Merge master
2018-12-07 19:21:44 -05:00
J. King
0129965bbd
Cover some missed code
2018-12-05 12:54:19 -05:00
J. King
7340d65c0e
Make data clearing in tests static
2018-11-23 10:01:17 -05:00
J. King
f64f0c6a22
Whitespace cleanup
2018-10-26 14:58:04 -04:00
J. King
cbc9491f75
CS fixes and version bump
2018-01-12 09:48:33 -05:00
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
2018-01-02 16:53:38 -05: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
59fee52074
Reorganize tests into namespaces
2017-12-21 22:47:19 -05:00