Commit Graph
178 Commits
Author SHA1 Message Date
Cédric Krier f41cb86e69 Allow to disable Bus
issue7737
review60381002
2018-09-26 23:03:15 +02:00
Udo Spallek 75be7e9683 Clean install requirements
ipaddress and mock are part of stdlib in Python 3.4 at least.

issue7709
review48611002
2018-09-21 10:56:53 +02:00
Sergi Almacellas Abellana 615e50e080 Update documentation to use "activate-dependencies" instead of "install-dependencies"
issue7343
review52481002
2018-09-17 09:40:18 +02:00
Cédric Krier 5fadcc6c39 Add missing bus documentation in index and fix build warning 2018-09-01 14:29:51 +02:00
Nicolas Évrard eb04b82822 Add bus management
issue7537
review66341002
2018-08-30 11:15:01 +02:00
Cédric Krier e4a1a7fc8b Allow to set any default configuration value from environment
issue7620
review74301002
2018-08-27 22:32:45 +02:00
Cédric Krier 5a7aca31ea Manage session with max_age and timeout
and clear session when password is changed.

The sessions are checked using on a fix maximum age of 30 days using the
create_date value. The write_date is updated as long as the delay of the last
update is not bigger than the session timeout.
RPC can request a fresh session. A fresh session is a session that was updated
last time before the session timeout. If it is not the case, the session is
deleted and a request to create a new session is sent to the client.
All the sessions of the users for which the password has been changed are also
deleted in order to ensure that stolen session can no more be used.
We use this new feature for set_preferences of user instead of duplicate the
login mechanism.

issue7568
review53331002
2018-08-26 18:04:05 +02:00
Cédric Krier fac1c92bef Use passlib
issue4161
review51461002
2018-08-25 13:06:05 +02:00
Cédric Krier ae06a8bca2 Add transactional queue and workers
issue7406
review45461002
2018-07-27 09:32:28 +02:00
Cédric Krier 78b2811fff Prevent Cache to start too much new transactions
resets starts a transaction only if there is something to store.
clean is run at best every 5 minutes by default.

issue7533
review64261002
2018-07-10 17:03:49 +02:00
Cédric Krier 08d57b436d Remove cdecimal dependency
It is no more needed as it is standard under Python3
2018-06-27 10:42:15 +02:00
Cédric Krier 58f2725049 Allow to define view id in switch client action
issue7364
review36181002
2018-06-20 10:18:33 +02:00
Cédric Krier 1f6dcc3e56 Precise the view_ids order for Many2Many
issue7509
review47531002
2018-06-18 21:53:33 +02:00
Cédric Krier c1e08465dd Correctly document the behaviour of child_of/parent_of
issue7404
review46421002
2018-05-07 16:38:34 +02:00
Sergi Almacellas Abellana b06f72c1be Manage depends xml attribute on field tag
issue7127
review40081002
2018-03-26 10:33:02 +02:00
Nicolas Évrard dc8f111662 Add expand attribute on group tag
issue7220
review38061002
2018-03-23 16:29:35 +01:00
Sergi Almacellas Abellana ff2bded417 Ensure that all buttons are registered in ir.model.button
issue6389
review36621002
2018-03-01 11:59:23 +01:00
Cédric Krier 4a909f94a2 Add reset password
The reset password button generates a temporary random password which expires
after 1 day and is sent to the email address of the user.
The temporary password does not work as soon as a new password has been set.
The trytond-admin asks the email address for admin user and has an option to
set the admin email and to reset its password.

issue7037
review41761002
2018-02-23 19:13:19 +01:00
Sergi Almacellas Abellana 54f70e2971 Add depends on Button
issue6919
review40811002
2018-02-19 11:35:37 +01:00
Cédric Krier fbf488948b Limit authentication attempt per IP network
ip_address and ip_network are added to LoginAttempt.

