Code Monkey home page Code Monkey logo

geyserlist's People

Contributors

chew avatar rtm516 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

geyserlist's Issues

User Flags

A way to distinguish users with specific permissions would be nice.

It will be using bit flags.

Suggestions:

1 => :moderator, # 1
This permission would give mods access to edit/delete any server

2 => :staff, # 2
Mostly a status role. Indicate who is a team member or not.

3 => :verified, # 4
Same with the staff role. Perhaps for notable and up?

4 => :admin, # 8
Full access to everything. What more than deleting servers? Who knows

5 => :developer, # 16
Same/similar to staff? Not sure, just throwing stuff out here.

i18n Support

Rails has native i18n support (see config/locales).

In the code, you need to do the following:

t('key')

Or, in controllers:

I18n.t('key')

Assuming you have the corresponding value in config/locales/en.yml:

key: Global Value

You can specify the locale however we want. Maybe a dropdown for it in the navbar?

If there are no translations in the given language, it falls back to the default (English).

I've not much experience with Crowdin, but it should be pretty simple to figure out. I won't be the one able to make it, though.

On RubyMine, not sure about other clients, but selecting a t('string') and pressing CMD+0 hides it with the actual translation. Quite poggers

For strings specific to a file/controller, you simply need to do this:

In locale:

controller:
  action:
    key: Local Value

So in app/controllers/controller.rb method action or app/views/controller/action.html.erb you can do:

t('.key')

Which will put "Local Value" instead of "Global Value". It definitely saves on key length.

There are not many Strings right now, but we don't want to get too far behind.

Server pinging

Can be used to check if server is online (see gdoc)
Also include MC versions and country for the server info

Add sign in with Apple

Bit difficult and annoying but possible. I need to setup everything on the backend. Not fun! But works.

Server add/edit pages

Frontend:

  • Make form look nice

Backend:

  • Validate data
  • Check bedrock IP
  • Check Discord
  • Check java IP
  • Website/input no swears

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.