GithubHelp home page GithubHelp logo

Enhancement: Allow admin to deactivate downvotes and disallow user to remove or move up song when voting is deactivated. about raveberry HOT 3 CLOSED

Snorkell avatar Snorkell commented on September 23, 2024
Enhancement: Allow admin to deactivate downvotes and disallow user to remove or move up song when voting is deactivated.

from raveberry.

Comments (3)

raveberry avatar raveberry commented on September 23, 2024 1

Sorry, I thought I already answered.
The different levels of interactivity are now part of Raveberry with 0.10.5, thanks for the suggestion.

Regarding the API: Currently it only contains the api/post-song url, because I needed that for shareberry. The Discord bot uses some more exposed endpoints that are not part of the "official" API (yet), like /ajax/musiq/vote. Maybe some of that might help you.

I agree that having a defined interface would be a good idea, though. I'll add it to my list.

from raveberry.

raveberry avatar raveberry commented on September 23, 2024

Hi, awesome that you like it!
I think that's a great idea. I would probably extend the current voting/no voting into multiple options of varying interactivity. I think these four would make sense:

  • full public control. current "no voting", everybody can delete and reorder all songs
  • up- and downvotes. current "voting"
  • upvotes only. prevents people from downvoting all songs that are not theirs
  • no control. songs can only be pushed, but their order can only be changed by mod/admin users.

I will put this into Raveberry with the next update. Do you have any comments / suggestions?
Also as a hint: there is the "IP checking" feature which checks votes on the server side and prevents the same device from voting for the same song twice. Maybe this could prevent some trolling in your case.

from raveberry.

Snorkell avatar Snorkell commented on September 23, 2024

Hi, thanks for your feedback on this enhancement idea.
I have a suggestion, when looking at the code, I saw that you have implemented an api for posting songs to the backend.
I think having more endpoints that allows more control on the application would be nice. for exemple, a route to pause/play the music, an enpoint to skip music, and so on. This will allow developpers to implement their own custom interface without creating issues when they need something UI related

from raveberry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.