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

585 Commits

Author SHA1 Message Date
Stepan Henek
bb5177e858
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`.
2023-01-31 11:15:52 +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
Алексей Леньшин
5a359661da
Translated using Weblate (Russian)
Currently translated at 100.0% (69 of 69 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/ru/
2022-12-07 13:47:07 +01:00
Atec
3d30e2720e
Translated using Weblate (Slovak)
Currently translated at 100.0% (69 of 69 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/sk/
2022-12-05 17:48:13 +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
Allan Nordhøy
ee40697e2b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 76.1% (51 of 67 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/nb_NO/
2022-12-02 15:48:45 +01:00
Milo Ivir
4525c6bc66
Translated using Weblate (Croatian)
Currently translated at 2.9% (2 of 67 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/hr/
2022-12-02 15:48:45 +01:00
Orest Worhacz
1d6987b21b
Translated using Weblate (Polish)
Currently translated at 32.8% (22 of 67 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/pl/
2022-12-02 15:48:45 +01:00
Dan Cybersec
67fc2d32ce
Translated using Weblate (Spanish)
Currently translated at 100.0% (67 of 67 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/es/
2022-12-02 15:48: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
Atec
006d6ce8d9
Translated using Weblate (Slovak)
Currently translated at 100.0% (67 of 67 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/sk/
2022-05-30 08:14:50 +02:00
Алексей Леньшин
cee08f48ce
Translated using Weblate (Russian)
Currently translated at 100.0% (67 of 67 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/ru/
2022-05-28 11:19:05 +02:00
Allan Nordhøy
2d0ca58057
Translated using Weblate (Norwegian Bokmål)
Currently translated at 68.6% (46 of 67 strings)

Translation: Turris/Foris JS
Translate-URL: https://hosted.weblate.org/projects/turris/foris-js/nb_NO/
2022-05-25 15:20:48 +02:00