Commit Graph
100 Commits
Author SHA1 Message Date
Aleksandr Gumroian 39257567d4 Merge branch 'update-bootstrap' into 'dev'
Update Bootstrap library to version 5.3.x

See merge request turris/reforis/foris-js!217
2024-04-29 15:28:09 +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 46bd8edcea Add JS_DIR variable to Makefile 2024-04-29 15:19:20 +02:00
Aleksandr Gumroian 42fcc02d83 Update Bootstrap library to version 5.3.x 2024-04-29 15:19:20 +02:00
Aleksandr Gumroian 96785f0774 Merge branch 'fix-fullscreen-spinner' into 'dev'
Update Spinner.css styles for better positioning and responsiveness

See merge request turris/reforis/foris-js!216
2024-04-10 15:35:27 +02:00
Aleksandr Gumroian 7823bff6d9 Update Spinner.css styles for better positioning and responsiveness 2024-04-10 14:46:18 +02:00
Aleksandr Gumroian 0fd7c08188 Merge branch 'update-dependencies' into 'dev'
Bump v5.6.1

See merge request turris/reforis/foris-js!213
2024-01-19 19:33:46 +01:00
Aleksandr Gumroian 32630601c2 Bump v5.6.1
* Added & updated Weblate translations
* Fixed loading state & button's layout
* Updated bootstrap library to version 4.6.2
* Used custom reforis-image in GitLab CI/CD
* NPM audit fix
2024-01-19 21:15:50 +03:00
Aleksandr Gumroian 03aad5498a gitlab-ci: Use custom reforis-image 2024-01-19 21:15:50 +03:00
Aleksandr Gumroian 2f2b812ddb NPM audit fix 2024-01-19 21:02:04 +03:00
Aleksandr Gumroian c0bcd46b2b Update bootstrap library to version 4.6.2 2024-01-19 20:49:13 +03:00
Aleksandr Gumroian 68ea8cf460 Merge branch 'update-translations' into 'dev'
Add & update Weblate translations

See merge request turris/reforis/foris-js!214
2024-01-19 18:41:57 +01:00
Aleksandr Gumroian 80619fab3c Merge branch 'fix-button-spinner' into 'dev'
Button: Fix loading state & button's layout

See merge request turris/reforis/foris-js!211
2023-02-15 18:55:02 +01: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 efb3fa80ce Merge branch 'dev' into 'master'
Dev

See merge request turris/reforis/foris-js!210
2022-12-29 11:52:54 +01:00
Aleksandr Gumroian 9c3dcaf6b5 Merge branch 'bump-version-560' into 'dev'
Bump v5.6.0

See merge request turris/reforis/foris-js!209
2022-12-29 11:45:58 +01:00
Aleksandr Gumroian fb41c9629e Bump v5.6.0
* Add & update Weblate translations
* Add CustomizationContext and custom hook
* Update caniuse-lite
* Remove testUtils from .gitignore
* Make ieee80211w_disabled as optional in WiFiForm
* Move contexts in a context folder
* NPM audit fix
2022-12-29 11:34:19 +01:00
Aleksandr Gumroian 620eee3f53 NPM audit fix 2022-12-29 11:33:47 +01:00
Aleksandr Gumroian f6ec82609c Merge branch 'update-translations' into 'dev'
Add & update Weblate translations

See merge request turris/reforis/foris-js!208
2022-12-28 16:27:48 +01:00
Aleksandr Gumroian 0b47c38f21 Merge branch 'fix-custom-context-mock' into 'dev'
Fix custom context mock

See merge request turris/reforis/foris-js!207
2022-12-28 16:09:20 +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 0f2344a005 Merge branch 'add-customization-context' into 'dev'
Add CustomizationContext and custom hook

See merge request turris/reforis/foris-js!183
2022-12-22 15:58:04 +01:00
Aleksandr Gumroian f2ae6c4d0a Move contexts in a context folder 2022-12-22 15:35:22 +01:00
Aleksandr Gumroian f382e743aa Update caniuse-lite 2022-12-22 15:35:22 +01:00
Aleksandr Gumroian d71f4a7967 Remove testUtils from .gitignore
Because the testUtils folder consists of useful utils for testing,
we want to track changes in these files.
2022-12-22 15:35:21 +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 badb043554 Merge branch 'dev' into 'master'
Dev

See merge request turris/reforis/foris-js!206
2022-12-02 16:15:39 +01:00
Aleksandr Gumroian ab692e5c4d Merge branch 'bump-550' into 'dev'
Bump v5.5.0

See merge request turris/reforis/foris-js!205
2022-12-02 16:13:42 +01:00
Aleksandr Gumroian 2e398388b5 Bump v5.5.0
* Add & update translations
* Add a switch to disable Management Frame Protection (802.11w)
* Improved Foris JS documentation
* NPM audit fix
2022-12-02 16:08:36 +01:00
Aleksandr Gumroian 5e539de03f NPM audit fix 2022-12-02 16:06:52 +01:00
Aleksandr Gumroian 87f5557ef6 Merge branch 'update-translations' into 'master'
Add & update Weblate translations

