Commit Graph

49 Commits

Author SHA1 Message Date
Vo Minh Thu 5089a678cb [IMP] res_users.login(): eliminate a possibility to get a transaction rollbacked
because of concurrent access. This can happen when the same user is trying to log in
from many clients concurrently.

bzr revid: vmt@openerp.com-20120112084030-kkz1aztp5t6vkbh9
2012-01-12 09:40:30 +01:00
Olivier Dony bdce754108 [IMP] cleanup deprecated method=True param for function fields
bzr revid: odo@openerp.com-20120104133027-oaydmngk2dfc22mk
2012-01-04 14:30:27 +01:00
Fabien Pinckaers 6f293d0ec3 [IMP] useability: desactivate menutips by default
bzr revid: fp@tinyerp.com-20120104110226-izfzv94jdh54mum7
2012-01-04 12:02:26 +01:00
Raphael Collet f17b864c63 [FIX] res_users: add explicitly False in non-required selection group fields
bzr revid: rco@openerp.com-20111219083458-e0uqpa9vx52lnr9p
2011-12-19 09:34:58 +01:00
Olivier Dony 525d60523e [FIX] res.users: no global var for filtering groups, rather an overridable method
bzr revid: odo@openerp.com-20111215154048-qz7o4qqj9d1g439k
2011-12-15 16:40:48 +01:00
Olivier Dony 86f2aef370 [FIX] res_users: side-effect of virtual groups prevented users from saving their prefs
lp bug: https://launchpad.net/bugs/904626 fixed

