Code Monkey home page Code Monkey logo

ezotv's People

Contributors

marcsello avatar

Watchers

 avatar  avatar

ezotv's Issues

Minecraft username matching is Case Sensitive

The minecraft usernames constraint is case sensitive. Since minecraft usernames are case insensitive, this could lead to allowing two members to set the same name.

The syncronization script would fail anyways. But it should be checked prevented on the web end as well.

Missing page title

on /dashboard /backup /dashboard/admin pages the title tag is missing

Internal server error on same minecraft names

Attempting to set an already used minecraft name results in an internal server error instead of showing an error.

Stack trace:

webapp_1  | Traceback (most recent call last):
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2446, in wsgi_app
webapp_1  |     response = self.full_dispatch_request()
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1951, in full_dispatch_request
webapp_1  |     rv = self.handle_user_exception(e)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1820, in handle_user_exception
webapp_1  |     reraise(exc_type, exc_value, tb)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
webapp_1  |     raise value
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1949, in full_dispatch_request
webapp_1  |     rv = self.dispatch_request()
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1935, in dispatch_request
webapp_1  |     return self.view_functions[rule.endpoint](**req.view_args)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask_classful.py", line 268, in proxy
webapp_1  |     response = view(**request.view_args)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask_classful.py", line 239, in inner
webapp_1  |     return fn(*args, **kwargs)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask_login/utils.py", line 261, in decorated_view
webapp_1  |     return func(*args, **kwargs)
webapp_1  |   File "/ezotv/views/dashboard_view.py", line 90, in post
webapp_1  |     except sqlalchemy.exc.IntegrityError as e:
webapp_1  | NameError: name 'sqlalchemy' is not defined

oauthlib causes internal server error

oauthlib causes internal server error when the access token expires.

webapp_1  | [2020-01-29 10:40:54,932] ERROR in app: Exception on /dashboard [GET]
webapp_1  | Traceback (most recent call last):
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2446, in wsgi_app
webapp_1  |     response = self.full_dispatch_request()
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1951, in full_dispatch_request
webapp_1  |     rv = self.handle_user_exception(e)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1820, in handle_user_exception
webapp_1  |     reraise(exc_type, exc_value, tb)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
webapp_1  |     raise value
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1949, in full_dispatch_request
webapp_1  |     rv = self.dispatch_request()
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1935, in dispatch_request
webapp_1  |     return self.view_functions[rule.endpoint](**req.view_args)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask_classful.py", line 268, in proxy
webapp_1  |     response = view(**request.view_args)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask_classful.py", line 239, in inner
webapp_1  |     return fn(*args, kwargs)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask_login/utils.py", line 261, in decorated_view
webapp_1  |     return func(*args, kwargs)
webapp_1  |   File "/ezotv/views/dashboard_view.py", line 41, in index
webapp_1  |     r = discord.get("/api/users/@me")
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 546, in get
webapp_1  |     return self.request('GET', url, **kwargs)
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/flask_dance/consumer/requests.py", line 194, in request
webapp_1  |     return super(OAuth2Session, self).request(
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/requests_oauthlib/oauth2_session.py", line 477, in request
webapp_1  |     url, headers, data = self._client.add_token(
webapp_1  |   File "/usr/local/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 198, in add_token
webapp_1  |     raise TokenExpiredError()
webapp_1  | oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)

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.