Commit Graph

48 Commits

Author SHA1 Message Date
Blair Bonnett
a95e703b36 Documentation update for reserved SIDs. 2012-08-14 11:35:50 +12:00
Blair Bonnett
2e7f0f9c12 Add plugin to send user commands.
Adds a mod_ucmd plugin which uses the previously added user command
plugin functions to send user commands when users log in. These are read
from a text file in a simple format. They can be restricted to users
with certain credentials, and can have multiple actions (e.g., send a PM
and a message in the main chat).

A sample user command file for the standard uhub commands is at
doc/ucmd.conf, and will be automatically installed if appropriate.

This currently won't send commands to existing users (e.g., if the
plugin is (re)loaded after the hub is already up and running). To
support this, a plugin function to list all current users would need to
be added.

I'm not sure how efficient this would be due to the volume of
messages needed to delete the existing commands on shutdown and send
them again on startup. As the commands are reloaded properly within the
plugin, it may be easier to require users to reconnect after the
configuration changes (and, of course, an admin could force this by
restarting the hub).
2012-08-08 19:34:19 +12:00
Blair Bonnett
166a105e33 Add upstart script to run uHub as a service.
Start and stop conditions are based off the OpenSSH upstart script which
ships with Ubuntu.
2012-07-29 16:22:38 +12:00
root
a32ea42754 - Update RH init scripts 2012-06-13 14:30:17 +04:00
Jan Vidar Krey
a6d87f95ef Merge https://github.com/Tilka/uhub 2012-05-13 23:53:56 +02:00
Tilka
53b3087735 remove obsolete settings in uhub.conf
motd and rules are now handled by the mod_welcome plugin.
2012-05-11 03:10:05 +02:00
Boris Pek
d19e78941a Added man page for uhub-passwd. 2012-05-08 23:29:56 +03:00
Tilka
5b6ab7e1d2 minimal documentation fixes 2012-04-19 02:44:27 +02:00
Tilka
ad5e5d2837 update compile howto link 2012-04-19 02:43:39 +02:00
root
390b63e80a - update ./doc/uhub.conf example file for mod_chat_only.so 2012-01-31 14:48:29 +04:00
root
e4df1884d2 - change order load plugins on example file 2012-01-23 15:32:05 +04:00
Jan Vidar Krey
0ae8a08f55 Revert "- add empty ./doc/users.db sqlite file"
This reverts commit 66215cc535.

This database is not created correctly.
Instead, create a database with the uhub-passwd tool:

uhub-passwd users.db create
2012-01-10 02:21:22 +01:00
root
66215cc535 - add empty ./doc/users.db sqlite file 2012-01-10 10:26:11 +04:00
Jan Vidar Krey
ca3782c570 Merge branch 'mod_chat_history_work'
Conflicts:
	doc/plugins.conf
2012-01-03 23:22:41 +01:00
Jan Vidar Krey
875f55a401 Added a chat history plugin.
The mod_chat_history plugin provides chat history for all public chat messages.

Can be configured in the following ways:

- history_max: max number of messages stored in history
- history_default: the default number of messages to be returned when invoking !history
- history_connect: if > 0, then this number of messages is automatically sent when connecting to the hub

Removed the built-in !history command in favour of the mod_chat_history plug-in.

Make sure we unescape all chat messages before forwarding any of them to plugins.

Update example plugins.conf in documentation directory.
2012-01-03 23:22:41 +01:00
root
b0a8c3251b Update plugins.conf example file for mod_welcome.so 2011-12-30 11:43:33 +04:00
Jan Vidar Krey
f8d057f15a [PATCH] Lintian warning hyphen-used-as-minus-sign
Thanks to tehnick for finding and fixing this issue.
2011-09-28 12:19:26 +02:00
E_zombie
e82ac17452 update docs in ./doc/plugins.conf 2010-12-30 15:11:47 +03:00
E_zombie
3b3862fa8d - update ./doc/compile.txt 2010-11-22 15:47:24 +03:00
E_zombie
5419d07efe - update plugins.conf for new parametrs of mod_logging.so 2010-08-05 10:19:26 +04:00
root
04c02d3f2f - add "Reopen log file" on RH init.d script 2010-07-30 11:35:36 +04:00
root
7c1e38602c * update .gitignore
* update uhub.spec  for plugins system

