aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys
Commit message (Collapse)AuthorAge
* User: Update documentation and remove global db usagesLaria Carolin Chabowski2020-10-05
|
* KVStorage: Move into namespace and remove global db usagesLaria Carolin Chabowski2020-10-05
| | | | Also update documentation a bit (mostly converting to phpdoc)
* Remove unused classLaria Carolin Chabowski2020-10-05
|
* Introduce some new database wrappersLaria Carolin Chabowski2020-10-05
| | | | | This will allow us to avoid using globals and use the autoloader in the future.
* Use password_hash() and friends to hash and verify passwordsLaria Carolin Chabowski2020-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 HTMLPurifierLaria Carolin Chabowski2020-09-25
| | | | This gets rid of our last non-compüoser dependency! :)
* Fix some broken references to the \ste namespaceLaria Carolin Chabowski2020-09-25
| | | | Should be \r7r\ste now
* 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)
* Turn documentation in plugin_api into phpdocLaria Carolin Chabowski2020-09-25
|
* Get php-markdown via composerLaria Carolin Chabowski2020-09-22
|
* Require STE using composer and add autoloadingLaria 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
* Return translation array from includeLaria Carolin Chabowski2020-09-21
| | | | Much better the the implied variable that gets set by the include!
* Fix broken SQL in Repository::createLaria Carolin Chabowski2020-04-28
| | | | | - There were values missing - Use PREFIX_
* Oops, some unfinished changes slipped into ade9ede m(Laria Carolin Chabowski2020-04-27
|
* 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
|
* Include new STE versiondevelopKevin Chabowski2014-05-25
|
* STE has a new repository and name.Kevin Chabowski2013-10-28
|
* PHP < 5.4 can not use $this in anonymous functions.Kevin Chabowski2013-10-04
| | | | Should have tested that one earlier (damn).
* Fixed wrong variable namesKevin Chabowski2013-10-03
|
* 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.
* Merge branch 'replace-mysql-with-pdo' into developKevin Chabowski2013-10-03
|\
| * Fixed PDO DSN.Kevin Chabowski2013-10-03
| |
| * models.php now uses PDO (UNTESTED!)Kevin Chabowski2013-10-03
| |
* | Fixed extract_meta.hotfixKevin Chabowski2013-10-01
|/
* Style::test_name implemented.feature-move-data-checking-to-modelsKevin Chabowski2012-06-08
|
* Section::test_name implemented.Kevin Chabowski2012-06-08
|
* Article::test_status implementedKevin Chabowski2012-06-08
|
* Tag::test_name implemented.Kevin Chabowski2012-06-08
|
* Made Article::test_urlname public and added docu.Kevin Chabowski2012-06-08
|
* Article::test_urlname implemented.Kevin Chabowski2012-06-08
|
* 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.
* 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 a buggy SQL-Query in Section::get_articles.Kevin Chabowski2012-02-18
|
* htmlesc now uses htmlspecialchars instead of htmlentitiesKevin Chabowski2012-02-18
|
* Incompatible plugins will now get disabled.Kevin Chabowski2012-02-18
|
* Removed sys/default_settings.phpKevin Chabowski2012-02-18
| | | | Was never used. Why did I even wrote this file?
* 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.
* Added on_comment_store event.Kevin Chabowski2012-02-01
|
* Fixed Image:all function (broken Query).Kevin Chabowski2012-01-29
|
* Setup script and clean config file.Kevin Chabowski2012-01-21
|
* Article::by_multi must be static!Kevin Chabowski2012-01-17
|
* Documentation of settings.Kevin Chabowski2012-01-15
|
* Improved documentation.Kevin Chabowski2012-01-13
| | | | | | * languages.php is now documented. * Docu of textprocessors.php improved, now fits better in the NaturalDocs generated menu.
* Comments model fixed.Kevin Chabowski2012-01-11
| | | | | * Fixed a MySQL query. * Comments::populate_by_sqlrow fixed.