From 50b89f92ea608fdcf2c8d190d0262b12a7361be9 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Wed, 29 Jan 2025 10:44:54 +0200 Subject: [PATCH] Fixes HTML --- app/templates/agents.php | 168 ++++++------- app/templates/components.php | 8 +- app/templates/help.php | 242 +++++++++--------- app/templates/page-sidebar.php | 8 +- app/templates/security.php | 437 ++++++++++++++++----------------- 5 files changed, 432 insertions(+), 431 deletions(-) diff --git a/app/templates/agents.php b/app/templates/agents.php index 9aa52ae..4f9c7bc 100644 --- a/app/templates/agents.php +++ b/app/templates/agents.php @@ -1,94 +1,94 @@ - -
-
-
-

Jilo Agents status

- manage and monitor agents on platform (). -
-
- - -
- $hostData): ?> -
-
-
-
- - Host: - - - -
+ +
+
+
+

Jilo Agents status

+ manage and monitor agents on platform +
-
- -

No agents on this host.

- - -
-
-
- - Agent ID: | - Type: () | - Endpoint: - + + +
+ $hostData): ?> +
+ +
+ +

No agents on this host.

+ + +
+
+
+ + Agent ID: | + Type: () | + Endpoint: + + + +
+
-
- - - - +
+ + + + +
+ "> +
Click a button to display data from the agent.
+
+ +
- "> -
Click a button to display data from the agent.
- - +
+
-
- -
-
- + diff --git a/app/templates/components.php b/app/templates/components.php index a1d3bd4..706697f 100644 --- a/app/templates/components.php +++ b/app/templates/components.php @@ -1,10 +1,10 @@ - +
-

Jitsi components events

- Log events related to Jitsi Meet components like Jicofo, Videobridge, Jigasi, etc. +

Jitsi components events

+ log events related to Jitsi Meet components like Jicofo, Videobridge, Jigasi, etc.
@@ -94,4 +94,4 @@
- + diff --git a/app/templates/help.php b/app/templates/help.php index 7bd5a2c..e24cff3 100644 --- a/app/templates/help.php +++ b/app/templates/help.php @@ -1,126 +1,128 @@ - -
-
-
-

Help

-
-
-
-
- -
-

- Jilo is a software tools suite developed by - Lindeas Ltd. designed to help in maintaining a Jitsi Meet platform. -

-

It consists of several parts meant to run together, although some of them can be used separately.

-
- - -
- -
-
-
- -
JILO
+ +
+
+
+

Help

+ about this program
-
-

- This is the command-line tool for extracting information about important events from the Jitsi Meet log files, - storing them in a database and searching through that database. -

-

- Jilo is written in Bash and has very minimal external dependencies. That means that you can run it on almost - any Linux system with jitsi log files. -

-
-

It can either:

-
    -
  • Show the data directly in the terminal
  • -
  • Provide it to an instance of "Jilo Web" for displaying statistics
  • -
  • Send the data output to a "Jilo Agent"
  • -
+
+ +
+
+ +
+

+ Jilo is a software tools suite developed by + Lindeas Ltd. designed to help in maintaining a Jitsi Meet platform. +

+

It consists of several parts meant to run together, although some of them can be used separately.

+
+ + +
+ +
+
+
+ +
JILO
+
+
+

+ This is the command-line tool for extracting information about important events from the Jitsi Meet log files, + storing them in a database and searching through that database. +

+

+ Jilo is written in Bash and has very minimal external dependencies. That means that you can run it on almost + any Linux system with jitsi log files. +

+
+

It can either:

+
    +
  • Show the data directly in the terminal
  • +
  • Provide it to an instance of "Jilo Web" for displaying statistics
  • +
  • Send the data output to a "Jilo Agent"
  • +
+
+
+
+
+ + +
+
+
+ +
Jilo Agent
+
+
+

+ The Jilo Agent is a small program, written in Go. It runs on remote servers in the Jitsi Meet platform, + and provides info about the operation of the different components of the platform. +

+
+
Key Features:
+
    +
  • Secured with JWT tokens authentication
  • +
  • HTTPS support
  • +
  • Single port for all services
  • +
  • No external dependencies
  • +
+
+
+
+
+ + +
+
+
+ +
Jilo Web
+
+
+

+ Jilo Web is the web app that combines all the information received from Jilo and Jilo Agents and shows + statistics and graphs of the usage, the events and the issues. +

+

+ It is a multi-user web tool with user levels and access rights integrated into it, making it suitable + for the different levels in an enterprise. +

+
+ + The current website you are looking at is running a Jilo Web instance. +
+
+
+
+ + +
+
+
+ +
Jilo Server
+
+
+

+ Jilo Server is a server component written in Go, meant to work alongside Jilo Web. It is responsible for + all automated tasks - health checks, periodic retrieval of data from the remote Jilo Agents, etc. +

+

+ It generally works on the same machine as the web interface Jilo Web and shares its database, although + if needed it could be deployed on a separate machine. +

+
+ + Jilo Web checks for the Jilo Server availability and displays a warning if there is a problem with the server. +
+
+
+
- - -
-
-
- -
Jilo Agent
-
-
-

- The Jilo Agent is a small program, written in Go. It runs on remote servers in the Jitsi Meet platform, - and provides info about the operation of the different components of the platform. -

-
-
Key Features:
-
    -
  • Secured with JWT tokens authentication
  • -
  • HTTPS support
  • -
  • Single port for all services
  • -
  • No external dependencies
  • -
-
-
-
-
- - -
-
-
- -
Jilo Web
-
-
-