bzr revid: odo@openerp.com-20111215120741-1lne9fjs67d7c42k
2011-12-15 13:07:41 +01:00
Raphael Collet 84d3670c94 [MERGE] users and groups: new implementation of group fields on users form view
bzr revid: rco@openerp.com-20111213141632-vk1uandq3q0szdbq
2011-12-13 15:16:32 +01:00
Fabien Pinckaers 33642e464a [IMP] useability board amdin
bzr revid: fp@tinyerp.com-20111212162133-ykfruug7qns3fwe9
2011-12-12 17:21:33 +01:00
Raphael Collet 6ae2f3b3e6 [FIX] res_users: ignore group fields in create and write when 'groups_id' is given
bzr revid: rco@openerp.com-20111209151855-hw23dp6a3ycs3pj8
2011-12-09 16:18:55 +01:00
Raphael Collet a15cfa48c6 [IMP] res_users: improve create, write, read, and default_get with group fields
bzr revid: rco@openerp.com-20111209134658-vmvfvlngoa1wd7y1
2011-12-09 14:46:58 +01:00
Raphael Collet e85fd9b685 [IMP] res_users: add domain when searching for groups by application
bzr revid: rco@openerp.com-20111209124821-vcvsjlwacb3xtz90
2011-12-09 13:48:21 +01:00
Raphael Collet 41501317ed [FIX] res_users: group fields shall be removed before write
bzr revid: rco@openerp.com-20111209103053-wnolmypihzj95b9u
2011-12-09 11:30:53 +01:00
Raphael Collet 251dc86e67 [IMP] res_users: improve get_groups_by_application
bzr revid: rco@openerp.com-20111209092700-v7vbcgmliydmo6up
2011-12-09 10:27:00 +01:00
Raphael Collet 823c79f510 [FIX] res_users: avoid coalesce in uniqueness constraint (not well supported)
bzr revid: rco@openerp.com-20111209081110-88zlxdt46tq4is4l
2011-12-09 09:11:10 +01:00
Raphael Collet cda72d1e96 [IMP] res_users: implement sorting on full_name
bzr revid: rco@openerp.com-20111209080319-otm4tr2ezw60109l
2011-12-09 09:03:19 +01:00
Raphael Collet 0940bea6f1 [IMP] make module category and group names translatable
bzr revid: rco@openerp.com-20111209080239-n58y4se9n6pjcll2
2011-12-09 09:02:39 +01:00
Raphael Collet 8059d3cadc [IMP] res_users: improve code for arch view generation
bzr revid: rco@openerp.com-20111207123504-g2mvkk4g4cp0exga
2011-12-07 13:35:04 +01:00
Raphael Collet f1fc682639 [FIX] res_users: do not store field 'full_name' of groups, as this would not work with translations
bzr revid: rco@openerp.com-20111207121101-cwjvy6dfu67ryh26
2011-12-07 13:11:01 +01:00
Raphael Collet ec12c2d32a [IMP] res_users: add comments
bzr revid: rco@openerp.com-20111207085002-ft2u77qab1m259d2
2011-12-07 09:50:02 +01:00
Raphael Collet c029699c5e [FIX] res_users: fix write() on selection group fields
bzr revid: rco@openerp.com-20111207084419-14xffbe63qa12g5y
2011-12-07 09:44:19 +01:00
Raphael Collet 92ce00ddb5 [IMP] res_users: simplify code
bzr revid: rco@openerp.com-20111207084332-y97sss2jx1cdztt3
2011-12-07 09:43:32 +01:00
Raphael Collet fdfcf965db [IMP] res_users: remove unused stuff
bzr revid: rco@openerp.com-20111206163200-pmw8n30nlnjn3foy
2011-12-06 17:32:00 +01:00
Raphael Collet 96878a5fc6 [IMP] res_users: remove unused methods get_closure and get_maximal
bzr revid: rco@openerp.com-20111206162356-rysxwfb47h3javtg
2011-12-06 17:23:56 +01:00
Raphael Collet a3424cf3e2 [IMP] res_users: improve comments
bzr revid: rco@openerp.com-20111206162020-tql7kmggqirq0oy6
2011-12-06 17:20:20 +01:00
Raphael Collet 6093f636f7 [IMP] res_users: simplify group categorization
bzr revid: rco@openerp.com-20111206135148-uu5vd4w15slr93cg
2011-12-06 14:51:48 +01:00
Raphael Collet 788eb62ac2 [IMP] res_users: improve access rights on user form
bzr revid: rco@openerp.com-20111206125642-hatpewnnxsg9nerx
2011-12-06 13:56:42 +01:00
Raphael Collet 9e1de990fd [IMP] res_users: add tips in selector group fields
bzr revid: rco@openerp.com-20111206110920-34fp50qt3v1hscef
2011-12-06 12:09:20 +01:00
Raphael Collet 12ce46102f res_users: reintroduce selectors for group fields
bzr revid: rco@openerp.com-20111206110515-4rhub0y2d0lbboac
2011-12-06 12:05:15 +01:00
Raphael Collet 720a6fb7dd [IMP] reimplemented user access rights form (basic)
bzr revid: rco@openerp.com-20111206091011-u7vgz4ig9p2ae2bl
2011-12-06 10:10:11 +01:00
Raphael Collet 4fdf1ab805 [FIX] groups: fix implementation of trans_implied_ids
bzr revid: rco@openerp.com-20111205111609-3ll31ozf871zrtly
2011-12-05 12:16:09 +01:00
Raphael Collet ac62aebefc [FIX] move definition of fields category_id and full_name, and fix unique name constraint
bzr revid: rco@openerp.com-20111202163022-ntc4ni944zwkm50n
2011-12-02 17:30:22 +01:00
Raphael Collet 92057d3d84 [IMP] add field category_id on groups
bzr revid: rco@openerp.com-20111202155624-hp2p1md2y4s4zcw0
2011-12-02 16:56:24 +01:00
Raphael Collet 0c2183b121 [IMP] res_users: rename function
bzr revid: rco@openerp.com-20111202141410-jcjr3ftaih7hs232
2011-12-02 15:14:10 +01:00
Raphael Collet 08d4845a49 [IMP] res_groups: add function field trans_implied_ids
bzr revid: rco@openerp.com-20111202140417-0hgg92yks1vprnem
2011-12-02 15:04:17 +01:00
Olivier Dony bde9585887 [FIX] res.users: incorrect passing of context as positional args causes off-by-one errors
bzr revid: odo@openerp.com-20111118150525-zmrd276b4d9tx15f
2011-11-18 16:05:25 +01:00
Fabien Pinckaers 8d7176a11e [IMP] Yaml scripts calls on_changes and fields_view_get by defaults
Very big change, this may emphasize some of the troubles, runbot can become red
  until we fix them all.

