0
I Use This!
Inactive

Commits : Listings

Analyzed about 6 hours ago. based on code collected about 8 hours ago.
Apr 27, 2023 — Apr 27, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Bug fix: Identify format raises ValueError: unsupported format character 'w' More... over 17 years ago
Bug fix. Bug: Photos which would return None instead of their unique flirckr id, wouldn't be added to sets. Fix: This changelist retrieves the recently updated images, and matches their title to the one to be uploaded. If the names match, the id is retrieved and the photo is added to set. Otherwise, retry. More... over 17 years ago
Documentation line added More... almost 18 years ago
More verbose More... almost 18 years ago
proposed bug fix: cannot concatenate 'str' and 'NoneType' objects More... almost 18 years ago
updated! More... almost 18 years ago
http request, response More... almost 18 years ago
Upload support thro' /stream No more uploading allowed thro /tags More... almost 18 years ago
Bug fixes. 1. str index out of range - caused by comm_meta 2. timerThread wd stop running if get an exception - added try except clause More... almost 18 years ago
3 parameters now. image.size, sets.sync.int, stream.sync.int. sync.int parameters take values in seconds, and decide how often will the fs be synced to sets/stream online. More... almost 18 years ago
Stream includes ALL photos. sync_stream syncs ALL photos as well. sync code refined. More... almost 18 years ago
Local Syncing of sets: Supports addition/deletion of sets/photos online More... almost 18 years ago
Included support for: Uploaded photos meta-data files linking of photos from stream,tags,sets to sets w/o retrieving them locally AUTO-SYNC with flickr More... almost 18 years ago
Debug on/off switch in flickrapi.py. More... almost 18 years ago
Needed config.txt to specify the default uploading size of photos. 1 task in TODO done. More... almost 18 years ago
Implemented resizing of photos. auth_token is now provided by flickrfs, instead of assumed by flickrapi. This fixes a bug while authenticating thro browser. Indentation fix - all tabs. No spaces. Changed format of metadata files to include more info. More... almost 18 years ago
Indentation fixes (space to tab). More... about 18 years ago
Minor tightening and regularizing of code in TransFlickr. Mostly making the 'if [not] rsp' clauses consistent in format, some regularizing of the format of the error log strings, and removing some try/execpts that shouldn't be needed (if they were they would be masking bugs in fapi that would need to be fixed, and that seems unlikely at this point in the code development). More... about 18 years ago
Sort the preamble stuff a bit. Gather all the imports in one place and sort them more or less into standard order (Python-included stuff first, then our local stuff). Extract the homedir setup from the middle of the logging setup stuff. Put all the global var definitions at the top right after the imports to make them easy to find and modify if needed. More... about 18 years ago
Consolodate removal of old metadata files into an else clause of the new if statement that checks if the directory doesn't exist. Also switch to using only the documented glob interface (glob). As an undocumented internal, glob1 is not really future proof. More... about 18 years ago
Switch to use path.exists rather than try/except for creating the homedir. More... about 18 years ago
Simplify error handling in TransFlickr by changing to a more pythonic error handling scheme in flickrapi. Instead of a method we pass the result XMLNode back to for parsing, put the methods on the XMLNode itself. Two new methods: __nonzero__, which returns True if the XMLNode contains a valid response, and False if it contains an error. That way we can say "if rsp: <good case> else: <error case>". Next we add a get_errortext method that parses out the error message and returns it. Then we assign that as a property to 'errormsg'. So now our error case can say "log.error("error: %s" % rsp.errormsg)". More... about 18 years ago
Python dropped the requirement for backslashes at the end of continued lines inside parenthesis a long time ago. Should be safe enough to delete them, since we probably depend on other more modern features of the language as well. More... about 18 years ago
Enhance FlickrAPI slightly by having it use the API Key it is given at init time as the API key if none is passed in the call. Also record the auth token when getToken is called, and use that as the default auth_token if none is supplied in the call. I'm not 100% sure that the second of these causes no problems for general FlickrAPI use, but it certainly doesn't cause any problems for Flickrfs. Flickrfs passed the auth_token in every call except getTaggedPhotos in the public case, and it turns out that the behavior doesn't change if you pass the auth_token in that case as well. So for Flickrfs purposes this is a useful mod, since it means we can leave those two keyword parameters out of the fapi calls, making the code simpler and easier to read. More... about 18 years ago
FlickrAPI is now completely hidden behind TransFlickr, so we can clean up that extra 'extras' variable. Also move around the initialization log messages. Only TransFLickr needs to know about the API key, so take that out of its init. More... about 18 years ago
Remove IDE comments, and also the 'flag' class variable that isn't actually used anywhere. Also delete the remaining comments that are left over from the FUSE example skeleton. More... about 18 years ago
Factor tags_thread fapi call into a TransFlickr method getTaggedPhotos. More... about 18 years ago
Refactor the fapi photos_search call in streams_thread into a TransFlickr method getPhotoStream. More... about 18 years ago
Factor out the fapi calls in sets_thread into functions of TransFlickr. Move the 'extras' class variable to TransFlickr. Shortly the reference to it on Flickrfs will dissapear. More... about 18 years ago
Logically the authorization and the authorization token belong to the TransFlickr object, since it's the thing mediating the communcation with Flickr. So we move the auth step into the init routine for TransFlickr, and make 'token' (renamed 'authtoken') an instance variable. Again, FLickrfs is currently peeking in to get that varaible, but we'll move those functions onto TransFlicks as well momentarily. More... about 18 years ago