This helps to identify what tests cause builds to get stuck and it will more quickly end such builds.
When builds get stuck in tests, they would keep running for hours and then eventually when a timeout occurs, the job is killed without knowing why it got stuck.
Furhermore precious Jenkins executors will not keep being occupied by such jobs.
See: https://junit.org/junit5/docs/current/user-guide/#writing-tests-declarative-timeouts
It helps with identifying the root cause of issues like openhab/openhab-core#2551
Signed-off-by: Wouter Born <github@maindrain.net>
Ignores warnings like:
```
Warning: /home/runner/work/openhab-addons/openhab-addons/bom/runtime-index/pom.xml [0:0]: Unused Export-Package instructions: [org.openhab.*]
Warning: /home/runner/work/openhab-addons/openhab-addons/bom/runtime-index/pom.xml [0:0]: Unused Import-Package instructions: [io.swagger.v3.oas.annotations.*,
```
These are safe to ignore because the import/export packages are globally defined and not every bundle imports/exports all these packages.
The `skipIfEmpty` configuration furthermore prevents warnings when the bnd-maven-plugin runs on projects that don't have any code like BOMs.
More important compiler/SAT warnings standout more when there are fewer useless warnings.
Signed-off-by: Wouter Born <github@maindrain.net>
This adds a great number of new openHAB-related blocks to the Blockly toolbox to:
- get info from items & things
- define timer and delays
- send push notifications (needs openHAB Cloud)
- play audio and speak text with text-to-speech
- store values for later retrieval in subsequent runs
If reorganizes the openHAB category into multiple domain-specific categories.
The code for the block definitions & code generation has been refactored heavily.
Update to latest stable Blockly version 6.20210701.0.
Includes code from (and supersedes) #875.
Signed-off-by: Brian Homeyer <bhomeyer@gmail.com>
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
Signed-off-by: Yannick Schaus <github@schaus.net>
- Move non-rule templates automation add-ons to the second section
- Merge all non-widget UI add-ons to the second section
- Use GitHub well-known URLs in the openhab-docs repo (final or final-stable
branch) for the logo URL - avoids having to cherry-pick new binding logos
to stable, and CloudFlare caching issues
- Use correct version on next.openhab.org or www.openhab.org when clicking
the logo in the details page
- Hide images with alt text set to "logo" in description. For marketplace
entries this can be set with this syntax:
`![logo](url)` or `![logo|...](url)`
- More prominent "show all" button for expandable sections
Signed-off-by: Yannick Schaus <github@schaus.net>
* New translations en.json (Norwegian)
* New translations en.json (Greek)
* New translations en.json (Greek)
* New translations en.json (Greek)
* New translations en.json (Greek)
* New translations en.json (Greek)
* New translations en.json (Indonesian)
* New translations en.json (Indonesian)
* New translations en.json (Latvian)
* New translations en.json (Greek)
* New translations en.json (Greek)
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Polish)
* New translations en.json (Russian)
* New translations en.json (Russian)
* New translations en.json (Russian)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
Regressions were introduced with #1055 where the state tracker wouldn't be started after going back to the home page from another page.
Also add a preloader which should only be displayed the first time.
Should fix#1161 & #1126.
Signed-off-by: Yannick Schaus <github@schaus.net>
Addition of a fixed canvas layout able to freely position and resize widgets
over a background. Can be used for floorplans or schemas (as an alternative
to floorplan pages), with the controls rendered over the image.
Rework layout type selection - default to responsive - and allow to select
a fixed type layout when the page is empty.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
Also-off-by: Yannick Schaus <github@schaus.net>
Depends on https://github.com/openhab/openhab-core/pull/2405.
This replaces the current section of the UI for managing
add-ons with a completely new "store-like" interface.
External data, like logos and detailed descriptions for
distribution add-ons are fetched from well-known locations
on the website or GitHub to provide a "store" look & feel.
The add-on store is orgnanized around 4 categories: bindings,
automation, UI, and others, with a separate search tab.
Each category is splitted into subsections. The availability
of these sections depend on the add-on services that are
registered. The sections currently supports add-ons provided
by the "karaf" & "marketplace" services, as provided by
https://github.com/openhab/openhab-core/pull/2405.
Other add-on services should be supported as well.
Signed-off-by: Yannick Schaus <github@schaus.net>
The current implementation would set the access token before trying out calling `/rest/sitemaps` which would obviously always succeed, since the call would be made with the token. Therefore the "requireToken" flag would not be set properly and prevent the alternative SSE implementation (which allows headers) to be used.
Fixes#1146.
Signed-off-by: Yannick Schaus <github@schaus.net>
This allows the oh-icon to display both from more sources than the
OH icon servlet; bundled Framework7/Material icons can also be displayed
by this component (use `f7:` or `material:` prefixes).
Specifying no prefix will assume an OH icon for backward compatibility.
This also introduces Iconify (https://icon-sets.iconify.design) as an
icon source, allowing access to 100,000+ icons from various icon sets,
to display them in widgets like cards or floorplan markers.
The Iconify option requires Internet connectivity on the client to access
the external API but the underlying library will cache the icons in
local/session storage to limit the requests and speed up the rendering.
Update/fix documentation and plan marker default icon registration.
Signed-off-by: Yannick Schaus <github@schaus.net>
Reverts the CSS z-index changes made in #1095, without reinstating #1067
& #1068 because now the analyzer route is correctly modal. There doesn't seem to be an
easy way to insert the popup-backdrop between the item picker smart select popup
(or model picker) and the analyzer popup/analyzer controls sheet, especially if there's
another popup _behind_ the analyzer popup with the `popup-behind` class.
Fixes#1105.
Signed-off-by: Yannick Schaus <github@schaus.net>
Framework7 would not consider an async route to be a modal route,
leading to critical code not being executed and thus causing #1068.
This regression was introduced when the routes were changed to async in #948.
So introduce a new component and lazy load the analyzer inside it, so
there's a minimal impact on the app entry point.
Changed some z-indexes to make sure the popup backdrop is displayed between
the analyzer popup and the item picker popup.
Fixes#1068.
Fixes#1067.
Signed-off-by: Yannick Schaus <github@schaus.net>
This feature is deprecated in OH3 but code remains which would break if `$rootScope.configWidgets` is left undefined.
So define it as an empty object early.
Fixes#733.
Signed-off-by: Yannick Schaus <github@schaus.net>