Commit graph

1281 commits

Author SHA1 Message Date
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 82764fc1ff Merge branch 'testing' into 'master'
1.14.0.1

Closes #227

See merge request piotrex43/RcGcDw!96
2021-10-14 10:32:47 +00: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
Frisk 62fe1008da Merge branch 'testing' into 'master'
1.14

Closes #202, #215, #216, #218, #219, and #222

See merge request piotrex43/RcGcDw!93
2021-07-30 10:52:31 +00: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
Frisk 40e87ab5a6
Bump version 2021-07-08 11:44:13 +02:00
MarkusRost 810fb31311 Merge branch 'horse-wikibot-edit-diff-sync' into 'testing'
Sync diff parser with Wiki-Bot: Fix moved lines edit diff

See merge request piotrex43/RcGcDw!92
2021-06-20 10:30:34 +00:00
Frisk a69cbecffd
Fixed #219 2021-06-20 02:43:43 +02:00
Frisk 02dce0f3ae
Fixed a potential crash when author is not assigned 2021-06-12 23:32:13 +02:00
MarkusRost ba2bddb8a9 fix moved lines edit diff
close #218
2021-06-12 17:22:25 +00:00
Frisk 966d28700a
Fixed #216 With message deletion turned on sometimes messages are not being deleted 2021-06-11 21:25:59 +02:00
Frisk 288e532dbd
Fixed a possibility when init_info fails 2021-06-05 15:01:14 +02:00
Frisk 908b42288d
Fixed #215 2021-06-05 14:44:05 +02:00
Frisk f1e4d55099
Fixed issue for fr and uk languages not having compiled versions of their language files 2021-06-01 00:26:13 +02:00
Weblate 8d34e74a74 Merge branch 'origin/testing' into Weblate. 2021-05-31 21:54:55 +00:00
Weblate c9962ca487 Translated using Weblate (Swedish)
Currently translated at 100.0% (16 of 16 strings)

Translated using Weblate (Swedish)

Currently translated at 11.6% (34 of 292 strings)

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

Currently translated at 100.0% (292 of 292 strings)

Translated using Weblate (Russian)

Currently translated at 98.2% (287 of 292 strings)

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

Currently translated at 93.1% (272 of 292 strings)

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

Currently translated at 100.0% (292 of 292 strings)

Co-authored-by: Eduaddad <duduaddad@gmail.com>
Co-authored-by: Philo04 <philipp2012lopu@mail.ru>
Co-authored-by: Spisen <spisen11@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: lakejason0 <sunliyuan200402@outlook.com>
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/sv/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/zh-hans/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/misc/sv/
Translation: RcGcDw/formatters
Translation: RcGcDw/misc
2021-05-31 21:54:49 +00:00
MarkusRost e528f1e250 Merge branch 'horse-notifications' into 'testing'
Custom notifications with lots of options

See merge request piotrex43/RcGcDw!91
2021-05-28 16:29:00 +00:00
Frisk 4b8399b8bd
Merge remote-tracking branch 'origin/testing' into testing 2021-05-28 12:57:58 +02:00
Frisk 9d002a2141
Updated URLs to translation platform 2021-05-28 12:57:03 +02:00
Weblate 61a437e9d4 Merge branch 'origin/testing' into Weblate. 2021-05-27 23:02:15 +02:00
Weblate b64ba81ea7 Translated using Weblate (Swedish)
Currently translated at 100.0% (1 of 1 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (Polish)

Currently translated at 84.5% (247 of 292 strings)

Co-authored-by: Frisk The Evil Goat Overlord <piotrex43@protonmail.ch>
Co-authored-by: Spisen <spisen11@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/formatters/pl/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/main/sv/
Translate-URL: https://translate.wikibot.de/projects/rcgcdw/redaction/sv/
Translation: RcGcDw/formatters
Translation: RcGcDw/rcgcdw
Translation: RcGcDw/redaction
2021-05-27 23:02:07 +02:00