Leantime / leantime

Leantime is a goals focused project management system for non-project managers. Building with ADHD, Autism, and dyslexia in mind.
https://leantime.io
GNU Affero General Public License v3.0
4.74k stars 597 forks source link

[Bug]: Email notifications from others' projects #2801

Open rqi14 opened 2 days ago

rqi14 commented 2 days ago

What is your set up?

Self Hosted Docker

Version

3.3.1

Describe the issue

Hi. In 3.3.1, people receive email notifications and updates for the projects which they are not invovled in. And everyone seems to have the same default avatar. #2707 does not seem to be fixed.

Reproduction steps

  1. find it in email notification and summary.

Additional Notes

No response

marcelfolaron commented 2 days ago

Thanks. Do you see any errors in your log files (storage/logs/).

Also what avatar is being shown?

rqi14 commented 2 days ago

Thanks. Do you see any errors in your log files (storage/logs/).

Also what avatar is being shown?

Hi. Thanks for the prompt reply!

I don't see any errors except for some complaints about database connection at the start up of the containers. Everyone's avatar is shown as my name. Maybe it is because I'm the admin?

The logs are as below (part)

` [2024-11-20 09:48:41] production.ERROR: Can't connect to database [2024-11-20 09:48:41] production.ERROR: PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/vendor/laravel/framework/ src/Illuminate/Database/Connectors/Connector.php:65 Stack trace:

0 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(65): PDO->__construct('mysql:host=mysq...', 'le an', Object(SensitiveParameterValue), Array)

1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(83): Illuminate\Database\Connectors\Connector-> createPdoConnection('mysql:host=mysq...', 'lean', 'aig2lahquaewo2g...', Array)

2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\Database\Connectors\Connector-> tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=mysq...', 'lean', 'aig2lahquaewo2g...', Array)

3 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connec tor->createConnection('mysql:host=mysq...', Array, Array)

4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\My SqlConnector->connect(Array)

5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors{closure}()

6 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1339): call_user_func(Object(Closure))

7 /var/www/html/app/Core/Db/Db.php(68): Illuminate\Database\Connection->getPdo()

8 [internal function]: Leantime\Core\Db\Db->__construct('mysql')

9 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(952): ReflectionClass->newInstanceArgs(Array)

10 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(293): Illuminate\Container\Container->build('Leantime\C ore\D...')

11 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(908): Illuminate\Container\Container->Illuminate\Contain er{closure}(Object(Leantime\Core\Application), Array)

12 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(795): Illuminate\Container\Container->build(Object(Closu re))

13 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(963): Illuminate\Container\Container->resolve('Leanti me\Core\D...', Array, true)

14 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(731): Illuminate\Foundation\Application->resolve('Leanti me\Core\D...', Array)

15 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(948): Illuminate\Container\Container->make('Leantime\ \Core\D...', Array)

16 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(1066): Illuminate\Foundation\Application->make('Leantime

`