arturo-seijas
d7b64b121b
DEV: Add task to anonymize user data ( #20522 )
2023-10-03 16:59:43 +08:00
Jay Pfaffman
4350a903ec
clear security keys in disable_2fa rake task ( #20586 )
2023-03-09 15:38:59 -05:00
David Taylor
6417173082
DEV: Apply syntax_tree formatting to lib/*
2023-01-09 12:10:19 +00:00
Sam Saffron
30990006a9
DEV: enable frozen string literal on all files
...
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.
Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
Florian Heidenreich
39983f9d95
FIX: list staff users within the last month
2019-01-14 10:29:00 -05:00
David Taylor
77fe57f923
FEATURE: Rake task to list users which have been staff in the past month
2018-12-14 16:29:12 +00:00
Arpit Jalan
d76658ff8c
FEATURE: new rake task to anonymize all users
2018-10-15 16:19:25 +05:30
Jay Pfaffman
71a1d75d7e
FIX: disable_2fa fix method selection
...
The previous code resulted in
NameError: undefined local variable or method `totp' for main:Object
I now understand what @tgxworld meant about we should only disable totp when I submitted this before.
This is the kind of Ruby stuff that I still don't understand well,(perhaps this isn't the most Ruby way to do this?) but this does what I think is supposed to happen. And it worked just now.
2018-08-10 14:45:40 -07:00
Gerhard Schlager
e42038eae2
Rake task called method with wrong arguments
2018-07-24 00:10:09 +02:00
Jay Pfaffman
0ed2834c2d
FEATURE: Add users:disable_2factor rake task
...
https://meta.discourse.org/t/admin-locked-out-of-2fa/92156/2?u=pfaffman
2018-07-16 09:56:55 +08:00
Neil Lalonde
92000bc8a0
FEATURE: add a rake task to recalculate user stats post_count and topic_count
2018-07-05 10:38:46 -04:00
Gerhard Schlager
23acddc9fa
Add descriptions for rake tasks
2018-06-27 20:24:46 +02:00
Gerhard Schlager
4ba910ac54
Update username only after successful user anonymization
2018-06-08 15:50:07 +02:00
Neil Lalonde
1b0a3023bb
fix rake task usage
2018-05-29 16:29:12 -04:00
Gerhard Schlager
ef84099db1
Add rake task for updating username in posts
2018-05-28 11:25:24 +02:00
Gerhard Schlager
3be3c50c7e
FEATURE: Rename user in mentions and quotes
...
Co-authored-by: Robin Ward <robin.ward@gmail.com>
2018-05-01 13:49:14 -04:00
Gerhard Schlager
7a2183e8ab
FEATURE: rake task for merging users
2018-03-01 12:28:12 +01:00
Guo Xiang Tan
5012d46cbd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
Arpit Jalan
3bd8b55fce
FEATURE: new rake task to change post ownership for a specific user
2016-08-20 20:43:16 +05:30