Commit graph

28 commits

Author SHA1 Message Date
Sam
6f15e14392
chore: fix styleci (#3588)
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-03-29 10:50:03 +00:00
tadhgboyle
0c80570609
Enable StyleCI (#3475)
* Create StyleCI config file

* Disable `phpdoc_separation`

* Apply fixes from StyleCI (#3476)

Co-authored-by: StyleCI Bot <bot@styleci.io>

* style: styleci fixes

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Sam <samerton@users.noreply.github.com>
2024-03-09 11:19:55 +00:00
Tadhg Boyle
d0fba0cbe9
Replace Util::getSetting/Util::setSetting usages (#3387) 2023-06-12 10:30:49 -06:00
Sam
20396e19ad
Support custom migration tables (#3380)
* Support custom migration tables

* Allow specifying custom migrations directory

* PHP 7.4 fix

* Consistent parameters and add rollback function

* Update Phinx and fix migrations

* Tidy strtolower

* Phinx feature flags
2023-06-10 17:38:20 +01:00
samerton
0e26e6d079 Fix upgrade script log function 2022-08-05 22:37:24 +01:00
Tadhg Boyle
476b8df406 Cleanup upgrade script 2022-06-12 21:10:14 -06:00
Tadhg Boyle
c4130972b4 Fix #2843 2022-06-10 18:58:36 -06:00
Tadhg Boyle
442367e752 Fix message 2022-06-02 15:21:35 -06:00
Tadhg Boyle
26d103b949 Misc fixes 2022-06-02 00:11:12 -06:00
Robin
67ee4bd17b Remove more queries usage 2022-06-01 11:09:17 +02:00
Robin
8b343720a0 Fix issues reported by phpstan 2022-06-01 10:13:40 +02:00
Robin
4ed51b974d Remove some manual settings queries
Also remove social media and API key cache
2022-06-01 00:20:38 +02:00
Tadhg Boyle
0ace37d0e9
DB migration system (#2770) 2022-05-31 11:29:47 -06:00
Robin
6917623a94 Set charset and engine in createTable() 2022-05-28 12:31:05 +02:00
Robin
4d01c0d2cb Remove database engine configuration
We don't support MyISAM anyway, it doesn't work with foreign keys
2022-05-28 11:58:42 +02:00
Tadhg Boyle
9221858783 Fix 2022-05-15 15:47:18 -06:00
Tadhg Boyle
d35bc1ed03 Delete old class files in pre13 upgrade script 2022-05-15 15:46:05 -06:00
Tadhg Boyle
ed09054dda Convert some to new update where syntax 2022-05-01 23:43:52 -07:00
Tadhg Boyle
eb8841149d Remove unneeded = in where clauses 2022-05-01 23:22:19 -07:00
Tadhg Boyle
f5a5db95ba Pass db instance 2022-04-23 12:18:54 -07:00
samerton
5635bb1919 Fix pre-13 upgrade script 2022-04-23 19:30:31 +01:00
Tadhg Boyle
94e64c1207
Add PHPDocs to core classes for new class docs site (#2602) 2022-02-14 20:48:15 -08:00
Tadhg Boyle
ad17142a16
Misc cleanup (#2566) 2022-01-15 15:18:05 -08:00
Tadhg
e0133a5cd5 Get PHP-CS to pass! 2021-12-07 22:14:12 -08:00
Tadhg
8e51fa5aa6 Random UpgradeScript style fix 2021-11-24 15:42:21 -08:00
Tadhg
eb13cd2d5c Remove usages of old "version" row in nl2_settings, replace with "nameless_version" 2021-11-20 16:56:34 -08:00
Tadhg
65bc767336 remove User from UpgradeScript 2021-11-02 14:37:00 -07:00
Tadhg Boyle
0ba7235ae0
New UpgradeScript class to make upgrade scripts cleaner (#2474) 2021-11-02 14:27:35 -07:00