Commit Graph
5809 Commits
Author SHA1 Message Date
Cédric Krier 0efb097f55 Store Message-Id of email received on the corresponding chat message
Closes #14730
2026-04-01 13:07:51 +02:00
Cédric Krier c7c8810b8e Add ModelView to chat message
It is needed to store the message as result on the inbound email.

Closes #14729
2026-04-01 13:06:11 +02:00
Cédric Krier 5411ad3340 Add record name to chat channel 2026-04-01 13:05:17 +02:00
Cédric Krier 2821e4ddab Make chat channel readable only by the administrators 2026-04-01 13:04:45 +02:00
Cédric Krier 32d3cef4e4 Use session property instead of authorization for bus subscription
Since 375fb083e95a the userid may be defined in a cookie instead of the
authorization header.

Closes #14726
2026-03-31 13:26:00 +02:00
Cédric Krier 0a5b91f689 Fallback to Compact Syntax if RelaxNG files are not present
lxml can load compact syntax if rnc2rng package is installed.
This avoid the need to generate the RelaxNG files in development.
2026-03-30 11:29:57 +02:00
Nicolas Évrard 44642bec77 Add support for emails on the chat channels 2026-03-31 18:59:55 +02:00
Cédric Krier ea7a417d4a Add documentation about notification 2025-12-13 17:21:23 +01:00
Cédric Krier 4bbe1e263c Fix documentation label for strict sequence 2026-01-13 15:41:04 +01:00
Nicolas Évrard 7c0d6a295a Allow to specify some XML fields value as relative to the subdirectory path 2026-02-24 22:39:38 +01:00
Nicolas Évrard 652f497110 Include subdirectories tryton.cfg when activating a module
Closes #14625
2026-02-28 00:16:45 +01:00
Nicolas Évrard b403fe8f39 Use a cookie to store the session token
Closes #14412
2026-03-30 16:24:44 +02:00
José Antonio Díaz Miralles 69afb65171 Include inactive keys from the dict schema when searching
Closes #14694
2026-03-29 22:31:44 +02:00
Nicolas Évrard 28c03e5e81 Consider empty string and None as incompatible with full text searches
Closes #14691
2026-03-18 17:23:14 +01:00
Cédric Krier 65342e9877 Add contextual `_log` to force logging events
Closes #14712
2026-03-26 10:56:59 +01:00
José Antonio Díaz Miralles 080dc694ec Remove unused table instances in dispatcher
Since 8f2297978263 there are no more used.

Closes #14661
2026-03-29 11:50:11 +02:00
Cédric Krier 84bcad1e83 Close the database connection after memory database has been dropped
When dropped the global connection is set to None but it should be closed when
the transaction put back the connection.

Closes #13859
2026-03-24 10:55:44 +01:00
Cédric Krier 9055b68e74 Use current timestamp as last modified at for table query
The ModelSQL with table query may not define write nor create date since
5095928ec38a
2026-03-28 19:07:51 +01:00
Cédric Krier 2f12db2751 Add emails to COPYRIGHT names 2026-03-23 16:08:13 +01:00
Cédric Krier 03655a335a Add notify_user to ModelStorage
Closes #14667
2026-03-11 10:01:51 +01:00
Cédric Krier 27dff955f1 Add missing log_records attribute to Transaction documentation 2026-03-11 10:01:22 +01:00
Cédric Krier b9b81dbc68 Publish a message when notifications are silenced
#14698
2026-03-20 18:42:55 +01:00
Cédric Krier 72e6f17b81 Limit the size of the notification payload send to the bus
The payload size is limited by the database but also there is no point to
overflow the user with too much notification popup.
So we publish only the first 4 messages and shorten them to 100 chars per line.

Closes #14698
2026-03-20 18:41:23 +01:00
Cédric Krier 25295bde68 Add test to check boolean value for button states
#14700
2026-03-21 09:22:21 +01:00
José Antonio Díaz Miralles 5851c97fd6 Display the missing modules when modules are activated for the tests
Closes #14656
2026-03-27 16:48:18 +01:00
Nicolas Évrard fe53481953 Wrap class when filling the pool
Closes #14695
2026-03-19 10:38:52 +01:00
Cédric Krier 81a4f7118d Add missing classmethod decorator to get_translatable_languages of language
Closes #14685
2026-03-17 15:18:34 +01:00
Nicolas Évrard 667a53be21 Do not call the Function field getter when there's no ids to use it on
Closes #14697
2026-03-19 14:49:33 +01:00
Nicolas Évrard d47ddb9903 Remove direct calls to NOTIFY
In bb52a833e823 we forgot those calls

