]> kaliko git repositories - sid.git/log
sid.git
12 months agoBump version dev master 0.4.0
kaliko [Sat, 25 Mar 2023 14:30:15 +0000 (15:30 +0100)]
Bump version

12 months agoFixed rtbl documentation
kaliko [Sat, 25 Mar 2023 14:25:13 +0000 (15:25 +0100)]
Fixed rtbl documentation

12 months agodoc: Improve and update
kaliko [Sat, 25 Mar 2023 14:15:13 +0000 (15:15 +0100)]
doc: Improve and update

12 months agortbl: some cleanup
kaliko [Sat, 25 Mar 2023 14:07:47 +0000 (15:07 +0100)]
rtbl: some cleanup

12 months agoKeep track of MUC participant in the sid.MUCBot
kaliko [Sat, 25 Mar 2023 10:20:27 +0000 (11:20 +0100)]
Keep track of MUC participant in the sid.MUCBot

12 months agortbl: Better presence handling
kaliko [Sat, 25 Mar 2023 09:55:44 +0000 (10:55 +0100)]
rtbl: Better presence handling

12 months agoFixed missing bot method
kaliko [Fri, 24 Mar 2023 15:05:21 +0000 (16:05 +0100)]
Fixed missing bot method

12 months agoFixed documentation
kaliko [Thu, 23 Mar 2023 20:12:43 +0000 (21:12 +0100)]
Fixed documentation

12 months agoUpdate README 0.3.0
kaliko [Thu, 23 Mar 2023 19:09:20 +0000 (20:09 +0100)]
Update README

12 months agoExpose a CLI interface for rtbl plugin
kaliko [Thu, 23 Mar 2023 19:06:48 +0000 (20:06 +0100)]
Expose a CLI interface for rtbl plugin

python3 -m sid.rtbl --jid botjid@example.org \
                    --room muc_to_moderate@conf.example.org \
                    --rtbl xmppbl.org

12 months agoExpose class attribute to set plugin log level
kaliko [Thu, 23 Mar 2023 16:36:24 +0000 (17:36 +0100)]
Expose class attribute to set plugin log level

To enable debug level for RTBL plugin only:
>>> import logging
>>> from sid.rtbl import RTBL
>>> RTBL.log_level = logging.DEBUG

Then instanciate the bot and register plugins

12 months agortbl: Ease testing
kaliko [Thu, 23 Mar 2023 16:30:33 +0000 (17:30 +0100)]
rtbl: Ease testing

Make testing easier with rtbl.BL.init mapping to add testing item to the
block list (locally).

Generate a hash:
>>> import hashlib
>>> test_hash = hashlib.sha256('user@example.org'.encode('utf-8')).hexdigest()

Then use it to pre-populate the block list:

>>> from sid.rtbl import RTBL, BL
>>> BL.init = {test_hash: 'For testing purposes'}

12 months agoFixed typo in rtbl bot example
kaliko [Thu, 23 Mar 2023 13:19:31 +0000 (14:19 +0100)]
Fixed typo in rtbl bot example

12 months agoAdd rtbl bot example
kaliko [Thu, 23 Mar 2023 13:16:00 +0000 (14:16 +0100)]
Add rtbl bot example

12 months agortbl: Fixed publish/retract item
kaliko [Wed, 22 Mar 2023 16:43:12 +0000 (17:43 +0100)]
rtbl: Fixed publish/retract item

12 months agortbl: Fixed rtbl_ban call
kaliko [Tue, 21 Mar 2023 21:53:45 +0000 (22:53 +0100)]
rtbl: Fixed rtbl_ban call

12 months agoBumped copyright year
kaliko [Tue, 21 Mar 2023 17:36:52 +0000 (18:36 +0100)]
Bumped copyright year

12 months agoFixed README
kaliko [Tue, 21 Mar 2023 17:36:21 +0000 (18:36 +0100)]
Fixed README

12 months agoAdd sphinx documentation rtbl
kaliko [Tue, 21 Mar 2023 16:44:48 +0000 (17:44 +0100)]
Add sphinx documentation

12 months agoBump min python/slixmpp required (3.7, 1.8.1)
kaliko [Tue, 21 Mar 2023 16:22:45 +0000 (17:22 +0100)]
Bump min python/slixmpp required (3.7, 1.8.1)

12 months agoCleanup logging
kaliko [Tue, 21 Mar 2023 16:18:02 +0000 (17:18 +0100)]
Cleanup logging

