summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-03-25Upgrade actions/checkout and actions/cache (#870)takaram1-2/+2
2023-02-23Update SECURITY.md with correct version info.Simon Wisselink1-4/+5
2023-02-23Add missing dirsSimon Wisselink2-0/+4
2023-02-23CompileCheck test and extra note on how it works in docsSimon Wisselink2-0/+126
2023-02-23Some additional unit testsSimon Wisselink5-1/+31
2023-02-06Finished improving designers docsSimon Wisselink55-1807/+1837
2023-02-06Improved another chunk of the designers docsSimon Wisselink24-1336/+1250
2023-02-05WIP improving the docsSimon Wisselink25-765/+705
2023-02-03fixes to docsSimon Wisselink38-53/+53
2023-02-03multiversion mkdocs configSimon Wisselink2-0/+23
2023-01-31Fix error in docs on prepend/append. Fixes #818.Simon Wisselink1-2/+2
2023-01-17PHP 8.1 deprecation warnings on null strings in modifiers (#834)Adrien Poupa9-13/+14
2023-01-13Fix unit tests that broke because now is now in 2023Simon Wisselink1-2/+2
2023-01-13Added variable scope test for multi-level extends resourceSimon Wisselink13-42/+22
2022-11-24Allow dereferencing of non-objects accross all supported PHP versions (#832)Simon Wisselink3-2/+48
Fixes #831
2022-11-24Simplify test running to support all phpunit cmdline optionsSimon Wisselink3-52/+17
2022-11-24Treat undefined vars and array access of a null or false variables ↵Simon Wisselink3-6/+23
equivalent across all supported PHP versions (#830) * Added test to see what changed exactly * Treat undefined vars and array access of a null or false variables equivalent across all supported PHP versions * Removed 2 tests that produce inconsistent results between PHP7.x versions. * Fix regex matching for slightly different error message for php7.1
2022-11-23Also mute php7 notices for undefined array indexes when ↵Simon Wisselink3-4/+6
muteUndefinedOrNullWarnings is activated. (#829) Fixes #736
2022-11-22Merge branch 'release/4.3.0'v4.3.0Simon Wisselink2-1/+3
2022-11-22version bumpSimon Wisselink2-1/+3
2022-11-22Change file permissions for directories and respect umask for written files. ↵Simon Wisselink2-5/+5
(#828) Fixes #548 Fixes #819
2022-11-22Make SmartyCompilerException play nicer with error handler libraries (#782)Hunman2-2/+34
* Make SmartyCompilerException play nicer with error handler libraries Added a new constructor, which accepts a filename and a line number too (similar to ErrorException, except no severity parameter) This way error handlers will display the correct file's correct line as the source of the exception, instead of the template's line in the core of the parser (php file) Kept the __toString() method, but removed $source, $desc, and $template * Revert the breaking changes
2022-11-22PHP8.2 compatibility (#775)Progi198422-129/+95
* PHP8.2 compatibility * PHP8.2 compatibility : Fixed unit tests * PHP8.2 compatibility : Replace ENT_COMPAT by ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 * PHP8.2 compatibility : Remove deprecated utf8_decode * PHP8.2 compatibility : Remove HTML-ENTITIES parameter * Removed some unused code for clarity, updated the changelog. * More concise escape implementation and unit test to cover both modifierplugin and modifiercompiler. * Fix htmlall unescape of quotes without mbstring too Co-authored-by: Simon Wisselink <s.wisselink@iwink.nl>
2022-10-22Fixed several typos and grammar errors (#821)Andrew Dawes31-43/+43
2022-09-27Update changelogSimon Wisselink1-0/+1
Closes #816
2022-09-27Dropped remaining references to removed PHP-support in Smarty 4 from docs, ↵Simon Wisselink13-226/+8
lexer and security class.
2022-09-27Use __DIR__ instead of dirname(__FILE__) (#817)Raimondas Rimkevičius152-250/+250
2022-09-23Using PHP functions as modifiers now triggers a deprecation notice (#814)Simon Wisselink20-44/+299
Fixes #813
2022-09-22Bug fix for underscore in template name (#581)Scott Newton2-2/+14
* Corrected bug #578, where underscore characters were being stripped from template names when using a custom resource * Increased the maximum template name length to 127 characters when using a custom resource
2022-09-22#155 Adapt Smarty upper/lower functions to be codesafe (e.g. for Turkish ↵Alec Smecher11-29/+94
locale) (#586) * Implemented locale safe strotoupper, strolower and ucfirst functions for translating user string to filenames etc. Fixes #155 Co-Authored-By: Alexkurd <7689609+Alexkurd@users.noreply.github.com>
2022-09-22Fixed PHP8.1 deprecation errors in strip_tags (#803)Simon Wisselink2-2/+3
2022-09-22Removed now superfluous phpunit.shSimon Wisselink1-2/+0
2022-09-22Re-organize all testrunners to use the same script(s). (#812)Simon Wisselink6-15/+59
2022-09-22Updated changelogSimon Wisselink1-0/+1
2022-09-22Fixed PHP8.1 deprecation errors passing null to parameter in trim (#807)Mathias1-2/+2
Fixed a PHP 8.1 deprecation error: trim(): Passing null to parameter #1 ($string) of type string is deprecated in cacheresource_keyvaluestore.php on line 247 and in cacheresource_keyvaluestore.php on line 431
2022-09-22Silence deprecation errors for strtime in PHP8.1 or higherSimon Wisselink3-5/+7
Fixes #672 (#811)
2022-09-21Update changelogSimon Wisselink1-0/+1
2022-09-21Fix Variable Usage (#808)Jonathan Stoll1-1/+1
Fix Variable Usage in Exception message when unable to load subtemplate
2022-09-20Include docs en demo in the releases.Simon Wisselink2-2/+3
Fixes #799
2022-09-18Added changelogSimon Wisselink1-0/+1
2022-09-18fix compilation for caching templates (#801)Storyxx1-2/+2
2022-09-18Fix wrong indentation in libs/plugins/modifier.capitalize.php (#802)Hypolite Petovan1-1/+1
2022-09-14clean output buffer for Throwable instead of just Exception (#797)Simon Wisselink2-1/+4
Fixes #514
2022-09-14Merge branch 'release/4.2.1'v4.2.1Simon Wisselink2-1/+3
2022-09-14version bumpSimon Wisselink2-1/+3
2022-09-14Fixed unselected year/month/day not working in html_select_dateSimon Wisselink3-32/+68
Fixes #395
2022-09-14Applied appropriate javascript and html escaping in mailto plugin to counter ↵Simon Wisselink3-12/+40
injection attacks Fixes #454
2022-09-13Fixed PHP8.1 deprecation errors in capitalize modifierSimon Wisselink2-0/+3
Fixes #789
2022-09-12prevent double CI workflows in PRsSimon Wisselink1-2/+4
2022-09-12Exclude unit test files from git exportSimon Wisselink1-0/+1