240 Commits

Author SHA1 Message Date
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
1acedaf149 fixed branch name to "master" 2022-10-11 14:36:23 +02:00
azett
80abe0a55d fixed endless loop in entry overview; fixed PHP warning 2022-10-11 13:43:19 +02:00
azett
e19b78ac13 fixed PHP warnings 2022-10-09 15:56:41 +02:00
azett
1b9022c5f6 fixed some errors occuring in Apache error log - thx laborix 2022-10-09 15:09:55 +02:00
azett
36b3e50006 fixed Smarty code: Replaced strftime() with strftime_replacement(); original Smarty file kept 2022-10-09 14:18:34 +02:00
azett
74f75ae40d added replacement function for strftime(), fixes #92 - thx @bohwaz! 2022-10-08 14:58:11 +02:00
azett
430b3304a5 Smarty: update to 4.2.1 2022-10-08 13:51:33 +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
34fb2f3e6b HttpOnly flag for session cookie to prevent possible XSS - thx @melbinkm! 2022-10-01 14:07:54 +02:00
azett
225e3b1b8d fixes #132 - thx laborix & @Fraenkiman! 2022-10-01 12:59:20 +02:00
azett
5dd42b0ffa fixes #49 & #91 - basically reverting 9f610ddac3f3a566f7ec672f5741d2314ea63ffc 2022-09-10 14:20:23 +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
d4b9f3afee changed branch in version info to "smartyupdate" 2022-06-28 20:56:20 +02:00
azett
d32c6cce3b Merge branch 'master' into issue94_smartyupdate 2022-06-28 20:55:50 +02:00
azett
e49bfe20cc changed branch in version info to "responsiveadmin" 2022-06-28 20:52:30 +02:00
azett
6d4cb1fadc Merge branch 'master' into responsiveadmin 2022-06-28 20:51:35 +02:00
azett
e40b4d944b Added branch name to system version 2022-06-28 20:44:38 +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
c2f64b1d1a added missing Smarty plugin file 2022-06-25 12:56:15 +02:00
azett
84723f90a2 Merge branch 'master' into issue94_smartyupdate
# resolved conflicts:
#	fp-includes/smarty/internals/core.rm_auto.php
#	fp-includes/smarty/internals/core.rmdir.php
2022-06-25 12:16:04 +02:00
azett
104096f4f4 Call fs_is_directorycomponent() and fs_is_hidden_file() instead of checking manually 2022-06-24 21:50:57 +02:00
azett
ed8f9e1293 fixes #118: Captions file was shown in Media Manager 2022-06-24 21:47:51 +02:00
azett
c662bc3590 Call fs_is_directorycomponent() and fs_is_hidden_file() instead of checking manually. Also: Path traversal in Media Manager fixed. 2022-06-24 21:42:48 +02:00
azett
28b7066d82 added fs_is_directorycomponent() and fs_is_hidden_file() 2022-06-24 21:03:19 +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
92475a3dd6 Fixed #95: Error at prev link on first / next link on last entry. 2022-06-18 11:45:01 +02:00
azett
db658fac39 Added gallery_fetch_galleries() function 2022-06-16 12:47:03 +02:00
azett
1eb93121d5 added gallery functions 2022-06-16 12:32:12 +02:00
azett
a65285d31b Updated Smarty from 4.0.4 to 4.1.0 2022-04-10 12:55:40 +02:00
azett
59ece2fd41 Added missing Smarty plugins 2022-02-06 15:21:38 +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
e7a64816d6 Added APIdoc, removed obsolete code 2022-01-29 14:43:21 +01:00
azett
fb43fe3ea9 Updated FP-specific Smarty plugins to v4 OOP style. Moved list_categories plugin to the Smarty plugin folder in order to have it loaded properly. 2022-01-29 14:40:06 +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
77011020a1 Merge remote-tracking branch 'remotes/origin/master' into responsiveadmin 2021-11-01 14:21:50 +01:00
azett
562844d4b8 Version push 2021-11-01 14:21:25 +01:00
azett
213642324c Merge remote-tracking branch 'remotes/origin/master' into responsiveadmin 2021-11-01 12:37:38 +01:00
azett
e2a6bf1a8a Fixed security issue reported by huntr.dev: Session cookie missed the "secure" flag. Thanks for reporting! 2021-10-23 20:25:09 +02:00
azett
14d503dfa9 version bump 2021-06-19 13:57:30 +02:00
azett
9cc5ef1a70 Merge branch 'master' of https://github.com/flatpressblog/flatpress into responsiveadmin 2021-06-04 15:55:15 +02:00
azett
89d4545920 BOM in French language files broke the admin area on some systems. BOM removed. 2021-06-03 11:37:01 +02:00
franciscoarocas
263f2b16df Merge branch 'master' into responsiveadmin 2021-04-01 00:42:44 +02:00
azett
9ce0674b57 Let's release version 1.2 "Legato"! \o/
Bumped system version to 1.2, edited changelog accordingly.
2021-03-20 12:21:05 +01:00
azett
e98ee2a6b6 Version bump to 1.2.beta2 2021-02-28 12:15:38 +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
8e2fc93d8a Merge branch 'master' into responsiveadmin 2021-02-08 15:37:07 +01:00