3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 17:29:21 +01:00
Commit Graph

2047 Commits

Author SHA1 Message Date
Ken Spencer
02dfe5aeab classes: pass force_privmsg_in_private and private booleans to irc.reply() in irc.error() 2016-11-18 23:10:45 -08:00
Ken Spencer
a1bbb4fdb9 utils: style points! WOOOO 2016-11-18 23:10:45 -08:00
Ken Spencer
289ab78052 plugins/bots: change over to irc.error() use 2016-11-18 23:10:45 -08:00
Ken Spencer
940430b075 plugins/automode: change errors over to irc.error() based use 2016-11-18 23:10:45 -08:00
Ken Spencer
fdd4135632 utils: add error() to use classes.py's irc.error() 2016-11-18 23:10:45 -08:00
Ken Spencer
c450d71f84 classes: add irc.error() for easier error replies 2016-11-18 23:10:45 -08:00
James Lu
57f7acc124 pylink: fix last commit (args.no_check_pid) 2016-11-16 21:52:07 -08:00
James Lu
7c93a6cdfc pylink: tidy up --no-check-pid setting 2016-11-14 21:38:02 -08:00
James Lu
8e7cffc016 docs/automode: update perms list & caveat section
- Automode remote management and its relevant permissions were added in the last commit (8ff292bd1f).
- Autoop on join for services bots was implemented in 0cce6ca488.
2016-11-12 12:24:00 -08:00
James Lu
8ff292bd1f automode: support remote channel manipulation in the form netname#channel
Closes #352.
2016-11-12 12:20:25 -08:00
James Lu
9dbf124e36 docs/automode: fix typo 2016-11-12 12:18:41 -08:00
James Lu
691a8178b2 relay: implement 'showchan' with links info
Closes #353.
2016-11-12 10:43:55 -08:00
James Lu
e570779a03 Remove update.sh helper script 2016-11-12 10:39:11 -08:00
James Lu
c077f9aebb DataStore: log the name of the current database implementation to DEBUG 2016-11-09 22:56:57 -08:00
James Lu
b94e11930e structures: directly retrieve DB save delay in DataStore (#303) 2016-11-09 22:53:13 -08:00
James Lu
b0636b40ab Finish the plugin migration to DataStore
Closes #303.
2016-11-09 22:47:22 -08:00
James Lu
089dce3853 structures: revise DataStore a bit (#303) 2016-11-09 22:19:30 -08:00
James Lu
377df413ed Irc: s/isServiceBot/getServiceBot/g (#355)
This function is renamed to better reflect its return value (ServiceBot object instead of boolean True).
2016-11-09 19:09:59 -08:00
James Lu
08fa64c3cc Irc, services_support: store service name in IrcUser objects (#355) 2016-11-09 19:07:01 -08:00
James Lu
0815df1bca Irc: rewrite isInternalClient to use getServer & return a boolean (#355) 2016-11-09 18:55:53 -08:00
James Lu
ddd0436937 Irc: rewrite getServer() to look for IrcUser.server attribute (#355)
The relevant attribute was introduced in c57fabc9ef.
2016-11-09 18:55:08 -08:00
James Lu
c57fabc9ef core, protocols: add server argument to IrcUser (#355) 2016-11-09 18:40:16 -08:00
James Lu
b0bd5d47ae relay: fix logging format in spawnRelayUser error 2016-11-07 22:04:34 -08:00
James Lu
44743d860e relay: don't break autoconnect anymore when there's a server conflict
This reverts most of commits 5c7524b and f2a5e1d.
2016-11-07 21:53:52 -08:00
James Lu
4246a3d113 relay: work on sane fallbacks when a network's SID goes missing (#354) 2016-11-07 21:47:53 -08:00
James Lu
b79e693808 exec: Drop 'raw' text logging to DEBUG for security purposes
Closes #347.
2016-11-07 21:25:57 -08:00
James Lu
2d20256ed8 Relay: rework to use the permission system
This defines the following permissions:

Granted to opers by default:
- relay.create
- relay.destroy
- relay.claim
- relay.link
- relay.delink
- relay.linkacl.view
- relay.linkacl

Granted to all users by default:
- relay.linked

And the following which is not explicitly granted:
- relay.savedb

Closes #325.
2016-11-07 21:22:52 -08:00
James Lu
93ca62aa49 Revamp configuration to support multiple accounts (#319) 2016-11-07 21:01:28 -08:00
James Lu
e8cc7227a8 PyLink 1.0.3 2016-11-05 21:40:40 -07:00
James Lu
28b88a3840 README: add Ubuntu PPA instructions 2016-11-05 21:31:50 -07:00
James Lu
34fd45dce9 Merge remote-tracking branch 'origin/master' into devel 2016-11-05 21:27:50 -07:00
James Lu
d2f95acd2e Proofread and edit the example-conf 2016-11-04 18:13:15 -07:00
James Lu
6ad40c91b4 Irc: explicitly kill connect loop threads after an Irc object has been removed
Possible fix for #351.
2016-11-02 22:34:02 -07:00
James Lu
e977c95520 Merge branch 'master' into devel
Conflicts:
	VERSION
	example-conf.yml
2016-11-02 22:28:39 -07:00
James Lu
9f43c0fe17 automode: fix typo in DB error message 2016-11-02 22:27:01 -07:00
James Lu
9950e0948f conf: split off absolute paths in confname
This fixes invalid database names such as "automode-/tmp/test.db" from being generated when PyLink is started with an absolute path to its config.

Closes #358.
2016-11-02 22:23:45 -07:00
James Lu
441bf5f048 README: link to utopia repository site 2016-10-28 20:05:35 -07:00
James Lu
e0802192f6 README: add Debian repository instructions 2016-10-28 20:04:39 -07:00
James Lu
72818412e1 faq: fix link to dependencies list 2016-10-27 20:50:10 -07:00
James Lu
522e6df73c Actually, use LF line endings for everything
(cherry picked from commit e49d36d8246d008abe6fe1a695d9952341fc354a)
2016-10-27 18:43:57 -07:00
James Lu
9f4c68f114 relay: skip channel TS check for Clientbot
(cherry picked from commit d230af1d5e)
2016-10-22 20:59:34 -07:00
James Lu
d230af1d5e relay: skip channel TS check for Clientbot 2016-10-22 20:45:43 -07:00
James Lu
a5d97c15e7 relay: disable nick collide messages to debug 2016-10-20 20:13:17 -07:00
James Lu
2ed8b68c44 relay: allow configuring custom relay server suffixes
Closes #333.

(cherry picked from commit 3900833458)
2016-10-20 19:10:47 -07:00
James Lu
4f3fa04cde docs/t/services-api: mention ServiceBot.join() 2016-10-16 18:48:29 -07:00
James Lu
c4e0923fb5 pylink: add a migration note for pid checking 2016-10-15 14:34:21 -07:00
James Lu
b750bd4d15 coremods/control: ignore errors when removing PID file 2016-10-15 14:31:13 -07:00
James Lu
774f30c940 pylink: exit with a non-zero code if pid check fails; reword error to be more helpful 2016-10-15 14:23:29 -07:00
Ken Spencer
bc4be815e4 coremods: make _shutdown remove running 'config'.pid 2016-10-15 16:50:25 -04:00
Ken Spencer
a30942669a pylink: Stop daemon if pid file exists and we're checking 2016-10-15 16:43:14 -04:00