Commit Graph
5825 Commits
Author SHA1 Message Date
Cédric Krier de1bb5d5d9 Update translations [skip ci] 2026-04-20 10:38:52 +02:00
Cédric Krier 7e01e915c5 Use no breaking spaces for language definitions
Closes #14754
2026-04-08 14:42:10 +02:00
Cédric Krier cc1a046c9e Test instances against the Response/Request classes from werkzeug
It should be allowed to use the base classes instead of the custom derived of
Tryton.

Closes #14765
2026-04-13 14:38:48 +02:00
Cédric Krier eb0cb933ef Delete related resources when deleting records
Closes #14748
2026-04-07 13:39:54 +02:00
Cédric Krier 3a14737d86 Do not use a Transaction to copy SQLite database for tests restoration
Starting a Transaction can only be done on a already setup database as the
cache synchronisation may query the `ir_cache` table.

Closes #14742
2026-04-02 19:24:07 +02:00
Sergi Almacellas Abellana b162fe645b Do not extract relatorio link's text as translation source 2026-04-10 13:52:02 +02:00
Cédric Krier bcf8181107 Split indexes for history table to have either id or __id
815a0a887c3e added the index but the id and __id are just included to the index
when the pre-filtering could be improved if id was in the index and the window
order could be improved if the __id was in the index.
2026-03-31 13:51:29 +02:00
Cédric Krier a719345f7b Add index for target column of xxx2Many field on history table
Closes #14725
2026-03-31 12:02:51 +02:00
Cédric Krier df765aee83 Do not use relation field from default order when fetching One2Many records
The records are already ordered by the field id to be grouped later so such
order clause has no impact on the result.
But they require joins that may not be needed otherwise.

Closes #14716
2026-03-26 18:00:24 +01:00
Cédric Krier 6a412267b0 Use gettext and normalized email for chat messages 2026-04-07 09:35:21 +02:00
Cédric Krier cd0299cccd Set List-Id and List-Post header to chat emails
Closes #14747
2026-04-07 09:36:13 +02:00
Cédric Krier c3f7b2d655 Remove Auto-Submitted header from chat emails 2026-04-07 09:31:56 +02:00
Cédric Krier 063d384a4e Add naiad library 2026-04-07 17:40:41 +02:00
Cédric Krier 0e25c97f45 Add REST API 2026-04-04 23:03:18 +02:00
Cédric Krier dbe5c74cb6 Add rpc suffix to URL for RPC call 2023-11-12 23:43:19 +01:00
Cédric Krier 84c47a0433 Support mounting application under a prefix
Closes #9239
2023-11-12 23:44:43 +01:00
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