spring replay site
Moderator: Moderators
spring replay site
I will hopefully get an alpha version online {end of, next} week.
- Attachments
-
- srs.jpg
- (98.96 KiB) Downloaded 9 times
Re: spring replay site
What have you built this in?
Re: spring replay site
AF wrote:What have you built this in?
he built it in a van down by the river
Re: spring replay site
Django (Python), the design is from oswd.org. Will soonish push all to github and inform here.AF wrote:What have you built this in?
- SanadaUjiosan
- Conflict Terra Developer
- Posts: 907
- Joined: 21 Jan 2010, 06:21
Re: spring replay site
lol, +1 for Smothsmoth wrote:AF wrote:What have you built this in?
he built it in a van down by the river
+1 also for the topic of this thread

Re: spring replay site
Oh well... took longer than I thought (it always does :).
Site: http://replays.admin-box.com/
GitHub: https://github.com/dansan/spring-replay-site/
Needs a lot of polishing, esp. the HTML. If anyone wants to do a nicer template I'll happily use it.
The data model is stable I think, so you can register and upload stuff. I will try to not delete anything, but I cannot guarantee that atm. But as far as I can see it. it's mostly "view" stuff that needs (a lots of) editing...
If this works out well, maybe the domain replays.springrts.com could be set to the servers IP?
Please report issues here or on github.
Site: http://replays.admin-box.com/
GitHub: https://github.com/dansan/spring-replay-site/
Needs a lot of polishing, esp. the HTML. If anyone wants to do a nicer template I'll happily use it.
The data model is stable I think, so you can register and upload stuff. I will try to not delete anything, but I cannot guarantee that atm. But as far as I can see it. it's mostly "view" stuff that needs (a lots of) editing...
If this works out well, maybe the domain replays.springrts.com could be set to the servers IP?
Please report issues here or on github.
- marciolino
- Posts: 268
- Joined: 06 Sep 2010, 22:59
Re: spring replay site
THANKS DANSAN! Nice work 

Re: spring replay site
i uploaded a replay:
http://replays.admin-box.com/replay/214 ... 01cdf4421/
when i first clicked "submit" i got an error:
(pastebin of the html)
then i clicked back, hit submit again and it worked..
Though notice that it does not list players and the title/description does not show eithe.
Also here:
http://replays.admin-box.com/players/
it lists [2up]knorke but when clicked it does not link the game.
random things:
-make it possible to login with lobby account
iirc that is somehow possible for websites and eg zerok does it.
-spoiler function. (do not show winner until clicking something)
-dl links for map+game
http://replays.admin-box.com/replay/214 ... 01cdf4421/
when i first clicked "submit" i got an error:
http://pastebin.com/en1Qv81yWarning at /upload/
Out of range value adjusted for column 'accountid' at row 1
(pastebin of the html)
then i clicked back, hit submit again and it worked..
Though notice that it does not list players and the title/description does not show eithe.
Also here:
http://replays.admin-box.com/players/
it lists [2up]knorke but when clicked it does not link the game.
random things:
-make it possible to login with lobby account
iirc that is somehow possible for websites and eg zerok does it.
-spoiler function. (do not show winner until clicking something)
-dl links for map+game
Re: spring replay site
oops... sorry... didnt notice your post.
Still players without an account is a problem, as I didnt plan for that, and now some links/queries brake...
I reuploaded, now its better: http://replays.admin-box.com/replay/214 ... 01cdf4421/ but the links on the players names are broken (account-thingy), in other replay-details its ok...
Thank you for reporting. It is a bug that is semi-fixed now. I was assigning 999999999 as accountID for players without account - that worked with sqlite, but is to big for mysql xDknorke wrote:i uploaded a replay:
http://replays.admin-box.com/replay/214 ... 01cdf4421/
when i first clicked "submit" i got an error:http://pastebin.com/en1Qv81yWarning at /upload/
Out of range value adjusted for column 'accountid' at row 1
(pastebin of the html)
Still players without an account is a problem, as I didnt plan for that, and now some links/queries brake...
reuploading isnt supported atm, so data ends up incomplete... have to impl. a roll-back mechanism if things go bad.then i clicked back, hit submit again and it worked..
Though notice that it does not list players and the title/description does not show eithe.
I reuploaded, now its better: http://replays.admin-box.com/replay/214 ... 01cdf4421/ but the links on the players names are broken (account-thingy), in other replay-details its ok...
Player-without-account-problem...Also here:
http://replays.admin-box.com/players/
it lists [2up]knorke but when clicked it does not link the game.
I'd love to... I guess it has to move to springrts-server for that. Once site is working properly I'd like to do that (if admins approve).random things:
-make it possible to login with lobby account
iirc that is somehow possible for websites and eg zerok does it.
really? :D OK... uhm... someone knows JS and can code a little something?-spoiler function. (do not show winner until clicking something)
queued-dl links for map+game
Re: spring replay site
ah good. cool that there might soon be replay site again :)
Re: spring replay site
template --> http://ladder.springrts.com/helpdansan wrote:OK... uhm... someone knows JS and can code a little something?
Re: spring replay site
Oh that's beautiful - thank you.koshi wrote:template --> http://ladder.springrts.com/help
I will use it also to show/hide stuff that's seldom of interest like {map,mod}options, host etc.
Re: spring replay site
This is what things like twitter bootstrap are for
Re: spring replay site
Thank you for the pointer. I'm really a web-noob, these infos help me :)
(When I started coding the site I was naively hoping to somehow get around html/css/js coding....
)
(When I started coding the site I was naively hoping to somehow get around html/css/js coding....

Re: spring replay site
Don't work too hard on the current design. Come the start of Summer I'll have tons of free time and might end up designing and coding a site for you 

Re: spring replay site
AWSOME, we can finally play the mar-contest again
Re: spring replay site
What's the "mar-contest"?
Good news everyone:
Good news everyone:
- I implemented lobby account auth. You can now login with your lobby account. I'm waiting for a small protocol change by the ZeroK-team (https://code.google.com/p/zero-k/issues ... 1336036144) to make it resistant against renames. Existing accounts continue to work.
- I added a XML-RPC interface that allows for automatic uploading (example client: https://github.com/dansan/spring-replay ... _client.py). I asked bibim if he can add a command to spads to use it, so that tourney admins can switch auto-upload on and off, and can later edit all uploaded replays