12 months agortbl
kaliko [Tue, 21 Mar 2023 15:18:21 +0000 (16:18 +0100)]
rtbl

12 months agoAdd rtbl pluglin
kaliko [Sat, 18 Mar 2023 08:16:40 +0000 (09:16 +0100)]
Add rtbl pluglin

12 months agoAdd missing import
kaliko [Mon, 20 Mar 2023 19:00:51 +0000 (20:00 +0100)]
Add missing import

12 months agoAdd ban command to plugin base object
kaliko [Sat, 18 Mar 2023 07:59:44 +0000 (08:59 +0100)]
Add ban command to plugin base object

13 months agoSwitch to SPDX headers
kaliko [Fri, 17 Mar 2023 16:02:04 +0000 (17:02 +0100)]
Switch to SPDX headers

https://spdx.dev/ids/

13 months agoBumped version
kaliko [Fri, 17 Mar 2023 15:39:43 +0000 (16:39 +0100)]
Bumped version

13 months agoAdd helpers to add/remove handlers
kaliko [Fri, 17 Mar 2023 15:35:23 +0000 (16:35 +0100)]
Add helpers to add/remove handlers

13 months agoBump slixmpp to 1.8.3
kaliko [Fri, 17 Mar 2023 15:32:25 +0000 (16:32 +0100)]
Bump slixmpp to 1.8.3

join_muc now a coroutine

2 years agoci: Fixed build target
kaliko [Mon, 20 Dec 2021 14:28:00 +0000 (15:28 +0100)]
ci: Fixed build target

