Commit graph

387 commits

Author SHA1 Message Date
Frisk f579bdd04f Fixes to debugging and added more debugging 2023-08-15 12:20:38 +02:00
Frisk 0c53eb9d5c Fix ValueError: invalid literal for int() with base 10: '' 2023-08-15 11:08:56 +02:00
Frisk 250db32c13 Fix stupid 2023-08-14 19:09:22 +02:00
Frisk 9d6850ae07 Fix stupid 2023-08-14 19:09:16 +02:00
Frisk 98fc6e2a8a fix debugging 2023-08-14 18:32:55 +02:00
Frisk 7f1920b4ea Debugging 2023-08-14 18:29:33 +02:00
Frisk 9b25fbb6e4 Testing and fixing 2023-08-14 18:11:24 +02:00
Frisk 0d672f7519 Made debug be even better 2023-08-14 18:01:59 +02:00
Frisk a24b2cee39 I don't really know what I'm doing 2023-08-14 17:23:32 +02:00
Frisk dd449a9fc5 Fix reporter 2023-08-14 17:06:49 +02:00
Frisk 2e7dc7edcc Added more debugging and perhaps a fix 2023-08-14 17:03:03 +02:00
Frisk 38b589bf82 Added some debug 2023-08-13 17:06:52 +02:00
Frisk 4d87c1b560 Corrected last table name I could find 2023-08-13 16:34:02 +02:00
Frisk adb44a0ac1 Fix all pathing error (hopefully) 2023-08-13 16:31:07 +02:00
Frisk d1816122f8 Fix dependency path 2023-08-13 16:17:48 +02:00
Frisk 62c8880275 Bump version and change table name for RcGcDb 2023-08-13 15:58:00 +02:00
Frisk dcad29a3a3 fixed 2 nasty bugs 2023-08-13 13:24:24 +02:00
Frisk b0bd660fb0 fixes 2023-08-13 12:44:19 +02:00
Frisk 54ee888f86
Further work on RcGcDb 2023-05-06 14:29:27 +02:00
Frisk 335c339c6a
Updates 2022-11-25 17:24:44 +01:00
Frisk be4db2a2ae
Progress on Discussions work 2022-11-10 15:16:35 +01:00
Frisk 879de217ed
Backup 2022-11-07 15:46:15 +01:00
Frisk 090a14c6c4
Updates and fixes 2022-11-04 15:59:26 +01:00
Frisk ebaca40d8e
Fixes 2022-10-29 17:04:25 +02:00
Frisk 49f12ed172
Further fixes 2022-10-09 14:10:08 +02:00
Frisk a947971858
Fixes that allowed to start RcGcDb 2022-10-03 15:34:36 +02:00
Frisk 08710b32b9
Database setup 2022-09-29 23:10:36 +02:00
Frisk e327c90544
perparing for initial launch 2022-09-18 16:38:19 +02:00
Frisk 0b59ba8b5c
Updates 2022-08-31 14:30:41 +02:00
Frisk af3cf6440e
Further work on Discord message sending code 2022-08-18 12:42:48 +02:00
Frisk 573efaf7fa
Progress 2022-08-16 12:50:49 +02:00
Frisk ef3dddfb0c
More development, improvements in neglected areas 2022-08-09 16:08:30 +02:00
Frisk 5ca43bfe26
More development, this time focusing on Discord messages and discussions 2022-08-09 12:57:40 +02:00
Frisk 1e1fbb8563
Pain is currency of software development 2022-08-05 12:24:55 +02:00
Frisk dd38334227
More work, added db trigger 2022-07-26 15:48:44 +02:00
Frisk e15613246e
Progress 2022-07-24 22:02:25 +02:00
Frisk 2b09e7019a
Updates 2022-06-22 19:17:20 +02:00
Frisk eb9312a637
Fixed an issue when all of action tags are hidden 2022-06-16 23:12:10 +02:00
Frisk 83e88ac326
Changes 2021-09-07 17:55:39 +02:00
Frisk 361c4bac9a
Made some slight changes in how tags are processed 2021-07-18 14:40:26 +02:00
Frisk fa115239a2
Further developments 2021-07-09 14:55:23 +02:00
Frisk f72c21faf9
Added RcGcDw code to RcGcDb 2021-07-08 13:33:10 +02:00
Frisk f399276a2d
Got to RcGcDw part of the RcGcDb 2021-07-04 13:39:50 +02:00
Frisk 597a907791
Little progress, future-proofed SQL statements from SQL injections 2021-07-03 14:07:47 +02:00
Frisk 726a376b06
Changes to DB handling 2021-06-30 13:41:58 +02:00
Frisk db50490e56
More progress, added better target handler 2021-06-23 16:21:06 +02:00
Frisk d7add6b2a8
Updates 2021-06-22 21:42:32 +02:00
Frisk d9ddd30b1b
Backuping work, added statistics class and redis content 2021-06-05 13:12:23 +02:00
Frisk 04f45c33e9
continued work 2021-05-30 19:15:37 +02:00
Frisk 5caed4d438
Some more work 2021-05-30 15:31:51 +02:00
Frisk 88ff0a3552
Created a skeleton for rewrite 2021-05-30 13:23:48 +02:00
Frisk b1ee9171aa
Created a new class 2021-05-28 19:16:14 +02:00
Frisk c273955f61
Fixed edit diff download on bad HTTP status 2021-04-14 16:19:25 +02:00
Frisk cb733ccb4b
Data sometimes can be apparently none, in that case return empty string 2021-04-14 15:47:10 +02:00
Frisk 5c63a48954
Sync with RcGcDw 2021-04-11 17:25:01 +02:00
Frisk aa6bdc632e
Fmall fix for IRC code 2021-03-20 17:28:08 +01:00
Frisk 0af390d80f
Added port argument 2021-03-20 14:44:29 +01:00
Frisk 7492229eb2
Another one of those 2021-03-20 14:14:18 +01:00
Frisk 47722de473
Fix argument list consistency 2021-03-20 14:00:29 +01:00
Frisk 5a6345a3e0
Small stylistic change in SQL query + another debug statement 2021-03-20 13:55:56 +01:00
Frisk a2f1d54f39
Added PostgreSQL compatibility, dropped SQLite compatibility 2021-03-20 13:42:54 +01:00
Frisk 2c8574445c
Converted all of the queries however there is still some work to be done 2021-03-19 16:26:19 +01:00
Frisk 79ea1a6a8b
Backuping work on Postgres DB 2021-03-18 17:00:01 +01:00
Frisk 9a5f57cda6
Let's be honest, this probably won't set anything on fire and will prevent some expensive calls 2021-03-18 00:10:04 +01:00
Frisk 7723133847
Added more debug + fixed disconnect logic and handling of encoding issues 2021-03-17 14:51:20 +01:00
Frisk 23043934cd
Added more debug + fixed disconnect logic and handling of encoding issues 2021-03-17 14:48:05 +01:00
Frisk 8a1a61dbac
Updated logic to account for wikis already in the queue but that are being added constantly because it's long 2021-03-17 14:20:22 +01:00
Frisk 98cb381d55
Remove some old debug code 2021-03-17 14:15:29 +01:00
Frisk fcdf6b66cf
Fix issue with wikis not being added properly to the queue 2021-03-17 13:46:51 +01:00
Frisk a44799dff3
Add on_disconnect function to hopefully connect back to IRC on disconect 2021-03-17 13:17:51 +01:00
Frisk 8b98cad112
Temporary fix for "a lot of messages in my console please fix". I need better way to handle this queuing logic 2021-03-16 23:17:39 +01:00
Frisk f6a2fc2f0b
Not very helpful really, reverting previous commit to find better alternative 2021-03-16 23:10:47 +01:00
Frisk 753d01e63e
Changes in timings, potentially breaking (hopefully not) 2021-03-16 22:39:21 +01:00
Frisk e291ac61b6
Add code to debug JSON decode issue 2021-03-16 22:38:57 +01:00
Frisk 359df7e879
Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/bot.py
2021-03-16 22:28:05 +01:00
Markus-Rost 155c50a561 bump version
bump version for IRC
2021-03-16 21:46:31 +01:00
MarkusRost b798250a19 Merge branch 'master' into 'master'
Add support for IRC feeds

