Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Multilingual+Translation: Update documentation and remove global db usages | Laria Carolin Chabowski | 2020-10-05 |
| | |||
* | Group: Update documentation and remove global db usages | Laria Carolin Chabowski | 2020-10-05 |
| | |||
* | User: Update documentation and remove global db usages | Laria Carolin Chabowski | 2020-10-05 |
| | |||
* | KVStorage: Move into namespace and remove global db usages | Laria Carolin Chabowski | 2020-10-05 |
| | | | | Also update documentation a bit (mostly converting to phpdoc) | ||
* | Remove unused class | Laria Carolin Chabowski | 2020-10-05 |
| | |||
* | Use password_hash() and friends to hash and verify passwords | Laria Carolin Chabowski | 2020-09-25 |
| | | | | | | | | | | | | Previously I rolled my own password hashing function. While it at least used some sort of salt, it's still a terrible idea. The newly created class PasswordHash wraps the password_hash() family of functions but can also check the old password hash format (to distinguish them, the new password hashes are prefixed with a '!'). In PasswordHash::needsRehash we then always report an hash of the old format as being in need of a rehash. That way, these old hashes will be replaced the next time the user successfully logs in. | ||
* | Replace kses with HTMLPurifier | Laria Carolin Chabowski | 2020-09-25 |
| | | | | This gets rid of our last non-compüoser dependency! :) | ||
* | Refactor textprocessors | Laria Carolin Chabowski | 2020-09-25 |
| | | | | | They are now managed by TextprocessorRepository and are instances of Textprocessor. This replaces the global $textprocessors variable. | ||
* | Code cleanup | Laria Carolin Chabowski | 2020-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 | ||
* | Fix broken SQL in Repository::create | Laria Carolin Chabowski | 2020-04-28 |
| | | | | | - There were values missing - Use PREFIX_ | ||
* | Oops, some unfinished changes slipped into ade9ede m( | Laria Carolin Chabowski | 2020-04-27 |
| | |||
* | Automatic code formatting | Laria Carolin Chabowski | 2020-04-26 |
| | |||
* | Some simple code formatting | Laria Carolin Chabowski | 2020-04-26 |
| | | | | | | - Expand tabs into spaces - Remove trailing whitespace - Get rid of closing `?>` tags | ||
* | Expand tabs and remove trailing whitespace | Laria Carolin Chabowski | 2020-04-26 |
| | |||
* | PHP < 5.4 can not use $this in anonymous functions. | Kevin Chabowski | 2013-10-04 |
| | | | | Should have tested that one earlier (damn). | ||
* | Fixed wrong variable names | Kevin Chabowski | 2013-10-03 |
| | |||
* | models.php now uses PDO (UNTESTED!) | Kevin Chabowski | 2013-10-03 |
| | |||
* | Style::test_name implemented.feature-move-data-checking-to-models | Kevin Chabowski | 2012-06-08 |
| | |||
* | Section::test_name implemented. | Kevin Chabowski | 2012-06-08 |
| | |||
* | Article::test_status implemented | Kevin Chabowski | 2012-06-08 |
| | |||
* | Tag::test_name implemented. | Kevin Chabowski | 2012-06-08 |
| | |||
* | Made Article::test_urlname public and added docu. | Kevin Chabowski | 2012-06-08 |
| | |||
* | Article::test_urlname implemented. | Kevin Chabowski | 2012-06-08 |
| | |||
* | Plugins can now hook into the Article editor.feature-plugin-articledata | Kevin Chabowski | 2012-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 Chabowski | 2012-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.php | Kevin Chabowski | 2012-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 Chabowski | 2012-02-18 |
| | |||
* | Incompatible plugins will now get disabled. | Kevin Chabowski | 2012-02-18 |
| | |||
* | Fixed two bugs in the Article class. | Kevin Chabowski | 2012-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 Chabowski | 2012-01-29 |
| | |||
* | Article::by_multi must be static! | Kevin Chabowski | 2012-01-17 |
| | |||
* | Documentation of settings. | Kevin Chabowski | 2012-01-15 |
| | |||
* | Comments model fixed. | Kevin Chabowski | 2012-01-11 |
| | | | | | * Fixed a MySQL query. * Comments::populate_by_sqlrow fixed. | ||
* | Fixed some plugin related bugs. | Kevin Chabowski | 2012-01-08 |
| | | | | | * Plugin backend pages did not work. * Plugin author was not transferred to database. | ||
* | Repo administration and indtall from repo added. | Kevin Chabowski | 2012-01-08 |
| | |||
* | Article::by_multi improved and frontend modifications. | Kevin Chabowski | 2011-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 Chabowski | 2011-12-27 |
| | |||
* | Section's Styles are nowonlyavailable by a getter. | Kevin Chabowski | 2011-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 Chabowski | 2011-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 Chabowski | 2011-12-24 |
| | |||
* | *::populate_by_sqlresult to *::populare_by_sqlrow | Kevin Chabowski | 2011-12-23 |
| | | | | | This reduces the number of MySQL-Queries for *::all and similar functions. | ||
* | Rewrote confusing commit. | Kevin Chabowski | 2011-12-23 |
| | |||
* | Added plugin management to bakend and fixed db models. | Kevin Chabowski | 2011-12-23 |
| | |||
* | Modified db-model for plugins and fixed a bug in the frontend. | Kevin Chabowski | 2011-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 Chabowski | 2011-12-04 |
| | | | | Not tested yet.. | ||
* | Fixed bug in User::save. | Kevin Chabowski | 2011-12-01 |
| | |||
* | Fixed error in documentation. | Kevin Chabowski | 2011-12-01 |
| | |||
* | mail and fullname are not longer required to create a user. | Kevin Chabowski | 2011-12-01 |
| | |||
* | Renamed some functions. | Kevin Chabowski | 2011-12-01 |
| | | | | | * User::all_users --> User::all * Group::all_groups --> Group::all | ||
* | Added Style::all function. | Kevin Chabowski | 2011-11-20 |
| |