Commit Graph

34 Commits

Author SHA1 Message Date
Rongrong 2339760532
chore(*): ready for packaging
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-31 03:31:13 +08:00
Rongrong e2e60328b2
chore(*): make `src` become a module
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-30 15:21:29 +08:00
Rongrong 843f45042e
fix(env): insecurely execute git in shell
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-29 04:28:42 +08:00
Rongrong 1498a743c6
feat(*): env var `TABLE_TO_IMAGE`
to determine should HTML tables be converted to image or just be dropped

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-22 01:59:31 +08:00
Rongrong 7034b6da11
Release v2.2.0
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-20 00:06:04 +08:00
Rongrong 4e06f8cee4
feat: HTTP redirect server for Railway
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-16 16:23:37 +08:00
Rongrong b98fcf1161
build(deps): migrate to dnspython 2.2.1
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-14 22:52:59 +08:00
Rongrong 77ed0da806
Release v2.1.0
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-09 21:34:09 +08:00
Rongrong 19d2685c23
feat(parsing/medium): SVG/WebP/non-weibo pic fallback
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

#45
2022-03-04 14:01:32 +08:00
Rongrong 4b355153b8
feat(monitor): new env var `CRON_SECOND` to determine the seconds per minute at which the feed monitoring task is executed
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-02-10 20:32:35 +08:00
Rongrong 31ad054aa3
ready to release v2.0.0
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-02-03 21:07:40 +08:00
Rongrong c6d01b7489
minor fixes (env.py)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-01-27 16:14:50 +08:00
Rongrong 3b66de786d
retry in IPv4 if `IPV6_PRIOR` set and fetch failed
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-01-18 23:09:01 +08:00
Rongrong be20a74666
Python 3.10 support
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-01-11 03:10:09 +08:00
Rongrong 3706bda199
adopt PEP 585
https://www.python.org/dev/peps/pep-0585/
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-01-10 23:58:17 +08:00
Rongrong 3e1db11eb7
regain the compatibility with Python 3.7
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-01-10 23:57:38 +08:00
Rongrong 1ed72f217d
prompt anonymous admin to promote the bot to an admin
otherwise, the bot cannot verify the identity of anonymous admins if receiving a callback query
also prompt "the bot won't work" if the bot is no longer in a group/channel

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-12-20 01:34:25 +08:00
Rongrong 721e5712d8
new env var `IPV6_PRIOR` to enforce IPv6 priority
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-12-14 19:28:00 +08:00
Rongrong 6c123742ec
HTTP requests optimizations
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-12-14 17:59:28 +08:00
Rongrong d2720c1801
minor bugfixes
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-12-14 11:19:09 +08:00
Rongrong a446d8e969
new env var `PROXY_BYPASS_PRIVATE` and `PROXY_BYPASS_DOMAINS`
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-12-02 05:15:34 +08:00
Rongrong 83b1711c19
add channel and group support (experimental)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-11-25 12:09:48 +08:00
Rongrong f97f02d256
disable sqlite WAL
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-11-19 17:15:46 +08:00
Rongrong 65e0a57b45
rename env var `DB_URL` to `DATABASE_URL`
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-11-17 12:50:21 +08:00
Rongrong 9658807ac6
initial multiuser support
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-11-17 11:28:26 +08:00
Rongrong 38f69022eb
`.env` support (only for manual execution)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-10-11 01:02:51 +08:00
Rongrong 53f11a4739
update docker-compose.yml.sample
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-10-04 00:12:21 +08:00
Rongrong d0fdfbf139
refactor: asynchronize - phrase III
(deps) migrate from telegraph to aiograph

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:47:07 +08:00
Rongrong 37dfb5ad3d
refactor: asynchronize - phrase II-ii
(deps) migrate from python-telegram-bot to telethon - add more sample API, done

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:47:06 +08:00
Rongrong 3d94f846b3
refactor: asynchronize - phrase II
(deps) migrate from python-telegram-bot to telethon - initial, missing some error handling

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:46:37 +08:00
Rongrong 21edb2590c
refactor: asynchronous - phrase I
make feeds monitoring/adding/importing asynchronous

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-23 01:39:46 +08:00
Rongrong fb5c6559e6
use proxy if SOCKS_PROXY or HTTP_PROXY set in env, even if T_PROXY or R_PROXY not set
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-21 01:47:05 +08:00
Rongrong ed77a29dfc
fix a bug related to db auto choosing
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 23:10:59 +08:00
Rongrong 01255cd783
optimize directory structure
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 22:16:05 +08:00
Renamed from env.py (Browse further)