Commit Graph

  • 4d66910e7f Entire src dir now PSR-4 compatible Simon Wisselink 2022-12-22 22:38:37 +01:00
  • f1e7b2d46f src/sysplugins/* to PSR-4 Simon Wisselink 2022-12-22 21:50:01 +01:00
  • 0fc2b3726b src/Template/* to PSR-4 Simon Wisselink 2022-12-22 21:23:22 +01:00
  • d88175de3e Refactored all _runtime_* by merging them into the proper classes or by transforming them into Runtime Extensions. Simon Wisselink 2022-12-22 15:43:20 +01:00
  • cfd8c08d09 smarty_internal_resource_* to PSR-4 Simon Wisselink 2022-12-21 16:33:26 +01:00
  • b0db4705a0 Finished moving smarty_internal_method_* Simon Wisselink 2022-12-21 14:47:33 +01:00
  • 5cac5e42f1 WIP rewriting smarty_internal_method_* Simon Wisselink 2022-12-21 14:01:18 +01:00
  • 6ba059dea8 Rewrote all Compile and Compiler classes to PSR-4 Simon Wisselink 2022-12-20 23:47:18 +01:00
  • 1524f11c8e finished rewriting all compile classes into PSR-4 Simon Wisselink 2022-12-20 23:05:36 +01:00
  • 164a89a1fd WIP making compile classes PSR-4 Simon Wisselink 2022-12-01 23:44:58 +01:00
  • d0319bdc87 Replace Smarty:: with symfony/polyfill-mbstring Simon Wisselink 2022-12-01 21:56:12 +01:00
  • 9a0d46f1bc WIP making compile classes PSR-4 Simon Wisselink 2022-12-01 21:54:23 +01:00
  • 53fe73b9cc WIP making compile classes PSR-4 Simon Wisselink 2022-12-01 21:53:05 +01:00
  • e54a53332f Removed autoload filters Simon Wisselink 2022-11-30 10:06:09 +01:00
  • 8b5540f4f3 More PSR4 rewriting Simon Wisselink 2022-11-30 00:25:27 +01:00
  • 91b6fdeb4e WIP converting code to PSR-4 Simon Wisselink 2022-11-28 12:30:07 +01:00
  • a34ee98e21 Allow dereferencing of non-objects accross all supported PHP versions (#832) Simon Wisselink 2022-11-24 18:44:19 +01:00
  • 198ed21902 Allow dereferencing of non-objects accross all supported PHP versions Fixes #831 feature/dereferencing_of_non_objects Simon Wisselink 2022-11-24 18:30:34 +01:00
  • 21d15d0b79 Merge branch 'master' into patch-1 patch-1 Simon Wisselink 2022-11-24 18:26:00 +01:00
  • 4d1cf61bb8 Simplify test running to support all phpunit cmdline options Simon Wisselink 2022-11-24 18:24:17 +01:00
  • e2ace32f97 Merge branch 'master' into patch-1 Rudie Dirkx 2022-11-24 11:33:03 +01:00
  • c0a6b641bf Treat undefined vars and array access of a null or false variables equivalent across all supported PHP versions (#830) Simon Wisselink 2022-11-24 09:43:51 +01:00
  • 9e443fdacd Fix regex matching for slightly different error message for php7.1 bugfix/error_on_array_key_access_when_var_is_false Simon Wisselink 2022-11-24 09:28:59 +01:00
  • 3e82c271d4 Removed 2 tests that produce inconsistent results between PHP7.x versions. Simon Wisselink 2022-11-24 09:20:14 +01:00
  • dad8005b64 Treat undefined vars and array access of a null or false variables equivalent across all supported PHP versions Simon Wisselink 2022-11-24 00:35:06 +01:00
  • dee0c3ffd4 Added test to see what changed exactly Simon Wisselink 2022-11-23 23:56:08 +01:00
  • 044647bd71 Also mute php7 notices for undefined array indexes when muteUndefinedOrNullWarnings is activated. (#829) Simon Wisselink 2022-11-23 23:26:24 +01:00
  • 0ec1a67f6b Also mute php7 notices for undefined array indexes when muteUndefinedOrNullWarnings is activated. Fixes #736 bugfix/mute_errors_for_php7_too Simon Wisselink 2022-11-23 23:00:01 +01:00
  • c02e9e135e Merge branch 'release/4.3.0' v4.3.0 Simon Wisselink 2022-11-22 22:47:32 +01:00
  • 67ab8f6879 version bump Simon Wisselink 2022-11-22 22:47:30 +01:00
  • 773b3b4b7c Change file permissions for directories and respect umask for written files. (#828) Simon Wisselink 2022-11-22 22:31:54 +01:00
  • 69c4e07940 Change file permissions for directories and respect umask for written files. Fixes #548 Fixes #819 feature/fix_file_perms_and_respect_umask Simon Wisselink 2022-11-22 22:25:26 +01:00
  • 613c5d691c Make SmartyCompilerException play nicer with error handler libraries (#782) Hunman 2022-11-22 21:58:13 +01:00
  • 3251b1c32d Merge branch 'master' into 420upd 420upd Simon Wisselink 2022-11-22 21:31:35 +01:00
  • c016895166 PHP8.2 compatibility (#775) Progi1984 2022-11-22 21:22:57 +01:00
  • 665b216f61 Fix htmlall unescape of quotes without mbstring too php82 Simon Wisselink 2022-11-22 00:47:03 +01:00
  • 6f4025b038 More concise escape implementation and unit test to cover both modifierplugin and modifiercompiler. Simon Wisselink 2022-11-18 13:03:45 +01:00
  • 4c39c543d4 Removed some unused code for clarity, updated the changelog. Progi1984 2022-11-18 09:58:47 +01:00
  • 9fee14e7af PHP8.2 compatibility : Remove HTML-ENTITIES parameter Progi1984 2022-11-18 09:52:47 +01:00
  • afbcf3250d PHP8.2 compatibility : Remove deprecated utf8_decode Progi1984 2022-09-19 09:32:41 +02:00
  • 87c479c87e PHP8.2 compatibility : Replace ENT_COMPAT by ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 Progi1984 2022-09-19 09:25:47 +02:00
  • 892dc33907 PHP8.2 compatibility : Fixed unit tests Progi1984 2022-09-15 15:16:53 +02:00
  • d02ef6652a PHP8.2 compatibility Progi1984 2022-07-25 13:55:53 +02:00
  • f81720941c Fixed several typos and grammar errors (#821) Andrew Dawes 2022-10-22 22:08:38 +02:00
  • e6ee257ca2 Merge branch 'master' into 420upd Ian 2022-09-29 09:24:42 +02:00
  • 8b4d380103 Made a start on improved layout feature/improve_docs_markdown Simon Wisselink 2022-09-27 14:36:52 +02:00
  • 1ff79c6c38 Update changelog Closes #816 Simon Wisselink 2022-09-27 12:24:08 +02:00
  • 254b5cabee Dropped remaining references to removed PHP-support in Smarty 4 from docs, lexer and security class. Simon Wisselink 2022-09-27 12:21:01 +02:00
  • 1b556c7077 Use __DIR__ instead of dirname(__FILE__) (#817) Raimondas Rimkevičius 2022-09-27 13:03:34 +03:00
  • 4550fc0339 Using PHP functions as modifiers now triggers a deprecation notice (#814) Simon Wisselink 2022-09-23 00:09:00 +02:00
  • 4fc39d59a5 Bug fix for underscore in template name (#581) Scott Newton 2022-09-22 17:56:18 -04:00
  • 965275d04f whitespace deprecate_php_functions_as_modifiers Simon Wisselink 2022-09-22 23:55:25 +02:00
  • 4bb044ad73 Resolve comment by extracting method bugfix/underscore_in_template_name Simon Wisselink 2022-09-22 23:49:12 +02:00
  • d5178e3cb4 Limit max length to 127 and add changelog Simon Wisselink 2022-09-22 23:44:35 +02:00
  • 801fab18d1 Merge branch 'master' into bugfix/underscore_in_template_name Simon Wisselink 2022-09-22 23:40:58 +02:00
  • 293fb0573d Merge branch 'master' into bugfix/underscore_in_template_name Simon Wisselink 2022-09-22 23:40:38 +02:00
  • 0fb29024e7 #155 Adapt Smarty upper/lower functions to be codesafe (e.g. for Turkish locale) (#586) Alec Smecher 2022-09-22 14:32:55 -07:00
  • c2b31f7a90 mental notes i155-fix Simon Wisselink 2022-09-22 23:32:10 +02:00
  • 489d647841 whitespace Simon Wisselink 2022-09-22 23:26:46 +02:00
  • cc113d4eb7 Use smarty_strtolower_ascii in autoloader to. Simon Wisselink 2022-09-22 23:24:32 +02:00
  • 0a44dca645 Merge branch 'master' into i155-fix Simon Wisselink 2022-09-22 23:22:41 +02:00
  • 3ce328b6d0 Implemented locale safe strotoupper, strolower and ucfirst functions for translating user string to filenames etc. Fixes #155 Simon Wisselink 2022-09-22 23:19:04 +02:00
  • 2aa0b3f855 Using PHP functions as modifiers now triggers a deprecation notice. Fixes #813 Simon Wisselink 2022-09-22 17:25:36 +02:00
  • e58c3dde4d Update changelog Simon Wisselink 2022-09-22 15:05:07 +02:00
  • e1fb2ad688 clean output buffer for Throwable instead of just Exception (#798) Simon Wisselink 2022-09-22 14:56:33 +02:00
  • 612bd3f657 Fixed PHP8.1 deprecation errors in strip_tags (#803) Simon Wisselink 2022-09-22 14:55:20 +02:00
  • 1a69f4e4c7 Re-organize testrunners to use the same script(s). Simon Wisselink 2022-09-22 14:53:56 +02:00
  • 9eea30ec1e Removed now superfluous phpunit.sh Simon Wisselink 2022-09-22 14:44:45 +02:00
  • ea95e8b047 Re-organize all testrunners to use the same script(s). (#812) Simon Wisselink 2022-09-22 14:31:49 +02:00
  • 474138fd7e Updated changelog Simon Wisselink 2022-09-22 14:31:01 +02:00
  • b91c04bfcf Fixed PHP8.1 deprecation errors passing null to parameter in trim (#807) Mathias 2022-09-22 14:29:51 +02:00
  • a840c46293 Re-organize all testrunners to use the same script(s). reorganize_testrunners Simon Wisselink 2022-09-22 14:25:17 +02:00
  • c53342c9fc Silence deprecation errors for strtime in PHP8.1 or higher Simon Wisselink 2022-09-22 14:11:36 +02:00
  • 032963e44b Silence deprecation errors for strtime in PHP8.1 or higher.\nFixes #672 bugfix/silence_strftime_notices Simon Wisselink 2022-09-22 14:06:55 +02:00
  • f8a958cd53 Update changelog Simon Wisselink 2022-09-21 21:56:39 +02:00
  • 45345e75ec Fix Variable Usage (#808) Jonathan Stoll 2022-09-21 21:54:41 +02:00
  • bf7d6b8bd8 Include docs en demo in the releases. Fixes #799 Simon Wisselink 2022-09-20 22:45:16 +02:00
  • 57d77853df Fixed PHP8.1 deprecation errors in strip_tags bugfix/strip_tags_php81 Simon Wisselink 2022-09-18 17:53:13 +02:00
  • 32a11b34ea Added changelog Simon Wisselink 2022-09-18 17:18:32 +02:00
  • db80246b58 fix compilation for caching templates (#801) Storyxx 2022-09-18 17:15:56 +02:00
  • d683641f90 Fix wrong indentation in libs/plugins/modifier.capitalize.php (#802) Hypolite Petovan 2022-09-18 05:14:59 -04:00
  • 0d4939e135 Improve issue with certain ?? ternary in 159ed4ee02 Ian 2022-09-15 12:15:37 +02:00
  • e2e68b3622 clean output buffer for Throwable instead of just Exception (#797) Simon Wisselink 2022-09-14 13:47:36 +02:00
  • b32d17bb5e clean output buffer for Throwable instead of just Exception Fixes #514 clean_output_buffer_for_all_throwables_v4 Simon Wisselink 2022-09-14 13:40:26 +02:00
  • a09364fe17 Merge branch 'release/3.1.47' into support/3.1 v3.1.47 Simon Wisselink 2022-09-14 13:29:00 +02:00
  • c51719bdfe version bump Simon Wisselink 2022-09-14 13:28:58 +02:00
  • 3f426c498e Test for existence of htmlspecialchars flag (PHP < 5.4) Simon Wisselink 2022-09-14 13:19:53 +02:00
  • 4d316d37a9 Smarty5 syntax fix Simon Wisselink 2022-09-14 13:09:50 +02:00
  • ffa2b81a8e Merge branch 'release/4.2.1' v4.2.1 Simon Wisselink 2022-09-14 12:59:01 +02:00
  • c693d81370 version bump Simon Wisselink 2022-09-14 12:58:59 +02:00
  • 80e45491e1 Smarty5 syntax fix Simon Wisselink 2022-09-14 12:58:07 +02:00
  • 08afb5150e Fixed unselected year/month/day not working in html_select_date Fixes #395 Simon Wisselink 2022-09-14 12:44:37 +02:00
  • 813c83f7a3 Fixed unselected year/month/day not working in html_select_date Fixes #395 Simon Wisselink 2022-09-14 12:44:37 +02:00
  • f1f7ee6e34 Applied appropriate javascript and html escaping in mailto plugin to counter injection attacks Fixes #454 Simon Wisselink 2022-09-14 11:38:18 +02:00
  • 55ea25d1f5 Applied appropriate javascript and html escaping in mailto plugin to counter injection attacks Fixes #454 Simon Wisselink 2022-09-14 11:38:18 +02:00
  • d304d349b4 Fixed PHP8.1 deprecation errors in capitalize modifier Fixes #789 Simon Wisselink 2022-09-13 12:19:44 +02:00
  • 25051e6e88 Bugfix/rand without param v3 (#796) Simon Wisselink 2022-09-12 16:03:27 +02:00
  • 7494818434 prevent double CI workflows in PRs Simon Wisselink 2022-09-12 16:02:42 +02:00
  • 50d5890eac Exclude unit test files from git export Simon Wisselink 2022-09-12 15:52:32 +02:00
  • 6872e78238 Utility script for running unit tests on all PHP versions locally Simon Wisselink 2022-09-12 15:49:37 +02:00