Archived
1
0
Fork 0
Commit graph

403 commits

Author SHA1 Message Date
yzhh
03fb9ad72e Update wikilib_v2.py 2021-12-04 12:48:18 +08:00
yzhh
b7169a7972 Update wikilib_v2.py 2021-12-04 12:39:57 +08:00
Dianliang233
61514f2d33
Clean it up 2021-11-27 20:28:19 +08:00
Dianliang233
d837175ced
Too confusing 2021-11-27 20:18:02 +08:00
yzhh
74ba081c8a Update wikilib_v2.py 2021-11-24 21:07:03 +08:00
yzhh
e2f69dad22 Update wikilib_v2.py 2021-11-23 23:02:07 +08:00
yzhh
91d44b020d update issue template 2021-11-21 21:20:07 +08:00
yzhh
3012e12206 replace old link 2021-11-20 23:30:03 +08:00
yzhh
47addb56df bugfix 2021-11-19 20:50:13 +08:00
yzhh
40f2a473c9 bugfix 2021-11-18 00:17:41 +08:00
yzhh
2717d61a18 Update dbutils.py 2021-11-17 23:25:16 +08:00
yzhh
05cccd3586 add wikiblocklist 2021-11-17 21:17:13 +08:00
yzhh
5eff2deb3d Update dbutils.py 2021-11-16 22:30:49 +08:00
yzhh
4b545216bf . 2021-11-16 00:34:36 +08:00
yzhh
37cf06dd15 why i do this
BlackList -> BlockList
WhiteList -> allowList
2021-11-16 00:26:11 +08:00
yzhh
8fe01118bf
wait wait not that 2021-11-14 13:27:20 +08:00
yzhh
47f12cadf1
Update __init__.py 2021-11-14 13:26:10 +08:00
yzhh
6fc35668ef update 2021-11-12 22:43:04 +08:00
yzhh
11be9e095e update 2021-11-12 22:25:53 +08:00
yzhh
5a23f61704 improve regex match 2021-11-12 18:31:33 +08:00
yzhh
379f69281a Update wikilib_v2.py 2021-11-12 17:38:45 +08:00
yzhh
3f73d474d0 add back random page 2021-11-10 23:05:21 +08:00
yzhh
9a8a0419b3 Update wikilib_v2.py 2021-11-10 19:44:24 +08:00
yzhh
c4e166bd8c update 2021-11-09 00:09:06 +08:00
yzhh
4c255ece7a ???????????????????? 2021-11-08 21:16:59 +08:00
yzhh
f0804ebce3 Update wikilib_v2.py 2021-11-08 21:14:40 +08:00
yzhh
00ccdd6086 Update wikilib_v2.py 2021-11-08 21:08:43 +08:00
yzhh
d065a627b7 update wiki iw list 2021-11-07 23:16:21 +08:00
yzhh
34abbaf457 Update wikilib_v2.py 2021-11-06 21:50:40 +08:00
yzhh
0eea586b2d Update __init__.py 2021-11-06 21:44:33 +08:00
yzhh
77ecbfa7cb Update wikilib_v2.py 2021-11-06 21:37:50 +08:00
yzhh
6344aee8dd Update __init__.py 2021-11-06 21:32:28 +08:00
yzhh
546124d9c0 Update __init__.py 2021-11-06 21:32:22 +08:00
yzhh
8774359ef0 Update __init__.py 2021-11-06 21:29:07 +08:00
yzhh
3e4efdf54c Update __init__.py 2021-11-06 21:27:11 +08:00
yzhh
7bbe6a74cf Update __init__.py 2021-11-06 21:22:00 +08:00
yzhh
d134ebcfd4 Update __init__.py 2021-11-05 22:11:55 +08:00
yzhh
0d8cea1402 add receive filter for aiocqhttp 2021-11-05 22:08:51 +08:00
yzhh
866d4b0f47 new decorator for auto rollback invalid session 2021-11-03 19:27:21 +08:00
yzhh
a449851aaa try fix a database call error 2021-11-03 19:07:34 +08:00
yzhh
c94998ec79 add sitenotice regex expression for wiki_inline 2021-11-02 22:58:42 +08:00
yzhh
18f7ba0c27 add back dirty word check for query wiki 2021-11-01 23:56:32 +08:00
yzhh
658afbb432
Merge branch 'master' into dev/wiki_whitelist 2021-11-01 22:04:08 +08:00
yzhh
11cec6392f enable wikilib v2 2021-10-31 23:59:18 +08:00
yzhh
62fd353999 change concurrent to single 2021-10-30 23:55:57 +08:00
yzhh
82d0021f0f Update dbutils.py 2021-10-28 23:44:45 +08:00
yzhh
952072a8f9 Update wikilib_new.py 2021-10-28 23:43:43 +08:00
yzhh
3ec2d13530 Update wikilib_new.py 2021-10-28 23:38:22 +08:00
yzhh
5e61bc4d70 bugfix 2021-10-24 21:19:37 +08:00
yzhh
68a49c799e new decorator 2021-10-24 18:55:45 +08:00
yzhh
9d078faf52 auto warning & temp ban 2021-10-20 22:04:30 +08:00
yzhh
991fccb950 add back interwiki alias 2021-10-16 01:45:02 +08:00
yzhh
dd620102bc update command parser 2021-10-16 01:36:22 +08:00
yzhh
337583ea21 try to fix regex function 2021-10-15 19:14:05 +08:00
yzhh
172dcbc645 Revert "change wiki_inline match mode to findall"
This reverts commit a5e8bf6d20.
2021-10-15 19:07:22 +08:00
yzhh
a5e8bf6d20 change wiki_inline match mode to findall 2021-10-15 19:03:48 +08:00
yzhh
cedbde762b add "on_" prefix for regex decorator 2021-10-14 20:25:24 +08:00
yzhh
f5cb0e2df8 add "on_" prefix for command decorator 2021-10-14 20:22:58 +08:00
yzhh
898e0e67f4 move core.loader.decorator to core.decorator 2021-10-14 20:20:34 +08:00
yzhh
c64669a911
Update __init__.py 2021-10-14 07:02:12 +08:00
yzhh
904a9ff230 Update __init__.py 2021-10-14 00:24:45 +08:00
yzhh
df246d873a add docs for decorators; introduce regex decorator 2021-10-13 23:22:11 +08:00
yzhh
e36bc78403 new rc and ab 2021-10-11 22:45:28 +08:00
yzhh
099b3adf08 Update wikilib_new.py 2021-10-03 15:36:46 +08:00
yzhh
ae04864040 Update wikilib_new.py 2021-10-03 15:30:17 +08:00
yzhh
deb564fdb0 Update wikilib_new.py 2021-10-03 14:54:16 +08:00
yzhh
fdc2e9b28e Update wikilib_new.py 2021-10-03 01:27:45 +08:00
yzhh
325f2a221b Create wikilib_new.py 2021-10-02 15:05:46 +08:00
Dianliang233
e6c4bee841
Aduit test 2021-10-01 09:18:04 +08:00
Dianliang233
92bc00d604
Audit wiki whitelist 2021-09-21 16:22:29 +08:00
Dianliang233
b6ef52f653
Add HTML lang 2021-09-21 09:47:57 +08:00
Dianliang233
ad2a1772cd
Add developers to all modules 2021-09-19 21:14:50 +08:00
yzhh
3fc886ecdd moreeeee retttttrtry cmmmeon 2021-09-16 23:55:46 +08:00
yzhh
0c17d51baf more retry 2021-09-13 12:39:49 +08:00
yzhh
0c2133293a Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-09-12 20:51:19 +08:00
yzhh
486895778e retry test 2021-09-12 20:51:13 +08:00
yzhh
81e5275a0f
Update __init__.py 2021-09-12 00:47:46 +08:00
yzhh
273832c057 fixed wiki headers function issue 2021-09-12 00:12:44 +08:00
yzhh
8f3421774f Update __init__.py 2021-09-11 02:12:04 +08:00
yzhh
24098d80db recommend modules and allownone 2021-09-11 02:05:27 +08:00
yzhh
bdb3a30e46 Update __init__.py 2021-09-04 22:22:23 +08:00
yzhh
93cd4bf180 bugfix 2021-09-04 03:19:07 +08:00
yzhh
c3ace2f8dc schedule decorator and post_message 2021-08-31 02:53:39 +08:00
yzhh
8b0b23101b use ujson instead of original built-in json 2021-08-30 00:53:43 +08:00
yzhh
97d4b88e7a fixed #59 2021-08-27 01:30:41 +08:00
yzhh
54d9c43b34 hmmm don't close it 2021-08-27 00:29:58 +08:00
yzhh
bc730acbcb aiohttp_retry 2021-08-25 22:32:37 +08:00
yzhh
2a0935f933 Update wikilib.py 2021-08-25 20:57:20 +08:00
yzhh
0737be6b83 Update __init__.py 2021-08-25 18:00:40 +08:00
yzhh
69a897b55e try to fix memory leak 2021-08-25 00:49:19 +08:00
yzhh
d0ceea70db bad pycharm 2021-08-24 21:21:04 +08:00
yzhh
889f3d17a4 Update wikilib.py 2021-08-24 21:20:29 +08:00
yzhh
195eb35a18 Update orm.py 2021-08-24 20:44:26 +08:00
yzhh
2ce0fc7d55 fixed cache issue 2021-08-24 18:22:36 +08:00
Dianliang233
8b0ad42d31
Add bug report link to every internal error 2021-08-24 14:49:35 +08:00
yzhh
ffe7e69455 fixed a cache bug 2021-08-24 13:11:39 +08:00
yzhh
6e19360ca2 update 2021-08-24 12:58:35 +08:00
yzhh
53fc859207
Merge pull request #43 from Teahouse-Studios/v4-dev
V4 dev
2021-08-23 22:43:30 +08:00
yzhh
99d0bc1d69 add update v3 to v4 database script 2021-08-23 22:17:04 +08:00
yzhh
8138838a3b fixed alerts 2021-08-23 20:44:31 +08:00
yzhh
0797ea3967 bugfix 2021-08-21 00:32:46 +08:00
yzhh
a726b8b760
Update wikilib.py 2021-08-20 19:13:33 +08:00
yzhh
36a995ec85
Update wikilib.py 2021-08-20 18:52:39 +08:00
yzhh
be3c43ccca
Update getinfobox.py 2021-08-18 22:46:01 +08:00
yzhh
cf7a5568d8 delete lazyload when found 2021-08-18 22:45:18 +08:00
yzhh
1f853f10c2 aiogram scheduler support 2021-08-18 21:11:14 +08:00
yzhh
8c46df1157 aiogram test
msg.waitConfirm and scheduler is currently not supported since I can't understand the doc, may fix them after
2021-08-14 23:26:10 +08:00
yzhh
b6b3641e0d Revert "move core.loader.decorator and core.loader.options to core"
This reverts commit 009fc6355a.
2021-08-14 21:10:52 +08:00
yzhh
009fc6355a move core.loader.decorator and core.loader.options to core 2021-08-14 16:45:47 +08:00
yzhh
3c55162a77 use same db session 2021-08-07 16:30:16 +08:00
yzhh
f6fb290a27 remove duplicate part of mcv_jira_rss 2021-08-07 15:56:48 +08:00
Dianliang233
1c89b08fbd
Merge branch 'master' into v4-dev 2021-08-02 23:20:36 -05:00
Dianliang233
b8699176fd
Merge branch 'master' into v4-dev 2021-08-03 12:18:43 +08:00
Dianliang233
3e2b83468e
Fix TemplateStyle 2021-08-02 17:57:45 +08:00
Dianliang233
ab232e02d5
Attempt to fix InfoboxRender TemplateStyles 2021-08-02 17:42:00 +08:00
Dianliang233
7195a042f9
Optimized import for wiki 2021-08-02 12:30:28 +08:00
yzhh
772563bd89 Update __init__.py 2021-07-31 22:27:30 +08:00
yzhh
f933bac3ee Delete tables.py 2021-07-31 03:33:51 +08:00
yzhh
3b844257bb fixed a table bug 2021-07-31 03:32:58 +08:00
yzhh
e89d3cfe75 rewrite unit test 2021-07-31 02:06:04 +08:00
yzhh
4806e1f3a6
Update getinfobox.py 2021-07-30 23:03:18 +08:00
yzhh
d1768aa9df port wiki module to v4 2021-07-29 02:51:24 +08:00
yzhh
028a9363b0 decorator test 2021-07-07 02:00:26 +08:00
yzhh
8907c94f0c Update __init__.py 2021-06-28 23:04:47 +08:00
yzhh
9e43c2f9a5 bugfix 2021-06-19 11:34:57 +08:00
yzhh
ee7eb0b281 boomed wc 2021-06-11 18:28:53 +08:00
yzhh
352ef96d2c add wc 2021-06-11 18:26:03 +08:00
yzhh
69cab3a2e2 Update __init__.py 2021-06-07 18:08:29 +08:00
yzhh
18c630b161 fixed ua bug 2021-06-06 16:21:24 +08:00
yzhh
c4723fbcd2 breaking change: alias system;don't use while True in the mcv rss check
rename 'wiki_regex' module to 'wiki_inline'
port 'wiki_regex' to 'wiki_inline'
port 'enable' to 'module enable'
port 'disable' to 'module disable'
port 'w' to 'wiki'
port 'u' to 'user'
port 'p' to 'ping'
port 's' to 'server'
rewrite 'enable' help
rewrite 'disable' help
new command parser comming soon.
2021-06-05 18:25:21 +08:00
yzhh
836170c3e4 fixed double nudge 2021-06-05 13:07:54 +08:00
yzhh
53ee3a4e5c add help about minecraft_news; add alias type in loader(not working now) 2021-06-04 22:59:33 +08:00
yzhh
8611ee86c0 introduce html2text to parse html 2021-06-04 22:23:29 +08:00
yzhh
18d9a01f1b Update wikilib.py 2021-06-04 22:05:57 +08:00
yzhh
316d98f9e1 Update __init__.py 2021-06-02 13:21:38 +08:00
yzhh
ee1a7fb5c5 use beautifulsoup to parse page when no textextract extension 2021-06-01 20:43:31 +08:00
yzhh
6c3150a4ba Update __init__.py 2021-06-01 13:02:24 +08:00
yzhh
e071b868bf bugfix 2021-05-31 23:04:31 +08:00
yzhh
ba7d4397e5 Update __init__.py 2021-05-30 22:48:27 +08:00
yzhh
12f4ac1672 use a little walrus operator 2021-05-30 19:33:16 +08:00
yzhh
27b7270e74 bugfix 2021-05-30 18:16:20 +08:00
yzhh
4ebb7b7a62 bugfix 2021-05-30 18:08:36 +08:00
yzhh
d85c732349 multi command inline support 2021-05-30 17:39:26 +08:00
yzhh
f66db60b83 makes rc/ab/newbie return correspond page link :stupidhead: 2021-05-30 13:02:01 +08:00
yzhh
5abd94c178 port interwiki set to interwiki add to get easier type commands;add heimu visible css 2021-05-27 22:58:29 +08:00
yzhh
e7a1fbf8a0 bugfix 2021-05-22 23:59:24 +08:00
yzhh
590203afcc Update wikilib.py 2021-05-22 16:17:46 +08:00
yzhh
27ee6c9e08 Update getinfobox.py 2021-05-16 23:15:07 +08:00
yzhh
16604d8cf2 Update getinfobox.py 2021-05-15 23:50:17 +08:00
Dianliang233
964f0d5e9f 🐛 class 2021-05-15 22:42:52 +08:00