Commit graph

274 commits

Author SHA1 Message Date
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
Frisk edd46767bb
testing the testing 2021-05-01 14:25:03 +02:00
Frisk 6858be4e61
Added a few more formatters, added support for aliases argument for formatter decorators 2021-04-30 22:11:22 +02:00
MarkusRost 01f2fb682a Encode ALL files to utf8 2021-04-29 06:12:27 +00:00
Frisk d0795c76e7
More work on all things! 2021-04-28 13:37:32 +02:00
Frisk e972c4a528
Bump version 2021-04-28 00:18:17 +02:00
Frisk 65400f3fb5
Fixes to #200 and #198 2021-04-27 23:51:59 +02:00
Frisk 1b3ffb0228
Further work and some improvements 2021-04-27 15:10:29 +02:00
Frisk 0db3be3e76
Changed to function format instead of method 2021-04-27 09:35:15 +02:00
Frisk 18aae9eabe
Fixes 2021-04-25 15:03:04 +02:00
Frisk 2b2eeaafba
Added util file and trying to fight the circular import errors 2021-04-25 13:37:59 +02:00
Frisk 2aa8387b72
Chenges in structure, updated API docs 2021-04-25 13:20:58 +02:00
Frisk a9d6fa1830
Some more work towards making the client work, added context class 2021-04-25 02:32:50 +02:00
Frisk d725b97c2a
Few fixes 2021-04-24 14:55:37 +02:00
Frisk 3a23b5c003
Reworked default request function to new fancy one 2021-04-24 14:32:23 +02:00
Frisk 4706ca84b4
Further work towards an API 2021-04-24 11:19:38 +02:00
Frisk 8f7f638d78
Initial draft idea of API 2021-04-20 16:52:21 +02:00
Frisk 1ad8528f79 Bump version because I apparently messed up 2021-04-20 13:11:43 +00:00
Frisk a5d0c709c6
Updated license notices, some whitespace changes 2021-04-19 01:21:38 +02:00
Frisk fcde6265b5
Fixed #194 2021-04-17 16:35:54 +02:00
Frisk cab2d86481
Added migration for config 2021-04-17 16:13:24 +02:00
Frisk 065d67c90c
#195 Add config mitigation for new settings 2021-04-16 20:37:09 +02:00
Frisk 8abd8dfd23
#195 Add config mitigation for new settings 2021-04-16 20:35:01 +02:00
Frisk ee9f8f6da8
Recreated diff from !84 without conflict issues 2021-04-11 15:05:05 +02:00
R4356th 8caa25ed01 Fix message for log action "managewiki/undelete" 2021-01-23 14:31:47 +00:00
Markus-Rost ef8b2242d9 Improve tag management log 2021-01-04 18:19:52 +01:00
Frisk 83a4dbd332
Fix compatibility with Special:ProtectSite #188 2020-12-29 23:26:59 +01:00
Markus-Rost f34f88e25a contentmodel/new
#187
2020-12-19 13:40:48 +01:00
Markus-Rost e1e7bd4e7d Handle weird Fandom API 2020-12-17 00:16:38 +01:00
Markus-Rost a1c1a18734 Move compact emoji to class 2020-12-13 22:02:42 +01:00
Markus-Rost d3b7219777 make compact emoji optional 2020-12-06 14:36:52 +01:00
Frisk 9bfba42529
Fixes discussion formatter as per 5aab6222f9 2020-12-06 11:01:59 +01:00
Frisk 6ed7ec878a
Merge remote-tracking branch 'origin/testing' into testing 2020-12-06 10:56:16 +01:00
Frisk c6a769f8f2
Fixes #186 2020-12-06 10:55:01 +01:00
Markus-Rost 7ff5c65832 Add pagelang
#184
2020-12-04 16:53:14 +01:00
MarkusRost 314bc29c5b Remove counters and pagination for increased performance 2020-12-04 13:24:31 +00:00
Frisk 3fb6a04363
Bump version number 2020-12-01 12:50:22 +01:00
Frisk 922db2bbd3
Merge remote-tracking branch 'origin/testing' into testing 2020-12-01 12:47:53 +01:00
Frisk fde707e2ea
Fix #179 2020-12-01 12:47:15 +01:00
Frisk 33406db790
Fix #177 2020-12-01 12:38:06 +01:00
Markus-Rost 0f9124d7d6 Extension:DataDump
#183 and linked Special:ManageWiki because the settings are readable by default
2020-11-30 21:42:21 +01:00
Markus-Rost 4061e1ce59 fix oldid 2020-11-30 19:14:27 +01:00
Markus-Rost bd8d77c802 Added Extension:Translate
#182
2020-11-29 23:56:41 +01:00
Markus-Rost bb5f46e607 Match formatters with RcGcDb 2020-11-29 12:07:15 +01:00
Markus-Rost f8f71e692e Fix some formatter issues
fix #172
fix #175
fix #180
fix #181
2020-11-28 19:37:10 +01:00
Frisk dc971d0dca
Fix potential issue when partial block doesn't have any restrictions 2020-11-22 14:31:40 +01:00
Frisk d8ef84ae84
Fix the previous fix 2020-11-20 21:17:50 +01:00
Frisk 51b82d8fac
Fix #174 2020-11-20 21:01:12 +01:00
Frisk aef23d26e9
Fix cleanup code so it doesn't crash 2020-11-19 01:19:37 +01:00
Frisk 077a103d35
Fix #171 2020-11-18 21:27:11 +01:00
Frisk a57d0f58a9
Kind of fixed #169 2020-11-18 16:32:05 +01:00
Frisk af19a14eee
Fix critical issues that will happen on 1.2 to 1.3 migration 2020-11-18 14:58:13 +01:00
Frisk 9eed0ad53a
Added IP hiding option to discussions 2020-11-18 14:12:30 +01:00
Frisk 1a3f4f6b39
Fix a crash 2020-11-18 14:05:31 +01:00
Frisk 946d25de48
Added #155 2020-11-18 13:53:34 +01:00
Frisk 65916b8a45
Fix bad formatting in compact version of abuse filter rc (fixed #168) 2020-11-18 12:15:47 +01:00
Frisk e20230bd8a
Address #166, testing it seems fine but will need to update the config docs 2020-11-18 11:39:43 +01:00
Frisk e45f53bd5d
Fix #165 2020-11-18 11:07:07 +01:00
Frisk 01e67030fe Merge branch '150-delete-messages-for-deleted-edits' into 'testing'
Resolve "Delete messages for deleted edits"

See merge request piotrex43/RcGcDw!77
2020-11-17 23:21:52 +00:00
Frisk 863125db79
Fix when AUTO_SUPPRESSION_ENABLED is false 2020-11-18 00:12:20 +01:00
Frisk f15525c542
Trying to work out why pipeline fails 2020-11-18 00:04:42 +01:00
Frisk 4bff2d2038
Finished working on #150 2020-11-17 23:43:45 +01:00
Frisk b2be691ccc
Kinda finished working on message deletion? Needs testing and fix for the PATCH requests 2020-11-16 23:09:34 +01:00
Frisk 5032716226
Fixes 2020-11-15 11:17:04 +01:00
Frisk 0cdc0cef32
Progress 2020-11-15 01:43:34 +01:00
Frisk 8d7da1d237
Small improvements 2020-11-11 00:48:11 +01:00
Markus-Rost 8da1351f57 Update diff parser
Based on Wiki-Bot diff parser
2020-11-09 18:04:36 +01:00
Frisk fac70ba7a4
Added queue clearing out of messages and periodic DB cleanup for old entries 2020-11-09 14:58:05 +01:00
Frisk baa8eeead9
Just some cleanup code and deleting messages from queue 2020-11-09 02:22:31 +01:00
Frisk 9bc01153f8
Structurize the code, fixed some issues (like not recognizing edit and new events) 2020-11-08 22:29:15 +01:00
Frisk 99a1aa7827
Added debug messages 2020-11-08 01:36:41 +01:00
Frisk 39a094c914
Fixes to formatter 2020-11-08 01:32:21 +01:00
Frisk 780f88c6ac
add conditional import 2020-11-07 14:54:10 +01:00
Frisk 33596dc0c3
Adding a hotfix for important issue 2020-11-05 22:28:10 +01:00
Frisk cdb4a1f99a
Further work on the message redaction function 2020-11-05 22:20:35 +01:00
Frisk 8a6c8ae28e
Fixed #154 and added more to message deletion code 2020-10-26 13:25:14 +01:00
Frisk a8eeba8831
Added some functions 2020-10-25 00:33:00 +02:00
Frisk 69ff24fc99
Added initial file 2020-10-24 13:41:33 +02:00
Markus-Rost d37867d1f5 link unknown comment page to main page 2020-10-23 15:57:46 +02:00
Markus-Rost 801c8be2a4 fix ManageWiki to not break stuff 2020-10-23 01:23:28 +02:00
Frisk 8a296488d3
added #146 2020-10-19 12:30:28 +02:00
Frisk 5129d9b04b
Added #147 with few exceptions, switched supported_logs variable to more performant set 2020-10-18 13:25:50 +02:00
Frisk 0147e29817
Fixed #145 and improvements in escaping 2020-10-18 12:18:27 +02:00
Frisk 81792315ab
Added #143 and #136 2020-10-18 11:39:16 +02:00
Frisk e1eb34565f
Bump version for new release 2020-10-18 01:51:46 +02:00
Frisk 1d302cc3ec
Further restructuring
Removed rcid cache (stability of this method to be tested)
Added support for #142
Reorganized code to be more readable (?)
2020-10-18 01:45:06 +02:00
Frisk 1db1d5b61b
Some restructuring done 2020-10-16 22:35:29 +02:00
Frisk b507ac85b7
Added compact abuselog message 2020-10-15 13:02:49 +02:00
Markus-Rost 0d4f6f27e2 Add emoji to compact messages
closes #148
2020-10-09 18:29:46 +02:00
Frisk 770b194067
Added ManageWiki settings log support 2020-10-08 11:33:53 +02:00
Frisk 8f65748ca8
Abuselog first edits 2020-09-27 15:03:20 +02:00
Frisk 8d012a0ee3
Updated apparently broken files? 2020-09-03 13:15:57 +02:00
Frisk 68d5ca19b8
Added #141 2020-08-29 17:04:49 +02:00
Frisk 2a57b0e772
Finished #139 2020-08-23 15:32:12 +02:00