reForis announcement!

We are proud to announce a reForis (redesigned Foris) and share some of its features with you.

What’s new in reForis for users?

  • New UI design.
  • Better navigation menu.
  • Improved notifications.
  • Moving between pages without refreshing.

What does reForis bring for developers?

  • Modern technologies stack
    • Flask
    • React
    • Bootstrap
  • New plugins system
    • Based on Flask Blueprints and React components.

More about new features

New UI design

We’ve improved UI design to keep it modern.


We’ve done it concerning the previous Foris and save most of the elements you’ve already got familiar with. Therefore, you will not be confused using reForis.

Navigation menu

We’ve restructured the main menu and split it into categories for your better navigation. Check out the new icons!
menu

Notifications

In reForis we’ve redesigned notifications experience and move it to the top bar. We’ve added a dropdown menu with notification previews.
notifications

Important notifications

The important kinds of notifications, such as required reboot and updates approvals, have taken a place in the top bar as well. Therefore, you won’t miss any important notifications.
reboot

Installation

Despite reForis is ready to use, it is still in the development stage until we implement all the plugins. But you can try now on branches.

You can install it via commands:

$ opkg update
$ opkg install reforis

Then you can find in on the home page:

Known issue

If you have a problem with infinity reloading, then please delete foris.session and foris.ws.session cookies in your browser.

Feel free to check it out, we need your feedback :slight_smile:

5 Likes

How code (in)depended is reforis from foris? Removing foris or foris-controller-app

takes a whole bunch of other stuff with it

INFO:Queue removal of foris-diagnostics-plugin
INFO:Queue removal of foris-netmetr-plugin
INFO:Queue removal of foris-controller-netmetr-module
INFO:Queue removal of netmetr
INFO:Queue removal of python3-pyserial
INFO:Queue removal of rmbt-client
INFO:Queue removal of foris-controller-diagnostics-module
INFO:Queue removal of foris-controller
INFO:Queue removal of foris-controller-hotplug
INFO:Queue removal of turris-diagnostics
INFO:Queue removal of foris
INFO:Queue removal of python3-bottle-i18n
INFO:Queue removal of python3-bottle
INFO:Queue removal of python3-flup
INFO:Queue removal of lighttpd-mod-redirect
INFO:Queue removal of foris-ws
INFO:Queue removal of python3-websockets
INFO:Queue removal of lighttpd-mod-proxy
INFO:Queue removal of python3-cachelib
INFO:Queue removal of foris-client
INFO:Queue removal of socat
INFO:Queue removal of foris-controller-app
INFO:Queue removal of python3-ubus
INFO:Queue removal of python3-prctl
INFO:Queue removal of python3-pbkdf2
INFO:Queue removal of foris-schema
INFO:Queue removal of python3-jsonschema
INFO:Queue removal of python3-attrs
INFO:Queue removal of python3-pyrsistent
INFO:Queue removal of python3-six
INFO:Queue removal of turrishw
INFO:Queue removal of turris-maintain
INFO:Queue removal of coreutils-base64
INFO:Queue removal of sqm-scripts
INFO:Queue removal of kmod-ifb
INFO:Queue removal of fosquitto
INFO:Queue removal of mosquitto-ssl
INFO:Queue removal of libwebsockets-openssl
INFO:Queue removal of mosquitto-client-ssl
INFO:Queue removal of libmosquitto-ssl
INFO:Queue removal of libcares
INFO:Queue removal of python3-paho-mqtt
INFO:Queue removal of turris-cagen
INFO:Queue removal of crypto-wrapper

Just blank (tried with FF and Chrome derivates)

1 Like

reForis is a redesigned frontend of Foris. It uses foris-controller as backend so without foris-controller it can’t do much. To make it work, please install foris-controller again.

Did not uninstall, just observed and cited


I think there is some room for graphics improvements here

  1. Combo boxes are gray even if they are active
  2. Everything is aligned to the left except submenus
  3. I think better would be
    Frequency
    o 2.4 GHz o 5 GHz
    (at first I thought that “GHz” label is misplaced until I realized that it is a heading)
2 Likes

Is it only released for TOS 4? I can’t find it on my 3.x router.

Yes 4.0 and newer only.

Hi Miska,
please, be so kind (and ask all your colleagues for that as well) - whenever you publish new feature, add indication for what HW / OS versions it is valid. It is not for the first time I see it there, and it is fairly unprofessional …
Thanks in advance to all TO team!

4 Likes

So at this point all localization efforts should be focused on reForis and not Foris, correct? (I asked as someone interested in contributing some localization on the forums a while back and got crickets)

Depends. Foris is still going to stay with us for a while. This is the first announcement of reForis and in general it is still under heavy development so strings might change quite a lot. It is currently available for testing, but it will take some time to become default and we still need to migrate people from 3.X to 4.Y. So if you want to help people in following few months, Foris is still going to be used by majority of our users. If you are looking to contribute something that will be used a year from now, reForis is a better bet, but some modules might still go through various redesigns.

2 Likes

I’m having issues with it. opkg update fails to download a couple files, which seems to be causing reForis installation to fail as consequence:

turris# opkg update
Downloading https://repo.turris.cz/hbs/omnia/packages/core/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_core
Downloading https://repo.turris.cz/hbs/omnia/packages/core/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/omnia/packages/base/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_base
Downloading https://repo.turris.cz/hbs/omnia/packages/base/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/omnia/packages/cesnet/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_cesnet
Downloading https://repo.turris.cz/hbs/omnia/packages/cesnet/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/omnia/packages/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_luci
Downloading https://repo.turris.cz/hbs/omnia/packages/luci/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/omnia/packages/luci_theme_rosy/Packages.gz
*** Failed to download the package list from https://repo.turris.cz/hbs/omnia/packages/luci_theme_rosy/Packages.gz