See merge request turris/reforis/foris-js!204
2022-12-02 16:04:02 +01:00
Aleksandr Gumroian f128c5c7d6 Update translation messages 2022-12-02 15:55:10 +01:00
Aleksandr Gumroian 7a633574da Create translation messages 2022-12-02 15:54:45 +01:00
Aleksandr Gumroian ab13b7aa08 Merge branch 'dev' into 'master'
Master

See merge request turris/reforis/foris-js!203
2022-12-02 15:48:41 +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 a4fd74bf38 Merge branch 'improve-docs' into 'dev'
Improve Foris JS documentation

See merge request turris/reforis/foris-js!190
2022-09-16 16:19:00 +02:00
Aleksandr Gumroian b0e2f62a41 Add Switch example to the docs 2022-09-16 16:10:44 +02:00
Aleksandr Gumroian caf8af44d1 Improve docs development section 2022-09-16 16:10:44 +02:00
Aleksandr Gumroian fd7cd49790 Add custom logo & favicon 2022-09-16 16:10:43 +02:00
Aleksandr Gumroian d95fdf8517 Restructure styleguide configuration file
* Add version of the library
* Change colors
* Set tocMode  to "collapse"
2022-09-16 16:10:43 +02:00
Aleksandr Gumroian 68c560078b Improve docs introduction section 2022-09-16 16:10:42 +02:00
Aleksandr Gumroian 83caf505d9 Improve description in package.json 2022-09-16 16:10:42 +02:00
Aleksandr Gumroian f3a1090dbd Merge branch 'dev' into 'master'
Dev

See merge request turris/reforis/foris-js!200
2022-06-03 11:46:19 +02:00
Aleksandr Gumroian d588291f1c Merge branch 'update-peer-deps' into 'dev'
Bump v5.4.1

See merge request turris/reforis/foris-js!198
2022-06-02 18:31:05 +02:00
Aleksandr Gumroian bc044df7a8 Bump v5.4.1
* Add Weblate translations
* Update PropType peer dependency
* NPM audit fix
2022-06-02 11:12:05 +02:00
Aleksandr Gumroian b4c6a7fb70 NPM audit fix 2022-06-02 11:12:04 +02:00
Aleksandr Gumroian d6563d2ffd Update PropTypes library to v15.8.1
As reForis had updated library, there was a conflict in npm
between different versions of the library.

```
npm ERR! While resolving: reforis_js@1.2.1
npm ERR! Found: prop-types@15.8.1
npm ERR! node_modules/prop-types
npm ERR!   prop-types@"^15.8.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer prop-types@"15.7.2" from foris@5.4.0
npm ERR! node_modules/foris
npm ERR!   foris@"5.4.0" from the root project
```
2022-06-02 11:08:02 +02:00
Aleksandr Gumroian af90d8d09d Merge branch 'update-translations' into 'master'
Add Weblate translations

See merge request turris/reforis/foris-js!199
2022-05-31 15:32:51 +02:00
Aleksandr Gumroian db4a6fb763 Merge branch 'dev' into 'master'
Dev

See merge request turris/reforis/foris-js!197
2022-05-20 16:28:35 +02:00
Aleksandr Gumroian caaa154d21 Merge branch 'bump-540' into 'dev'
Bump v5.4.0

See merge request turris/reforis/foris-js!196
2022-05-20 16:25:58 +02:00
Aleksandr Gumroian 518fa30306 Bump v5.4.0
* Add & update translations
* Add CopyInput bootstrap component
* Update WiFiForm labels and description for wifi ax
* Make WS path in lighttpd mode configurable
* Fix Wi-Fi password helptext string
* NPM audit fix
2022-05-20 16:11:12 +02:00
Aleksandr Gumroian fb3562373a NPM audit fix 2022-05-20 16:10:53 +02:00
Aleksandr Gumroian 5afbbac74c Merge branch 'fix-password-helptext' into 'dev'
Fix Wi-Fi password help text string & Add translations

See merge request turris/reforis/foris-js!195
2022-05-20 16:06:17 +02:00
Aleksandr Gumroian f25832432b Update translation messages 2022-05-20 15:43:48 +02:00
Aleksandr Gumroian 926cb2505f Create translation messages 2022-05-20 15:43:12 +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 514f02a5f6 Merge branch 'master' into fix-password-helptext 2022-05-20 15:41:39 +02:00
Aleksandr Gumroian c6557aae5e Merge branch 'update-translations' into 'master'
Update translations

See merge request turris/reforis/foris-js!194
2022-05-20 15:36:47 +02:00
Aleksandr Gumroian 92ed7f1ee7 Merge branch 'add-copyinput' into 'dev'
Add CopyInput bootstrap component

See merge request turris/reforis/foris-js!192
2022-05-19 16:09:31 +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 e24cd76009 Merge branch 'feature/update-wifi-ax-labels-and-description' into 'dev'
Update WiFiForm labels and description for wifi ax

