149 Commits

Author SHA1 Message Date
Fraenkiman
becd7e569a
Merge branch 'flatpressblog:master' into master 2022-12-29 17:06:58 +01:00
azett
d8991285c6 added API doc; fixed code formatting 2022-12-29 14:20:31 +01:00
Fraenkiman
19c16493a8 Update admin.static.write.tpl
Removes unneeded spaces
2022-12-28 18:02:35 +01:00
azett
229752b510 fixes #180, possible XSS in entry list 2022-12-25 20:32:55 +01:00
azett
3cc223dec5 fixes #178, possible XSS via uploaded XML & MD files 2022-12-25 14:42:08 +01:00
azett
a91ca486c4 Index can't be backed up if cache needs to be built. Added helpful error message. 2022-12-18 12:51:02 +01:00
azett
742f8b04f2 added SVG to forbidden file types in order to prevent possible XSS - see https://github.com/Nguyen-Trung-Kien/CVE/blob/main/CVE-2022-24588/CVE-2022-24588.pdf 2022-12-17 14:39:15 +01:00
azett
0a7ad2ccb8 fixes #153 - thx laborix! 2022-12-17 14:23:23 +01:00
azett
5ad4647e94 Merge branch 'master' of https://github.com/flatpressblog/flatpress 2022-12-17 13:09:07 +01:00
azett
7d748fe62a fixes #171 - thx! :) 2022-12-17 13:09:00 +01:00
azett
dfa8e3013b fixes #170, thx for reporting! 2022-12-17 12:38:10 +01:00
azett
9218d118c9 Editor toolbar back to working as intended. Fixes #168, thanks for reporting in this detailled manner! 2022-12-11 14:26:58 +01:00
azett
185a27d35d PHP functions used as modifier must be registered as modifier explicitly as of Smarty 4.3 - fixed. 2022-12-11 14:04:12 +01:00
azett
1c6b423e48 Updated Smarty to 4.3.0. And the FlatPress-specific Smarty plugins now have their own directory, represented by the new constant FP_SMARTYPLUGINS_DIR. 2022-12-11 13:30:29 +01:00
azett
bdf9e780e1 fixed more PHP warnings - thx laborix! 2022-10-11 20:10:20 +02:00
azett
80abe0a55d fixed endless loop in entry overview; fixed PHP warning 2022-10-11 13:43:19 +02:00
azett
1b9022c5f6 fixed some errors occuring in Apache error log - thx laborix 2022-10-09 15:09:55 +02:00
azett
c30d52b284 Merge branch 'master' of https://github.com/flatpressblog/flatpress into issue94_smartyupdate
# resolved conflicts:
#	fp-includes/smarty/plugins/function.html_select_date.php
2022-10-08 13:43:33 +02:00
azett
92c0b2a517 Bufix: Checking uploaded files' extensions looked for the tmp file name, not the actual file name. Fixes #152 as well - thanks @s4n-h4xor! 2022-10-01 13:33:34 +02:00
azett
d5bdc72852 fixes #136 for all styles - thx @Fraenkiman 2022-08-14 14:04:30 +02:00
azett
af1aa7759b Revert "Merge branch 'master' of https://github.com/flatpressblog/flatpress"
This reverts commit e9ad11742876f9f78d743a28afd547ee7480c7f9, reversing
changes made to f30fc6204a6bc7643d7952b1df98a3aa7b462dea.
2022-07-02 13:30:56 +02:00
azett
6eaafee1fa Merge branch 'master' into responsiveadmin
# resolved conflicts:
#	admin/panels/config/admin.config.tpl
#	admin/panels/entry/admin.entry.commentlist.tpl
#	fp-plugins/commentcenter/tpls/deletecomm.tpl
#	fp-plugins/commentcenter/tpls/editpol.tpl
2022-06-27 19:24:18 +02:00
azett
db6f22f25b Merge branch 'master' into issue94_smartyupdate 2022-06-19 12:49:49 +02:00
azett
fd9aea911d First part of #114: Error msg on uploading a forbidden file. Thx laborix! 2022-06-19 12:37:56 +02:00
azett
f87cb3c3d2 Merge branch 'master' into issue94_smartyupdate 2022-06-18 20:53:43 +02:00
azett
14895d03e7 Current time displayed as format example is now in the configured time zone - thanks, laborix! 2022-06-18 20:32:39 +02:00
azett
51bc4cb120 Merge branch 'master' into issue94_smartyupdate
# Resolved conflicts:
#	fp-includes/core/includes.php
#	fp-plugins/bbcode/plugin.bbcode.php
#	fp-plugins/commentcenter/inc/admin.php
2022-06-18 12:06:34 +02:00
azett
226482d3b6 Bugfix: Do not display empty warning msgs box 2022-06-16 12:30:47 +02:00
azett
becd504aae Issue 106: Invalid HTML output fixed 2022-05-07 20:02:41 +02:00
azett
6bafd11149 Made the BBCode toolbar of the editor work with Smarty 4. 2022-04-09 14:13:46 +02:00
azett
1424e3bb7b Updated calls to current Smarty API: clear_all_cache() -> clearAllCache(), clear_compiled_tpl() -> clearCompiledTemplate() 2022-02-06 15:44:24 +01:00
azett
fc883803a0 Added indentation 2022-02-06 15:38:06 +01:00
azett
a6e44a8e7f Fixed plugin mgmt template. Also: Fixed empty warning box. 2022-02-06 15:08:09 +01:00
azett
25c1618042 Updated FP-specific Smarty plugin "Admin" to v4 OOP style. Replaced obsolete get_template_vars() calls with getTemplateVars(). 2022-01-29 15:20:42 +01:00
azett
52bf429a01 Replaced Smarty 2.6.31-dev with v 4.0.4, keeping the FP-specific Smarty plugins.
Updated calls to current Smarty API (register_function()/register_modifier()/register_block() -> registerPlugin(); assign_by_ref() -> assignByRef()).
Fixed file includes in templates with quotes.
Removed SmartyValidate.class.php includes.

