aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/frontend.php
Commit message (Collapse)AuthorAge
* Refactor textprocessorsLaria Carolin Chabowski2020-09-25
| | | | | They are now managed by TextprocessorRepository and are instances of Textprocessor. This replaces the global $textprocessors variable.
* Deprecate htmlesc for Esc::escLaria Carolin Chabowski2020-09-25
| | | | "Stole" this class from another project of mine (micropoly)
* Fix inconsistent return typeLaria Carolin Chabowski2020-09-22
|
* Code cleanupLaria Carolin Chabowski2020-09-21
| | | | | | | | | | - Remove unused variables - Remove unused utility functions - Asserting presence and typehinting global variables - Remove unused variables - Add missing global - Add parameter type constraint - Fix some references to nonexisting variables
* Automatic code formattingLaria Carolin Chabowski2020-04-26
|
* Some simple code formattingLaria Carolin Chabowski2020-04-26
| | | | | | - Expand tabs into spaces - Remove trailing whitespace - Get rid of closing `?>` tags
* Expand tabs and remove trailing whitespaceLaria Carolin Chabowski2020-04-26
|
* Fixed referencing and constants.Kevin Chabowski2013-10-03
| | | | | * Creating a varaible reference at call time is not possbile any more. * When defining a constant, we pass the name as a string now.
* articles_get can take section/tag as a var now.Kevin Chabowski2012-06-06
| | | | | | * For better cooperation with the on_* tags (which are tested now). * Should also reduce the number of SQL-Queries if used correctly and therefore improve performance.
* Implemented on_* tags. UNTESTED!Kevin Chabowski2012-06-01
| | | | | on_article / on_tag / on_section will execute and return its content, if currently a(n) article / tag / section is requested.
* ste:comment_form can now generate a previewbtn by default.Kevin Chabowski2012-05-21
|
* Plugins can now hook into the Article editor.feature-plugin-articledataKevin Chabowski2012-05-20
| | | | | | | * Plugins can display additional fields in the article editor. * Plugins can perform actions when saving an article and even veto the saving. * Plugins can get their ArticleExtradata objects.
* Uncatched exception, if a tag had no translation for current language.Kevin Chabowski2012-04-24
| | | | | Now fixed. These tags are now filtered out. Also, Beta 5
* Debug now toggleable in backend; used new STE features.Kevin Chabowski2012-03-01
| | | | | | | * If __DEBUG__ is true, STE will be in a more verbose mode. * Ratatöskr's frontend STETags now uses the \ste\RuntimeError exception This will also be Beta 3
* Fixed docu.Kevin Chabowski2012-02-04
|
* TIL: <form />'s method value *MUST* be lowercase.Kevin Chabowski2012-02-03
| | | | | <irony>That makes kind of sense, since it is written UPPERcase in the HTTP protocol...</irony>
* Added on_comment_store event.Kevin Chabowski2012-02-01
|
* Fixed docu.Kevin Chabowski2012-01-29
|
* You can now use %root% in CSS styles too.Kevin Chabowski2012-01-29
|
* Fixed an error in the frontend.Kevin Chabowski2012-01-11
| | | | Since $default_section was removed, this had to be fixed.
* Fixed article_transform_ste.Kevin Chabowski2012-01-11
|
* Fixed linking mode of ste:styles_loadKevin Chabowski2012-01-09
|
* Changed ste:title behaviour and added docu for it.Kevin Chabowski2012-01-08
|
* Article::by_multi improved and frontend modifications.Kevin Chabowski2011-12-27
| | | | | | | * Article::by_multi now has more criterias and can perform sorting, paging and limiting. Also only generates full articles when needed. * In the frontend there are now some "hidden" __obj STE variables, so some objects do not need to be created multiple times.
* Article now has get/set_tags() and get/set_section()Kevin Chabowski2011-12-27
|
* Section's Styles are nowonlyavailable by a getter.Kevin Chabowski2011-12-27
| | | | | Also fixed many MySQL Queries. These SELECT ... WHERE foo = (SELECT...) have not worked as expected, so now there are many ugly joins...
* Modified db-model for plugins and fixed a bug in the frontend.Kevin Chabowski2011-12-18
| | | | | | * The db-model for plugins was updated, so it is compatible with the plugin packages. * Preview of comments now works again.
* Moved comment html-isation to models.php.Kevin Chabowski2011-11-17
|
* Fixed bug in frontend that resulted in missing author_mail values.Kevin Chabowski2011-11-16
|
* Fixed bug in article_transform_ste.Kevin Chabowski2011-11-15
| | | | Used object on str_replace. Now fixed.
* "%root%" in articles will be replaced with a path to page root.Kevin Chabowski2011-11-13
|
* Fixed docu in frontend.php.Kevin Chabowski2011-11-09
|
* 2 Small bugfixes.Kevin Chabowski2011-11-05
| | | | | | 1. Corrected a SQL-Query in models.php 2. <ste:articles_get> will now set maxpages properly, if there are no articles found.
* Cleaned up the urltitle/-name mess. Improved models.php.Kevin Chabowski2011-10-12
| | | | | | | | * Replaced all urlitle stuff with urlname stuff. Before this, both names were used for the same thing which was f*cking confusing! * Added possible throwing of AlreadyExistError for already existing urlname and for all save() methods where uniqueness could be broken. * Also added kses-powered HTML filtering for comments.
* Minor bugfixes...Kevin Chabowski2011-10-08
| | | | | * Corrected a SQL query in models.php. * Passed $lang to *_ste_transform functions in frontend.php.
* Backend, frontend and 404 handlers partially implemented.Kevin Chabowski2011-10-05
* Backend layout done. * Frontend theoretically done (untested). * 404 handler done * Added textprocessors.php