Commit Graph

4807 Commits

Author SHA1 Message Date
Pavel Kochman
02633ecaba math equation return warning: math: illegal character for : {math equation="max(x, y)" x=$x y=$y} 2022-02-04 21:03:25 +01:00
Simon Wisselink
612094d763 Updated changelog 2022-01-21 10:21:00 +01:00
Simon Wisselink
0ef0dda825 Merge pull request #713 from vemaeg/php81
PHP 8.1 compatibility (without IntlDateFormatter)
2022-01-21 10:18:48 +01:00
Thomas BACCELLI
cef8951100 Add PHP 8.1 tests 2022-01-18 15:56:23 +01:00
Thomas BACCELLI
323aefa89f Fix phpunit warning 2022-01-18 15:56:23 +01:00
Thomas A. Hirsch
277648b81c Cherry-picked from da76d927ed
Co-Authored-By: Thomas BACCELLI <tbaccelli@gmail.com>
2022-01-18 15:56:23 +01:00
Thomas A. Hirsch
8d3a7af308 Cherry-picked from da76d927ed
Co-Authored-By: Thomas BACCELLI <tbaccelli@gmail.com>
2022-01-18 15:56:23 +01:00
Simon Wisselink
cdf0f2b164 Merge branch 'release/4.0.4' v4.0.4 2022-01-18 00:17:19 +01:00
Simon Wisselink
995b7eb36f version bump 2022-01-18 00:17:17 +01:00
Claas Augner
059bea274c Support multiple operators in math equations (#708)
* fix(math): fix equation regexp

Fixes #702.
2022-01-18 00:10:17 +01:00
Simon Wisselink
f707dadecb Merge branch 'release/4.0.3' v4.0.3 2022-01-10 10:52:14 +01:00
Simon Wisselink
ace1c8e90f version bump 2022-01-10 10:52:13 +01:00
Simon Wisselink
19ae410bf5 Merge pull request from GHSA-4h9c-v5vg-5m6m
* Prevent evasion of the static_classes security policy.

* Updated deprecated exception expectations.
2022-01-10 10:48:27 +01:00
Simon Wisselink
baad3115cd Fixed PHPUnit expected Exceptions. (#701) 2022-01-10 09:46:01 +01:00
Simon Wisselink
6f4f06db7e Merge branch 'release/4.0.2' v4.0.2 2022-01-10 00:09:08 +01:00
Simon Wisselink
a535445dfd version bump 2022-01-10 00:09:06 +01:00
Simon Wisselink
215d81a9fa Merge pull request from GHSA-29gp-2c3m-3j6m
* Temporary fix. Waiting for CVE

* Add CVE
2022-01-10 00:01:43 +01:00
Simon Wisselink
efb416e5ef Fixed unit tests 2022-01-09 23:29:43 +01:00
Simon Wisselink
29c0e5ac51 Merge branch 'release/4.0.1' v4.0.1 2022-01-09 23:20:45 +01:00
Simon Wisselink
23be620fc8 version bump 2022-01-09 23:20:44 +01:00
Simon Wisselink
e6ab34654b Merge remote-tracking branch 'origin/master' 2022-01-09 23:15:44 +01:00
Simon Wisselink
c7576eb1a1 Rewrote the mailto function to not use eval when encoding with javascript 2022-01-09 23:15:25 +01:00
Marc Laporte
56aadc697f Fix a typo in docs (#690) 2021-12-22 23:01:19 +01:00
Darek Krzysztofiak
cd962280ce Fix for php 8.0 (#687)
* Fix PHP 8.0
$parts must be an array, because the argument for count() must be countable, mb_split() returns an array or a boolean.
2021-12-03 17:13:52 +01:00
Simon Wisselink
cb5efd04c3 Improve the documentation, bringing it up to date with PHP7/8 and Smarty 4 and providing
a more logical introduction and getting started experience.
2021-12-03 16:51:08 +01:00
Simon Wisselink
3a91df797e added links to appndixes, removed unuseful old appendixes 2021-12-03 12:18:46 +01:00
Simon Wisselink
6983788dfb Merge branch 'master' of github.com:smarty-php/smarty 2021-12-03 12:15:04 +01:00
Simon Wisselink
09875a61f4 changed homepage links in composer.json 2021-12-03 12:04:13 +01:00
Simon Wisselink
428a701b18 Feature/add docs (#689)
* Add converted docs repo

* Set theme jekyll-theme-minimal

* Removed BC docs, added TOC

* Added TOCs, rewrote most important links in documentation. Linked README to new Github Pages site

* some link fixes
2021-12-03 11:59:22 +01:00
Simon Wisselink
baebd59bb4 Merge branch 'release/4.0.0' v4.0.0 2021-11-25 22:18:25 +01:00
Simon Wisselink
e603269eda version bump 2021-11-25 22:18:24 +01:00
Simon Wisselink
572cbe5595 Make make-release.sh safer by checking for version number. 2021-10-22 15:59:46 +02:00
Simon Wisselink
ffb2fd923b Update README.md. Fix references to Smarty3. Get rid of old changelog-like files. 2021-10-13 22:49:43 +02:00
Simon Wisselink
64a6333d5d Merge branch 'release/4.0.0-rc.0' v4.0.0-rc.0 2021-10-13 12:16:20 +02:00
Simon Wisselink
d0863f0d0b version bump 2021-10-13 12:16:19 +02:00
Simon Wisselink
39b69f0142 Feature/php8 support (#629)
Adds support for PHP8.0, dropping support for PHP7.0 and below.

Backwards incompatible changes:
- Dropped support for php asp tags in templates (removed from php since php7.0)
- Dropped deprecated API calls that where only accessible through SmartyBC
- Dropped support for {php} and {include_php} tags and embedded PHP in templates. Embedded PHP will now be passed through as is.
- Removed all PHP_VERSION_ID and compare_version checks and conditional code blocks that are now no longer required
- Dropped deprecated SMARTY_RESOURCE_CHAR_SET and SMARTY_RESOURCE_DATE_FORMAT constants
- Dropped deprecated Smarty::muteExpectedErrors and Smarty::unmuteExpectedErrors API methods
- Dropped deprecated $smarty->getVariable() method. Use $smarty->getTemplateVars() instead.
- $smarty->registerResource() no longer accepts an array of callback functions

See the changelog for more details.

Switched CI from Travis to Github CI.
2021-10-13 12:15:17 +02:00
Simon Wisselink
9d4f8309ed Merge branch 'release/3.1.40' v3.1.40 2021-10-13 12:04:31 +02:00
Simon Wisselink
7c4354e7b8 version bump 2021-10-13 12:04:29 +02:00
Simon Wisselink
770bc4aae2 Merge branch 'm-haritonov-escape' 2021-08-19 16:15:57 +02:00
Simon Wisselink
0ff7ba5ab6 Add changelog 2021-08-19 16:13:30 +02:00
Simon Wisselink
3b0fd82849 Merge branch 'escape' of https://github.com/m-haritonov/smarty into m-haritonov-escape 2021-08-19 15:26:27 +02:00
Ikko Ashimine
1a68b79b6c Update README.md (#668)
github -> GitHub
2021-08-18 23:23:36 +02:00
Michael Voříšek
e3eabe0b96 Delete uninted file expectException (#664) 2021-05-25 21:18:07 +02:00
Simon Wisselink
4698dd9fb0 Changelog 2021-03-21 21:24:32 +01:00
David Goodwin
039043e5a2 Update modifier.escape.php (#649)
trigger a notice if an incorrect modifier was used (E.g.|escape:quotes vs |escape:quote).
2021-03-21 21:21:55 +01:00
Mihail Haritonov
9cde36e3bc plugins: escape: javascript escaping secure fix 2021-02-28 16:44:56 +03:00
Simon Wisselink
290aee6db3 Update CHANGELOG.md
Add CVE's
2021-02-21 22:23:45 +01:00
Simon Wisselink
e2485fa45e Create SECURITY.md 2021-02-21 22:03:44 +01:00
Simon Wisselink
e27da524f7 Merge branch 'release/3.1.39' v3.1.39 2021-02-17 22:57:51 +01:00
Simon Wisselink
a21f59663c version bump 2021-02-17 22:57:50 +01:00