Code Monkey home page Code Monkey logo

austeritas's People

Contributors

axomestudios avatar dependabot[bot] avatar mags0ft avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

austeritas's Issues

Wrong documentation on installing Austeritas

Describe the bug
The documentation is prompting you to deactivate the venv too early.

To Reproduce
Steps to reproduce the behavior:

  1. Open the "How to install" page on the wiki
  2. Follow the installation steps
  3. see deactivate too early as nginx and gunicorn need to be installed using the venv

Expected behavior
The venv will not get deactivated till the end of installation.

Additional context
None

Wrong/outdated translations in files

Describe the bug
The translations in the according files are outdated and do not represent the new files.

To Reproduce
Steps to reproduce the behavior:

  1. Search for the translation of "Player is banned" in a translation file.
  2. The referenced python source file is not existent anymore.

Expected behavior
All translations match their correct notation/ID and do reference currently present python source files.

Re-structure app to have a โ€žsrcโ€œ folder

Is your feature request related to a problem? Please describe.
The maintenance of a codebase not using a src directory can get very challenging over time as non-code files are getting mixed up with code.

Describe the solution you'd like
By moving all necessary files used by the code into a folder called src, app, austeritas or similar, more conciseness can be achieved.

Describe alternatives you've considered
An alternative would be to move non-code files in their own directory, but this is very uncommon and does not work as well.

Add global ban list

Is your feature request related to a problem? Please describe.
A lot of people are cheating often. Banning known cheaters on every Austeritas instance would be effective.

Describe the solution you'd like
Austeritas could warn the server owner about known usernames and immediately ban players on the list of known people.

Additional context
None.

Make global ban list case-insensitive

Describe the bug
Austeritas is not able to catch cheaters when written in the wrong case.

To Reproduce
Steps to reproduce the behavior:

  1. Write "player123" into the banned.json list
  2. Start Austeritas
  3. Anywhere, enter "Player123"
  4. Austeritas will not catch the cheater.

Expected behavior
Austeritas should ignore upper- or lowercase letters in the query.

No updates to the global ban list are made

Describe the bug
There is code for updating the global ban list, yet it remains unused.

To Reproduce
Search the repository's files for "run_update()". You will only find its definition.

Expected behavior
There is at least one execution of "run_update()", best placed at an asynchronous task.

Add reason for bans/kicks

Is your feature request related to a problem? Please describe.
The banned/kicked player does not know why the punishment happened in particular.

Describe the solution you'd like
The reason could be shown online on the information gathering site and be shown on kick/ban.

Migrate to reasonable database technology

Is your feature request related to a problem? Please describe.
Using JSON files is okay for constants and rarely used content, but not for dynamic, fastly-changing data.

Describe the solution you'd like
Migrating to SQLite would fix this problem.

Additional context
ANY potential injection attacks have to be mitigated before pushing to production. CodeQL analysis must be read through.

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.