5740 Commits

Author SHA1 Message Date
8ecebf8940
Fix typo. Also added isUtf8mb4Ready() to DbAbstract. 2022-02-13 00:10:19 +01:00
d6ebe7a46f
Fix missing utf8mb4-check. 2022-02-12 23:58:17 +01:00
d811c0bc56
@onli fix for s9y/Serendipity#772 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
5a32071cb1
Use PageGenerator in comments.php. 2022-02-12 23:26:52 +01:00
d550adcdcd
Moved genpage.inc.php into PageGenerator class. 2022-02-12 15:50:22 +01:00
3623bdd4b1
Add missing property declaration. 2022-02-12 14:20:33 +01:00
2470c65175
Moved functions_routing.inc.php into a class. 2022-02-12 04:41:33 +01:00
4bee231cc6
Added bootstrap.php for Autoloader and Debugger. 2022-02-12 04:41:04 +01:00
a81734cdc3
Cleanup in composer.json. Added PHP-CodeSniffer as Dev-Dependency. 2022-02-12 04:38:52 +01:00
5aac8fb9c9
Add php_codesniffer to DEV-dependencies. Also added local Scrutinizer config. 2022-02-12 00:23:30 +01:00
6c9ccdc65a
Added .editorconfig. 2022-02-11 19:00:41 +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
b69c8a9cbb Added TODO.md. Updated .gitignore to hide non-bundled plugins. 2022-02-11 15:25:49 +01:00
Markus Birth
4bea3ccdd6 Added filp/whoops for nicer error displays. 2022-02-11 02:08:27 +01:00
Markus Birth
1109e09b85 Increased default PHP version to 8. 2022-02-11 02:07:01 +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
Markus Birth
82bb67654c Use composer-foxy (FKA composer-asset-plugin) to manage JS/CSS. Removed
bundled ckeditor in favour of using foxy to install it.
2022-02-09 16:01:34 +01:00
Markus Birth
e19db2b065 Prepare autoload management via Composer.
(Run `./composer.phar dumpautoload` to update autoloader.)
2022-02-09 15:01:47 +01:00
Markus Birth
2a47e9edb3 CLEANUP: Fix file permissions 2022-02-09 01:31:37 +01:00
Markus Birth
5d696b6842 CLEANUP
* Updated `composer.phar` to latest version
* Remove libs that get installed by Composer from repo
  (run `./composer.phar install` after checkout)
* Change `composer.json` to use default `vendor` dir and raise max. PHP
  to 7.99.99 since we're at 7.4 now
* Rename `README.markdown` to `README.md`
2022-02-09 01:27:08 +01:00
onli
be2de1a0ed
Document #778 2022-02-03 20:30:14 +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
31fcc6a338 Set 2.4-beta1 as beta release 2.4-beta1 2021-09-12 15:49:47 +02:00
onli
ff1fd8d8fa 2.4-beta1 release documentation 2021-09-12 15:36:54 +02:00
onli
0d74b79a48 PHP 8 Fix: When iso2br was not set editor showed a warning 2021-09-12 13:52:25 +02:00
onli
ad0a3ce298 Fix: Rebuilding thumbnails could fail and produced warnings (#771) 2021-07-30 17:54:33 +02:00
onli
0a5d857fd4
Update README.markdown 2021-07-27 18:56:16 +02:00
onli
d7d91cd94b
Update README.markdown 2021-07-27 15:50:45 +02:00
onli
443ffc5039 Remove extra %s from comment notification text (#770) 2021-07-26 16:18:13 +02:00
surrim
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
1b162d33a8 timeline: PHP 8 compat fixes 2021-07-04 19:35:23 +02:00
onli
d2a7784073 skeleton: PHP 8 compat fixes 2021-07-04 19:00:50 +02:00
onli
07272ec3c6 next: PHP 8 compat fixes 2021-07-04 18:43:51 +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
fa69a788a8 Enable production mode for beta and rc versions
To enable sane testing with PHP 8
2021-07-04 12:39:04 +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
aacf8e7f2f Fix php8 warning when gravatar + shoutbox are active 2021-06-27 21:24:19 +02:00