Commit graph

267 commits

Author SHA1 Message Date
Frisk 0bd2cf6330
Updated the docs reflecting changed functionality, added changed functionality with translations 2022-06-28 14:01:56 +02:00
Frisk 01d563edc9
Fixed critical issue when all of the edit tags are hidden 2022-06-16 23:10:40 +02:00
Frisk b58bc25043
Removed 3.7 incompatible type hints, added KeyboardInterrupt detection for exit code 0 2022-06-16 23:06:25 +02:00
Frisk 1dc07c0b05
remove schedule dependency 2022-06-15 19:43:24 +02:00
Frisk 77849a89e6
Added #152 2022-06-15 19:32:38 +02:00
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 3c840b1d42
Added more error handling for ClientErrors while connecting with a wiki (due to Fandom issues) 2022-06-04 13:17:05 +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 56fd7aefb7
Added tests for registering formatters and hooks 2022-01-08 13:37:33 +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 241e2844ee
Added test files and completed(?) scripts 2021-12-30 15:46:18 +01:00
Frisk 8631a41ef6
Actually decrease amount of unnecessary writes 2021-11-19 13:35:36 +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 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
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
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 fbb9904d75
Trying to fix circular import 2021-05-23 21:06:59 +02:00
Frisk 6c1d786d19 Merge branch 'horse-notifications' into 'testing'
Horse noticiations

See merge request piotrex43/RcGcDw!90
2021-05-22 23:54:28 +00:00
MarkusRost 6b0701e589 * Add action icons back to embeds
* Fix links in summaries
* Add user (talk) page notifications
2021-05-22 23:16:18 +00:00
Frisk 6e985be8be
Actually fix the context translation issue 2021-05-22 21:51:12 +02:00
Frisk 28e8c91871
Transformed the main RC fetching function to use new API requesting function 2021-05-22 16:54:14 +02:00
Frisk 4eb87b3095 Merge branch 'MarkusRost-testing-patch-59581' into 'testing'
Fix fields and rights changes

