Switch branches/tags
Nothing to show
Commits on May 27, 2013
  1. Minor change - StationListQuery.tags now points to SummaryPredictionQ…

    …uery.tags to make sure it's always compatible.
    committed May 27, 2013
Commits on May 14, 2013
  1. Added the remaining queries, cleaned up some code, adding some useful…

    … logging, and fixed some bugs that went unnoticed in the reading of parameters and the parsing of same.
    committed May 14, 2013
Commits on May 7, 2013
  1. Working implementation using the wsgi.handlers.CGIHandler implementat…

    …ion over the previous CGI implementation.
    Still only working for detailed predictions.
    More generic handling of the namespace-qualified tags, now in the initialiser of the base class.
    New base class for Status queries e.g. LineStatusQuery and StationStatusQuery now only implement the _parse_xml method of StatusQuery, which now implements the common methods _make_filename and _process_request.
    committed May 7, 2013
Commits on Apr 18, 2013
Commits on Apr 10, 2013
  1. Moved more functionality into query module.

    Added processing of request and making cache filename for most of the queries.
    StationListQuery not yet worked on.
    committed Apr 10, 2013
Commits on Apr 7, 2013
Commits on Apr 1, 2013
Commits on Jan 29, 2012
  1. Silly mistake by me, assuming that I could put a stupidly simple equa…

    …tion in a const declaration in PHP. Found out the hard way that I was wrong…
    Fixed by just calculating the number and writing it down by hand.
    committed Jan 29, 2012
  2. Changed the expiry time of the stations list cache to be 8 weeks inst…

    …ead of just 7 days, as was having issues with refreshing some of the lists, so better to rely on an older cache that works.
    Will soon add measures to validate the JSON before writing to cache.
    committed Jan 29, 2012
Commits on Jan 28, 2012
  1. Making tfl-new.php the newest version of tfl.php. Responses are the s…

    …ame, access is the same, so it's time to make it the default PHP script.
    committed Jan 28, 2012
Commits on Jan 22, 2012
  1. Improved its ability of catching errors. Both in terms of client requ…

    …ests as returned by requests to TfL. Fails fast most of the time
    committed Jan 22, 2012
Commits on Jan 20, 2012
  1. Cleanup and commenting run. Added a class for defining HTTP header co…

    …des, which will be used later for checking returns from TfL feeds.
    committed Jan 20, 2012
Commits on Jan 17, 2012
  1. tfl.php is now OO! Starting with tfl-new.php, which has yet to be upl…

    …oaded, but will be replacing current tfl.php on server.
    No changes to functionality, inputs or outputs made
    committed Jan 17, 2012
Commits on Jan 15, 2012
  1. Minor edits to tfl.php to add some header information.

    Added tfl-new.php which will soon replace tfl.php, without changing its functionality. Instead, this is an OO version of tfl.php, which has already helped cut down on the number of lines of code with a little work.
    committed Jan 15, 2012
Commits on Jan 8, 2012
  1. Minor change to BASE_FILE variable, so that cached files are written …

    …to/read from cache directory, which should be in the same group/owned by the same user as the script runs under.
    Changed due to having caused issues arising from the use of safe mode on new host.
    committed Jan 8, 2012
Commits on Dec 4, 2011
  1. Version 0.3 - now uses better types for values.

    Integers and Booleans are now represented as the correct type, not as
    Strings. This may break things, but it had to be done eventually.
    Examples have been updated to reflect the changes
    committed Dec 4, 2011
Commits on Dec 3, 2011
Commits on Nov 29, 2011
  1. BIG error fix to stationslist requests' JSON reply

    stationslist replies had a stations object with a stations array
    contained within, which was redundant and broke parsing with GSON in
    Java. Updated docs to reflect.
    committed Nov 29, 2011
Commits on Nov 27, 2011
  1. Version 0.1.5 - Code cleanup, echo performance improvement, safer fil…

    …e handling
    Cleaned up code by moving repetitions to convenience methods. This
    included file handling, making it slightly safer if things must change.
    Method to get XML made also, again out of convenience. Minor release
    and changes.
    committed Nov 27, 2011
  2. Version 0.1.1 - Fixed JSON syntax when asking for timed request, but …

    …broke timed request slightly
    This fix makes the JSON syntax valid when requesting processing time,
    but the timing data is cached alongside. This breaks timing when
    getting a cached copy of the file :(
    committed Nov 27, 2011
Commits on Nov 25, 2011
  1. Very minor changes to informational text files

    Added a <br/> that was missing from index, added google analytics
    script (to track the roughly 1 person per month that might access it,
    if that). Minor edits to README to make it read nicer (slightly)
    committed Nov 25, 2011
Commits on Nov 24, 2011
  1. Added README file

    committed Nov 24, 2011
Commits on Nov 23, 2011
  1. Version 0.1 - Initial Commit

    Simple API in PHP for TfL's data feeds, returning the important
    information in JSON format.
    committed Nov 23, 2011