Skip to content

Commit 7375c8b

Browse files
authored
GPS/Touchscreen update
* Touchscreen support. This includes: * 7-day forecast, with four days shown at one time, using left/right swipe or tapping arrow icons to shift to the end or the beginning of the forecast week. * Tap on scrolling alert "ticker" at bottom of screen to see full text of current alerts. * Tap on forecast day to see textual summary for that day. * Tap on sunrise/sunset times to shift to display of moonrise/moonset times. * Tap on gear icon to bring up Settings dialog, with optional onscreen keyboard. * GPS time support. * GPS location support. * Notifications for software updates. * Optional onscreen administrative functions, provided through the Settings dialog. These include: * Reboot * Shutdown * Quit browser * Initiate software update. * User customizable background and clock face colors. * Assorted minor bug fixes and performance improvements.
1 parent ad2b3d8 commit 7375c8b

54 files changed

Lines changed: 10890 additions & 6344 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
2,
4949
{
5050
"ArrayExpression": "first",
51+
"ignoredNodes": [
52+
"IfStatement > :expression *",
53+
"WhileStatement > :expression *"
54+
],
55+
"ignoreComments": true,
5156
"ObjectExpression": "first",
5257
"SwitchCase": 1
5358
}
@@ -81,7 +86,8 @@
8186
],
8287
"quotes": [
8388
"error",
84-
"single", {
89+
"single",
90+
{
8591
"avoidEscape": true
8692
}
8793
],

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
# IDE - VSCode
2424
.vscode/*
2525
!.vscode/tasks.json
26-
!.vscode/launch.json
2726
!.vscode/extensions.json
2827

2928
# misc

.sasslintrc

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"rules": {
3+
"force-element-nesting": 0,
4+
"force-pseudo-nesting": 0,
5+
"hex-notation": [
6+
1,
7+
{
8+
"style": "uppercase"
9+
}
10+
],
11+
"leading-zero": 0,
12+
"no-color-keywords": 0,
13+
"no-color-literals": 0,
14+
"no-duplicate-properties": [
15+
1,
16+
{
17+
"exclude": ["display"]
18+
}
19+
],
20+
"no-ids": 0,
21+
"no-important": 0,
22+
"no-vendor-prefixes": 0,
23+
"no-trailing-zero": 0,
24+
"one-declaration-per-line": 0,
25+
"property-sort-order": 0,
26+
"single-line-per-selector": 0,
27+
"single-selector-per-line": 0
28+
}
29+
}

CHANGELOG.md

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
## 2.4.0
2+
3+
* Touchscreen support. This includes:
4+
* 7-day forecast, with four days shown at one time, using left/right swipe or tapping arrow icons to shift to the end or the beginning of the forecast week.
5+
* Tap on scrolling alert "ticker" at bottom of screen to see full text of current alerts.
6+
* Tap on forecast day to see textual summary for that day.
7+
* Tap on sunrise/sunset times to shift to display of moonrise/moonset times.
8+
* Tap on gear icon to bring up Settings dialog, with optional onscreen keyboard.
9+
* GPS time support.
10+
* GPS location support.
11+
* Notifications for software updates.
12+
* Optional onscreen administrative functions, provided through the Settings dialog. These include:
13+
* Reboot
14+
* Shutdown
15+
* Quit browser
16+
* Initiate software update.
17+
* User customizable background and clock face colors.
18+
* Assorted minor bug fixes and performance improvements.
19+
20+
## 2.3.3
21+
22+
* Add hourly forecast feature.
23+
* Use darksky weather summary for wunderground forecast if available.
24+
* Eliminate forecast refreshes for preference changes that don't require it.
25+
* Fix leap second display bug for timezones with positive UTC offset.
26+
27+
## 2.2.2
28+
29+
* Greatly simplified, optionally interactive, installation process.
30+
* Service displays correct status for sudo service --status-all.
31+
* Development data server now defaults to port 4201 without having to set the AWC_PORT environment variable.
32+
* More consistent environment variable naming.
33+
* Extra assistance in setting up default client settings, including IP-based guess at location, 24hr vs. AM/PM, Celsius vs. Fahrenheit.
34+
* Improved recovery from TAI-UTC data errors.
35+
* Improved formatting for AM/PM-style time.
36+
* Special provisions for developing on Debian Linux with LXDE desktop as a close-to-Raspberry Pi substitute.
37+
* Fix for Weather Underground snow forecasts.
38+
39+
## 2.1.2
40+
41+
* Added a new weather data service, Weather Underground, so that a Dark Sky API key is not needed. Dark Sky is still an option as well, as either a backup (by default) or as a primary weather service.
42+
* Equinox/solstice times are now displayed.
43+
* A small change in rain/snow probability graphics, dependent on test of available emoji.
44+
* Fixed display of indoor signal meter.
45+
* Update of rpi-acu-rite-temperature library helps fix possible caching of corrupted data after a wireless sensor has stopped providing data.
46+
* Fixed incorrect Weather Underground timestamp.
47+
* Fixed Safari-only bug where signal meter graphic became clipped when tinted blue.
48+
49+
## 2.0.4
50+
51+
* Allow project to be developed on Windows and non-Raspbian Linux (already worked on MacOS).
52+
* Display equinoxes and solstices.
53+
54+
## 2.0.2
55+
56+
* Support for remote temperature sensors.
57+
* Updated buggy version of rpi-acu-rite-temperature package to fixed version.
58+
59+
## 1.2.7
60+
61+
* Added support for displaying ΔUT1 and ΔTAI.
62+
63+
## 1.2.6
64+
65+
* Reduce NTP polling rate.
66+
* Update linting and unit tests.
67+
68+
## 1.2.5
69+
70+
* Major updates of supporting npm packages.
71+
* Applied webpack to deployment of server code.
72+
* Improved build process for using of temperature/humidity sensor.
73+
* Made use of AWC_ prefix for set-up environment variables consistent.
74+
75+
## 1.2.2
76+
77+
* Added NTP client, leap second handling, use of cached weather conditions/forecast for up to two hours when weather server access fails. Simplified build process for using DHT22 temperature/humidity sensor.
78+
79+
## 1.0.10
80+
81+
* Improve marquee. Add built-in font for astronomical symbols.
82+
83+
## 1.0.9
84+
85+
* Improve settings dialog appearance in Firefox and Safari.
86+
87+
## 1.0.8
88+
89+
* Make dialog grid layout work for IE 11.
90+
91+
## 1.0.7
92+
93+
* Improve logic of risen tracks.
94+
95+
## 1.0.6
96+
97+
* Add rise/set time indicator arcs for planets.
98+
* Add option to debug time at accelerated rate.
99+
100+
## 1.0.5
101+
102+
* Add version number to settings dialog.
103+
104+
## 1.0.4
105+
106+
* More assorted code clean-up.
107+
108+
## 1.0.3
109+
110+
* Update lint and e2e.
111+
112+
## 1.0.2
113+
114+
* Updated README.md.
115+
116+
##1.0.1
117+
118+
* Fix gear.svg image so it's compatible with IE. Add MIT license to individual files.
119+
120+
## 1.0.0
121+
122+
* Initial release.

0 commit comments

Comments
 (0)