Closes #14705
2026-03-25 13:10:39 +01:00
Cédric Krier 39a22ae74f Use python3 to launch build 2026-03-26 00:32:49 +01:00
Cédric Krier 94c4f0a9e6 Rewrite coverage paths
Since tox is running tests on the installed package, the coverage paths are no
more relative to the repository root.
2026-03-25 19:39:52 +01:00
Cédric Krier e4cb6234a1 Do not add comment on table nor column
Closes #14614
2026-02-19 09:54:48 +01:00
José Antonio Díaz Miralles 661920f4db Remove the obsolete JSON dump and load methods from ModelData
Closes #14654
2026-03-25 08:20:17 +01:00
Cédric Krier 7d040c8cb9 Check button states when testing access
Closes #14591
2026-02-09 18:13:34 +01:00
Cédric Krier fa9e60bb9c Do not use Literal to count in SQL
Following ce972acc1cf2, this conversion was missing and prevent psycopg 3 to
determine the data type.
2026-03-24 18:25:19 +01:00
Nicolas Évrard 475e68df76 Remove the files of Binary fields from the Filestore
Closes #13861
2026-03-24 09:30:17 +01:00
Nicolas Évrard b44c004825 Add deletion on FileStore
We're identifying each file in the filestore with a UUID4 in order to avoid
collisions. It has the drawback that we will store twice the same file but on
the other hand we can now remove each file from the store as there is no more
collision.

In order to identify files named previously we're using textual representation
of the UUID with the hyphens. Previous IDs do not have hyphens.
2025-01-09 18:53:09 +01:00
Cédric Krier a88c575fcc Retry to dump status later after unexpected exception
Closes #14678
2026-03-16 10:30:54 +01:00
Cédric Krier 145ce8f2f8 Make retrieval of metadata via build really quiet 2026-03-22 09:07:23 +01:00
Cédric Krier 5310b00496 Remove grouped_slice per IN_MAX
The usage of ``grouped_slice`` without size is deprecated since `=
ANY(ARRAY[%s])` is used for PostgreSQL and SQLite is used only for tests.

The ``Database.IN_MAX`` is replaced by ``backend.MAX_QUERY_PARAMS`` which is a
more accurate limit of the backend.
The SQLite limits is indeed SQLITE_MAX_EXPR_DEPTH so we use a empirical value.
2026-03-22 21:05:26 +01:00
Cédric Krier 0da67bce21 Deprecate reduce_ids for SQL_OPERATORS['in']
Closes #12989 #13897
2025-12-26 10:57:44 +01:00
Cédric Krier 7b231e74e9 Use array as IN operators 2025-12-26 10:58:30 +01:00
Cédric Krier 6b4218f8dd Use psycopg_pool resize to clear unused database connections 2025-11-25 15:05:02 +01:00
Nicolas Évrard 299dd6b1c9 Update to Psycopg 3
Closes #10901
2026-03-22 19:53:32 +01:00
Cédric Krier 7fb5a4a3de Do not use Literal to count in SQL
The * is not actually a parameter of the aggregate function so it is better to
let python-sql manage it with its default value.
2025-12-25 09:47:23 +01:00
Nicolas Évrard 4ab7069dab Delegate the notifications handling to the backend 2025-11-25 13:27:24 +01:00
Cédric Krier dada23bcb5 Do not install mrml on Python version greater than 3.14
See https://github.com/jdrouet/mrml/issues/597
2026-03-21 12:07:21 +01:00
Cédric Krier d3c8a8e55d Add support for Python 3.14 2026-03-21 09:02:25 +01:00
Cédric Krier 42b0fc7061 Remove support for Python 3.9 2026-03-21 08:48:06 +01:00
Cédric Krier e15c0b7d7a Upgrade to pyproject using hatchling as build-system 2026-03-21 18:46:34 +01:00