Archived
1
0
Fork 0
Commit graph

373 commits

Author SHA1 Message Date
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
Dianliang233
f94976fa40 🐛 id, not class 2021-05-15 16:47:05 +08:00
yzhh
d4bf6b26b4
Update getinfobox.py 2021-05-15 16:45:00 +08:00
yzhh
b642679ca5 fixed several minor bug 2021-05-05 12:43:33 +08:00
yzhh
92cb221dc4 Update wikilib.py 2021-05-05 12:04:01 +08:00
yzhh
00b04ab709 bugfix 2021-05-02 23:29:27 +08:00
yzhh
a630873d1c remove semicolon detection 2021-04-28 21:08:42 +08:00
yzhh
b84316bc06 Update wikilib.py 2021-04-28 19:14:52 +08:00
yzhh
728bd28f69 timeout prompt 2021-04-28 19:11:58 +08:00
yzhh
657c03e790 bugfix; patched setu #lsplivesmatter# 2021-04-27 23:01:17 +08:00
yzhh
d2bbe86553 remove unused bot functions, simplify database call and rename database table in the wiki module, fixed several bugs in the user module 2021-04-25 22:10:03 +08:00
yzhh
da0e32b65f Update wikilib.py 2021-04-24 00:31:04 +08:00
yzhh
42e295d25a test 2021-04-24 00:29:41 +08:00
yzhh
76247e7a42 Update __init__.py 2021-04-24 00:24:13 +08:00
yzhh
1d35337f2c bugfix 2021-04-21 22:04:40 +08:00
yzhh
95434a95f4 test 2021-04-21 22:01:50 +08:00
yzhh
246f8f1231 no need quote 2021-04-21 19:26:05 +08:00
yzhh
05cd7abf0f Update wikilib.py 2021-04-21 12:54:13 +08:00
yzhh
5539db3501 Beautify the code 2021-04-21 00:32:53 +08:00
yzhh
8d4608cd6c remove "..." placeholder when desc is nothing 2021-04-20 22:34:13 +08:00
yzhh
35ee9b589e sbsbsbsbsbsbsbsbsbssbsbsbsbsbsbsbsbsbsbsbssssssb 2021-04-20 01:07:44 +08:00
yzhh
e46ee44854 sb fix 2021-04-20 01:00:54 +08:00
yzhh
21d8a66f93 bugfix 2021-04-19 22:03:29 +08:00
yzhh
6f1e6f0d39 Update wikilib.py 2021-04-19 13:08:46 +08:00
yzhh
78f3160c78 Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-04-19 12:30:26 +08:00
yzhh
efa04ccb40 ? 2021-04-19 12:30:10 +08:00
yzhh
594091d4a1
Update helper.py 2021-04-18 23:34:19 +08:00
yzhh
acfbafd31e
[页面编] 这人懒死了,什么都没有写! 2021-04-18 23:30:58 +08:00
yzhh
87394f03c5 unuse gsrsearch to research page because they don't use 2021-04-18 23:13:42 +08:00
yzhh
84b3c51cc2 less print, only use parser to get desc when textextracts extension not enabled 2021-04-18 22:42:44 +08:00
yzhh
27ef725ae7 minor bugfix 2021-04-18 20:57:57 +08:00
yzhh
88b244b4ec fixed a bug that causes interwiki redirects incorrect 2021-04-18 20:41:46 +08:00
yzhh
90f2858f13 part refactor to reduce overhead and bugfix 2021-04-18 20:25:25 +08:00
yzhh
d293c6426e remove the "Gamepedia addon" option, RIP Gamepedia 2021-04-17 23:17:29 +08:00
yzhh
a482561607 Fixed several bugs that may cause oa too lazy 2021-04-08 23:21:40 +08:00
yzhh
55364041de Fixed several bugs that may cause nothing changed 2021-04-08 23:19:02 +08:00
yzhh
5a8076097e Update __init__.py 2021-04-08 20:50:56 +08:00
yzhh
a0264dab25 Update database.py 2021-04-08 20:50:49 +08:00
yzhh
b22abdbf66 improve import 2021-04-08 20:50:42 +08:00
yzhh
a5ed898ed1 Revert "Revert "test audio""
This reverts commit bee81ca0f0.
2021-04-05 23:04:42 +08:00
yzhh
bee81ca0f0 Revert "test audio"
This reverts commit cd10d7e488.
2021-04-05 21:05:14 +08:00
yzhh
cd10d7e488 test audio 2021-04-05 20:17:06 +08:00
yzhh
c1fec8b5ea bugfix 2021-04-03 22:29:11 +08:00
yzhh
5e1c9c6139 bugfix 2021-04-03 21:59:06 +08:00
yzhh
a7a00de5a5 Update wikilib.py 2021-04-03 00:46:37 +08:00
yzhh
782e398c59 refactor loader & bugfix 2021-04-03 00:35:26 +08:00
yzhh
c306e59d3a farwell gamepedia 2021-04-02 21:11:37 +08:00
yzhh
5952f58576 farwell gamepedia 2021-04-02 00:43:17 +08:00
yzhh
3fe11d36fa Revert "🤡"
This reverts commit 3ae9337171.
2021-04-01 23:58:02 +08:00
yzhh
3ae9337171 🤡 2021-03-31 23:44:44 +08:00
yzhh
bb2f53eb34 nudge support 2021-03-27 23:33:59 +08:00
yzhh
7464051594 Update getinfobox.py 2021-03-25 20:35:57 +08:00
yzhh
f95b2b5a4d Update getinfobox.py 2021-03-25 20:34:53 +08:00
yzhh
29dec034be Update getinfobox.py 2021-03-23 23:00:45 +08:00
yzhh
73fdaac975 Update wikilib.py 2021-03-21 20:41:07 +08:00
yzhh
3eed78e721 Update __init__.py 2021-03-21 20:39:43 +08:00
yzhh
cc5e9bdcaf random page 2021-03-21 20:33:05 +08:00
yzhh
08b9bcbcee update database 2021-03-21 16:14:28 +08:00
yzhh
ffc27d1c67 headers support 2021-03-21 13:12:52 +08:00
yzhh
03ec82a83e headers support 2021-03-21 13:00:17 +08:00
yzhh
76ad3135ef Update wikilib.py 2021-03-20 20:33:55 +08:00
yzhh
af5f306090 bugfix 2021-03-01 20:11:39 +08:00
yzhh
e7f81a610c check extension 2021-03-01 20:08:58 +08:00
yzhh
4fe6697e7b update 2021-02-19 20:20:00 +08:00
yzhh
c9936cf85a rearrange code 2021-02-19 20:18:47 +08:00
wyapx
5365b1d629
Update wikilib.py 2021-02-19 19:26:19 +08:00
yzhh
a175fe4ca9 update 2021-02-19 13:29:22 +08:00
yzhh
feabdf8d75 update 2021-02-18 19:44:00 +08:00
yzhh
f8c982ca1f Update __init__.py 2021-02-17 18:31:28 +08:00
yzhh
7851c074df Update __init__.py 2021-02-17 18:29:50 +08:00
yzhh
50e9e83bcc Update __init__.py 2021-02-17 18:27:20 +08:00
yzhh
0251da2496 Update __init__.py 2021-02-17 18:26:41 +08:00
yzhh
6565dd9d0e
Update __init__.py 2021-02-17 18:20:04 +08:00
yzhh
8823f25442
Update __init__.py 2021-02-17 18:18:41 +08:00
yzhh
5b8f19f14a
Update __init__.py 2021-02-17 18:13:05 +08:00
yzhh
3c73ace4b5 bruh 2021-02-16 15:35:36 +08:00
yzhh
a157f4c608 Update __init__.py 2021-02-16 15:29:17 +08:00
yzhh
f12130e282 update 2021-02-15 17:36:01 +08:00
yzhh
20ec114db3 de-hardcode 2021-02-15 00:34:04 +08:00
yzhh
37b3e2f8c6 Update wikilib.py 2021-02-14 23:46:07 +08:00
yzhh
ed8f22cb81 wikidoc support 2021-02-14 23:25:39 +08:00
yzhh
c97bdee888 Update __init__.py 2021-02-10 23:14:47 +08:00
yzhh
07b6357e7f Update __init__.py 2021-02-10 23:07:23 +08:00
yzhh
da3675c281 bugfix 2021-02-09 23:57:18 +08:00
yzhh
19493c3ec1 bugfix 2021-02-09 23:33:37 +08:00
yzhh
4ce31e6cb6 bugfix 2021-02-09 23:10:51 +08:00
yzhh
68236bdbb4 remove unused module help and refactor user 2021-02-09 21:05:19 +08:00
yzhh
a0ba0d4664 update 2021-02-07 17:56:01 +08:00
yzhh
75c386750b Update wikilib.py 2021-02-06 22:35:48 +08:00
yzhh
24c2b3720d Update wikilib.py 2021-02-06 22:30:13 +08:00
yzhh
59ec9d1519 Update wikilib.py 2021-02-06 22:29:40 +08:00
yzhh
885f4ee8a3 bugfix 2021-02-06 15:07:59 +08:00
yzhh
e9701a198b bugfix 2021-02-05 16:59:54 +08:00
yzhh
5294083f8b bugfix 2021-02-05 15:57:59 +08:00
yzhh
872c2dbeae Update wikilib.py 2021-02-04 16:25:13 +08:00
yzhh
0a6ba95506 Update __init__.py 2021-02-04 01:24:03 +08:00
yzhh
967f308ab2 update 2021-02-03 15:40:17 +08:00
yzhh
00d2ec52c9 bugfix 2021-02-02 19:40:13 +08:00
yzhh
8c2ae93644 Update getinfobox.py 2021-02-02 18:06:55 +08:00
yzhh
7330e16fa0 Update wikilib.py 2021-02-02 18:01:46 +08:00
yzhh
ed1deb99ee fix 2021-02-02 17:57:56 +08:00
yzhh
8a575ba28a fix 2021-02-02 17:33:55 +08:00
yzhh
b0245e68c5 Merge branch 'master' of https://github.com/Teahouse-Studios/bot 2021-02-02 14:17:29 +08:00
yzhh
fe29df9d1c 111111 2021-02-02 14:17:05 +08:00
lakejason0
1a29536f43
Update getinfobox.py 2021-02-02 13:43:55 +08:00
yzhh
2bbed295cb 111111 2021-02-02 13:36:35 +08:00
yzhh
2944977824 Update 2021-02-02 13:33:47 +08:00
yzhh
214ee22ebc bugfix 2021-02-02 01:41:45 +08:00
yzhh
4046b98161 bugfix 2021-02-02 01:20:45 +08:00
yzhh
20c38a844c baka 2021-02-02 00:26:00 +08:00
yzhh
004d4ef42e format code 2021-02-01 23:25:57 +08:00
yzhh
0322600068 v3 2021-02-01 23:13:11 +08:00
yzhh
5a42019232 Update wikilib.py 2020-12-29 23:33:02 +08:00
yzhh
a2ade1e076 ? 2020-12-29 23:12:51 +08:00
yzhh
74cc4b4ccd bruh 2020-12-29 23:07:26 +08:00
yzhh
a9d2cc6e38 update 2020-12-29 23:05:43 +08:00
yzhh
6e8213d73d Update wikilib.py 2020-12-05 11:19:12 +08:00
yzhh
3148bbe2e6 bugfix 2020-11-23 12:58:44 +08:00
yzhh
116c87d57d bugfix 2020-10-28 23:27:36 +08:00
yzhh
21c7034444 classify 2020-10-28 00:00:02 +08:00
yzhh
554c1b9469 classify 2020-10-27 23:48:41 +08:00
yzhh
b027cc10bd fixed some bugs and added more shit 2020-09-24 22:09:02 +08:00
yzhh
0102f4399e revent something should not be in repo 2020-09-22 23:45:50 +08:00
yzhh
fccd943ef2 add useless modules loaded prompt 2020-09-22 23:44:05 +08:00
yzhh
e0bc7926bf 11 2020-09-20 19:11:11 +08:00
yzhh
5f902feb68 bugfix 2020-09-20 12:31:15 +08:00
yzhh
f1e76fe42d auto reformat code 2020-09-19 18:35:13 +08:00
yzhh
70cdb1f17a using dict rather than list 2020-09-19 18:30:27 +08:00
yzhh
c9b358e17d dynamic load 2020-09-19 14:21:06 +08:00
yzhh
66f65d2c53 . 2020-09-17 20:19:42 +08:00
yzhh
e1bc674e27 Automatically filter duplicate objects 2020-09-17 20:05:44 +08:00