Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Dashboard! #883

Open
wants to merge 1,066 commits into
base: master
Choose a base branch
from
Open

New Dashboard! #883

wants to merge 1,066 commits into from

Conversation

MegaSa1nt
Copy link
Contributor

@MegaSa1nt MegaSa1nt commented Jul 30, 2022

This pull request brings you repurposed dashboard with many useful features!

Changes/features:

  • Tools page is useless now :trollface:
  • Integrated old tools to dashboard:
    • Change username/password
    • Songs list
    • Ban/unban user
    • Manage packs
    • Level reupload (from and to GDPS)
    • Activate account
    • Register account
    • Manage quests
    • Add song
    • Dailies/weeklys list
    • Moderator's actions
    • Map Packs list
    • Reported levels list
    • Suggested levels list
    • Top 24 hours
    • Unlisted levels list
    • Moderators list
    • Cron
  • New tools:
    • Manage your songs
    • Favourite songs
    • Your lists
    • Accounts list
    • Levels list
    • Gauntlets list
    • Lists
    • Clans
    • Add song with a local file
    • Manage gauntlets
    • Unlisted lists
    • Add moderator
    • Share Creator Points
    • Change someone's username or password
    • Messenger
    • Profile
    • Forgot password (if mail verification is enabled)
    • Level comments
    • Level leaderboards
    • Manage levels
  • New features:
    • Download GDPS button
    • Audio player
    • Night theme
    • Icon on navbar's top
    • Account verification with mail
    • Different captchas (hCaptcha, reCaptcha and Cloudflare Turnstile)
    • Proxy support
    • GDPS Discord/Revolt music bot
    • Custom SFX and Music library with ability to have several libraries from different servers
    • Rate webhooks
    • GDPS launcher

Useful info:

  1. This dashboard works only on original GMDPrivateServer.
  2. Check out config file! It has many useful things you want!
  3. It would be awesome to translate dashboard as much as it possible, so if you don't see your language in list below, feel free to help us! This dashboard supports:
  4. Thank you for contributing! Here's list of good boys:
  5. There will be new roles permissions after installing dashboard, don't forget about them
  6. Hostings that use my repository:

TO-DO:

- Rewrite from scratch

@fancythedeveloper
Copy link

What?! The dashboard actually being useful now?!

@MegaSa1nt
Copy link
Contributor Author

yeeah!!

@fancythedeveloper
Copy link

This seems cool, though I have two nitpicks.

  1. Would probably make more sense if it was called "Username" instead of "Nickname" in the login box.

  2. Seems like you can't REGISTER through the new dashboard yet, that would be nice.

@fancythedeveloper
Copy link

Also another thing, while you said you moved/created every (T) and (N) to the dashboard, there doesn't seem to be anything for reuploading LEVELS, which the original dashboard had an option for (even though it just sent you to the legacy tool).

@MegaSa1nt
Copy link
Contributor Author

OK, i'll fix this

@MegaSa1nt
Copy link
Contributor Author

@fancythedeveloper i did it!

@fancythedeveloper
Copy link

If everything works, I think is good enough to merge now IMO.

@MegaSa1nt
Copy link
Contributor Author

it works fine! i tested

@fancythedeveloper
Copy link

Also, one quick suggestion. For the song reupload tool, could you possibly add an option which allows you to name the song differently from the filename? That would be nice, especially if you're using Discord direct links for songs.

@MegaSa1nt
Copy link
Contributor Author

done!

@MegaSa1nt
Copy link
Contributor Author

I think its good enough to merge

@lightyisreal
Copy link

Is this already fixed?

Screenshot_20220807-065814

@MegaSa1nt
Copy link
Contributor Author

yes

@MegaSa1nt
Copy link
Contributor Author

MegaSa1nt commented Aug 10, 2022

Hey guys! Ask me for features that i should add to the dashboard and maybe i'll add it!

@fancythedeveloper
Copy link

fancythedeveloper commented Aug 11, 2022

Honestly, I'm not sure what else could you really add to the dashboard that's really needed. I suppose you might as well port the rest of the tools to the dashboard (like packCreate and addQuests). Maybe even be able to rate levels or give accounts in-game roles through the database as well?

@MegaSa1nt
Copy link
Contributor Author

MegaSa1nt commented Aug 11, 2022

I already added pack, gauntlet and creating quests :)

https://gcs.icu/gcsdb/tools - what i didnt port to the dashboard

@MegaSa1nt
Copy link
Contributor Author

MegaSa1nt commented Aug 11, 2022

Add mod tool needs new permission "dashboardAddMod"

Share CP tool uses "commandSharecpAll"

I dont want to add rating level tool because how you can rate a level without looking at it?

Hey, Cvolton, look at this dashboard!

@MegaSa1nt
Copy link
Contributor Author

image

zaamn

@fancythedeveloper
Copy link

Does the messenger thing allow you to send in-game messages through the site? Interesting.
Doesn't seem very practical, but hey, who really cares?
Also, not sure if you already added it, but it would be nice if you could rate levels through the dashboard as well, especially for GDPSs running on GD versions older than 1.9.

@MegaSa1nt
Copy link
Contributor Author

Does the messenger thing allow you to send in-game messages through the site?

yup

@fancythedeveloper
Copy link

Does the messenger thing allow you to send in-game messages through the site?

yup

BTW I know you already probably saw the question, but if not, did you already add the functionality to rate levels through the dashboard?

@MegaSa1nt
Copy link
Contributor Author

Does the messenger thing allow you to send in-game messages through the site?

yup

BTW I know you already probably saw the question, but if not, did you already add the functionality to rate levels through the dashboard?

im doing it rn

@MegaSa1nt
Copy link
Contributor Author

MegaSa1nt commented Aug 25, 2022

image
also if you cant rate levels but can suggest them it will suggest level

@MegaSa1nt
Copy link
Contributor Author

MegaSa1nt commented Aug 26, 2022

image
image

Notify:
image
image

@MegaSa1nt
Copy link
Contributor Author

MegaSa1nt commented Aug 28, 2022

image
should i add a ban reason? it needs one more table in mysql database

Visual update:
image

@fancythedeveloper
Copy link

image also if you cant rate levels but can suggest them it will suggest level

That's nice, but does it allow you to epic levels and verify their coins as well?

@MegaSa1nt
Copy link
Contributor Author

image also if you cant rate levels but can suggest them it will suggest level

That's nice, but does it allow you to epic levels and verify their coins as well?

I'll do epic, yes it allows you to verify coins

@MegaSa1nt
Copy link
Contributor Author

should i add a ban reason? it needs one more table in mysql database

what about this?

@EMREOYUN
Copy link
Contributor

Oh god so many features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.