Cédric Krier
2cdd2f28ff
Do not save avatar cache if the record is not yet committed
2021-03-28 20:32:09 +02:00
Cédric Krier
4d0a6fa864
Prevent infinite loop when generate avatar without PIL
...
Without PIL the value returned by generate_avatar is None which is saved and
trigger again the call to generate_avatar and so on.
2021-03-28 19:49:52 +02:00
Cédric Krier
80ac9eb0be
Add support for avatar
...
issue10085
review343561002
2021-03-28 19:20:37 +02:00
Sergi Almacellas Abellana
1184e154c1
Allow links on notebook pages
...
issue10184
review341691002
2021-03-27 21:00:44 +01:00
Cédric Krier
05137a72a4
Add status command
...
issue10098
review347481002
2021-03-27 19:42:53 +01:00
Cédric Krier
c848ca1d2d
Add document widget
...
issue10173
review330471004
2021-03-27 17:17:00 +01:00
Cédric Krier
96a459ed96
Start pool in trytond
...
This is to register classes if no database names are in options and also the
custom routes.
issue10211
review340391002
2021-03-23 23:56:54 +01:00
Cédric Krier
45d406e270
Add full text and similarity search
...
issue10023
review320601007
2021-03-21 16:21:05 +01:00
Cédric Krier
9c81cb6a4a
Replace cursor fetchall by iteration over cursor
...
issue5817
review335831003
2021-03-21 16:09:13 +01:00
Cédric Krier
aa6037385f
Define as option the type attribute of image
...
issue10140
2021-03-20 12:50:28 +01:00
Cédric Krier
71dcac9bbc
Add icon of type URL
...
issue10140
review355171002
2021-03-20 12:38:16 +01:00
Cédric Krier
d4e228a29f
Do not return None when evaluating domain with in operator
...
When the operator is 'in' and the value contains None, Field._domain_add_null
adds an equal operator against NULL. So this must be managed like the '='
operator.
issue9906
review332201005
2021-03-20 12:33:09 +01:00
Cédric Krier
4f3c27015e
Update documentation example to match current version
2021-03-18 23:03:55 +01:00
Nicolas Évrard
55143f1009
Compute default values on creation only once per schema of missing default values
...
issue10131
review341491002
2021-03-12 12:33:30 +01:00
Nicolas Évrard
30c8c41c26
Ensure dependencies of fields are also loaded on Form display
...
issue9630
review298641002
2021-03-11 23:34:44 +01:00
Cédric Krier
7264e2e76b
Do not drop sequence type code
...
The column is needed to migrate both sequence tables.
issue10122
2021-03-11 23:12:06 +01:00
Cédric Krier
3aec470d5b
Store directly sequence type to sequence
...
issue10122
review351381002
2021-03-11 23:00:10 +01:00
Cédric Krier
2925c971b5
Add context field of parent to on_change calls
...
Those fields are required to instantiate the parent fields with the proper
context.
issue10182
review359301002
2021-03-11 19:20:32 +01:00
Cédric Krier
b7705ddbd5
Allow to use affix in xpath
...
issue10139
review335691002
2021-03-11 19:19:17 +01:00
Cédric Krier
e33ee36942
Do not depend on context for get_groups cache
...
issue10177
review330491005
2021-03-11 19:17:59 +01:00
Cédric Krier
048489ab4a
Test wizard's StateView is of type 'form'
...
issue10143
review335701004
2021-03-11 19:16:41 +01:00
Cédric Krier
e6dda69e06
Allow sending email with record's attachments
...
issue10135
review345471002
2021-03-11 19:14:07 +01:00
Cédric Krier
45775dbf15
Use raise from instead of logging
...
issue10146
review357301002
2021-03-11 19:07:33 +01:00
Cédric Krier
674b469b45
Improve report and CSV for tree structure
...
issue10116
review341431002
2021-03-07 19:07:53 +01:00
Cédric Krier
3e19c4c5eb
Add parent to group to inherit accesses
...
issue10032
review320661002
2021-03-07 12:43:09 +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
Sergi Almacellas Abellana
b653e4ad0d
Return empty list for records on wizard without active_ids
...
issue10153
review341621002
2021-03-06 19:12:49 +01:00
Raimon Esteve
4c98315998
Remove active test from sequences and languages action
...
issue10009
review349291003
2021-03-06 12:33:18 +01:00
Nicolas Évrard
0e73e59095
Update MPTT only for affected fields
...
issue10130
review353331002
2021-03-05 18:22:55 +01:00
Cédric Krier
837c2f6164
Do not switch selection value if the result is neither in the selection
...
issue10120
2021-03-02 08:38:10 +01:00
Cédric Krier
daf1b6e5ad
Add fallback to the value for missing translated selection
...
issue10120
review341441002
2021-03-01 23:28:52 +01:00
Cédric Krier
f5289b1ead
Follow common rule to organize menu entries
...
issue10118
review347611002
2021-02-27 18:16:29 +01:00
Cédric Krier
142e9b35d6
Show emails as archive
...
issue10108
review339911003
2021-02-25 21:15:41 +01:00
Cédric Krier
3d632a8c8d
Remove client key from the cache's context
...
issue10099
review331891002
2021-02-25 00:05:43 +01:00
Nicolas Évrard
eb78acc47b
Call Function.get by bunch of cache size
...
issue9927
review324701002
2021-02-23 18:50:27 +01:00
Cédric Krier
811b04d9e6
Add header grouping on email reset password report
...
issue6760
2021-02-21 22:24:54 +01:00
Cédric Krier
838b3d8280
Add default value for new device_cookie
...
This prevents consumer code the need to be updated if they do not manage
device cookie.
issue9386
2021-02-21 22:23:54 +01:00
Cédric Krier
044c51baaa
Add header grouping on report
...
issue6760
review351221002
2021-02-21 19:19:26 +01:00
Nicolas Évrard
e53724a775
Protect trusted devices against brute force attack
...
issue9386
review321511002
2021-02-21 16:23:11 +01:00
Cédric Krier
3592175067
Use column to order when translation value is empty
...
issue10094
review331871002
2021-02-20 00:58:39 +01:00
Cédric Krier
fffb8efb5a
Ensure to join with only one translation row
...
If there are multiple translations for the same record, the join will generate
result with multiple times the same id on ModelSQL.search.
As DISTINCT ON is not always supported, we must also ensure that duplicated
translations are all updated.
issue10061
review351261002
2021-02-20 00:48:50 +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
b9092a29e8
Return string on Base64Converter.to_url
...
issue10083
review353321002
2021-02-14 15:54:29 +01:00
Cédric Krier
dcdd1707b4
Check record rule in button decorator
...
In order to relax internal control of record rules, they must be enforced on
the button entry point.
This is done by just reading the id of the records already stored.
issue7638
review349381002
2021-02-14 15:47:00 +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
Cédric Krier
0a7268f6ef
Do not instantiate other fields loaded eagerly
...
It has a cost to instantiate such fields and there is not guarantee that they
will be used. But as their values are stored in the cache, if they are needed
they can be instantiated using only the cache values.
Also there is no real benefit in instantiate two fields together.
issue10026
review341251002
2021-02-13 11:15:16 +01:00
Cédric Krier
ff2cc6dd21
Use safe_join in SharedDataMiddlewareIndex
...
issue10068
review333851027
2021-02-12 10:01:22 +01:00
Cédric Krier
82c10edcfd
Depend on werkzeug before 2.0.0
...
issue10077
review324981002
2021-02-10 23:52:22 +01:00