Touched a ton of files to finally standardize on having trailing
final newlines, as best practice recommends and so our devs stop
accidentally fighting each other over it.
This was performed automatically with the following:
git ls-files -z '*.py' | while IFS= read -rd '' f; \
do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
git ls-files -z '*.css' | while IFS= read -rd '' f; \
do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
* Add roulette file
* Rename variable to avoid name collission
* Add basic route and create new template for game
* More work on the roulette template
* Initial connection of front-end roulette to back-end roulette
* Add to cron job
* Pass bets to the front end
* Update front-end looks
* Add stackable poker chips for bets
* Minor last changes
* Handle minimum bets
* Add bet table
Two bugs:
1) Drafts, deleted posts, and removed posts counted toward hole
aliveness. This has been fixed.
2) Foreign key constraints in sub_joins weren't getting deleted,
so stealth holes couldn't be deleted.
Both of these conspired to keep /h/smuggies alive, so they must be
fixed.
Multiple closely related issues:
- When sub_inactive_purge_task was moved to cron.py, a number of
imports were not added. Notably, missing helpers/alerts.py.
This led to hole inactivity deletions not taking place.
- However, this proved useful: the hole it's been trying to delete
the past few days was /h/changelog. This has now been excluded
from deletion.
- Finally, the missing import would've meant the monthly procoins
disbursement would fail when it runs in a couple days. This has
likewise been fixed.
Also: change to docker-compose.yml is to see if it'll fix the Github
tests failing. Lumped in here because it's too dumb to make a commit
for by itself.