]>
jfr.im git - irc/weechat/scripts.git/log
Mohan R [Tue, 1 Jun 2021 17:16:19 +0000 (22:46 +0530)]
weenotifier.py: notifier using IrssiNotifier
Tobias Rehbein [Tue, 13 Apr 2021 15:32:38 +0000 (17:32 +0200)]
chanmon.pl 2.7: Make tags configurable
This adds a new configuration for the tags that identify the messages the script
should work on. The default value corresponds to the previous behavior.
Example: If you are using the weechat-matrix script you might append
"matrix_message" to the list of tags to let chanmon monitor matrix rooms.
Nils Görs [Fri, 10 Sep 2021 22:34:18 +0000 (00:34 +0200)]
New script weefusables.py: set message tag when confusables chars are used in words
Jochen Sprickerhof [Fri, 10 Sep 2021 22:24:20 +0000 (00:24 +0200)]
Rename queue.py to cmdqueue.py
Python 3 provides a queue.py so the name is reserved.
If an other scripts does an `import queue` weechat will log:
python: script "queue" already registered (register ignored)
python: unable to register script "queue" (another script already exists with this name)
Ref.: https://bugs.launchpad.net/ubuntu/+source/weechat-scripts/+bug/
1903354
Gregory Anders [Wed, 14 Jul 2021 01:19:33 +0000 (19:19 -0600)]
notification_center 1.5.2: use weechat_config_dir to find icon
Sébastien Helleu [Sat, 21 Aug 2021 18:14:57 +0000 (20:14 +0200)]
Add score displayed by script weechat-script-lint in Contributing guide
Sébastien Helleu [Thu, 19 Aug 2021 17:31:56 +0000 (19:31 +0200)]
Add score required by weechat-script-lint in pull request template
copygirl [Fri, 2 Jul 2021 15:39:03 +0000 (17:39 +0200)]
parse_relayed_msg.pl 1.9.6: fix nick parsing with messages containing @ and >
Sébastien Helleu [Wed, 30 Jun 2021 18:39:39 +0000 (20:39 +0200)]
Fix name of link to the Contributing guide
Simon Ser [Tue, 29 Jun 2021 08:33:16 +0000 (10:33 +0200)]
soju.py 0.1.1: eat BOUNCER messages
These messages aren't recognized by WeeChat and display an error in
the server buffer. Eat the messages to suppress the error. Since
commit [1], this will make WeeChat ignore the messages. Before that
commit, WeeChat ignores the hook's return value.
[1]: https://github.com/weechat/weechat/commit/
ff8beb1918816ccd1c15954f7f564ab02e9cfb9f
Simon Ser [Fri, 4 Jun 2021 21:40:58 +0000 (23:40 +0200)]
New script soju.py: soju bouncer integration
Sébastien Helleu [Sat, 5 Jun 2021 18:12:27 +0000 (20:12 +0200)]
Remove script weather.py
The Google API has been discontinued.
Sébastien Helleu [Sat, 5 Jun 2021 18:01:21 +0000 (20:01 +0200)]
Remove script country.py
The script uses info "python2_bin" which is now forbidden and a legacy/invalid
geo IP database URL.
Sébastien Helleu [Sat, 5 Jun 2021 17:42:03 +0000 (19:42 +0200)]
Remove announce_url_title.py from ignored scripts
The script has been fixed and does not use "python2_bin" info any more.
Sébastien Helleu [Sat, 5 Jun 2021 17:32:12 +0000 (19:32 +0200)]
pagetitle.py 0.6: make script compatible with Python 3, rename command /pt to /pagetitle, fix PEP8 errors
Sébastien Helleu [Sat, 5 Jun 2021 17:29:49 +0000 (19:29 +0200)]
announce_url_title.py 19: make script compatible with Python 3, fix PEP8 errors
Sébastien Helleu [Wed, 2 Jun 2021 19:50:05 +0000 (21:50 +0200)]
buffer_autoset.py 1.2: fix /help buffer_autoset
eyjhb [Sat, 29 May 2021 09:55:02 +0000 (11:55 +0200)]
New script emoji2ascii.py: convert emojis into ascii
GermainZ [Tue, 27 Apr 2021 20:29:25 +0000 (22:29 +0200)]
New script lossage.py: displays the last few input keystrokes and the commands run
Tomas Janousek [Tue, 25 May 2021 15:17:09 +0000 (16:17 +0100)]
go.py 2.7: add new option to prefix short names with server names
The motivation here is that weechat-matrix uses machine-readable room
ids as full names that aren't human friendly. It does offer an option to
use human-readable full names, but these are neither unique nor stable,
causing trouble with logging. Therefore I figured that the best way to
fix this is to optionally use server names in go.py and let
weechat-matrix use the unique room ids.
Trygve Aaberge [Tue, 11 May 2021 20:33:28 +0000 (22:33 +0200)]
slack.py 2.8.0: Merge with mainline
This is version 2.8.0 of slack.py (currently the most recent), copied
over from the wee-slack repo.
Sébastien Helleu [Thu, 6 May 2021 11:44:33 +0000 (13:44 +0200)]
zncplayback.py 0.2.1: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Thu, 6 May 2021 11:40:42 +0000 (13:40 +0200)]
weetext.py 0.1.3: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Thu, 6 May 2021 11:22:12 +0000 (13:22 +0200)]
urlserver.py 2.6: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Thu, 6 May 2021 11:15:32 +0000 (13:15 +0200)]
url_olde.py 0.8: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Thu, 6 May 2021 05:58:27 +0000 (07:58 +0200)]
update_notifier.py 0.6: add Python 3 compatibility, add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Thu, 6 May 2021 05:53:31 +0000 (07:53 +0200)]
triggerreply.py 0.4.3: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Thu, 6 May 2021 05:48:56 +0000 (07:48 +0200)]
substitution.rb 0.0.2: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Thu, 6 May 2021 05:42:53 +0000 (07:42 +0200)]
stalker.pl 1.6.2: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Thu, 6 May 2021 05:35:02 +0000 (07:35 +0200)]
rssagg.pl 1.3: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Wed, 5 May 2021 18:59:21 +0000 (20:59 +0200)]
rslap.pl 1.4: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Wed, 5 May 2021 18:55:29 +0000 (20:55 +0200)]
queue.py 0.4.3: add Python 3 compatibility, add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Wed, 5 May 2021 18:43:57 +0000 (20:43 +0200)]
queryman.py 0.6: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Wed, 5 May 2021 18:29:35 +0000 (20:29 +0200)]
query_blocker.pl 1.3: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Wed, 5 May 2021 18:24:21 +0000 (20:24 +0200)]
purgelogs.py 0.5: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Wed, 5 May 2021 18:20:00 +0000 (20:20 +0200)]
pop3_mail.pl 0.4: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Wed, 5 May 2021 17:57:51 +0000 (19:57 +0200)]
luanma.pl 0.3: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Tue, 4 May 2021 21:10:33 +0000 (23:10 +0200)]
jnotify.pl 1.2: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Tue, 4 May 2021 21:06:29 +0000 (23:06 +0200)]
hotlist2extern.pl 1.0: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Tue, 4 May 2021 20:50:39 +0000 (22:50 +0200)]
hl2file.py 0.3: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 17:47:01 +0000 (19:47 +0200)]
histman.py 0.8.2: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 14:40:45 +0000 (16:40 +0200)]
growl.py 1.0.7: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 14:34:28 +0000 (16:34 +0200)]
grep.py 0.8.5: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 14:24:21 +0000 (16:24 +0200)]
crypt.py 1.4.5: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 14:18:17 +0000 (16:18 +0200)]
cron.py 0.5: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 14:10:57 +0000 (16:10 +0200)]
country.py 0.6.2: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 13:53:33 +0000 (15:53 +0200)]
confversion.py 0.4: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 13:41:24 +0000 (15:41 +0200)]
colorize_lines.pl 4.0: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 13:31:26 +0000 (15:31 +0200)]
chanstat.py 0.2: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 13:25:03 +0000 (15:25 +0200)]
chanop.py 0.3.4: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 13:18:44 +0000 (15:18 +0200)]
buddylist.pl 2.1: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 13:06:45 +0000 (15:06 +0200)]
beinc.py 4.2: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 12:45:20 +0000 (14:45 +0200)]
axolotl.py 0.1.1: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 12:37:14 +0000 (14:37 +0200)]
autoconf.py 0.4: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 12:25:44 +0000 (14:25 +0200)]
otr.py 1.9.3: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 11:57:21 +0000 (13:57 +0200)]
latex_unicode.py 1.2: add compatibility with WeeChat >= 3.2 (XDG directories)
Sébastien Helleu [Sun, 2 May 2021 11:50:14 +0000 (13:50 +0200)]
bufsave.py 0.5: add compatibility with WeeChat >= 3.2 (XDG directories)
anonymous2ch [Thu, 6 May 2021 11:09:40 +0000 (13:09 +0200)]
url_olde.py 0.7: add Python 3 compatibility, drop Python 2 support
Sébastien Helleu [Thu, 29 Apr 2021 19:31:49 +0000 (21:31 +0200)]
Add chapter on testing pending scripts in Contributing
Sébastien Helleu [Wed, 21 Apr 2021 10:21:10 +0000 (12:21 +0200)]
Fix newline
Sébastien Helleu [Wed, 21 Apr 2021 10:19:16 +0000 (12:19 +0200)]
Remove detail on script weechat-script-lint, add link to separate repository for more info
The info is already in the separate repository:
https://github.com/weechat/weechat-script-lint
Sébastien Helleu [Mon, 19 Apr 2021 17:33:38 +0000 (19:33 +0200)]
Move script tools/check_scripts.py in a separate GitHub repository
The script is moved to: https://github.com/weechat/weechat-script-lint
Thom Wiggers [Sat, 10 Apr 2021 12:57:09 +0000 (14:57 +0200)]
New script emojize.py: convert emoji shortcodes to unicode
Sébastien Helleu [Sun, 11 Apr 2021 14:17:39 +0000 (16:17 +0200)]
Remove script buffers.pl
This script is superseded by the built-in buflist plugin, since WeeChat 1.8.
Sébastien Helleu [Sun, 11 Apr 2021 14:14:07 +0000 (16:14 +0200)]
Remove script iset.pl
This script is superseded by the built-in fset plugin, since WeeChat 2.0.
Sébastien Helleu [Sun, 11 Apr 2021 14:04:57 +0000 (16:04 +0200)]
Remove script weeget.py
This script is superseded by the built-in script plugin, since WeeChat 0.3.9.
Sébastien Helleu [Sun, 11 Apr 2021 08:37:16 +0000 (10:37 +0200)]
Add chapter on automatic checks in Contributing
Sébastien Helleu [Sat, 10 Apr 2021 19:46:30 +0000 (21:46 +0200)]
Add badge with CI status in README
Sébastien Helleu [Sat, 10 Apr 2021 19:44:36 +0000 (21:44 +0200)]
Add variable CHECKER in Makefile
Sébastien Helleu [Sat, 10 Apr 2021 18:57:24 +0000 (20:57 +0200)]
Add Makefile, script to check WeeChat scripts and CI workflow
Gerard Ryan [Mon, 5 Apr 2021 22:02:55 +0000 (23:02 +0100)]
gnome_screensaver_away.py 0.2.1: Add missing call to infolist_free
Cole Helbling [Mon, 5 Apr 2021 19:48:55 +0000 (12:48 -0700)]
New script styurl.py: Style URLs using a Python regex
Sébastien Helleu [Mon, 5 Apr 2021 20:17:02 +0000 (22:17 +0200)]
Update pull request template
Sébastien Helleu [Mon, 5 Apr 2021 15:27:49 +0000 (17:27 +0200)]
vimode.py 0.8.1: add missing calls to infolist_free
Sébastien Helleu [Mon, 5 Apr 2021 15:25:49 +0000 (17:25 +0200)]
undernet_totp.py 0.4.2: add missing call to infolist_free
Sébastien Helleu [Mon, 5 Apr 2021 15:24:00 +0000 (17:24 +0200)]
tts.py 0.2.2: remove obsolete homepage, add contact address
Sébastien Helleu [Mon, 5 Apr 2021 15:20:47 +0000 (17:20 +0200)]
pushjet.py 0.1.1: add missing call to infolist_free
Sébastien Helleu [Mon, 5 Apr 2021 15:17:45 +0000 (17:17 +0200)]
postpone.py 0.2.5: remove commented infolist code
Sébastien Helleu [Mon, 5 Apr 2021 11:56:21 +0000 (13:56 +0200)]
ctrl_w.pl 1.02: add missing call to infolist_free
Sébastien Helleu [Mon, 5 Apr 2021 08:35:23 +0000 (10:35 +0200)]
Remove unneeded header in pull request template
Sébastien Helleu [Mon, 5 Apr 2021 07:35:19 +0000 (09:35 +0200)]
Add how to delete a script in Contributing
Sébastien Helleu [Sun, 4 Apr 2021 14:25:36 +0000 (16:25 +0200)]
Merge pull request templates into a single one
Sébastien Helleu [Sat, 3 Apr 2021 17:32:58 +0000 (19:32 +0200)]
Add pull request templates
Sébastien Helleu [Sat, 3 Apr 2021 13:16:36 +0000 (15:16 +0200)]
Convert README and Contributing to markdown, introduce new process with only pull requests
Rohan Kumar [Sat, 20 Mar 2021 09:16:55 +0000 (10:16 +0100)]
buffer_dmenu.py 0.2.1: add support for fzf-tmux, reformat with black
fzf-tmux is a script included with FZF:
junegunn/fzf@master/bin/fzf-tmux
Included a link to a screenshot to showcase it.
Sébastien Helleu [Sat, 13 Mar 2021 00:45:46 +0000 (01:45 +0100)]
anti_password.py 1.2.1: simplify regex condition
Sébastien Helleu [Fri, 12 Mar 2021 18:10:41 +0000 (19:10 +0100)]
anti_password.py 1.2.0: add option "allowed_regex"
Sébastien Helleu [Sat, 6 Mar 2021 13:19:22 +0000 (14:19 +0100)]
urlserver.py 2.5: replace cgi by html in Python 3
Pol Van Aubel [Tue, 31 Jan 2017 18:45:43 +0000 (19:45 +0100)]
urlserver.py 2.4: add RFC-compliant URI detection with heuristics
- Match anything that looks like a valid URI using a regular expression
based on the ABNF grammar specified in RFC3987, section 2.
This grammar seems to specify a regular language, so can be translated
into a positive regular expression that will match every valid URI.
- Use non-regex heuristics in the matching function to fix the common
mistake of delimiting URIs with characters valid in a URI.
Heuristics currently handle ",", ".", ")", "'", and "]" at end of URL.
Whether "[" and "]" are allowed in query and fragment is a point of
contention. RFC3986 states in section 2.2: `` If a reserved character
is found in a URI component and no delimiting role is known for that
character, then it must be interpreted as representing the data octet
corresponding to that character's encoding in US-ASCII. ''
But then it doesn't list these gen-delims in query or fragment, nor
does RFC3987 list them in iquery or ifragment; while they do list
other gen-delims. But, since it seems to be the practice to pass
arrays in GET-requests, and no delimiting use is known for them in
these segments, code currently handles them as though they're allowed,
same as "(" and ")".
Friedrich Delgado [Fri, 30 Oct 2020 07:29:16 +0000 (08:29 +0100)]
tmux_env.py 3.1: fix compatibility problem with python 3.6 and kill python 2 support
I got the following backtrace with python 3.6 (which is still
supported and default on some distribution).
And testing with python2 seemed to complicated, so I simply removed
the text kwarg and called .decode() on the result.
See
https://docs.python.org/3.6/library/subprocess.html#subprocess.check_output
as opposed to:
https://docs.python.org/3.7/library/subprocess.html#subprocess.check_output
I don't know what would be necessary to still support python 2, also
that would entail support for 3 different python versions.
~~~python
08:29 python: stdout/stderr: (tmux_env): Traceback (most recent call last):
08:29 python: stdout/stderr: (tmux_env): File "/home/delgado/.weechat/python/autoload/tmux_env.py", line 101, in timer_cb
08:29 python: stdout/stderr: (tmux_env): update_environment()
08:29 python: stdout/stderr: (tmux_env): File "/home/delgado/.weechat/python/autoload/tmux_env.py", line 119, in update_environment
08:29 python: stdout/stderr: (tmux_env): env = subprocess.check_output(['tmux', 'showenv'], **check_output_kwargs)
08:29 python: stdout/stderr: (tmux_env): File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output
08:29 python: stdout/stderr: (tmux_env): **kwargs).stdout
08:29 python: stdout/stderr: (tmux_env): File "/usr/lib64/python3.6/subprocess.py", line 423, in run
08:29 python: stdout/stderr: (tmux_env): with Popen(*popenargs, **kwargs) as process:
08:29 python: stdout/stderr: (tmux_env): TypeError: __init__() got an unexpected keyword argument 'text'
~~~
Johannes Rabenschlag [Wed, 3 Mar 2021 09:58:24 +0000 (10:58 +0100)]
weeprowl.py 0.8: fix urllib call, drop Python 2 compatibility
plasmoduck [Sat, 23 Jan 2021 14:49:39 +0000 (01:49 +1100)]
mpv.py 0.2: force title and artist to string type
Simeon Simeonov [Wed, 9 Dec 2020 09:21:53 +0000 (10:21 +0100)]
beinc.py 4.1: fix encoding error when using Python >= 3.9
topcat001 [Fri, 22 Jan 2021 04:56:40 +0000 (20:56 -0800)]
histman.py 0.8.1: fix typo in command help
Reed Wade [Fri, 19 Jun 2020 10:41:43 +0000 (12:41 +0200)]
parse_relayed_msg.pl 1.9.5: add compatibility with matrix-appservice-irc relay
Reed Wade [Fri, 19 Jun 2020 10:41:17 +0000 (12:41 +0200)]
parse_relayed_msg.pl 1.9.4: add compatibility with other message kinds
fishe@fisher.hu [Sat, 6 Mar 2021 08:02:10 +0000 (09:02 +0100)]
triggerreply.py 0.4.2: various improvements
jesopo [Sun, 29 Nov 2020 14:03:39 +0000 (14:03 +0000)]
colorize_nicks.py 28: fix ignore_tags, broken by weechat 2.9 changes
Trygve Aaberge [Wed, 24 Feb 2021 15:57:56 +0000 (16:57 +0100)]
slack.py 2.7.0: Merge with mainline
This is version 2.7.0 of slack.py (currently the most recent), copied
over from the wee-slack repo.
Sébastien Helleu [Fri, 26 Feb 2021 00:27:13 +0000 (01:27 +0100)]
anti_password.py 1.1.0: add options "check_secured_data" and "max_rejects"