Commit Graph

11 Commits

Author SHA1 Message Date
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Xavier Morel 82f10f4ca2 [IMP] auth_crypt: port encrypt-at-install from f29ff5e
also move utility methods to class bottom to improve reading experience
(hopefully)
2014-06-19 09:44:40 +02:00
Xavier Morel 3b39e5f2cc [IMP] auth_crypt: variables naming 2014-06-19 09:19:56 +02:00
Xavier Morel d36f605f58 [IMP] auth_crypt: simplify get_pw 2014-06-19 09:14:21 +02:00
Xavier Morel fc846655d6 [IMP] auth_crypt: automatically upgrde deprecated hashes on login 2014-06-19 09:12:17 +02:00
Xavier Morel d9d8c94412 [IMP] auth_crypt: upgrade default kdf to pbkdf2_sha512
Applies to new and yet-to-be-encrypted users, existing already-encrypted will
keep logging in as usual, their password storage will be upgraded on next
password *change*.
2014-06-19 09:05:44 +02:00
Xavier Morel cf41752470 [IMP] auth_crypt: port to passlib instead of using embedded/hand-rolled md5crypt 2014-06-19 09:04:51 +02:00
Denis Ledoux b6cd0ea820 [FIX]auth_crypt: was storing password when passsing by res.users create, like auth_signup
bzr revid: dle@openerp.com-20130801162704-fbvghil7yir8zm8c
2013-08-01 18:27:04 +02:00
Denis Ledoux f551350b80 [FIX]auth_crypt: check_credentials checking if there is a password stored, if not, not trying to crypt anything and raise
bzr revid: dle@openerp.com-20130801151539-z0bes7ylx5qwa8tw
2013-08-01 17:15:39 +02:00
Antony Lesuisse e131d46932 [IMP] auth_crypt add sha256 from enhance_base_crypt_trunk (not enabled by default)
bzr revid: al@openerp.com-20121219113339-vhstwyo51jw0znqw
2012-12-19 12:33:39 +01:00
Antony Lesuisse 3f2de50afc [IMP] auth_crypt base_crypt cleanup
bzr revid: al@openerp.com-20121219112031-mtogxyq1fxsbopz0
2012-12-19 12:20:31 +01:00