Update documentation
This commit is contained in:
parent
21f8cebe85
commit
49788b70ec
|
|
@ -25,6 +25,7 @@ Improvements:
|
|||
* Show project name in task forms
|
||||
* Convert vanilla CSS to SASS
|
||||
* Support version operators for plugin directory: >= and >
|
||||
* Update Spanish documentation
|
||||
|
||||
Other changes:
|
||||
|
||||
|
|
@ -32,6 +33,7 @@ Other changes:
|
|||
|
||||
Bug fixes:
|
||||
|
||||
* Fix improper HTML escaping for textarea (potential XSS)
|
||||
* Do not show closed tasks on public boards
|
||||
* Fix undefined constant in config example file
|
||||
* Fix PHP notice when sending overdue notifications
|
||||
|
|
|
|||
|
|
@ -159,3 +159,23 @@ $this->cli->add(new MyCommand());
|
|||
```
|
||||
|
||||
Read the library documentation for more information.
|
||||
|
||||
Add new task filters
|
||||
--------------------
|
||||
|
||||
Since the task lexer is a factory that returns a new instance each time,
|
||||
you have to extend the `taskLexer` container with the method `extend()` of Pimple.
|
||||
|
||||
Here is a example:
|
||||
|
||||
```php
|
||||
public function initialize()
|
||||
{
|
||||
$this->container->extend('taskLexer', function($taskLexer, $c) {
|
||||
$taskLexer->withFilter(TaskBoardDateFilter::getInstance($c)->setDateParser($c['dateParser']));
|
||||
return $taskLexer;
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
For the filter class implementation, there are several examples in the source code under the namespace `Kanboard\Filter`.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Important things to do before updating
|
|||
--------------------------------------
|
||||
|
||||
- **Always make a backup of your data before upgrading**
|
||||
- Check that your backup is valid
|
||||
- Check that your backup is valid!
|
||||
- Always read the [change log](https://github.com/kanboard/kanboard/blob/master/ChangeLog) to check for breaking changes
|
||||
- Always close all user sessions (flush all sessions on the server)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue