Giter VIP home page Giter VIP logo

gulag-web's People

Contributors

airkek avatar alowave223 avatar atakku avatar bernkastel02 avatar beyley avatar cmyui avatar gamerboy80 avatar minisbett avatar tsunyoku avatar varkaria avatar yo-ru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gulag-web's Issues

Can't use hypercorn because script says "main.py should be run directly!"

* Please use an ASGI server (e.g. Hypercorn) directly in production
ok...

root@gulag:~/gulag-web# hypercorn main.py
Traceback (most recent call last):
  File "/usr/local/bin/hypercorn", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/hypercorn/__main__.py", line 267, in main
    run(config)
  File "/usr/local/lib/python3.9/dist-packages/hypercorn/run.py", line 34, in run
    worker_func(config)
  File "/usr/local/lib/python3.9/dist-packages/hypercorn/asyncio/run.py", line 178, in asyncio_worker
    app = load_application(config.application_path)
  File "/usr/local/lib/python3.9/dist-packages/hypercorn/utils.py", line 110, in load_application
    module = import_module(import_name)
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/root/gulag-web/main.py", line 21, in <module>
    raise RuntimeError('main.py should be run directly!')
RuntimeError: main.py should be run directly!

what


yes I'm running it as root because it's in an LXC container. Ubuntu 18.04.5. Python 3.9.5. Commit b7fff4c

feature request for frontend

So its me again with another feature request!

First of all, thanks for your work guys.

  • Add statistics on /home page (Latest reg user, highest pp play, amount of registrations, online)
  • Top plays page that shows top pp plays All time (Also maybe Month/Week? That needs Api tho)
  • Beatmaps page with search from osu!direct mirror (configurable?) also with filter ranked on gulag
  • Achievements tab in user profile
  • Score page with leaderboard and sorting
  • First places tab in user profile
  • Private profile for Donors (others non-friend players cant see profile)

Cannot register using domain.co.th

Describe the bug
For example, I want to register using my email [email protected], after I clicked the "Register" button. It will said that the email is invalid

To reproduce
Steps to reproduce the behavior:

  1. Go to Register page and fill everything in the boxes
  2. Click on Register button
  3. See error

Expected behavior
Invalid email syntax.

Screenshots
image

Environment (please complete the following information):

  • OS: Unknown (most likely Ubuntu)
  • Version gulag 0.1.9?

Additional context
None

create user settings

TODO:

  • Profile Picture Upload
  • Change Username (Supporter)
  • Change Password
  • User Pages
  • Socials (Bancho Profile?, Twitter, Twitch, Instagram, Other?)

Add score display amount changing option

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
As I said in the title, I would like to have option to change scores displayed by page. For example: In user page there is Recent scores and Top Plays div, there should be easy option to increase amount of scores loaded. Also to not overload the page there should be button like Show more to load more scores.

Describe the solution you'd like
Good option would be adding new page in admin panel Something like Admin > Settings Where you can set basic options of the site for now, if needed it could be expanded in the future. Or if it's too much right now just to add these values to config file.

feature request for admin panel

  • Ban, Restrict, Unban, Edit User buttons in users profile for Staff.
  • User control panel with search users
  • Online users support (graph?)
  • User purge function (purge all stats and scores of user)
  • Manage clans (when cmyui will finalize it lmao)
  • User editing (edit country, nickname, e-mail, pass etc...)
  • Beatmap Ranking panel for Nominators/Admins
  • Privileges/Groups editor
  • Implement badges and edit menu for they
  • Bancho settings (Off/On ingame registration, maintenance mode, main menu icon, welcome message, osu api key, osu! direct mirror etc. [ i think its possible when cmyui rewrite config file ])
  • Staff action logs (someone banned, unbanned, rank/love/unrank map, edited user etc.)

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.