Dario Mratovich
1eb2965b2b
Ensure updatenotification module isn't shown when local is *ahead* of remote ( #2943 )
...
This PR resolves a small bug in the updatenotification module if a local
git repo is ahead of the remote (for example I have made local commits
for my personal needs).
Currently, if `git status -sb` reports a status like: `##
master...origin/master [ahead 2]` then updatenotification treats this as
though it's "behind".
This PR uses a single Regex to match `git status -sb` output and uses
capture groups to extract info to populate the `gitInfo` object to avoid
needing to do string manipulation to extract this information.
Co-authored-by: Dario Mratovich <dario.mratovich@outlook.com>
2022-10-12 20:23:42 +02:00
Johan
85a9f14178
Added css class names "today" and "tomorrow" for calendar ( #2939 )
...
Added class names "today" and "tomorrow" on the calendar module tr
elements (i.e. calendar items).
This way you can for example color your events today and/or tomorrow to
more easily see what's happening in the near future.
Implemented by adding an event.tomorrow variable (similar to
event.today) that can be used for other things in the future. Also
replaced a few hardcoded values (hours, seconds etc.) with constants to
make the code more consistent.
Edit: tested with normal events, split day events and events with
locations.
2022-10-11 21:05:11 +02:00
dWoolridge
21ae79b386
weathergov.js: Removed weatherEndpoint definition ( #2936 )
...
Removed weatherEnpoint definition in defaults. It is not used in the
weathergov.js provider.
2022-10-07 19:03:52 +02:00
Veeck
d5e855dd6d
Use fetch instead of XMLHttpRequest in weatherprovider ( #2935 )
...
small update to the fetchData method to use the fetch helper instead of
the old XCMLHttpRequest.
Also fixes some typos :-)
Co-authored-by: veeck <michael@veeck.de>
2022-10-06 19:44:16 +02:00
dWoolridge
a86e27a12c
Added fetchWeatherHourly functionality to Weather.gov provider ( #2933 )
...
Added fetchWeatherHourly functionality to:
modules/default/weather/providers/weathergov.js
2022-10-06 09:56:32 +02:00
Malte Hallström
8212d30c4c
fix(weather/smhi) Correctly reference apparent temp method ( #2931 )
...
This PR addresses [this
comment](48756e8774 (commitcomment-85772193)
),
which points out an issue with #2902 .
Looks like the apparent temp calculation method was incorrectly
referenced 😅
2022-10-04 11:07:40 +02:00
Karsten Hassel
6cad0e191b
fix weather README
2022-09-21 23:40:15 +02:00
Karsten Hassel
f23e604ed4
remove old weather modules
2022-09-21 22:51:48 +02:00
Sam Detweiler
11d17dd2c0
fix typo, duplcate line
2022-09-06 13:29:08 -05:00
Sam Detweiler
174da38cc8
run prettier
2022-09-05 15:02:16 -05:00
Sam Detweiler
032f7ac299
fix events with rrule byweekday
2022-09-05 14:13:46 -05:00
Malte Hallström
50f72f09ac
refactor: fix linting & code style issues
2022-08-30 10:06:34 +02:00
Malte Hallström
02cf9b37e2
refactor: use const
instead of let
2022-08-29 20:08:27 +02:00
Malte Hallström
0a1067ec7d
feat(weather/smhi): support custom location names
2022-08-28 20:31:54 +02:00
Malte Hallström
48756e8774
feat(weather/smhi): calculate apparent temperature
2022-08-28 20:31:54 +02:00
Malte Hallström
4915ad8fc7
feat(weather/smhi): support hourly forecasts
2022-08-28 20:31:54 +02:00
Michael Teeuw
ba128cbae9
Merge pull request #2881 from SmartMirrorUmbrella/develop
...
Add possibility to fetch calendars through socket notifications
2022-08-19 12:53:42 +02:00
Michael Teeuw
e997ee7071
Merge pull request #2898 from rejas/docs
...
Update jsdocs
2022-08-19 12:52:53 +02:00
veeck
2c0c62c89b
Remove default weatherEndpoint
2022-08-17 09:18:35 +02:00
veeck
ec13c952d9
Use type value from config instead just only weatherEndpoint
2022-08-16 22:39:30 +02:00
rejas
b26da4f97f
Fix jsdoc in calendar
2022-08-08 10:30:37 +02:00
krukle
9ae62d60f7
fix automated test: error 'key' is not defined
2022-08-06 10:47:37 +02:00
buxxi
17c14e137e
Make the calendar show the whole multi day event with how far it has progressed
2022-08-02 16:45:37 +02:00
krukle
bc239f6608
fix checkstyle errors
2022-07-29 10:25:23 +02:00
Christoffer Eid
6493fad8a4
Merge branch 'develop' into develop
2022-07-28 16:32:19 +02:00
Michael Teeuw
d24fe4e983
Merge pull request #2890 from MikeBishop/showTimeToday
...
Show time today
2022-07-28 15:25:50 +02:00
Mike Bishop
5aa9e7e0f6
Add showTimeToday option
2022-07-25 13:52:43 -04:00
Karsten Hassel
1e934e16af
respect rss ttl provided by newsfeed
2022-07-21 22:07:36 +02:00
krukle
8bf9b9bef9
Add possibility to fetch calendars through socket notifications
2022-07-12 14:35:04 +02:00
Michael Teeuw
2d15e4f976
Merge pull request #2877 from davide125/permissions
...
Drop executable bit where not needed
2022-07-06 16:30:08 +02:00
Jonathan Kolb
f1f2a61dc8
Broadcast all calendar events while still honoring global and per-calendar maximumEntries
2022-07-03 13:17:18 -04:00
Davide Cavalca
39c1b37726
Drop executable bit where not needed
2022-07-02 14:38:10 -07:00
Sam Detweiler
1f4ac82495
add changelog for #2868
2022-06-28 08:05:13 -05:00
Sam Detweiler
0baf58f3fd
fix regression calendar.maximumEntries not used
2022-06-28 08:01:28 -05:00
Jonathan Kolb
c82de1e314
Group filters that only apply when limiting for display
2022-06-09 09:21:00 -04:00
Jonathan Kolb
604a555e14
Include duplicate events in broadcasts
2022-06-09 07:52:29 -04:00
Karsten Hassel
591f907134
fix newsfeedfetcher using correct stream version (changed with node-18-fetch)
2022-05-28 22:28:37 +02:00
Karsten Hassel
0023c64d59
use internal fetch function of node instead external node-fetch
library if node version >= v18
2022-05-27 19:46:28 +02:00
Michael Teeuw
b13414cab8
Merge branch 'develop' into issue_2192
2022-05-18 09:14:29 +02:00
rejas
c3b2aaec69
Show endDate for calendar events
...
when dateHeader is enabled and showEnd is set to true
2022-05-10 21:44:39 +02:00
eouia
1d90c5e1fe
Add JSDoc description
2022-04-26 17:37:23 +02:00
eouia
0f39b7733c
fix typo jsdom tag returns
2022-04-26 14:57:47 +02:00
eouia
038b6765e7
Change property name clearly
2022-04-26 14:52:05 +02:00
eouia
df0f048ecc
Added outgoing notification
2022-04-26 13:55:39 +02:00
Sam Detweiler
cdd87436be
fix fullday/showend conflict #2629
2022-03-27 09:16:25 -05:00
veeck
eca339ad60
Fix weird code in weathergov, still returns no data though
2022-03-22 21:11:44 +01:00
rejas
b72cb52a71
Remove windspeed conversion from openweathermap
2022-03-22 20:46:15 +01:00
Michael Teeuw
e12f57d872
Merge pull request #2815 from 10bias/weather-provider-weatherflow
...
Weather provider weatherflow
2022-03-11 15:43:22 +01:00
Michael Teeuw
5def02ff7f
Merge pull request #2810 from philnagel/weatherModule-weathergov-feelsLikeFix
...
fix parsing of feels like for weathergov
2022-03-11 15:39:11 +01:00
Jon Kolb
d588fab981
Don't adjust startDate for full day events if endDate is in the past
2022-03-02 22:09:15 -05:00