Sticky Revision: |
mavenize
use 127.0.0.1 as mailhost for circuitbreaker notifications
typo in query
top 5 -> top10
add body and html tags to generated doc
Import cleanup
Correct link to tritinfo page
Add tritinfo station comparator
Better handling of null tritstation values
Refactor tritinfo fetcher to seperate class
trafikinfo.bane.dk now uses /RutePlan?togNummer=xxxx style URLs
with glassfish4 we can finally use the short naming scheme
Nogle svenske stationer er prefixed med "Sverige/" hos bane danmark, men det bruger jeg ikke så det fjernes inden vi laver videre behandling af stations comparatoren.
A little more work on comparing ids
Add support for detecting duplicate station keys
Add support for comparing station ID's
add order by name on tritinfo DB dump
switch trininfo to a Logging circuit breaker
remove debug output
don't log the full stacktrace when tritinfo fails
add tritinfo extract to db dump servlet - take 2
add tritinfo extract to db dump servlet
remove debug output
only append trackType if it is not-empty
First attempt at tritinfo integration
add 30 day stats
Be a little more picky about request parameters, and require that they actually has a non-empty value
Also extract aliases from DB to XML response
tæl antallet af ajax request
use ajax/jquery for loading compare data
increase cache timeout
make comparestations a better tool for discovering active / inactive stations
open links to bane.dk in new tab
Probe the found stations for whether there are departure data for the stations
make CompareStations display whether we actually know this station but it is currently disabled
this var is only editable by web.xml
make the sending of mails configurable
No need to push aliaseses to clients so we can simplify the code a bit
Postgres can't do a proper sort when name contains scandinavian letters, but java can :)
The dump should be ordered by name
Can't have this function marked as deprecated now that it's vital for the client side station list
Flesh out all logic from TrainInfoCommon so it just contains simple beans
use a safer way to decode the argument string
add support for dummy lookups - needed for statistics when the stationlist goes clientside
create the locations most-recent-first
remove station suffixes from search string before db lookup
also log whether we actually found any with fuzzy str search
remove . on name before fuzzyname search
only calculate the levenshtein distance once
more comment on latitude/longitude
one "AND enabled = true " must be enough
add fuzzy string match in getByName searches
deprecate and move old code around
Refactor dao code so all(nearly) jdbc calls are in one single function
Was this ever used ???
Add link to banedk
Try with treeset instead of arraylist
Add servlet to compare my stationlist with the one on bane.dk
add a view for failed byName searches and add DumpResultSet to admin.jsp
Also write content length for uncompressed
typo
Also set a content-disposition header for kmz files
Now that we have timestamp as name there's no need to have it in description as well
Use timestamp as placemark name in KML file
//TODO: FetchTraintype.Both should be removed some time after 0.9.5 release
Use a simpler getbyname
Use stationentry instead of stationID, take #2
Adapt fetcher to get entire stationentry instead of just the stationID
That debug line should never have reached SVN - re-enabling cache
Adapt service to new StationEntry location
Move station name correction to one single function
Either all metro lookups should be included in statistics or none of them shall - and for now it's none of them
show 5 busiest days
Only use a MailNotifier on prod.server
don't send error xml for a single(?) failure - that is currently reserved for circuitbreaker
Send an error xml doc when banedk is unavailable
Use a enum to select backend
Don't allow negative numbers
make log level=fine so we don't get it on prod. server
Add mobile timetable parser
More complete mobile site parser
use HttpUtil instead
Move timeoutmap to GenericJavaUtils
Wehn config is ServletContext there's no need to have a reload method
Rename @ReloadConfig to @ReloadConfigMethod
convert another system.out to logger
Use a logger instead of system.out
Use new config loader system
use a logger instead
typo
make temp mobile site parser work with stog
origin field must not be empty
dummy function so timetablefetcher kan work when useazuresite == false
First stab at parsing mobile.bane.dk
Add option for reloading config by annotating a method
Mark a few more as read-only
Use new webconfig lib
Don't try to get from more logfiles than there actually are
Move all parameters to TraininfoSettings & SettingsListener
Safer parsing of count parameter
Switch to a day/file count instead of a boolean multiple-files
Now it should get the right gfv3 access log files
Make requestplotter work with GFv3 access log files
Forgot to delete this in last commit (when switched to dynamic servlet)
Switch to dynamically added CircuitBreakerServlet
Remove extra ';'
don't register circuitbreakers as jmx beans
first step towards a settings system
use loggingcircuitbreaker for banedk
Small refactoring to db test code
Move database related classes to it's own package
Add an explanatory comment regarding latitude/longitude
Outcomment XSLT code
No need to sort if we only have either S-tog or regional trains
Add support for fetching just one of regional or s-tog departures
DepartureServlet.java Switch back to old jsp view ViewDepartures.jsp Set bgcolor for table header web.xml azure site is now the only source available
Also use StringReader
the StringWriter method is apparently better at handling charsets
Remove filtering of those departures that have left or should have left the station by now.
Handle a missing format station parameter
use the latest change to the circuitbreaker library and use one notifier structure to both circuitbreakers
Also log which request the circuitbreaker has stopped
Add a mail notifier
Make metrofetcher work again (m.dk removed the departure time list)
Handle invalid station ID's in request
Load the xslt stylesheet on init()
Add support for dumping all stations as XML
Just for fun use XSLT to produce html output
remember to put the arrival parameter in the output
Exprimental #3: update to changes in databeans
Experimental commit #2, move databeans to common
Experimental: use Simple (simple.sourceforge.net) for XML serialization
Seperate the metro-line identifiers with space
no need to check _all_ elements
Hopefully it works now ?!?
Re-add Debug log statements but with loglevel=fine
remove debug info
on www.bane.dk, dont get departures that already has left the station
URLencode the stationID used in request URL
Make metro plan extraction works in all cases ... and increase cache timeout to 1 minute
Add backend for fetching metro data
Sandbox: first try at making a parser for copenhagen metro
Also clean the timetable strings from www.bane.dk
Also make trainnumber extraction work with old site
Make jsoup act correct with old site
Write a log entry if no departures was found
also enable timetables to use both new azure and old www
Remove debug output
Enable usage of either the new azure parser or the old www.bane.dk parser
Only cancel the timer if it actually was created
Bake bane.dk http timeout configurable
Log whether the stats saver was started or not
Avoid saving statistics on test servers
Lookup the stationName in the fetcher and put it in the departureBean That way we don't need db acccess on a cache hit and on a cache miss we saves one DB lookup operation
Don't show departures that already has departured
Set an id to please KML validator http://feedvalidator.org/
try to give each place a name
Put description in CDATA section
Increase "find nearest stations" count from 5 to 8
Not used anymore
Stationcode muste be URLencoded or bane.dk will use a lot of time on parsing the request
Experiment: remove the last bits of HtmlUnit
Experiment: switch to jsoup instead of htmlunit
print ip and time on seperate lines
correct link to blue paddle icon
add another color to the plots (to diff between less than one week and more than one week)
Re-enable caching of depatures
adapt htmlview/jsp to new departurebean
Add code to extract notifications
Comment off-by-one error
refactor cancelledstring generation
Make cancelled strings from new site(trafikinfo.bane.dk) appear like they did on the old one
outcomment the temp site code - until we know whether it ever will be needed again
make extraction of s-tog number a little more elegant
Use enum instead of strings to determine the train-types (this saves some string comparisons)
remove debug log statements
Switch banedk fetchers to bane.dk's new site (http://trafikinfo.bane.dk/) ... this new site is some microsoft azure-based cloud thingie so hopefully it will have a better uptime/stability once we reach winter
include the arrival parameter in output xml
don't let the average be adjusted by the current dates shifting numbers
Make sure to release the conn back to the conn pool
That implementation is not correct, so for now just throw an unsupported operation exception
'Label' is a more correct term
More work on stats
Begin moving saved statistics to seperate servlet+jsp
More annotations
Switch to servlet3.0 annotations
Increase cache time to 30 minutes
Move the counts do a document-wide description field
HtmlunitInvocation is a more correct name
Narrow search area further
Make Stringbuffer's initial size bigger
Use the StringBuilder instead of std. string concatenation
use javaLogging
Log whenever getByLocation do a failover lookup
Typo "yello" -> "yellow"
Handle the different "colors" and folders a little more elegant
also dump the rowcount in statistics
remove bane.dk circuitbreaker when undeploying
Just send a plain error response instead of throwing exceptions
XML-Document size is reduced by ~13% just by limiting how many spaces should be used to indentation
Trim status field for white-space
Disable those XML header thingies
Show correct XML preamble
Narrow it further
Tighten geographical test-area
Re-use Random object
Narrow it further down
Narrow geo-area further
narrow the geographical limited search area (this is ok now we have a failover)
Add beginning of Rejseplanen fetcher code
Rename function
Make sure we always return the same number of stations and increase that number from 4 to 5
remove debug statement
Re-enable the cache
Extract station ID's to timetable xml
Summarize the 3 station lookups
remove debug output
Add backend support for reading arrivals
Write a timestamp on generated page
Ensure we also have a longitude
Add one more file to multi-file parser
Log the contextlistener calls
Reverse sort order
Make sure to save any unsaved data when context is unloaded
Output formating and links from statistics.jsp
Add some more statistics
better parameter parsing
Option for reading several files
Show folders in collapsed state
Sort placemarks into folders
more correct impl
Small refactorings
Added cache
Add commented code about static overlays
Draw different markers base on request time
Seperate parser and xml-formatter
Parser now works correctly enable kmz (zipped) output
... and read the correct file
Log any errors
First version of station-plotter
Comment about the faster distance calculation
Add test for findByFavorites
narrow longitude search area
Narrow the geographic boundaries in the test
limit the number of distance calculations by only calculating on those stations within 2.5 degrees (lat/long)-range on current server this reduces query time by ~45 ms
Made tests a little more flexible
Some code to test efficiency of the DB queries
Simplify query
Save a part of the distance calculation in the earth_coord column
Remove old (pre-0.6.4) method of determining the train type.
in statistics, also keep track of how many request were unsuccessful
Enable a report of those stations which has aliases
Enable station aliases
First take on some statistics
Better handling of train-types (regional vs s-train)
Move function getStationName() function do DAO class
Act as a Firefox 3 browser, and cleanup HtmlUnit WebClient instance when done
Release resources as soon as possible
Rewrite to use a DAO class for DB access
Encapsulate NamingException into SQLException
Use JSTL in the jsp instead of scriptlets
Move some various parameters to web.xml
Forgot to remove debug log statement
Bug fix in temp site parser
Also make timetable degrade gracefully while bane.dk's temporary site is in place
Added a screenscraper for bane.dk's temporary site
The train XML should be kept in english terms
Also report whether the station is a copenhagen metro station
Double CircuitBreaker timeout to 60 seconds
use maps.google.dk for more correct naming
Make sure that multiline strings are dumped correct
Added support for address DB column
Specify the exact return type of proceed
Updated with new circuitbreaker package names
Catch all IOExceptions
Nicer handling of incomplete requests
increase circuitbreaker timeout
Degrade from throwable to exception
Fixed a bug, which caused a null pointer exception
Refactored code - and added feature for getting a list of station by id's
Now it's (almost) a full map
unneeded import
Refactor TimeoutCache into a real Map
cleanup
Enabled the usage of Circuit breaker to guard agains bane.dk failures
Bugfix, better extraction of trainnumbers for S-trains
Don't log on cache miss - and loglevel=info should be sufficient for cache hit messages
trim name parameter - to get rid of rogue space characters etc.
Enable caching for departures and timetables
When bane.dk is pressed it needs some more time to respond
don't search for mid-string names
More graceful handling of timeout exceptions
Added a db column 'enabled' - for easy control active stations - make code use this new column
Always save a time string, no matter whether bane.dk has one for us :)
Work arouund a bug in bane.dk (a departure at midnight sometimes occurs as a empty string)
No need for logging the requested bane.dk url
Added code for extracting a single train's timetable from bane.dk
Extract trainNumbers for S-train
Improve on error handling and logging
Better handling of the different request types
Don't write the sql string to system out
Make sure that the required table is present
Enable a station search based on station name
work correctly when clock wraps around at midnight
Make dump=allfull work with new table structure
Remove that frickin information 'i' from the note
Print a nice userfriendly string instead of the raw updated int code
Rework servlet to work with new database layout
Minor code tweaks
Finish new bane.dk screen-scraper
first version of new departure provider (this is supposed to replace the php mess)
more advanced report
LocateStations: make sure lat+long isn't null Create a servlet for loading station table from bane.dk data
add another query to dumpresultset
first version of resultset dumper
Don't care about the station's address
Initial import
ViewVC Help | |
Powered by ViewVC 1.1.20 |