1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-09-16 01:42:12 +02:00
Commit Graph

38 Commits

Author SHA1 Message Date
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
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
ff48d6ca36 Remove useTooltip hook 2024-04-30 13:37:25 +02:00
Aleksandr Gumroian
42fcc02d83 Update Bootstrap library to version 5.3.x 2024-04-29 15:19:20 +02:00
Aleksandr Gumroian
f327428765 Add about endpoint to forisUrls 2022-12-22 15:35:19 +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
Marek Sašek
a66a2f4708 Remove reForis login page 2021-12-13 15:51:56 +01:00
Aleksandr Gumroian
cff5f1e5e1 Add sentinelAgreement endpoint to forisUrls 2021-06-29 17:39:53 +02:00
Aleksandr Gumroian
f7146e3b14 Fix obsolete rebootPage link in forisUrls 2021-05-14 13:37:59 +02:00
Marek Sašek
e1260a5ea1 Add Packages URL into forisUrls 2021-04-21 14:10:23 +02: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
0c7997f6c0 Fix Reboot page URL in respective dropdown 2020-09-02 17:55:44 +02:00
Aleksandr Gumroian
f8726e6012 Format all files with Prettier 2020-08-18 16:17:00 +02:00
Aleksandr Gumroian
e858b30994 Add appropriate links to dropdown headers 2020-08-05 14:37:14 +02:00
Aleksandr Gumroian
cbf37dd747 Fix overview & notifications URLs 2020-07-30 11:40:11 +02: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
Maciej Lenartowicz
9fbc4e8383 Added date and time utilities. 2020-02-20 14:30:28 +01:00
Maciej Lenartowicz
ee33d33738 Display actual error within the form. 2020-01-20 16:54:42 +01:00
Maciej Lenartowicz
5fd0d3626a Wi-Fi settings form 2020-01-09 11:25:29 +01:00
Bogdan Bodnar
dd27802056 Fix relative imports. 2019-12-27 12:10:19 +01:00
Maciej Lenartowicz
90509f2a23 Detect clicks outside element with a hook 2019-12-16 13:44:58 +01:00
Bogdan Bodnar
aac6c6bf2a Add className to SpinnerElement. 2019-12-06 12:13:29 +01:00
Maciej Lenartowicz
b30f9f59b4 Fix for withEither 2019-11-15 08:55:24 +00:00
Maciej Lenartowicz
8b39bf4193 Loading and errors HOCs 2019-11-07 17:21:14 +00:00
Maciej Lenartowicz
afa8c160a3 Resolve "Increment/decrement value in NumberInput when +/- button is kept pushed." 2019-10-07 09:18:25 +00:00
Bogdan Bodnar
8479518fab Merge branch 'docs' into 'dev'
Fix docs, extract CSS to Foris JS.

See merge request turris/reforis/foris-js!10
2019-09-30 13:01:00 +00:00
Bogdan Bodnar
7a14ed1b60 Copyright. 2019-09-26 12:23:22 +02:00
Maciej Lenartowicz
497a1a0ad3 Added function to filter object keys 2019-09-26 09:39:07 +02:00
Maciej Lenartowicz
7253319b61 Disable default styles for number input 2019-09-25 11:59:45 +00:00
Bogdan Bodnar
e9910f269f Don't use default exports. 2019-08-29 10:54:47 +02:00
Bogdan Bodnar
c0d742b13b Fix lint. 2019-08-29 10:54:47 +02:00
Bogdan Bodnar
19df5c2630 Set modules. 2019-08-27 11:54:57 +02:00
Bogdan Bodnar
7b38c1658c Set babel. 2019-08-23 17:47:41 +02:00