Cédric Krier
6cff740d3c
Validate integer digits
...
Closes #12975
2024-10-20 18:22:26 +02:00
Cédric Krier
cd0bcf8ff5
Document gettext and ngettext methods added to the report context
...
They were added by 9403850c8ead but without documentation.
2024-12-01 19:06:26 +01:00
Cédric Krier
26930ddda9
Add msg_gettext and msg_ngettext to Report context
2024-12-01 19:04:56 +01:00
Cédric Krier
ffcf5a5225
Support plural translation of messages
2024-10-16 19:57:43 +02:00
Udo Spallek
8b252472c4
Replace usage of docstring of Model by __string__ attribute
...
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier
17fb714e38
Document that getter function is called with the record context
2024-08-17 17:48:12 +02:00
Cédric Krier
c8caf77630
Document _transaction, _user and _context attributes of ModelStorage
...
They are private attributes to avoid collision with fields but they should be
indeed part of the public API.
2024-08-17 17:47:33 +02:00
Cédric Krier
f1ce119ad4
Document the attributes on the fields
2024-09-30 19:12:04 +02:00
Cédric Krier
ca61f7cc7b
Support range functions and operators in EXCLUDE constraint
...
Closes #7471
2024-10-10 00:34:53 +02:00
Cédric Krier
530b55ac42
Add sparkline chart tools
...
Closes #13548
2024-09-29 12:36:21 +02:00
Cédric Krier
d83bcc784c
Add setup methods to activate_modules
2024-09-10 18:01:29 +02:00
Nicolas Évrard
afd48ab128
Add method to the backend to estimate number of rows
...
Such that each backend can rely on its own statistics.
Closes #13118
2024-09-28 18:02:31 +02:00
Cédric Krier
8f4e926c81
Add setup indexes method to ModelSQL
...
As __setup_indexes__ is always called on all the ModelSQL once they have been
setup in the pool, this ensures that the definition of indexes is
deterministic.
Also it provides a new hook to customize indexes after the default
definitions.
Closes #13299
2024-08-31 21:13:55 +02:00
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 Krier and David 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