marcsello / ezotv Goto Github PK
View Code? Open in Web Editor NEWWebsite hosted at ezotv.marcsello.com
Home Page: https://ezotv.marcsello.com
License: Creative Commons Zero v1.0 Universal
Website hosted at ezotv.marcsello.com
Home Page: https://ezotv.marcsello.com
License: Creative Commons Zero v1.0 Universal
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.
on /dashboard /backup /dashboard/admin pages the title tag is missing
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 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)
Az Információk
pont alatt összeszedett typo-k:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.