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

224 Commits

Author SHA1 Message Date
Štěpán Henek
22fc17c265 Merge branch 'feature/ws-included' into 'dev'
Using socket.io for websocket handling and make reforis configurable

See merge request turris/reforis/foris-js!201
2024-09-21 20:28:53 +02:00
Aleksandr Gumroian
52fe5d65a6 Refactor Spinner.css to use CSS variable for color 2024-09-20 13:23:01 +02:00
Aleksandr Gumroian
b99add91cf Refactor ForisURLs.js to add extendSession endpoint 2024-09-20 13:23:01 +02:00
Aleksandr Gumroian
9e2278e016 Update Snapshots 2024-09-17 14:33:41 +02:00
Aleksandr Gumroian
83a6ff75f6 Refactor Alert component to use useFocusTrap hook 2024-09-17 14:33:19 +02:00
Aleksandr Gumroian
02f3803265 Refactor Modal component to use useFocusTrap hook 2024-09-17 14:13:26 +02:00
Aleksandr Gumroian
cc1389536e Fix tests 2024-09-05 13:02:14 +02:00
Aleksandr Gumroian
499be46588 Using socket.io for websocket handling and make reforis configurable
Socket.io wrapper is used to handle websockets now,
this means that websocket logic had to be redone.

Also it is necessary to set `REFORIS_PREFIX` env variable
during the build process. To set the path of backend url.
It was previously fixed to `/reforis`.
2024-09-05 13:02:13 +02:00
Aleksandr Gumroian
cc19b4b293 Update Snapshots 2024-08-30 15:46:45 +02:00
Aleksandr Gumroian
e7ec494bb2 Update Wi-Fi QRCodeModal component to use new button styles & add close button 2024-08-30 15:46:45 +02:00
Aleksandr Gumroian
ea590e443c Refactor WiFiGuestForm component to get rid of obsolete "input-group-append" div element 2024-08-30 15:46:45 +02:00
Aleksandr Gumroian
b127bf5edf Update icon color classes to use "text-secondary" instead of "text-dark" 2024-08-30 15:46:45 +02:00
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