Fixed a few issues setting up tooltron on Marvin
Adding init script for mainbox installation
Fixed problems with previous fix
Fixed exception in event add page
Fixed card removal detection
Also switched from using seek command to select command with the reader.Select returns a result immediately, rather than seek which firstreturns an "in progress" error then later returns the card (as far as Ican tell).
Removed pid file necessity
Still uses it if running as root, but otherwise doesn't bother. Shouldbe a bit easier for local testing.
Added clarifying comment for code that confused me
TODO document all this lol
Fixed event queue bug
Implemented code for new RFID readers
It's not fully working yet. When the checksum is enabled, it ignores allresponses. Also, it no longer recognizes a missing card.
Added LRU eviction to cache. Not tested yet.
Fixed build warnings from last commit
Added automatic subscription to roboclub-gb on user creation
Added stop command and fixed pid file deletion
Added new view roboauthall
It returns bitmask of all tool permissions for a given user
Major changes to mainbox code.
-Added local cache for RFID -> tool permissions-Queries new page /crm/roboauth/%08x, which gives bitmask of all toolpermissions instead of just one-Added pid file at /var/run/tooltron.pid-Now must be run as "tooltron run" and also has "tooltron refresh" and...
Added new logging functions which inject timestamps
Changed URLs to match actual server
Removed some of the fields on the add user admin page
Removed rfid_restart flag
This way the AVR will always repoll the rfid reader after the timeout,so hopefully it will never hang. Who knows?
query.c has optional debug output for /add_card_event
Fixed missing import in views.py
Adding program_tool script so we remember how to set tool id
Added environment setup to wsgi.py for usage with apache
Removed migrations from repo
Fixed Add User page error
Added add_card_event view and made some minor changes to models
Event submissions from ./tooltron tested and working
Added username/password to add_event query
Fixed curl SSL queries failing and queue bug
Added query_add_event to mainbox code
Removed a bunch of .pyc files
Added some scripts for working with virtualenv and running the server
Removed virtualenv and added requirements.txt in its place
Now each developer can have their own virtual environment built fromrequirements.txt, without the annoying path problems that come from theenvironment being under source control
Fixed another overflow bug and removed isqrt
Fixed timing in current sensing
The ADC interrupt didn't clear the TIFR timer interrupt flag, whichmeans the ADC wasn't triggered again on the next compare match.
Fixed overflow in current calculation
Switch ADC to timer 1 because timer 0 was taken. Oops.
Untested current RMS calculation
It's not actually RMS, it's variance. Same general idea.
Fixed annoying warnings about avr/signal.h
mainbox now prints error on 404 or 500 from server
Moved tool address to Makefile
Made errors less noisy
If it can't connect to a tool, it will print an error once, and thenprint another message when it is able to reconnect.
Merge branch 'master' of ssh://roboclub.org/home/svn/tooltron
jeff made changes to model and added migrations
updated boards to include holes.
1 2 3 Next » (1-50/110) Per page: 25, 50, 100
Also available in: Atom