Commit Graph

7022 Commits

Author SHA1 Message Date
Tom Keffer
283eddc0d0 Catch up git install instructions to the recent refactor 2023-10-19 08:10:14 -07:00
Tom Keffer
ea8ca8d813 Catch up test suite to weewx.conf changes 2023-10-17 12:41:09 -07:00
Tom Keffer
ae31fc88c1 Use relative path for WEEWX_ROOT in shipping version of weewx.conf
Use simulator in shipping version of weewx.conf
2023-10-17 12:29:04 -07:00
Tom Keffer
c6ab99fc09 Moved to weewx_data 2023-10-17 05:17:37 -07:00
Tom Keffer
6cd5dc91f6 Refactor, using 'src' instead of 'bin' to hold the source code.
wee_resources becomes weewx_data, and is put in version control.
The build documentation, as well as the 'user' subdirectory, are now
in it.

This allows weewxd to be run directly from the git repository for
two reasons: 1) the documentation does not have to be built first.
2) because the source code is now under 'src', while the 'user'
subdirectory is in weewx_data, weewxd does not accidentally pick
up the repository's version of the 'user' subdirectory.
2023-10-17 05:14:34 -07:00
Tom Keffer
b21602b56c Convert WEEWX_ROOT=/ to WEEWX_ROOT=/etc/weewx at runtime
Update TODO
2023-10-14 05:59:16 -07:00
Tom Keffer
5e7691d002 Option --type is optional 2023-10-14 04:59:17 -07:00
Tom Keffer
a247c1c929 Added docstrings to many functions. 2023-10-13 18:23:13 -07:00
Tom Keffer
b5fe70ad8e Simplify implementation of get_object() 2023-10-13 16:32:33 -07:00
Tom Keffer
5f66fd6d90 Fix problem with time formatting. 2023-10-12 05:12:33 -07:00
Tom Keffer
2d7894315d Port to Python 12.
Change deprecated datetime.utcfromtimestamp() to
datetime.fromtimestamp().
2023-10-12 04:31:51 -07:00
Tom Keffer
5f66d29b54 Include HTTP links in change log. 2023-10-12 04:23:57 -07:00
Tom Keffer
4c961d3d41 v5.0.0b13 2023-10-09 08:40:03 -07:00
Tom Keffer
2c94d06640 Set the current working directory only once.
No need for each generator to set it.
2023-10-09 08:38:28 -07:00
Tom Keffer
644e830c99 If there is no WEEWX_ROOT, set a default.
Also, make sure it is an absolute path.
2023-10-09 08:34:34 -07:00
Tom Keffer
a38b83c741 Improve docstrings 2023-10-08 06:18:13 -07:00
Tom Keffer
1e2042a996 Do not include JetBrains and other detritus in source 2023-10-06 05:18:15 -07:00
Tom Keffer
bc16eec381 Do not include pkg in pypi source distribution. 2023-10-06 05:17:30 -07:00
Tom Keffer
73ca205b60 Fixed innumerable grammatical nits.
Thanks PyCharm.
2023-10-04 18:19:07 -07:00
Tom Keffer
7fc978b0c2 Update TO DO 2023-10-03 08:47:23 -07:00
Tom Keffer
9d388cabd2 Build the resources before attempting to provision. 2023-10-03 08:31:44 -07:00
Tom Keffer
2d7d7a1553 Change from old Google analytics UA code to the GA4 tag system.
Also, move the tag code to the <head> area.

Fixes issue #892.
2023-09-28 15:43:39 -07:00
gary
16635ab0bc fix handling of single element option lists 2023-09-23 21:02:37 +10:00
Tom Keffer
a325379461 v5.0.0b12 2023-09-20 09:17:20 -07:00
Tom Keffer
ba5e8b64fc Introduce abstract base class weedb.Cursor.
Improve docstrings for database module.
2023-09-20 09:15:27 -07:00
Tom Keffer
491e27547f No need to consult xtypes system if the type is in the database.
Improves performance by cutting the number of xtypes
calls (which are slow).

Fixes issue #890.
2023-09-20 08:59:18 -07:00
Tom Keffer
a0e0b1b35f Inject the parent of USER_DIR at the end of PYTHONPATH.
For legacy installs, the parent of USER_DIR is the same as the
location of the legacy source code. For example /home/weewx/bin.
Hence, the old code gets found.
2023-09-20 07:30:50 -07:00
Tom Keffer
2704d8458e Allow WEEWX-ROOT to be set by station create and reconfigure 2023-09-13 08:02:46 -07:00
Tom Keffer
bd1d3332b1 Allow --config option to be used by weectl device 2023-09-07 09:02:17 -07:00
Matthew Wall
cb44e9e335 clarify meaning of ~ 2023-09-06 07:56:35 -04:00
Matthew Wall
b1902c9fab do not start a line with a hash 2023-09-06 07:47:47 -04:00
Matthew Wall
891b3af3a2 fix broken english 2023-09-06 07:45:08 -04:00
Tom Keffer
dd0f5effd9 More details on upgrade 2023-09-04 17:40:44 -07:00
Tom Keffer
f15f25c77c Merge remote-tracking branch 'origin/V5-lib' into V5 2023-09-04 12:10:47 -07:00
Tom Keffer
a4ec368a19 Introduce option retry_wait --- how long to wait before a retry 2023-09-04 12:00:01 -07:00
Tom Keffer
db8ea89c18 Fix typo. group_delta_time should be group_deltatime. 2023-09-02 07:15:34 -07:00
Tom Keffer
4cd6962ec0 Document new location for user directory 2023-08-30 18:27:22 -07:00
Tom Keffer
fc26ab7c17 Fix problem when creating a station using a relative path 2023-08-30 15:00:03 -07:00
Tom Keffer
f368b521a5 Fix potential crash when installing extension.
If one of the service groups was missing in the configuration file,
the extension installer would crash.

Fixes issue #886.
2023-08-30 12:38:13 -07:00
Tom Keffer
9ef6ffbddb v5.0.0b11 2023-08-30 12:36:54 -07:00
Tom Keffer
b259d3dd91 Tag suffix has_data() works for xtypes.
Fixes issue #877.
2023-08-30 12:11:36 -07:00
Tom Keffer
44789e36d4 Remove references to __future__ 2023-08-30 08:16:06 -07:00
Tom Keffer
76a0d5029b Change log for commit c1b4a9c839 2023-08-30 08:01:10 -07:00
Tom Keffer
c1b4a9c839 Simplify logic for installing extensions
Generalize logic. Allow other types besides skins and user files.
2023-08-29 16:25:41 -07:00
Tom Keffer
294d7e1d31 425 FTP error can be fixed with reuse_ssl option 2023-08-25 16:26:30 -07:00
Tom Keffer
ed9c34549d Fix some garbled text and HTML.
More details on pros and cons of install methods.
2023-08-24 18:41:29 -07:00
Tom Keffer
2482eebf8a Replace deprecated Image.ANTIALIAS
Fixes issue #884.
2023-08-22 11:49:38 -07:00
Tom Keffer
2dfe1ce5f6 Include an introduction in the Users Guide
Link to the root index
2023-08-21 17:17:08 -07:00
Tom Keffer
a08cbbf361 Allow calculating $trend when one of the two records is missing 2023-08-21 05:14:20 -07:00
Tom Keffer
7f788cc7a7 Fix bug in error message 2023-08-20 14:53:50 -07:00