Skip to content

Commit 5390e59

Browse files
committed
Release 2.5.0
1 parent 0e89123 commit 5390e59

1,682 files changed

Lines changed: 235128 additions & 53923 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 89 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ APP_FALLBACK_LOCALE="en_US"
5656
APP_FAKER_LOCALE="de_DE"
5757

5858
APP_KEY=
59-
APP_PREVIOS_KEYS=
59+
APP_PREVIOUS_KEYS=
6060

6161
APP_MAINTENANCE_DRIVER="cache"
6262
APP_MAINTENANCE_STORE="database"
@@ -168,7 +168,7 @@ OPEN_WEB_UI_API_KEY=
168168
# GWDG_FILE_CONVERTER_API_URL URL to the GWDG converter. 'https://chat-ai.academiccloud.de/v1/documents/convert'
169169

170170
FILE_CONVERTER=hawki_converter
171-
HAWKI_FILE_CONVERTER_API_URL=127.0.0.1:8001/extract
171+
HAWKI_FILE_CONVERTER_API_URL=127.0.0.1/extract
172172
HAWKI_FILE_CONVERTER_API_KEY=
173173
GWDG_FILE_CONVERTER_API_URL='https://chat-ai.academiccloud.de/v1/documents/convert'
174174

@@ -309,6 +309,30 @@ SFTP_USERNAME=
309309
SFTP_PASSWORD=
310310
SFTP_BASE_PATH=
311311