issue7110
review41031002
2018-02-14 19:24:01 +01:00
Cédric Krier e8ee8dedac Manage 'X-Forwarded' headers from proxies
issue7110
review41031002
2018-02-14 19:23:11 +01:00
Cédric Krier b32d158d10 Remove MySQL backend
issue7017
review41771002
2018-01-24 20:12:42 +01:00
Nicolas Évrard 5673bdd98f Add keyword attribute to button tag
issue7067
review39101002
2018-01-24 14:32:09 +01:00
Cédric Krier 50f4a789c0 Allow field name on image tag
issue7058
review43891002
2018-01-23 22:13:30 +01:00
Cédric Krier cb29af71ad Replace unoconv by calling soffice directly
issue5907
review34341002
2018-01-12 16:25:20 +01:00
Cédric Krier e0b58b519b Fix documentation about registration of model class in the Pool
review43841002
2018-01-09 18:37:03 +01:00
Cédric Krier d6fff3938f Document order of view_ids of Many2One
issue6971
review43821002
2017-12-13 18:04:58 +01:00
Sergi Almacellas Abellana c1be67b037 Document how to create a report from client
issue6973
review43791002
2017-12-07 10:49:36 +01:00
Cédric Krier fdcac537e3 Document --update-modules-list option of trytond-admin
review36821002
2017-11-22 23:48:35 +01:00
Nicolas Évrard 8c1699f53a Add testing documentation
review35371002
2017-10-02 11:38:31 +02:00
Cédric Krier 5a1bc137a3 Add a maximum size for request
issue6619
review38441002
2017-09-03 11:32:17 +02:00
Cédric Krier f110fccf44 Add support for single record report
A single report render each record separately and return them in a zip file.
To ensure the uniqueness of the file in the zip, it uses the id of the record
but also the record name to be user-friendly.

issue6640
review37581002
2017-09-03 11:14:10 +02:00
Cédric Krier a5e82cb1e6 Add support for Flat OpenDocument
issue6545
review35031002
2017-08-31 22:52:16 +02:00
Cédric Krier 9ad70213a3 Add get_email in trytond.report
issue6671
review36511002
2017-08-28 23:15:14 +02:00
Nicolas Évrard cda13acb8c Add forgotten datetime reference from the documentation 2017-07-27 10:58:05 +02:00
Nicolas Évrard 6a762d9213 Remove obj from allowed expressions in XML's eval
issue6660
review35181002
2017-07-27 09:39:09 +02:00
Sergi Almacellas Abellana 6e92c8e3ba Add environment variables to wsgi script
issue6344
review32131002
2017-07-19 10:10:04 +02:00
Cédric Krier ef2f992b33 Remove string in top level view documentation example
The changeset ee18b469f847 removed the string attribute but not in the
documentation examples.

issue6593
review41411002
2017-06-27 12:42:12 +02:00
Sergi Almacellas Abellana 5dfd3b0791 Add localhost_name and timeout as get_smtp_server uri parameters
This allows a better customization of the smtp connection

issue6540
review39411002
2017-06-16 09:47:39 +02:00
Oriol Alfonso aff8847db4 Fix typo in user application documentation
issue6493
review40311002
2017-05-31 19:27:26 +02:00
Cédric Krier f7a6da3328 Add constraint on user password
issue6379
review28091002
2017-04-03 17:05:23 +02:00
Nicolas Évrard 5cee718423 Move low level handling of the SQL type to the backend
This changeset defines on the field the (somehow) abstract SQL type a field
should use letting the duty of specifying the real SQL type the database
supports and the conversion to/from the python types to the backend.

issue6351
review33951002
2017-03-31 12:44:22 +02:00
Cédric Krier 31bb48f5cb Remove warnings in doc generation and some typo
issue6353
review32141002
2017-03-21 23:26:59 +01:00
Cédric Krier ec400ed3a9 Set folder name 'db' in italic
This is to remove ambiguous interpretation for the default value of the
database path.
2017-03-10 13:11:32 +01:00
Cédric Krier afdc884277 Return 429 status when too many login attempts
This prevents to consume too much resource by sleeping over a very long period.

issue6215
review29161002
2017-02-02 11:55:44 +01:00
Florian Preinstorfer a4288f206f Update report documentation for office suite UI changes
The UI for office suites (LibreOffice, OpenOffice) has changed. Update the
description accordingly and fix a formatting issue.

issue6218
review29161003
2017-01-25 22:46:04 +01:00
Cédric Krier b60f97a948 Add negative value for col attribute
issue2090
review33661002
2016-12-21 23:17:19 +01:00
Cédric Krier 361ad96471 Add documentation about database update
review31791002
2016-12-19 10:05:48 +01:00
Cédric Krier f057bfd68f Use sale report as example for report replacement
The invoice report example does not work because it is managed by a wizard.

issue6054
review25821002
2016-11-25 10:49:48 +01:00
Cédric Krier f9c0457416 Remove support for simplejson
On Python 3, simplejson has a different behaviour than the stdlib json,
especially for dumping bytes.

issue6010
review33601002
2016-11-05 19:54:12 +01:00