Commit Graph
6166 Commits
Author SHA1 Message Date
Cédric Krier 4bdb4a80d2 Require at least psycopg2 2.7.0
Since rev 892807681516, postgresql backend use the module psycopg2.sql module
which was introduced in release 2.7.0.

issue11328
review354781002
(grafted from 020db44f8ec289d376661edd220aecbb8b2612fc)

--HG--
branch : 6.0
2022-04-06 18:42:58 +02:00
Cédric Krier f50dc055e7 Use psycopg2cffi only if there is no psycopg2
issue11329
review354791002
(grafted from 6001f228e80a92f624339150dd8b8f595f49df8d)

--HG--
branch : 6.0
2022-04-06 18:40:49 +02:00
Cédric Krier 289bd14bbf Do not start status report on platform without AF_UNIX socket
issue11319
review393871002
(grafted from f9c934230c6b1f7d8c5ee4a3722227ced19393ae)

--HG--
branch : 6.0
2022-04-01 23:48:06 +02:00
Nicolas Évrard a7e39de86a Add compatibility with Werkzeug 2.1.0
issue11353
review356241003
(grafted from 6355790727873d028d833d6126a934e593114a67)

--HG--
branch : 6.0
2022-03-31 13:43:36 +02:00
Sergi Almacellas Abellana 4ac18ebe7f Add support for werkzeug 2.0
issue10086
review337571002
(grafted from 2132304259eec4c35e6f2ca908c20d35bdda6f5f)

--HG--
branch : 6.0
2021-05-28 09:10:15 +02:00
Cédric Krier e4367076dd Use Timestamp for timestamp on ir.cache
issue11290
review390181003
(grafted from 77582defbb9be076986d7b8b028d12d9f2812c4a)

--HG--
branch : 6.0
2022-03-19 15:04:09 +01:00
Cédric Krier 9b30972a82 Manage None as value of PYSON In
issue11280
review393771002
(grafted from 754d4193dcd9f999e9a3d302c935022e8b83ab7b)

--HG--
branch : 6.0
2022-03-06 18:02:00 +01:00
Cédric Krier 085cad4ab8 Increase version number
--HG--
branch : 6.0
2022-03-01 19:22:07 +01:00
Cédric Krier 0bec0355d4 Add tag 6.0.16 [skip ci]
--HG--
branch : 6.0
2022-03-01 19:21:51 +01:00
Cédric Krier 30fcfa27d4 Prepare release 6.0.16 [skip ci]
--HG--
branch : 6.0
2022-03-01 19:21:51 +01:00
Cédric Krier 8ddf20dec9 Protect against XML vulnerabilities
issue11219
issue11244
(grafted from a64ca55b86e3462b5d5348c4fc8698350695b60e)
(grafted from 2ef295408a0bdc568453ca78fd564ddd48a28131)

--HG--
branch : 6.0
2022-03-01 19:07:56 +01:00
Sergi Almacellas Abellana 8f23fde9e1 Catch UnicodeEncodeError when autocompleting emails
issue11261
review38036100
(grafted from 24c1b56da072c6585b45f74e3d7c39410aaf5063)

--HG--
branch : 6.0
2022-02-18 13:06:20 +01:00
Cédric Krier 0892cbf085 Do not update field definition with Function field definition
issue11225
review360871002
(grafted from 557937450ca90e41c4a8d4dd729c6d723a47ef6a)

--HG--
branch : 6.0
2022-02-16 11:07:19 +01:00
Cédric Krier dfe37be952 Avoid concurrency failure in cache with channel test
We need to ensure that the listener is running on the return of the transaction
start otherwise notification can be missed.
We must also just from time to time check that the listener is still the
current listener.
And finally we can not wait an arbitrary time for cache sync, instead we must
rely on the _clean_last being reset with the sync happens.

issue9413
review364831002
(grafted from a32b84d9664917df3274663c06ab57fd5a7789ef)

--HG--
branch : 6.0
2022-02-14 23:12:00 +01:00
Nicolas Évrard 027a21301a Use the same heuristic to compute full text search config for both operation
issue11130
review395301002
(grafted from da8abbdcd4e5af3d05bbd4c2bc2a7ee486bdbad9)

