Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weather@mocturtl - 2.0.0 Update: Rework to support other APIs after Yahoo API closes #2223

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

Gr3q
Copy link
Contributor

@Gr3q Gr3q commented Jan 20, 2019

Pull request to make the weather applet functional again.
Issue link: #2178

Added capability to support more than 1 API, but only OpenWeatherMap is implemented at the moment.

Fully functional,
I believe icons needs some tweaking and the translation testing/reworking because a huge amount of code was changed.

@Ahmad-Magdy-Osman
Copy link

Any idea how long until this is available for end users?

@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 21, 2019

@mockturtl tell me what I need to change and I change it.

Apologies for not using the Code Guide, I was in a hurry and did not read it properly, I plan to fix that in another pull request with another API implementation.

@Gr3q Gr3q changed the title To Fix broken applet: weather@mocturl, Yahoo API changed to OpenWeatherMap API weather@mocturl Ver1.9.0 Update Jan 21, 2019
@Gr3q Gr3q changed the title weather@mocturl Ver1.9.0 Update weather@mocturl - 1.9.0 Update: Rework to support other APIs after Yahoo API closes Jan 21, 2019
@dopeboy
Copy link

dopeboy commented Jan 21, 2019

(Not affiliated with the repo - just commenting as a fan)

Thanks for your hardwork, @Gr3q. I did a quick test and found the following:

  • The refresh button doesn't work
  • Changing the city doesn't always work
  • More on the UX side - we may need a little more guidance on entering a location because if you enter a US city like mine, it may or may not work. But <zipcode>,<country> works - I only learned that from the OW docs.

Once I got past that, I had a working applet :)

For those needing this immediately, remove the existing weather applet and

git clone https://github.com/Gr3q/cinnamon-spices-applets.git
cp -r cinnamon-spices-applets/weather@mockturtl/files/weather@mockturtl ~/.local/share/cinnamon/applets/

The applet should show in the Cinnamon applets list.

Head over to OpenWeather and create an account. Get the API key. Open the applet configuration and plop it in. If you don't live in a major city, it might not pick up your location. I'd suggest reading here to ascertain your location.

If you run into wonky errors with the applet, try refreshing cinnamon (alt+f2, type in 'r')

edit: thanks @nalim - fixed the cp command.

@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 21, 2019

@dopeboy Thanks for the feedback
I will iron out the refresh/reload stuff and hopefully make the Settings page more user friendly, most likely later this week.

I'm surprised that it works with zip code as I never actually implemented that (just checked and [zip,country] code can be used with the same query string as [city,country], that's why)

I will keep this pull request open until I fixed the things mentioned.

@nalim
Copy link

nalim commented Jan 21, 2019

(Not affiliated with the repo - just commenting as a fan)

Thanks for your hardwork, @Gr3q. I did a quick test and found the following:

  • The refresh button doesn't work
  • Changing the city doesn't always work
  • More on the UX side - we may need a little more guidance on entering a location because if you enter a US city like mine, it may or may not work. But <zipcode>,<country> works - I only learned that from the OW docs.

Once I got past that, I had a working applet :)

For those needing this immediately, remove the existing weather applet and

git clone https://github.com/Gr3q/cinnamon-spices-applets.git
cp -r cinnamon-spices-applets/weather@mockturtl/ ~/.local/share/cinnamon/applets

The applet should show in the Cinnamon applets list.

Head over to OpenWeather and create an account. Get the API key. Open the applet configuration and plop it in. If you don't live in a major city, it might not pick up your location. I'd suggest reading here to ascertain your location.

If you run into wonky errors with the applet, try refreshing cinnamon (alt+f2, type in 'r')

small correction:

cp -r ~/cinnamon-spices-applets/weather@mockturtl/files/weather@mockturtl ~/.local/share/cinnamon/applets/

@mockturtl
Copy link
Contributor

@Gr3q Wow! It's working for me.

tell me what I need to change and I change it.
Apologies for not using the Code Guide, I was in a hurry and did not read it properly, I plan to fix that in another pull request with another API implementation.

No worries, I just wanted to keep the style consistent, and certain choices looked popular at the time. The problem now might be choosing among popular auto-formatting tools. 😆

The README should explain how to get an API key, and any known issues (maybe another call for translators?). Otherwise, 👍 👍 from me.

Amazing work!

@ghost
Copy link

ghost commented Jan 21, 2019

@Gr3q Firs of all, thank you very much from me as well!
Just as information: I noticed two things you might take a look (if you have ability of course).
First one, if I add the applet to the panel, do not enter a location and then remove it, this triggers an infinite high CPU load after some time.
And second one, I'm receiving the following message when I'm appending the applet to the panel:
Invalid setting type 'button' for setting key 'getLocation' of applet/desklet uuid weather@mockturtl
However, the applet seems working at all, so good job.

Once again thank you and sorry for my bad English!

@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 21, 2019

Fixed Refresh button and wonkiness when changing location and API key, found the problem with the high CPU usage and fixed it.

Stuff with the button error in the log...can't figure it why I get an error message, I shouldn't use buttons in the settings? It works, so I leave it in.

@dopeboy I took the liberty to take your few lines how to get an API key from OpenWeather and put it in the Readme, but it needs a bit more detailed guide.

The Readme is what needs to be done (if someone have time to write some more to it about Openweather would appreciate that), after that I squash my commits into one and it can be approved.

@dopeboy
Copy link

dopeboy commented Jan 21, 2019

@Gr3q - I'll fill out the README - will do it later today or early tomorrow PST.

@pavolgaj
Copy link
Contributor

Hi,
I want to try it. But, it doesn't work. I set location and API. I tested it using web browser: api.openweathermap.org/data/2.5/weather?q={city name},{country code}&appid={api} and it works.
But, refresh in applet not works at all. I found this error in .xsession-errors:
(cinnamon:1603): Cjs-WARNING **: 09:53:56.096: JS ERROR: TypeError: json is null anonymous/refreshWeather/<@/home/pavolg/.local/share/cinnamon/applets/weather@mockturtl/applet.js:430:11 soupQueue@/home/pavolg/.local/share/cinnamon/applets/weather@mockturtl/applet.js:412:7

@dopeboy
Copy link

dopeboy commented Jan 22, 2019

@pavolgaj - I had to restart Cinnamon to get past that error. It seems removing and reinstalling the applet didn't always load the new one.

@Gr3q - I've requested some changes to your fork.

@pavolgaj
Copy link
Contributor

