ais.git
12 years agoPsotgres setup, first version
Jean-Michel Nirgal Vourgère [Mon, 28 Jun 2010 00:40:48 +0000 (00:40 +0000)]
Psotgres setup, first version

12 years agoRemoved udp4/udp6 specific services options since we now listen again to ipv4
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 19:15:57 +0000 (19:15 +0000)]
Removed udp4/udp6 specific services options since we now listen again to ipv4
 and ipv6. Thanks to
socket.setsockopt(IPPROTO_IPV6, IPV6_V6ONLY, 0)

12 years agoPatch to gpsd to set up verbose level
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 19:12:35 +0000 (19:12 +0000)]
Patch to gpsd to set up verbose level

12 years agoAdded comments about generic ipv4+6 listener
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 18:40:59 +0000 (18:40 +0000)]
Added comments about generic ipv4+6 listener

12 years agoAdded id4 when displaying stats
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 15:19:02 +0000 (15:19 +0000)]
Added id4 when displaying stats

12 years agoMoved file name a a module var
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 15:06:23 +0000 (15:06 +0000)]
Moved file name a a module var

12 years agotypo
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 14:43:52 +0000 (14:43 +0000)]
typo

12 years agoRemoved old file gpsdecoded.py
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 12:11:29 +0000 (12:11 +0000)]
Removed old file gpsdecoded.py

12 years agoAivdmProcessor now sends to storage manager,
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 12:04:16 +0000 (12:04 +0000)]
AivdmProcessor now sends to storage manager,
gpsdecoded.py is no longer needed.

12 years agoAdded a couple of FIXME
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 12:02:40 +0000 (12:02 +0000)]
Added a couple of FIXME

12 years agodatabase schema
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 11:13:29 +0000 (11:13 +0000)]
database schema

12 years agosupport for explicit ipv4/ipv6
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 10:47:11 +0000 (10:47 +0000)]
support for explicit ipv4/ipv6

12 years agopylint cleeaning.
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 10:44:28 +0000 (10:44 +0000)]
pylint cleeaning.
now considering ais type1 second message as utc based

12 years agoAdded support for ipv4 in formataddr
Jean-Michel Nirgal Vourgère [Sun, 27 Jun 2010 10:42:42 +0000 (10:42 +0000)]
Added support for ipv4 in formataddr

12 years agoChange to unused yet ntime functions & TODO comments
Jean-Michel Nirgal Vourgère [Sat, 26 Jun 2010 15:30:30 +0000 (15:30 +0000)]
Change to unused yet ntime functions & TODO comments

12 years agoRenamed ais.inputs.peers to ais.inputs.config
Jean-Michel Nirgal Vourgère [Fri, 25 Jun 2010 10:31:26 +0000 (10:31 +0000)]
Renamed ais.inputs.peers to ais.inputs.config

12 years agoFixed udp source filtering
Jean-Michel Nirgal Vourgère [Fri, 25 Jun 2010 10:01:21 +0000 (10:01 +0000)]
Fixed udp source filtering

12 years agoMake sure TcpOut port parameter is an integer.
Jean-Michel Nirgal Vourgère [Fri, 25 Jun 2010 09:46:05 +0000 (09:46 +0000)]
Make sure TcpOut port parameter is an integer.

12 years agoDownload the leap second file automatically.
Jean-Michel Nirgal Vourgère [Sat, 19 Jun 2010 21:31:58 +0000 (21:31 +0000)]
Download the leap second file automatically.

12 years agoTime related functions for ais
Jean-Michel Nirgal Vourgère [Sat, 19 Jun 2010 21:05:47 +0000 (21:05 +0000)]
Time related functions for ais

12 years agoFix
Jean-Michel Nirgal Vourgère [Sat, 19 Jun 2010 19:35:10 +0000 (19:35 +0000)]
Fix

12 years agoAdded option to use in-process local processing of packets. Experimental and not...
Jean-Michel Nirgal Vourgère [Sat, 19 Jun 2010 19:02:11 +0000 (19:02 +0000)]
Added option to use in-process local processing of packets. Experimental and not fully implemented.