--HG--
branch : 6.0
2022-02-08 18:44:55 +01:00
Cédric Krier 64e628861e Increase version number
--HG--
branch : 6.0
2022-02-16 21:56:36 +01:00
Cédric Krier 1b545aad14 Add tag 6.0.15 [skip ci]
--HG--
branch : 6.0
2022-02-16 21:56:21 +01:00
Cédric Krier e1c93207a0 Prepare release 6.0.15 [skip ci]
--HG--
branch : 6.0
2022-02-16 21:56:20 +01:00
Cédric Krier b0c4ded8e6 Always convert report when output format is different from input
issue11183
review387811002
(grafted from 2bbc59e018bc055448f8aad503e72598cd2fa105)

--HG--
branch : 6.0
2022-02-03 22:24:34 +01:00
Cédric Krier 5c35bcc193 Increase version number
--HG--
branch : 6.0
2022-02-01 18:14:53 +01:00
Cédric Krier c70aac4323 Add tag 6.0.14 [skip ci]
--HG--
branch : 6.0
2022-02-01 18:14:39 +01:00
Cédric Krier 75919bec1a Prepare release 6.0.14 [skip ci]
--HG--
branch : 6.0
2022-02-01 18:14:39 +01:00
Cédric Krier deeb0ac66b Set a max limit to sqlite backend
SQLite does not support offset without a limit. So we must use a negative value
to have no upper bound.

issue11126
review395291002
(grafted from c792075308e92e56dc6c8c052fa58041c508c9aa)

--HG--
branch : 6.0
2022-01-20 19:03:19 +01:00
Cédric Krier 78d3d5617a Check read access on parent field of child/parent operators
The 4th element of the clause is the parent field for the child_of/parent_of
operators, so it must be used to check access as related field.
Also we must remove the 4th element when checking related domain.

issue11115
review391371002
(grafted from 70e7eb839a66bac3b1eaf1f707cf111067c317be)

--HG--
branch : 6.0
2022-01-11 23:07:45 +01:00
Cédric Krier 1f45fbb20a Use first the dotted name variable in the PYSON context
issue11109
review383991002
(grafted from 4f3207199ad9a1b423decca2147b4cb42d4ae66e)

--HG--
branch : 6.0
2022-01-11 23:03:06 +01:00
Cédric Krier 7569ea26d8 Increase version number
--HG--
branch : 6.0
2022-01-01 17:22:16 +01:00
Cédric Krier b329fe4fd3 Add tag 6.0.13 [skip ci]
--HG--
branch : 6.0
2022-01-01 17:21:51 +01:00
Cédric Krier ad5d8719a1 Prepare release 6.0.13 [skip ci]
--HG--
branch : 6.0
2022-01-01 17:21:50 +01:00
Cédric Krier 4898c14af9 Evaluate record against trigger before queueing the action
issue11050
review366381004
(grafted from b44aff9d2dc897c9828a2a417fad1519390828c0)

--HG--
branch : 6.0
2021-12-21 23:18:36 +01:00
Adrià Tarroja Caubet e5e058994e Use normalized length of record name
This is needed in case the client normalize the report name before storing to
the filesystem.

issue10986
review381471003
(grafted from 970256a66ba01885af777a2fe13052f9664ba4c1)

--HG--
branch : 6.0
2021-12-18 01:37:06 +01:00
Cédric Krier 007b5cd6c0 Clear transaction cache after commit
If there are multiple commits, the data in the database may have been modified.

issue11014
review381481003
(grafted from f23258f695042a5958e53f54de153ccdda541121)

--HG--
branch : 6.0
2021-12-16 22:12:42 +01:00
Cédric Krier ec56771373 Increase version number
--HG--
branch : 6.0
2021-12-03 21:42:56 +01:00
Cédric Krier c63164deb7 Add tag 6.0.12 [skip ci]
--HG--
branch : 6.0
2021-12-03 21:42:41 +01:00
Cédric Krier 42379fc1c5 Prepare release 6.0.12 [skip ci]
--HG--
branch : 6.0
2021-12-03 21:42:41 +01:00
Cédric Krier 7f5166b849 Use HTTPStatus instead of http.client
Status in http.client is deprecated since 3.5
(grafted from 6b2ebf559245979bf0ee7262cde76aafb4f10620)

