Commit Graph
421 Commits
Author SHA1 Message Date
Cédric Krier 2ba9526d37 Prevent unecessary update of record when loading XML
review3061003
2014-01-31 22:26:55 +01:00
Cédric Krier f52fe8e45f Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:44:01 +01:00
Nicolas Évrard e8bdcd5550 Set the context's user when fetching user preferences
The call to _get_preferences makes some processing based on the user of the
context.

In order for those computations to return the right value the context must be
set when instanciating the user.

issue3068
review1711002
2013-12-10 12:01:30 +01:00
Nicolas Évrard 90324479f2 Backed out changeset a0dfdb90681e 2013-12-10 11:52:37 +01:00
Nicolas Évrard 55c58abdf5 Set the context's user when fetching user preferences
review1711002
2013-12-10 11:34:04 +01:00
Cédric Krier 2b2001f1ca Force UTC as timezone
issue3444
review1411002
2013-11-15 02:26:58 +01:00
Albert Cervera i Areny 34b420304e Add missing cache invalidations in res.group and res.user.
issue3447
review1381002
2013-10-28 21:38:14 +01:00
Cédric Krier 75e02ba2de User.get_preferences must return a copy
preferences is stored in the cache but as it is a mutable object, we must
return a copy to prevent cache corruption.

issue3442
review1351002
2013-10-27 19:27:19 +01:00
Cédric Krier da6334c765 Clean translations 2013-10-20 20:49:37 +02:00
Bruno M. Villasanti 735982d768 Update translation for es_AR. 2013-10-18 18:21:46 -03:00
Jordi Esteve 8174d664c6 Update translation for es_ES 2013-10-18 22:48:54 +02:00
Cédric Krier b4d102a48d Update french translation 2013-10-18 21:37:49 +02:00
Mathias Behrle 9539ba0fba Updating translation for de_DE. 2013-10-18 21:28:28 +02:00
Albert Cervera i Areny 6f366bb5d1 Update Catalan translation. 2013-10-18 16:42:53 +02:00
Oscar Alvarez 5c855aad2f Translation es_CO updated. 2013-10-17 20:12:11 -05:00
Venceslav Vezjak 1b7611893b Update translation for sl_SI 2013-10-15 08:44:17 +02:00
Venceslav Vezjak caf599336b Added Slovenian translations
New language added (sl_SI). Slovenian translations provided for
for internal modules (ir, res, webdav).

issue3367
review1068002
2013-09-26 06:59:08 +02:00
Cédric Krier b03788e6db Fix duplicate translations
- Fix unique constraint by using -1 instead of NULL for res_id
- Clean duplicate entries in po file

The unique constraint was not working when res_id was NULL because SQL consider
all of them as different.

The migration could fail if there is duplicate translation in the database. So
this query must be run until no more records are deleted:

DELETE FROM ir_translation WHERE id IN (SELECT MAX(id) FROM ir_translation GROUP BY name, res_id, lang, type, src_md5, module HAVING COUNT(1) > 1);

issue3355
review1087004
2013-09-22 14:33:39 +02:00
Cédric Krier fc6c6cfdda Migration to python-sql
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method

review1001002
2013-09-06 22:32:37 +02:00
Albert Cervera i Areny ff16377e0a Fix crash in login with incorrect password by renaming delete to remove
issue3346
review1044002
2013-08-30 07:46:45 +02:00
Cédric Krier adcf28d085 Store selection tree state
review822002
2013-08-01 17:09:10 +02:00
Cédric Krier e73367b9d0 Remove request
review720002
2013-05-21 12:09:46 +02:00
Cédric Krier c084d90205 Improve brute force attack protection
- Always sleep on login
- Use session timeout as limit to count fail attempt
- Sleep also for unknown login

review852002
2013-05-11 18:13:36 +02:00
Cédric Krier 411064a204 Clean translations 2013-04-21 17:36:35 +02:00
Bertrand Chenal 86c2f21f24 Update french translation 2013-04-20 00:54:47 +02:00
Mathias Behrle b27f6b6756 Update translation for de_DE 2013-04-19 23:40:50 +02:00
jesteve dccc7fe7e9 Update translation for es_ES 2013-04-19 21:02:43 +02:00
Albert Cervera i Areny 1e33d97374 Update Catalan translation. 2013-04-19 19:49:29 +02:00
Bruno M. Villasanti e8eb966186 Update translation for es_AR 2013-04-18 22:20:18 -03:00
Ilya Melnikov 5688b0ce9e Update ru_RU translation 2013-04-18 19:28:52 +06:00
Oscar Alvarez 2543ceb72d Trytond es_CO translation updated. 2013-04-11 09:39:04 -05:00
Cédric Krier d9dd0cf368 LoginAttempt.count must return an integer not a tuple
issue3096
2013-03-26 14:18:12 +01:00
Nicolas Évrard 549fb4fa88 Split the User class in order to prevent locking the table
issue2906
review625002
2013-03-23 19:18:03 +01:00
Cédric Krier a95ae0dad9 Remove _inherits
review670002
2013-03-20 22:49:16 +01:00
Cédric Krier f74b525a4d Fix Warning.check to use instance for delete
issue3065
review715002
2013-03-15 00:52:16 +01:00
Albert Cervera i Areny d3466b21c9 Remove _id suffixes from ir.model.field-res.group
review700002
2013-03-05 00:08:40 +01:00
Cédric Krier 5e01f5c068 Fix flake8 2013-02-27 22:50:31 +01:00
Cédric Krier cab7a9778e Move view translation into TranslationSet wizard
Since the possibility to have view XML in a separate file, the translation
synchronization can not be done anymore in the check_xml.

issue2926
review666003
2013-02-23 17:50:46 +01:00
Pierre-Louis Bonicoli e7ee28a15b 'Configure users' wizard: clean state after saving
issue2973
review657003
2013-02-18 00:40:02 +01:00
Albert Cervera i Areny 30b1403cdc Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier e0eecb9dae Missing migration to Rule.domain 2012-12-28 11:04:09 +01:00
Cédric Krier 8548615b32 Fix wrong cache name for User._get_login 2012-12-27 22:27:57 +01:00
Cédric Krier 0c652a7473 Replace (Field, Operator, Operand) by Domain in Rule
The current implementation requires to query the fields description in English
to allow to convert the operand into value. This is process is quite expensive
on the translation table.

review599002
2012-12-27 22:04:18 +01:00
Mathias Behrle 515276a556 Update translation for de_DE 2012-12-14 01:46:42 +01:00
Cédric Krier 5fc611575c Factorize selection validation
review603002
2012-12-13 19:18:37 +01:00
Cédric Krier eb820df535 Use globale cache also for Many2One and Reference fields
review590007
2012-12-10 16:15:24 +01:00
Cédric Krier 9f916c1391 Replace view shortcut by menu favorite
review584004
2012-11-27 21:35:12 +01:00
Cédric Krier 936dcca53a Store default language in database
review592004
2012-11-23 17:59:04 +01:00
Cédric Krier 864b16a5e8 Add ViewSearch
review590002
2012-11-16 20:11:51 +01:00
Cédric Krier fa282b2271 Add domains on Action Window
review588002
2012-11-16 00:52:42 +01:00