Commit Graph
69 Commits
Author SHA1 Message Date
Cédric Krier b595b68b79 Support getting many sequences at once
Closes #13474
2024-08-25 11:02:42 +02:00
Cédric Krier 546247b635 Add sequence_nextval function to Database 2024-08-24 15:44:06 +02:00
Cédric Krier 098458daa8 Move all access checks of report to check_access method 2024-09-12 16:45:34 +02:00
Cédric Krier 234daa0f99 Add cardinality option to Index Usage
Closes #13426
2024-07-27 17:49:13 +02:00
Cédric KrierandDavid Harper 67bfcde06f Update documentation of infrastructure
Co-authored-by: David Harper <dave@libateq.org>
2024-08-07 23:24:57 +02:00
Cédric Krier 5823bce6cf Add tools to apply types to SQLite select queries 2024-07-04 08:45:19 +02:00
Juan Jose Pablos fbe87b99c8 Replace link to configuration document by ref to labels 2024-07-08 19:00:26 +02:00
Cédric Krier 575d1d0132 Change _changed_values and _save_values properties to method
Closes #13317
2024-06-09 19:54:52 +02:00
Cédric Krier 5fa6e8533b Add missing documentation of ExtensionTestCase 2024-06-09 12:45:58 +02:00
Cédric Krier 36f3adca1e Add TestCase to filter warnings with TEST_PYTHONWARNINGS 2024-06-09 12:45:39 +02:00
Cédric Krier cd1c57dddf Use UPSERT to update cache 2024-06-23 08:39:41 +02:00
Cédric Krier 3369d98de2 Add option to skip tests that require network 2024-05-20 12:20:00 +02:00
Cédric Krier e98b1f2559 Add translated descriptor for Char and Text fields 2024-05-18 19:06:00 +02:00
Cédric Krier b3fd5364dc Document that _rec_name must point to a Char field 2024-05-22 15:33:55 +02:00
Nicolas Évrard b973f371c8 Add a contextual read limit for related fields 2024-04-08 13:13:14 +02:00
Cédric Krier cd3395b233 Add email constructor from message 2024-02-21 21:43:50 +01:00
Cédric Krier 3cc0bb6c15 Add send_message methods to sendmail
Closes #13048
2024-02-21 21:38:53 +01:00
Cédric Krier 0dffe1087c Add fmany2one field
Closes #13051
2024-02-22 17:36:51 +01:00
Cédric Krier e0f11efc94 Allow creation of foreign key on non primary key 2024-02-22 19:08:43 +01:00
Cédric Krier ec5a00c82e Make pool initialization atomic
An instance of pool is created per thread and it stores a reference to the
current pool values.
When the pool is initialized, a temporary reference is set on the instance so
only the values for this thread is modified. Once the initialization is
complete, the new pool value replace the global values.
Each instances is refreshed with the global values after the pool has been
stopped.

Closes #11401
2024-03-06 18:28:38 +01:00
Cédric Krier c6f095c760 Do not copy readonly relational fields
Closes #12849
2023-12-20 13:56:57 +01:00
Cédric Krier e5a6aba9bb Support list of single value in sortable_values tools 2024-01-15 20:31:33 +01:00
Nicolas Évrard 75d1af9f84 Allow creating index concurrently 2023-09-27 17:20:20 +02:00
Cédric Krier 93980a94b8 Find module paths using entry points
Closes #12900
2024-01-05 19:57:49 +01:00
Cédric Krier b913ad45d8 Add assert methods to test tools
Closes #12879
2023-12-29 19:02:08 +01:00
Nicolas Évrard 2f2f15e49b Create indexes on the history table
Closes #12686
2023-10-30 16:37:40 +01:00
Nicolas Évrard a42cb450f7 Add timeout parameter on RPC calls
Closes #11293
2023-10-08 00:08:52 +02:00
Cédric Krier cfde98e54a Backed out changeset fc478f7d7004 2023-10-28 00:16:32 +02:00
Nicolas Évrard a09de147a6 Add timeout parameter on RPC calls
Closes #11293
2023-10-08 00:08:52 +02:00
Cédric Krier 420e0a48d6 Add pairwise_longest tools 2023-10-18 23:11:07 +02:00
Cédric Krier ccf653da1d Support create record from autocomplete with default values 2023-09-26 23:45:07 +02:00
Cédric Krier d8530fc867 Support default value from context 2023-09-25 17:53:23 +02:00
Cédric Krier 92b3416d79 Add autocomplete method on ModelView 2023-09-25 17:22:40 +02:00
Cédric Krier a3877cadb3 Add likify tools 2023-09-25 16:42:04 +02:00
Nicolas Évrard d1d2437daf Use multiple jobs to dump and restore a test database 2023-09-16 12:36:43 +02:00
Nicolas Évrard c32c645483 Support database cache as template for tests on PostgreSQL 2023-10-02 11:16:27 +02:00
Cédric Krier ea98511139 Add route test case 2023-09-12 18:52:14 +02:00
Cédric Krier 208ac87281 Add support for scanning code 2023-07-04 17:50:50 +02:00
Cédric Krier 9aa4a8583b Add decorator on RPC 2023-08-16 10:39:16 +02:00
Cédric Krier e862ca836a Run doc tests with different globals
Closes #12441
2023-07-29 15:11:05 +02:00
Nicolas Évrard 6893789faa Rename function with_inactive_records in documentation
The commit e6c72b1f23e7 added the function but the documentation used another
name
2023-06-13 13:39:22 +02:00
Cédric Krier 7c6137f070 Document active test in ModelStorage 2023-07-05 12:57:15 +02:00
Cédric Krier f4210f8143 Document active field part of DeactivableMixin 2023-07-05 12:36:46 +02:00
Cédric Krier a40be04d82 Document on_change methods under ModelView instead of Model 2023-07-04 18:39:28 +02:00
Cédric Krier 66f10aed84 Add email validation tools 2023-04-29 18:52:40 +02:00
Cédric Krier dd2b2fbb23 Add sum_tree helper 2023-06-04 09:30:39 +02:00
Nicolas Évrard 4f28d7ac39 Shorten arguments when logging 2023-05-03 23:13:42 +02:00
Cédric Krier b4d78247cf Support returning more than one nextid 2023-04-22 11:05:23 +02:00
Cédric Krier 17bbce3919 Log events for ModelStorage
It logs by default:
 - the write and delete done directly by the users
 - the execution of a button
 - the execution of wizard state that has modified the database
 - the workflow transition to a new state
2023-02-08 19:03:29 +01:00
Cédric Krier 1aa9226401 Publish convert_from method
Closes #9007
2023-03-23 00:33:22 +01:00