1673 Commits
Author SHA1 Message Date
mbirth 4ba79c9900 Start groups as index 1
Signed-off-by: Markus Birth <markus@birth-online.de>
2025-06-14 18:04:39 +01:00
mbirth cb2c3ce5e2 Prep Config Container and Dependency Injection
Signed-off-by: Markus Birth <markus@birth-online.de>
2025-06-14 18:04:17 +01:00
mbirth 4487199f16 Increase error reporting and fix a few small warnings
Signed-off-by: Markus Birth <markus@birth-online.de>
2025-06-14 17:58:36 +01:00
mbirth af3fb672e3 Remove errorhandler, let filp/whoops handle them. 2022-02-25 01:49:35 +01:00
mbirth 6d3221742d Remove redundant timezone setting. (Now in bootstrap.php.) 2022-02-25 01:48:25 +01:00
mbirth 4785f07f12 Always assume UTF-8. 2022-02-20 17:14:54 +01:00
mbirth b1c43491c3 Another serendipity_mb_ucfirst() case. 2022-02-20 02:03:29 +01:00
mbirth 6603e9b835 Always set universal/UTF-8. 2022-02-20 02:00:55 +01:00
mbirth 25b8dbcb42 Implement serendipity_mb_ucfirst() as that's not available. 2022-02-20 01:58:00 +01:00
mbirth f4bd9bc07a Always use native mb_* functions. 2022-02-20 01:56:52 +01:00
mbirth 33a98547a7 Fix English language fallback. 2022-02-20 01:36:33 +01:00
mbirth 694309bec9 Force UTF-8, remove all non-UTF-8 translations. 2022-02-20 01:11:37 +01:00
mbirth 16e4bc7f2a Remove ancient compatibility stuff. 2022-02-20 01:10:03 +01:00
mbirth 2d127e81e1 Cleanup and rename project to 幸運な偶然 - Lucky Coinkydink. 2022-02-19 22:19:07 +01:00
mbirth 27d91781ee Fix installer crashing b/c function was not available. 2022-02-14 21:44:38 +01:00
mbirth 7e8dcb0cb6 Added ConfigContainer. Routing.php is not yet fully converted. 2022-02-14 02:49:49 +01:00
mbirth 8ebf5e6865 Spacing. 2022-02-14 02:48:15 +01:00
mbirth fc78f871ed Replace microtime_float() by microtime(true). 2022-02-13 23:02:08 +01:00
mbirth 12e9df52de Typos and a few type hints. 2022-02-13 16:16:18 +01:00
mbirth 50c89e2bad Moved caching methods out of functions.inc.php into ContentCache class. 2022-02-13 16:15:48 +01:00
mbirth 8ecebf8940 Fix typo. Also added isUtf8mb4Ready() to DbAbstract. 2022-02-13 00:10:19 +01:00
mbirth d6ebe7a46f Fix missing utf8mb4-check. 2022-02-12 23:58:17 +01:00
mbirth d811c0bc56 @onli fix for s9y/Serendipity#772 2022-02-12 23:29:38 +01:00
mbirth d5318922b9 Turn database drivers into classes. Keep db.inc.php as a Shim. 2022-02-12 23:27:14 +01:00
mbirth d550adcdcd Moved genpage.inc.php into PageGenerator class. 2022-02-12 15:50:22 +01:00
mbirth 2470c65175 Moved functions_routing.inc.php into a class. 2022-02-12 04:41:33 +01:00
mbirth fe7f2e16dd Fix file permission. Add .gitignore for Nova IDE. 2022-02-11 17:36:36 +01:00
Markus Birth d43412d599 Added missing bundled plugins to plugin_api.inc.php (and .gitignore). 2022-02-11 15:51:54 +01:00
Markus Birth 91bfb3a8c9 Remove included Smarty in favour of Composer install. Also removed all
manual loadings of Smarty to let autoloader handle this.
2022-02-10 03:12:54 +01:00
mbirth 512ff8e48c Add replacing [Regional Indicator Symbols](https://en.wikipedia.org/wiki/Regional_indicator_symbol) with latin letters. Feel free to add more emoji translations. 2022-02-03 20:25:52 +01:00
mbirth 9604e0392b Fix umlaut replacement to happen before all (UTF-8-)umlauts are stripped. 2022-02-03 20:25:52 +01:00
mbirth 99366d0997 Wrap site-wide permalink generation into a SQL transaction to speed it up. 2022-02-03 20:25:52 +01:00
mbirth 68ec268bf8 Convert file to UTF-8. 2022-02-03 20:25:52 +01:00
onli d79ea27422 Reset template script cache token also when saving configuration
Makes it easier to test script changes
2021-09-13 21:11:32 +02:00
onli ad0a3ce298 Fix: Rebuilding thumbnails could fail and produced warnings (#771) 2021-07-30 17:54:33 +02:00
surrimandsurrim 9a60f9a494 Php8 fixes for #766 (#769)
* init empty vars to avoid PHP8 warnings

* removed debug output for serendipity_session_destroy()

* init smarty fixed for PHP8

* removed optional parameters for PHP 8

* 2k11 template fixes, maybe updating smarty will solve everything

* init or test undefined variables for PHP 8

* remove only existing files

* make sure string is not empty before comparing the first letter

* check if SMARTY_DIR was already defined

* use mb_language('uni') for unicode

* fixed image filter bug

* Smarty debug fixed in external lib

* fixed archive bug

* fixed entries bug

* updated plugin versions

Co-authored-by: surrim <surrim@happyhydro.org>
2021-07-18 22:14:23 +02:00
onli eb38547a24 Init all required comment form fields 2021-07-04 18:43:08 +02:00
onli 01aa046fc4 PHP 8 compat fixes for bartleby 2021-07-04 15:34:44 +02:00
onli 91c8ee2d8d bootstrap4: PHP 8 compatibility fixes 2021-07-04 14:12:46 +02:00
onli 8d8aa4ce66 Do not print errors for PHP warnings in production mode
Not even when logged in. The error output stopped the script execution. This change enables the usage of old themes, if their critical issues are fixed
2021-07-01 22:03:45 +02:00
onli 34f52d1aae Fix: The error output left a pre-tag open 2021-06-30 21:46:39 +02:00
onli 18a6904d5d Fix: Serendipity stopped when encountering a Warning
Changes this to only stopping if debug mode is enabled
2021-06-30 21:39:42 +02:00
onli 0d5a29416c Fix: Every comment subscribed to an entry 2021-06-30 19:59:47 +02:00
onli 1170363a29 Fix: Entries could not be saved if blog had no category 2021-06-27 23:10:14 +02:00
onli 6e4d16d149 PHP 8 compat fixes for clean blog 2021-06-27 22:58:03 +02:00
onli 2bad6efd9c Hide PHP warnings in production mode (#765)
* Hide PHP warnings in production mode

* Silence error reporing during second language file read
2021-06-26 16:49:21 +02:00
onli e8bb99752f Fix: Deleting a user throw a token not found error message
Setting POST['serendipity']['user'] triggers the login routine. When that happens a new session is generated, and afterwards the token check fails.
2021-06-08 23:42:59 +02:00
onli 323860150d PHP 8 compatibility fix for installing themes 2021-06-06 21:47:34 +02:00
onli ef79ef260b PHP 8 compat fixes for the core when trackack plugin is installed 2021-06-06 18:53:48 +02:00
onli 137ca00367 PHP 8 compat fixes for future entries on overview page 2021-06-06 17:45:42 +02:00