Commit graph

36 commits

Author SHA1 Message Date
Shish
be842308d9 [core] have a system level SECRET variable, to be used as a salt separate from DATABASE_DSN 2024-06-21 00:18:43 +01:00
Noz
100d86dfbd fix installer
form POSTs to the wrong location if the booru is in a sub directory
2024-02-21 10:15:18 +00:00
Shish
e58c071a14 exit non-zero if CLI install is missing input 2024-01-15 23:42:36 +00:00
Shish
5d120cd0c8 [tests] put tests inside transactions 2024-01-15 22:50:43 +00:00
Shish
e960f73fb6 fmt 2024-01-15 21:49:16 +00:00
Shish
031ccce961 nicer CLI install 2024-01-15 21:48:15 +00:00
Shish
ed5960a301 type fix 2024-01-15 21:09:35 +00:00
Shish
589ff69eea [types] typetypetypetypetype 2024-01-15 15:08:22 +00:00
Shish
72a0d3f90b [install] sqlite as the default DB 2024-01-04 12:08:08 +00:00
Shish
33f32f7b22 Revert "INSERT ... RETURNING is well-supported now" - mysql doesn't...
This reverts commit 633d5c5348.
2023-06-25 20:31:11 +00:00
Shish
633d5c5348 INSERT ... RETURNING is well-supported now 2023-06-25 20:25:09 +00:00
Shish
5a64e8729b nits 2023-01-11 11:15:26 +00:00
Shish
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
Shish
165eea11b1 all the strict_types 2023-01-10 21:21:26 +00:00
nodate-yaozua
c2b946f282
Fix database not detected on installation 2023-01-10 22:34:47 +09:00
Shish
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Shish
3f5930b4cb simplify and add tests for upload (and replace) path 2020-10-28 20:51:34 +00:00
Shish
81fe37de50 transactions 2020-10-27 22:03:56 +00:00
Shish
8bc44f6cb5 remove redundant install step 2020-10-27 02:17:11 +00:00
Shish
c13835d2ef transaction for table creation 2020-10-27 02:08:12 +00:00
Shish
2863ff7508 trace 2020-10-27 02:04:02 +00:00
Shish
10f563ee37 boolinate locked 2020-10-27 01:05:12 +00:00
Shish
607803c04f Revert "boolinate locked"
This reverts commit 533ea85da9.
2020-10-26 23:42:02 +00:00
Shish
533ea85da9 boolinate locked 2020-10-26 23:30:52 +00:00
Shish
8ff70134ae nits 2020-10-24 13:46:57 +01:00
Shish
2197b15012 Add core/sanitize_php.php
A small number of PHP-sanity things (eg don't silently ignore errors) to
be included right at the very start of index.php and tests/bootstrap.php
2020-06-24 14:54:46 +01:00
Shish
03806d0420 https a bunch of things 2020-03-25 11:47:00 +00:00
Shish
040bffa4f6 even the installer requires composer now, so check for that first 2020-03-23 18:47:18 +00:00
Shish
1fc75c0b18 Whenever we display an image for any reason, show the admin block, fixes #621 2020-03-23 00:06:43 +00:00
Shish
ad9cca36b1 improvements to run inside docker 2020-03-22 15:23:23 +00:00
Shish
1597eff082 lint fixing 2020-03-13 09:23:54 +00:00
Shish
e1e161759e rename handle_static to static_files - stop confusing it with file handlers 2020-02-23 18:48:25 +00:00
Shish
cdaecb3380 format 2020-02-06 03:10:30 +00:00
Shish
81880f7458 Make installer nice again 2020-02-06 02:19:51 +00:00