]> jfr.im git - irc/weechat/scripts.git/log
irc/weechat/scripts.git
6 months agofish 0.15: fix encoding errors with message markers master
David Flatz [Mon, 16 Oct 2023 12:16:02 +0000 (14:16 +0200)] 
fish 0.15: fix encoding errors with message markers

7 months agocolorize_nicks.py 31: use info "irc_nick_color" on IRC buffers with WeeChat >= 4.1.0
Sébastien Helleu [Mon, 16 Oct 2023 11:34:35 +0000 (13:34 +0200)] 
colorize_nicks.py 31: use info "irc_nick_color" on IRC buffers with WeeChat >= 4.1.0

7 months agoemojize.py 1.0.1: Fix to work with modern versions of `emoji` package
Vadim A. Misbakh-Soloviov [Sun, 6 Aug 2023 12:07:17 +0000 (19:07 +0700)] 
emojize.py 1.0.1: Fix to work with modern versions of `emoji` package

7 months agoxdccq.py 0.1.2: make script compatible with Python 3
maciesse [Mon, 2 Oct 2023 10:50:04 +0000 (12:50 +0200)] 
xdccq.py 0.1.2: make script compatible with Python 3

7 months agobitlbee_completion.py 0.3: set default template, fix command executed, fix function...
andreabeciani [Wed, 4 Oct 2023 06:12:57 +0000 (08:12 +0200)] 
bitlbee_completion.py 0.3: set default template, fix command executed, fix function names

7 months agoslack.py 2.10.1: Merge with mainline
Trygve Aaberge [Fri, 22 Sep 2023 21:24:54 +0000 (23:24 +0200)] 
slack.py 2.10.1: Merge with mainline

This is version 2.10.1 of slack.py (currently the most recent), copied
over from the wee-slack repo.

