Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3aa6f7a
Console commands added
Shadow243 Oct 24, 2024
1becf62
Refactored cli-service structure
Shadow243 Oct 26, 2024
dea1ba1
Job & Queue added with multiple drivers
Shadow243 Oct 26, 2024
05ff9c6
Events & listeners, Scheduling added
Shadow243 Oct 29, 2024
4e0dad1
Adding Notifications
Shadow243 Oct 29, 2024
29481ae
add Singleton Class for containerBuilder
Shadow243 Oct 31, 2024
db21774
Refactor queue worker command & adding error handling
Yannick243 Oct 31, 2024
895ad7a
Queue manager: dispatching jobs to queue
Yannick243 Oct 31, 2024
920a1aa
Complete Database queue driver and tested in real scenario
Shadow243 Oct 31, 2024
7a21533
Sqs & Redis queue driver completed and tested
Shadow243 Nov 1, 2024
32a079b
Working on Scheduling
Shadow243 Nov 4, 2024
baf9833
Testing Scheduling
Shadow243 Nov 8, 2024
8cad446
Refactor queue configuration and update schedule command handling
Yannick243 Nov 8, 2024
9b93963
Scheduling Comlete, next step Notification with channels: telegram,sl…
Shadow243 Nov 8, 2024
e4a6654
Implement Channels Notifications
Shadow243 Nov 13, 2024
53c178d
refactor(dep inj): implementation in service privider
Shadow243 Dec 2, 2024
6dfd1a1
feat(slack): fixed and tested with queue work
Shadow243 Dec 9, 2024
0217148
feat(telegram/vonage/twilio): fixed and tested telegram with queue work
Shadow243 Dec 9, 2024
d364075
fix undefined key with queue
Shadow243 Dec 9, 2024
d815daf
fix(backend): adding monolog to diplay info in terminal while processing
Shadow243 May 30, 2025
1372029
feat(backend): add queue button to server list
Shadow243 Jun 25, 2025
11d0850
feat(backend): add persistent storage for server queue
Shadow243 Jul 11, 2025
5c2c424
fix(backend): open_basedir restriction error
Shadow243 Jul 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,37 @@ WIN_CACERT_DIR=

JS_EXCLUDE_DEPS=
WORKER_CUSTOM_IMPORTS=

QUEUE_ENABLED=false
QUEUE_DRIVER=database

AWS_ACCESS_KEY_ID='your-aws-access-key'
AWS_SECRET_ACCESS_KEY='your-aws-secret-key'
AWS_DEFAULT_REGION=us-east-1
# AWS_SQS_QUEUE_URL='https://sqs.us-east-1.amazonaws.com/your-account-id/your-queue-name'

ENABLE_REDIS=true
REDIS_SERVER=localhost
REDIS_PORT=6379
REDIS_INDEX=1
REDIS_PASS=null
REDIS_SOCKET=/var/run/redis/redis-server.sock
REDIS_PREFIX=

TELEGRAM_BOT_TOKEN=your-telegram-bot-token
TELEGRAM_CHAT_ID=your-chat-id

TWILIO_SID=your-twilio-sid
TWILIO_TOKEN=your-twilio-token
TWILIO_FROM=your-twilio-from-number

#Nexmo is now Vonage
VONAGE_API_KEY=your-nexmo-api-key
VONAGE_API_SECRET=your-nexmo-api-secret
VONAGE_FROM_NUMBER=your-nexmo-from-number

SLACK_TOKEN=your-slack-token
SLACK_CHANNEL=your-slack-channel

SERVICE_ENCRYPT_SECRET_KEY=
SERVICE_ENCRYPT_DIR="/var/lib/hm3/services"
19 changes: 18 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
],
"homepage": "https://cypht.org",
"license": "LGPL-2.1",
"autoload": {
"psr-4": {
"Services\\": "services/"
}
},
"authors": [
{
"name": "Jason Munro",
Expand All @@ -35,6 +40,7 @@
"docs": "https://cypht.org/documentation.html"
},
"require": {
"aws/aws-sdk-php": "*",
"bacon/bacon-qr-code": "^1.0.3 || ^2.0.0",
"christian-riesen/base32": "^1.3.2",
"composer": "^2.0.0",
Expand All @@ -49,9 +55,19 @@
"garethp/php-ews": "dev-master",
"henrique-borba/php-sieve-manager": "^1.0",
"league/commonmark": "^2.7",
"monolog/monolog": "^3.9",
"paragonie/random_compat": "^2.0.18",
"php": ">=8.1",
"psr/log": "^3.0",
"symfony/dotenv": "^4.3 || 5.4",
"symfony/dependency-injection": "*",
"symfony/console": "^6.4",
"symfony/error-handler": "^6.4",
"symfony/notifier": "*",
"symfony/slack-notifier": "^6.4",
"symfony/telegram-notifier": "^6.4",
"symfony/twilio-notifier": "^6.4",
"symfony/vonage-notifier": "^6.4",
"symfony/yaml": "~6.4.3",
"thomaspark/bootswatch": "^5.3",
"twbs/bootstrap": "^5.3",
Expand All @@ -60,7 +76,8 @@
"zbateson/mail-mime-parser": "^2.4"
},
"require-dev": {
"phpunit/phpunit": "^10.5"
"phpunit/phpunit": "^10.5",
"symfony/var-dumper": "^6.4"
},
"suggest": {
"ext-pdo": "To use database features, this needs to be installed",
Expand Down
Loading