Alex Vandiver
|
43a4900e1f
|
zephyr: Delete DMs after they are received.
|
2024-08-13 10:39:27 -07:00 |
|
Tim Abbott
|
e9d8ef3b27
|
mailmap: Canonicalize acrefoot.
|
2024-07-25 10:45:36 -07:00 |
|
Tim Abbott
|
3bd99978ec
|
mailmap: Canonicalize several contributors.
|
2024-07-25 10:42:37 -07:00 |
|
Tim Abbott
|
63dcc6a1db
|
mailmap: Canonicalize Rein Zustand like in zulip/zulip.
|
2024-07-25 10:14:27 -07:00 |
|
Tim Abbott
|
0cb6bab614
|
mailmap: Consolidate some original Zulip authors.
I expect this will fix them appearing as duplicates.
|
2024-07-18 16:54:44 -07:00 |
|
rsashank
|
868ce8f225
|
api: Add get_stream_email_address().
|
2024-06-16 13:13:29 -07:00 |
|
Anders Kaseorg
|
20ccb22119
|
Upgrade dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2024-02-21 15:07:44 -08:00 |
|
Anders Kaseorg
|
0715d1f46c
|
zulip_botserver: Turn off Flask debug mode.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2024-02-21 15:07:37 -08:00 |
|
Anders Kaseorg
|
176e5de694
|
dropbox_share: Remove unused count variable.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2024-02-21 15:06:31 -08:00 |
|
rht
|
0c92097bd7
|
bridge_with_slack: Do not use a stale Zulip client for send_message.
|
2024-01-11 14:06:38 -08:00 |
|
rht
|
e6afe937a6
|
Slack bridge: Remove unused code.
|
2024-01-11 14:06:38 -08:00 |
|
Anders Kaseorg
|
982dafa76d
|
Remove unused python-zephyr stubs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-12-15 22:13:37 -08:00 |
|
rht
|
ad9b0e62a4
|
IRC: Handle error by displaying the error message.
The proper solution would be to handle each errors differently. But for
now, logging the message is at least informative to the user.
|
2023-11-20 14:36:17 -08:00 |
|
Anders Kaseorg
|
28cae1a71c
|
Release version 0.9.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-14 16:16:17 -08:00 |
|
rht
|
2814accb09
|
IRC: Add option for SASL authentication.
This additionally reverts to using sync IRC client, because upstream
https://github.com/jaraco/irc only supports it for the sync client.
|
2023-11-14 15:42:56 -08:00 |
|
Anders Kaseorg
|
f11e960537
|
Add more uses of @override.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-13 13:36:56 -08:00 |
|
Anders Kaseorg
|
f78e6e653b
|
Remove remnants of bots_unmaintained.
This was deleted in commit 754a9f7880
(#567).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-13 13:29:50 -08:00 |
|
Anders Kaseorg
|
9c44fe5d3a
|
tests: Add type annotations to test_lib.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-13 13:28:17 -08:00 |
|
Anders Kaseorg
|
6aedfe6457
|
python: Fix PAR002 Dont use parentheses for unpacking.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-11 16:41:53 -08:00 |
|
Anders Kaseorg
|
059458b4ca
|
python: Fix PAR001 Redundant parentheses.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-11 16:41:52 -08:00 |
|
Anders Kaseorg
|
aeb89bcae5
|
ruff: Enable lots of rules.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-11 16:16:17 -08:00 |
|
Anders Kaseorg
|
e942cceba0
|
merels: Convert incorrectly shared class variable to instance variable.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-11 16:16:15 -08:00 |
|
Anders Kaseorg
|
188d459ab1
|
ruff: Fix S108 Probable insecure usage of temporary file or directory.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-09 20:26:03 -08:00 |
|
Anders Kaseorg
|
8ebacd0180
|
ruff: Reformat with ruff 0.1.4.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-09 15:12:18 -08:00 |
|
Anders Kaseorg
|
a2ddac75f3
|
ruff: Fix TRY002 Create your own exception.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 20:29:34 -07:00 |
|
Anders Kaseorg
|
751b4716c8
|
matrix_bridge: Verify server URL scheme.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 20:27:55 -07:00 |
|
Anders Kaseorg
|
3e2f839946
|
ruff: Fix TRY300 Consider moving this statement to an else block.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 20:27:51 -07:00 |
|
Anders Kaseorg
|
165581a644
|
witai: Propagate exceptions from get_handle.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 20:27:47 -07:00 |
|
Anders Kaseorg
|
3855740b63
|
google-calendar: Exit on fatal errors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 20:27:44 -07:00 |
|
Anders Kaseorg
|
8fc924cd12
|
ruff: Fix B904 raise exceptions with raise ... from err .
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 20:27:32 -07:00 |
|
Anders Kaseorg
|
158480fe2c
|
trivia_quiz: Remove Python < 3.4 compatibility code.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 20:27:31 -07:00 |
|
Anders Kaseorg
|
8b3c50206c
|
ruff: Fix TID252 Relative imports from parent modules are banned.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 19:29:53 -07:00 |
|
Anders Kaseorg
|
7a6f00fdae
|
ruff: Fix S311 Standard pseudo-random generators are not suitable for cryptographic purposes.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 19:28:42 -07:00 |
|
Anders Kaseorg
|
6a7fe98eef
|
ruff: Fix S110 try -except -pass detected, consider logging the exception.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 19:22:59 -07:00 |
|
Anders Kaseorg
|
1cb7fdd5b3
|
ruff: Fix TRY301 Abstract raise to an inner function.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 19:22:54 -07:00 |
|
Anders Kaseorg
|
f26b861f51
|
ruff: Fix RUF012 Mutable class attributes should be annotated with typing.ClassVar .
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 19:22:53 -07:00 |
|
Anders Kaseorg
|
b37708b96e
|
upload-file: Remove ancient StringIO workaround.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 16:58:19 -07:00 |
|
Anders Kaseorg
|
43a9263114
|
ruff: Fix SIM115 Use context handler for opening files.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-11-01 16:58:19 -07:00 |
|
Anders Kaseorg
|
5199c14077
|
ruff: Fix PERF401 Use a list comprehension to create a transformed list.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 12:08:59 -07:00 |
|
Anders Kaseorg
|
d546a39731
|
ruff: Fix B018 Found useless expression.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:48:03 -07:00 |
|
Anders Kaseorg
|
03d132e99e
|
ruff: Fix B007 Loop control variable not used within loop body.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:44:10 -07:00 |
|
Anders Kaseorg
|
69aaf69d6f
|
ruff: Fix B006 Do not use mutable data structures for argument defaults.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:44:10 -07:00 |
|
Anders Kaseorg
|
32e0520196
|
ruff: Fix B005 Using .strip() with multi-character strings is misleading.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:44:10 -07:00 |
|
Anders Kaseorg
|
347490c647
|
ruff: Fix RUF015 Prefer next(iter(…)) over single element slice.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:44:10 -07:00 |
|
Anders Kaseorg
|
610683ea41
|
ruff: Fix RUF005 Consider unpacking instead of concatenation.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:44:10 -07:00 |
|
Anders Kaseorg
|
12e63f493f
|
ruff: Fix PLW2901 for loop variable overwritten by assignment target.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:44:10 -07:00 |
|
Anders Kaseorg
|
18805ac181
|
ruff: Fix PLW0603 Using the global statement to update is discouraged.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:44:10 -07:00 |
|
Anders Kaseorg
|
e18d35dbf3
|
ruff: Fix PLW0602 Using global but no assignment is done.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:44:10 -07:00 |
|
Anders Kaseorg
|
11ea5c7b62
|
ruff: Fix PLR5501 Use elif instead of else then if , to reduce indentation.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:44:10 -07:00 |
|
Anders Kaseorg
|
5c934e544d
|
ruff: Fix PLR1722 Use sys.exit() instead of exit .
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-10-30 11:44:10 -07:00 |
|