AntLog - double elimination result logging tool

Place discussions about upcoming events here in this thread.

Moderators: petec, administrator, BeligerAnt

User avatar
joey_picus
Posts: 1136
Joined: Tue Jan 13, 2009 1:51 pm
Location: Lancaster, Lancashire
Contact:

Re: AntLog - double elimination result logging tool

Postby joey_picus » Mon Apr 20, 2015 10:44 pm

Yep, that's why I said 'less friendly' - in my (biased) opinion any sort of qualification would be preferable to seeding but both are against the real DNA of the AWS and the 'go anywhere, fight anywhere' ethos of antweights in general.

This might be the impossible question, but when do you think v3.0 would be ready for a full field test? I'm wondering if any of the non-AWS events over the summer would work (or if the SAC could make a comeback - I miss Brighton!)
Joey McConnell-Farber - Team Picus Telerobotics - http://picus.org.uk/ - @joey_picus
"These dreams go on when I close my eyes...every second of the night, I live another life"

Hogi
Posts: 946
Joined: Sun Dec 30, 2012 6:47 pm
Location: basingstoke

Re: AntLog - double elimination result logging tool

Postby Hogi » Tue Apr 21, 2015 4:13 pm

we could test it at antweight open this year but that wont be until late november.
Featherweight under construction.

Antweight to build list: 4Wd lifter, new clusterbot, secret project, walker of some description.

Team Hectic.

User avatar
BeligerAnt
Posts: 2437
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Postby BeligerAnt » Tue Apr 21, 2015 7:55 pm

Dan I was thinking of AntweightOpen as it's a manageable size and we could run AntLog 2 in parallel just in case...

I don't think I can really commit to any sooner as there will be a lot to sort out in terms of documenting the setup and installation. To really get the benefits of the client-server architecture the setup is somewhat more complicated than AntLog 2 which only requires OpenOffice.

Anyway, time to get back to Role-Based Access Control...
Gary, Team BeligerAnt

User avatar
BeligerAnt
Posts: 2437
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Postby BeligerAnt » Wed Apr 22, 2015 11:06 pm

Data editing rules are proving "interesting" in AntLog 3.0...

Since my idea is that the database may contain details of more than one event, there are restrictions on when robots and teams can be edited and/or deleted so that the database relationships don't get broken or history rewritten!

So far all the rules regarding creating, editing and deleting teams have been implemented.

Teams can be created by anyone ( = user signup)
Teams can be renamed even if they appear in the fights table
Renaming a team also changes the associated username
Teams can only be renamed by the team owner or administrator
Teams cannot be deleted if they contain any robots
Teams can only be deleted by the administrator
Deleting a team will also delete the associated username

Next on the list is robots...
Each team can log in, and once logged in can update their own team/robot details. The administrator can update everything.
A robot that appears in any event cannot be deleted or edited, but there is no limit to the number of robots associated with a team so it's not necessary to delete retired robots. I may add a current/retired flag to the robot data to make it easier to view only current robots.
Gary, Team BeligerAnt

User avatar
BeligerAnt
Posts: 2437
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Postby BeligerAnt » Thu Apr 23, 2015 9:22 pm

Tonight's progress has been to get the access control for robot editing sorted :)

Robots cannot be edited if they appear in the fights table
Robots cannot be deleted if they appear in the fights table
Robots can only be edited by Admin or own team
Robots can be added by Admin or own team

The idea of "retiring" robots still needs to be worked on.
Gary, Team BeligerAnt

User avatar
joey_picus
Posts: 1136
Joined: Tue Jan 13, 2009 1:51 pm
Location: Lancaster, Lancashire
Contact:

Re: AntLog - double elimination result logging tool

Postby joey_picus » Thu Apr 23, 2015 11:05 pm

It sounds like quite a wide-ranging system - are you sure you're not aiming at replacing this website? :P It's sounding really good though, I can't wait to try it out.
Joey McConnell-Farber - Team Picus Telerobotics - http://picus.org.uk/ - @joey_picus
"These dreams go on when I close my eyes...every second of the night, I live another life"

User avatar
BeligerAnt
Posts: 2437
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Postby BeligerAnt » Fri Apr 24, 2015 3:14 pm

I'd never presume to try to replace RW101 :D

However, ensuring some sort of compatibility between database tables so that sign-ups and results can be transferred back and forth easily would be a nice feature...
Gary, Team BeligerAnt

engr
Posts: 171
Joined: Thu Feb 14, 2002 12:00 am
Contact:

Re: AntLog - double elimination result logging tool

Postby engr » Fri Apr 24, 2015 6:23 pm

It looks like you are using bootstrap, its been a while since i've used PHP but if you need any help get it onto github!

