Commit Graph
20 Commits
Author SHA1 Message Date
Cédric Krier cd694996f5 Import backend before transaction
because transaction import backend which can import transaction back. This
raises an ImportError as transaction is not still importing.

issue8836
2019-12-07 15:39:23 +01:00
Nicolas Évrard 8fb13634ea Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:47 +01:00
Cédric Krier 1c4067891e Do not start a transaction to init database
An uninitialized database does not have the ir_cache table so Transaction.start fails.

issue8032
review72391002
2019-01-28 09:15:33 +01:00
Cédric Krier da24071467 Make Cache transactional
We implement sync, commit and rollback to follow transaction semantic.
When a transaction clears a cache, the global cache is cleared only when the
transaction is committed meanwhile the transaction will use a cache for itself
only.
We remove _nocache option because the sync, commit and rollback operate only
for the transaction.

issue7975
review53521002
2019-01-18 11:57:11 +01:00
Cédric Krier 49399cf6e0 Fill main language in ir.configuration at database initialization
issue7535
review49491002
2018-07-02 23:23:52 +02:00
Cédric Krier d2a461390a Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:19 +02:00
Cédric Krier 0aed819d47 Add hostname configuration to list database
issue7375
review44991002
2018-05-22 23:42:35 +02:00
Sergi Almacellas Abellana 9771137d6a Include inactive users when searching for admin user
issue7396
review45451002
2018-05-10 17:22:53 +02:00
Xavier Codinas afe5c180b4 Rename "install-dependences" into "activate-dependencies"
issue7343
review50281002
2018-05-09 15:30:48 +02:00
Sergi Almacellas Abellana 8e80421ae2 Set admin password when TRYTONPASSFILE environment variable is set
This behaviour was wrongly removed in changeset 5ade83a210f0

issue7221
review37091002
2018-03-16 11:53:47 +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 7de2022a2d Remove line breaks from password file
issue6657
review41461002
2017-07-25 09:35:50 +02:00
Sergi Almacellas Abellana e3455875fb Add option to install module dependencies with trytond-admin
issue5696
review29361002
2017-06-30 09:50:49 +02:00
Kurt Miebach 5af7ff1117 Improve password dialog and error messages
- Ask password of user "admin" instead of 'Admin'
- Use double quotes for user name and db name
- Terminate error messages with fullstop instead of exclamation mark.

issue6566
review35061002
2017-06-18 15:24:41 +02:00
Cédric Krier 42e5bca015 Disable transaction cache when initialize database from command line
issue6216
review30001002
2017-02-10 11:05:02 +01:00
Sergi Almacellas Abellana 1bfc16bcf2 Allow to specify translatable languages in trytond-admin
issue5961
review27711002
2016-10-24 14:12:57 +02:00
Cédric Krier 29d05d2b1d Ensure main language is loaded and translatable
issue5959
review27701002
2016-10-20 11:45:32 +02:00
Cédric Krier 599dbd035e Add option to reset admin password with trytond-admin
issue5385
review23251003
2016-07-08 10:45:46 +02:00
Xavier Codinas 7e359d5c2b Add option to update modules list
issue2638
review26431002
2016-07-07 09:43:01 +02:00
Cédric Krier 8a4ba59b2d Switch to WSGI API
issue4646
review20541003
2016-03-15 16:57:26 +01:00