1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-11-14 17:35:35 +01:00
Commit Graph

173 Commits

Author SHA1 Message Date
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
Marek Sašek
a66a2f4708
Remove reForis login page 2021-12-13 15:51:56 +01:00
Marek Sašek
5207029462
Update snapshots 2021-11-03 13:31:10 +01:00
Marek Sašek
53aec6372d
Update tests 2021-11-03 13:31:09 +01:00
Marek Sašek
a7d7e59028
Add custom order ability of Select options 2021-11-03 13:31:09 +01:00
Marek Sašek
0beb1f0418
Add WPA3 option 2021-11-03 13:31:08 +01:00
Aleksandr Gumroian
f3b1ef741a
Fix infinity redirect loop when WS error occurs
There were situations when reForis infinity loop had occurred when the user was
already logged in, but the client rejected the `wss` connection. The location
path was not `/login`, and an infinity redirect took place. This should fix it.
2021-07-27 11:29:59 +03:00
Aleksandr Gumroian
cff5f1e5e1
Add sentinelAgreement endpoint to forisUrls 2021-06-29 17:39:53 +02:00
Aleksandr Gumroian
ce62fd1043
Update Snapshots 2021-05-14 13:38:00 +02:00
Aleksandr Gumroian
f7146e3b14
Fix obsolete rebootPage link in forisUrls 2021-05-14 13:37:59 +02:00
Aleksandr Gumroian
2e9da55df7
Fix ids in wifiSettings fixture 2021-05-14 13:37:59 +02:00
Aleksandr Gumroian
da10a34d64
Revert "Fix reForis infinity redirect loop when WS error occurs"
It turned out that this fix doesn't work as expected in some cases.

This reverts commit 7505302875.
2021-05-14 13:37:58 +02:00
Aleksandr Gumroian
764a6c86cd
Expend library with the ResetWifiSettings function
Use named export instead of the default for ResetWifiSettings,
as we want to use it not only inside the WiFiSettings component.
2021-05-14 13:37:58 +02:00
Marek Sašek
4368bea2c2
Update tests 2021-05-14 13:06:48 +02:00
Marek Sašek
9dd6bbca90
Fix switching Wi-Fi modes depending on bands in WiFiForm 2021-05-14 13:06:48 +02:00
Marek Sašek
e1260a5ea1
Add Packages URL into forisUrls 2021-04-21 14:10:23 +02:00
Aleksandr Gumroian
7505302875
Fix reForis infinity redirect loop when WS error occurs 2021-03-26 11:11:12 +01:00
Aleksandr Gumroian
86f98148c6
Fix translation sources in WiFiForm 2021-03-03 13:18:09 +01:00
Aleksandr Gumroian
abb5be53aa
Fix trailing space in Modal classes 2021-01-18 23:10:39 +01:00
Aleksandr Gumroian
af0fb80e45
Update Snapshots 2021-01-18 23:10:39 +01:00
Aleksandr Gumroian
688192504f
Change formFieldsSize of ResetWiFiSettings card 2021-01-18 22:06:20 +01:00
Aleksandr Gumroian
b8e5dbec8d
Increase bottom margin of formFieldsSize 2021-01-18 22:05:56 +01:00
Marek Sašek
de398901f3
Add isPluginInstalled function 2020-12-19 00:14:05 +01:00
Marek Sašek
473c81f9a4
Add storage link 2020-11-27 15:37:02 +01:00
Aleksandr Gumroian
5469e6ec80
Add displayCard function to utils 2020-11-22 23:45:27 +01:00
Aleksandr Gumroian
4898016388
Update Snapshots 2020-11-20 17:02:10 +01:00
Aleksandr Gumroian
6480a39cdb
Add information about optional sizes to docs 2020-11-20 16:56:25 +01:00
Aleksandr Gumroian
6f05d5d136
Add optional sizes to Modal 2020-11-20 16:56:16 +01:00
Aleksandr Gumroian
c68389359e
Update Snapshots 2020-09-25 18:52:25 +02:00
Aleksandr Gumroian
e03e0f44cc
Fix extra empty space in Switch's classes 2020-09-25 18:50:04 +02:00
Aleksandr Gumroian
1e04d34645
Fix DateTime import 2020-09-25 18:50:04 +02:00
Aleksandr Gumroian
aaf4087c96
Update Snapshots 2020-09-25 17:32:04 +02:00
Aleksandr Gumroian
913a7d7b75
Add closing bootstrap modal using ESC 2020-09-25 17:27:47 +02:00
Aleksandr Gumroian
bdc8726791
Change reboot modal's heading to "Warning!" 2020-09-25 17:27:46 +02:00
Aleksandr Gumroian
1c986519f6
Fix Alert's dismissible class condition 2020-09-25 17:27:46 +02:00
Aleksandr Gumroian
defc363f01
Add inline option to Wi-Fi's RadioSet 2020-09-14 18:48:30 +02:00
Marek Sašek
5186385b9f
Update snapshots 2020-09-11 17:32:46 +02:00
Marek Sašek
002786d073
Add test 2020-09-11 17:32:46 +02:00
Marek Sašek
4d246540c1
Add SSID validation for bytes count 2020-09-11 17:32:45 +02:00
Marek Sašek
35b97ec0fe
Add validation for SSID with diacritic 2020-09-11 17:32:45 +02:00