| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
They are now managed by TextprocessorRepository and are instances of
Textprocessor. This replaces the global $textprocessors variable.
|
|
|
|
| |
"Stole" this class from another project of mine (micropoly)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
- Expand tabs into spaces
- Remove trailing whitespace
- Get rid of closing `?>` tags
|
| |
|
|
|
|
|
| |
* Creating a varaible reference at call time is not possbile any more.
* When defining a constant, we pass the name as a string now.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
on_article / on_tag / on_section will execute and return its content, if
currently a(n) article / tag / section is requested.
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
Now fixed. These tags are now filtered out.
Also, Beta 5
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
<irony>That makes kind of sense, since it is written UPPERcase in the
HTTP protocol...</irony>
|
| |
|
| |
|
| |
|
|
|
|
| |
Since $default_section was removed, this had to be fixed.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
Also fixed many MySQL Queries. These SELECT ... WHERE foo = (SELECT...)
have not worked as expected, so now there are many ugly joins...
|
|
|
|
|
|
| |
* The db-model for plugins was updated, so it is compatible with the
plugin packages.
* Preview of comments now works again.
|
| |
|
| |
|
|
|
|
| |
Used object on str_replace. Now fixed.
|
| |
|
| |
|
|
|
|
|
|
| |
1. Corrected a SQL-Query in models.php
2. <ste:articles_get> will now set maxpages properly, if there are no
articles found.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* Corrected a SQL query in models.php.
* Passed $lang to *_ste_transform functions in frontend.php.
|
|
* Backend layout done.
* Frontend theoretically done (untested).
* 404 handler done
* Added textprocessors.php
|