Commit Graph
6136 Commits
Author SHA1 Message Date
Cédric Krier fa34abb8b3 Add grouping attribute to numeric widgets
issue10731
review355501002
2021-09-26 23:05:02 +02:00
Cédric Krier 0e41c6940a Factorize the instantiation of LRUDict and LRUDictTransaction
We use default_factory to avoid create unnecessary instances. The
default_factory_with_key argument is added to LRUDict to pass the missing key
to the default_factory method. And we use an LRUDict also for the
Transaction.cache.

issue10726
review362531002
2021-09-26 22:55:52 +02:00
Cédric Krier 4840a0f46d Ensure that objects in the Pool has __slots__
issue10719
review375361002
2021-09-23 23:12:35 +02:00
Cédric Krier 51f63441ca Pass formatting variable as keyword arguments to gettext
issue10713
2021-09-23 10:39:41 +02:00
Cédric Krier 9ae04f3e68 Use bigdecimal tag for XML-RPC
issue10734
review355491002
2021-09-23 10:22:01 +02:00
Cédric Krier 11aecd394a Add protocols test for timedelta and factorize them
issue10733
review371841002
2021-09-23 10:19:03 +02:00
Cédric Krier c345b0c693 Use tuple in Dict value instead of list
issue10715
review371771002
2021-09-23 10:15:16 +02:00
Cédric Krier da3c10dc0a Warn user about the minimal password length
issue10713
review344701002
2021-09-23 10:13:09 +02:00
Cédric Krier fd6bcd27ea Use Warning.format in documentation example
issue10767
review375491003
2021-09-23 10:12:01 +02:00
Cédric Krier b5af64f6d3 Do not set record name on title of report get_email
issue10724
review362511002
2021-09-23 10:10:51 +02:00
Cédric Krier 28f7e0e0e2 Add node to id of status
This allows to distinct status from multiple machines shared the same socket.

issue10706
review360101002
2021-09-23 10:04:07 +02:00
Cédric Krier 9f8b847c15 Use immutable dictionary for Transaction context
issue10691
review358741002
2021-09-19 00:30:35 +02:00
Cédric Krier 47de42c030 Use always the menu name for the window action name
issue10738
review358911002
2021-09-19 00:08:37 +02:00
Cédric Krier c4c3540201 Use biginteger for integer overflowing XML-RPC integer dumper
issue10732
review363891002
2021-09-19 00:04:57 +02:00
Cédric Krier 33dfe0c713 Fix typo in configure languages wizard 2021-09-16 09:00:16 +02:00
Nicolas Évrard d3a5e680a8 Use UNION for 'Or'-ed domain with subqueries
issue10658
review365781002
2021-09-15 15:16:40 +02:00
Cédric Krier ac0f19fe4c Use latest Python version for link to configuration file format 2021-09-14 21:49:26 +02:00
Cédric Krier 154d8e4a23 Add remove_forbidden_chars in tools
issue10684
review371581002
2021-09-13 23:43:03 +02:00
Cédric Krier b843e4e5bf Manage errors during non-interactive operations
issue10667
review346781002
2021-09-13 23:40:28 +02:00
Cédric Krier 216a7a9f50 Set search_similarity when testing search by similarity
issue10710
2021-09-10 19:54:44 +02:00
Cédric Krier f8358b1229 Search by similarity only if a threshold is defined
issue10710
review363851002
2021-09-10 19:13:05 +02:00
Cédric Krier cdf2592849 Start Pool before starting threads for cron and worker
issue10704
review346881064
2021-09-10 19:11:45 +02:00
Cédric Krier 6c9b04b59f Do not retry failing cron task directly
The next call datetime is set even if the task is failing. This way it will be
retried based on the configured frequency.

issue10695
review358751002
2021-09-10 19:08:38 +02:00
Cédric Krier 1e12ebe9f8 Use new image returned by PIL.Image methods
issue10703
review350531006
2021-09-05 14:40:15 +02:00
Cédric Krier a799d9ca9d Set locale of the default language when user has no language
issue10673
review346791002
2021-09-04 19:46:04 +02:00
Cédric Krier d8e0e78f88 Use __str__ of record for warning key
This format is common with proteus.

