109 Commits

Author SHA1 Message Date
4785f07f12
Always assume UTF-8. 2022-02-20 17:14:54 +01:00
7156dec439
More cleanup. 2022-02-19 23:55:03 +01:00
Markus Birth
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
Markus Birth
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
surrim
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
onli
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
onli
717282a58a Run 'compose update' 2021-04-27 21:30:20 +02:00
onli
c162094fb3 Update Smarty to 3.1.39 2021-03-15 18:24:13 +01:00
onli
f7d0e4530c Update Cache-Lite to 1.8.3
Compatibility with PHP 7.4
2021-03-05 08:21:36 +01:00
onli
a3007dd5f9 Add PEAR/Exception.php to HTTP/Request2 to evade hoster error
See https://board.s9y.org/viewtopic.php?f=10&t=23815&p=10453266
2020-05-03 18:30:04 +02:00
Soatok Dreamseeker
7e98987b5a Commit changes to bundled-libs after Zend->Laminas rename 2020-05-03 11:11:13 +02:00
Thomas Hochstein
0d7094582f Patch HTTP_Request2 to fix PHP 7.4 issue.
Applying the patch from
https://pear.php.net/bugs/bug.php?id=23839&edit=12&patch=remove-obsolete-magic-quotes-function&revision=1564911457

Fixes #615

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-10 11:42:57 +02:00
onli
e82571beed Fix: invalid sizeof in XML/RPC
Third parameter is supposed to be a bool anyway
2019-04-27 13:39:57 +02:00
Lars Moelleken
d75ace7440 [+]: update composer.json (require min. php 7.0) + update "voku/simple-cache" 2019-03-04 10:30:07 +01:00
onli
fd00877141 Add missing composer autoload dependencies 2019-02-15 16:48:20 +01:00
onli
b9617be068 Make XML_RPC further PHP 7.2 compatible (#556) 2019-02-13 19:40:18 +01:00
onli
d52f0004a4 Add voku/simplecache as alternative to Cache/Lite and use it cache
Cache/Lite is abandoned
2019-02-12 18:52:08 +01:00
onli
fc02b0306b Update Smarty to 3.1.33 2019-02-12 17:50:49 +01:00
onli
839d45675c XMLRPC: Replace deprecated constructor (#532) 2019-02-11 18:43:02 +01:00
onli
0a35bd4c59 Update Smarty to 3.1.32 2018-08-17 09:35:36 +02:00
Thomas Hochstein
099c06f11d Add Net/DNS2.php 1.4.3 to core.
Fixes #459

See https://pear.php.net/package/Net_DNS2/

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-13 12:39:41 +02:00
onli
d973e99933 Workaround PHP < 5.6 bug, not verifying certs, stopping Request2
See http://board.s9y.org/viewtopic.php?f=10&t=20773 and #399
2016-06-22 19:42:07 +02:00
onli
dbf21c3df5 Cache_Lite: Use __construct (#399) 2016-05-10 12:40:15 +00:00
onli
78de4c894b Update Net_DNSBL to 1.3.7 (#399) 2016-05-10 03:01:16 +00:00
onli
741a0c3508 Onyx: Use Http/Request2 (#399) 2016-05-10 02:04:37 +00:00
onli
4aefefc295 Update HTTP_Request (#399) 2016-04-27 18:52:12 +00:00
onli
51d88128f4 Update pear (#399) 2016-04-27 18:50:44 +00:00
onli
a8ac90c466 Init php 7 compatibility (#399)
A first approach at fixing s9y for php 7, which makes it possible to
write an entry without any error message. The specific changes are: 1.
__construct for the plugin classes 2. Update Cache Lite to a modern
version to fix its similar constructor problem 3. Remove the
session_regenerate_id call from the session destructor (should get
re-added to session creation where necessary) 4. Remove error handler to
prevent silenced warnings from becoming fatal exceptions
2016-04-26 22:39:11 +00:00
Ian
3eb59e9052 fix whitespaces and tabs 2015-12-20 17:23:11 +01:00
Ian
d0994583ce better Smarty debug pop up 2015-08-15 16:44:27 +02:00
Ian
a7d4e0111d Smarty upgrade 3.1.27 2015-06-18 13:20:50 +02:00
Ian
b19d6137fb Smarty bugfix releases, since last upgrade, to 3.1.25
Will now compile vastly better!

Please read change_log.txt and NEW_FEATURES.txt

We may want to use some of these new features in 2.1, which briefly are about:
Namespace support within templates, Security, Compiled Templates, Debugging
2015-06-16 12:28:49 +02:00
Garvin Hicking
5f14b67e66 Things I noted during configuration 2015-03-19 16:08:39 +01:00
Ian
e483598fb3 extend last smarty bugfix patch
References 762283c and ef90f8e

see 8d5fa36a80
2015-01-22 10:58:30 +01:00
Ian
ef90f8e157 integrate Smarty 3.1.22-dev fix to clearCompiledTemplate() to avoid purging a wrong directory fallback on dir permission issues
7a1df12afa
2015-01-21 11:36:00 +01:00
Ian
4858687501 cv pear update 2015-01-15 17:31:48 +01:00
Ian
4433f91e69 set E_STRICT fix for raiseError()
References #256
2015-01-11 17:49:19 +01:00
Ian
d758e6b591 fix 9fbb248
Reference #256
2015-01-10 19:56:46 +01:00
Ian
9fbb248531 update to PEAR 1.9.5 and add PEAR5 file
see #256
2015-01-10 17:51:08 +01:00
Garvin Hicking
7f6194e195 * Patch PEAR.php to use "static" isError declaration to prevent
PHP error messages
2015-01-05 12:44:58 +01:00
Garvin Hicking
eab43b12f5 Adjust remaining htmlspecialchars() accordingly 2014-11-24 10:13:40 +01:00
Garvin Hicking
55c321b678 Added "archives" path to release structure 2014-10-26 20:34:19 +01:00
Ian
dcae514215 Smarty 3.1.21 upgrade (see changelog) 2014-10-19 16:19:01 +02:00
Ian
7e0eadb254 Smarty 3.1.20 upgrade (see changelog) 2014-10-10 18:24:44 +02:00
Garvin Hicking
41388a4a7e we have a problem with a required "PEAR5.php" since this upgrade.
We need to bundle this. I'm short on time, need to remember creating
an issue for this please.
temporary hotfix: Always use PEAR and not PEAR5
2014-07-13 18:51:49 +02:00
Ian
cb220b6c94 fixes extends resource
- fixes the bugfix of 02.06.2014 broke correct handling of child templates with same name but different template folders in extends resource (issue 194 and topic 25099)

git-svn-id: http://smarty-php.googlecode.com/svn/trunk/distribution/libs@4858 9dce5a81-9a42-0410-99e4-3799d3902e7f
2014-07-05 11:38:51 +02:00
Ian
3e0bbaa2f0 Smarty 3.1.19 upgrade 2014-07-01 16:44:57 +02:00
Ian
60e15aaaac added apc and memcache Smarty support 2014-06-13 16:07:32 +02:00
Ian
50344b19c0 get ready for Smarty apc caching 2014-06-08 19:27:56 +02:00
Garvin Hicking
2c5c3eddbf Switch back versions to release versions (also show CVS ids), re-added patch for PEAR 2014-05-14 14:38:04 +02:00