Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 30
Feat: message sending-forwarding#374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
a72d2e9d40dedd613a196759d8e0d94f8253b9267f5fc863769884a8077bc63492e1d0109b07a65c00307e9bab23dcb90a0c5b4f425ef84a166a66ce7f9ecacec0eb12b0c2561643a2904e84a14a9e895b6e2ee2ca6dc949fea4662323119823e006a140c2b7f21c588342b4a39712ed88e25f56f81e7b2adf65c7adf1f60a9b9a4ef65472d4261d0File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "name": "phplist/core", | ||
| "description": "The core module of phpList, the world's most popular open source newsletter manager", | ||
| "type": "phplist-module", | ||
| "type": "symfony-bundle", | ||
| "keywords": [ | ||
| "phplist", | ||
| "email", | ||
| @@ -46,6 +46,7 @@ | ||
| }, | ||
| "require": { | ||
| "php": "^8.1", | ||
| "symfony/framework-bundle": "^6.4", | ||
| "symfony/dependency-injection": "^6.4", | ||
| "symfony/config": "^6.4", | ||
| "symfony/yaml": "^6.4", | ||
| @@ -79,7 +80,13 @@ | ||
| "ext-imap": "*", | ||
| "tatevikgr/rss-feed": "dev-main", | ||
| "ext-pdo": "*", | ||
| "ezyang/htmlpurifier": "^4.19" | ||
| "ezyang/htmlpurifier": "^4.19", | ||
| "ext-libxml": "*", | ||
| "ext-gd": "*", | ||
| "ext-curl": "*", | ||
| "ext-fileinfo": "*", | ||
| "setasign/fpdf": "^1.8", | ||
| "phpdocumentor/reflection-docblock": "^5.2" | ||
| }, | ||
| "require-dev": { | ||
| "phpunit/phpunit": "^9.5", | ||
| @@ -92,7 +99,6 @@ | ||
| "symfony/test-pack": "^1.1", | ||
| "symfony/process": "^6.4", | ||
| "composer/composer": "^2.7", | ||
| "symfony/framework-bundle": "^6.4", | ||
| "symfony/http-kernel": "^6.4", | ||
| "symfony/http-foundation": "^6.4", | ||
| "symfony/routing": "^6.4", | ||
| @@ -152,8 +158,8 @@ | ||
| "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle", | ||
| "Doctrine\\Bundle\\MigrationsBundle\\DoctrineMigrationsBundle", | ||
| "PhpList\\Core\\EmptyStartPageBundle\\EmptyStartPageBundle", | ||
| "FOS\\RestBundle\\FOSRestBundle", | ||
| "TatevikGr\\RssFeedBundle\\RssFeedBundle" | ||
| "PhpList\\Core\\EmptyStartPageBundle\\PhpListCoreBundle", | ||
| "FOS\\RestBundle\\FOSRestBundle" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash# Check if FOSRestBundle or friendsofsymfony/rest-bundle is present in composer.jsonecho"=== Searching composer.json ===" cat composer.json | grep -i "friendsofsymfony\|fosrest"echo""echo"=== Full composer.json (for context) ==="
cat composer.jsonRepository: phpList/core Length of output: 5875 Add FOSRestBundle package to composer.json require section. The bundle is registered in the Symfony configuration but the Composer package is missing. Add 🤖 Prompt for AI Agents | ||
| ], | ||
| "routes": { | ||
| "homepage": { | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -25,12 +25,22 @@ parameters: | ||
| env(DATABASE_PREFIX): 'phplist_' | ||
| list_table_prefix: '%%env(LIST_TABLE_PREFIX)%%' | ||
| env(LIST_TABLE_PREFIX): 'listattr_' | ||
| app.dev_version: '%%env(APP_DEV_VERSION)%%' | ||
| env(APP_DEV_VERSION): '0' | ||
| app.dev_email: '%%env(APP_DEV_EMAIL)%%' | ||
| env(APP_DEV_EMAIL): 'dev@dev.com' | ||
TatevikGr marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| app.powered_by_phplist: '%%env(APP_POWERED_BY_PHPLIST)%%' | ||
| env(APP_POWERED_BY_PHPLIST): '0' | ||
| app.preference_page_show_private_lists: '%%env(PREFERENCEPAGE_SHOW_PRIVATE_LISTS)%%' | ||
| env(PREFERENCEPAGE_SHOW_PRIVATE_LISTS): '0' | ||
| app.rest_api_domain: '%%env(REST_API_DOMAIN)%%' | ||
| env(REST_API_DOMAIN): 'example.com' | ||
| # Email configuration | ||
| app.mailer_from: '%%env(MAILER_FROM)%%' | ||
| env(MAILER_FROM): 'noreply@phplist.com' | ||
| app.mailer_dsn: '%%env(MAILER_DSN)%%' | ||
| env(MAILER_DSN): 'null://null' | ||
| env(MAILER_DSN): 'null://null' # set local_domain on transport | ||
| app.confirmation_url: '%%env(CONFIRMATION_URL)%%' | ||
| env(CONFIRMATION_URL): 'https://example.com/subscriber/confirm/' | ||
| app.subscription_confirmation_url: '%%env(SUBSCRIPTION_CONFIRMATION_URL)%%' | ||
| @@ -71,6 +81,8 @@ parameters: | ||
| # A secret key that's used to generate certain security-related tokens | ||
| secret: '%%env(PHPLIST_SECRET)%%' | ||
| env(PHPLIST_SECRET): %1$s | ||
| phplist.verify_ssl: '%%env(VERIFY_SSL)%%' | ||
| env(VERIFY_SSL): '1' | ||
| graylog_host: 'graylog.example.com' | ||
| graylog_port: 12201 | ||
| @@ -89,3 +101,57 @@ parameters: | ||
| env(MESSAGING_MAX_PROCESS_TIME): '600' | ||
| messaging.max_mail_size: '%%env(MAX_MAILSIZE)%%' | ||
| env(MAX_MAILSIZE): '209715200' | ||
| messaging.default_message_age: '%%env(DEFAULT_MESSAGEAGE)%%' | ||
| env(DEFAULT_MESSAGEAGE): '691200' | ||
| messaging.use_manual_text_part: '%%env(USE_MANUAL_TEXT_PART)%%' | ||
| env(USE_MANUAL_TEXT_PART): '0' | ||
| messaging.blacklist_grace_time: '%%env(MESSAGING_BLACKLIST_GRACE_TIME)%%' | ||
| env(MESSAGING_BLACKLIST_GRACE_TIME): '600' | ||
| messaging.google_sender_id: '%%env(GOOGLE_SENDERID)%%' | ||
| env(GOOGLE_SENDERID): '' | ||
| messaging.use_amazon_ses: '%%env(USE_AMAZONSES)%%' | ||
| env(USE_AMAZONSES): '0' | ||
| messaging.use_precedence_header: '%%env(USE_PRECEDENCE_HEADER)%%' | ||
| env(USE_PRECEDENCE_HEADER): '0' | ||
| messaging.embed_external_images: '%%env(EMBEDEXTERNALIMAGES)%%' | ||
| env(EMBEDEXTERNALIMAGES): '0' | ||
| messaging.embed_uploaded_images: '%%env(EMBEDUPLOADIMAGES)%%' | ||
| env(EMBEDUPLOADIMAGES): '0' | ||
| messaging.external_image_max_age: '%%env(EXTERNALIMAGE_MAXAGE)%%' | ||
| env(EXTERNALIMAGE_MAXAGE): '0' | ||
| messaging.external_image_timeout: '%%env(EXTERNALIMAGE_TIMEOUT)%%' | ||
| env(EXTERNALIMAGE_TIMEOUT): '30' | ||
| messaging.external_image_max_size: '%%env(EXTERNALIMAGE_MAXSIZE)%%' | ||
| env(EXTERNALIMAGE_MAXSIZE): '204800' | ||
| messaging.forward_alternative_content: '%%env(FORWARD_ALTERNATIVE_CONTENT)%%' | ||
| env(FORWARD_ALTERNATIVE_CONTENT): '0' | ||
| messaging.email_text_credits: '%%env(EMAILTEXTCREDITS)%%' | ||
| env(EMAILTEXTCREDITS): '0' | ||
| messaging.always_add_user_track: '%%env(ALWAYS_ADD_USERTRACK)%%' | ||
| env(ALWAYS_ADD_USERTRACK): '1' | ||
| messaging.send_list_admin_copy: '%%env(SEND_LISTADMIN_COPY)%%' | ||
| env(SEND_LISTADMIN_COPY): '0' | ||
| phplist.forward_email_period: '%%env(FORWARD_EMAIL_PERIOD)%%' | ||
| env(FORWARD_EMAIL_PERIOD): '1 minute' | ||
| phplist.forward_email_count: '%%env(FORWARD_EMAIL_COUNT)%%' | ||
| env(FORWARD_EMAIL_COUNT): '1' | ||
| phplist.forward_personal_note_size: '%%env(FORWARD_PERSONAL_NOTE_SIZE)%%' | ||
| env(FORWARD_PERSONAL_NOTE_SIZE): '0' | ||
| phplist.forward_friend_count_attribute: '%%env(FORWARD_FRIEND_COUNT_ATTRIBUTE)%%' | ||
| env(FORWARD_FRIEND_COUNT_ATTRIBUTE): '' | ||
| phplist.keep_forwarded_attributes: '%%env(KEEPFORWARDERATTRIBUTES)%%' | ||
| env(KEEPFORWARDERATTRIBUTES): '0' | ||
| phplist.upload_images_dir: '%%env(PHPLIST_UPLOADIMAGES_DIR)%%' | ||
| env(PHPLIST_UPLOADIMAGES_DIR): 'images' | ||
| phplist.editor_images_dir: '%%env(FCKIMAGES_DIR)%%' | ||
| env(FCKIMAGES_DIR): 'uploadimages' | ||
| phplist.public_schema: '%%env(PUBLIC_SCHEMA)%%' | ||
| env(PUBLIC_SCHEMA): 'https' | ||
| phplist.attachment_download_url: '%%env(PHPLIST_ATTACHMENT_DOWNLOAD_URL)%%' | ||
| env(PHPLIST_ATTACHMENT_DOWNLOAD_URL): 'https://example.com/download/' | ||
| phplist.attachment_repository_path: '%%env(PHPLIST_ATTACHMENT_REPOSITORY_PATH)%%' | ||
| env(PHPLIST_ATTACHMENT_REPOSITORY_PATH): '/tmp' | ||
| phplist.max_avatar_size: '%%env(MAX_AVATAR_SIZE)%%' | ||
| env(MAX_AVATAR_SIZE): '100000' | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: phpList/core
Length of output: 217
🏁 Script executed:
Repository: phpList/core
Length of output: 577
Fix incorrect bundle namespace in composer.json line 161.
The
PhpListCoreBundleclass is registered with the wrong fully-qualified name. It's actually in thePhpList\Corenamespace, notPhpList\Core\EmptyStartPageBundle.Change line 161 from:
To:
Incorrect bundle registration will cause Symfony to fail loading the bundle during kernel boot.
🤖 Prompt for AI Agents