Commit graph

14 commits

Author SHA1 Message Date
jesopo
8c6ab17e57 give an Exports object (actually, ExportsContex object) to each module, to
facilitate things like !set and !channelset without using the events system
2018-09-02 19:54:45 +01:00
jesopo
9874f79b49 Give modules event objects with "context"s, to facilitate purging all the event
hooks for a module
2018-08-31 12:55:52 +01:00
jesopo
76d7a8de36 Delete "permissions" setting when it's empty 2018-08-29 14:34:52 +01:00
jesopo
6ecae3b261 Add the ability to only require authentication if your nickname is registered 2018-08-28 18:16:19 +01:00
jesopo
b9d4e11b77 Add !givepermission and !removepermission to permissions.py 2018-08-28 16:53:21 +01:00
jesopo
1b8c663c1a Made "you need to be authenticated" message more helpful 2018-08-28 12:48:08 +01:00
jesopo
4da8a4ac39 Added code to preprocess check a command that only requires authentication, not
a permission
2018-08-18 18:28:41 +01:00
jesopo
84ea92fea8 get user permissions every time they try to use a command that requires
permissions, instead of caching their permissions when they sign in
2018-08-02 23:00:42 +01:00
jesopo
2fb299e9b7
on second thought, should probably only show people their nickname's permissions when they're identified. 2016-05-17 14:51:15 +01:00
jesopo
5286157326
added a command to show you what permissions you have. 2016-05-17 14:50:48 +01:00
jesopo
eac1d127bd
added the code to prevent users using certain commands based on permissions. 2016-04-06 18:23:02 +01:00
jesopo
9b2556a65a
added usage help to a lot of modules, added a verbose option to karma.py. 2016-04-06 12:02:44 +01:00
jesopo
3c0a8562a9
ironed out some little issues with permissions.py. 2016-04-04 18:48:39 +01:00
jesopo
62a73df22f
added permissions.py which contains code for identifying/registering/logouting users. updated README.md to reflect the newly required scrypt module. 2016-04-04 18:42:37 +01:00