12 years agoNo longer reading first byte separatly, since calling select() will do the job.
Jean-Michel Nirgal Vourgère [Sat, 19 Jun 2010 17:25:22 +0000 (17:25 +0000)]
No longer reading first byte separatly, since calling select() will do the job.
Cath I/O exceptions and warns about them.

12 years agoRemoved unecessaery global statement
Jean-Michel Nirgal Vourgère [Sat, 19 Jun 2010 17:07:56 +0000 (17:07 +0000)]
Removed unecessaery global statement

12 years agoNew version with full 1 & 5 decoding.
Jean-Michel Nirgal Vourgère [Sat, 19 Jun 2010 17:06:37 +0000 (17:06 +0000)]
New version with full 1 & 5 decoding.
Checksum checks.
First plausible version of second adjustement.
AivdmProcessor class.

12 years agoChanged the stats to show 2 weeks.
Jean-Michel Nirgal Vourgère [Sun, 13 Jun 2010 03:16:50 +0000 (03:16 +0000)]
Changed the stats to show 2 weeks.

12 years agoIgnore config file
Jean-Michel Nirgal Vourgère [Sun, 13 Jun 2010 02:49:43 +0000 (02:49 +0000)]
Ignore config file

12 years agoCreated a virtual base channel for use by all channels types.
Jean-Michel Nirgal Vourgère [Sun, 13 Jun 2010 02:48:30 +0000 (02:48 +0000)]
Created a virtual base channel for use by all channels types.
Changed config.py to a simple text file "config".

12 years agoRemoved all timeouts in services.
Jean-Michel Nirgal Vourgère [Sat, 12 Jun 2010 21:51:55 +0000 (21:51 +0000)]
Removed all timeouts in services.
Added timeout in select() runner, all stats are handled from there now.

12 years agoRemoved old stand alone main() for specific services
Jean-Michel Nirgal Vourgère [Sat, 12 Jun 2010 21:37:06 +0000 (21:37 +0000)]
Removed old stand alone main() for specific services

12 years agoAdded python-serial dependency
Jean-Michel Nirgal Vourgère [Sat, 12 Jun 2010 19:54:40 +0000 (19:54 +0000)]
Added python-serial dependency

12 years agoFunctional inputs.run multiservice launcher. But it still mixes all the raw streams...
Jean-Michel Nirgal Vourgère [Sat, 12 Jun 2010 19:40:46 +0000 (19:40 +0000)]
Functional inputs.run multiservice launcher. But it still mixes all the raw streams on stdout.
Added __repr__ for services.
Removed stdout parameter from service.
Added a geter for normalized SOURCE in peers.
Change get_activity from a yielder to a simple return statement.

12 years agoAdded recommandation to install ntp.
Jean-Michel Nirgal Vourgère [Sat, 12 Jun 2010 16:46:39 +0000 (16:46 +0000)]
Added recommandation to install ntp.
Moved formataddr and str_split_column_ipv6 to ais.ntools.
Move udpin source specific code from peers.py to udp.py.
Removed --src-port option from udp.py main since it's now using the config
 file.

12 years agoMoved interface Service into virtual module
Jean-Michel Nirgal Vourgère [Sat, 12 Jun 2010 10:53:51 +0000 (10:53 +0000)]
Moved interface Service into virtual module

12 years agoAll services now provide a fileno() method for os.select()
Jean-Michel Nirgal Vourgère [Sat, 12 Jun 2010 07:40:51 +0000 (07:40 +0000)]
All services now provide a fileno() method for os.select()

12 years agofix
Jean-Michel Nirgal Vourgère [Fri, 11 Jun 2010 19:31:11 +0000 (19:31 +0000)]
fix

12 years agoSmall fixes for ais module creation
Jean-Michel Nirgal Vourgère [Fri, 11 Jun 2010 18:02:34 +0000 (18:02 +0000)]
Small fixes for ais module creation

12 years agoAll code now assumes it's bases on the "ais" python module
Jean-Michel Nirgal Vourgère [Fri, 11 Jun 2010 17:35:53 +0000 (17:35 +0000)]
All code now assumes it's bases on the "ais" python module

