Bet tracker made using ZF2
Match scrapingResolve casters/parsers based on page.- Events defaulting when source not found - currently no way to rectify this (Need to scrape events, also Need to record URL against matches & resolve during event scrape.)
- GosuLoLCaster to extend base MatchCaster
- When selecting a match from db, link bet to db.
- Multiple matches per bet.
Finish Odds field (need to handle delete key, shoudl reset timer)Get vue.js working.- Rewrite custom jquery plugins as vue.js models.
- remove bootstrap css & replace with bower_component counterpart
- Partials for bet/index reports.
-
Update form so that multiple lines can be rendered. -
Add hydrators -
On add bet, bet line form(or model) is not populate -
Update controller so that onPost form is repopulated -
Update service so that it handles new line data. -
New BetLine component in vue - pump in bet lines and generate fieldset (need to store a global bet return based on odds of all bet lines).
-
Bet line match population (see hydrator)
-
UI button to add new line.
-
Move source page generation out of index controller - separate action. -
Scrape match sources, update winner. (step 1, create source page for each match) -
Relationship between match & SourcePage. -
Then create controller action to scrape all completed matches. -
When selecting a match (on bet add/edit form), link that match to the bet. -
When a bet result is scraped, mark associated bets as winners/losers.
-
Bet status extension (win/lose/pending)
-
List bets by day/week/month - group w/l for period, graphs for bets for sport or weekly etc
- Add new section to interface - Matches (filterable by sport).
- Add new team section to interface. Show recent match history.
- Two new pages for matches section - Upcoming match (recent patches, win %, key facts) / Match results.
- Extend team model - current rating, notes, key facts, key players etc. Allow allow user input (key facts with tags: weight, plus/negative, expiry_date)
- New Player model, linked to team.# - player recent stats, current rating, injured/suspended etc.
- Create new vue model for Modals.
- Create new vue model for Select (with/without optrgoups).
Create new 'alternative-option' vue model (adds button to ele, adds modal containing select, binds select value to input).Create new bet line vue model, create bet lines vue model. Create x amount of bet lines based on lines array.Add new button to UI that allows more lines to be added.
- Logging
Template engine.- Template engine - get layout working properly.
XSS escaping.CSRF for forms.- Users, Authentication & ACL.
Frontend modules/dependency managerMake modules self contained (add css/js etc to module, will need a 'publish' method to push to publci folder).
Match date being calculated wrong, results in match being scraped multiple times.
- Clone repo.
- Install dependencies via composer (composer.phar install)
- Install frontend dependencies (bower install)
- Build schema (vendor/doctrine/doctrine-module/bin/doctrine-module orm:schema-tool:update
- Scrape completed matches - php public/index.php scrape matches