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

236 Commits

Author SHA1 Message Date
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
Bogdan Bodnar
73e213c467
Add default delay. 2019-11-15 14:20:14 +01:00
Bogdan Bodnar
2e68e56e44
Add hook for API polling. 2019-11-15 14:20:07 +01:00
Maciej Lenartowicz
b30f9f59b4 Fix for withEither 2019-11-15 08:55:24 +00:00
Bogdan Bodnar
23029470b9
Improve error handling + small refactoring. 2019-11-13 15:28:26 +01:00
Bogdan Bodnar
7e6e6f8c87
Use generic error message in the ForisForm. 2019-11-13 14:49:52 +01:00
Bogdan Bodnar
b831d664a9
Add timout handling. 2019-11-13 14:49:52 +01:00
Maciej Lenartowicz
6e02f1d194 Shared lint configs 2019-11-13 10:11:11 +00:00
Maciej Lenartowicz
a51ba0630d Move alert to portal 2019-11-12 12:50:29 +00:00
Maciej Lenartowicz
8b39bf4193 Loading and errors HOCs 2019-11-07 17:21:14 +00:00
Maciej Lenartowicz
654ae6914a
Added missing hook to index.js 2019-11-05 13:00:44 +01:00
Maciej Lenartowicz
7f8aaea7b8 Resolve "Discuss and implement proper API methods." 2019-11-05 11:10:50 +00:00
Maciej Lenartowicz
0984c45161 Flat structure of published package 2019-11-01 09:28:28 +00:00
Maciej Lenartowicz
0915d477fe Global alert 2019-10-30 16:06:53 +00:00
Maciej Lenartowicz
88f3836485 Radio checkbox whitespace 2019-10-24 08:12:39 +00:00
Maciej Lenartowicz
760e6d9243 Download button 2019-10-11 14:11:14 +00:00
Maciej Lenartowicz
e3a795e40d Client configuration 2019-10-10 15:25:00 +00:00
Maciej Lenartowicz
afa8c160a3 Resolve "Increment/decrement value in NumberInput when +/- button is kept pushed." 2019-10-07 09:18:25 +00:00
Maciej Lenartowicz
96eed02d32 Filter non-JSON payload 2019-10-01 09:38:18 +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
Maciej Lenartowicz
44e45499c6 Ignore non-JSON error payload 2019-09-30 12:58:41 +00:00
Bogdan Bodnar
680871de62
Core review docs fixes. 2019-09-30 11:26:06 +02:00
Maciej Lenartowicz
7516cfdbfe
Added missing export 2019-09-30 09:58:11 +02:00
Bogdan Bodnar
e4e28dbce4
Move css to the library. 2019-09-26 16:10:52 +02: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
Bogdan Bodnar
4a481ea642
Add styleguidist docs. 2019-09-25 16:14:29 +02:00
Maciej Lenartowicz
7253319b61 Disable default styles for number input 2019-09-25 11:59:45 +00:00
Maciej Lenartowicz
d658f0b112 Resolve "Handle PATCH request" 2019-09-25 11:56:08 +00:00
Maciej Lenartowicz
d4bc5a6998 Resolve "Extract alert context from OpenVPN plugin" 2019-09-24 07:52:09 +00:00
Maciej Lenartowicz
4ff3e33411 DELETE method in API hooks 2019-09-10 08:30:42 +00:00
Maciej Lenartowicz
4430b1782d Moved update approvals page 2019-09-02 07:30:28 +00:00
Maciej Lenartowicz
f1bc333f28
Removed mockWS 2019-08-29 11:46:13 +02:00
Bogdan Bodnar
09b7867073
Checkbox -> CheckBox. 2019-08-29 10:54:47 +02:00
Bogdan Bodnar
41a4cb8f4b
Fix submit button type. 2019-08-29 10:54:47 +02:00
Bogdan Bodnar
ed14c3378e
Lint. 2019-08-29 10:54:47 +02:00
Bogdan Bodnar
2173770ebc
Add module resolver plugin. 2019-08-29 10:54:47 +02:00
Bogdan Bodnar
e9910f269f
Don't use default exports. 2019-08-29 10:54:47 +02:00
Bogdan Bodnar
3bb760ceb3
Fix imports. 2019-08-29 10:54:47 +02:00
Bogdan Bodnar
c0d742b13b
Fix lint. 2019-08-29 10:54:47 +02:00
Bogdan Bodnar
18e8e20206
Set tests. 2019-08-27 15:28:29 +02:00
Bogdan Bodnar
39a8c16824
Set test modules. 2019-08-27 14:07:34 +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