1
0
Commit Graph

1604 Commits

Author SHA1 Message Date
cbca20a535 php 8 compat fixes for commenting in frontend 2021-05-13 15:03:23 +02:00
d28b15381c php 8 compat fixes for ML directory section 2021-05-13 14:57:19 +02:00
561a86b385 php 8 compat fixes for media property page 2021-05-13 14:43:55 +02:00
c00ed46789 fix: media upload fails when in subdirectory with default paths
Use file['realfile'] instead of path guessing based on file['full_file'] to access image on disk, since file['full_file'] is based on the http path
2021-05-13 14:18:31 +02:00
05c3fa71eb Revert "fix: uploaded image path computted wrong when in subdirectory"
This reverts commit 46e8cc96b3.
2021-05-13 14:16:21 +02:00
4cab1db38d php 8 compat: Image upload 2021-05-13 14:13:58 +02:00
46e8cc96b3 fix: uploaded image path computted wrong when in subdirectory
The path set as $file['full_file'] and used for the dimension calculation incorrectly used the HTTP path
2021-05-13 14:11:07 +02:00
fd9edae13c php 8 compat fix: Show category archive pages 2021-05-09 23:05:25 +02:00
60f5277435 php 8 compat fixes t oallow category creation 2021-05-09 21:57:43 +02:00
67aa8f801b fix: Re-use entry title when already set, e.g. when editing 2021-05-09 21:07:26 +02:00
25cfb97ece php8 compat fixes to save entries again 2021-05-09 17:17:54 +02:00
20539b92d4 Fix: Preserve entry form title in preview 2021-05-09 17:07:06 +02:00
4c246ad426 php8 compat fixes for entry preview 2021-05-09 16:54:27 +02:00
3d1c264ccd PHP8 compat fixes for themes menu 2021-05-06 20:45:19 +02:00
0303eec81e PHP8 compat fixes for configuration 2021-05-06 20:45:19 +02:00
ef27f70b3d PHP8 compat fixes for plugin configuration (spamblock) 2021-05-06 20:45:19 +02:00
a6ca0d7fe5 PHP8 compat fixes for media library 2021-05-06 20:45:19 +02:00
cb258fa3a8 PHP8 compat fixes for image upload menu 2021-05-06 20:45:19 +02:00
ab9962a1f8 PHP8 compat fixes for entry list 2021-05-06 20:45:19 +02:00
7900062aa3 PHP8 compat fixes for entry form display 2021-05-06 20:45:19 +02:00
5013d583f2 Apply PHP8 compat fixes for backend controllers
Taken from https://github.com/s9y/Serendipity/pull/750
2021-05-06 20:45:19 +02:00
395d018908 php8 compat for login 2021-05-06 20:45:19 +02:00
38354fcad5 Remove unused mysql (instead of mysqli) database layer 2021-05-02 10:12:13 +02:00
9784fda858 Add () to set ?? evaluation order in ifs 2021-05-02 09:50:58 +02:00
2a5d0e3ad4 Fix: mysqli was always picked as db after installation 2021-05-02 09:50:58 +02:00
90dd334327 PHP 8 compatibility fixes for the installer 2021-05-02 09:50:58 +02:00
7e48e041a2 Remove unused laminas db backend (#757)
* Remove unused laminas db backend

* Remove laminas-db from composer.json

* Remove bundled-libs/laminas
2021-04-27 21:50:34 +02:00
11526604e1 php8 compat: undefined display_dat array keys 2021-04-19 17:19:44 +02:00
6e71da985f Remove unused $week routing part
This throws an error with PHP 8, but since $week is never defined it looks like this has been broken for a while. It can be re-added in a separate PR, if the intended functionality is known.
2021-04-19 17:19:44 +02:00
d1e040b7ec php 8 compat: fix undefined array access adnd $year,... construct 2021-04-19 17:19:44 +02:00
1fcb77427e php8 compat fix: $lang and $cond['joins'] unset before access 2021-04-19 17:19:44 +02:00
df6d80f328 php 8 compat: Fix unused key and empty path, for css 2021-04-19 17:19:44 +02:00
302960b786 php8 compat: Include missing smarty variables in genpage 2021-04-19 17:19:44 +02:00
b886a6a66c Enable array_key_exists for smarty templates
Used in 2k11 for PHP 8 compatibility checks
2021-04-19 17:19:44 +02:00
0a4911566c php8 compat: Prevent unused key error 2021-04-19 17:19:44 +02:00
b36ad0f14f php8 compat: fix undefined key 2021-04-19 17:19:44 +02:00
5396ef3ff5 php8 compat: Fix multiple key issues and unserialized cache key 2021-04-19 17:19:44 +02:00
bfc7d135a4 php8 compat: fix undefined keys 2021-04-19 17:19:44 +02:00
d817c67682 php8 compat: Multiple fixes 2021-04-19 17:19:44 +02:00
e07d08e60d php8 compat: Fix unset timestamp and res[2] key error 2021-04-19 17:19:44 +02:00
7f3d7e4017 php8 compat: Don't redefine SQL_CHARSET_INIT 2021-04-19 17:19:44 +02:00
75352e8565 php8 compat: Pass undefined user and password error 2021-04-19 17:19:44 +02:00
391a372a55 php8 compat: fix missing $args and charset error 2021-04-19 17:19:44 +02:00
9ac2504f4f PHP8 compat for frontpage, plugin-api warning 2021-04-19 17:19:44 +02:00
0ef188187d Remove obsolet handling of magic_quotes_* 2021-04-19 17:17:35 +02:00
0f2a6791d0 Set utf8 as default for databases (and utf8mb4 when possible) 2021-03-15 18:41:43 +01:00
674319b36b Set utf8 as database charset, use utf8mb4 if possible for mysql
For serendipity_config_local.inc.php, see https://github.com/s9y/Serendipity/issues/747
2021-02-03 19:45:51 +01:00
931e621549 Replace token generation with hash and uniqid with secure random numbers from random_bytes 2021-02-03 17:44:12 +01:00
11d903efdb unified parameter for backend_image_add hook 2021-02-03 16:34:07 +01:00
37cd0c3808 [TASK] Adds 'image_id' to event 'backend_image_add' in addData array 2020-09-16 11:21:05 +02:00