312+
# ===========================
313+
# File Upload Settings
314+
# ===========================
315+
#
316+
# The following settings define the limits and allowed types for file uploads in HAWKI. These settings are crucial for ensuring that the application can handle
317+
# file uploads securely and efficiently, while also providing a good user experience.
318+
#
319+
# IMPORTANT! Your upload limits must be supported by your PHP configuration (e.g. post_max_size and upload_max_filesize in php.ini).
320+
# If you set a file size limit that exceeds your PHP configuration, the limits will automatically be reduced to the maximum allowed by PHP, which may lead to confusion
321+
# if you are not aware of this behavior. Always ensure that your PHP configuration supports the file size limits you set in these environment variables.
322+
# If you are using our Docker image: Use the "MAX_UPLOAD_SIZE" variable in the Docker configuration to set the PHP and Nginx limits accordingly.
323+
#
324+
# MAX_FILE_SIZE: The maximum file size for an uploaded file (e.g., attachment) in bytes. The default is 20 MB (20 * 1024 * 1024 bytes).
325+
# MAX_AVATAR_FILE_SIZE: The maximum file size for an avatar in bytes. The default is 2 MB (2 * 1024 * 1024 bytes).
326+
# ALLOWED_FILE_MIME_TYPES: A comma-separated list of allowed MIME types for uploaded files (e.g., "image/jpeg,image/png,application/pdf"). If empty, the defaults are defined in the file storage service.
327+
# ALLOWED_AVATAR_MIME_TYPES: A comma-separated list of allowed MIME types for uploaded avatars (e.g., "image/jpeg,image/png"). If empty, the defaults are defined in the avatar storage service.
328+
# MAX_ATTACHMENT_FILES: The maximum number of files that can be attached to a single message. Set to 0 for unlimited.
329+
330+
#MAX_FILE_SIZE=20971520
331+
#MAX_AVATAR_FILE_SIZE=2097152
332+
#ALLOWED_FILE_MIME_TYPES=
333+
#ALLOWED_AVATAR_MIME_TYPES=
334+
#MAX_ATTACHMENT_FILES=0
335+
312336
# ==================
313337
# Event Broadcasting
314338
# ==================
@@ -327,39 +351,79 @@ BROADCAST_DRIVER="reverb"
327351
# Reverb: Websocket Server
328352
# ========================
329353
#
330-
# For websocket connectivity Lavarel provides a special server called Reverb. This must be
354+
# For websocket connectivity Laravel provides a special server called Reverb. This must be
331355
# set up for HAWKI since many features rely on real-time communication via web sockets.
332356
#
333-
# - REVERB_HOST: Hostname of the Reverb server (set to your top-level domain for production)
334-
# - REVERB_PORT: Port number of the Reverb server (set to 443 for production)
335-
# - REVERB_SERVER_HOST: Hostname of the Reverb server (set to 0.0.0.0 for production)
336-
# - REVERB_SERVER_PORT: Port number of the Reverb server (set to 8080 for production)
337-
# - REVERB_SCHEME: Connection protocol for the Reverb server: "http" or "https"
338-
# - REVERB_APP_ID: Reverb application Id, can be anything you like?
339-
# - REVERB_APP_SECRET: Password to access the Reverb server???
340-
# - REVERB_APP_KEY: Secret key to access the Reverb server ???
341-
# - REVERB_APP_PING_INTERVAL: Ping interval in seconds ???
342-
# - REVERB_APP_MAX_MESSAGE_SIZE: Maximum message size in bytes ???
343-
# - REVERB_SCALING_ENABLED: "true" or "false"
344-
# - REVERB_SCALING_CHANNEL: "reverb"
345-
346-
REVERB_SERVER="reverb"
347-
REVERB_HOST="127.0.0.1"
348-
REVERB_PORT="8080"
357+
# --- Server binding ---
358+
#
359+
# - REVERB_SERVER_HOST: The network interface address Reverb binds to when it starts.
360+
# This should almost always be "0.0.0.0" so Reverb listens on all interfaces.
361+
# Only change this if you explicitly want to restrict which interface Reverb listens on.
362+
# - REVERB_SERVER_PORT: The port Reverb listens on internally. Defaults to 8080.
363+
#
364+
# --- Backend connection (PHP → Reverb) ---
365+
#
366+
# These variables tell the PHP application how to reach the Reverb server internally.
367+
# They are NOT used by the browser and do NOT need to be publicly accessible.
368+
# In a typical Docker or local setup, Reverb runs on the same host as PHP.
369+
#
370+
# - REVERB_HOST: Hostname the PHP application uses to connect to Reverb internally.
371+
# - REVERB_PORT: Port the PHP application uses to connect to Reverb internally.
372+
# - REVERB_SCHEME: Protocol used for the internal PHP → Reverb connection: "http" or "https".
373+
# Use "http" unless Reverb itself is terminating TLS.
374+
#
375+
# --- Frontend connection override ---
376+
#
377+
# By default, the browser assumes Reverb is accessible via the same host and port as APP_URL,
378+
# i.e. it expects a reverse proxy to forward WebSocket traffic to Reverb. If your setup differs
379+
# (e.g. Reverb is exposed on a different host or port), you can override the frontend connection:
380+
#
381+
# - VITE_REVERB_HOST: Hostname the browser uses to connect to Reverb. Defaults to APP_URL host.
382+
# - VITE_REVERB_PORT: Port the browser uses to connect to Reverb. Defaults to APP_URL port.
383+
# - VITE_REVERB_SCHEME: Protocol used by the browser to connect to Reverb: "https" or "http".
384+
#
385+
# --> If you don't have any issues, keep those values commented out.
386+
#
387+
# --- Application identity and security ---
388+
#
389+
# - REVERB_APP_ID: Uniquely identifies this WebSocket application instance on the Reverb server.
390+
# Useful when multiple applications share one Reverb server.
391+
# Can be a number (e.g. "1001") or a string (e.g. "hawki").
392+
# - REVERB_APP_KEY: A public identifier used to establish a WebSocket connection with Reverb.
393+
# This value is also exposed to the browser (frontend) to initiate the connection.
394+
# - REVERB_APP_SECRET: A shared secret key used by the backend to authenticate with the Reverb server
395+
# and to sign/validate real-time events. Must be kept private. Required.
396+
#
397+
# --- Behaviour ---
398+
#
399+
# - REVERB_APP_PING_INTERVAL: How often (in seconds) the backend pings connected frontend clients
400+
# to verify they are still alive. Defaults to 60.
401+
# - REVERB_APP_MAX_MESSAGE_SIZE: Maximum WebSocket message size in bytes. Defaults to 250000 (≈244 KB).
402+
#
403+
# --- Scaling (advanced) ---
404+
#
405+
# - REVERB_SCALING_ENABLED: Set to "true" to enable Redis-based scaling across multiple Reverb instances.
406+
# - REVERB_SCALING_CHANNEL: Redis channel used for scaling coordination. Defaults to "reverb".
349407