--HG--
branch : 6.0
2021-11-23 16:24:44 +01:00
Cédric Krier 123757907c Do not order on NULL when rank column is None
It is not valid to use NULL in ORDER BY clause.

issue10947
review381411002
(grafted from 449158110f20a1cb2d96d140c7e9b91ba95bbe1f)

--HG--
branch : 6.0
2021-11-19 23:56:36 +01:00
Cédric Krier 6cb8d5f7fc Retry to convert report also on subprocess error
issue10938
review370221002
(grafted from a844f8db203bb29af00836aa21c053354c18cfd3)

--HG--
branch : 6.0
2021-11-19 23:54:57 +01:00
Cédric Krier de998ddc68 Increase version number
--HG--
branch : 6.0
2021-11-20 13:41:22 +01:00
Cédric Krier 4f847493ab Add tag 6.0.11 [skip ci]
--HG--
branch : 6.0
2021-11-20 13:41:07 +01:00
Cédric Krier d0a49ca132 Prepare release 6.0.11 [skip ci]
--HG--
branch : 6.0
2021-11-20 13:41:07 +01:00
Adrià Tarroja Caubet 04734a76f7 Include action report name on report name max length
issue10946
review374151002
(grafted from 90517aa1addf77b9a1d8ac5cb65506f7828d6b11)

--HG--
branch : 6.0
2021-11-13 01:38:59 +01:00
Cédric Krier 3ba957fc56 Increase version number
--HG--
branch : 6.0
2021-11-05 00:01:42 +01:00
Cédric Krier c60fd4ba84 Add tag 6.0.10 [skip ci]
--HG--
branch : 6.0
2021-11-05 00:01:27 +01:00
Cédric Krier 1d9ae1c55e Prepare release 6.0.10 [skip ci]
--HG--
branch : 6.0
2021-11-05 00:01:26 +01:00
Cédric Krier 3de9018729 Do not set empty avatar when generating one
As the method is called on write and is also calling write via save, we must
ensure to save only when an avatar is filled to break the loop.

issue10914
review363041002
(grafted from 76a2462ece62a646eddbff8e99ded8e84f5b76cf)

--HG--
branch : 6.0
2021-10-30 02:25:37 +02:00
Cédric Krier aff8e4ed16 Evaluate invalid domain if there are many fields
We must find the field that is invalid instead of using the first one with a
domain constraint.

issue10418
review360371002
(grafted from b64005c6aaa91dbb07b06b1269f35be937747cf0)

--HG--
branch : 6.0
2021-10-30 02:20:23 +02:00
Korbinian Preisler 04e09daad6 Limit size of report name to 200 chars
issue10330
review332771003
(grafted from 12d2c2e990659c6eb709e937d7382b6ca2912a1d)

--HG--
branch : 6.0
2021-07-05 09:52:19 +02:00
Cédric Krier 6923dd6350 Use new image returned by PIL.Image methods
issue10703
review350531006
(grafted from b092e76193d8c6ca42ad11eab24efa01507c5306)

--HG--
branch : 6.0
2021-09-05 14:40:15 +02:00
Adrià Tarroja Caubet 42ee288c86 Add missing new lines on docs
issue10887
review387211002
(grafted from 71e538c0e6ea1f94198927715e0da1d25e908fa5)

--HG--
branch : 6.0
2021-10-20 15:16:10 +02:00
Cédric Krier be88a0f62a Set the target field name in the context to get the size
The getter of 'data_size' field must use the name 'data' in the context instead
of 'data_size'.

issue10849
review383301002
(grafted from 7166741cf718c8750d1dae951df49eec989e2d7b)

--HG--
branch : 6.0
2021-10-19 00:22:08 +02:00