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

113 commits

Author SHA1 Message Date
J. King
4b3cfba495 Abandon the new marking method
It was less accurate and turned out to be more complex rather than less.
2023-02-16 23:32:04 -05:00
J. King
9d391469ad Merge branch 'master' into redup 2023-01-28 15:08:54 -05:00
J. King
0d6f8d2921 Avoid most deprecation warnings
The Feed class sets dynamic properties on Picofeed classes; this will
need to be completely rewritten. Version 1.2 of the Laminas XML class
also uses a deprecated function, but upgrading it to 1.3 will require
PHP 7.3.
2023-01-27 15:33:34 -05:00
J. King
2c9daedb14 Add provision for soft deletion of subscriptions 2022-09-30 12:32:28 -04:00
J. King
15a2e7fe0f Actually-last tests for schema upgrade 2022-09-27 16:32:46 -04:00
J. King
95d20f33c7 Last tests for schema upgrade 2022-09-27 11:17:06 -04:00
J. King
63e780b06d Tests for articles, with fixes
Related tables (categories, enclosures, label members) still need tests
2022-09-26 16:49:41 -04:00
J. King
48accdfad8 Fix subs in the new MySQL schema 2022-09-22 20:50:51 -04:00
J. King
d5652296ea Test feed reduplication 2022-09-19 13:06:19 -04:00
J. King
387de940ff Start on update test 2022-06-08 22:36:06 -04:00
J. King
3f7df467e6 Tweak 2022-06-07 13:49:13 -04:00
J. King
e4a7e6622b Fix most problems with the new schema
Some issues remain with MySQL
2022-06-06 19:54:48 -04:00
J. King
9459ef044f Use existing infrastructure for update tests 2022-06-06 10:51:41 -04:00
J. King
d1da6fbe5e Use cases rather than casting bools to int in SQL 2022-05-30 17:29:34 -04:00
J. King
f6799e2ab1 Tests for date ranges in contexts 2022-04-24 12:25:37 -04:00
J. King
ad32bf3340 Style fixes 2021-07-05 21:47:44 -04:00
J. King
fc2abc1203 Use D modifier for all patterns with $ anchors 2021-06-24 11:58:50 -04:00
J. King
19ab9df063 Fix more bugs 2021-05-18 18:42:42 -04:00
J. King
458126416c Fix PostgreSQL coverage annotations 2021-03-02 11:11:04 -05:00
J. King
2348786a92 Start on replacing Phake with Phony 2021-02-27 15:24:02 -05:00
J. King
f7b3a473a9 Clarify ordering syntax rationale 2021-02-03 14:20:34 -05:00
J. King
ed27e0aaaa Sort nulls consistently
PostgreSQL normally sorts nulls after everything else in ascending order
and vice versa; we reverse this, to match SQLIte and MySQL
2021-02-02 10:00:08 -05:00
J. King
86897af0b3 Add ability to enable scraper
Also transfer any existing scraper booleans on database upgrade. It was
previously possible to enable scraping manually by editing the database,
and these settings will be honoured.
2021-01-16 19:06:20 -05:00
J. King
461e256052 Work around MySQL syntax weirdness
Also improve test for token translation to actually test that the
translated tokens are accepted by the database system
2021-01-07 10:12:38 -05:00
J. King
e16df90bae Style fixes 2020-11-16 10:26:14 -05:00
J. King
576d7e16a8 Fix handling of bytea-typed nulls 2020-11-09 16:49:42 -05:00
J. King
2438f35f3d Add icon cache to database
Feed updating has not yet been adapted to store
icon data (nor their URLs anymore)
2020-11-04 18:34:22 -05:00
J. King
5e60da00a9 Merge branch 'master' into miniflux 2020-11-03 18:58:09 -05:00
J. King
b5f959aabf Fix blob tests 2020-11-03 18:57:26 -05:00
J. King
41bcffd6fb Correctly query PostgreSQL byte arrays
This required different workarouynd for the native and PDO interfaces
2020-11-03 17:52:20 -05:00
J. King
c21ae3eca9 Correctly send binary data to PostgreSQL
This finally brings PostgreSQL to parity with SQLite and MySQL.
Two tests casting binary data to text were removed since behaviour here
should in fact be undefined

Accountinf for any encoding when retrieving data will be addressed by
a later commit
2020-11-02 15:21:04 -05:00
J. King
4db1b95cf4 Add numeric IDs and other Miniflux data to SQLite schema 2020-10-30 15:25:22 -04:00
J. King
3ac010d5b6 Fix tests in absence of database extensions 2020-10-30 12:16:03 -04: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
de424e42f6 Merge branch 'master' into phpunit-8 2019-11-14 11:51:38 -05:00
J. King
b6dd8ab20d Improvements to and proper tests for query builder 2019-10-18 13:11:03 -04:00
J. King
17a2fa96f8 Upgrade to PHPUnit 8 2019-10-16 14:42:43 -04:00
J. King
b8b8a6aa70 Also adjust test for MySQL connection failure 2019-10-16 10:26:39 -04:00
J. King
cb1039326c Fix PostgreSQL tests when using "trust" authentication 2019-10-11 13:04:15 -04:00
J. King
d0f780d4e6 Unit tests for IN() clause generator 2019-09-11 15:25:26 -04:00
J. King
29667464a1 Remove unnecessary namespace imports 2019-09-05 10:03:32 -04:00
J. King
bab4174a17 Move database driver helps out of test cases 2019-08-25 13:19:11 -04:00
J. King
b8b559b0f8 Correct spuriously failing tests 2019-08-05 16:33:48 -04:00
J. King
f7240301e4 Basic database maintenance
Closes #169
2019-07-26 09:37:51 -04:00
J. King
cb71a9efd7 Make database connections for testing configurable 2019-06-22 10:29:26 -04:00
J. King
21fdd66d37 Work around limit to SQL parameter placeholders for IN() clauses
Improves #150

LIKE-based matches also need to be similarly conservative
2019-03-01 22:36:25 -05:00
J. King
6857e8ec1b Merge branch 'search' 2019-03-01 12:26:08 -05:00
J. King
837f3c6dd6 Simplify SQL type handling
This is done in anticipation of dealing with SQL types in
places other than statements
2019-03-01 12:17:33 -05:00