Commit graph

1192 commits

Author SHA1 Message Date
MarkusRost ab60fd3728 Add feed_type to Context, pre-hooks full context 2022-06-14 06:53:42 +00:00
Frisk b19706fcfd
Fix possible crash with error_tolerance == 2 2022-06-14 00:50:45 +02:00
Frisk d3223b51fd
Actually fixed typing hints 2022-06-13 22:26:39 +02:00
Frisk 1e0e62f775
Small improvements/explanations 2022-06-13 22:18:46 +02:00
Frisk 0513ec2422
Added event type in context object for discussion events (#242) 2022-06-13 21:57:18 +02:00
Frisk df6f7d6c7e
Merge remote-tracking branch 'origin/testing' into testing 2022-06-04 13:17:42 +02:00
Frisk 3c840b1d42
Added more error handling for ClientErrors while connecting with a wiki (due to Fandom issues) 2022-06-04 13:17:05 +02:00
Markus-Rost 41e272fb0d add newusers/reclaim
close #240
2022-04-11 16:00:24 +02:00
MarkusRost e457757d6b Merge branch 'testing' into 'horse-thread-support'
# Conflicts:
#   src/discord/queue.py
2022-03-11 22:47:45 +00:00
Frisk 23b5a5db1c
Added fix to possible None comparison on HTTP status check 2022-02-24 07:16:43 +01:00
MarkusRost 1247e5f408 Don't run redaction on archives 2022-02-02 08:11:39 +00:00
Frisk 9196a9cbbe
Added migration test, fixes in previous tests 2022-01-14 10:01:44 +01:00
Frisk 5d48533e69
Added some additional typing information and some spacing fixes 2022-01-13 17:23:26 +01:00
Frisk c87c066861
Added some additional typing information 2022-01-13 17:18:40 +01:00
Frisk f2b468d6e1
Added new tests (speedy) 2022-01-13 17:17:33 +01:00
Frisk f06b782d9d
Added new test 2022-01-12 16:45:07 +01:00
Frisk 4450d7e642
Added more tests and removed broken codequality test 2022-01-12 13:55:08 +01:00
Frisk 54bf7716c9
Uh oh 2022-01-08 14:02:24 +01:00
Frisk fe18b2e962
Fix test 2022-01-08 13:55:28 +01:00
Frisk 56fd7aefb7
Added tests for registering formatters and hooks 2022-01-08 13:37:33 +01:00
Frisk 149a112839
Actually actually fix pytest tests 2022-01-06 15:45:22 +01:00
Frisk 68303dd18b
Actually fix pytest tests 2022-01-06 15:42:33 +01:00
Frisk 71b7188d97
Added resilience against file database corruption/deletion on error_tolerance > 1 2022-01-06 15:36:53 +01:00
Frisk 977894036a
Cleaned up unused imports 2022-01-02 20:59:17 +01:00
Frisk d9ae3306cf
Applied fixes to previous commit (thanks Markus!) 2022-01-02 20:56:50 +01:00
Frisk adb3b42074
Fixed #235 2022-01-02 15:31:11 +01:00
Frisk bf9e4bc855
Added some more testing cases 2022-01-02 14:39:20 +01:00
Frisk 3e48281285
add second config 2022-01-01 13:45:53 +01:00
Frisk 241e2844ee
Added test files and completed(?) scripts 2021-12-30 15:46:18 +01:00
Frisk f4703e692c
added initial testing framework using mockserver to imitate client-server connection 2021-12-28 15:08:56 +01:00
Frisk 8631a41ef6
Actually decrease amount of unnecessary writes 2021-11-19 13:35:36 +01:00
Frisk 49868527cd
Fixed test 2021-11-19 13:03:59 +01:00
Frisk e9049b922a
do less writes 2021-11-19 12:50:52 +01:00
Frisk f7b60ec87d
Added argparser which I forgot in last commits 2021-11-19 12:42:36 +01:00
Frisk b52cc80b61
Fixes to previous commit 2021-11-18 17:27:02 +01:00
Frisk b63aadb74d
Added #233 and fixed #234 2021-11-18 17:22:16 +01:00
Frisk b6065a8188
Fix issue when the content is revdeleted before we fetch diff
(just don't provide diffs on MediaWiki errors)
2021-11-12 16:34:21 +01:00
Frisk 468c381883
Merge remote-tracking branch 'origin/testing' into testing 2021-10-14 12:30:10 +02:00
Frisk 5d7647e862
Fix #227 and bump version 2021-10-14 12:29:45 +02:00
Weblate aee85d7880 Merge branch 'origin/testing' into Weblate. 2021-07-30 10:45:06 +00:00
Weblate 5d0c175ad4 Translated using Weblate (Chinese (Simplified) (zh-hans))
Currently translated at 100.0% (292 of 292 strings)

Translated using Weblate (Ukrainian)

Currently translated at 45.8% (134 of 292 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (292 of 292 strings)

Translated using Weblate (Portuguese (Brazil) (pt-br))

Currently translated at 100.0% (292 of 292 strings)

Translated using Weblate (Spanish)

Currently translated at 55.4% (162 of 292 strings)

Translated using Weblate (German)

Currently translated at 100.0% (292 of 292 strings)

Translated using Weblate (Chinese (Simplified) (zh-hans))

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Chinese (Traditional) (zh-hant))

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Portuguese (Brazil) (pt-br))

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (German)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (2 of 2 strings)

Co-authored-by: Eduaddad <duduaddad@gmail.com>
Co-authored-by: Frisk The Evil Goat Overlord <piotrex43@protonmail.ch>
Co-authored-by: MakandIv <makushkin_andrey@mail.ru>
Co-authored-by: MarkusRost <sukramxro@gmail.com>
Co-authored-by: Tamara Carvallo <carvallotamara@hotmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: lakejason0 <sunliyuan200402@outlook.com>
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/de/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/es/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/pt-br/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/ru/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/uk/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/zh-hans/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/redaction/de/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/redaction/pl/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/redaction/pt-br/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/redaction/ru/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/redaction/uk/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/redaction/zh-hans/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/redaction/zh-hant/
Translation: RcGcDw/formatters
Translation: RcGcDw/redaction
2021-07-30 10:44:59 +00:00
MarkusRost 78da5a1367 fix typo 2021-07-30 10:44:25 +00:00
MarkusRost 2efcfcecdd Support webhooks with thread_id
closes #225
2021-07-30 00:01:55 +00:00
MarkusRost fd9a49b157 fix moved lines edit diff sync error 2021-07-20 06:16:34 +00:00
Frisk 76b41a1ed3
Updated translation strings 2021-07-11 14:35:18 +02:00
Weblate 60c7266dac Merge branch 'origin/testing' into Weblate. 2021-07-11 12:33:23 +00:00
Weblate 19181d01a9 Translated using Weblate (Japanese)
Currently translated at 17.4% (51 of 292 strings)

Translated using Weblate (Turkish)

Currently translated at 9.9% (29 of 292 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (292 of 292 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (292 of 292 strings)

Translated using Weblate (Portuguese (Brazil) (pt-br))

Currently translated at 100.0% (292 of 292 strings)

Translated using Weblate (Polish)

Currently translated at 85.2% (249 of 292 strings)

Translated using Weblate (Hindi)

Currently translated at 100.0% (292 of 292 strings)

Translated using Weblate (Spanish)

Currently translated at 48.6% (142 of 292 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (16 of 16 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (16 of 16 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (Hindi)

Currently translated at 100.0% (20 of 20 strings)

Co-authored-by: Alex Great <geoag@mail.ru>
Co-authored-by: Creeper <thisisacreeper0101@gmail.com>
Co-authored-by: Doğukan Karakaş <dogukankarakas6@gmail.com>
Co-authored-by: Eduaddad <duduaddad@gmail.com>
Co-authored-by: Frisk The Evil Goat Overlord <piotrex43@protonmail.ch>
Co-authored-by: Philo04 <philipp2012lopu@mail.ru>
Co-authored-by: Tamara Carvallo <carvallotamara@hotmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: しぃ <lzmashili@icloud.com>
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/es/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/hi/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/ja/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/pl/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/pt-br/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/ru/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/tr/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/main/hi/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/main/ja/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/main/tr/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/misc/ja/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/misc/tr/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/redaction/ja/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/redaction/tr/
Translation: RcGcDw/formatters
Translation: RcGcDw/misc
Translation: RcGcDw/rcgcdw
Translation: RcGcDw/redaction
2021-07-11 12:33:17 +00:00
Frisk 5239570cee Merge branch 'testing-222' into 'testing'
Change "Removed" to "~~hidden~~"

See merge request piotrex43/RcGcDw!94
2021-07-11 12:31:07 +00:00
MarkusRost 92d0d5d007 Change "Removed" to "~~hidden~~"
Matches formatters then edit already stats partially hidden, no need to specifically state that the info got removed.

close #222
2021-07-08 10:35:26 +00:00
Frisk 3a521e060d
Merge remote-tracking branch 'origin/testing' into testing 2021-07-08 11:45:03 +02:00