Skip to content

Releases: Icinga/ipl-web

ipl-web v0.9.2

09 Apr 08:56
v0.9.2
Compare
Choose a tag to compare

Notes

  • Ensure compatibility with PHP 8.3

Fixes

  • Dimensions of icinga icons does not match font-awesome icons #209
  • StyleWithNonce: Don't use nonce for cli commands #216
  • Increasing the number of items per page leads to no services shown if you are on a page >1 #218

ipl-web v0.9.1

15 Nov 10:47
v0.9.1
Compare
Choose a tag to compare

Fixes

  • Requests made by Completer.js do not include the X-Requested-With header #212

ipl-web v0.9.0

21 Sep 08:54
v0.9.0
Compare
Choose a tag to compare

Breaking Changes

  • The equal (=) and unequal (!=) operators are not automatically transformed to like and unlike (respectively) anymore #103

Changes

  • Support for PHP 8.2
  • Added CopyToClipboard widget #151
  • Support for Icinga Web's new automatic .time-until transition to .time-ago #161
  • Added new operators for like (~) and unlike (!~) #103
  • Added ipl\Web\Style and ipl\Web\Compat\StyleWithNonce in order to establish broad Content-Security-Policy support in all Icinga Web components #167 #202
  • Added ipl\Web\Url::setFilter() in order to avoid previously required shenanigans if a url should receive a filter but preserve other existing parameters #195
  • Added ipl\Web\Common\BaseItemList and ipl\Web\Common\BaseItemTable (and related item classes) #183
  • Added ipl\Web\Link::openInModal() to simplify opening it's target in a Icinga Web Modal #198
  • TermInput now supports completion of multiple terms #181
  • TermInput now supports a vertical view mode #179
  • TermInput now reliably accepts input upon pushing Enter #185
  • TermInput.js now uses it's own term encoding implementation #177
  • SortControl now accepts and handles POST requests properly #172
  • Method SortControl::apply() now accepts a default #154
  • Added default element loader for this library's form elements #127
  • Method Card::assembleFooter() is not abstract anymore #160
  • State badges now also support showing a none state #158
  • State balls of type ok, up and pending don't use the state color as text color anymore #156
  • Method CompatController::createSortControl() now accepts a third parameter to define a default #154
  • Added icon source files #157

Fixes

  • Operator suggestions in the search bar are now visible during auto-submission #152
  • Removing a value from a term input by editing it, doesn't reset the focus anymore #149
  • SearchBar and TermInput don't detect false-positives anymore #176

ipl-web v0.8.0

15 May 08:37
v0.8.0
Compare
Choose a tag to compare

Changes

  • New form element ipl\Web\FormElement\TermInput #134, #139
  • New glyph for class IcingaIcon with name icinga representing the Icinga logo #131
  • Adjustable font/awesome style for instances of class Icon #137
  • New method sendExtraUpdates() in class CompatController to facilitate sending extra updates supported by Icinga Web since v2.8.0

Fixes

  • Form element ScheduleElement does not throw anymore during autosubmits #138, #141
  • ScheduleElement now synchronizes the start date with the chosen interval to comply with RFC5545 #135

ipl-web v0.7.1

12 Apr 10:59
v0.7.1
82dcd7d
Compare
Choose a tag to compare

Fixes

  • Forms with multiple submit buttons are now valid if only submitted by pushing Enter #132
  • ipl\Web\FormElement\ScheduleElement does not peform an autosubmit anymore while having no frequency set #130

ipl-web v0.7.0

22 Mar 08:57
v0.7.0
Compare
Choose a tag to compare

Changes

  • ipl\Web\Compat\CompatForm now automatically injects a duplicate of the primary submit button if it is not the only one #104
  • New form element ipl\Web\FormElement\ScheduleElement #101
  • Added standardized control layout rules #99
    • Adding either the PaginationControl, LimitControl, SortControl or SearchBar as control by using CompatController::addControl(), enables it automatically
  • ipl\Web\Compat\SearchControls::fetchFilterColumns(...) is now not abstract anymore and provides a useful base implementation #97
  • Added new methods to ipl\Web\Compat\CompatController #94
    • createLimitControl(...)
    • createPaginationControl(...)
    • createSortControl(...)

Fixes

  • ipl\Web\FormDecorator\IcingaFormDecorator now generates a persistent id for instances of ipl\Html\FormElement\CheckboxElement #114
  • ipl\Web\FormDecorator\IcingaFormDecorator::createCheckbox(ipl\Html\FormElement\CheckboxElement) now returns the checkbox instead of an array #105
  • Using ipl\Web\Common\FormUid doesn't pollute the form's values anymore #98
  • ipl\Web\Control\SortControl had an implicit dependency to Icinga DB Web, this is now gone #96

ipl-web v0.6.0

05 Sep 11:51
v0.6.0
Compare
Choose a tag to compare

Changes

  • Requesting Searchbar suggestions by using the spacebar now indicates that nothing is found, if nothing is found #93
  • The Searchbar now automatically submits if a column is updated but the label does not change #89
  • If the Searchbar suggestions includes relation columns, the relation path is now visible #88
  • CompatForm now uses the ipl\i18n\Translation trait #91
  • Pending state balls are now hollow #90

ipl-web v0.5.0

15 Jun 12:26
v0.5.0
Compare
Choose a tag to compare

Breaking Changes

  • Dropped support for PHP 7.0 and 7.1 #64
  • SearchControls::fetchMetaData is now called fetchFilterColumns (The return value hasn't changed) #83

Changes

  • Support for PHP 8.1 #64
  • Support for ipl\Stdlib\Filter\Like and ipl\Stdlib\Filter\Unlike #79
  • The trait SearchControls now accepts a new second parameter in both methods createSearchBar() and createSearchEditor(). #82
    It's no breaking change though, passing an array as second parameter still works and the result is still the same.
    Passing a URL as second parameter now, defines an explicit redirect URL. Parameters are transferred over from the request URL as defined by the third parameter.

Fixes

  • Completed suggestions without data attributes are now working #78
  • Marked conditions in the search bar are now readable again in light mode #75
  • Using SearchBar::setEditorUrl() or SearchBar::setSuggestionUrl() in conjunction with SearchControls::createSearchBar() now affects data-search-editor-url and data-suggestion-url (respectively) as expected #82
  • Using SearchEditor::setSuggestionUrl() in conjunction with SearchControls::createSearchEditor() now affects data-suggestion-url as expected #82

ipl-web v0.4.0

23 Mar 10:21
v0.4.0
Compare
Choose a tag to compare

Breaking Changes

  • Dropped support for PHP 5.6
  • Method CompatController::setTitle() now only sets the response's title (Use method addTitleTab instead now)
  • Light LESS rules are now encapsulated by the detached ruleset iplWebLightRules #66
    • To still use them, import them in your own media query

Changes

  • Introduced classes ipl\Web\Widget\StateBadge and ipl\Web\Common\StateBadges #63
  • Introduced LESS mixins rounded-corners, appearance and box-shadow #54
  • SortControl: Introduced new methods create and apply #68
  • Added methods getServerRequest and addTitleTab to class CompatController #72
  • Introduced trait ipl\Web\Compat\SearchControls #69
  • css: Added cancel-button styles #73

Fixes

  • SortControl uses incorrect icon to show current sort direction #59
  • SearchBar doesn't propagate query string validation changes in case of auto submits #57

ipl-web v0.3.0

10 Nov 13:22
v0.3.0
2722bbe
Compare
Choose a tag to compare

Version 0.3.0

TBD