Commit graph

226 commits

Author SHA1 Message Date
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
Frisk f6ecee6583
Added #121 2020-08-16 15:01:16 +02:00
Markus-Rost b07473426a fix typo 2020-08-11 17:20:24 +02:00
Markus-Rost d116029b22 add discussions wiki page tags 2020-08-11 17:06:53 +02:00
Frisk 30426cb8f3
Added some slightly modified code for reporting unknown events from RcGcDb contributed by @MarkusRost 2020-08-10 16:11:06 +02:00
Frisk 62702229e7
Fix for translations of discussion_formatters.py 2020-08-10 02:21:16 +02:00
Markus-Rost 975bfe1c18 Add discussion quiz
New translation strings:
* `[{author}]({author_url}) created a quiz [{title}](<{url}f/p/{threadId}>) in {forumName}`
* `Created a quiz "{title}"`
2020-08-09 22:41:05 +02:00
Frisk 253a5dc007
Translation related fixes 2020-08-08 22:58:49 +02:00
Frisk a75e38e04f
Translation related work 2020-08-08 03:23:01 +02:00
Frisk 95c7d8f22b
Removed unnecessary stuff 2020-08-08 02:21:20 +02:00
Markus-Rost 748657e982 remove modification from rcgcdb 2020-08-05 02:27:43 +02:00
Markus-Rost cd6f88e539 fix argument order 2020-08-05 02:21:13 +02:00
Markus-Rost 4331be6199 Update discussions formatter 2020-08-05 02:08:38 +02:00
Frisk 2f5e7f20b5
Fix #137 2020-08-03 15:27:24 +02:00
Markus-Rost 8336058548 missing format 2020-08-02 18:03:38 +02:00
Markus-Rost 65fe19d9aa fix indef blocks, enable newusers, minor fixes 2020-08-02 13:37:25 +02:00
MarkusRost c37fd141cb remove ugly work around 2020-08-01 21:23:15 +00:00
MarkusRost 8649d470f0 don't link non-link links 2020-08-01 21:22:49 +00:00
Frisk dcf5761c1f
Fixed #135 2020-07-29 02:50:23 +02:00
Frisk 459d242c55
Fixed #133 2020-07-29 02:41:26 +02:00
Frisk 45c30321d4
Added all currently supported logs 2020-07-28 22:48:37 +02:00
MarkusRost 2e790795f1 add new users log 2020-07-28 19:50:16 +00:00
Frisk a7565ec2d9
Added #131, may cause issues as the split has been done to many files and it scares me, will require work on i18n structure 2020-07-16 14:46:23 +02:00
Frisk 9946a0a7fa
Fix tests 2020-07-08 17:59:19 +02:00
Frisk 0c5048aa04
Cleaned the file structure (#111) 2020-07-07 13:21:49 +02:00