Closes #37

See merge request chicken-riders/RcGcDb!17
2021-03-16 20:37:29 +00:00
MarkusRost a37a7d9365 follow redirects 2021-03-16 20:36:11 +00:00
Frisk 5e08b4a501
Start ignoring the additional delay for wikis with IRC feed. We have IRC feed only for more active domains so this additional delay does more bad than good 2021-03-08 19:00:12 +01:00
Frisk d7661469a2
Move logs to debug 2021-03-08 18:33:54 +01:00
Markus-Rost 96e678a047 Escape discussions titles because roblox 2021-02-21 17:56:24 +01:00
Frisk 4c1101e519
Fix failing discussion check 2021-02-21 16:51:43 +01:00
Frisk 8da53cabdb
Remove debug code 2021-02-20 19:18:59 +01:00
Frisk e3b0f2dab1
Fixed all immediatly visible issues 2021-02-20 19:02:57 +01:00
Frisk d7b16e9e07
wrote 4 lines for discussions, after a long break <3 2021-02-20 19:02:57 +01:00
Frisk 48bf9dd540
I have no productivity today so I'm just commiting some more work I'll have to rework anyways 2021-02-20 19:02:57 +01:00
Frisk 1d5026a553
Some sort of progress 2021-02-20 19:02:57 +01:00
Frisk 0459e3fd68
Added updates 2021-02-20 19:02:51 +01:00
Frisk 928db6a86d
Fixed all immediatly visible issues 2021-02-20 16:33:44 +01:00
Frisk 01c58417c7
wrote 4 lines for discussions, after a long break <3 2021-02-02 02:28:14 +01:00
Frisk 6b8a2e217b
I have no productivity today so I'm just commiting some more work I'll have to rework anyways 2021-01-27 18:48:46 +01:00
MarkusRost 0ef302ec7f Fix message for log action "managewiki/undelete"
See https://github.com/miraheze/ManageWiki/blob/master/i18n/en.json#L41. Also mentioned on Discord.
2021-01-23 22:14:41 +00:00
MarkusRost d4c44da126 Fix feeds 2021-01-22 10:29:44 +00:00
Frisk 49c36c9688
Some sort of progress 2021-01-21 14:40:55 +01:00
Frisk e1aeaaaaba
Added updates 2021-01-20 16:45:17 +01:00
Frisk 4e1aad4025
Added some comments and help 2021-01-16 15:14:06 +01:00
Frisk 4025f15e1a
Merge remote-tracking branch 'origin/master' 2021-01-12 17:50:41 +01:00
Frisk 327bc60c03
Fix formatting issue with handling exception on image error 2021-01-12 17:49:56 +01:00
Markus-Rost e344316491 Improve tag management log 2021-01-04 18:20:03 +01:00
Markus-Rost 6db23b5ed6 Fix tags for the third time 2021-01-04 17:31:09 +01:00
Frisk 030a264b3a
Fix protectsite 2020-12-29 23:33:20 +01:00
Markus-Rost df3194d3af Fix stacked embed length check 2020-12-22 11:47:41 +01:00
Frisk 1f4d375ff1
Update source file for i18n with new lang 2020-12-21 19:21:30 +01:00
Markus-Rost 3e21071148 fix stacked embed icon 2020-12-21 14:12:17 +01:00
Markus-Rost b14dac4776 contentmodel/new
piotrex43/RcGcDw#187
2020-12-19 13:41:49 +01:00
Markus-Rost 0f66a4236f Handle weird Fandom API 2020-12-17 00:17:23 +01:00
Markus-Rost 546ccc0ada Move compact emoji to class 2020-12-13 22:01:51 +01:00
Frisk 35c64d77d4
Fixing key error 2020-12-07 12:26:27 +01:00
Markus-Rost b046ff12ee add emoji to settings 2020-12-06 14:39:29 +01:00
Markus-Rost 5aab6222f9 fix embed link 2020-12-05 23:12:28 +01:00
Frisk b37693f85d
Merge remote-tracking branch 'origin/master' 2020-12-05 12:43:11 +01:00
Frisk b904c73b63
Updated translations and add a safety statement 2020-12-05 12:42:46 +01:00
Markus-Rost fc29d09708 update feeds fetch
Remove counters and pagination for increased performance
2020-12-04 16:54:58 +01:00
Markus-Rost 1ddff46ae9 Add pagelang
piotrex43/RcGcDw#184
2020-12-04 16:54:19 +01:00
Markus-Rost d5fca9c7b3 Extension:DataDump
close piotrex43/RcGcDw#183
2020-11-30 21:42:58 +01:00
Markus-Rost 548ecc8c79 fix oldid 2020-11-30 19:14:40 +01:00
Markus-Rost c3a7a7dbc3 Add Hindi and Russian 2020-11-30 17:01:50 +01:00
Frisk ddd6512e18
Doesn't need to be above anymore, fixed a bug related to this 2020-11-30 15:09:38 +01:00
Frisk 3dbb377630
Fixed QUADRUPLE MESSAGES WOW 2020-11-30 14:21:54 +01:00
Markus-Rost 684a8214f6 Fix DB update 2020-11-30 01:42:57 +01:00
Markus-Rost 7b068067ef Added Extension:Translate
piotrex43/RcGcDw#182
2020-11-29 23:57:11 +01:00
Markus-Rost 9ea85d0fcd Match formatters with RcGcDw 2020-11-29 12:07:55 +01:00
Frisk 2f544193ff
Merge remote-tracking branch 'origin/master' 2020-11-28 23:32:09 +01:00
Frisk ef679e042c
Fix discussion issue, add stacker for discussions 2020-11-28 23:31:13 +01:00
Markus-Rost d4a9c6a907 Fix some formatter issues
piotrex43/RcGcDw#175
piotrex43/RcGcDw#180
piotrex43/RcGcDw#181
2020-11-28 19:35:48 +01:00
Frisk 59d2869f4f
Stacking mechanic change 2020-11-28 14:08:37 +01:00
Frisk d391b00f9e
Fix all_wikis issue 2020-11-27 20:14:23 +01:00
Frisk b583ed097e
Merge remote-tracking branch 'origin/master' 2020-11-22 15:05:58 +01:00
Frisk c13bd149a8
Fixes 2020-11-22 15:05:45 +01:00
Markus-Rost b42341a0e8 fully remove wikiid 2020-11-22 14:19:21 +01:00
Frisk 884662b568
Some more work done on the stacking 2020-11-22 13:44:15 +01:00
Frisk f3a4094474
Some work on message stacking (GONE WRONG) 2020-11-21 23:33:57 +01:00
Frisk 2cc020dc43
changes 2020-11-20 23:27:25 +01:00
Frisk 201c1d407d
Fix disabled discussions detection 2020-11-20 21:39:25 +01:00
Frisk eb899fdd39
Fix formatting issue in discussions 2020-11-20 21:39:00 +01:00
Frisk 9e5166e17a
Depend on only postid being -1 for disabled Discussion checking 2020-11-20 17:14:37 +01:00
Frisk 10064be78d
Fix an incredibly stupid fix that replaces current rc_id with none if wiki had no new edits 2020-11-16 18:31:18 +01:00
Frisk 9e4d14e9d6
Merge remote-tracking branch 'origin/master' 2020-11-14 10:26:28 +01:00
Frisk aa6a6dad39
Fix the MediaWiki rcid ordering duplicate message issue 2020-11-14 10:26:02 +01:00
Markus-Rost 1ad94b2e3e Update diff parser
Based on Wiki-Bot diff parser
2020-11-09 18:05:02 +01:00
Markus-Rost 203ed89847 fix compact protect message 2020-11-05 22:46:04 +01:00
Frisk 4f60da02a0
Don't overwrite the LimitedList class with normal Python list when removing a wiki from the group 2020-10-29 20:41:11 +01:00
Frisk d79afc62a5
Don't continue until you mark the wiki as still in database 2020-10-29 20:36:48 +01:00
Frisk c85763bfa9
Quick fix for critical issue 2020-10-29 18:01:01 +01:00
Frisk b99bc90e50
Added fix for potential issue 2020-10-29 15:50:50 +01:00
Markus-Rost d729e0bc23 fix formatting fix 2020-10-25 01:52:43 +02:00
Frisk e0d0350007
Merge remote-tracking branch 'origin/master' into master 2020-10-24 21:03:59 +02:00
Frisk af98d81317
Fixed formatting in embed messages 2020-10-24 21:03:33 +02:00
Markus-Rost f5d1a35619 Don't crash when Fandom has no pageID assigned to comment yet 2020-10-23 16:00:56 +02:00
Markus-Rost ab67bc64cd Partially add ManageWiki 2020-10-23 01:24:20 +02:00