massgo / league Goto Github PK
View Code? Open in Web Editor NEWA web app for managing go leagues.
Home Page: https://league.massgo.org/
License: MIT License
A web app for managing go leagues.
Home Page: https://league.massgo.org/
License: MIT License
After #53, we now have some RESTful routes that are mixed in with templated views. These should be moved to their own namespace, something like /api/v1.0
, along with their own subdirectory.
Footer should display contents of VERSION
file
Some new metrics:
Should be enough to just add to template and episode_stats
function
We can edit slack configuration variables after #97, but the current method of changing these variables does not persist over different server sessions.
For this configuration data, when would be the appropriate time to read this data? The current structure of the application factory doesn't have a clean insert point (configuration data is read from the environment before the database is activated).
https://github.com/alecthomas/injector
https://github.com/alecthomas/flask_injector
These look interesting. Would be a good miniproject to rewrite app using these.
@hndrewaall said:
I want to have configurable text/banners, at least sufficient to tell people roughly what's happening
so that'll likely involve adding some settings to a config page
and editing templates to load content dynamically
Both player and game pages have checkbox-based delete functions, but both only respect the last item selected. This is due to the form submitting multiple player_id
parameters with the POST
, but the PlayerCreateForm
and GameCreateForm
only defining that parameter as a single item. This should theoretically be fixable using a FieldList
but I haven't yet gotten it working.
Pros: very easy to do, flexible way to manage adding features.
Cons: I don't know DB theory, but it seems antithetical to normalization and other SQL best practices.
We should add a view for managing Slack config to the Admin settings page. Should include button/route for sending test message. Should retain backwards compatibility for initializing values from env vars
Not urgent, but a security concern that should be addressed in the future.
Introduced here.
This looks promising: https://pypi.python.org/pypi/skills
All of the user registration/login forms and routes are currently disabled or have been removed. We need to reenable these, and mark all dashboard pages as requiring authentication to view.
As part of this effort, we should also reenable the public homepage and clean it up.
We will soon need the ability to schedule and queue jobs. Some examples of things we might want it to handle:
Some ideas for software:
The new games view introduced in #53 "seeds" the table using the templater to inject rows as HTML. This results in an unformatted table occasionally being briefly visible as the page loads. We should move this template seeding into the JS block of the template, so we still get the rows without an additional request, but the table loads all at once.
Python datetimes are annoying me, and this looks nice (and has native SQLAlchemy support): http://crsmithdev.com/arrow/
Currently, we simply tag docker images as latest
and do no git version tagging whatsoever. We should find a tool and/or build a script to write/update a VERSION
file, tag the repo, and tag the docker images built appropriately. Once this is done, we can start managing releases using terraform (as opposed to manually terminating ECS tasks).
We should add views for individual players. These can live under /players/<player_id>
. These should include player game histories and statistics.
test issue
We really need an about page for league with at least.
Running this with Andrew's laptop set to west coast time seems to have inconsistent handling of time zones. Affects time played, created, and modified
Hi ๐
This is my first visit to this fine repo, but it seems you have been working hard to keep all dependencies updated so far.
Once you have closed this issue, I'll create seperate pull requests for every update as soon as I find one.
That's it for now!
Happy merging! ๐ค
The new games view introduced in #53 does not display errors (such as validation errors) from AJAX requests. This will involve adding a new element, either a modal or a "traditional" bootstrap alert, based on the result of AJAX requests. This should be done before implementing this new interface for Users or Players
A basic (and useful) Slack integration would be to simply post game results as they are added (much like @njritter already does manually)
I've seen this recently on mobile, and I'm pretty sure also at least once with the full version. Authentication seems to just silently fail. Logging shows the POST, but I don't see any error codes. Current prod logging isn't really sufficient to debug this.
There are two levels of CSRF protection in place, and both are manually disabled everywhere. We should decide if we even need both of these, and remove the overrides.
Additionally, where appropriate, we should conditionally disable these based on test config
Like #20, just add a simple view for listing games played for a particular season and/or episode.
Currently anyone can register. For now, I would like to have an admin account created automatically based on an env var, and a page for creating new users.
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.