7

JoyRant build 40

* Added spam detection!
* Fixed weird black background in encountered users view
* Fixed aspect ratio of placeholder user image

Spam is detected using a spam score system.
Specific words and patterns increase the score and once a threshold is reached, the rant is considered spam.

In the feed spam rants will be less visible (max 3 lines of text, smaller and half transparent text and no images) but you can still open the rant (maybe to check the full rant to see if it is really spam) and downvote.

This can be disabled in Settings but is enabled by default.

It’s phase 1 of the spam related feature.
I will approach phase 2 later since it‘s low priority for me.

Feel free to contribute to the spam detection config file via PR:
https://github.com/WilhelmOks/...

Comments
  • 4
    I don't even use JoyRant and don't get why someone would downvote this. Is BuggerOn doing this?
  • 4
    Nice.

    Wish this would be available in Android too.
  • 2
    Those are some fine build notes... I miss them.

    Most of the time I just get a new build w/ absolutely _zero_ information on the changes made, so that's very fun.
  • 2
    I don't have Swift experience at all, but I made the devRant UWP client, if you need some help with the API to implement for example the "Report rants/comments (not available in SwiftRant (yet?))" let me know.
  • 1
    @JS96 can you share the rest api call for reporting?
  • 0
    @retoor it‘s just a slight modification on your approach, using a scoring system.

    And what's the problem with reinventing the wheel? ^^

    I have also refined the regexes with the help of chatgpt to detect a broader spectrum of urls and phone numbers which might contain anti detection techniques like writing (dot) instead of "."

    Offloading the config to a remote json file allows me to change it easily without the need for a new app version.

    And it seems to work. It has already detected like 15 spam messages without false positives and false negatives. So far so good.
  • 0
    @retoor I can’t see your message anymore.

    So for context: retoor has commented asking why I‘m reinventing the wheel but she approved it anyway.
  • 0
    @retoor oh you have wiped your account again today.
Add Comment