- Jilo Web is the web app that combines all the information received from Jilo and Jilo Agents and shows - statistics and graphs of the usage, the events and the issues. -

-

- It's a multi-user web tool with user levels and access rights integrated into it, making it suitable - for the different levels in an enterprise. -

-
- - The current website you are looking at is running a Jilo Web instance. -
-
-
-
- - -
-
-
- -
Jilo Server
-
-
-

- Jilo Server is a server component written in Go, meant to work alongside Jilo Web. It is responsible for - all automated tasks - health checks, periodic retrieval of data from the remote Jilo Agents, etc. -

-

- It generally works on the same machine as the web interface Jilo Web and shares its database, although - if needed it could be deployed on a separate machine. -

-
- - Jilo Web checks for the Jilo Server availability and displays a warning if there is a problem with the server. -
-
-
-
-
-
-
-
- + diff --git a/app/templates/page-sidebar.php b/app/templates/page-sidebar.php index bbe9e63..fc3ef83 100644 --- a/app/templates/page-sidebar.php +++ b/app/templates/page-sidebar.php @@ -49,13 +49,13 @@ $timeNow = new DateTime('now', new DateTimeZone($userTimezone)); latest data - -
  • + +
  • config.js
  • - -
  • + +
  • interface_config.js
  • diff --git a/app/templates/security.php b/app/templates/security.php index 130482d..df4d5fc 100644 --- a/app/templates/security.php +++ b/app/templates/security.php @@ -1,223 +1,222 @@ - -
    -
    -
    -

    Security settings

    - -
    -
    - - hasRight($user_id, 'superuser') || $userObject->hasRight($user_id, 'edit whitelist'))) { ?> - -
    -
    -
    -
    -

    IP whitelist

    - IP addresses and networks that will always bypass the ratelimiting login checks. -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    - - -
    -
    -
    - -
    + +
    +
    +
    +

    Security settings

    + network restrictions to control flooding and brute force attacks +
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    IP addressNetworkDescriptionAdded byAdded onActions
    -
    - - - -
    -
    -
    -
    -
    -
    - - - hasRight($user_id, 'superuser') || $userObject->hasRight($user_id, 'edit blacklist'))) { ?> - -
    -
    -
    -
    -

    IP blacklist

    - IP addresses and networks that will always get blocked at login. -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    IP addressNetworkReasonAdded byAdded onExpiresActions
    -
    - - - -
    -
    -
    -
    -
    -
    - - - hasRight($user_id, 'superuser') || $userObject->hasRight($user_id, 'edit ratelimiting'))) { ?> - -
    -
    -
    -
    -

    Rate limiting settings

    - Rate limiting settings control how many failed login attempts are allowed before blocking an IP address. -
    -
    -
    -

    Current settings

    -
      -
    • Maximum login attempts: maxAttempts ?>
    • -
    • Time window: decayMinutes ?> minutes
    • -
    • Auto-blacklist threshold: autoBlacklistThreshold ?> attempts
    • -
    • Auto-blacklist duration: autoBlacklistDuration ?> hours
    • -
    -

    - Note: These settings can be modified in the RateLimiter class configuration. -

    -

    Recent failed login attempts

    - - - - - - - - - - db->prepare(" - SELECT ip_address, username, attempted_at - FROM {$rateLimiter->ratelimitTable} - ORDER BY attempted_at DESC - LIMIT 10 - "); - $stmt->execute(); - $attempts = $stmt->fetchAll(PDO::FETCH_ASSOC); - foreach ($attempts as $attempt) { - ?> - - - - - - - -
    IP sddressUsernameAttempted at
    +hasRight($user_id, 'superuser') || $userObject->hasRight($user_id, 'edit whitelist'))) { ?> + +
    +
    +
    +
    +

    IP whitelist

    + IP addresses and networks that will always bypass the ratelimiting login checks. +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + + +
    +
    +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    IP addressNetworkDescriptionAdded byAdded onActions
    +
    + + + +
    +
    +
    +
    +
    +
    + + +hasRight($user_id, 'superuser') || $userObject->hasRight($user_id, 'edit blacklist'))) { ?> + +
    +
    +
    +
    +

    IP blacklist

    + IP addresses and networks that will always get blocked at login. +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + + +
    +
    +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    IP addressNetworkReasonAdded byAdded onExpiresActions
    +
    + + + +
    +
    +
    +
    +
    +
    + + +hasRight($user_id, 'superuser') || $userObject->hasRight($user_id, 'edit ratelimiting'))) { ?> + +
    +
    +
    +
    +

    Rate limiting settings

    + Rate limiting settings control how many failed login attempts are allowed before blocking an IP address. +
    +
    +
    +

    Current settings

    +
      +
    • Maximum login attempts: maxAttempts ?>
    • +
    • Time window: decayMinutes ?> minutes
    • +
    • Auto-blacklist threshold: autoBlacklistThreshold ?> attempts
    • +
    • Auto-blacklist duration: autoBlacklistDuration ?> hours
    • +
    +

    + Note: These settings can be modified in the RateLimiter class configuration. +

    +
    + +

    Recent failed login attempts

    + + + + + + + + + +db->prepare(" + SELECT ip_address, username, attempted_at + FROM {$rateLimiter->ratelimitTable} + ORDER BY attempted_at DESC + LIMIT 10 +"); +$stmt->execute(); +$attempts = $stmt->fetchAll(PDO::FETCH_ASSOC); +foreach ($attempts as $attempt) { ?> + + + + + + + +
    IP sddressUsernameAttempted at
    +
    +
    +
    +
    +
    -
    -
    -
    - -
    - +