summaryrefslogtreecommitdiff
path: root/modules/tracking.py
AgeCommit message (Collapse)AuthorFilesLines
2014-03-10tracking: Allow identical tracking codes across types.Jon Bergli Heier1-8/+10
2014-03-09tracking: Handle HTTP errors in all tracking modules.Jon Bergli Heier1-2/+8
2013-11-19tracking: Use consignment code+label when announcing conflicts.Jon Bergli Heier1-1/+1
2013-10-01tracking: Use consignment instead of packages when listing URLs.Jon Bergli Heier1-3/+2
2013-08-16tracking: Say that no packages were found if the Posten API returns HTTP 404.Jon Bergli Heier1-0/+7
2013-08-14tracking: Handle exceptions in lc_callback to avoid stopping the LoopingCall.Jon Bergli Heier1-0/+4
2013-08-14tracking: Ignore fedex events with missing date or time.Jon Bergli Heier1-0/+3
2013-08-14tracking: Parse datetime for tollpost.Jon Bergli Heier1-2/+2
2013-07-09tracking: Added tollpost support.Jon Bergli Heier1-0/+31
2013-07-04tracking: Strip whitespace in descriptions from Posten.Jon Bergli Heier1-1/+1
2013-06-13tracking: Simplified usage and added help.Jon Bergli Heier1-1/+10
2013-06-13tracking: Added scanDetails to fedex status.Jon Bergli Heier1-0/+2
2013-05-23tracking: Added fedex support.Jon Bergli Heier1-3/+41
2013-05-09Sanified some module imports.Jon Bergli Heier1-3/+3
2012-12-20tracking: Fixed label command.Jon Bergli Heier1-1/+1
2012-12-17tracking: Also filter by package codes when stopping trackings.Jon Bergli Heier1-2/+6
2012-10-24tracking: Properly update packages when the code changes.Jon Bergli Heier1-4/+26
This is done by looking for the previousPackageId, and setting the previous_code attribute on the TrackingResult object. Both code and previous_code is then queried, and the package code is updated to code if it doesn't already match.
2012-09-23tracking: Fixed typo.Jon Bergli Heier1-1/+1
2012-09-23Filter consignments by server to allow updating trackings not registered in ↵Jon Bergli Heier1-9/+15
a channel.
2012-09-16tracking: Convert all outgoing unicode objects to str.Jon Bergli Heier1-2/+6
2012-09-12tracking: Always announce delivered packages.Jon Bergli Heier1-1/+1
2012-07-24tracking: Return URLs for all packages unless a tracking code is passed.Jon Bergli Heier1-5/+7
2012-07-21tracking: Fixed some newly added encoding oddities.Jon Bergli Heier1-4/+10
2012-07-17tracking: Cleanup code/label formatting.Jon Bergli Heier1-20/+23
2012-07-17tracking: Added the url command.Jon Bergli Heier1-4/+33
2012-03-29tracking: Don't add delivered packages.Jon Bergli Heier1-0/+3
2012-02-18tracking: Allow checking for stale consignments on non-propagating package ↵Jon Bergli Heier1-2/+2
errors.
2011-12-31tracking: Output proper message on status when no packages are registered.Jon Bergli Heier1-3/+3
2011-12-20tracking: Added proper check for delivered packages.Jon Bergli Heier1-1/+2
2011-12-15tracking: Added timeout with error handling.Jon Bergli Heier1-11/+18
2011-10-05tracking: Ignore NoPackgeFound errors in update_consignment().Jon Bergli Heier1-1/+5
2011-10-05tracking: Handle multiple matches in track_stop().Jon Bergli Heier1-9/+12
2011-08-22tracking: Don't encode label twice.Jon Bergli Heier1-1/+1
2011-08-04tracking: Set package_results to [] when tm.track() returns None (fixes ↵Jon Bergli Heier1-3/+1
stale consignments).
2011-07-19tracking: Fixed data usage in update_consignment().Jon Bergli Heier1-1/+1
2011-07-19tracking: Overhauled some code to support other data sources.Jon Bergli Heier1-47/+102
Tracking code is now in a separate class, which is chosen by a prefix on the tracking numbers (prefix:code). By subclassing the TrackingModule class, new sources can easily be added.
2011-07-18tracking: Use 'add' as an alias for 'start'.Jon Bergli Heier1-3/+3
2011-07-01tracking: Content-Type changed to application/xml.Jon Bergli Heier1-1/+1
2011-03-29tracking: Remove stale empty consignments.Jon Bergli Heier1-0/+5
2011-03-17tracking: Remove stale packages.Jon Bergli Heier1-0/+5
2011-01-11tracking: Prefix conflict message with nick instead of target.Jon Bergli Heier1-1/+1
2011-01-11tracking: Fixed typo in update_consignment().Jon Bergli Heier1-1/+1
2011-01-11tracking: Attempt to detect conflicts by committing when a package is added.Jon Bergli Heier1-15/+13
2011-01-11tracking: Moved confliction code to lc_callback().Jon Bergli Heier1-10/+10
2011-01-11tracking: Attempt to detect and remove conflicting consignments.Jon Bergli Heier1-0/+9
2010-11-10tracking: Replace <br/> with a space.Jon Bergli Heier1-1/+1
2010-09-30tracking: Uncomment self.lc.start() call.Jon Bergli Heier1-1/+1
2010-09-28tracking: Fixed typo in lc_callback().Jon Bergli Heier1-1/+1
2010-09-28Check package status when adding (start) and checking (status) your own ↵Jon Bergli Heier1-37/+63
trackings.
2010-09-28tracking: stop and status now handles labels.Jon Bergli Heier1-21/+18