aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/currency.rs
Commit message (Collapse)AuthorAgeFilesLines
* Currency: Remove plugin because of API changesJokler2018-06-161-162/+0
| | | | | The plugin was rarely used so fixing it would not be a priority.
* Fix clippy warningsJokler2018-06-161-10/+14
|
* Currency: Fix help messageJokler2018-05-131-1/+1
|
* Add usefulness rating function to url titlesJokler2018-04-071-1/+1
|
* Use a prefix from the config instead of the nickJokler2018-03-191-30/+22
|
* Use Error & ErrorKind pair instead of simple enumsJokler2018-03-021-10/+18
| | | | | | | | | | | | 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.
* Replace try_option with ?Jokler2018-02-131-14/+4
|
* Run latest rustfmtJokler2018-02-121-29/+35
|
* Replace is_allowed with a single-threaded execute functionJokler2018-02-121-22/+21
| | | | The old execute got renamed to exeute_threaded.
* Upgrade dependenciesJokler2018-02-101-8/+8
|
* Add evaluate function to pluginsJokler2018-02-101-23/+35
| | | | This allows plugins to be used in combination with each other.
* Derive defaults where possibleJokler2017-12-111-1/+1
|
* Remove mutexes around pluginsJokler2017-11-161-2/+2
| | | | | | | Mutexes are supposed to only mark critical sections so locking the entire plugin is too general. Any plugins that need mutable data should use mutexes internally instead.
* Add debug loggingJokler2017-11-031-1/+0
| | | | | | The log level gets set to debug or info based on the build profile automatically now. Debug messages also print their target to the console.
* Panic if execute is called on the Currency PluginJokler2017-10-271-1/+1
|
* Fix currency response on bad commandJokler2017-10-271-1/+1
|
* Pass on a Result from the Currency eval functionJokler2017-10-181-12/+11
|
* Handle one error in a verbose way again to support rust stableJokler2017-10-171-7/+9
|
* Remove a few unwraps and make error handling more conciseJokler2017-10-171-6/+1
|
* Adjust formatting with cargo fmtJokler2017-10-141-1/+1
|
* Improve readability of the Currency pluginJokler2017-10-141-12/+14
|
* Improve currency help messageJokler2017-10-111-5/+8
|
* Only spawn a new thread if neededJokler2017-10-111-1/+0
|
* Create plugin_derive to replace the register_plugin macroJokler2017-10-111-5/+9
|
* Clear test modules until the irc lib is updatedJokler2017-10-111-36/+0
|
* Changed currency error into a noticeJokler2017-10-111-1/+1
|
* Add command functionalityJokler2017-10-111-42/+61
|
* Remove tests for from the currency pluginJokler2017-10-111-36/+36
|
* Remove println and update formattingJokler2017-10-111-2/+2
|
* Add fixed currency pluginJokler2017-10-111-0/+165