Commit Graph
545 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 fd6bcd27ea Use Warning.format in documentation example
issue10767
review375491003
2021-09-23 10:12:01 +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 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 f8358b1229 Search by similarity only if a threshold is defined
issue10710
review363851002
2021-09-10 19:13:05 +02:00
Cédric Krier 5a78da0925 Add estimation count to ModelStorage
issue10623
review350381002
2021-09-04 19:40:02 +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 fb9238b8bf Add digits mixin
issue10596
review338511002
2021-08-21 09:05:34 +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 8bc8ec9420 Use argon2 or scrypt to hash password by default
issue10529
review359761002
2021-07-12 23:31:09 +02:00
Cédric Krier 212181ded1 Add documentation note about listening to all interfaces
issue10465
review361991002
2021-06-17 09:22:32 +02:00
Cédric Krier 254cff6a03 Add missing bracket in logging format example 2021-04-29 16:11:02 +02:00
Cédric Krier ef72790b98 Remove documentation warning about _check_access
It is not more valid since issue4080.
2021-04-14 10:37:22 +02:00
Nicolas Évrard a5e3d0b0f8 Add support for database connection parameters to configuration URI
issue10101
review339891002
2021-04-12 20:39:23 +02:00
Cédric Krier fb9b7a5ee8 Add statistics to Cache
issue10100
review335611003
2021-04-03 23:43:40 +02:00
Cédric Krier 80ac9eb0be Add support for avatar
issue10085
review343561002
2021-03-28 19:20:37 +02:00
Cédric Krier 45d406e270 Add full text and similarity search
issue10023
review320601007
2021-03-21 16:21:05 +01:00
Cédric Krier 71dcac9bbc Add icon of type URL
issue10140
review355171002
2021-03-20 12:38:16 +01:00
Cédric Krier 4f3c27015e Update documentation example to match current version 2021-03-18 23:03:55 +01:00
Cédric Krier 04a0aea2ad Add __access__ to Model
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Cédric Krier b841ba8742 Add route wrapper to allow null origin
Webextensions may use 'null' as Origin if the browser considers that the
request is not trustworthy. To keep such webextensions working, we need to
allow such requests for that we add an attribute on the endpoint.

issue10058
review331931002
2021-03-07 10:01:20 +01:00
Cédric Krier 044c51baaa Add header grouping on report
issue6760
review351221002
2021-02-21 19:19:26 +01:00
Cédric Krier fee02f9af2 Support secure URL when SSL is delegated
issue9986
review353161002
2021-02-15 19:09:44 +01:00
Cédric Krier 77dbb6df2f Make ModelView.parse_view public
issue10073
review333851028
2021-02-14 15:56:18 +01:00
Cédric Krier 964fc0a74b Add help for each value to selection and multiselection
issue9649
review320021002
2021-02-14 14:28:55 +01:00
Adrià Tarroja Caubet 2ba3e1bdb6 Allow skipping user warnings globally
issue7442
review318871002
2021-02-05 00:21:10 +01:00
Cédric Krier 421ec76c49 Clear all cache after module loaded
As we rollback the cache modification when loading a module, we must clear all
of them at the end to ensure to not keep outdated data.

issue9759
review339421002
2021-01-13 00:26:53 +01:00
Cédric Krier 2738cf56b8 Update installation documentation to new tools
issue9957
review347121003
2021-01-03 13:07:39 +01:00
Cédric Krier f40d16a89e Document Cache.drop as classmethod 2020-12-26 21:49:29 +01:00
Maxime Richez d64ae06e19 Add summary to line list
A function field summary is added which takes the first line of description
field. This is useful to identify line without product (only with description)
in the list.

issue9695
review292431002
2020-12-25 17:14:57 +01:00
Cédric Krier 3b005787d3 Document ModelView._buttons states keys
issue9954
review292951002
2020-12-22 00:27:17 +01:00
Cédric Krier e18501c644 Support other methods for button_change decorator
issue9871
review314871002
2020-12-05 12:09:27 +01:00
David Harper 31a0ee2ec4 Use double backticks for literals in documentation
issue9827
review335091002
2020-11-29 11:35:29 +00:00
David Harper 6badc77143 Document One2One.get_relation method
issue9826
review331201002
2020-11-29 11:30:45 +00:00
David Harper 7604a6ce35 Replace TODO directive with comment in documentation
issue9826
review292751002
2020-11-29 11:23:26 +00:00
Nicolas Évrard a9ff2c7339 PYSON's DateTime defaults to the current time in UTC
issue9698
review329211002
2020-10-22 12:11:09 +02:00
Cédric Krier cd7d40eb07 Add symbol widget
issue9059
review276871002
2020-10-09 19:09:06 +02:00
Cédric Krier 7f6b94610b Add sql_pairing tool
issue9606
review328091002
2020-10-08 21:34:15 +02:00
Cédric Krier c2e22d9d43 Add language attribute to data tag
issue9559
review302061002
2020-09-18 00:06:31 +02:00
Cédric Krier 0b85f26f78 Add cron task to clean old queue tasks
issue9502
review306141002
2020-08-11 22:03:20 +02:00
Cédric Krier 9202f337e3 Add option to run cron once
issue9475
review307931002
2020-07-25 08:03:02 +02:00
Cédric Krier a9241ac345 Add option to ensure emails are sent
issue9456
review298071002
2020-07-21 14:33:49 +02:00
Cédric Krier bbe845aca5 Remove link to ssl wrap_socket in doc
issue9441
review321711002
2020-07-13 21:10:44 +02:00
David Harper 26b87dd919 Do not refer to activated modules as installed
issue9395
review311721004
2020-07-09 10:33:42 +01:00
Cédric Krier 060a9da6bf Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:10 +02:00
Cédric Krier b3f8d125f9 Use custom class to store record data
By using a class with slots instead of standard dict, we can reduce a lot the
memory usage to store the record data in the caches and values.
Also we can rely on the data in the cache to exist only for real field which
can be used to create a fast path in ModelStorage.__getattr__.
As now storing data in the cache has no extra cost, we can store data from the
transactional cache in the local. This allow also to have a shorter path in
ModelStorage.__getattr__.
For more memory efficiency, we remove the record from the cache instead of
clearing them. It was better to clear a dict but a record is less expensive to
re-instantiate than clearing.

issue9369
issue9225
review297861002
2020-06-13 09:48:03 +02:00
Cédric Krier 547bd561bf Remove sphinx configuration
The HTML can be generated with sphinx-build -C . _build/html

issue9370
review295661002
2020-06-06 14:04:01 +02:00