12 years agoAdded some pydoc strings
Jean-Michel Nirgal Vourgère [Fri, 11 Jun 2010 16:21:39 +0000 (16:21 +0000)]
Added some pydoc strings

12 years agoFixed START_DIR
Jean-Michel Nirgal Vourgère [Fri, 11 Jun 2010 13:20:23 +0000 (13:20 +0000)]
Fixed START_DIR

12 years agoAdded logging message on udp startup.
Jean-Michel Nirgal Vourgère [Fri, 11 Jun 2010 10:44:16 +0000 (10:44 +0000)]
Added logging message on udp startup.

12 years agoAdded timestamp for timeout
Jean-Michel Nirgal Vourgère [Fri, 11 Jun 2010 10:40:03 +0000 (10:40 +0000)]
Added timestamp for timeout

12 years agoMake sure timeout leads to stat logging
Jean-Michel Nirgal Vourgère [Fri, 11 Jun 2010 10:32:55 +0000 (10:32 +0000)]
Make sure timeout leads to stat logging

12 years agoAdded a loop so service won't die after get_activity times out.
Jean-Michel Nirgal Vourgère [Fri, 11 Jun 2010 10:29:47 +0000 (10:29 +0000)]
Added a loop so service won't die after get_activity times out.

12 years agoRemoved -f forwarding from parameters, now just using config
Jean-Michel Nirgal Vourgère [Fri, 11 Jun 2010 10:19:37 +0000 (10:19 +0000)]
Removed -f forwarding from parameters, now just using config

12 years agoMoved statsin to it own file.
Jean-Michel Nirgal Vourgère [Thu, 10 Jun 2010 12:36:22 +0000 (12:36 +0000)]
Moved statsin to it own file.
Created a peers.py file for peer routing definition.
Added example config.py file.
Many other small changes, including pylint cleanup.

12 years agoAdded NMBB source
Jean-Michel Nirgal Vourgère [Tue, 8 Jun 2010 04:17:48 +0000 (04:17 +0000)]
Added NMBB source

12 years agoRationalized output udp forwarding:
Jean-Michel Nirgal Vourgère [Thu, 3 Jun 2010 22:59:08 +0000 (22:59 +0000)]
Rationalized output udp forwarding:
- Code factorisation
- IP error resilient
- Support IPv4 and IPv6 including change from DNS resolution on the fly

12 years agoRenamed dump files from IIII-YYYYMMDD.dump to YYYYMMDD-IIII.dump
Jean-Michel Nirgal Vourgère [Thu, 3 Jun 2010 17:07:58 +0000 (17:07 +0000)]
Renamed dump files from IIII-YYYYMMDD.dump to YYYYMMDD-IIII.dump

12 years agoDon't show "stop" icon when we know the speed to be good
Jean-Michel Nirgal Vourgère [Thu, 3 Jun 2010 15:17:55 +0000 (15:17 +0000)]
Don't show "stop" icon when we know the speed to be good

12 years agoAdded FIXME comment
Jean-Michel Nirgal Vourgère [Thu, 3 Jun 2010 10:53:49 +0000 (10:53 +0000)]
Added FIXME comment

12 years agoPylint fixes.
Jean-Michel Nirgal Vourgère [Wed, 2 Jun 2010 13:45:03 +0000 (13:45 +0000)]
Pylint fixes.
Start of packages dependencies listening.

12 years agopylint fixes
Jean-Michel Nirgal Vourgère [Wed, 2 Jun 2010 00:10:30 +0000 (00:10 +0000)]
pylint fixes

12 years agoRemoved --rrd options in inputs and now use id4 everywhere
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 23:51:44 +0000 (23:51 +0000)]
Removed --rrd options in inputs and now use id4 everywhere

12 years agoBug fix
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 23:25:42 +0000 (23:25 +0000)]
Bug fix

12 years agoRemoved --rrd option in favor of --id4 in serialin.py
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 23:23:39 +0000 (23:23 +0000)]
Removed --rrd option in favor of --id4 in serialin.py

12 years agoRemoved "hub-" prefix from AIVDM dump file names
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 23:09:37 +0000 (23:09 +0000)]
Removed "hub-" prefix from AIVDM dump file names

12 years agoCode factorisation in inputs
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 23:01:51 +0000 (23:01 +0000)]
Code factorisation in inputs
Added statistics for serial reader

12 years agoPublished the nmea archive compressor cron
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 22:54:36 +0000 (22:54 +0000)]
Published the nmea archive compressor cron

12 years agoEmergency fix
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 17:38:33 +0000 (17:38 +0000)]
Emergency fix

12 years agoMoved input related stuff in inputs/
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 17:04:49 +0000 (17:04 +0000)]
Moved input related stuff in inputs/

12 years agoNew base folder for inputs code
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 16:39:33 +0000 (16:39 +0000)]
New base folder for inputs code

12 years agoBug fix
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 16:21:19 +0000 (16:21 +0000)]
Bug fix

12 years agoAdded doc to create dump directory
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 15:58:38 +0000 (15:58 +0000)]
Added doc to create dump directory

12 years agoLots of cleaning and documentation
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 15:57:19 +0000 (15:57 +0000)]
Lots of cleaning and documentation

12 years agoPylint tuning
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 08:46:38 +0000 (08:46 +0000)]
Pylint tuning

12 years agoCleaning
Jean-Michel Nirgal Vourgère [Tue, 1 Jun 2010 08:26:34 +0000 (08:26 +0000)]
Cleaning

12 years agoresist more to network failures
Jean-Michel Nirgal Vourgère [Mon, 31 May 2010 22:33:27 +0000 (22:33 +0000)]
resist more to network failures

12 years agodisabled the 2 day stat view
Jean-Michel Nirgal Vourgère [Mon, 31 May 2010 16:16:05 +0000 (16:16 +0000)]
disabled the 2 day stat view

12 years agopylint tuning
Jean-Michel Nirgal Vourgère [Mon, 31 May 2010 16:08:27 +0000 (16:08 +0000)]
pylint tuning

12 years agoAdded tcpout.py for peering with aishub
Jean-Michel Nirgal Vourgère [Mon, 31 May 2010 05:16:35 +0000 (05:16 +0000)]
Added tcpout.py for peering with aishub

12 years agoA lot of fixes in stats
Jean-Michel Nirgal Vourgère [Sun, 30 May 2010 17:13:55 +0000 (17:13 +0000)]
A lot of fixes in stats

12 years agoMove line spliter code to common inputs
Jean-Michel Nirgal Vourgère [Sun, 30 May 2010 14:52:30 +0000 (14:52 +0000)]
Move line spliter code to common inputs

12 years agomoved STATS_RATE from udp to global inputs
Jean-Michel Nirgal Vourgère [Sun, 30 May 2010 13:32:44 +0000 (13:32 +0000)]
moved STATS_RATE from udp to global inputs

12 years agoMoves stats from udp to global inputs
Jean-Michel Nirgal Vourgère [Sun, 30 May 2010 13:25:43 +0000 (13:25 +0000)]
Moves stats from udp to global inputs

12 years agoMoved statistics code in a proper class
Jean-Michel Nirgal Vourgère [Sun, 30 May 2010 12:55:36 +0000 (12:55 +0000)]
Moved statistics code in a proper class

12 years agoFix
Jean-Michel Nirgal Vourgère [Sun, 30 May 2010 10:04:01 +0000 (10:04 +0000)]
Fix

12 years agoReorganized input
Jean-Michel Nirgal Vourgère [Sun, 30 May 2010 09:49:18 +0000 (09:49 +0000)]
Reorganized input

12 years agoAdded serial input to subversion
Jean-Michel Nirgal Vourgère [Sat, 29 May 2010 22:55:39 +0000 (22:55 +0000)]
Added serial input to subversion

12 years agoUpdated INSTALL readme
Jean-Michel Nirgal Vourgère [Sat, 29 May 2010 22:52:14 +0000 (22:52 +0000)]
Updated INSTALL readme

12 years agoUpdate install doc
Jean-Michel Nirgal Vourgère [Sat, 29 May 2010 22:39:40 +0000 (22:39 +0000)]
Update install doc

12 years agoFirst bunch of files
Jean-Michel Nirgal Vourgère [Sat, 29 May 2010 22:18:44 +0000 (22:18 +0000)]
First bunch of files