summaryrefslogtreecommitdiffstats
path: root/src/plugins/factoids
Commit message (Collapse)AuthorAgeFilesLines
* Replace every Mutex with RwLockJokler2018-03-212-23/+14
|
* Add sleep to factoidsJokler2018-03-202-1/+13
|
* Use Error & ErrorKind pair instead of simple enumsJokler2018-03-023-125/+156
| | | | | | | | | | | | Each plugin should define its own errors with a respective variant in the main ErrorKind of frippy. A new procedural macro was added to reduce the boilerplate required for new error system. It can be used by deriving "Error" and adding a name for the Error via the "error" attribute. So far non of the plugins except for Url and Factoids use their own errors yet.
* Use lossy UTF8 conversion and add a log_error functionJokler2018-03-012-2/+2
|
* Create errors with failureJokler2018-02-282-105/+73
| | | | | The plugins are mostly not using the new errors yet and the error handling in the Factoids plugin is just temporary.
* Add Mysql as a possible database to the Tell pluginJokler2018-02-252-7/+10
|
* Return zero if count_factoids could not find the factoidJokler2018-02-251-1/+4
|
* Run rustfmt and clippyJokler2018-02-242-72/+76
|
* Add temporary eval function to factoidsJokler2018-02-241-7/+20
|
* Extend Lua sandboxJokler2018-02-241-15/+37
|
* Use r2d2 as a ConnectionPool for dieselJokler2018-02-242-28/+38
|
* Use correct return typeJokler2018-02-241-1/+1
|
* Log all database errorsJokler2018-02-241-4/+13
|
* Merge branch 'dev' into factoid-pluginJokler2018-02-231-52/+60
|
* Add possibly unsafe timeout hook to factoidsJokler2018-02-233-4/+30
|
* Improve factoid error handlingJokler2018-02-172-4/+12
|
* Add download function & fromurl commandJokler2018-02-134-19/+62
|
* Fix function call in luaJokler2018-02-131-1/+1
|
* Add some sandboxingJokler2018-02-132-4/+30
|
* Send all factoid info responses to the channel instead of the userJokler2017-12-251-1/+1
|
* Log database errors and send a notice if no factoid was deletedJokler2017-12-241-4/+10
|
* Add 'remove' command to Factoids and make the Database trait publicJokler2017-12-242-17/+60
|
* Add more info to factoids and save old versionsJokler2017-12-242-63/+203
|
* Add MySql as a possible database for the Factoids pluginJokler2017-12-242-13/+75
|
* Add Database trait to be used by the Factoids pluginJokler2017-12-242-7/+26
|
* Add non Lua factoidsJokler2017-12-241-5/+15
| | | | | Only factoids prefixed with '>' are run as Lua now. To escape the '>' just add another one.
* Do not allow factoids to send newlinesJokler2017-12-241-1/+1
|
* Move the Factoids plugin into a subfolderJokler2017-12-242-0/+162