Fail2ban Cockpit UI

Surely 2000 lines of code needed more, but at least I can display something in cockpit, I started with VueJS :smiley:

WIP


11 Likes

7 Likes

Settings is completed, now let’s go to the jail status page and the dashboard

6 Likes

Oh wow, good start! You’re so brave :wink:
How are your feelings with the new framework?

1 Like

New jails page

5 Likes

Well new things to learn, VueJS can help a lot, I did not regret to start directly with this framework, even if we have a new layer of complexity like compiled javascript(I used to hack the code directly on the server when I built something) but it drives you to be good at the first attempt :slight_smile:

For now a lot of lines must be written, HTML and Javascript, but hopefully we do not have to put really the hand in css (at least for me), so it is something cool. VueJS is here to make the data binding and show/hide HTML elements, so it is quite easy to do it when you caught how it works.

The wild side now is that the level to hack something has increased :

  • for the frontend you need to know html, css, JS and/or a javascript framework(with VueJS you must use also node and npm).
  • for the backend you need to understand json and to know bash, perl, php.

the good thing is that we have a modern server manager

2 Likes

3 Likes

3 Likes

6 Likes

Ola…I have something to show, please could you test it and bring your ideas…

yum install nethserver-fail2ban nethserver-cockpit --enablerepo=nethserver-testing

the issue for the QA is https://github.com/NethServer/dev/issues/5745

3 Likes