Commits

Author Commit Message Labels Comments Date
Richo Healey
Implment an args strategy It will be the default if args are provided, if not it will be removed from the strategy list. It will update the cache, meaning if you know where you are with greater accuracy than other strategies can provide, you have a way to transparently teach doko where you are.
Branches
strategies/args
Lars Yencken
Fix use of DOKO_PRECISION environment variable.
Lars Yencken
Fix the --show option after recent update.
Lars Yencken
Update the README to match current API.
Lars Yencken
Pull location source into core tuple. Also put responsibility for serializing and deserialising locations into the Location class.
Lars Yencken
Clean up pull request. - Use mtime as cache timestamp - Only cache output of non-cache strategy - Also return strategy from location method - Strip trailing main() call on import - Style linting
Richo Healey
Cache the raw location data, even if we're asked for less precision
Richo Healey
Use a filebacked cache for up to 30 mins
Lars Yencken
Update the README and version bump.
Lars Yencken
Move backoff logic into top-level method.
Lars Yencken
Have --show respect precision.
Lars Yencken
Have user install corelocation support explicitly.
Lars Yencken
Style linting.
Lars Yencken
Fix typo in backoff strategy use.
Lars Yencken
Merged in richo/doko/features/hax (pull request #1: Compatibility shims)
Richo Healey
Use DOKO_PRECISION environment variable to globally set precision
Richo Healey
Implement a --precision flag to allow some privacy
Richo Healey
Vainly fix my name
Richo Healey
Presentation should be the concern of a Location This change brings the output format inline with whereami(1) and also selfishly serves to make it work with the applications I've already developed
Richo Healey
Have doko use strategies in order, configurably This also should complete the changes needed to make it do reasonable things on windows and linux
Richo Healey
Work without CoreLocation on non-darwin platforms
Richo Healey
Implement a request timeout on the geoip handler
Lars Yencken
Fix short title underline.
Tags
v0.1.0
Lars Yencken
Simplify intro a little more.
Lars Yencken
Back off to GeoBytes page for external geocoding.
Lars Yencken
Minor reword of intro.
Lars Yencken
Add explicit permissive ISC license.
Lars Yencken
Remove comma in example.
Lars Yencken
Fix RST code blocks in README.
Lars Yencken
An initial implementation of doko.