bzr revid: fp@tinyerp.com-20111114212627-5kdjxkws1lqm0c38
2011-11-14 22:26:27 +01:00
Christophe Simonis bd7c5ee6f8 [IMP] base: authenticate: use "base_location" key instead on "host"
bzr revid: chs@openerp.com-20111013143245-vrcs89hennc2beu4
2011-10-13 16:32:45 +02:00
Olivier Dony 97ba7be42d [IMP] res.users,web_services: new authenticate() API method for testing credentials
Provides a way to login for a given environment, passing
      user agent environment parameters.
      Currently used to initialize the web.base.url config
      parameter based on the web host whenever the admin user
      logs in.

bzr revid: odo@openerp.com-20111013104750-y0natm9v3wapn10l
2011-10-13 12:47:50 +02:00
Olivier Dony c18e1fc203 [FIX] res.users: last login time should use UTC like all server-side timestamps
bzr revid: odo@openerp.com-20111012162927-iq83m08vuwj43syz
2011-10-12 18:29:27 +02:00
Antony Lesuisse c71979e6ae [MERGE] /openerp/6.1 xmlrpc compliant
bzr revid: al@openerp.com-20110928220539-5q8eujk1l0q43d4x
2011-09-29 00:05:39 +02:00
Vo Minh Thu 8b2f8e1c88 [FIX] res_user: def read(..., fields, ...): fields must be optional.
bzr revid: vmt@openerp.com-20110927095345-3xj7e8fw87vcxpqy
2011-09-27 11:53:45 +02:00
Vo Minh Thu bbd10d96c0 [IMP] exceptions: replace ExceptionNoTb with AccessDenied.
bzr revid: vmt@openerp.com-20110926125358-8yy4tvnemfna72u7
2011-09-26 14:53:58 +02:00
niv-openerp 2508d7b985 [fix] problem when creating a new user without specifying any groups
bzr revid: nicolas.vanhoren@openerp.com-20110922093819-zzz9y9rt1seklhr1
2011-09-22 11:38:19 +02:00
Olivier Dony 90043e5b09 [FIX] res.users: fix user preferences form, broken by r.3526
bzr revid: odo@openerp.com-20110921155648-07bprt01zeuy9vm4
2011-09-21 17:56:48 +02:00
Olivier Dony caef9821a3 [MERGE] latest trunk
bzr revid: odo@openerp.com-20110906080822-tyadkxvycrx7bl1d
2011-09-06 10:08:22 +02:00
Antony Lesuisse be328ad7c3 [MERGE] trunk
bzr revid: al@openerp.com-20110827213628-4kflylkgtln6o4k4
2011-08-27 23:36:28 +02:00
Olivier Dony c90c1a735d [MERGE] latest trunk
bzr revid: odo@openerp.com-20110809160953-i1yrg5knplw4jy9l
2011-08-09 18:09:53 +02:00
Olivier Dony 2f09c00ff4 [IMP] res.users: correct send_welcome_email() for new ir.mail_server code
bzr revid: odo@openerp.com-20110722103455-fmki73twnj9lczhx
2011-07-22 12:34:55 +02:00
Olivier Dony cba29d45e4 [IMP] res.users: rename python module to match model name
bzr revid: odo@openerp.com-20110720163457-22t8wqwfkuz9rsr2
2011-07-20 18:34:57 +02:00