fc78f871ed
Replace microtime_float() by microtime(true).
2022-02-13 23:02:08 +01:00
12e9df52de
Typos and a few type hints.
2022-02-13 16:16:18 +01:00
50c89e2bad
Moved caching methods out of functions.inc.php into ContentCache class.
2022-02-13 16:15:48 +01:00
bb98e38522
Made Sqlite3ooDatabase extending from Sqlite3Database and removed redundand methods. Added a few type hints. Fixed a few typos in comments.
2022-02-13 13:18:27 +01:00
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
d43412d599
Added missing bundled plugins to plugin_api.inc.php (and .gitignore).
2022-02-11 15:51:54 +01:00
b69c8a9cbb
Added TODO.md. Updated .gitignore to hide non-bundled plugins.
2022-02-11 15:25:49 +01:00
4bea3ccdd6
Added filp/whoops for nicer error displays.
2022-02-11 02:08:27 +01:00
1109e09b85
Increased default PHP version to 8.
2022-02-11 02:07:01 +01:00
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
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
e19db2b065
Prepare autoload management via Composer.
...
(Run `./composer.phar dumpautoload` to update autoloader.)
2022-02-09 15:01:47 +01:00
2a47e9edb3
CLEANUP: Fix file permissions
2022-02-09 01:31:37 +01:00
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
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
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
31fcc6a338
Set 2.4-beta1 as beta release
2.4-beta1
2021-09-12 15:49:47 +02:00
ff1fd8d8fa
2.4-beta1 release documentation
2021-09-12 15:36:54 +02:00
0d74b79a48
PHP 8 Fix: When iso2br was not set editor showed a warning
2021-09-12 13:52:25 +02:00
ad0a3ce298
Fix: Rebuilding thumbnails could fail and produced warnings ( #771 )
2021-07-30 17:54:33 +02:00
0a5d857fd4
Update README.markdown
2021-07-27 18:56:16 +02:00
d7d91cd94b
Update README.markdown
2021-07-27 15:50:45 +02:00
443ffc5039
Remove extra %s from comment notification text ( #770 )
2021-07-26 16:18:13 +02:00
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
1b162d33a8
timeline: PHP 8 compat fixes
2021-07-04 19:35:23 +02:00
d2a7784073
skeleton: PHP 8 compat fixes
2021-07-04 19:00:50 +02:00
07272ec3c6
next: PHP 8 compat fixes
2021-07-04 18:43:51 +02:00
eb38547a24
Init all required comment form fields
2021-07-04 18:43:08 +02:00
01aa046fc4
PHP 8 compat fixes for bartleby
2021-07-04 15:34:44 +02:00
91c8ee2d8d
bootstrap4: PHP 8 compatibility fixes
2021-07-04 14:12:46 +02:00
fa69a788a8
Enable production mode for beta and rc versions
...
To enable sane testing with PHP 8
2021-07-04 12:39:04 +02:00
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
34f52d1aae
Fix: The error output left a pre-tag open
2021-06-30 21:46:39 +02:00
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