* update example plugins.conf

* modify header RH init script
2010-07-29 12:26:55 +04:00
root
920d696ff5 - add doc/plugins.conf file
- update doc/uhub.spec
- update uhub.conf example file
2010-07-26 11:57:49 +04:00
Jan Vidar Krey
ac5811633e Update to version 0.3.2 2010-05-31 17:13:40 +02:00
root
2fa5c01050 update example uhub.conf 2010-04-09 12:20:36 +04:00
Jan Vidar Krey
8e816fd196 Update example configuration. 2010-04-05 16:53:17 +02:00
Jan Vidar Krey
88a22659a1 Update deb/rpm files. 2010-04-05 16:46:20 +02:00
Jan Vidar Krey
915cb56448 Fix bug #106: Show OS/CPU info in !version.
This can be controlled by the configuration variable "show_banner_sys_info" which is enabled by default.
2010-02-10 23:45:51 +01:00
Jan Vidar Krey
78ae9fb3ce Fix documentation about file descriptor limits. 2010-02-05 22:40:35 +01:00
root
4715815ba2 Update getstartd.txt for hub with more that 1024 users. 2010-02-05 09:40:57 +03:00
root
cb9625f6a5 update example uhub.conf 2010-02-02 13:43:10 +03:00
root
9a1c5ee548 - update .spec file; - cosmetic in init.d scripts 2010-02-01 12:22:12 +03:00
Jan Vidar Krey
11df912162 libevent is NOT needed at all (nor is it supported) 2010-01-31 23:40:11 +01:00
root
c8bc2f64fd update .ebuild ; update compile doc ; update RHEL init.d 2010-01-29 22:05:39 +03:00
root
db32eaeafc update doc/uhub.conf for multiple ports 2010-01-28 10:53:03 +03:00
Jan Vidar Krey
f0a13b4c23 Updated .ebuild and .spec files. 2010-01-27 19:01:50 +01:00
root
f263534aaf add .ebuild 2010-01-26 19:16:28 +03:00
root
fbaac98483 .spec Require fix 2010-01-26 17:39:57 +03:00
root
bd9d8229ff add .SPEC file for build RPM in RHEL based distrs 2010-01-26 17:32:42 +03:00
root
e3a644a853 Stupid mistake in path 2010-01-26 13:00:11 +03:00
root
5e679e2d4f - add doc/init.d.RedHat/etc/logrotator.d/uhub file 2010-01-20 11:18:16 +03:00
root
efeb36c492 - update uhub.conf example after add !rules
- add example rules.txt
- fix compile warning in  src/util/timeout.c
- add example config file for rotate log file in RHEL\CentOS
2010-01-20 11:12:43 +03:00
lv77
eb5d3936a9 Add TODO file. Some modify example uhub.conf 2010-01-14 09:49:03 +03:00
root
a643bb123d Add init.d files for RedHat\CentOS 2010-01-13 16:27:07 +03:00
Jan Vidar Krey
7ddfd52dc7 Fix bug #34 - Disable admin\op account in example users.conf since it is being installed by default. 2009-06-01 19:55:03 +02:00
Jan Vidar Krey
adeebb92a0 Added manual page. 2009-03-24 23:14:04 +01:00
Jan Vidar Krey
bb578095c0 Added compiling and getstarted notes. 2009-03-16 17:32:55 +01:00
Jan Vidar Krey
ac56e7a5b9 First git commit. 2009-02-19 17:14:09 +01:00