Commit graph

365 commits

Author SHA1 Message Date
Frisk 92d39d451c
Write erroring wiki 2022-05-29 14:21:19 +02:00
Frisk d47fd6df5c
Merge remote-tracking branch 'origin/master' 2022-04-27 10:56:27 +02:00
Frisk 812493f304
Fixed compatibility issues with newer MediaWiki
By using my ability "Steal code" from RcGcDw
2022-04-27 10:55:39 +02:00
Markus-Rost 639e6da670 add newusers/reclaim
piotrex43/RcGcDw#240
2022-04-11 15:54:31 +02:00
Markus-Rost aa29d1ca88 don't run regex on busy fandom irc 2022-03-01 00:16:26 +01:00
Markus-Rost 52417cd891 IRC feed support for miraheze.org 2022-02-28 23:59:25 +01:00
Frisk 8a26be8906
Fixed attempt to make IRC work 2021-12-02 14:52:22 +01:00
Frisk 9287d8a908
Attempt no. whatever to address IRC issue 2021-11-19 15:16:25 +01:00
Frisk 4e36d3fb82
Merge remote-tracking branch 'origin/master' 2021-11-17 15:35:15 +01:00
Frisk 03892fbfd1
Don't remove webhooks when random 404, only when Discord generates json calling the webhook bad 2021-11-17 15:34:52 +01:00
MarkusRost 90e60ba66f Always encode ?& because Fandom is dumb 2021-11-10 13:45:34 +00:00
Frisk 4a272eb8c9
Add too many redirects as handled exception 2021-11-04 21:52:45 +01:00
Frisk abd60e01bd
Made postgres to have possibly more connections 2021-10-27 01:16:04 +02:00
Frisk 40ccf6b067
Fixed namespaces crash 2021-10-27 01:14:28 +02:00
Frisk 61a3cadcaa
Merge remote-tracking branch 'origin/master' 2021-09-07 18:00:19 +02:00
Frisk 837fa6e674
idk fandom 2021-09-07 18:00:07 +02:00
Spisen 54859d71c8 Translated using Weblate (Swedish)
Currently translated at 100.0% (5 of 5 strings)

Translation: RcGcDw/rcgcdb
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/rcgcdb/sv/
2021-05-27 23:02:08 +02:00
Weblate 65bf427823 Add Swedish translation 2021-05-23 01:31:06 +02:00
MakandIv 04384c2012 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (5 of 5 strings)

Translation: RcGcDw/rcgcdb
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/rcgcdb/uk/
2021-05-22 14:08:28 +02:00
Frisk dba037e1e9 Merge branch 'unique-embed-urls' into 'master'
Ensure unique embed URLs

Closes #41

See merge request chicken-riders/RcGcDb!19
2021-05-11 16:55:43 +00:00
MarkusRost ce473db097 Ensure unique embeds URLs
closes #41
2021-05-11 16:53:38 +00:00
Frisk fea260caf8
Updating locales with RcGcDw
(warning: few strings became untranslated due to recent changes)
2021-04-14 16:44:32 +02:00
Frisk c273955f61
Fixed edit diff download on bad HTTP status 2021-04-14 16:19:25 +02:00
Frisk badbb28511
Merge remote-tracking branch 'origin/master' 2021-04-14 15:59:54 +02:00
Arnaud0865 6dfb4f2f2f Translated using Weblate (French)
Currently translated at 100.0% (5 of 5 strings)

Translation: RcGcDw/rcgcdb
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/rcgcdb/fr/
2021-04-14 15:59:14 +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 275907d31d
Fix broken requirements.txt 2021-03-20 17:37:47 +01:00
Frisk aa6bdc632e
Fmall fix for IRC code 2021-03-20 17:28:08 +01:00
Frisk b952e62730 Merge branch 'postgres' into 'master'
Change Database provider from SQLite to Postgres DB

See merge request chicken-riders/RcGcDb!18
2021-03-20 15:12:20 +00:00
Frisk fa541fefb9
Merge remote-tracking branch 'origin/postgres' into postgres 2021-03-20 14:45:39 +01:00
Frisk 0af390d80f
Added port argument 2021-03-20 14:44:29 +01:00
MarkusRost dcd47e256f remove sqlite database path 2021-03-20 13:24:03 +00: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