1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-07-15 17:33:29 +02:00
Commit Graph

212 Commits

Author SHA1 Message Date
Aleksandr Gumroian
b97ba379ec Update Snapshots 2024-08-22 16:05:41 +02:00
Aleksandr Gumroian
5f1372bb37 Migrate to FontAwesome v6 2024-08-22 16:05:40 +02:00
Aleksandr Gumroian
541ca7a784 Update WiFiQRCode component
Remove custom QR icon image with a standard fontawesome icon
2024-07-25 17:31:30 +03:00
Aleksandr Gumroian
804e0022eb Update Snapshots 2024-06-28 10:30:25 +03:00
Aleksandr Gumroian
d69398ac06 Add className prop to CheckBox and Radio components 2024-06-28 10:29:41 +03:00
Aleksandr Gumroian
12c6d05ca6 Update Snapshots 2024-06-26 14:11:54 +03:00
Aleksandr Gumroian
923bbab6d5 Add className prop to Switch component 2024-06-26 14:11:16 +03:00
Aleksandr Gumroian
4ca07dceb0 Fix tests 2024-06-10 16:28:25 +02:00
Aleksandr Gumroian
912f8facdb Fix linting issues 2024-06-10 16:28:25 +02:00
Aleksandr Gumroian
42fb16d066 Update Snapshots 2024-06-10 16:28:24 +02:00
Aleksandr Gumroian
ff48d6ca36 Remove useTooltip hook 2024-04-30 13:37:25 +02:00
Aleksandr Gumroian
5ed48bf2a3 Update Snapshots 2024-04-29 15:19:22 +02:00
Aleksandr Gumroian
c8fbdc5bba Fix tests 2024-04-29 15:19:21 +02:00
Aleksandr Gumroian
42fcc02d83 Update Bootstrap library to version 5.3.x 2024-04-29 15:19:20 +02:00
Aleksandr Gumroian
7823bff6d9 Update Spinner.css styles for better positioning and responsiveness 2024-04-10 14:46:18 +02:00
Aleksandr Gumroian
a1a47e0d0f Update Snapshots 2023-01-24 19:41:54 +01:00
Aleksandr Gumroian
d49ff0150c Button: Fix loading state & button's layout 2023-01-24 19:41:53 +01:00
Aleksandr Gumroian
6183669c9b Fix CustomizationContextMock for tests 2022-12-28 15:19:24 +01:00
Aleksandr Gumroian
f3694bb62c Make ieee80211w_disabled as optional in WiFiForm 2022-12-28 15:18:42 +01:00
Aleksandr Gumroian
f2ae6c4d0a Move contexts in a context folder 2022-12-22 15:35:22 +01:00
Aleksandr Gumroian
aeabc0bf06 Add info about CustomizationContext to the docs 2022-12-22 15:35:21 +01:00
Aleksandr Gumroian
46fe75d3cf Add tests for CustomizationContext 2022-12-22 15:35:20 +01:00
Aleksandr Gumroian
c469d8dfde Add CustomizationContext and custom hook
As we want to share customization context between reForis & Plugins
2022-12-22 15:35:20 +01:00
Aleksandr Gumroian
f327428765 Add about endpoint to forisUrls 2022-12-22 15:35:19 +01:00
Aleksandr Gumroian
2a73502710 Merge branch 'feature/add-mfp-switch' into 'dev'
Add a switch to disable Management Frame Protection (802.11w)

Closes #26

See merge request turris/reforis/foris-js!202
2022-12-02 15:46:00 +01:00
Aleksandr Gumroian
003606cb8c Update Snapshots 2022-12-01 17:13:44 +01:00
Aleksandr Gumroian
aeddd9ce74 Add a switch to disable Management Frame Protection (802.11w)
In the case of WPA3 encryption Management Frame Protection is enabled
by default in OpenWrt.

But in some cases, it causes trouble with particular devices that
fails to connect to WiFi Access Point - see:
https://forum.turris.cz/t/turris-omnia-wifi-health/15704/15
2022-12-01 16:19:38 +01:00
Aleksandr Gumroian
b0e2f62a41 Add Switch example to the docs 2022-09-16 16:10:44 +02:00
Aleksandr Gumroian
985fd08b46 Update Snapshots 2022-05-20 15:42:37 +02:00
Aleksandr Gumroian
da019b6d86 Fix Wi-Fi password helptext string 2022-05-20 15:41:59 +02:00
Aleksandr Gumroian
46ce6ebbb9 Add CopyInput bootstrap component 2022-05-19 15:56:10 +02:00
Aleksandr Gumroian
1a4ba03ff5 Wrap Input component with forwardRef
In order to pass `ref` to the child <input> DOM element.
2022-05-19 15:56:09 +02:00
Aleksandr Gumroian
ae6b495683 Update Snapshots 2022-04-19 16:06:11 +02:00
Martin Matějek
272c97dc8a Update WiFiForm labels and description for wifi ax 2022-04-19 15:38:51 +02:00
Stepan Henek
cc1b0b3f81 Make WS path in lighttpd mode configurable 2022-03-23 11:12:46 +01:00
Aleksandr Gumroian
be2e3fe3f0 Update snapshots 2022-02-22 17:03:35 +01:00
Aleksandr Gumroian
13869336db Fix Wi-Fi translation strings 2022-02-22 16:38:29 +01:00
Aleksandr Gumroian
7ec1c46a63 Add tests for hostname validation 2022-02-21 13:57:34 +01:00
Aleksandr Gumroian
7ceccd5222 Add hostname RegEx pattern & validateHostname() function 2022-02-21 13:57:24 +01:00
Aleksandr Gumroian
f868881b3d Improve domain name RegEx pattern
Previously validateDomain() function was used for hostname validations
but was weak in a chain of validations, for example, domain -> ipv4
as it accepts invalid IPv4 addresses.

So we had to split it, improve the domain name RegEx pattern and add a
hostname validation pattern.
2022-02-21 13:56:32 +01:00
Aleksandr Gumroian
c0f64e8c6c Fix tests
"Post form: 2.4 GHz" test was failing because of added new functionality
in the previous 0194684 commit.
2022-02-21 11:28:25 +01:00
Aleksandr Gumroian
b95cfb664d Set best Wi-Fi HT mode depending on the checked frequency 2022-02-21 11:28:25 +01:00
Aleksandr Gumroian
52cdaf5bc5 Update Snapshots 2022-02-21 11:28:24 +01:00
Aleksandr Gumroian
175a07a865 Remove customOrder prop
As some options of Select component should be ordered by values or keys,
it was decided to handle sorting not in options, but locally in
corresponding lists.
2022-02-21 11:28:24 +01:00
Martin Matějek
f952e25205 Add wifi 802.11ax HE modes 2022-02-21 11:28:24 +01:00
Aleksandr Gumroian
839e227feb Update Snapshots 2022-02-18 17:40:48 +01:00
Aleksandr Gumroian
4b239ed195 Fix autocomplete attribute in PasswordInput 2022-02-18 17:40:48 +01:00
Aleksandr Gumroian
b1ff608337 Add rest of the props to DownloadButton component 2022-02-11 15:49:39 +01:00
Aleksandr Gumroian
b6e2cb71bb Add tests for password length validation 2022-01-20 12:08:30 +03:00
048e686185 Fix WiFi password max length check
The WiFi password cannot be longer than 63 symbols.
2022-01-20 12:08:06 +03:00