Simon Wisselink
d8b4496b7e
finished docs on security and extending smarty
2023-08-07 01:44:57 +02:00
Simon Wisselink
8492bf5c61
Docs on caching
2023-08-07 00:14:54 +02:00
Simon Wisselink
86b7d45399
Rewrote docs on filters and resources.
2023-08-06 01:09:31 +02:00
Simon Wisselink
4550bd8dfd
Improved docs on compile checking and inheritance
2023-05-03 23:34:44 +02:00
Simon Wisselink
41962d5790
more docs
2023-05-02 01:17:12 +02:00
Simon Wisselink
1afd49e973
WIP on API docs
2023-03-10 23:49:41 +01:00
Simon Wisselink
5db8fd2533
Further WIP improving docs
2023-03-09 23:16:18 +01:00
Simon Wisselink
7a323b7345
Update code examples to use Smarty\Smarty and autoload instead of require_once calls and new Smarty
2023-02-06 15:18:47 +01:00
Simon Wisselink
cf84802072
Finished improving designers docs
2023-02-06 14:56:06 +01:00
Simon Wisselink
4c6afd6b37
Improved another chunk of the designers docs
2023-02-06 14:55:07 +01:00
Simon Wisselink
15d3968114
fixes to docs
2023-02-06 14:50:24 +01:00
Simon Wisselink
e6360694bf
Add mkdocs for docs
2023-02-03 17:54:00 +01:00
Simon Wisselink
46dfed3837
Updated the changelog
2023-01-24 22:45:35 +01:00
Simon Wisselink
cdf1ed2a50
Simplified the (no)caching architecture by:
...
- removing support for $cache_attrs for registered plugins,
- removing the undocumented {make_nocache} tag and the deprecated {insert} tag and associated code
- removing support for a compile_id property on include tags.
Fixes a bug in extends: resources by propagating the nocache-hashes between a master template and it's subtemplates in \Smarty\Template::_subTemplateRender. This might need further improvement.
2023-01-13 15:47:57 +01:00
Simon Wisselink
e0f2c36d4d
converted 3 public properties on Template into getters/setters. unified Template creation code. Provided a getter/setter for the has_nocache_code property. Removed the useless DataObject class. Fixed a few tests. Removed the variable-allow-php-templates property from the docs.
2023-01-13 00:04:08 +01:00
Simon Wisselink
fd64cc688a
Removed PHP functions and checks for the already removed php modifiers. Re-implemented functions as regular functions. Probably should compile these directly.
2023-01-07 23:06:47 +01:00
Simon Wisselink
608a400e66
Fix scoping / global state problems in tests by using DI in Default Extension. Also removing a bunch of old fashioned phpdoc annotations that are superseded by namespaces.
2023-01-05 23:07:45 +01:00
Simon Wisselink
576bd4cc01
Removed support for PHP include path, and removed the ::loadPlugin method.
2023-01-05 21:58:29 +01:00
Simon Wisselink
9766aba66e
filter tests passing
2023-01-03 14:12:36 +01:00
Simon Wisselink
60a56969dd
WIP moving Smarty to PSR-4.
2023-01-02 00:49:38 +01:00
Simon Wisselink
ab5705a90d
Rewrote all default modifiers and functions from the plugins folder to PSR-4 classes
2022-12-24 23:38:13 +01:00
Simon Wisselink
4d66910e7f
Entire src dir now PSR-4 compatible
2022-12-22 22:38:37 +01:00
Simon Wisselink
f1e7b2d46f
src/sysplugins/* to PSR-4
2022-12-22 21:50:01 +01:00
Simon Wisselink
0fc2b3726b
src/Template/* to PSR-4
2022-12-22 21:23:22 +01:00
Simon Wisselink
d0319bdc87
Replace Smarty:: with symfony/polyfill-mbstring
2022-12-01 21:56:12 +01:00
Simon Wisselink
e54a53332f
Removed autoload filters
2022-11-30 10:06:09 +01:00
Simon Wisselink
8b5540f4f3
More PSR4 rewriting
2022-11-30 00:25:27 +01:00
Simon Wisselink
91b6fdeb4e
WIP converting code to PSR-4
2022-11-28 12:30:07 +01:00
Andrew Dawes
f81720941c
Fixed several typos and grammar errors ( #821 )
2022-10-22 22:08:38 +02:00
Simon Wisselink
254b5cabee
Dropped remaining references to removed PHP-support in Smarty 4 from docs, lexer and security class.
2022-09-27 12:21:01 +02:00
Simon Wisselink
f8e1ba76f7
Replaced outdated references to SMARTY_RESOURCE_CHAR_SET in docs with Smarty::$_CHARSET.
2022-06-15 22:12:38 +02: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