See merge request turris/reforis/foris-js!193
2022-04-19 16:13:46 +02:00
Aleksandr Gumroian ae6b495683 Update Snapshots 2022-04-19 16:06:11 +02:00
Aleksandr Gumroian fd25ae04a8 Merge branch 'feature/make-ws-path-in-ligttpd-mode-configurable' into 'dev'
Feature/make ws path in lighttpd mode configurable

See merge request turris/reforis/foris-js!191
2022-04-08 16:10:40 +02:00
Aleksandr Gumroian 7867a1a494 Merge branch 'dev' into 'master'
Dev

See merge request turris/reforis/foris-js!185
2022-02-28 17:28:56 +01:00
Aleksandr Gumroian 1bb8abd633 Merge branch 'bump-530' into 'dev'
Bump v5.3.0

See merge request turris/reforis/foris-js!187
2022-02-28 17:01:33 +01:00
Aleksandr Gumroian 536ccc0f03 Bump v5.3.0
* Add & update translations
* Add rest of the props to DownloadButton component
* Add hostname validation
* Add wifi 802.11ax HE modes
* Set best Wi-Fi HT mode depending on the checked frequency
* Improve domain name RegEx pattern
* Remove customOrder prop in Select component
* Fix Wi-Fi translation strings
* Fix autocomplete attribute in PasswordInput
* Fix WiFi password max length check
* Fix documentation build
* Fix access token in publish script
* Refine & restructure Makefile
* Update GitLab CI image to Node.js v16
* NPM update (several dependencies)
* NPM audit fix
2022-02-28 16:57:37 +01:00
Aleksandr Gumroian 671c711a33 Fix access token in publish script
As npm has a new access token format
https://github.blog/changelog/2021-09-23-npm-has-a-new-access-token-format/
2022-02-28 16:47:52 +01:00
Aleksandr Gumroian e2f3e6857e NPM update (several dependencies)
* qrcode.react to v1.0.1
* react-datetime to v3.1.1
* moment-timezone to v0.5.34
2022-02-28 15:49:09 +01:00
Aleksandr Gumroian fe4ab298d8 NPM audit fix 2022-02-28 15:49:08 +01:00
Aleksandr Gumroian 0f7f89dfc0 Merge branch 'refine-makefile' into 'dev'
Refine Makefile & update GitLab CI image

See merge request turris/reforis/foris-js!189
2022-02-28 15:40:53 +01:00
Aleksandr Gumroian be2e3fe3f0 Update snapshots 2022-02-22 17:03:35 +01:00
Aleksandr Gumroian 577ad70c06 Update translation messages 2022-02-22 16:46:22 +01:00
Aleksandr Gumroian d17638eb6e Create translation messages 2022-02-22 16:43:31 +01:00
Aleksandr Gumroian 13869336db Fix Wi-Fi translation strings 2022-02-22 16:38:29 +01:00
Aleksandr Gumroian 7c46abcd5d gitlab-ci: Update Node.js image to v16 2022-02-22 16:38:19 +01:00
Aleksandr Gumroian 894d92b683 Makefile: Fix spelling mistakes in echo statements 2022-02-22 16:38:10 +01:00
Aleksandr Gumroian ca335ab3a5 Makefile: Add test-js-watch recipe 2022-02-22 16:37:52 +01:00
Aleksandr Gumroian 2161fc0b32 Makefile: Divide phony targets & restructure recipes 2022-02-22 16:37:45 +01:00
Aleksandr Gumroian 0a23506a38 Fix forisjs.pot template's header comment 2022-02-22 16:37:35 +01:00
Aleksandr Gumroian d23c7cb790 Merge branch 'master' into refine-makefile 2022-02-22 16:35:15 +01:00
Aleksandr Gumroian 129327cfcf Merge branch 'update-translations' into 'master'
Add & update translations

See merge request turris/reforis/foris-js!188
2022-02-21 17:58:04 +01:00
Aleksandr Gumroian 0a143e7de6 Merge branch 'add-hostname-validation' into 'dev'
Add hostname validation

See merge request turris/reforis/foris-js!181
2022-02-21 14:09:16 +01:00
Aleksandr Gumroian 7ec1c46a63 Add tests for hostname validation 2022-02-21 13:57:34 +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
Aleksandr Gumroian 188ed87fc0 Merge branch 'feature/wifi-ax-he-modes' into 'dev'
Add wifi 802.11ax HE modes

See merge request turris/reforis/foris-js!184
2022-02-21 13:31:45 +01:00
Aleksandr Gumroian c0f64e8c6c Fix tests
"Post form: 2.4 GHz" test was failing because of added new functionality
in the previous 0194684 commit.
2022-02-21 11:28:25 +01:00
Aleksandr Gumroian b95cfb664d Set best Wi-Fi HT mode depending on the checked frequency 2022-02-21 11:28:25 +01:00
Aleksandr Gumroian 52cdaf5bc5 Update Snapshots 2022-02-21 11:28:24 +01:00
Aleksandr Gumroian 175a07a865 Remove customOrder prop
As some options of Select component should be ordered by values or keys,
it was decided to handle sorting not in options, but locally in
corresponding lists.
2022-02-21 11:28:24 +01:00