Commit Graph

86 Commits

Author SHA1 Message Date
Matthew Wall
4353da937c deal with config that has no StandardReport 2016-04-03 11:46:38 -04:00
Matthew Wall
6506baaad6 fix bug in wee_config when conf has no FTP 2016-03-20 13:44:36 -06:00
Matthew Wall
31ebf61348 deal with no ET at high latitudes 2016-03-14 16:18:49 -04:00
Matthew Wall
401211a76a default to latitude 0 instead of latitude 90 2016-03-14 13:11:15 -04:00
Matthew Wall
ec1b92c603 give driver author a chance to modify the configuration. addresses issue #84 2016-03-10 19:25:04 -05:00
Tom Keffer
0cbe0302be Fix test broken by addition to [StdQC] 2016-02-12 14:44:22 -08:00
Matthew Wall
5304f79eaf fix broken indents that caused missing default driver stanza 2016-02-12 09:14:09 -05:00
Tom Keffer
f19c119d5f Added missing "import errno" 2016-02-09 17:59:56 -08:00
Matthew Wall
8f94f08493 keep pycharm happy 2016-02-09 18:40:54 -05:00
Matthew Wall
a71fa20d81 continue to function even if a driver does not define a configuration editor 2016-02-09 18:02:38 -05:00
Matthew Wall
57263ff570 deal better with drivers that do not define a conf editor or DRIVER_NAME or DRIVER_VERSION 2016-02-09 17:55:27 -05:00
Matthew Wall
3314e2751b better feedback when driver does not define confeditor, name, or version 2016-02-09 17:37:43 -05:00
Matthew Wall
cb5ebabc8b provide more feedback about bad extension structure 2016-01-17 16:30:28 -05:00
Matthew Wall
0a9008d07a Merge branch 'master' of github.com:weewx/weewx 2016-01-17 16:04:37 -05:00
Matthew Wall
e3f099db29 manually extract files from zip archive since extractall is only available in python 2.6 and later 2016-01-17 16:04:31 -05:00
Tom Keffer
098faf2d4c Now returns a normative file path for older versions of
tarfile.getmembers().
2016-01-17 12:42:00 -08:00
Tom Keffer
5f4bf6dcd8 Now works with ConfigObj versions earlier than v4.4.0 2016-01-17 12:24:59 -08:00
Matthew Wall
279f2e0096 update dev notes. remove some keffer-specific dependencies in the unit tests. note unit test dependencies. 2016-01-16 16:29:42 -05:00
Matthew Wall
b3b3b4ec67 improved error message for improperly configured extensions 2016-01-14 16:48:46 -05:00
Matthew Wall
e162d31572 recognize and extract zip files as well as tar and tgz files 2016-01-14 16:36:14 -05:00
Matthew Wall
acf4ea027c include wmr300 2016-01-10 06:04:10 -05:00
Matthew Wall
b38d1f05ab fix error handling/reporting when extension's install.py specifies unknown target directories 2015-12-16 08:07:53 -05:00
Tom Keffer
e8afb48288 Fixed bug where the subsection for a custom report gets moved to the
very end of the [StdReport] section of a configuration file on upgrade.
Fixes issue #81.
2015-12-06 14:48:26 -08:00
tkeffer
7fa638ebdf Fixed problem where extension_dir can be undefined if an exception gets
raised.
2015-10-16 19:09:28 +03:00
Tom Keffer
c581d6bd92 Uninstalling an extension with a skin now deletes all empty directories.
This fixes issue #43.
2015-07-31 13:58:54 -07:00
tkeffer@gmail.com
ac8f8d909b Corrected expected result for SQLITE_ROOT to now use WEEWX_ROOT
interpolation
2015-07-24 13:09:44 -07:00
Tom Keffer
6554cc5235 Fixed problem when using setup.py to install into a non-standard
location. Weewx would start a new database in the "standard" location,
ignoring the old one in the non-standard location.
2015-07-18 16:38:13 -07:00
Matthew Wall
df8f336ce4 provide driver module status during install as well as reconfigure 2015-07-13 18:05:02 -04:00
Matthew Wall
5de0946473 ignore failed attempts to load drivers 2015-07-13 08:06:04 -04:00
mwall
ebe6e33731 minor formatting changes for easier groking on small monitor 2015-07-06 15:53:21 -04:00
mwall
229f89d687 provide more feedback in extension listing 2015-07-06 15:47:07 -04:00
Matthew Wall
33b4038a92 minor code reformatting (keep pycharm happy; easier to read on small monitor) 2015-07-06 12:48:11 -04:00
mwall
7fe489ed3d provide feedback if driver depends on uninstalled module 2015-07-06 12:20:40 -04:00
Tom Keffer
e1399355cd Introduced new top-level stanza [DatabaseTypes].
Subsections [[SQLite]] and [[MySQL]] now go under it.
Updated docs to match.
2015-07-05 18:28:01 -07:00
Tom Keffer
5d914f3931 Differing version numbers no longer causes the merge test to fail. 2015-06-25 09:27:49 -07:00
Tom Keffer
1c7c623c3f Updated test suite to reflect that database_type is now set by the
extension installer.
2015-06-25 09:21:24 -07:00
Tom Keffer
55b634a312 Brought expected results in concordance with new formatting in
weewx.conf
2015-06-25 09:19:52 -07:00
Tom Keffer
cc3abaa2d9 Removed unneeded imports. 2015-06-22 07:10:47 -07:00
Tom Keffer
0813f92592 Added logic so that any reports specified by an extension run before FTP
or RSYNC
2015-06-21 16:20:03 -07:00
Tom Keffer
629cde03dc Refactored the injection of any extension configuration data into the
config file.
2015-06-21 13:18:21 -07:00
Tom Keffer
cbc46ee62b If the extension uses a database, massage it so it's compatible with the
new V3.2 way of specifying database options
2015-06-21 12:16:08 -07:00
Tom Keffer
dd442b276e Updated extension installer tests for V3.2 2015-06-21 09:37:23 -07:00
Tom Keffer
134e1d3c3f No longer removes $Id ident as part of the upgrade to V3.2 process 2015-06-21 08:00:59 -07:00
Tom Keffer
95a2d55d39 Clarifying comments 2015-06-20 15:26:39 -07:00
Tom Keffer
fe36957da7 Preliminary pass at getting the comments to merge correctly. 2015-06-20 15:08:28 -07:00
Tom Keffer
6f3bab2ec1 Fixed some errors. Started on test suite for V3.2 upgrade process 2015-06-19 15:30:27 -07:00
Tom Keffer
214acebfe1 Fixed typo 2015-06-12 19:18:03 -07:00
Tom Keffer
1f2daf9c31 Changed test suite to reflect pmon results now put in public_html/pmon. 2015-06-12 08:04:06 -07:00
Tom Keffer
c1a4c5f7cb First attempt to refactor database configuration 2015-06-12 07:30:00 -07:00
Matthew Wall
b7dd3ba30e replacement of SKIN_ROOT is no longer necessary since the cheetah generator chdir bug was fixed 2015-06-10 15:10:42 -04:00