| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
| |
Now it begins to pay off, that (nearly) all model classes were updated
to use the new Database class :)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Should be \r7r\ste now
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
|\ |
|
| | |
|
|\ \
| |/
|/| |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
Not tested yet..
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|