issue10672
review359941002
2021-09-04 19:44:08 +02:00
Cédric Krier 1b85c2d0f9 Restore threshold between rebuild and update MPTT
issue10623
review350381002
2021-09-04 19:40:33 +02:00
Cédric Krier 5a78da0925 Add estimation count to ModelStorage
issue10623
review350381002
2021-09-04 19:40:02 +02:00
Cédric Krier f38a70d843 Do not rebuild tree of MPTT on nested creation
If the MPTT is updated before calling set of fields, there is no need to
rebuild the tree.

issue10670
review342941002
2021-09-04 19:31:30 +02:00
Cédric Krier 03e2a7f2dc Avoid instantiate set
issue10660
review342911003
2021-09-02 23:56:13 +02:00
Cédric Krier c2e2cdb148 Allow to execute reports without records
issue10409
review355391002
2021-09-02 23:19:36 +02:00
Cédric Krier 6920de2b55 Add strict parameter to sendmail_transactional
and complete the documentation.

issue10681
review353811002
2021-09-02 23:14:56 +02:00
Cédric Krier f8dafb20c0 Support empty digits in format_number of Report
issue10678
review365801002
2021-08-30 00:26:41 +02:00
Cédric Krier 1c3d67a96c Do not try to clean never filled _language_cache
The _language_cache is no more filled since rev 097a3b7df47c.

issue10653
review334681002
2021-08-27 09:05:23 +02:00
Cédric Krier a63de7ab07 Do not read deleted record as extra record
When a record from a browse list has been deleted, we must not try to read it
if other records are accessed.

issue10652
review346731080
2021-08-27 09:01:34 +02:00
Cédric Krier 6dd98fac4a Use a list to store multiple keywords of an action
When computing the action of a menu, if multiple menus have the same action
only the first one will get the right value. The others get the default value
because the dictionary action2keyword store only the last keyword.

issue10659
review353801002
2021-08-27 08:44:56 +02:00
Cédric Krier fb9238b8bf Add digits mixin
issue10596
review338511002
2021-08-21 09:05:34 +02:00
Cédric Krier 9bf9b3a910 Do not build avatar if Pillow has not truetype support
issue10654
review365761002
2021-08-19 22:30:51 +02:00
Cédric Krier d9d36d476a Clear the cache only if modules are updated
issue10646
review365731002
2021-08-19 22:29:09 +02:00
Cédric Krier a47b7e5a70 Do not use authorisation for repr if it is None
issue10642
review342871005
2021-08-19 22:25:24 +02:00
Cédric Krier 1dcedc1c98 Clear transaction cache in test_read_last_translation
issue10630
2021-08-18 13:07:55 +02:00
Cédric Krier fa1b09c05e Remove delete attribute and use defaultdict from Transaction
issue10630
review369351002
2021-08-16 23:11:38 +02:00
Cédric Krier 5bf6b08355 Ensure to read only validated records
The list of records can be part of a large browse list which may be also read
when accessing attribute of the record. To prevent that we must use a new
browsing list.

issue10632
review334631003
2021-08-16 23:07:06 +02:00
Cédric Krier 0cca1c8d57 Use subquery when searching for similarity on translated Char
issue10624
review363621002
2021-08-12 18:38:15 +02:00
Cédric Krier 97c0707106 Do not use keyword argument for sequence_next_number SQL
issue10621
review342831002
2021-08-12 18:35:15 +02:00
Sergi Almacellas Abellana fa51548ac1 Do not check access when on email complete
issue10608
review371391002
2021-08-09 12:48:54 +02:00
Cédric Krier 489aa4729d Set all language definition in locale
issue10595
review334571002
2021-08-06 09:48:07 +02:00
Cédric Krier 7b34b7e8ad Convert avatar image to RGB prior to saving as JPEG
issue10590
review369321037
2021-08-06 09:10:13 +02:00
Cédric Krier 2bf9d3c3a9 Use named formatting arguments on invalid sequence message 2021-08-06 09:09:15 +02:00
Cédric Krier 5327972941 Make ImmutableDict dumpable by protocols
issue10599
review349001002
2021-07-22 19:06:15 +02:00