aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys/models.php
Commit message (Collapse)AuthorAge
* 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.
* Added silent mode to abstract KVStorage class.Kevin Chabowski2012-05-20
| | | | | Activated silent mode will return NULL instead of throwing an DoesNotExistError Exception, if a key does not exist.
* ArticleExtradata class and other changes to models.phpKevin Chabowski2012-05-19
| | | | | | | | | | | | * ArticleExtradata class added. This class gives plugins the possibility to assign additional data to articles. * Abstract class KVStorage added. ArticleExtradata and PluginKVStorage extend from it. * Added dbversion function, it returns the version of the database model currently in use. The version is stored in the PREFIX_meta table. If there is no PREFIX_meta table, dbversion returns version 0. This will be useful for updating the system. * New MySQL tables.
* Fixed a buggy SQL-Query in Section::get_articles.Kevin Chabowski2012-02-18
|
* Incompatible plugins will now get disabled.Kevin Chabowski2012-02-18
|
* Fixed two bugs in the Article class.Kevin Chabowski2012-02-04
| | | | | | 1. Article::set_tags now actually saves tag relations... 2. Article::by_multi() filters out duplicates that were a result from the join with the `PREFIX_article_tag_relations` table.
* Fixed Image:all function (broken Query).Kevin Chabowski2012-01-29
|
* Article::by_multi must be static!Kevin Chabowski2012-01-17
|
* Documentation of settings.Kevin Chabowski2012-01-15
|
* Comments model fixed.Kevin Chabowski2012-01-11
| | | | | * Fixed a MySQL query. * Comments::populate_by_sqlrow fixed.
* Fixed some plugin related bugs.Kevin Chabowski2012-01-08
| | | | | * Plugin backend pages did not work. * Plugin author was not transferred to database.
* Repo administration and indtall from repo added.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...
* Rewritten Settings class and added atexit() to plugin API.Kevin Chabowski2011-12-27
| | | | | | Settings now does not load/save values automatically any more (to save SQL queries). Settings will be loaded at startup and saved at the end. There is also only one instance possible now (singleton).
* Most db model classes can now create objects of others by sqlrow.Kevin Chabowski2011-12-24
|
* *::populate_by_sqlresult to *::populare_by_sqlrowKevin Chabowski2011-12-23
| | | | | This reduces the number of MySQL-Queries for *::all and similar functions.
* Rewrote confusing commit.Kevin Chabowski2011-12-23
|
* Added plugin management to bakend and fixed db models.Kevin Chabowski2011-12-23
|
* 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.
* Added Repository data models and the PluginPackage class.Kevin Chabowski2011-12-04
| | | | Not tested yet..
* Fixed bug in User::save.Kevin Chabowski2011-12-01
|
* Fixed error in documentation.Kevin Chabowski2011-12-01
|
* mail and fullname are not longer required to create a user.Kevin Chabowski2011-12-01
|
* Renamed some functions.Kevin Chabowski2011-12-01
| | | | | * User::all_users --> User::all * Group::all_groups --> Group::all
* Added Style::all function.Kevin Chabowski2011-11-20
|
* Moved comment html-isation to models.php.Kevin Chabowski2011-11-17
|
* Added Comment::all().Kevin Chabowski2011-11-16
|
* Added 'read_by_admin' property to class Comment.Kevin Chabowski2011-11-16
|
* Removed 'alt'-propery of 'Image' and added automatic thumbnailing.Kevin Chabowski2011-11-15
|
* Corrected typo in documentation.Kevin Chabowski2011-11-13
|
* Fixed Bug in Tag::all().Kevin Chabowski2011-11-13
|
* Fixed two SQL-Queries in models.php.Kevin Chabowski2011-11-09
|
* Fixed documentation bug/typo.Kevin Chabowski2011-11-09
|
* Article::save also saves all $tags now.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.
* Fixed some bugs in db.php and models.php.Kevin Chabowski2011-10-05
|
* Fixed docu and added some features to models.phpKevin Chabowski2011-10-05
| | | | | | * New NaturalDocs topics: STETag and STEVar. * Article::by_multi added. * Article::get_comments can nof filter comments.
* We do not need ACLs at the moment (i.e. I'm too lazy)...Kevin Chabowski2011-09-22
|
* Fixed models.php and the database layout.Kevin Chabowski2011-09-22
|
* Replaced Smarty with STE and started the backend.Kevin Chabowski2011-09-21
|
* Corrected a typo and fixed docu.Kevin Chabowski2011-08-29
|
* Added a fairly secure password hashing method.Kevin Chabowski2011-08-25
|
* Improved documentation.Kevin Chabowski2011-08-18
|
* Added script that will create the documentation.Kevin Chabowski2011-08-18
| | | | Also rewritten some documentation, so NaturalDocs can handle them.
* (Almost) finished DB-Models / abstraction layer.Kevin Chabowski2011-07-21