Commit graph

405 commits

Author SHA1 Message Date
Yax
a58b310998 Adapt git actions 2024-12-09 14:03:04 +01:00
Yax
5c51a18d0c Replace rye by uv and upgrade to python 3.13.1 2024-12-09 13:58:42 +01:00
Yax
0d144a683f
Merge pull request #22 from evidencebp/main
Pylint alerts corrections as part of an intervention experiment 21 (src\stacosys\service\mail.py broad-exception-caught)
2024-11-24 19:08:05 +01:00
evidencebp
25ed2f06e0 src\stacosys\service\mail.py broad-exception-caught
Catching Exception might hide unexpected exceptions, like those that might be raised due to future modification.
Therefore, it is recommended to narrow the exceptions.

The method send of the class Mailer catches Exception in line 57.
MIMEText does not raise exceptions (if not using attachments).
See
https://docs.python.org/3/library/email.mime.html

Most code is handled in an inner exception handling.
In order to catch exception from SMTP_SSL I used SMTPException
See
https://docs.python.org/3/library/smtplib.html
2024-11-24 19:05:23 +02:00
Yax
dc776881e4 include property files in pyinstaller executable 2024-09-22 19:42:53 +02:00
Yax
fe21b9ac0e Fix unicode messages 2024-09-22 19:42:29 +02:00
Yax
0f61666553 Upgrade upload-artifact action 2024-09-22 19:15:32 +02:00
Yax
45305cf234
Merge pull request #20 from kianby/feature-updates
Feature updates
2024-09-22 19:08:37 +02:00
Yax
8119845424 Upgrade dependencies 2024-09-15 14:50:13 +02:00
Yax
8b132a71b3 Improve code quality 2024-09-15 14:50:13 +02:00
Yax
467060e491 Use latest rye action version 2024-05-31 17:50:49 +02:00
Yax
a2863474de Change rye action 2024-05-31 17:47:53 +02:00
Yax
8d663c7ee7
Merge pull request #19 from kianby/feature-improvements
Feature improvements
2024-05-31 17:39:43 +02:00
Yax
69f1c35ef5 externalize localized application messages 2024-05-31 17:37:10 +02:00
Yax
4d52229e4d Add EN translations 2024-05-31 16:54:25 +02:00
Yax
708b84987c Lint 2024-05-31 16:54:11 +02:00
Yax
d8a49f2be8 Lint 2024-05-31 16:52:42 +02:00
Yax
ac5345deec
Merge pull request #18 from kianby/feature-refactor-startup
Feature refactor startup
2024-04-12 21:38:33 +02:00
Yax
53316c2ce9 Black formatting 2024-04-12 21:36:11 +02:00
Yax
537e509027 Fix unit tests 2024-04-12 21:35:15 +02:00
Yax
a18eaf2237 Upgrade dependencies 2024-04-12 21:26:16 +02:00
Yax
477477edae Refactor application startup.
Use Flask app config and remove package singletons
2024-04-12 21:25:27 +02:00
Yax
885593db5b Improve code 2024-03-23 21:51:28 +01:00
Yax
83aa8b1ba2 Upgrade flask 2024-02-28 18:12:50 +01:00
Yax
f47eb73a5c Sync upgrade 2024-02-28 18:02:53 +01:00
Yax
872cf06910 Update deps 2024-02-20 21:59:30 +01:00
Yax
4b51391a28 Update README: poetry replaced by rye 2023-12-17 17:35:32 +01:00
Yax
2fb6f85c4f Upgrade deps 2023-12-17 17:32:15 +01:00
Yax
337a4f0faf new rye requirement 2023-12-17 17:31:46 +01:00
Yax
687d05eea4 Update deps 2023-12-05 19:38:52 +01:00
Yax
9f1a408a7a CQ 2023-11-26 17:51:51 +01:00
Yax
e2664310f3 fix pylintrc warnings 2023-11-26 17:06:01 +01:00
Yax
bed5eb0d11 Clean gitignore 2023-11-19 17:36:31 +01:00
Yax
1959bb4f7f Development mode 2023-11-19 16:36:37 +01:00
Yax
22b7f83d82 Remove Vagrantfile 2023-11-19 15:36:08 +01:00
Yax
8ad46a798c Add check target 2023-11-19 15:35:56 +01:00
Yax
6d53fdecac
Feature rye (#17)
Migrate from Poetry to Rye 
Adaptat github actions 
Group build targets in makefile
2023-11-11 19:45:35 +01:00
Yax
b57c4f1ae6 Init Vagrantfile to run pyinstaller on Debian 11 2023-11-06 19:51:06 +01:00
Yax
56b14b3dba
Update pyinstaller.yml 2023-11-06 15:16:25 +01:00
Yax
1cd0698ab0
Update pyinstaller.yml 2023-11-06 15:08:37 +01:00
Yax
59171d2778
Update pyinstaller.yml 2023-11-06 15:05:31 +01:00
Yax
c67c41a67d
Rename pyinstaller to pyinstaller.yml 2023-11-06 14:44:17 +01:00
Yax
cd707f8008
pyinstaller action 2023-11-06 14:43:19 +01:00
Yax
d126253354 Improve unit test 2023-11-01 17:00:30 +01:00
Yax
dbe6fd6b0c Upgrade deps 2023-11-01 17:00:15 +01:00
Yax
cfe2da56c0 Revert "Code Quality"
This reverts commit 6e46eea814.
2023-11-01 16:59:45 +01:00
Yax
6e46eea814 Code Quality 2023-11-01 16:53:07 +01:00
Yax
31ceded4b4 Poetry update 2023-10-18 17:52:42 +02:00
Yax
ddc05e0718 Poetry update 2023-10-04 18:16:55 +02:00
Yax
e3961e95c2 Update deps 2023-09-19 20:20:27 +02:00