Downloading https://repo.turris.cz/hbs/omnia/packages/openwisp/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_openwisp
Downloading https://repo.turris.cz/hbs/omnia/packages/openwisp/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_packages
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/omnia/packages/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_routing
Downloading https://repo.turris.cz/hbs/omnia/packages/routing/Packages.sig
Signature file download failed.
Remove wrong Signature file.
Downloading https://repo.turris.cz/hbs/omnia/packages/sidn/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_sidn
Downloading https://repo.turris.cz/hbs/omnia/packages/sidn/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/omnia/packages/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_telephony
Downloading https://repo.turris.cz/hbs/omnia/packages/telephony/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/omnia/packages/turrispackages/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_turrispackages
Downloading https://repo.turris.cz/hbs/omnia/packages/turrispackages/Packages.sig
Signature check passed.
Collected errors:
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/luci_theme_rosy/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.

* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/routing/Packages.sig, wget returned 4.
* opkg_download: Check your network settings and connectivity.


turris# opkg install reforis
Installing reforis (0.4.4-3.6-4.2) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/turrispackages/reforis_0.4.4-3.6-4_arm_cortex-a9_vfpv3.ipk
Installing python3-simplejson (3.16.0-3.6-1.17) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/python3-simplejson_3.16.0-3.6-1_arm_cortex-a9_vfpv3.ipk
Installing python3-click (6.7-3.6-1.16) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/python3-click_6.7-3.6-1_arm_cortex-a9_vfpv3.ipk
Installing python3-itsdangerous (0.24-3.6-1.16) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/python3-itsdangerous_0.24-3.6-1_arm_cortex-a9_vfpv3.ipk
Installing python3-werkzeug (0.12.2-3.6-1.16) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/python3-werkzeug_0.12.2-3.6-1_arm_cortex-a9_vfpv3.ipk
Installing python3-flask (0.12.2-3.6-1.17) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/python3-flask_0.12.2-3.6-1_arm_cortex-a9_vfpv3.ipk
Installing python3-pytz (2018.9-3.6-1.16) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/python3-pytz_2018.9-3.6-1_arm_cortex-a9_vfpv3.ipk
Installing python3-babel (2.7.0-3.6-1.0) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/turrispackages/python3-babel_2.7.0-3.6-1_arm_cortex-a9_vfpv3.ipk
Installing python3-flask-babel (0.12.2-3.6-2.2) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/turrispackages/python3-flask-babel_0.12.2-3.6-2_arm_cortex-a9_vfpv3.ipk
Configuring python3-click.
Configuring python3-simplejson.
Configuring python3-pytz.
Configuring python3-itsdangerous.
Configuring python3-werkzeug.
Configuring python3-flask.
Configuring python3-babel.
Collected errors:
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/turrispackages/python3-flask-babel_0.12.2-3.6-2_arm_cortex-a9_vfpv3.ipk, wget returned 4.
* opkg_download: Check your network settings and connectivity.

* opkg_install_pkg: Failed to download python3-flask-babel. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package reforis.

I tried to manually download and inspect those files and it looks fine:

turris# curl -O https://repo.turris.cz/hbs/omnia/packages/luci_theme_rosy/Packages.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100   234  100   234    0     0    629      0 --:--:-- --:--:-- --:--:--   661

turris# zcat Packages.gz
Package: luci-theme-rosy
Version: git-19.218.01993-58dafa9-1.0
Depends: libc
Section: luci
Architecture: all
Installed-Size: 104688
Filename: luci-theme-rosy_git-19.218.01993-58dafa9-1_all.ipk
Size: 106665
SHA256sum: 341874c6201a2260cdf8273ba6353861caa3fdeea5420eb466b5be7576122617
Description:  Rosy Theme




turris# curl -O https://repo.turris.cz/hbs/omnia/packages/routing/Packages.sig
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0    449      0 --:--:-- --:--:-- --:--:--   449
turris# zcat Packages.sig
zcat: no gzip/xz magic
turris# cat Packages.sig
untrusted comment: signed by key dcb20e535c62dd5b
RWTcsg5TXGLdW0F9M6pcrRnqlEUitezYajKgHSRT9A2UabHIklOyAqjkVvT/AfJiaUdWyA9vIJycev0ZScaM36Nj1XGgrfLoIgI=

There is a bug in the reForis -> Network setting -> Guest network
The time in the “Lease time (hours)” is shown in seconds (not in hours).

HW: Turris Omnia
SW: TurrisOS 4.0.1

2 Likes

Thank you, will be fixed in next release :slight_smile:

1 Like

I get the following error message:

# opkg install reforis
Unknown package 'reforis'.
Collected errors:
 * opkg_install_cmd: Cannot install package reforis.

Did you try to update the list of available packages?

opkg update

I have another issue. MOX is on the daily update setting, but is now since 21-10 giving this error :

Error notifications

Updater failed:

inconsistent: Requested package reforis that is not available.

Edit : Removed Reforis, it is updating again.

There is a bug in reForis 0.4.4, Mox, OS4.0.1 HBS.
Can’t save settings, email notifications.

File /etc/config/user_notify not changed.

@DIKKEHENK and @commar, thank you for your feedback. We will investigate these issues.

Installed reForis today on an Omnia running hbt branch of TOS 4. All I get is endless waiting for a response on https://omnia/reforis/. No errors in logs. What should I check?

Clear cookies in browser?