mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[improvement][web] supporting JPEG images as custom icons
This commit is contained in:
@@ -7,7 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
## [0.8.1]
|
## [0.8.1]
|
||||||
### Improvements
|
### Improvements
|
||||||
- Web:
|
- Web:
|
||||||
- not using HTTP sessions anymore to perform the searches. It seems to avoid URLs not being found after an internet drop event.
|
- not using HTTP sessions anymore to perform the searches. It seems to avoid URLs not being found after an internet drop event.
|
||||||
|
- supporting JPEG images as custom icons
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- missing categories i18n [48](https://github.com/vinifmor/bauh/issues/48)
|
- missing categories i18n [48](https://github.com/vinifmor/bauh/issues/48)
|
||||||
|
|||||||
@@ -420,7 +420,7 @@ class WebApplicationManager(SoftwareManager):
|
|||||||
default_option=icon_op_disp if app.icon_url and app.save_icon else icon_op_ded,
|
default_option=icon_op_disp if app.icon_url and app.save_icon else icon_op_ded,
|
||||||
label=self.i18n['web.install.option.wicon.label'])
|
label=self.i18n['web.install.option.wicon.label'])
|
||||||
|
|
||||||
icon_chooser = FileChooserComponent(allowed_extensions={'png', 'svg', 'ico'}, label=self.i18n['web.install.option.icon.label'])
|
icon_chooser = FileChooserComponent(allowed_extensions={'png', 'svg', 'ico', 'jpg', 'jpeg'}, label=self.i18n['web.install.option.icon.label'])
|
||||||
|
|
||||||
form_1 = FormComponent(components=[inp_url, inp_name, inp_desc, inp_cat, inp_icon, icon_chooser, inp_tray], label=self.i18n['web.install.options.basic'].capitalize())
|
form_1 = FormComponent(components=[inp_url, inp_name, inp_desc, inp_cat, inp_icon, icon_chooser, inp_tray], label=self.i18n['web.install.options.basic'].capitalize())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user