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

212 Commits

Author SHA1 Message Date
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
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
Aleksandr Gumroian
e858b30994
Add appropriate links to dropdown headers 2020-08-05 14:37:14 +02:00
Aleksandr Gumroian
8a56d71c51
Add semantic & accessibility structure for headings 2020-08-05 14:36:54 +02:00
Aleksandr Gumroian
d34c465787
Update Snapshots 2020-07-30 11:57:50 +02:00
Aleksandr Gumroian
cbf37dd747
Fix overview & notifications URLs 2020-07-30 11:40:11 +02:00
Aleksandr Gumroian
f9cfb248d3
Decrease button width on different breakpoints 2020-07-22 16:07:41 +02:00
Aleksandr Gumroian
9be880aeaa
Remove form's offset & extend it on 12 columns 2020-07-22 15:59:49 +02:00
Aleksandr Gumroian
e7f9fbca96 Merge branch 'dev' into 'new-channel-bandwidth'
# Conflicts:
#   src/common/WiFiSettings/WiFiForm.js
2020-07-17 16:24:43 +02:00
Aleksandr Gumroian
8d40dbb841 Merge branch 'additional-wifi-module-fix' into 'dev'
Fix Wi-Fi Form bug with additional Wi-Fi modules

Closes reforis#204

See merge request turris/reforis/foris-js!117
2020-07-17 14:38:24 +02:00
Aleksandr Gumroian
cea8aa0c12
Fix a Wi-Fi Form bug with additional Wi-Fi modules 2020-07-17 14:33:35 +02:00
Aleksandr Gumroian
16a7a6c52d
Update Snapshots 2020-07-17 14:19:56 +02:00
Aleksandr Gumroian
597b6fcf4c
Add Natural sort order for list of options 2020-07-17 14:19:56 +02:00
Aleksandr Gumroian
5eb6b90ed4
Add 802.11ac 160 MHz wide channel to constants 2020-07-17 13:38:30 +02:00
Aleksandr Gumroian
48c323c1a1
Fix Wi-Fi Form bug with additional Wi-Fi modules 2020-07-17 12:26:46 +02:00
Marek Sašek
67e4abe4d1
Add test suites for a Wi-Fi form submission 2020-07-07 11:35:58 +02:00
Aleksandr Gumroian
57f1ccced8
Fix form submission button for one or more Wi-Fi modules. 2020-06-29 13:24:42 +02:00
Bogdan Bodnar
a5e096dc00 Fix and update docs. 2020-06-04 22:52:24 +02:00
Bogdan Bodnar
cd708fa294
Add initial form data to children of the ForisForm. 2020-05-07 16:00:02 +02:00
Bogdan Bodnar
bded10211a
Use pdfmake from globals. 2020-03-25 21:17:12 +01:00
Bogdan Bodnar
e1b5a25ddd
Update domain vadlidation. 2020-03-13 21:37:21 +01:00
Bogdan Bodnar
02b5583712
Move vadliadtions and forisUrls to utils. 2020-03-13 21:37:21 +01:00
Bogdan Bodnar
ce955095fd
Add logout link. 2020-03-06 14:00:18 +01:00
Bogdan Bodnar
bf8c2d28bf
Allow RadioSet accept elements as children. 2020-02-26 15:21:43 +01:00
Bogdan Bodnar
ba772be869
Add option to make modal scrollable. 2020-02-26 11:44:52 +01:00
Maciej Lenartowicz
9fbc4e8383 Added date and time utilities. 2020-02-20 14:30:28 +01:00
Maciej Lenartowicz
2b28434712
Rethrow unhandled error from API hooks. 2020-02-18 14:32:59 +01:00
Maciej Lenartowicz
8b7c459855 Merge branch 'css-refactoring' into 'dev'
Added styles extracted from reForis.

See merge request turris/reforis/foris-js!85
2020-02-14 17:26:24 +01:00
Maciej Lenartowicz
c1cd90dff6
Fixed ForisForm docstring. 2020-02-14 12:40:23 +01:00
Maciej Lenartowicz
716c323b28
Added reference to form element. 2020-02-10 12:06:16 +01:00
Maciej Lenartowicz
85e42980ec
Added styles extracted from reForis. 2020-01-22 13:21:46 +01:00
Maciej Lenartowicz
ee33d33738 Display actual error within the form. 2020-01-20 16:54:42 +01:00
Bogdan Bodnar
a0a775996e Merge branch 'use-react-router-dom' into 'dev'
Use react-router-dom instead of react-router.

See merge request turris/reforis/foris-js!80
2020-01-17 14:35:20 +01:00
Bogdan Bodnar
532acf9d86
Add warning about using <ForisForm /> component in plugins. 2020-01-17 13:15:46 +01:00
Maciej Lenartowicz
556e12c964 Revert "Prompt as an optional element of ForisForm."
This reverts commit 75bfbb88ae.
2020-01-17 12:44:11 +01:00
Maciej Lenartowicz
c495aa97ac
Increased network timeout. 2020-01-16 18:40:57 +01:00
Maciej Lenartowicz
2d375b1690 Merge branch 'disable-form-prompt' into 'dev'
Prompt as an optional element of ForisForm.

See merge request turris/reforis/foris-js!77
2020-01-16 16:12:44 +01:00
Maciej Lenartowicz
6d8e0cec70 Added controller ID filter to WebSocket hook. 2020-01-16 10:27:30 +01:00
Bogdan Bodnar
5091eecedf
Use react-router-dom instead of react-router. 2020-01-15 18:19:04 +01:00
Maciej Lenartowicz
75bfbb88ae
Prompt as an optional element of ForisForm. 2020-01-14 15:00:17 +01:00
Maciej Lenartowicz
3e2c89cac7
Moved moment-timezone to devDependencies. 2020-01-09 17:46:15 +01:00
Maciej Lenartowicz
5fd0d3626a Wi-Fi settings form 2020-01-09 11:25:29 +01:00
Maciej Lenartowicz
56a4c47948 Form widgets size 2020-01-07 13:27:49 +01:00
Bogdan Bodnar
cc13e9c164 Merge branch 'no-babel' into 'dev'
No babel

See merge request turris/reforis/foris-js!64
2020-01-07 11:12:17 +01:00
Maciej Lenartowicz
92f560b69f Display datepicker above input 2020-01-06 09:45:16 +01:00
Bogdan Bodnar
dd27802056
Fix relative imports. 2019-12-27 12:10:19 +01:00
Maciej Lenartowicz
3d290114fa
Changed levels of WS logs 2019-12-17 17:45:55 +01:00