Still work in progress as some errors still appear!
2022-01-23 15:02:33 +01:00
azett
3de6af7eb9 Admin: Update panel did't show versions and notices properly 2021-11-01 14:20:35 +01:00
azett
fb479c9aad added referred, but missing emoticons folder 2021-11-01 13:48:52 +01:00
azett
3ae6007985 fixed camel case name for flatPressEmojis.js 2021-11-01 13:44:48 +01:00
franciscoarocas
aedc63a2ef Fixed bug with last merge 2021-04-01 01:34:14 +02:00
franciscoarocas
263f2b16df Merge branch 'master' into responsiveadmin 2021-04-01 00:42:44 +02:00
azett
8633cb6d48 Fix for #77: Unnecessary quotes broke access to array value 2021-02-28 11:43:14 +01:00
azett
25eacf6ccc Bugfix in admin area: Requesting a non-existant panel will not result in error message any more. Instead: Redirection to main panel. 2021-02-24 18:37:26 +01:00
azett
efe08266d8 Fixed uninitialized variables and unexpected error states. Also: Misspelled key in German language file. 2021-02-20 11:53:57 +01:00
azett
27c3e825b3 Fixed Heredoc strings. Turns out, Heredoc syntax - https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc - only works with closing tags being the first characters of a line. Eclipse's reformatting and indention of the code does not seem to know that^^
Fix: Changed Heredoc strings to "normal" strings.
2021-02-13 13:47:18 +01:00
azett
7e8ddb88b8 Fixed more template errors in order to get everything running with PHP 8.0.
Also: Fixed some tiny PHP errors.
Thanks for reporting, Matthias!
2021-02-13 13:03:09 +01:00
franciscoarocas
b7a80444df Fixed all tpls (PHP 8.0) 2021-02-11 00:52:53 +01:00
franciscoarocas
e3c41566e3 Fixed Statics and Widgets tpls (PHP 8.0) 2021-02-11 00:04:04 +01:00
franciscoarocas
2eb21a98c8 Fixed entry tpls (PHP 8.0) and sceditor 2021-02-10 21:24:55 +01:00
franciscoarocas
03e00558b8 Fixed some tpls (PHP 8) 2021-02-08 17:05:05 +01:00
franciscoarocas
8e2fc93d8a Merge branch 'master' into responsiveadmin 2021-02-08 15:37:07 +01:00