1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-09-28 11:14:20 +02:00
Commit Graph

93 Commits

Author SHA1 Message Date
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
Bogdan Bodnar
6d5cb6a951
Export <Radio />. 2019-12-17 14:04:06 +01:00
Maciej Lenartowicz
90509f2a23
Detect clicks outside element with a hook 2019-12-16 13:44:58 +01:00
Bogdan Bodnar
fd1518265f Merge branch 'spinner-element-class-name' into 'dev'
Add className to SpinnerElement.

See merge request turris/reforis/foris-js!55
2019-12-06 15:07:16 +01:00
Bogdan Bodnar
aac6c6bf2a
Add className to SpinnerElement. 2019-12-06 12:13:29 +01:00
Bogdan Bodnar
d55615abcc
Grammar. 2019-12-06 12:09:54 +01:00
Bogdan Bodnar
9d322811c3
Improve docs and propTypes of WS usage in ForisForm. 2019-12-06 12:07:42 +01:00
Bogdan Bodnar
f30685d9c2
Add WS unsubscribtion.
Code review improvements.
2019-12-06 11:46:30 +01:00
Maciej Lenartowicz
8d0c640994 Set suffix for API URL 2019-12-06 10:27:48 +01:00
Bogdan Bodnar
7b739f55a0 Merge branch 'add-reboot-button' into 'dev'
Add reboot button

See merge request turris/reforis/foris-js!50
2019-11-29 16:37:44 +01:00
Bogdan Bodnar
03a020f87c
Bump version 1.4.0. 2019-11-29 16:29:32 +01:00
Bogdan Bodnar
acaaab0654
Fix URL prefixes. 2019-11-29 16:29:31 +01:00
Bogdan Bodnar
04a667eb6f
Extract reboot button from reForis.
* Add RebootButton tests.
 * RebootButton code review.
 * Update translations.
2019-11-29 16:29:31 +01:00
Maciej Lenartowicz
1064277cd9 Allow adding classes to DownloadButton 2019-11-29 16:01:53 +01:00
Bogdan Bodnar
fd8acd1ceb Catch error and sending state in API polling. 2019-11-19 16:56:38 +00:00
Bogdan Bodnar
1a82f8e225
Update checkbox snapshots. 2019-11-19 13:37:43 +01:00
Bogdan Bodnar
638821d025
Make checkBox help text clickabe. 2019-11-19 13:36:49 +01:00
Maciej Lenartowicz
e54db2c577 Use global AlertContext 2019-11-18 12:51:43 +00:00
Bogdan Bodnar
a6866a0673 Merge branch 'api-polling' into 'dev'
Add hook for API polling.

See merge request turris/reforis/foris-js!41
2019-11-15 15:59:44 +00:00
Bogdan Bodnar
429814ebb5
Add until param to API polling hook. 2019-11-15 14:21:19 +01:00