8 months agoRemove script multiline.pl (moved to unofficial scripts, not needed with WeeChat...
Sébastien Helleu [Thu, 14 Sep 2023 08:13:34 +0000 (10:13 +0200)] 
Remove script multiline.pl (moved to unofficial scripts, not needed with WeeChat >= 4.0.0)

8 months agocollapse_channel.py 1.1: one more check for buffer_ptr
Nils Görs [Sat, 2 Sep 2023 08:21:14 +0000 (10:21 +0200)] 
collapse_channel.py 1.1: one more check for buffer_ptr

8 months agocollapse_channel.py 1.0: check for buffer_ptr and for irc buffer
Nils Görs [Sat, 2 Sep 2023 07:46:52 +0000 (09:46 +0200)] 
collapse_channel.py 1.0: check for buffer_ptr and for irc buffer

8 months agoslack.py 2.10.0: Merge with mainline
Trygve Aaberge [Thu, 24 Aug 2023 21:40:07 +0000 (23:40 +0200)] 
slack.py 2.10.0: Merge with mainline

This is version 2.10.0 of slack.py (currently the most recent), copied
over from the wee-slack repo.

9 months agoRemove script text_item.py (moved to unofficial scripts, not needed with WeeChat...
Sébastien Helleu [Thu, 17 Aug 2023 14:01:28 +0000 (16:01 +0200)] 
Remove script text_item.py (moved to unofficial scripts, not needed with WeeChat >= 3.6)

9 months agoqueryman.py 0.6.1: fix a timing problem when joining autojoin-channels
Nils Görs [Tue, 1 Aug 2023 19:29:14 +0000 (21:29 +0200)] 
queryman.py 0.6.1: fix a timing problem when joining autojoin-channels

10 months agorecoverop.pl 0.1.3: Add IRCv3 compatibility by using weechat parser (info_get_hashtab...
TheReptile [Mon, 10 Jul 2023 12:44:45 +0000 (14:44 +0200)] 
recoverop.pl 0.1.3: Add IRCv3 compatibility by using weechat parser (info_get_hashtable "irc_message_parse")

10 months agoread_marker.py 0.2.0: use irc_cap_sync_req modifier
Simon Ser [Thu, 6 Jul 2023 12:22:01 +0000 (14:22 +0200)] 
read_marker.py 0.2.0: use irc_cap_sync_req modifier

Instead of overwriting the irc.server_default.capabilities config
option, use the new irc_cap_sync_req modifier to request the extra
read-marker capability.

10 months agosoju.py 0.5.0: use irc_cap_sync_req modifier
Simon Ser [Thu, 6 Jul 2023 12:17:14 +0000 (14:17 +0200)] 
soju.py 0.5.0: use irc_cap_sync_req modifier

Instead of overwriting the irc.server_default.capabilities config
option, use the new irc_cap_sync_req modifier to request the extra
bouncer-networks capability.

10 months agoquery_blocker.pl 1.6: fix parsing of nick when message has tags
Nils Görs [Fri, 30 Jun 2023 19:59:47 +0000 (21:59 +0200)] 
query_blocker.pl 1.6: fix parsing of nick when message has tags

10 months agocolorize_lines.pl 4.0.1: fix display of multiline messages (closes #534)
Sébastien Helleu [Wed, 28 Jun 2023 16:00:05 +0000 (18:00 +0200)] 
colorize_lines.pl 4.0.1: fix display of multiline messages (closes #534)

10 months agosoju.py 0.4.0: from ssl to tls on weechat >= 4.0.0
Willow Barraco [Mon, 26 Jun 2023 11:06:04 +0000 (13:06 +0200)] 
soju.py 0.4.0: from ssl to tls on weechat >= 4.0.0

10 months agoupdate_notifier.py 0.7: fix error when next release is scheduled today
Sébastien Helleu [Sat, 24 Jun 2023 15:09:27 +0000 (17:09 +0200)] 
update_notifier.py 0.7: fix error when next release is scheduled today

10 months agogo.py 2.9: add option "min_chars"
Sébastien Helleu [Wed, 21 Jun 2023 12:24:09 +0000 (14:24 +0200)] 
go.py 2.9: add option "min_chars"

11 months agowttr.tcl 1.1: improve help
crazycatdevs [Thu, 15 Jun 2023 08:18:24 +0000 (10:18 +0200)] 
wttr.tcl 1.1: improve help

11 months agoNew script wttr.tcl: add an item showing weather
crazycatdevs [Wed, 14 Jun 2023 06:20:00 +0000 (08:20 +0200)] 
New script wttr.tcl: add an item showing weather

11 months agokeepnick.py 1.7: remove use of infolist variable "ssl_connected"
Sébastien Helleu [Wed, 14 Jun 2023 06:10:04 +0000 (08:10 +0200)] 
keepnick.py 1.7: remove use of infolist variable "ssl_connected"

11 months agowee_most.py 0.3.0: new release
Damien Tardy-Panis [Mon, 5 Jun 2023 18:16:26 +0000 (20:16 +0200)] 
wee_most.py 0.3.0: new release

# Added

- Add suffix to successfully downloaded files
  See look.file_downloaded_suffix and color.file_downloaded_suffix configuration options

# Fixed

- Fix handling of user_added WebSocket event in case of non existing channel
- Fix handling of user_removed WebSocket event
- Fix display of polls

# Changed

- Delete input line before inserting reply/react/unreact command
- Use channel last_viewed_at property to determine if post is read or not
- Strip leading and trailing newlines from post display

11 months agomultiline.pl 0.6.4: support new key names in WeeChat 4.0.0
Trygve Aaberge [Tue, 30 May 2023 16:33:24 +0000 (18:33 +0200)] 
multiline.pl 0.6.4: support new key names in WeeChat 4.0.0

Uses the new key names for WeeChat >= 4.0.0 and the old key names for
older versions. For ctrl-m and ctrl-j it still uses these names rather
than the new return name, because it handles ctrl-m and ctrl-j
differently (but uses the correct version of it, e.g. ctrl-m for new
versions and ctrl-M for old versions, so it works in all versions).

13 months agoNew script sarcasm.py: Adds random capitalization
Fsaev [Sat, 1 Apr 2023 08:38:48 +0000 (10:38 +0200)] 
New script sarcasm.py: Adds random capitalization

13 months agofish.py 0.14: improve Pycryptodome dependency
David Flatz [Fri, 31 Mar 2023 15:45:23 +0000 (17:45 +0200)] 
fish.py 0.14: improve Pycryptodome dependency

Also fix a TypeError when fish_secure_key is set.

13 months agoemote.scm 0.3.1: replace `apply string-append` with `string-join`
yuvallangerontheroad [Wed, 22 Mar 2023 19:32:34 +0000 (20:32 +0100)] 
emote.scm 0.3.1: replace `apply string-append` with `string-join`

14 months agoMention that issues must be reported to upstream repositories
Sébastien Helleu [Sat, 18 Mar 2023 16:39:42 +0000 (17:39 +0100)] 
Mention that issues must be reported to upstream repositories

14 months agoNew script wee_most.py: Mattermost integration
Damien Tardy-Panis [Tue, 7 Feb 2023 19:33:44 +0000 (20:33 +0100)] 
New script wee_most.py: Mattermost integration

14 months agobuddylist.pl 2.2: make /whois lower-case
Nils Görs [Sun, 19 Feb 2023 20:56:23 +0000 (21:56 +0100)] 
buddylist.pl 2.2: make /whois lower-case

15 months agoirssi_awaylog.py 0.4: make script compatible with Python 3
Miklos Vajna [Fri, 10 Feb 2023 21:06:20 +0000 (22:06 +0100)] 
irssi_awaylog.py 0.4: make script compatible with Python 3

15 months agoNew script digraph.py: nvim style digraphs. Enables entering math symbols easily.
x [Tue, 17 Jan 2023 13:26:19 +0000 (14:26 +0100)] 
New script digraph.py: nvim style digraphs. Enables entering math symbols easily.

15 months agochanop.py 0.3.5: replace command /VERSION by /version (compatibility with WeeChat...
Sébastien Helleu [Sun, 5 Feb 2023 20:15:15 +0000 (21:15 +0100)] 
chanop.py 0.3.5: replace command /VERSION by /version (compatibility with WeeChat 3.9)

15 months agochancomp.py 1.2: replace command /WHOIS by /whois (compatibility with WeeChat 3.9)
Sébastien Helleu [Sun, 5 Feb 2023 20:14:54 +0000 (21:14 +0100)] 
chancomp.py 1.2: replace command /WHOIS by /whois (compatibility with WeeChat 3.9)

16 months agohistsearch.py 0.7: send buffer pointer with signal "input_text_changed"
Sébastien Helleu [Sun, 8 Jan 2023 16:34:35 +0000 (17:34 +0100)] 
histsearch.py 0.7: send buffer pointer with signal "input_text_changed"

This fixes a crash in the typing plugin that relies on this buffer pointer.

16 months agogo.py 2.8: send buffer pointer with signal "input_text_changed"
Sébastien Helleu [Sun, 8 Jan 2023 16:28:19 +0000 (17:28 +0100)] 
go.py 2.8: send buffer pointer with signal "input_text_changed"

This fixes a crash in the typing plugin that relies on this buffer pointer.

17 months agoinput_lock.rb: 0.2: Add automatic idle lock.
Mahlon E. Smith [Mon, 28 Nov 2022 00:28:12 +0000 (16:28 -0800)] 
input_lock.rb: 0.2: Add automatic idle lock.

Refactor, Weechat already places script code in it's own namespace, no
need to emulate it myself.

Add an optional input timer for idle-ness, automatically lock after time
expires.

Bump version. ... 11 years later. :)

17 months agourlgrab.py 3.2: Use xdg-open as default local command
Marco Trevisan [Thu, 15 Dec 2022 15:08:41 +0000 (16:08 +0100)] 
urlgrab.py 3.2: Use xdg-open as default local command

It will automatically open the URI in the default browser for the system,
without having users to change it to their browser.

18 months agoIgnore 3 extra scripts that have mixed tabs and spaces for indentation
Sébastien Helleu [Fri, 11 Nov 2022 18:40:30 +0000 (19:40 +0100)] 
Ignore 3 extra scripts that have mixed tabs and spaces for indentation

18 months agounwanted_msg.py 0.3: remove leading whitespace in every situation
Kevin Morris [Fri, 11 Nov 2022 11:22:26 +0000 (12:22 +0100)] 
unwanted_msg.py 0.3: remove leading whitespace in every situation

Previously, this script was taking care of removing invalid spaces
used before a command. This patch improves the script to remove
leading whitespace characters in all cases, not just for a command.

Warnings have been removed with this commit. It merely does not allow
you to add leading whitespace into the input buffer, which feels
quite self-explanatory as a user (I think?).

In addition, the `/raw` command is now available. The `/raw` command
includes whitespace inside of enclosed delimiters which can be
configured (defaulted to []). See `/help raw` for details on
how it works and configuration.

Signed-off-by: Kevin Morris <redacted>
18 months agoNew script ipinfo.tcl: retrieve information about an IP
CrazyCat [Fri, 11 Nov 2022 11:11:25 +0000 (12:11 +0100)] 
New script ipinfo.tcl: retrieve information about an IP

18 months agogrep.py 0.8.6: ignore utf-8 decoding errors
anonymous2ch [Fri, 11 Nov 2022 11:06:37 +0000 (12:06 +0100)] 
grep.py 0.8.6: ignore utf-8 decoding errors

18 months agoopenbsd_privdrop.py 0.1.1: sane defaults for unveil
Alvar Penning [Wed, 9 Nov 2022 21:54:38 +0000 (22:54 +0100)] 
openbsd_privdrop.py 0.1.1: sane defaults for unveil

18 months agocolorize_nicks.py 30: added "[:,]" to VALID_NICK
Vadim A. Misbakh-Soloviov [Mon, 7 Nov 2022 10:34:20 +0000 (17:34 +0700)] 
colorize_nicks.py 30: added "[:,]" to VALID_NICK

I've added ":" and "," to VALID_NICK regexp.
The point is to don't reset the colorization in input_line when you
address someone by nick (like `FlashCode:` or `FlachCode,`).

18 months agoslack.py 2.9.1: Merge with mainline
Trygve Aaberge [Sun, 30 Oct 2022 11:28:53 +0000 (12:28 +0100)] 
slack.py 2.9.1: Merge with mainline

This is version 2.9.1 of slack.py (currently the most recent), copied
over from the wee-slack repo.

18 months agosoju.py 0.3.0: remove soju.im/read support
Simon Ser [Mon, 12 Sep 2022 07:09:28 +0000 (09:09 +0200)] 
soju.py 0.3.0: remove soju.im/read support

This IRC extension has been accepted by IRCv3 and has become
draft/read-marker. The soju extension is deprecated.

Users can install read_marker.py [1] to get the same functionality.

[1]: https://github.com/weechat/scripts/pull/507

18 months agoNew script read_marker.py: draft/read-marker extension support
Simon Ser [Mon, 12 Sep 2022 07:02:07 +0000 (09:02 +0200)] 
New script read_marker.py: draft/read-marker extension support

This script adds support for the draft/read-marker IRCv3
extension [1].

[1]: https://ircv3.net/specs/extensions/read-marker

18 months agoautojoin_on_invite.py 0.9: Fix nick regex
Guillermo Castro [Wed, 19 Oct 2022 17:21:43 +0000 (17:21 +0000)] 
autojoin_on_invite.py 0.9: Fix nick regex

18 months agoparse_relayed_msg.pl 1.9.7: fix a warning about declaration in same scope, remove...
Nils Görs [Thu, 13 Oct 2022 11:08:37 +0000 (13:08 +0200)] 
parse_relayed_msg.pl 1.9.7: fix a warning about declaration in same scope, remove unnecessary callback function

18 months agofish.py 0.13: handle message tags from ircv3
David Flatz [Thu, 6 Oct 2022 10:16:26 +0000 (12:16 +0200)] 
fish.py 0.13: handle message tags from ircv3

20 months agoslack.py 2.9.0: Merge with mainline
Trygve Aaberge [Mon, 19 Sep 2022 16:07:35 +0000 (18:07 +0200)] 
slack.py 2.9.0: Merge with mainline

This is version 2.9.0 of slack.py (currently the most recent), copied
over from the wee-slack repo.

Note that the Slack API will introduce a breaking change towmorrow
(2022-09-20) which means that all earlier versions of slack.py will stop
working. This release supports the change and will not be affected.

20 months agoNew script openbsd_privdrop.py: least privilege on OpenBSD
Alvar Penning [Sun, 18 Sep 2022 11:57:10 +0000 (13:57 +0200)] 
New script openbsd_privdrop.py: least privilege on OpenBSD

20 months agobeinc.py 4.3: remove obsolete SSL/TLS code and re-style code
Simeon Simeonov [Sat, 10 Sep 2022 08:55:48 +0000 (10:55 +0200)] 
beinc.py 4.3: remove obsolete SSL/TLS code and re-style code

21 months agoReplace Ubuntu 20.04 by 22.04 in CI
Sébastien Helleu [Sat, 20 Aug 2022 12:54:21 +0000 (14:54 +0200)] 
Replace Ubuntu 20.04 by 22.04 in CI

21 months agourlgrab.py 3.1: store urls by buffer `full_name`
Ron Alleva [Wed, 3 Aug 2022 19:09:13 +0000 (15:09 -0400)] 
urlgrab.py 3.1: store urls by buffer `full_name`

This adds an option to store URLs by the full_name of the buffer, rather
than the short_name or name that is currently the default.

This fixes an issue that I had directly, where some buffers would
(frequently) get typing indicators at the short name, thus storing the
URL under `>general` instead of `#general`. This would break trying to
open URLs by index in the channel.

This should also address issue #90, as the full name should contain the
network information in it.

There is also a small linting cleanup, using `completion_list_add` and
fixing the weechat URLs

21 months agowhatsapp.py 0.2: adapt to new yowsup version
Marcel Robohm [Sat, 30 Jul 2022 17:39:17 +0000 (19:39 +0200)] 
whatsapp.py 0.2: adapt to new yowsup version

21 months agocolorize_nicks.py 29: check nick for exclusion *after* stripping, decrease minimum...
Naïm Favier [Mon, 11 Jul 2022 09:32:52 +0000 (11:32 +0200)] 
colorize_nicks.py 29: check nick for exclusion *after* stripping, decrease minimum length to 1

The first change is so that nicknames are checked for min_nick_length or
blacklist *after* stripping e.g. the ":" address part.

The second change is so that I can see my good friend `k` in colour.

22 months agotriggerreply.py 0.4.4: fix TypeError (closes #459), add autocompletion and option...
Nils Görs [Thu, 7 Jul 2022 19:44:47 +0000 (21:44 +0200)] 
triggerreply.py 0.4.4: fix TypeError (closes #459), add autocompletion and option for sqlite3 filename, display help with /help command

23 months agoautojoin_on_invite.py 0.8: bump version
Sébastien Helleu [Fri, 3 Jun 2022 18:58:38 +0000 (20:58 +0200)] 
autojoin_on_invite.py 0.8: bump version

23 months agofix regex match
h-0-s-h [Wed, 2 Mar 2022 19:31:10 +0000 (14:31 -0500)] 
fix regex match

to account for CAPS/time feature on newer ircds (@time=2022-03-02T19:00:30.041Z :XXXX!~XXXX@xxxx INVITE yournick :#xxxxxxxx)

23 months agofish.py 0.12: fix decryption of truncated messages in CBC mode
David Flatz [Wed, 1 Jun 2022 07:02:04 +0000 (09:02 +0200)] 
fish.py 0.12: fix decryption of truncated messages in CBC mode

2 years agoupside_down.py 0.3.1: port to python3
Friedrich Delgado [Mon, 14 Mar 2022 08:13:21 +0000 (09:13 +0100)] 
upside_down.py 0.3.1: port to python3

2 years agofish.py 0.11: support decryption of messages in CBC mode
David Flatz [Wed, 9 Mar 2022 11:04:50 +0000 (12:04 +0100)] 
fish.py 0.11: support decryption of messages in CBC mode

2 years agosoju.py 0.2.0: add support for soju.im/read
Simon Ser [Sat, 12 Feb 2022 17:49:01 +0000 (18:49 +0100)] 
soju.py 0.2.0: add support for soju.im/read

This allows multiple clients to synchronize unread statuses.

2 years agoquery_blocker 1.5: fix regression introduced in version 1.4
crazycatdevs [Tue, 22 Feb 2022 07:35:15 +0000 (08:35 +0100)] 
query_blocker 1.5: fix regression introduced in version 1.4

$arg was missing, creating "Use of uninitialized value." issue

2 years agoNew script maze.py: interactive maze generator and solver
Sébastien Helleu [Sun, 20 Feb 2022 18:01:55 +0000 (19:01 +0100)] 
New script maze.py: interactive maze generator and solver

2 years agoquery_blocker.pl 1.4: fix uninitialized value (closes #493)
Nils Görs [Fri, 18 Feb 2022 19:42:32 +0000 (20:42 +0100)] 
query_blocker.pl 1.4: fix uninitialized value (closes #493)

2 years agoNew script reop.py: Automatically op/voice users using reop and invite lists.
Jeroen F.J. Laros [Thu, 6 Jan 2022 19:35:51 +0000 (20:35 +0100)] 
New script reop.py: Automatically op/voice users using reop and invite lists.

2 years agoUpdate copyright date
Sébastien Helleu [Mon, 7 Feb 2022 22:36:50 +0000 (23:36 +0100)] 
Update copyright date

2 years agozncplayback.py 0.2.2: handle invalid json in SCRIPT_SAVEFILE
Rouji [Wed, 2 Feb 2022 15:39:59 +0000 (16:39 +0100)] 
zncplayback.py 0.2.2: handle invalid json in SCRIPT_SAVEFILE

I somehow ended up with a 0 Byte SCRIPT_SAVEFILE, which made json.load()
throw an exception, which made the plugin do nothing at all. This fixes that kind of
problem.

2 years agoRemove obsolete scripts from target partial-check
Sébastien Helleu [Tue, 25 Jan 2022 20:08:49 +0000 (21:08 +0100)] 
Remove obsolete scripts from target partial-check

2 years agoRemove script inotify.py
Sébastien Helleu [Tue, 25 Jan 2022 20:04:07 +0000 (21:04 +0100)] 
Remove script inotify.py

Script does not work with Python 3.

2 years agoRemove script notifo.py
Sébastien Helleu [Tue, 25 Jan 2022 20:02:46 +0000 (21:02 +0100)] 
Remove script notifo.py

Script does not work with Python 3 (use of "python2_bin" info is now
forbidden).

2 years agoRemove script wtwitter.py
Sébastien Helleu [Tue, 25 Jan 2022 19:58:19 +0000 (20:58 +0100)] 
Remove script wtwitter.py

Script does not work with Python 3 (use of "python2_bin" info is now
forbidden).

2 years agowtwitter.py 0.3: fix mixed spaces and tabs for indentation, make script compatible...
Sébastien Helleu [Tue, 25 Jan 2022 15:39:14 +0000 (16:39 +0100)] 
wtwitter.py 0.3: fix mixed spaces and tabs for indentation, make script compatible with Python 3

2 years agospotify_nowplaying.py 0.1.2: fix mixed spaces and tabs for indentation
Sébastien Helleu [Tue, 25 Jan 2022 06:34:23 +0000 (07:34 +0100)] 
spotify_nowplaying.py 0.1.2: fix mixed spaces and tabs for indentation

2 years agosnotify.py 0.1.4: replace tabs by spaces for indentation, make script compatible...
Sébastien Helleu [Tue, 25 Jan 2022 06:29:32 +0000 (07:29 +0100)] 
snotify.py 0.1.4: replace tabs by spaces for indentation, make script compatible with Python 3

2 years agolastfm.py 0.9: fix mixed spaces and tabs for indentation
Sébastien Helleu [Tue, 25 Jan 2022 06:21:01 +0000 (07:21 +0100)] 
lastfm.py 0.9: fix mixed spaces and tabs for indentation

2 years agokbtimeout.py 0.3: fix mixed spaces and tabs for indentation
Sébastien Helleu [Tue, 25 Jan 2022 06:17:26 +0000 (07:17 +0100)] 
kbtimeout.py 0.3: fix mixed spaces and tabs for indentation

2 years agoarespond.py 0.1.2: fix mixed spaces and tabs for indentation
Sébastien Helleu [Tue, 25 Jan 2022 06:08:56 +0000 (07:08 +0100)] 
arespond.py 0.1.2: fix mixed spaces and tabs for indentation

2 years agoalternatetz.py 0.4: remove trailing tabs
Sébastien Helleu [Tue, 25 Jan 2022 06:05:12 +0000 (07:05 +0100)] 
alternatetz.py 0.4: remove trailing tabs

2 years agoRemove script tinyurl.py
Sébastien Helleu [Tue, 25 Jan 2022 06:02:34 +0000 (07:02 +0100)] 
Remove script tinyurl.py

Script does not work with Python 3 and the Tinyurl API used seems not working
any more.

2 years agoRemove script mplayer.py
Sébastien Helleu [Tue, 25 Jan 2022 06:24:06 +0000 (07:24 +0100)] 
Remove script mplayer.py

Script does not work with Python 3.

2 years agoRemove script ichatts.py
Sébastien Helleu [Tue, 25 Jan 2022 06:14:11 +0000 (07:14 +0100)] 
Remove script ichatts.py

Script does not work with Python 3.

2 years agoRemove script chanstat.py
Sébastien Helleu [Tue, 25 Jan 2022 06:11:45 +0000 (07:11 +0100)] 
Remove script chanstat.py

Script does not work with Python 3.

2 years agosoju.py 0.1.5: adapt all username settings
Jan “Khardix” Staněk [Mon, 6 Dec 2021 14:24:49 +0000 (15:24 +0100)] 
soju.py 0.1.5: adapt all username settings

2 years agoUse Python 3.10 in tests
Sébastien Helleu [Mon, 6 Dec 2021 19:03:04 +0000 (20:03 +0100)] 
Use Python 3.10 in tests

2 years agocmdqueue.py 0.4.5: Fix spacing and improve formatting
Michael Hazell [Mon, 7 Jun 2021 06:46:52 +0000 (02:46 -0400)] 
cmdqueue.py 0.4.5: Fix spacing and improve formatting

2 years agocron.py 0.6: replace calls to function hook_completion_list_add by completion_list_add
Sébastien Helleu [Sun, 7 Nov 2021 15:09:34 +0000 (16:09 +0100)] 
cron.py 0.6: replace calls to function hook_completion_list_add by completion_list_add

2 years agosamechannel.rb 0.2: make script compatible with WeeChat >= 3.4
Sébastien Helleu [Sat, 6 Nov 2021 15:14:08 +0000 (16:14 +0100)] 
samechannel.rb 0.2: make script compatible with WeeChat >= 3.4

New parameters in function hdata_search.

2 years agoautoauth.py 1.3: make script compatible with WeeChat >= 3.4
Sébastien Helleu [Sat, 6 Nov 2021 15:07:47 +0000 (16:07 +0100)] 
autoauth.py 1.3: make script compatible with WeeChat >= 3.4

New parameters in function hdata_search.

2 years agosoju.py 0.1.4: make script compatible with WeeChat >= 3.4
Sébastien Helleu [Sat, 6 Nov 2021 15:12:34 +0000 (16:12 +0100)] 
soju.py 0.1.4: make script compatible with WeeChat >= 3.4

New parameters in function hdata_search.

2 years agostalker.pl 1.6.3: make script compatible with WeeChat >= 3.4
Sébastien Helleu [Sat, 6 Nov 2021 15:06:04 +0000 (16:06 +0100)] 
stalker.pl 1.6.3: make script compatible with WeeChat >= 3.4

New parameters in function hdata_search.

2 years agogrep_filter.py 0.11: make script compatible with WeeChat >= 3.4
Sébastien Helleu [Sat, 6 Nov 2021 15:11:49 +0000 (16:11 +0100)] 
grep_filter.py 0.11: make script compatible with WeeChat >= 3.4

New parameters in function hdata_search.

2 years agocollapse_channel.py 0.9: make script compatible with WeeChat >= 3.4
Sébastien Helleu [Sat, 6 Nov 2021 15:10:25 +0000 (16:10 +0100)] 
collapse_channel.py 0.9: make script compatible with WeeChat >= 3.4

New parameters in function hdata_search.

2 years agobuffer_open.py 0.3: make script compatible with WeeChat >= 3.4
Sébastien Helleu [Sat, 6 Nov 2021 15:09:34 +0000 (16:09 +0100)] 
buffer_open.py 0.3: make script compatible with WeeChat >= 3.4

New parameters in function hdata_search.

2 years agosoju.py 0.1.3: sanitize network names
Simon Ser [Mon, 1 Nov 2021 17:12:28 +0000 (18:12 +0100)] 
soju.py 0.1.3: sanitize network names

Before adding a temporary server with the name used by the bouncer,
sanitize the name to make sure it doesn't include whitespace and
special characters.

2 years agosoju.py 0.1.2: check cap before setting main server
Simon Ser [Wed, 13 Oct 2021 09:37:52 +0000 (11:37 +0200)] 
soju.py 0.1.2: check cap before setting main server

When Weechat is configured with both soju and non-soju servers,
the script gets confused because it assumes the first server will
always be soju.

This patch fixes the issue by checking the bouncer cap before
setting main_server.

2 years agofish.py 0.9.7: utf-8 encode key passed to blowfish
Andreas Kempe [Wed, 16 Jun 2021 18:42:44 +0000 (20:42 +0200)] 
fish.py 0.9.7: utf-8 encode key passed to blowfish

The underlying C code performing the blowfish encryption wants bytes and
not a python string. Encode as utf-8 to avoid the issue below.

Traceback (most recent call last):
  File "/home/andkem/.weechat/python/autoload/fish.py", line 861, in fish_modifier_in_privmsg_cb
    b = Blowfish(fish_keys[targetl])
  File "/home/andkem/.weechat/python/autoload/fish.py", line 379, in __init__
    self.blowfish = Crypto.Cipher.Blowfish.new(
  File "/usr/lib/python3.9/site-packages/Crypto/Cipher/Blowfish.py", line 146, in new
    return _create_cipher(sys.modules[__name__], key, mode, *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/Crypto/Cipher/__init__.py", line 79, in _create_cipher
    return modes[mode](factory, **kwargs)
  File "/usr/lib/python3.9/site-packages/Crypto/Cipher/_mode_ecb.py", line 215, in _create_ecb_cipher
    cipher_state = factory._create_base_cipher(kwargs)
  File "/usr/lib/python3.9/site-packages/Crypto/Cipher/Blowfish.py", line 77, in _create_base_cipher
    result = start_operation(c_uint8_ptr(key),
  File "/usr/lib/python3.9/site-packages/Crypto/Util/_raw_api.py", line 144, in c_uint8_ptr
    raise TypeError("Object type %s cannot be passed to C code" % type(data))
TypeError: Object type <class 'str'> cannot be passed to C code
python: error in function "fish_modifier_in_privmsg_cb"