1
0
Commit Graph

5730 Commits

Author SHA1 Message Date
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 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 () 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 () 2021-07-26 16:18:13 +02:00
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
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
0d5a29416c Fix: Every comment subscribed to an entry 2021-06-30 19:59:47 +02:00
1170363a29 Fix: Entries could not be saved if blog had no category 2021-06-27 23:10:14 +02:00
6e4d16d149 PHP 8 compat fixes for clean blog 2021-06-27 22:58:03 +02:00
aacf8e7f2f Fix php8 warning when gravatar + shoutbox are active 2021-06-27 21:24:19 +02:00
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
b547042af4 php8 compat fix for group menu with specific group permissions 2021-06-12 17:28:12 +02:00
5dd3385c48 document user deletion fix 2021-06-08 23:47:43 +02:00
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
323860150d PHP 8 compatibility fix for installing themes 2021-06-06 21:47:34 +02:00
c416ea82d3 fix: templates did not set the currect custom url
PHP 8 compatibility fix
2021-06-06 21:45:26 +02:00
ef79ef260b PHP 8 compat fixes for the core when trackack plugin is installed 2021-06-06 18:53:48 +02:00
e0d87c88cf Fix: Smarty init check could fail 2021-06-06 18:23:06 +02:00
137ca00367 PHP 8 compat fixes for future entries on overview page 2021-06-06 17:45:42 +02:00
62380a3086 PHP 8 compat fix for showing freetag RSS feeds 2021-06-06 12:32:23 +02:00