summaryrefslogtreecommitdiffstats
path: root/src/plugins/factoids/database.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remind: Add Mysql as a possible databaseJokler2018-05-141-3/+0
| | | | | | | | The bot also responds with the id and time of a reminder after creation to allow the creator to delete them. Furthermore the InvalidCommand message was fixed and the unnecessary dotenv dependency was removed.
* Factoids: Improve display of runtime errors in luaJokler2018-05-121-5/+5
|
* Add usefulness rating function to url titlesJokler2018-04-071-5/+5
|
* Replace every Mutex with RwLockJokler2018-03-211-1/+1
|
* Use Error & ErrorKind pair instead of simple enumsJokler2018-03-021-50/+38
| | | | | | | | | | | | 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.
* Add Mysql as a possible database to the Tell pluginJokler2018-02-251-6/+9
|
* Return zero if count_factoids could not find the factoidJokler2018-02-251-1/+4
|
* Run rustfmt and clippyJokler2018-02-241-16/+15
|
* Use r2d2 as a ConnectionPool for dieselJokler2018-02-241-18/+28
|
* Use correct return typeJokler2018-02-241-1/+1
|
* Log all database errorsJokler2018-02-241-4/+13
|
* Add download function & fromurl commandJokler2018-02-131-2/+2
|
* 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-241-16/+41
|
* Add more info to factoids and save old versionsJokler2017-12-241-37/+83
|
* Add MySql as a possible database for the Factoids pluginJokler2017-12-241-8/+64
|
* Add Database trait to be used by the Factoids pluginJokler2017-12-241-0/+18