You still have the "Antweight Webring" on http://homepage.ntlworld.com/g0xan/robots/ I made back in the day!

User avatar
BeligerAnt
Posts: 2437
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Postby BeligerAnt » Sat Apr 25, 2015 9:32 am

Cool, thanks for the offer of help!

Yes it uses Yii which uses Bootstrap. Once I get it in a stable state I'll put it on GitHub. At the moment it's a bit fluid as my ideas develop which would probably just be extremely infuriating for anyone else trying to keep up!

Ah webrings, those were the days! ;) Possibly ought to update that site at some point...
Gary, Team BeligerAnt

User avatar
BeligerAnt
Posts: 2437
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Postby BeligerAnt » Sun Apr 26, 2015 8:56 pm

AntLog is now on GitHub!

https://github.com/GaryA/antlog

I've just realised that the very important thing that's missing so far is the database schema. Without it you won't get very far...

[Edit] I've now uploaded the database schema. Instructions are still sparse so anyone not used to setting up webservers and mySql databases might be better off waiting for full instructions.
Gary, Team BeligerAnt

User avatar
BeligerAnt
Posts: 2437
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Postby BeligerAnt » Sun May 17, 2015 8:36 am

So after a few weeks of radio silence (and busy evenings!) AntLog 3.0 is more-or-less stable. :)

Still a lot of testing to do (now that I have automated testing and code coverage working 8) ), and documentation to write (there will be a wiki on the Github page).
Also need to figure out, test and document the best way to deploy it, and I'd like to set up an online version at least as a demo.

Then there are future features that won't make it to the first release...
Gary, Team BeligerAnt

User avatar
BeligerAnt
Posts: 2437
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Postby BeligerAnt » Wed Jun 17, 2015 9:33 pm

AntLog3.0.0 beta is released!

The Wiki describes how to download, install and run AntLog.

Install Xampp and Composer as described then Composer can be used to download and install AntLog. Follow the Wiki instructions to set up and run AntLog.

If you want the development version of AntLog, the best solution is to clone the project from GitHub.

Please someone have a go at setting it up and let me know how it goes! I would prefer to see issues reported via GitHub but this requires you to create a GitHub account so I will check this thread for comments as well.

Currently there are only instructions for Windows. If you run Linux I expect you can figure out what to do! If you get it running on a Mac please add a page to the Wiki to tell others how to do it!
Gary, Team BeligerAnt

User avatar
joey_picus
Posts: 1136
Joined: Tue Jan 13, 2009 1:51 pm
Location: Lancaster, Lancashire
Contact:

Re: AntLog - double elimination result logging tool

Postby joey_picus » Wed Jun 17, 2015 10:05 pm

I'll give this a go; will report back soon (probably tomorrow since my internet's been on and off) on this thread as I don't have a GitHub account :)

EDIT: During the second step (installing Composer) the install aborted entirely due to requiring OpenSSL, which it decided I didn't have - there's probably a really obvious thing I'm missing here but what do I do?
Joey McConnell-Farber - Team Picus Telerobotics - http://picus.org.uk/ - @joey_picus
"These dreams go on when I close my eyes...every second of the night, I live another life"

User avatar
BeligerAnt
Posts: 2437
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Postby BeligerAnt » Thu Jun 18, 2015 6:28 pm

Well done Joey, you win the prize for finding the first bug in the documentation! :)

Step 1:
Install Xampp

Step 1a:
Open the file C:\xampp\php\php.ini in a text editor such as Notepad.
Search for the line ";extension=php_openssl.dll" (around line 1000 - use the editor's search function!)
Remove the semi-colon that comments out this line. Save and close the file.

Step 2:
Install Composer - it should work now!

EDIT: GitHub Wiki updated to include enabling openSSL

EDIT 2: Joey has unearthed another problem so currently the install isn't working... stay tuned!
Gary, Team BeligerAnt

User avatar
BeligerAnt
Posts: 2437
Joined: Wed May 15, 2002 12:00 am
Location: Brighton
Contact:

Re: AntLog - double elimination result logging tool

Postby BeligerAnt » Tue Jun 23, 2015 9:49 pm

AntLog 3.0.0beta released (again)

Thanks to assistance from Joey, the downloading and installation of AntLog seems to be sorted out now :)

See the Wiki on GitHub for details of what you need and where to get it.

Once again, please try it out and report bugs! Enhancement suggestions are also welcome but bugs will be given highest priority!
If reporting bugs, please provide as much information as possible. Screenshots/videos make reproducing and hunting down bugs much easier!
Gary, Team BeligerAnt


Return to “Events”

Who is online

Users browsing this forum: No registered users and 2 guests