1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-15 13:36:35 +02:00
Commit Graph

189 Commits

Author SHA1 Message Date
e1b5a25ddd Update domain vadlidation. 2020-03-13 21:37:21 +01:00
02b5583712 Move vadliadtions and forisUrls to utils. 2020-03-13 21:37:21 +01:00
ce955095fd Add logout link. 2020-03-06 14:00:18 +01:00
bf8c2d28bf Allow RadioSet accept elements as children. 2020-02-26 15:21:43 +01:00
ba772be869 Add option to make modal scrollable. 2020-02-26 11:44:52 +01:00
9fbc4e8383 Added date and time utilities. 2020-02-20 14:30:28 +01:00
2b28434712 Rethrow unhandled error from API hooks. 2020-02-18 14:32:59 +01:00
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
c1cd90dff6 Fixed ForisForm docstring. 2020-02-14 12:40:23 +01:00
716c323b28 Added reference to form element. 2020-02-10 12:06:16 +01:00
85e42980ec Added styles extracted from reForis. 2020-01-22 13:21:46 +01:00
ee33d33738 Display actual error within the form. 2020-01-20 16:54:42 +01:00
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
532acf9d86 Add warning about using <ForisForm /> component in plugins. 2020-01-17 13:15:46 +01:00
556e12c964 Revert "Prompt as an optional element of ForisForm."
This reverts commit 75bfbb88ae.
2020-01-17 12:44:11 +01:00
c495aa97ac Increased network timeout. 2020-01-16 18:40:57 +01:00
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
6d8e0cec70 Added controller ID filter to WebSocket hook. 2020-01-16 10:27:30 +01:00
5091eecedf Use react-router-dom instead of react-router. 2020-01-15 18:19:04 +01:00
75bfbb88ae Prompt as an optional element of ForisForm. 2020-01-14 15:00:17 +01:00
3e2c89cac7 Moved moment-timezone to devDependencies. 2020-01-09 17:46:15 +01:00
5fd0d3626a Wi-Fi settings form 2020-01-09 11:25:29 +01:00
56a4c47948 Form widgets size 2020-01-07 13:27:49 +01:00
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
92f560b69f Display datepicker above input 2020-01-06 09:45:16 +01:00
dd27802056 Fix relative imports. 2019-12-27 12:10:19 +01:00
3d290114fa Changed levels of WS logs 2019-12-17 17:45:55 +01:00
6d5cb6a951 Export <Radio />. 2019-12-17 14:04:06 +01:00
90509f2a23 Detect clicks outside element with a hook 2019-12-16 13:44:58 +01:00
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
aac6c6bf2a Add className to SpinnerElement. 2019-12-06 12:13:29 +01:00
d55615abcc Grammar. 2019-12-06 12:09:54 +01:00
9d322811c3 Improve docs and propTypes of WS usage in ForisForm. 2019-12-06 12:07:42 +01:00
f30685d9c2 Add WS unsubscribtion.
Code review improvements.
2019-12-06 11:46:30 +01:00
8d0c640994 Set suffix for API URL 2019-12-06 10:27:48 +01:00
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
03a020f87c Bump version 1.4.0. 2019-11-29 16:29:32 +01:00
acaaab0654 Fix URL prefixes. 2019-11-29 16:29:31 +01:00
04a667eb6f Extract reboot button from reForis.
* Add RebootButton tests.
 * RebootButton code review.
 * Update translations.
2019-11-29 16:29:31 +01:00
1064277cd9 Allow adding classes to DownloadButton 2019-11-29 16:01:53 +01:00
fd8acd1ceb Catch error and sending state in API polling. 2019-11-19 16:56:38 +00:00
1a82f8e225 Update checkbox snapshots. 2019-11-19 13:37:43 +01:00
638821d025 Make checkBox help text clickabe. 2019-11-19 13:36:49 +01:00
e54db2c577 Use global AlertContext 2019-11-18 12:51:43 +00:00
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
429814ebb5 Add until param to API polling hook. 2019-11-15 14:21:19 +01:00
73e213c467 Add default delay. 2019-11-15 14:20:14 +01:00
2e68e56e44 Add hook for API polling. 2019-11-15 14:20:07 +01:00
b30f9f59b4 Fix for withEither 2019-11-15 08:55:24 +00:00
23029470b9 Improve error handling + small refactoring. 2019-11-13 15:28:26 +01:00