350-
# REVERB_SERVER_HOST= 0.0.0.0
351-
# REVERB_SERVER_PORT= 8080
408+
REVERB_SERVER_HOST="0.0.0.0"
409+
REVERB_SERVER_PORT="8080"
352410

411+
REVERB_HOST="127.0.0.1"
412+
REVERB_PORT="8080"
353413
REVERB_SCHEME="http"
354414

355415
REVERB_APP_ID="hawki"
356-
REVERB_APP_SECRET=
357416
REVERB_APP_KEY=
417+
REVERB_APP_SECRET=
418+
419+
#VITE_REVERB_HOST=
420+
#VITE_REVERB_PORT=
421+
#VITE_REVERB_SCHEME=
358422

359-
#REVERB_APP_PING_INTERVAL = 60
360423
REVERB_APP_MAX_MESSAGE_SIZE="250000"
361-
#REVERB_SCALING_ENABLED = false
362-
#REVERB_SCALING_CHANNEL = reverb
424+
#REVERB_APP_PING_INTERVAL=60
425+
#REVERB_SCALING_ENABLED=false
426+
#REVERB_SCALING_CHANNEL=reverb
363427

364428
# =================================
365429
# SSL Certificate Configuration
@@ -384,39 +448,6 @@ REVERB_APP_MAX_MESSAGE_SIZE="250000"
384448
SSL_CERTIFICATE=""
385449
SSL_CERTIFICATE_KEY=""
386450

387-
# ===========================
388-
# Vite Environment Configuration
389-
# ===========================
390-
#
391-
# These Vite environment variables are used to configure the front-end build system
392-
# and its integration with services such as Reverb for real-time functionality within
393-
# the application.
394-
#
395-
# VITE_APP_NAME: Represents the application's name used within the Vite build process.
396-
# It is typically a direct reflection of the application's name set in the Laravel backend.
397-
#
398-
# VITE_REVERB_APP_KEY: The Reverb application's key used for authentication. It should
399-
# mirror the REVERB_APP_KEY variable set in the backend environment configuration.
400-
#
401-
# VITE_REVERB_APP_CLUSTER: The cluster designation for the Reverb setup, which specifies
402-
# which region or data center the real-time data will be managed through.
403-
#
404-
# VITE_REVERB_HOST: Designates the host for the Reverb service. This is typically set
405-
# from the corresponding backend environment variable REVERB_HOST.
406-
#
407-
# VITE_REVERB_PORT: Specifies the port that the Reverb service will run on, consistent
408-
# with the setup from the backend environment variable REVERB_PORT.
409-
#
410-
# VITE_REVERB_SCHEME: Defines the protocol scheme used by the Reverb service, such as
411-
# "http" or "https", typically mirroring the REVERB_SCHEME variable from the backend.
412-
413-
VITE_APP_NAME="${APP_NAME}"
414-
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
415-
VITE_REVERB_APP_CLUSTER="your_cluster"
416-
VITE_REVERB_HOST="${REVERB_HOST}"
417-
VITE_REVERB_PORT="${REVERB_PORT}"
418-
VITE_REVERB_SCHEME="${REVERB_SCHEME}"
419-
420451
# ===========================
421452
# Queue Worker Configuration
422453
# ===========================

.github/.release/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/.release/create-release.js

Lines changed: 0 additions & 88 deletions
This file was deleted.

.github/.release/detect-version.js

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)