@dopeboy Restart helps me. Thanks!

@Gr3q Gr3q changed the title weather@mocturl - 1.9.0 Update: Rework to support other APIs after Yahoo API closes weather@mocturl - 2.0.0 Update: Rework to support other APIs after Yahoo API closes Jan 22, 2019
@Gr3q Gr3q changed the title weather@mocturl - 2.0.0 Update: Rework to support other APIs after Yahoo API closes weather@mocturtl - 2.0.0 Update: Rework to support other APIs after Yahoo API closes Jan 22, 2019
@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 22, 2019

@pavolgaj please try it with the latest changes in my fork, also can you send me what you put into the location field?

Otherwise, this pull request is ready to go.

@mockturtl Do you know who needs to review and approve/reject the Pull request?

@jaszhix
Copy link
Contributor

jaszhix commented Jan 22, 2019

Hi, nice work. I tested this and it seems to work pretty well. One small issue I found on startup:

Cjs-Message: 10:48:31.343: JS LOG: [LookingGlass/error] Invalid setting type 'button' for setting key 'getLocation' of xlet weather@mockturtl

@archmunky
Copy link

archmunky commented Jan 22, 2019

When I use this it keeps flashing with the weather info and "service not available" every few seconds. any idea what could be causing this problem?

Fixed: had to force a cinnamon restart.

@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 22, 2019

@archmunky Are you using the applet with the latest changes included?

@archmunky
Copy link

@Gr3q yeah, I cloned the repo again tonight and tried that version. It did the flashing behavior until I forced a cinnamon restart but after that it worked great! Thanks so much for your effort! I love that you set it up to use city id, lat/long also -- there are too many cities with the same name and it always chose the wrong one. But both city id and lat/long works perfectly. Again, thanks so much!

@mockturtl
Copy link
Contributor

Do you know who needs to review and approve/reject the Pull request?

Ping @jaszhix whenever you're ready.

@ghost
Copy link

ghost commented Jan 23, 2019

I think everything works fine now. Just one more small thing - when degrees are Celsius, it shows 1° more then json data, so i think, also according to this table, there is a typo here and it should be:

-      return Math.round((kelvin  - 272.15) * 10)/ 10;
+      return Math.round((kelvin  - 273.15) * 10)/ 10;

Thanks a lot again for your work!

@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 23, 2019

@cranes-bill Nice catch! Fixed.
@jaszhix Yes, the error message is quite obvious and although it does not affect the button's functionality in the Settings page at all, I can't seem to find the documentation on what else should I use instead.

@mxyzplx
Copy link

mxyzplx commented Jan 23, 2019

First, thanks for your work on this. I've been using the one from git, and it's working very well for me.

Second, and this is by no means a big deal, but is there a way to get the temperature rounded to two digits? I believe the original did that (may be wrong and can't check now because it's not functioning), and it saves a little space on the panel.

@Odyseus
Copy link
Contributor

Odyseus commented Jan 23, 2019

Hello, everybody.

