James Booth
308e412ea3
Build libprofanity and link with c plugin
2013-09-01 03:26:17 +01:00
James Booth
d6ad5735cb
Added on_message_send hook
2013-08-31 21:11:28 +01:00
James Booth
17013d1a05
on_message_received hook may return new message
2013-08-31 20:39:15 +01:00
James Booth
c5e39e0f54
Added account_name and fulljid to on_connect hook
2013-08-31 15:43:04 +01:00
James Booth
6db8fe848c
Added ChatStart.rb and ascii.py plugins
2013-08-31 15:16:05 +01:00
James Booth
e666abed70
Tidied plugins
2013-08-29 00:48:39 +01:00
James Booth
9aa810f8b1
Added python-test plugin
2013-08-29 00:36:09 +01:00
James Booth
237eb692b7
Updated RubyTest plugin
2013-08-29 00:22:32 +01:00
James Booth
b12701805b
Changed self references in ruby test plugin
2013-08-19 00:09:35 +01:00
James Booth
21b823750e
Added ruby callbacks
2013-08-18 23:54:56 +01:00
James Booth
2fd1633a6f
Added all ruby hooks
2013-08-18 22:22:14 +01:00
James Booth
abc0e97463
Fixed module name for ruby api
2013-08-18 21:57:46 +01:00
James Booth
1b8cff6def
Got basic hook working in ruby
2013-08-18 20:11:16 +01:00
James Booth
fd3419b8af
Merge branch 'plugins' into ruby
2013-08-18 17:04:25 +01:00
James Booth
2dc8030f8b
Use GString for path in creating c plugins, fixed hook name in test-c-plugin
2013-08-18 17:00:15 +01:00
James Booth
a1a01b8cd4
Started adding ruby api
2013-08-18 16:20:52 +01:00
Artem Shinkarov
705a946882
Adding plugin interface for C files.
...
Implementation of hooks using C interface basedon dlfcn. Added test
plugin and makefile to build it. In order to test it add the followin
into your profrc:
[plugins]
load=test-c-plugin.so
and execute profanity piping stderr to some file. The file should
contain all entries whenever the plugin function is triggered. It seem
to be workin but some parts are missing.
2013-08-18 03:55:20 +01:00
James Booth
eadb90dc43
Renamed hook on_message -> on_message_received
2013-08-18 00:26:14 +01:00
James Booth
2e2c1b67a4
Removed time import from cricket plugin
2013-08-11 22:19:47 +01:00
James Booth
90397f8160
Updated cricket plugin
2013-08-11 22:12:34 +01:00
James Booth
dae4244306
Added command to cricket-scores plugin
2013-08-11 13:47:54 +01:00
James Booth
ffb1359889
Added get_current_recipient to api
...
Browser plugin now uses last link received in a chat window
2013-08-11 01:35:11 +01:00
James Booth
d8eb320b85
Added on_message hook
...
Browser plugin now uses last received hyperlink when no arg supplied
2013-08-11 01:00:21 +01:00
James Booth
9f76a5e610
Added browser plugin, allow up to 5 args for command callbacks
2013-08-08 01:40:03 +01:00
James Booth
ab45239033
Added connect.py plugin, refactored init and start events, added send_line
2013-08-06 00:29:12 +01:00
James Booth
b0e423cc0d
Fix to cricket plugin
2013-08-04 20:58:43 +01:00
James Booth
a56b9e1f73
Cleared newline loading plugins
2013-08-04 19:31:06 +01:00
James Booth
9bbe8def98
Added cons_alert to python API
2013-08-04 18:57:33 +01:00
James Booth
084b03691e
Implemented time python callbacks
2013-08-04 18:43:46 +01:00
James Booth
d638a4825e
Added notify to python API
2013-08-04 16:42:25 +01:00
James Booth
c3acda5da7
Added /whoami command plugin
2013-08-03 02:45:26 +01:00
James Booth
5464d5079b
Added plugins commands
2013-08-03 02:21:43 +01:00
James Booth
d3a8d0c610
Changed helloworld plugin connect event output
2013-08-03 00:31:58 +01:00
James Booth
6cb32996a5
Added on_connect event to plugins api
2013-08-03 00:22:00 +01:00
James Booth
8105a393e9
Load all plugins in plugins directory
2013-08-02 23:36:47 +01:00
James Booth
5cb28822eb
Pass data to plugin init function
2013-07-30 23:37:46 +01:00
James Booth
4b416ba58e
Experimenting with python integration for plugins
2013-07-21 23:31:09 +01:00