2 years agobugs: intercepts bug id in URLs as well (closes #1)
kaliko [Mon, 20 Dec 2021 13:18:47 +0000 (14:18 +0100)]
bugs: intercepts bug id in URLs as well (closes #1)

3 years agofeeds: Proper URI parsing (thanks elghinn)
kaliko [Tue, 10 Nov 2020 17:00:53 +0000 (18:00 +0100)]
feeds: Proper URI parsing (thanks elghinn)

3 years agoReleasing v0.2.0 0.2.0
kaliko [Wed, 28 Oct 2020 14:10:21 +0000 (15:10 +0100)]
Releasing v0.2.0

3 years agofeeds: Lazy log formating fixed-feeds
kaliko [Sat, 24 Oct 2020 17:57:55 +0000 (19:57 +0200)]
feeds: Lazy log formating

3 years agofeeds: Better date formating, explicit timezone
kaliko [Sat, 24 Oct 2020 17:57:11 +0000 (19:57 +0200)]
feeds: Better date formating, explicit timezone

3 years agofeeds: catch ConnectionError to avoid killing thread
kaliko [Fri, 23 Oct 2020 18:30:03 +0000 (20:30 +0200)]
feeds: catch ConnectionError to avoid killing thread

3 years agofeeds: catch urllib.error.URLError to avoid killing thread
kaliko [Fri, 23 Oct 2020 14:14:26 +0000 (16:14 +0200)]
feeds: catch urllib.error.URLError to avoid killing thread

3 years agoImproved help strings, add doc url
kaliko [Fri, 2 Oct 2020 11:07:53 +0000 (13:07 +0200)]
Improved help strings, add doc url

3 years agoBumped version
kaliko [Fri, 2 Oct 2020 10:41:13 +0000 (12:41 +0200)]
Bumped version

3 years agoHandles disconnections
kaliko [Thu, 1 Oct 2020 11:45:32 +0000 (13:45 +0200)]
Handles disconnections

3 years agoReleasing v0.1.1 0.1.1
kaliko [Tue, 19 May 2020 08:10:48 +0000 (10:10 +0200)]
Releasing v0.1.1

3 years agoReformat docstrings to have nice help message
kaliko [Tue, 19 May 2020 08:09:30 +0000 (10:09 +0200)]
Reformat docstrings to have nice help message

3 years agoBumped version
kaliko [Mon, 18 May 2020 15:18:45 +0000 (17:18 +0200)]
Bumped version

3 years agodoc: Improved documentation
kaliko [Wed, 13 May 2020 18:08:43 +0000 (20:08 +0200)]
doc: Improved documentation

3 years agoRemove duplicated example
kaliko [Wed, 13 May 2020 18:03:26 +0000 (20:03 +0200)]
Remove duplicated example

3 years agoDo not answer messages from unseen
kaliko [Wed, 13 May 2020 13:49:15 +0000 (15:49 +0200)]
Do not answer messages from unseen

The bot only answers to contact it received presence from and to groupchat messages.

3 years agoReleasing v0.1.0 0.1.0
kaliko [Wed, 13 May 2020 09:07:32 +0000 (11:07 +0200)]
Releasing v0.1.0

3 years agoUpdate example
kaliko [Wed, 13 May 2020 09:07:02 +0000 (11:07 +0200)]
Update example

3 years agoUse async method properly
kaliko [Wed, 13 May 2020 09:05:52 +0000 (11:05 +0200)]
Use async method properly

3 years agodoc: Update README
kaliko [Wed, 13 May 2020 09:02:07 +0000 (11:02 +0200)]
doc: Update README

3 years agodoc: Document log plugin
kaliko [Wed, 13 May 2020 09:01:04 +0000 (11:01 +0200)]
doc: Document log plugin

3 years agodistribution: Build python3 only wheel
kaliko [Wed, 13 May 2020 08:59:48 +0000 (10:59 +0200)]
distribution: Build python3 only wheel

3 years agoci: Build master doc only
kaliko [Wed, 13 May 2020 08:56:06 +0000 (10:56 +0200)]
ci: Build master doc only

3 years agoci: Fixed dist file joker for release
kaliko [Wed, 13 May 2020 08:55:14 +0000 (10:55 +0200)]
ci: Fixed dist file joker for release

3 years agolog: Add: log user jid when possible
kaliko [Tue, 12 May 2020 18:24:47 +0000 (20:24 +0200)]
log: Add: log user jid when possible

3 years agoAdd Log plugin
kaliko [Tue, 12 May 2020 12:05:00 +0000 (14:05 +0200)]
Add Log plugin

3 years agosphinx: document plugins
kaliko [Wed, 6 May 2020 16:51:48 +0000 (18:51 +0200)]
sphinx: document plugins

3 years agoSome cleanup and reformatting.
kaliko [Wed, 6 May 2020 15:13:11 +0000 (17:13 +0200)]
Some cleanup and reformatting.

3 years agoci: Add missing slixmpp dependency
kaliko [Wed, 6 May 2020 11:58:35 +0000 (13:58 +0200)]
ci: Add missing slixmpp dependency

3 years agoAdd gitlab ci
kaliko [Wed, 6 May 2020 11:23:32 +0000 (13:23 +0200)]
Add gitlab ci

3 years agoSome minor code formatting
kaliko [Wed, 6 May 2020 10:26:04 +0000 (12:26 +0200)]
Some minor code formatting

3 years agoarchive: Cleanup plugin, removed useless code
kaliko [Wed, 6 May 2020 10:22:06 +0000 (12:22 +0200)]
archive: Cleanup plugin, removed useless code

3 years agoUse __url__ in help message
kaliko [Wed, 6 May 2020 09:17:51 +0000 (11:17 +0200)]
Use __url__ in help message

3 years agoPurge MUCBot docstring in init
kaliko [Wed, 6 May 2020 09:11:47 +0000 (11:11 +0200)]
Purge MUCBot docstring in init

3 years agosphinx: Add sphinx docstring
kaliko [Wed, 6 May 2020 09:08:08 +0000 (11:08 +0200)]
sphinx: Add sphinx docstring

3 years agoAdd gitignore
kaliko [Tue, 5 May 2020 10:43:43 +0000 (12:43 +0200)]
Add gitignore

3 years agoCleanup/modernize distribution
kaliko [Tue, 5 May 2020 10:40:15 +0000 (12:40 +0200)]
Cleanup/modernize distribution

3 years agofeeds: use proper http caching
kaliko [Mon, 4 May 2020 09:45:46 +0000 (11:45 +0200)]
feeds: use proper http caching

3 years agoCleanup
kaliko [Sat, 2 May 2020 16:44:47 +0000 (18:44 +0200)]
Cleanup

3 years agobugs: shorter help text
kaliko [Sat, 2 May 2020 14:45:21 +0000 (16:45 +0200)]
bugs: shorter help text

3 years agoAdd Debian archive plugin
kaliko [Sat, 2 May 2020 14:09:24 +0000 (16:09 +0200)]
Add Debian archive plugin

3 years agoFixed docstrings indentation
kaliko [Sat, 2 May 2020 14:07:53 +0000 (16:07 +0200)]
Fixed docstrings indentation

3 years agoUpdate setup.py
kaliko [Fri, 1 May 2020 15:31:09 +0000 (17:31 +0200)]
Update setup.py

3 years agobugs: Add command argument to list package open bugs
kaliko [Fri, 1 May 2020 14:52:44 +0000 (16:52 +0200)]
bugs: Add command argument to list package open bugs

3 years agoAdd git url in help
kaliko [Fri, 1 May 2020 11:16:14 +0000 (13:16 +0200)]
Add git url in help

3 years agoFixed echo plugin
kaliko [Fri, 1 May 2020 10:42:22 +0000 (12:42 +0200)]
Fixed echo plugin

3 years agoUpdate copyrights
kaliko [Fri, 1 May 2020 10:41:57 +0000 (12:41 +0200)]
Update copyrights

3 years agoSwitched to slixmpp
kaliko [Thu, 30 Apr 2020 18:14:30 +0000 (20:14 +0200)]
Switched to slixmpp

8 years agoFixed tell "purge" command
kaliko [Sat, 24 Oct 2015 11:02:12 +0000 (13:02 +0200)]
Fixed tell "purge" command

Some code convention cleanup (pylint)

8 years agoAdd setup.py
kaliko [Sat, 24 Oct 2015 08:36:17 +0000 (10:36 +0200)]
Add setup.py

8 years agoBetter use of logging
kaliko [Fri, 23 Oct 2015 15:39:52 +0000 (17:39 +0200)]
Better use of logging

8 years agoAdd Debian BTS plugin
kaliko [Fri, 23 Oct 2015 13:27:12 +0000 (15:27 +0200)]
Add Debian BTS plugin

8 years agoUse namespace to init loggers
kaliko [Tue, 5 May 2015 16:35:25 +0000 (18:35 +0200)]
Use namespace to init loggers

Thanks Link Mauve for pointing it out

9 years agoNow handles private msg in MUC
kaliko [Mon, 24 Nov 2014 20:35:37 +0000 (21:35 +0100)]
Now handles private msg in MUC

9 years agotell: trigger on status available
kaliko [Mon, 24 Nov 2014 16:10:13 +0000 (17:10 +0100)]
tell: trigger on status available

9 years agoFixed xhtml-im formating in Feeds
kaliko [Sun, 16 Nov 2014 15:46:19 +0000 (16:46 +0100)]
Fixed xhtml-im formating in Feeds

9 years agotraceback sent in MUC for levels < logging.DEBUG
kaliko [Sun, 16 Nov 2014 13:35:25 +0000 (14:35 +0100)]
traceback sent in MUC for levels < logging.DEBUG

9 years agoAdd jid in password prompt
kaliko [Sun, 16 Nov 2014 13:34:46 +0000 (14:34 +0100)]
Add jid in password prompt

9 years agoFixed html escape characters in Feeds
kaliko [Sat, 15 Nov 2014 15:57:22 +0000 (16:57 +0100)]
Fixed html escape characters in Feeds

9 years agoAdd ping comand
kaliko [Sat, 15 Nov 2014 13:34:43 +0000 (14:34 +0100)]
Add ping comand

9 years agoMoved the send logic to Plugin
kaliko [Sat, 15 Nov 2014 13:06:38 +0000 (14:06 +0100)]
Moved the send logic to Plugin

9 years agoUse of getpass in example bot
kaliko [Sat, 15 Nov 2014 10:46:09 +0000 (11:46 +0100)]
Use of getpass in example bot

9 years agoAllow space in front of prefix
kaliko [Sat, 15 Nov 2014 10:43:21 +0000 (11:43 +0100)]
Allow space in front of prefix

traceback sent in debug mode only

9 years agoPrototype of Echo plugin, yet to be renamed
kaliko [Sat, 15 Nov 2014 10:42:15 +0000 (11:42 +0100)]
Prototype of Echo plugin, yet to be renamed

9 years agoUpdate default feeds
kaliko [Sat, 15 Nov 2014 10:32:01 +0000 (11:32 +0100)]
Update default feeds

9 years agoFixed traceback logging
kaliko [Fri, 14 Nov 2014 18:29:50 +0000 (19:29 +0100)]
Fixed traceback logging

9 years agoExpose logger directly in Plugin
kaliko [Fri, 14 Nov 2014 18:27:21 +0000 (19:27 +0100)]
Expose logger directly in Plugin

9 years agoMemory efficient new entries detection
kaliko [Fri, 14 Nov 2014 18:26:18 +0000 (19:26 +0100)]
Memory efficient new entries detection

9 years agoSome cleanup
kaliko [Fri, 14 Nov 2014 13:52:39 +0000 (14:52 +0100)]
Some cleanup

9 years agoInitial import
kaliko [Fri, 14 Nov 2014 13:22:50 +0000 (14:22 +0100)]
Initial import