@Gr3q: The problem with the error reported by @jaszhix is that you are binding the applet settings in a loop and the button is listed in the KEYS constant. Since the button type field isn't a setting, it doesn't need (and it shoudn't) to be bound. You could just remove WEATHER_GET_LOCATION from the KEYS array and the error will go away.

@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 23, 2019

@Odyseus thank you for explaining that. Do you know is there documentation what I can educate myself with so these kind of noob mistakes don't happen again?

@mxyzplx The temperature came from Yahoo API as Celsius or Fahrenheit so I don't know either. If the preference is to have whole numbers, I can do that. Although I would change this to an user setting later on.

@mxyzplx
Copy link

mxyzplx commented Jan 23, 2019

@mxyzplx The temperature came from Yahoo API as Celsius or Fahrenheit so I don't know either. If the preference is to have whole numbers, I can do that. Although I would change this to an user setting later on.

Yep, that's exactly what I was thinking of, a setting for whole numbers.

@Odyseus
Copy link
Contributor

Odyseus commented Jan 23, 2019

Edit: My next replay assumes that you already know of the Cinnamon documentation. In case that I assumed wrong, the next replay by collinss explains how to get it.

@Gr3q: The button widget is described in the documentation as a non-setting widget. As such, it should never be bound to a setting. It would be like trying to bind a label widget.

On the other hand, I must admit that the documentation is kind of confusing. Because, for example, button and label are listed under Other settings types and then are described as non-setting. In fact, calling them settings types is misleading. What they really are is widget types; some can control settings and some don't (non-setting widgets).

@collinss
Copy link
Member

@Gr3q For the documentation, you'll need to install devhelp, and the cinnamon-doc package (for debian based distros like Mint and Ubuntu) if they're not already installed (note: building cinnamon yourself will usually also build cinnamon-doc). The documentation for the settings api is found under Cinnamon Tutorials in devhelp.

Removed Yahoo Weather API support and added OpenWeatherMAP instead, with capability to extend to  support other APIs later on.
@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 23, 2019

@collinss @Odyseus Thank you, now I know where to look for these things.

  • Added Fix for button, had a look on the state of the translations as well, the old stuff still works.
  • More resistance against API response errors and against missing fields in the json.
  • Temperature is rounded to whole numbers, adding this as an option in another version.

@jaszhix Unless you guys find some critical bug, this pull request is ready to go.

@jaszhix jaszhix merged commit 73f907e into linuxmint:master Jan 23, 2019
@ghost
Copy link

ghost commented Jan 24, 2019

@Gr3q
Just to have in mind for the next changes, currently the applet are showing sunrise / sunset time twice. For example: 7:48 7:48
Thanks! 👍

@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 24, 2019

@cranes-bill yeah thank you, I noticed it after merge, also there is no timezone calculation for them either so its always showing utc... fixed both on my fork but the tz stuff is pretty ugly

@pavolgaj
Copy link
Contributor

pavolgaj commented Jan 24, 2019

@Gr3q I have correct time of sunrise/sunset without any TZ correction. My TZ is UTC+1 and I set it in date/time settings. I think it's calculated during converting it to locale format.

@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 24, 2019

@pavolgaj I don't know for sure, but you get obviously wrong times if you set your location to for example china (showing sunrise at 22:00, system tz is GMT) so its either displaying in UTC or in the systems timezone (possibly the latter).

The thing is it the applet should't use system locale/tz information for a time what can be in a different tz.

I'm gonna test this tonight, swapping my system TZs while making sure the sunrise/sunset times for a location with wierd tz offset (probably El Aaiun) always displays the correct time for that location.

@pavolgaj
Copy link
Contributor

@Gr3q I tried it. It displays times for selecting location in the system TZ.
Few examples:

  • location: central europe, TZ: central europa - sunrise at 7:00-8:00
  • location: central europe, TZ: Japan - sunrise at 15:00-16:00
  • location: Japan, TZ: Japan - sunrise at 7:00
  • location: Japan, TZ: central europe - sunrise at 23:00

So, times are always displayed in system TZ.

@Gr3q
Copy link
Contributor Author

Gr3q commented Jan 24, 2019

@ So it is, thank you.

@dene14
Copy link

dene14 commented Jan 29, 2019

@Gr3q Thank you so much!!!

jorgenqv added a commit to jorgenqv/cinnamon-spices-applets that referenced this pull request Jan 30, 2019
* officeCenter@scollins: Add Spanish translation

* Cinnamenu@json: Fix being unable to select context menu options from the first app button in a group (linuxmint#1959)

* Cinnamenu@json: Fix being unable to select context menu options from the first app button in a group

* Update changelog

* temperature@fevimu: Resolved 'NaN' applet value when 'sensors' command returns no Package or Core temperature but shows 'CPU Temperature'

* temperature@fevimu: Fix for Ryzen CPUs (linuxmint#1961)

* temperature@fevimu: Updated cpuIdentifier to full label 'CPU Temperature' instead of substring 'CPU'. (linuxmint#1962)

* IcingTaskManager@json: Fix invalid access errors (linuxmint#1964)

* IcingTaskManager@json: Fix invalid access errors

* Check if WindowThumbnail is nullified in MetaWindowActor destroy signal

* Update Spices notifier v3.8 (spices-notifier@germanfr) (linuxmint#1967)

Changelog at: https://github.com/germanfr/spices-notifier/commits/master

* gpaste-reloaded@feuerfuchs.eu: Avoid passing xlet context to SignalManager (linuxmint#1965)

* collapsible-systray@feuerfuchs.eu: Avoid passing context to SignalManager (linuxmint#1966)

* pomodoro@gregfreeman.org: Fix custom sound path in newer versions of cinnamon, filechooser returns a file uri (linuxmint#1969)

* [bash-sensors@pkkk] added stylesheet (linuxmint#1970)

* added stylesheet to implement consolas font for click menu.
also added some styles to it

* updated comment

* background more like cinnamon default

* change author

* manage multiple commands with the character ;

* fix use get_names() as an array

* change author

* Cinnamenu@json: 3.2.6 (linuxmint#1971)

* Fix invalid object access errors

* Fix list view not filling the width of the parent ScrollView container

* Make dot alignment more consistent across list and grid views, fix label vertical alignment in list view

Misc. formatting

* 3.2.6

* New applet CustomPlaces (linuxmint#1977)

* New applet CustomPlaces

* Change the appletUUID

* Remove sound-with-apps-volume@koutch (linuxmint#1978)

* Fix Skype tray icon (linuxmint#1979)

* clipboard-qr@wrouesnel: Added python interpreter into clipboard-qr.py launch command to circumvent lack of execute bit on clipboar-qr.py helper program. (linuxmint#1980)

clipboard-qr@wrouesnel: Added python interpreter into clipboard-qr.py launch command to circu…

* IcingTaskManager@json: Fix more invalid object access issues (linuxmint#1982)

* Fix invalid object access when windows are rapidly opened and closed

* Fix groupState.trigger TypeError on reload + cinnamon restart

* Bump version

* Cinnamenu@json: Fix invalid object access when new apps are installed (linuxmint#1983)

* multicore-sys-monitor@ccadeptic23: 1.8.6 (linuxmint#1984)

* Improve notification of missing GTop dependency

Based on:
linuxmint@46eb558

* Cache actors on the GPU

* Update PO files

* Minor formatting clean up

* Prevent setting a refresh rate lower than 500ms

Too low of a value can prevent Cinnamon from starting.

* Fix network device list getting stale when vnics are removed

* 1.8.6

* Fix up translation script configuration

* turn-off-monitor@zablotski: Disable mouse for one second after applet (linuxmint#1988)

clicked, icon changes

* hwmonitor@sylfurd: Misc. clean up (linuxmint#1989)

* hwmonitor@sylfurd: Clean up

- Ensures the timeout_add callback returns `true` instead of recursively
calling Mainloop.timeout_add, and returns `false` (stops interval) when
removed from the panel.
- Caches the actor on the GPU.
- Reduces redundant calculations and function invocation in
Graph.prototype.paint.
- Minor style fixes for more consistency.
- Removes unnecessary try-catch blocks.

* Fix mixed spaces and tabs

* Remove more tabs

* system-monitor@pixunil: Remove broken applet (linuxmint#1990)

* sane-menu@nooulaif: Remove broken applet (linuxmint#1992)

* jenkins@backuity: Fix strict mode issues (linuxmint#1993)

* mailnagapplet@ozderya.net: Create pl.po (linuxmint#1998)

Add Polish translation

* temperature@fevimu: Created pl.po (linuxmint#1999)

Added polish translation to temperature@fevimu

* mailnagapplet@ozderya.net: Polish translation (linuxmint#2000)

* mailnagapplet@ozderya.net: Polish translation

Moving it to correct directory

* Delete pl.po from wrong directory

* hwmonitor@sylfurd: Fix up "Misc. clean up" (linuxmint#2001)

* windowlist@cobinja.de Fix preview size in HiDPI mode (linuxmint#2002)

* CinnVIIStarkMenu@NikoKrause: remove dead code (linuxmint#2004)

fixes linuxmint#1791

* CinnVIIStarkMenu@NikoKrause: replace missing default terminal icon (linuxmint#2005)

The desktop file for GNOME terminal in my system uses
"utilities-terminal", not "terminal". That icon is not even in the
hicolor theme nor in Adwaita on my system, so it is missing.

* vpnLookOut@claudiux v2.5.0 - Multiversion. Change to Class Syntax for Cinnamon 3.8 (linuxmint#2006)

* vpnLookOut v2.5.1 - Adds a keyboard shortcut option to activate / deactivate the last VPN used. (linuxmint#2007)

* Cinnamenu@json: Fix context menu positioning in list view mode (linuxmint#2010)

* IcingWindowSaver@json: 1.0.1 (linuxmint#2011)

* IcingWindowSaver@json: 1.0.1

* Added detection for missing dependencies.
  * Removed Babel.

* Change display name to Window Position Saver

* Cinnamenu@json: Fix menu toggling in list view mode (linuxmint#2012)

* vpnLookOut v2.5.2 - Update translation files (linuxmint#2013)

* bash-sensors: fix stylesheet handling (linuxmint#2014)

older Cinnamon versions do not have the setCustomStyleClass method and use actor.add_style_class_name instead

* vpnLookOut@claudiux - v3.0.0 with VPN-related Apps Manager (linuxmint#2016)

* vpnLookOut@claudiux - v3.0.0 with VPN-related Apps Manager

* Update CHANGELOG.md

* placesCenter@scollins - fr.po updated

* Fix strict mode errors (linuxmint#2017)

* Update Spices notifier v3.8 (spices-notifier@germanfr) (linuxmint#2018)

Changelog at: https://github.com/germanfr/spices-notifier/commits/master

* rancher@centurix: Rancher not loading (linuxmint#2020)

* Add new Shell sheet, fix clipboard copying, fix missing sheet icons

* Fix strict assignments to enable the applet to load in Cinnamon 3.8.x

* vpnLookOut@claudiux - Italian translation - New file it.po (linuxmint#2021)

* rancher@centurix: Update default project folder in settings-schema.json (linuxmint#2022)

* Add new Shell sheet, fix clipboard copying, fix missing sheet icons

* Update the default Homestead project home from the old ~/.homestead to ~/Homestead

* vpnLookOut@claudiux - Spanish translation - New version of es.po (linuxmint#2023)

* multicore-sys-monitor@ccadeptic23: 1.8.7 (linuxmint#2025)

- Fixes compatibility with cinnamon/new-panel-layout. This seems to be
the only applet that attempted to assign to `this._panelHeight`, which
is now a getter in ui/applet.
- Fixes the enabled state on devices not persisting after settings
change.

* AutostartPrograms@spacy01: Add Turkish translation (linuxmint#2026)

* a4techTool@mous: Add Turkish translation (linuxmint#2030)

* vpnLookOut@claudiux: Update sv.po (linuxmint#2031)

Update Swedish translation

* Fix misspelling (linuxmint#2029)

- ShutdownMenuWithIcons@LLOBERA/files/ShutdownMenuWithIcons@LLOBERA/README.txt
 - back-up_state@natsakis.com/README.md
 - commandLauncher@scollins/README.md
 - netusagemonitor@pdcurtis/files/netusagemonitor@pdcurtis/README.md

* acerhk-ctl@mcnielcho.org: Add Turkish translation (linuxmint#2033)

* back-up_state@natsakis.com: Add Turkish translation (linuxmint#2036)

* workspace-name@willurd: add tr.po (linuxmint#2037)

workspace-name@willurd: add tr.po

* workspace-grid@hernejj: add tr.po (linuxmint#2039)

workspace-grid@hernejj: add tr.po

* slingshot@jfarthing84: Remove broken unmaintained applet (linuxmint#2034)

* hwmonitor@sylfurd: add tr.po (linuxmint#2040)

hwmonitor@sylfurd: add tr.po

* printers@linux-man: add tr.po (linuxmint#2041)

printers@linux-man: add tr.po

* bash-sensors@pkkk: Add Turkish translation (linuxmint#2042)

* ScreenShot+RecordDesktop@tech71: add tr.po (linuxmint#2044)

ScreenShot+RecordDesktop@tech71: add tr.po

* multicore-sys-monitor@ccadeptic23: add tr.po (linuxmint#2046)

* multicore-sys-monitor@ccadeptic23: add tr.po

multicore-sys-monitor@ccadeptic23: add tr.po

* multicore-sys-monitor@ccadeptic23: fixed tr.po

multicore-sys-monitor@ccadeptic23: fixed tr.po

* placesCenter@scollins: add tr.po

placesCenter@scollins: add tr.po

* placesCenter@scollins: fixed tr.po

placesCenter@scollins: fixed tr.po

* vpnLookOut v3.0.1 - Now compatible with Cinnamon 4.0 (linuxmint#2049)

* pomodoro@gregfreeman.org: add tr.po (linuxmint#2048)

pomodoro@gregfreeman.org: add tr.po

* CinnVIIStarkMenu@NikoKrause: add tr.po (linuxmint#2043)

* sessionManager@scollins: add tr.po

sessionManager@scollins: add tr.po

* Update Spices notifier v4.0~20181106 (spices-notifier@germanfr) (linuxmint#2051)

Changelog at: https://github.com/germanfr/spices-notifier/commits/master

* Fixed this.panel is null (linuxmint#2053)

* vpnLookOut@claudiux v3.1.0 - Improves VPN-related Apps Management, and French, Spanish and Italian translations (linuxmint#2054)

* vpnLookOut@claudiux: add tr.po (linuxmint#2055)

* vpnLookOut@claudiux: add tr.po

vpnLookOut@claudiux: add tr.po

* vpnLookOut@claudiux: update tr.po

vpnLookOut@claudiux: update tr.po

* [collapsible-systray@feuerfuchs.eu] Make compatible with Cinnamon 4.0 (linuxmint#2056)

* Cinnamenu@json: Improve search, fork 4.0 version (linuxmint#2027)

* Cinnamenu@json: Improve search

* Remove duplicate key

* Fix mozjs24 compat for debian

* Give exact matches max scores

* Let open windows being matched by ID

* Make sure all result types have a score property

Otherwise the sort order will break.

* Ensure favorites always have the correct order after exiting a search query

* Lower keywords threshold

* Only add markup formatting to name, description app type props

* Fix exact match formatting

* Work around ClutterText markup warning

Cause TBD, but this prevents all of the warnings for now.

(cinnamon:3430): Clutter-WARNING **: 21:43:21.021: Failed to set the
markup of the actor 'ClutterText': Error on line 1 char 44: Element '<b'
was closed, but the currently open element is 'u'

* Create 4.0 version

This also fixes auto-completion behavior. Since this was fixed on the
4.0 version before realizing it wasn't a regression from syntax changes,
it has been removed for <4.0 as it never worked correctly.

* 4.0: remove Cinnamon utility functions

* placeDisplay: Use tryFn

* <=3.8: Fix settings schema

* Copy icon into version directories

* placeDisplay: Fix PlaceInfo.prototype.getFileName

* Base the height on natural height of layout actors, and fallback to original monitor height calculation when clipping

* schema: Use no menu label by default

* Use the distro's preferred menu icon by default

Adapted from
linuxmint/cinnamon@917f379

* Fix height increasing on every toggle

* Make sure scrollbox scrolls on categories key navigation

* Refresh on custom menu height toggle

* Batch state setting in refresh

* Add modified version of the vector box from the Cinnamon menu

The main difference is the vector box is not recreated on every hover
event, only updated after initial creation.

Fix height in the list view

* Toggle vector box reactivity on categoriesOverlayBox enter/leave

* Adjust vector box reactivity

* Ensure the vector box does not interfere with category dragging

* Remove vector box debug

* Let the categories scroll box auto-scroll

* Fix vector box invalid object access on refresh

* Fix list box width

* Don't let tooltips obstruct list view buttons

* Consolidate desciption placement options into a single drop-down setting, move the info box preset to the bottom

* Fix category selection resetting when descriptions are in the bottom pane

* Refresh on theme change

* Improve category selection responsiveness

* Only use the vector box when categories change on hover

* Base the vector box cursor offset on category button height

* Fix categories scroll box

* Add support for two instances

This adds getters on both instances and will toggle the menu that is on
the monitor containing the cursor instead of cycling between each other.

* Update changelog, bump version

* Simplify some search code

* Rename properties starting with an underscore

These properties can't be private in JS, and will likely not collide
with namespaces from the parents in the prototype chain.

* Update metadata.json

* Cinnamenu: Fix multi-instance behavior (linuxmint#2057)

Fixes an issue with the menu only opening on the primary monitor when
activated with the Super key.

* CinnVIIStarkMenu@NikoKrause: Cinnamon 4.0 support (linuxmint#2059)

... and reduce the min-height of the menu (Closes linuxmint#1911)

* cheaty@centurix: Added Regex cheatsheet (linuxmint#2058)

Added a regular expressions cheatsheet with the characters classes, quantifiers, anchors, etc.

* batterymonitor@pdcurtis: add tr.po (linuxmint#2064)

batterymonitor@pdcurtis: add tr.po

* windowlist@cobinja.de: add tr.po (linuxmint#2052)

windowlist@cobinja.de: add tr.po

* CustomApplicationsMenu@LLOBERA: add tr.po (linuxmint#2065)

CustomApplicationsMenu@LLOBERA: add tr.po

* pa-equalizer@jschug.com: add tr.po (linuxmint#2066)

pa-equalizer@jschug.com: add tr.po

* graphicsCenter@scollins: add tr.po

graphicsCenter@scollins: add tr.po

* vpnLookOut@claudiux: Update sv.po (linuxmint#2069)

New strings translated and some aprovements

* SW++@mohammad-sn: Fix binding issue (linuxmint#2070)

* color-picker@fmete: python3 and xclip (linuxmint#2060)

* port `cp.py` to python3
* replace xsel with xclip: xsel does not work with Java apps, e.g. phpStorm

* vpnLookOut@claudiux v3.2.0 - Added logging capabilities (linuxmint#2071)

* vpnLookOut@claudiux v3.2.0 - Added logging capabilities

* update of generate_pot.py

* fr.po - Fixes a regression

* Prettified settings-schema.json and updated .pot file

* Logging becomes independent of distrib

* temperature@fevimu: Add 4.0 to supported versions (linuxmint#2074)

* IcingWindowSaver@json: Update da.po (linuxmint#2076)

* feeds@jonbrettdev.wordpress.com: add tr.po (linuxmint#2077)

feeds@jonbrettdev.wordpress.com: add tr.po

* vpnLookOut@claudiux v3.2.1 - Improves display and management of Activity Log (linuxmint#2078)

* vpnLookOut@claudiux v3.2.1 - Improves display and management of Activity Log

* update CHANGELOG

* bash-sensors@pkkk: Update da.po (linuxmint#2079)

* collapsible-systray@feuerfuchs.eu: Update da.po (linuxmint#2081)

* betterlock: update da.po (linuxmint#2080)

* Fixed broken commands in ShutdownApplet. (linuxmint#2082)

* Fixed broken commands in applet.

* Took ownership of unmaintained applet.

* repo: Add a utility for reloading applets on code change (linuxmint#2075)

* repo: Add a utility for reloading applets on code change

* Fix help task

* gulpfile: Create non-existent target directories

More convenient than needing to install from spices, or copying
manually.

* Cinnamenu: Fix the menu becoming too tall (linuxmint#2083)

* Cinnamenu: Fix the menu becoming too tall

* Remove local gulpfile

* vpnLookOut@claudiux: Update sv.po (linuxmint#2085)

Update Swedish translation

* multicore-sys-monitor@ccadeptic23: Update da.po (linuxmint#2086)

multicore-sys-monitor@ccadeptic23: Update da.po

* radio@driglu4it: update da.po (linuxmint#2088)

* sound150@claudiux: update da.po (linuxmint#2089)

* placesCenter@scollins: update da.po

* spices-notifier@germanfr - Added fr.po (linuxmint#2090)

French translation for spices-notifier@germanfr, from .pot file.

* sound150@claudiux: add sv.po (linuxmint#2091)

Add Swedish translation

* spices-notifier@germanfr: create da.po (linuxmint#2092)

* multicore-sys-monitor@ccadeptic23: Fix segfault caused by switch to new libnm (linuxmint#2094)

This was wrapped in a try-catch, but that will not prevent segfaults if
Cinnamon no longer links to the original NM bindings.

* sticky@scollins: Update da.po

* xampp-panel@backids99: refreshed icons and screenshot of xamppanel applet (linuxmint#2098)

xampp-panel@backids99: refreshed icons and screenshot of xamppanel applet

* vpnLookOut@claudiux v3.3.0 - A new option allows requested disconnection even if automatic reconnection is selected (linuxmint#2095)

* vpnLookOut@claudiux: Update da.po (linuxmint#2100)

* turbonote@iksws.com.br: Remove broken unmaintained applet (linuxmint#2099)

* back-up_state@natsakis.com: Fix start-up errors (linuxmint#2103)

* back-up_state@natsakis.com: Fix start-up errors

* Check for file://

* Fix undeclared var

* sessionManager@scollins: add translation support and Brazilian Portuguese translation.

* windowlist@cobinja.de: Update da.po (linuxmint#2101)

* Cinnamenu: Load the icon theme before setting the menu icon (linuxmint#2105)

* Cinnamenu: Load the icon theme before setting the menu icon

* Fix for Cinnamon <4.0

* vpnLookOut@claudiux v3.3.1 - Shows shortcuts in tooltip. Update of fr.po it.po es.po (linuxmint#2106)

* vpnLookOut@claudiux v3.3.1 - Shows shortcuts in tooltip. Update fr.po it.po es.po

* New message to log

* Update of CHANGELOG.md

* vpnLookOut@claudiux: Update sv.po (linuxmint#2107)

Update Swedish translation

* ShutdownApplet@shelley: Fixed broken commands (linuxmint#2108)

* Fixed broken commands. Removed Hibernate cmd.

* Took ownership of unmaintained applet.

* vpnLookOut@claudiux: update tr.po (linuxmint#2109)

vpnLookOut@claudiux: update tr.po

* batterymonitor@pdcurtis Update to version 1.3.3 (linuxmint#2110)

* stopwatch@pdcurtis Update to version 2.1.1 (linuxmint#2111)

* bumblebee@pdcurtis Update to version 3.2.5 (linuxmint#2112)

* nvidiarime@pdcurtis Update to version 3.3.4 (linuxmint#2113)

* bumblebee@pdcurtis: add tr.po (linuxmint#2116)

bumblebee@pdcurtis: add tr.po

* nvidiaprime@pdcurtis: add tr.po (linuxmint#2117)

nvidiaprime@pdcurtis: add tr.po

* temperature@fevimu: Fix fall-back behavior when the temp can't be found from sensors (linuxmint#2118)

* netusagemonitor@pdcurtis Update to version 3.2.6 (multiversion to support Cinnamon 4.0)  (linuxmint#2114)

* netusagemonitor@pdcurtis Update to version 3.2.6 (multiversion)

* netusagemonitor@pdcurtis Update to version 3.2.6.1 (multiversion)

* netusagemonitor@pdcurtis Update to version 3.2.6.2 (multiversion)

*  vnstat@linuxmint.com Update to version 1.0.1 (multiversion  to support Cinnamon 4.0)  (linuxmint#2115)

* vnstat@linuxmint.com Update to version 1.0.1 (multiversion)

* vnstat@linuxmint.com Update to version 1.0.1.1 (multiversion)

* vnstat@linuxmint.com Update to version 1.0.1.2 (multiversion)

* Fix variable scope issue stopping repos from listing (linuxmint#2120)

* AutostartPrograms@spacy01: Hungarian translation (linuxmint#2124)

* Translate AutostartPrograms into Hungarian

* Add xampp-panel hungarian translation (linuxmint#2129)

* Weather applet Hungarian translation update (linuxmint#2130)

* Hungarian localization

* IcingTaskManager: Hungarian translation

* WindowListGroup: Hungarian translation

* Translate AutostartPrograms into Hungarian

* Updated Hungarian translation of weather applet

* Add system-monitor Hungarian translation (linuxmint#2132)

* Add Hungarian translation of sysmonitor (linuxmint#2133)

* Add search-box's Hungarian translations (linuxmint#2134)

* Add Hungarian translation of tor-button (linuxmint#2131)

* CinnVIIStarkMenu: Hungarian translation (linuxmint#2128)

* vpnLookOut@claudiux: Update sv.po (linuxmint#2135)

Minor improvements

* IcingWindowSaver@json: 2.0.0 (linuxmint#2136)

* Copy into 4.0 version

* Switch to class syntax

* Improve restore behavior after monitor unplug events

TODO: Save windowStates to a JSON file

* Fix id lookup

* 3.6: Fix window save path

* Add settings, persist window states across cinnamon restarts

* Check minimized state

* Fix re-positioning

* Remove dead code

No longer have any dependencies to check.

* Update pot files

* Use object destructuring assignment for imports

* Bump version, update changelog

* IcingWindowSaver@json: Fix framed window positioning (linuxmint#2137)

* commandLauncher@scollins: add tr.po

commandLauncher@scollins: add tr.po

* batterymonitor@pdcurtis Update to version 1.3.4.1 (linuxmint#2139)

* netusagemonitor@pdcurtis Update to version 3.2.7 (multiversion 2.6, 4.0) (linuxmint#2140)

* IcingWindowSaver@json: Fix CSD window positioning (linuxmint#2143)

* CinnVIIStarkMenu@NikoKrause: Fix broken option "Open menu on hover" (linuxmint#2144)

*  sshlauncher@sumo: Add ability to have Server Groups in SSH Launcher.   Using `#GroupStart MyName` will create a group called "MyName".   `#GroupEnd` will close the group.  Used `#` since it is a comment character; so it won't have any negative effects on anything else that read SSH Config files. (linuxmint#2096)

* vnstat@linuxmint.com Update to version 1.0.2 (Add settings to select vnstati format) (linuxmint#2148)

* netusagemonitor@pdcurtis v 3.2.8 Add vnstati display options and change settings to use tabs (linuxmint#2149)

* IcingTaskManager@json: Add migration functionality for moving pinned apps from ITM to GWL (linuxmint#2146)

* IcingTaskManager@json: Add migration functionality for moving pinned apps from ITM to GWL

Don't re-use the notification icon

Fix Uint8Array check

Give more details after file errors occur

Update po files again

Fix gettext call

Update po files

* Only run the deprecation notification once, clarify messages

Run the notification once, and cache its run state in settings. We
really only need the notification to run once - enough to inform, not to
annoy.

* Adjust notification a bit

* [brightness-and-gamma-applet@cardsurf] Fixes GLib.file_set_contents usage error (linuxmint#2145)

* ifstat@tagadan: Make empty arrows appear if network state is undefined. (linuxmint#2150)

The applet changes sizes when network state is undefined, which is jarring. Changed it to show the empty arrows instead of nothing.

* xampp-panel@backids99 - fixed ( linuxmint#2147), added polish translation and new feature. (linuxmint#2151)

* make xampppanel work again

* Polish translation

* Added option to 'Start XAMPP Manager', updated polish translation and updated *.pot file, added new file 'xamp_manager_wrap.sh'

* Updated icon, bigger size.

* windowlist@cobinja.de Add support for Cinnamon 4.0 (linuxmint#2153)

* Cinnamenu: Add option to customize the startup category, misc. fixes (linuxmint#2157)

* Move setSchema to utils.js

Doesn't need to be in the prototype.

* Move functions in setSchema to outer scope

* Add .eslintrc, fix issues

* Fix high DPI tile widths

* Add option to customize the startup category

* Add easier to use async methods, make all file I/O asynchronous

* Make bookmarks file I/O asynchronous, consolidate

* Always restore the schema from backup on error

* Only bind settings once on init

* Fix TypeError

* Update readFileAsync to match Cinnamon#8210

* Organize _init a bit

* Clean up placesManager

- Fixes the promise usage typo preventing gtk bookmarks from loading
- Fixes the file monitors not being stopped
- Removes redundant getters, unused signals

* Update changelog

* Remove dead code not compatible with in-tree clutter

* Fix the start up category resetting when some settings are changed

* Fix system button tooltips

* Fix tooltips covering menu items in some orientations

* Fix clutter markup errors, simplify doSearch

* Update changelog

* Fix schema resetting on every load

* Batch writes to the schema file

There was a race condition occurring between the schema updating for
search providers and startup category options, causing the category
options to disappear. Schema options need to be processed all at once.

* Resolve VBox version and issue new startvm command (linuxmint#2170)

* Resolve VBox version and issue new startvm command

* Update vboxlauncher@mockturtl/files/vboxlauncher@mockturtl/applet.js

Sweet

Co-Authored-By: Centurix <centurix@gmail.com>

* Cinnamenu: Fix "Add to desktop" context menu option (linuxmint#2171)

* vboxlauncher@mockturtl: fix version detection (linuxmint#2173)

See [comment](linuxmint@5751e8d#r31813483) on linuxmint#2170.

* SpicesUpdate@claudiux - Checks for available updates for your Spices (linuxmint#2174)

* SpicesUpdate@claudiux - Checks for available updates for your Spices

* Removing get_theme_node call

* Better management of the loop

* SpicesUpdate@claudiux v1.0.1 - Improves notifications. Added Spanish translation: es.po (linuxmint#2175)

* Spices update@claudiux cro lng (linuxmint#2176)

* Add cro lng

* Add files via upload

* SpicesUpdate@claudiux v1.0.2 - Improves lists management and menu. Fixes linuxmint#2180. (linuxmint#2179)

* SpicesUpdate@claudiux v1.0.2 - Improves lists management and menu

* Make this applet icon resizable. (Fixes linuxmint#2180)

* Minor changes. Improves debugging.

* SpicesUpdate@claudiux: Update cro lng (linuxmint#2177)

* Added new icon, added polish translation, increment version of the applet. (linuxmint#2181)

* Create de.po (linuxmint#2186)

* netusagemonitor@pdcurtis v 3.2.9 Refine stylesheet for 4.0 (linuxmint#2188)

* Update Spices notifier v4.0~20190105 (spices-notifier@germanfr) (linuxmint#2190)

Changelog at: https://github.com/germanfr/spices-notifier/commits/master

* batterymonitor@pdcurtis v 1.3.5 Refine stylesheet (linuxmint#2191)

* stopwatch@pdcurtis v 2.1.2 Refine stylesheet (linuxmint#2192)

* BgRadio@spacy01: Added icon what wasn't show in cinnamon applet manager. (linuxmint#2184)

* SpicesUpdate@claudiux - icon.png update (linuxmint#2193)

* Update of icon.png

* Update icon.png

* AutostartPrograms@spacy01 - Added polish translation and icon (linuxmint#2182)

* Added icon

* Added polish translation

* French translation - Update fr.po (linuxmint#2195)

* vpnLookOut@claudiux v3.3.2 - Improves time zone detection (linuxmint#2196)

* color-picker@fmete - Added polish translation and ... (linuxmint#2185)

* Added polish translation

* I added "--hint=int:transient:1 " to "notify send".
Spamming in notify stack by the ColorPicker applet has ended.

* SpicesUpdate@claudiux - refined German translation (linuxmint#2198)

First translation was to literal, now it is more usual.

One suggestion: Why not set the default icon color in the case of updates to the Cinnamon Spices orange (like in icon.png) instead of blue?

* Change icons and default color. Disconnects signals when reloading. (linuxmint#2199)

* Spices update - Update icon.png - Fixes linuxmint#2200 (linuxmint#2201)

* Update icon.png

* Update icon.png

* Tooltip now contains the list of Spices to update. (linuxmint#2203)

* printers@linux-man: Implement Scrollbars (linuxmint#2205)

* todo@threefi: Do not freeze when the input file has no entries. (linuxmint#2206)

The addon entered an infinite loop when the "todo.list" file had no entries to display effectively freezing itself and Cinnamon.

* SpicesUpdate@claudiux v1.1.0 - Fixes linuxmint#2202: Add support for new packages (linuxmint#2207)

* SpicesUpdate@claudiux: Update German translation (incl. new spices) (linuxmint#2208)

* SpicesUpdate@claudiux: Update Croatian language (linuxmint#2211)

* SpicesUpdate@claudiux v1.1.1: Solves FR linuxmint#2213 (linuxmint#2214)

* SpicesUpdate@claudiux: v1.1.2 Solves Feature Request linuxmint#2210 (linuxmint#2215)

* places center: allow multiple instances

* graphics center: allow multiple instances

* office center: allow multiple instances

* office center: switch from cinnamon appsys to using cmenu directly

* graphics center: switch from cinnamon appsys to using cmenu directly

* SpicesUpdate@claudiux: v1.1.3 Added dependency: Presence of symbola ttf. Fixes linuxmint#2219. (linuxmint#2218)

* SpicesUpdate@claudiux: v1.1.3 Added dependency: Presence of symbola ttf.

* Fixes linuxmint#2219

* SpicesUpdate@claudiux: Update German translation (linuxmint#2220)

* SpicesUpdate@claudiux: Create nl.po (linuxmint#2221)

* Create nl.po

Dutch Translation Spices Update

* Add files via upload

Dutch Translation off restart-cinnamon

* Delete restart-cinnamon nl_NL.po

* Restart Cinnamon nl.po

Dutch Translation

* Fix up linuxmint#2221

* Restart cinnamon nl.po (linuxmint#2225)

Dutch Translation off Restart Cinnamon

* Add a dependency check and install for Python feedparser

* Appeasing Codacy

* CinnVIIStarkMenu@NikoKrause: Use DocInfo singleton

Some versions of this applet were creating a new instance of DocInfo
instead of using the existing one.

* Remove calls to appsys.lookup_setting*

These are obsolete and return nothing since Cinnamon 1.8
linuxmint/cinnamon@0673810

* Cinnamenu@json remove old comment

* Cinnamenu@json: Replace Gtk.RecentManager with docinfo (linuxmint#2204)

* Cinnamenu@json: Replace Gtk.RecentManager with docinfo

* Update DocInfo API

* Bump version

* Shutdown Menu with icons nl.po (linuxmint#2227)

Dutch translation

* sshlauncher@sumo: add sv.po (linuxmint#2229)

Add Swedish translation

* VPN Look-Out nl _NL.po (linuxmint#2232)

Dutch Translation off VPN Look-Out Applet

* Remove usage of old appsys functions (linuxmint#2233)

We want to remove these functions going forward as they are not needed.

* VPN Look- Out Applet (linuxmint#2236)

Upload Dutch translation off VPN Look-Out Applet to the right file

* Delete nl.po (linuxmint#2237)

* SpicesUpdate@claudiux: Update Croatian language (linuxmint#2238)

* multicore-sys-monitor@ccadeptic23: Update Croatian language (linuxmint#2239)

* sticky notes: fix copy/paste not working from the context menu

The problem was due to a change in the api for St.Clipboard where
an additional argument is now passed to the respective functions.

* weather@mocturtl - Update 2.0.0: New API added after Yahoo API closure (linuxmint#2223)

Removed Yahoo Weather API support and added OpenWeatherMAP instead, with capability to extend to  support other APIs later on.

* SpicesUpdate@claudiux: Update cinnamon-spices applet nl.po (linuxmint#2240)

Improved translation and sentence structure

* multicore-sys-monitor@ccadeptic23: French translation fr.po (linuxmint#2241)

* multicore-sys-monitor@ccadeptic23: fr.po

* Update header of fr.po

* command launcher: switch to es6 classes

* graphics center: switch to es6 classes

* office center: switch to es6 classes

* places center: switch to es6 classes

* session manager: fix extra quote in pt_BR.po that was causing an install error

* session manager: switch to es6 classes

* sticky notes: switch to es6 classes

* cinnamon-timer@jake1164 - Added support for cinnamon 4.0 (linuxmint#2244)

* cinnamon-timer@jake1164 - Updated metadata to allow to run on cinnamon 3.8

* cinnamon-timer: Added the license info to the info.json file.

* cinnamon-timer@jake1164 - Updated with support for 4.0

* weather@mockturtl 2.0.1 Update (linuxmint#2246)

* Fixed issue where sunset/sunrise displayed twice
* Forecast compiling uses timezone calculation to separate forecasts to the correct days now
* Fixed issue where days were displayed incorrectly, now are calculated displayed with timezone offset (was bad with people near the day boundary i guess)
* using HTTPS to call OpenWeather

* Updates German translations for version 2.0.0 of weather@mockturtl (linuxmint#2242)

* Updates German translations for version 2.0.0

* Update de.po

* Further tweaks

* Spices Update po.nl (linuxmint#2245)

Last revision of Dutch translation

* cinnamon-timer@jake1164: French translation - fr.po (linuxmint#2248)

* cinnamon-timer@jake1164: French tranlation - fr.po

* Update fr.po - Change header

* AutostartPrograms@spacy01: Update for Cinnamon module and icon name (linuxmint#2028)

AutostartPrograms@spacy01: Update for Cinnamon module and icon name

* SpicesUpdate@claudiux: v1.2.0 - Fixes linuxmint#2230 (linuxmint#2235)

* SpicesUpdate@claudiux: v1.2.0 - Fixes linuxmint#2230

* Scripts .py modified to simplify maintenance

* Spices notifier nl.po (linuxmint#2250)

Dutch translations

* brightness-and-gamma-applet@cardsurf: French translation fr.po (linuxmint#2251)

* SpicesUpdate@claudiux: v1.2.1 - Can hide icon while nothing is to report (linuxmint#2254)

* SpicesUpdate@claudiux: v1.2.1 Can hide icon while nothing is to report

* Translation updates: fr.po it.po es.po

* open_download_tab.py: fixes errors reported by Codacy

* Update Dutch translation SpicesUpdate linuxmint#2254 

Add Dutch translation ./settings-schema.json:316 and json.317
SpicesUpdate@claudiux: v1.2.1 - Can hide icon while nothing is to report linuxmint#2254

* Update README.md

* Update README.md

* Image added

* Image added

* SpicesUpdate@claudiux - update German translation (linuxmint#2255)

You update to often... ;-)

* Update Simplified Chinese translations for version 2.0.1 for weather@mockturtl

* Updates Simplified Chinese translations for version 2.0.1

* Update zh_CN.po

* Further tweaks

* Update nl.po

Updates the Dutch translation for version 2.0.0 of the modified weather@mockturtl plugin

* Update nl.po

A few small improvements. Sorry to bother you again so soon....

*  weather@mockurtl 2.1.0 Update

* weather@mockturtl 2.0.1 Update

* Fixed issue where sunset/sunrise displayed twice
* Forecast compiling uses timezone calculation to separate forecasts to the correct days now
* Fixed issue where days were displayed incorrectly, now are calculated displayed with timezone offset (was bad with people near the day boundary i guess)
* using HTTPS to call OpenWeather

* Adding some additional information on API and TZ handling

* Added higher min refresh limit, switched from request callbacks to fully async functions for more manageable flow

* * Moved Error messages to the top as consts,
* Weather data is now stored inside the Applet object,
* Preparing to port API related functions to a separate object,
* Preparing to use API to fetch Timezone information on demand,
* Fixed logging,
* Cleanup

* Added DarkSky API support

* DarkSky fully implemented, long conditions are not in the correct units
* Started ReImplementing OpenWeather
* Greatly Improved Logging, try/catch used in correct places

* DarkSky and OpenWeather Premium fully implemented

* Preparing to phase out OpenWeatherMap free
* Now Mainloop is always preserved by a try/catch now
* Error Messages are getting phased out to the new ones.

* Automatic location lookup added

* Minor darksky icon and condition text fixes
* Hungarian Translation
* Old error messages removed

* Made Main Loop Independent from Refresh

Weather Updates every refreshinterval based on elapsed time since last weather update.

Any action can refresh weather, it does not affect the loop, It might skip updating the weather.

Good Laptops after waking up from sleep and stuff or for spotty internet connections

* Changed version number

* SpicesUpdate@claudiux: Update Croatian language (linuxmint#2266)

* weather@mockturtl: Update Croatian language (linuxmint#2268)

* weather@mockturtl: Update Croatian language

* Update hr.po
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet