Commit Graph

168 Commits

Author SHA1 Message Date
Tom Keffer
2e3df797a5 Plotting now uses Unicode internally for labels. 2016-02-20 08:01:25 -08:00
Tom Keffer
4d87b666b5 Refactored test_templates to allow more than one skin to be used.
Added a test for UTF8 characters in the station name
2016-02-19 16:29:18 -08:00
Tom Keffer
dfcdadad0c Fixed problem in weeutil unittest. 2016-02-18 07:40:05 -08:00
Tom Keffer
081fcc92ac Fixed bug that prevented rsync uploader from working. 2016-01-18 08:58:10 -08:00
Matthew Wall
bbfdce617c make unit tests compatible with python 2.6 2016-01-16 21:59:48 -05:00
Matthew Wall
ccb5b34e2e added option for log_success to generators 2016-01-15 12:29:28 -05:00
Julen Landa Alustiza
091fa3f261 Implement hours iterable
add by hour template test

add missing files

Implement hours iterable
2015-12-26 17:37:55 +01:00
Tom Keffer
3a75d73b4a More useful rsync error message. 2015-12-22 16:30:39 -10:00
Tom Keffer
d2ade101d5 Merge pull request #60 from W0CHP/master
Added rsync patch from Kenneth Baker
2015-10-24 17:24:38 +03:00
Chip Cuccio
fad49567c7 Added **kwargs idiom for config dict tests 2015-10-23 11:06:52 -05:00
Tom Keffer
995cc4f0d0 The FTP utility now catches PickleError exceptions, then does a retry 2015-09-03 06:57:27 -07:00
Chip Cuccio
abc8f88196 * Added patch from Kenneth Baker:
- Option to specify SSH key to use for rsync
    - Option to enable ssh/rsync compression
    - Example weewx.conf [[RSYNC]] skin/stanza config options:
        compress = True
        ssh_options = -i /home/weewx/weewx-id_dsa
2015-08-05 13:23:51 -05:00
Tom Keffer
052e6befdd Merge pull request #59 from W0CHP/master
Fixes rsync v. => 3.1 transfer stats feedback to properly reflect no.…
2015-08-04 06:33:18 -07:00
Chip Cuccio
9f2e599db5 Fixes rsync v. => 3.1 transfer stats feedback to properly reflect no. of files tranferred. This fix/patch was provided by Kenneth Baker <bakerkj@umich.edu>. Tested on ARM debian Jessie (Rpi2 w/rsync 3.1.1. 2015-08-04 08:14:25 -05:00
gjr80
c5377674f9 implement $span tag
Added span to tags.py
Added archiveSpanSpan method to weeutil.py
2015-07-22 16:03:56 +10:00
tkeffer@gmail.com
2f50b38a40 Fixed indentation error in 'else' clause 2015-07-15 06:41:12 -07:00
Tom Keffer
68f00ad274 FTP uploader now retries several times to connect to a server, instead
of giving up after one try.
2015-07-11 18:43:44 -07:00
Tom Keffer
e8e53776aa Added extra debug info for FTP uploads 2015-06-25 05:52:03 -07:00
Tom Keffer
956f6b6fe7 More compact diagnostics for FTP connect errors. 2015-06-24 20:06:13 -07:00
Tom Keffer
c1a4c5f7cb First attempt to refactor database configuration 2015-06-12 07:30:00 -07:00
Matthew Wall
91f9e0bae5 provide more feedback for engine failures 2015-06-10 13:33:52 -04:00
Tom Keffer
1076982ad2 Added to the weeutil unit test suite. 2015-04-28 12:04:51 -07:00
Tom Keffer
8b11fb6cbc $almanac.sunrise and $almanac.sunset now return ValueHelpers. Fixes
issue #26.
2015-04-28 08:13:57 -07:00
Matthew Wall
7979d4e67d better behavior when no conf specified and weewx is installed to non-standard location 2015-04-25 23:41:25 -04:00
Matthew Wall
d855d17abf new wee_config now working properly with dpkg. consistent use of exit. do not do backup files when invoked via dpkg. 2015-04-25 18:29:10 -04:00
Tom Keffer
669bf76725 First step in refactoring config_util into package weecfg 2015-04-21 06:06:43 -07:00
Tom Keffer
72c91b0477 Got the --no-prompt option working using native distutils machinery 2015-04-05 14:28:19 -07:00
Tom Keffer
30fafb6bd2 Rewrote weeutil.weeutil.read_config to use utilities in config_util 2015-04-01 09:16:11 -07:00
Tom Keffer
b4bf1cb966 Refactoring some config utilities 2015-03-31 18:46:56 -07:00
Tom Keffer
ef77a504e0 Moved configuration test suite to its own directory under bin 2015-03-31 08:06:56 -07:00
Tom Keffer
7dbbe264fe Added with statement (for Python 2.5).
Print some useful information about saving files.
2015-03-29 16:41:30 -07:00
Tom Keffer
b693205427 Moved prompt_with_options to config_util. Added test suites. Refactored
to use it.
2015-03-29 16:17:23 -07:00
Tom Keffer
012d01f3e4 Restructed the tests of prompt_for_input() so they are all in one
testing function.
2015-03-29 15:44:30 -07:00
Tom Keffer
c58176aa99 Added tests for prompt_for_info() 2015-03-29 08:56:48 -07:00
Tom Keffer
aa96f56110 Updated test to reflect change in name to config_util 2015-03-29 07:42:54 -07:00
Tom Keffer
c7b60a51f4 Added functions print_dict() and prompt_with_options() to
weeutil.weeutil
2015-03-28 16:58:30 -07:00
Tom Keffer
1345f22415 Move weeutil.config to config_util 2015-03-28 11:10:57 -07:00
Tom Keffer
ba91103508 Simplified list_as_string() 2015-03-28 11:05:56 -07:00
Tom Keffer
b82c0c57b7 Adding logic for --modify 2015-03-27 17:47:06 -07:00
Tom Keffer
7b646d9ccb Working on grammar of wee_config 2015-03-27 11:11:31 -07:00
Tom Keffer
714c96d973 Refactored prompt_for_info 2015-03-26 06:41:29 -07:00
Tom Keffer
6af7ba19a1 Refactored prompt_for_info() 2015-03-20 15:45:25 -07:00
Tom Keffer
ffe40afb1f Use --switches instead of commands 2015-03-20 06:26:44 -07:00
Tom Keffer
add2f34091 Making progress on merge command 2015-03-19 08:31:28 -07:00
Tom Keffer
936916effe Added tests for merge 2015-03-18 17:43:53 -07:00
Tom Keffer
aa411a5dfb Continued refactoring; moving functionality into weeutil. 2015-03-18 16:41:39 -07:00
Tom Keffer
7511a8a499 Improved handling of comments and the merge 2015-03-18 10:47:06 -07:00
Tom Keffer
a9a41b0f87 Snapshot 2015-03-17 18:44:08 -07:00
Tom Keffer
0ed2795ec1 More complete insertion of a [DataBindings] section into an old V2.X
config file.
2015-03-17 09:34:33 -07:00
Tom Keffer
a8079417c4 Updating to a V3.x config file now injects a [DataBindings] section.
Also, it inserts relevant comments in the right places.
2015-03-13 17:35:24 -07:00