vitosamson / modlogs Goto Github PK
View Code? Open in Web Editor NEWA service for allowing subreddits to publish their moderator logs
Home Page: https://modlogs.fyi
A service for allowing subreddits to publish their moderator logs
Home Page: https://modlogs.fyi
Hi, any plans to expose a json feed, perhaps cached by Cloudflare? I was able to integrate data from the u/publicmodlogs feed and a couple from http://logs.mod.rcoronavirus.org/ into www.reveddit.com. I'm hoping to do the same for u/modlogs.
I am very thankful for the work put into making most features work without javascript. If possible, please also render the timestamps (those in the top-right corner of each item) when it is turned off.
r.config({ proxies: false })
this seems to be causing an issue when performing the initial log fetch for a subreddit with many thousands of logs. mem usage spikes to a gig+ during the insertMany(group)
here.
it must have something to do with mongo trying to access properties on the logs that are being inserted, but since they're formatted prior to the insertion (and therefore no longer proxy objects), I'm not sure how that would be happening.
this may require changes outside of reddit.ts
example change: return await this.r.getSubreddit(subredditName).getModerationLog(opts).fetchAll()
-> return (await this.r.getSubreddit(subredditName).getModerationLog(opts)).fetchAll()
Please include automod action reasons. Automod supports action_reason
which lets mods put in a reason for the removal (or approval) of automod actions. You can see the full list of automoderator actions here: https://www.reddit.com/wiki/automoderator/full-documentation#wiki_actions
Refer to the title.
For subreddits that have enabled reddit permalinks I see that they contain double slash, e.g. https://modlogs.fyi/r/btc
https://www.reddit.com//r/btc/comments/oys7by/its_time_the_bitcoin_cash_5_part_video_series/h7wip5u/
https://modlogs.fyi/r/subredditcancer?actions=muteuser
https://www.reddit.com/r/subredditcancer/wiki/modlog_config
Maybe we need a show_mute_user option?
Hi,
I moderate a small-ish regional subreddit but members of the community have expressed interest in us setting up mod action logging. I have not been able to successfully set up the bot (I'm 99% sure I'm doing it right), and per this thread on /r/botwatch, it appears that the modlogs bot is no longer accepting new subreddits.
Is the botwatch thread accurate, and if so, is there any situation in which an exception could be made for our subreddit, or do I need to look into hosting this myself? Any guidance you can provide would be appreciated.
the user report tries to build links to the removed comments via [log.title](log.link)
but removecomment
actions don't have a title
. this should just be [log.link](log.link)
or a truncated log.content
as it previously was
show_ban_user
show_ban_duration
show_ban_description
Title says it all. I made sure the bot has the wiki permission for the config page.
I mod r/UFOs and the bot appears to not be accepting invites. I invited it eleven days ago and it never responded. I tried again today and it still won't accept the invite. Any suggestions?
This would allow authenticated mods to configure the modlogs options directly within the site, rather than having to edit a wikipage and worry about YAML formatting etc. The config should still be saved in the wiki.
This would require requesting wiki permissions during mod authentication.
Currently mods have to come to github to report issues or feature requests. It would be good to have a subreddit for this for mods who aren't on github.
I recently added u/modlogs as a moderator to our subreddit (r/collapse) and setup a wiki config page. A page showed up here: https://modlogs.fyi/r/collapse, but it's not populating with anything.
Did I miss a step somehow or is this the bot not working correctly?
As more subs start using modlogs, it's getting harder to stay under the reddit rate limit. This is especially prevalent during the initial import of a sub's logs, I think, because of the massive amount of requests needed to fetch thousands of logs.
Some quick thoughts:
1234
Hello. At my sub, we've found out that some of our users are scraping the mod logs for what keywords are triggering post removals. They might be planning to use this information to circumvent our AutoMod config. If we could exclude out of the public logs the trigger keywords which are identified by the {{match}} placeholder, this would solve this issue. Yes we can simply remove the {{match}} placeholders in the AutoMod rules themselves, but then we wouldn't have access to that information which can be useful for us. Thanks.
I may be an idiot... but logs for /r/MurderedByWords are not appearing on the website, though the subreddit is listed.
Hi , I am unable to run the docker image, worker exited with the following error.
worker | internal/modules/cjs/loader.js:818
worker | throw err;
worker | ^
worker |
worker | Error: Cannot find module '/app/build/server/jobs/consumers'
worker | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
worker | at Function.Module._load (internal/modules/cjs/loader.js:667:27)
worker | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
worker | at internal/main/run_main_module.js:17:47 {
worker | code: 'MODULE_NOT_FOUND',
worker | requireStack: []
worker | }
worker exited with code 1
Any fix for that?
Hi Vito,
I am a graduate research student in computer science (natural language processing) at University of Massachusetts Amherst. I am hoping to use the Reddit public moderation logs in future study of "Causal Effects of Online Moderation." Just a few questions:
(1) Just want to double-check to make sure the moderation logs are indeed public and able to be used for research purposes (not violating any terms of service or consent of the users or moderators).
(2) I could scrape the webpages from directly from https://modlogs.fyi. However, it would be much cleaner if I was able to access the database of modlogs directly. Any way you can help me out with this?
Please email me: kkeith [at] cs [dot] umass [dot] edu
Thank you for your time!
Katie
Right now it's not easy to tell at a glance whether actions are approvals or removals and it seems like this would be helpful.
After a lot of fenangling I am unable to get the exclude actions or moderators working in the config.
The config is found at the correct url and the modlogs mod has wiki permissions
syntax used:
exclude_actions: [wikirevise]
exclude_moderators: [AutoModerator]
syntax tried:
exclude_actions: [ "wikirevise " ]
exclude_moderators: [ "AutoModerator" ]
Am I missing something?
Currently mod action timestamps look like 8/6/2021 @ 5:34:43 AM
which makes it easy to confuse MDY and DMY formats. I would prefer YYYY-MM-DD HH:MM:SS
if possible.
hey there,
i'm a moderator who recently invited /u/modlogs but it's not accepting moderator invites.
potentially related to #21.
[ReportsQueueConsumer] 21:15:03 processing top offenders report for BTCgreece (message t4_bv5kg0)
[TopOffendersReportGenerator] 21:15:03 generating top offenders report
[TopOffendersReportGenerator] 21:15:03 subreddit: BTCgreece, period: 14 days (1525305600000), limit: 10
[TopOffendersReportGenerator] 21:15:03 finished generating top offenders report for 9 in %sms
[ReportsQueueConsumer] 21:15:03 finished processing top offenders report for BTCgreece
[UserReportGenerator] 21:15:03 running user report
[UserReportGenerator] 21:15:03 subreddit: BTCgreece, user: undefined, period: 14 days (1525305600000)
[ReportsQueueConsumer] 21:15:03 unknown report type top offenders
[ReportsQueueConsumer] 21:15:04 marked message t4_bv5kg0 as read
https://modlogs.fyi/ doesn't allow you to select any subreddits
backups should run weekly for the modlogs_logs
and modlogs_internal
databases
keep only two backups stored at a time. older backups should be deleted to reduce storage costs.
container logs should be redirected to files on the host
log monitoring?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.