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

157 Commits

Author SHA1 Message Date
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
Aleksandr Gumroian
b96b434a3e
Update Snapshots 2020-09-02 17:55:53 +02:00
Aleksandr Gumroian
0ea5f7de84
Decrease Switch's margin-bottom with headings 2020-09-02 17:55:44 +02:00
Aleksandr Gumroian
0c7997f6c0
Fix Reboot page URL in respective dropdown 2020-09-02 17:55:44 +02:00
Aleksandr Gumroian
90ce866869
Fix infinity loop caused by WebSockets 2020-09-02 17:55:25 +02:00
Aleksandr Gumroian
8bd71a08af
Update Snapshots 2020-08-31 15:56:01 +02:00
Aleksandr Gumroian
1903016f13
Add "inline" option to RadioSet 2020-08-31 15:56:00 +02:00
Aleksandr Gumroian
443f14d26c
Add ability to select switch's form-group 2020-08-31 15:56:00 +02:00
Aleksandr Gumroian
50943e0b11
fixup! Fix buttons size outside of form's card layout 2020-08-25 17:32:23 +02:00
Aleksandr Gumroian
f64419c643
Add tests for Switch 2020-08-18 17:37:08 +02:00
Aleksandr Gumroian
f8726e6012
Format all files with Prettier 2020-08-18 16:17:00 +02:00
Aleksandr Gumroian
a434ecac18
Update Snapshots 2020-08-18 15:41:05 +02:00
Aleksandr Gumroian
5ae129b0f5
Fix tests 2020-08-18 15:41:05 +02:00
Aleksandr Gumroian
a2acac255d
Swap checkboxes for switches on Wi-Fi page 2020-08-18 15:41:04 +02:00
Aleksandr Gumroian
c1b1d8c079
Add Switch component 2020-08-18 15:41:03 +02:00
Aleksandr Gumroian
705ed5ac80
Update Snapshots 2020-08-06 17:25:49 +02:00
Aleksandr Gumroian
1dd1805ae0
Fix buttons size outside of form's card layout 2020-08-06 17:25:38 +02:00