Rename GPG-Mailgate to Lacre #138

Merged
pfm merged 17 commits from 81_rename-to-lacre into main 2024-02-23 08:35:22 +01:00
Collaborator

The goal is to update project name while retaining a clear reference to the original from which it was forked.

Any non-documentation references to GPG-Mailgate (or gpgmw) should be replaced with Lacre.

This addresses #81.

The goal is to update project name while retaining a clear reference to the original from which it was forked. Any non-documentation references to GPG-Mailgate (or gpgmw) should be replaced with Lacre. This addresses #81.
pfm added 6 commits 2024-01-06 15:33:09 +01:00
pfm added 4 commits 2024-01-08 22:46:42 +01:00
pfm added 1 commit 2024-01-16 20:34:05 +01:00
pfm added 1 commit 2024-01-20 18:54:52 +01:00
bfd3541b18 Retrieve data from db result before returning from Context Manager
SQLAlchemy's connection is a Context Manager and if we return a result from
code wrapped in a Context Manager, its cursor might already be closed.
Author
Collaborator

This PR also fixes an issue with database access.

We can't return a query result if its connection could already be closed, and that is true when we use the connection as a Context Manager.

This PR also fixes an issue with database access. We can't return a query result if its connection could already be closed, and that is true when we use the connection as a Context Manager.
pfm added 1 commit 2024-01-21 11:29:30 +01:00
pfm added the
FIX
DOCUMENTATION
labels 2024-01-21 12:19:55 +01:00
pfm added 2 commits 2024-02-21 21:10:50 +01:00
f7e6708949 Adjust lacre.dbschema to reflect original schema.sql
- Set nullability of columns.
- Set up primary keys and auto-increment where necessary.
- Add missing 'lacre_locks' table.
- Implement a function to create tables.
aa2eb604d4 lacre.admin: Add a sub-command to manipulate database schema
- It supports option '-i' to initialise the schema.
- It logs a warning-level record of the schema manipulation.
pfm added 1 commit 2024-02-23 08:26:11 +01:00
pfm added 1 commit 2024-02-23 08:34:00 +01:00
pfm merged commit d75ded751e into main 2024-02-23 08:35:22 +01:00
pfm deleted branch 81_rename-to-lacre 2024-02-23 08:35:22 +01:00
Sign in to join this conversation.
No description provided.