1652 Commits

Author SHA1 Message Date
d6ebe7a46f
Fix missing utf8mb4-check. 2022-02-12 23:58:17 +01:00
d811c0bc56
@onli fix for 2022-02-12 23:29:38 +01:00
d5318922b9
Turn database drivers into classes. Keep db.inc.php as a Shim. 2022-02-12 23:27:14 +01:00
d550adcdcd
Moved genpage.inc.php into PageGenerator class. 2022-02-12 15:50:22 +01:00
2470c65175
Moved functions_routing.inc.php into a class. 2022-02-12 04:41:33 +01:00
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
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
9604e0392b Fix umlaut replacement to happen before all (UTF-8-)umlauts are stripped. 2022-02-03 20:25:52 +01:00
99366d0997 Wrap site-wide permalink generation into a SQL transaction to speed it up. 2022-02-03 20:25:52 +01:00
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 () 2021-07-30 17:54:33 +02:00
surrim
9a60f9a494
Php8 fixes for ()
* 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 ()
* 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
onli
7fe104ed40 php 8 compat fixes (context: templatechooser to clean blog) 2021-05-30 12:06:14 +02:00
onli
20de7bd442 php 8 compat fix for saving plugin order 2021-05-30 11:47:18 +02:00
onli
e293bc18f3 php 8 compat fixes for comment subscription 2021-05-29 20:27:02 +02:00
onli
5ccb3cba67 fix: log_trackback called when not available (regular comments)
Removes the not strictly necessary function call
2021-05-29 17:21:08 +02:00
onli
f4d5a76add php 8 compat for bbcode plugin configuration 2021-05-29 17:17:08 +02:00
onli
8b8d8bf2c5 PHP8 compat fix for sending trackbacks (when target has no params) 2021-05-28 17:59:44 +02:00
Matthias Gutjahr
8d1dd2994c
php 8 compat fix
Signed-off-by: Matthias Gutjahr <mattsches@gmail.com>
2021-05-26 23:41:39 +02:00
onli
bd6c9e79c9 more php 8 compat fixes for receiving trackacks
Also includes a code-cleanup by introducing log_trackback, a less code heavy way to log the trackback flow
2021-05-26 00:08:32 +02:00
onli
730f4c080a php 8 compat fixes for receiving trackbacks 2021-05-25 23:13:51 +02:00
onli
5f488e97cf
Wysiwyg cleanup ()
* Cleanup ckeditor config
Remove force-settings, remove verbose commentary from config, limit toolbar selection

* document toolbar removal
2021-05-24 17:39:08 +02:00
onli
e2044472c2 php 8 compat fix for sending trackbacks 2021-05-18 19:42:16 +02:00
onli
56f17439a1 php 8 compat fix for upgradeable plugins list 2021-05-18 19:37:05 +02:00
onli
cd96ca66c7 php8 compat fixes for personal settings 2021-05-13 21:39:32 +02:00
onli
9b758e84db fix: Show proper upload media popup when using filter after upload
Add the needed parameters to the hidden form used in the media library form so that a reload of the ML after the first upload still crenders the correct ML variant - the one for selecting an image, not the generic
2021-05-13 21:26:58 +02:00
onli
e448d1c384 php 8 compat for ML item insert into article 2021-05-13 20:16:21 +02:00
onli
28c199c7aa php8 compat fixes for groups section 2021-05-13 17:57:07 +02:00
onli
9f4153dbc4 php8 compat fixes for user creation 2021-05-13 17:03:50 +02:00
onli
17786592e7 php 8 compat fixes for plugin installation 2021-05-13 15:33:27 +02:00
onli
ed24403d36 php 8 compat fixes for comment section 2021-05-13 15:19:54 +02:00
onli
cbca20a535 php 8 compat fixes for commenting in frontend 2021-05-13 15:03:23 +02:00
onli
d28b15381c php 8 compat fixes for ML directory section 2021-05-13 14:57:19 +02:00