See merge request piotrex43/RcGcDw!89
2021-05-22 14:30:27 +00:00
Frisk 0109f7e165
Create backwards compatibility with Python 3.7 for formatters_i18n 2021-05-22 16:07:08 +02:00
MarkusRost 5ca438372d Fix fields and rights changes 2021-05-22 13:59:36 +00:00
Frisk 586aaf5a50
Fix GitLab pipeline crashes due to discussions not being initialized 2021-05-22 15:54:58 +02:00
Frisk 87e70d9779
Fixed URL in util 2021-05-22 14:48:26 +02:00
Frisk 6215cb81bf
Some typing methods seem not to be supported by Python 3.7, removed them 2021-05-22 14:22:23 +02:00
Frisk 4cd5e42bee
Added additional argument to post-hooks containing main change body
This was a suggestion by MarkusRost
2021-05-22 13:48:01 +02:00
Frisk 843fc0c7bc
Some small fixes and tweaks to make translation better 2021-05-21 20:18:39 +02:00
Frisk 99669a1702
Merge branch '1.14' into testing
# Conflicts:
#	locale/de/LC_MESSAGES/rc_formatters.mo
#	locale/fr/LC_MESSAGES/discussion_formatters.mo
#	locale/fr/LC_MESSAGES/discussion_formatters.po
#	locale/fr/LC_MESSAGES/misc.po
#	locale/fr/LC_MESSAGES/rc_formatters.mo
#	locale/hi/LC_MESSAGES/rc_formatters.mo
#	locale/pl/LC_MESSAGES/rc_formatters.mo
#	locale/pt-br/LC_MESSAGES/rc_formatters.mo
#	locale/ru/LC_MESSAGES/rc_formatters.mo
#	locale/uk/LC_MESSAGES/rc_formatters.mo
#	locale/zh-hans/LC_MESSAGES/rc_formatters.mo
2021-05-20 21:04:24 +02:00
Frisk e8be05cd6e
Merge remote-tracking branch 'origin/testing' into testing 2021-05-20 21:02:11 +02:00
Frisk 0a9c86cbef
added #210 2021-05-19 16:27:01 +02:00
Frisk 57358f1a99
Whitespace changes 2021-05-18 13:46:00 +02:00
Frisk 2430d50de4
Task number 1 from #204 2021-05-16 16:22:18 +02:00
Frisk 51d881c18b
Removed old formatting files 2021-05-15 13:04:30 +02:00
Frisk 662c7368e3
Improved formatter helper functions 2021-05-15 12:58:33 +02:00
Frisk c388c2e0d0
Add handling for #209 2021-05-15 12:11:56 +02:00
Frisk 931e2a95ee
Tidied up daily overview functions 2021-05-14 19:16:14 +02:00
Frisk 765d1c9d70
Add error tolerance setting 2021-05-14 14:30:52 +02:00
Frisk 34177cb7d2
Made the extension directory be configurable 2021-05-11 12:07:03 +02:00
Frisk 8fa810854a
Added some more content to the docs 2021-05-10 18:22:45 +02:00
Frisk bdc7ea40bb
Updated i18n for formatters 2021-05-10 16:22:29 +02:00
Frisk 45030b6731
Just a few tweaks 2021-05-09 23:01:23 +02:00
Frisk ceefcfb0a1
Added discussions formatter 2021-05-09 21:16:24 +02:00
Frisk 0083fbf4f6
Remade embed upload events to reduce amount of requests 2021-05-08 13:21:05 +02:00
Frisk 86439a6570
Moved setting description to embed_helper with optional setting to disable any of the automatic settings 2021-05-08 12:32:26 +02:00
Frisk 79f2f36e23
Added CurseProfile proxy function in the client 2021-05-08 11:20:47 +02:00
Frisk 501607b60b
Finished migrating translate extension log types 2021-05-08 11:11:47 +02:00
Frisk f701922b42
Partial migration of Translate extension logs 2021-05-08 02:10:44 +02:00
Frisk bad35f7e7f
Migrated renameuser 2021-05-08 01:36:21 +02:00
Frisk ddeaadb300
Migrated spritesheet extension related logs 2021-05-08 01:21:38 +02:00
Frisk 61d7e34575
Added datadump extension log support, moved translation strings 2021-05-08 00:47:45 +02:00
Frisk 25f28c5f6c
Make discussions work with formatters 2021-05-07 20:30:13 +02:00
Frisk 8316ff1657
Added ManageWiki extension formatters 2021-05-07 15:33:17 +02:00
Frisk d42eed4e20
Added Cargo formatters, included LinkParser in the client 2021-05-06 13:48:11 +02:00
Frisk 0f6cf9da4d
Added abusefilter filters 2021-05-06 11:25:16 +02:00
Frisk f778841f3e
Added abusefilter file 2021-05-06 07:38:38 +02:00
Frisk cd867cccf9
Finished all MediaWiki log messages (I hope) 2021-05-05 23:33:38 +02:00
Frisk 78680b83ca
Migrated a few more formatters 2021-05-04 23:39:21 +02:00
Frisk 89edc1b443
Don't run migration potentially getting new settings from gitlab when not needed 2021-05-03 18:21:37 +02:00
Frisk 46e9318e02
Migrated more formatters 2021-05-03 16:08:33 +02:00
Frisk 094925573a
Add #193 2021-05-03 14:52:04 +02:00
Frisk 75dafb2337
Added more debug information 2 2021-05-03 13:38:18 +02:00
Frisk ecaa2496dd
Added more debug information 2021-05-03 13:37:42 +02:00
Frisk f09862c277
Migrated a few formatters 2021-05-03 02:16:19 +02:00
Frisk 77bdac1349
added possibility to use hooks 2021-05-03 01:46:40 +02:00
Frisk 1b417ce359
Optimized new function 2021-05-03 00:02:03 +02:00
Frisk 5f8b537259
Fix #202 2021-05-02 23:44:32 +02:00
Frisk d3115153df
added few new formatters (WIP) 2021-05-02 16:26:48 +02:00
MarkusRost 29a241d228 sanitize_to_markdown 2021-05-01 21:27:30 +00:00
Frisk c1bc05f7ef
progress on converting old formatters to new format 2021-05-01 14:54:23 +02:00