1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
Commit graph

25 commits

Author SHA1 Message Date
J. King
1b80ad37bc Merge branch 'csfixer3'
Code style cleanup to mostly conform to PSR-12
2023-03-22 23:33:05 -04:00
J. King
90b66241b3 Fixes for PHP 7 2022-04-30 13:50:35 -04:00
J. King
630536d789 Tests for union context 2022-04-29 16:35:46 -04:00
J. King
206c5c0012 Fill in union context 2022-04-28 22:32:10 -04:00
J. King
2acacd2647 Implement handling for arrays of ranges
Multiple ranges of articles or editions were not implemented, but the
functionality is generic and could be extended if later needed.
2022-04-24 20:13:08 -04:00
J. King
f6799e2ab1 Tests for date ranges in contexts 2022-04-24 12:25:37 -04:00
J. King
427bddd3b7 Allow multiple date ranges 2022-04-22 20:09:07 -04:00
J. King
53ba591720 Finish up article selection refactor 2022-04-22 19:22:50 -04:00
J. King
4a87926dd5 Fix up context tests 2022-04-21 14:37:28 -04:00
J. King
308b592b18 Clean up coontext classes 2022-04-19 23:20:20 -04:00
J. King
2c2bb4a856 Retrofits dates to use ranges
Article and edition ranges still need work
2022-04-19 20:19:51 -04:00
J. King
73497688fc Break contexts up into traits
This will make their expansion easier and will also be useful for using
typed properties later
2022-04-18 22:04:48 -04:00
J. King
4080b2d09d Apply new rules 2021-04-14 11:17:01 -04:00
J. King
d5cd5b6a17 Implement hidden marks
Tests are still needed
2020-12-15 13:20:03 -05:00
J. King
e3d2215920 Style fixes 2019-04-05 11:03:15 -04:00
J. King
f72c85c9f6 Hopefully working but maybe broken custom sorting 2019-04-04 11:22:50 -04:00
J. King
cce1089e10 Handle edge case with folder 0
Folder 0 (the root folder) is a valid, though nonsensical selection:
using it as a positive option is the same as not using the option at
all, and using it as a negative option necessarily yields an empty set.

However, it can in some contexts be validly specified, and so it should
be handled consistently. It had not been previously, but is now.
2019-04-02 19:58:35 -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
1e7724ec80 Filter out duplicates in set context options 2019-02-26 12:54:27 -05:00
J. King
89f25d7b91 Fix coverage a little 2019-02-26 11:12:40 -05:00
J. King
0dc82f64d5 Allow ranges in exclusion contexts 2019-02-26 11:11:42 -05:00
J. King
70443a5264 Make parent re-association on context clone more restrictive 2019-02-25 23:59:48 -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