Commit Graph

58 Commits

Author SHA1 Message Date
Olivier Dony 788eb29237 [MERGE] Forward-port of 7.0 bugfixes up to rev.9369 rev-id: launchpad_translations_on_behalf_of_openerp-20130820051502-deoiql3lru7goosd
bzr revid: odo@openerp.com-20130820152607-0p0fx87v1rqhk3vy
2013-08-20 17:26:07 +02:00
Denis Ledoux 6c25b2df25 [FIX]auth_oauth: auth_oauth handle oauth error 3, auth_oauth_signup raise accessdenied instead of signuperror, auth_signup use literal_eval instead of safe_eval
bzr revid: dle@openerp.com-20130809145506-agzyvk8m1pr858jf
2013-08-09 16:55:06 +02:00
Olivier Dony 710d2a37cc [MERGE] auth_signup, portal: fix error handling when granting portal access + always send notification message including signup URL
bzr revid: odo@openerp.com-20130522105332-nl2gq346nb95wbru
2013-05-22 12:53:32 +02:00
Quentin (OpenERP) 429ef87172 [MERGE] accounts* modules: forward port of revision 9033 of addons v7 that was passing 'account_period_prefer_normal=True' in the context in each and every call to account_period.find(). The behaviour is modified in order to search only on normal periods by default
bzr revid: qdp-launchpad@openerp.com-20130418094147-q2ks4w47sn4fxdv2
bzr revid: qdp-launchpad@openerp.com-20130418103907-0qom5yfcq8osnovp
2013-04-18 12:39:07 +02:00
Olivier Dony 05d0c3cb48 [FIX] auth_signup: upon signup of new user, the company_id[s] of the corresponding partner must be used
The default was to use those of the template user,
which may not be correct in multi-company cases.

bzr revid: odo@openerp.com-20130415173901-sevyy27244m6iks0
2013-04-15 19:39:01 +02:00
Quentin (OpenERP) 2b64c79c3d [MERGE] forward port of fixes made in v7 addons branch up to revision 8872
bzr revid: qdp-launchpad@openerp.com-20130318122717-qptmntn26bx4wn8r
2013-03-18 13:27:17 +01:00
Fabien Meghazi 659c5f0059 [REM] Removed one state
bzr revid: fme@openerp.com-20130314160141-5hrurkcy4w3wc4ca
2013-03-14 17:01:41 +01:00
Fabien Meghazi dbfff7d213 [MERGE] 7.0
bzr revid: fme@openerp.com-20130314155944-hhfaoiu31i8716tn
2013-03-14 16:59:44 +01:00
Fabien Meghazi 3c8dbf0ad5 [FIX] Fixed infobox attrs
bzr revid: fme@openerp.com-20130314115028-f2x6is15jmicaumc
2013-03-14 12:50:28 +01:00
dle@openerp.com 410bb553c2 [IMP]auth_signup: state wording
bzr revid: dle@openerp.com-20130314114130-ljeha8ys7vhdmf4y
2013-03-14 12:41:30 +01:00
Fabien Meghazi 38e9b66af9 [REM] Removed reset_password notification
bzr revid: fme@openerp.com-20130313162651-614fv1kefo46jszw
2013-03-13 17:26:51 +01:00
Fabien Meghazi 00eb6837dd [ADD] Added res.users auth_signup infobox for reset password
bzr revid: fme@openerp.com-20130313162045-zuzl2p2ooijjmvl6
2013-03-13 17:20:45 +01:00
Antonin Bourguignon 75f80571df [IMP] introduce two examples of use of the new get_config_warning() helper
Typical use: self.pool.get("res.config.settings").get_config_warning(cr, _("Excpt message"), context)
More documentation and examples in res_config.py doc (see method get_config_warning())

bzr revid: abo@openerp.com-20130214173413-lm4jm86eolinwz69
2013-02-14 18:34:13 +01:00
Antonin Bourguignon 496a580335 [IMP] let the code breathe
bzr revid: abo@openerp.com-20130214173156-e2o3ovrg6t8et90g
2013-02-14 18:31:56 +01:00
dle@openerp.com bd2aa9bc32 [FIX]Bug: Forgotten password Nonetype has no object get
bzr revid: dle@openerp.com-20130131120834-czexk26wrmvk99i2
2013-01-31 13:08:34 +01:00
dle@openerp.com b1c6ae39a2 [FIX]Set password mail on user create (auth_signup)
bzr revid: dle@openerp.com-20130122145925-xmf04tevib4fj4lc
2013-01-22 15:59:25 +01:00
Thibault Delavallée c7a865754d [IMP] auth_signup: added a model parameter for generating URLs. Portal: improved code and url generation for links in send emails.
bzr revid: tde@openerp.com-20130104113241-z4go3ac6qtl23ke8
2013-01-04 12:32:41 +01:00
vta vta@openerp.com 8a27d3d138 [IMP] Show notification when sending a reset password mail
bzr revid: vta@openerp.com-20130102101805-xnh9ixoo8b3yc14i
2013-01-02 11:18:05 +01:00
vta vta@openerp.com 821ac67536 [FIX] Do not raise exceptions in action_change_password
bzr revid: vta@openerp.com-20121231153850-v9tncegddfruohsi
2012-12-31 16:38:50 +01:00
vta vta@openerp.com a9e53f724f [FIX] Fix reset password token issue
bzr revid: vta@openerp.com-20121231150239-oeuvnwbpsvyzh5v5
2012-12-31 16:02:39 +01:00
Antony Lesuisse 6e0cd39df6 [MERGE] auth password wizard
bzr revid: al@openerp.com-20121220170950-hyrws7c67qjgpxl5
2012-12-20 18:09:50 +01:00
vta vta@openerp.com 5d729481de [IMP] Show alert when sending a mail to reset password (or failure)
bzr revid: vta@openerp.com-20121220141151-z3hd9i95eydd6l1h
2012-12-20 15:11:51 +01:00
vta vta@openerp.com 6116d9ae0e [FIX] fixed anonymous autologin, and autojump to oauth provider directly
bzr revid: vta@openerp.com-20121218153255-14mwitd6q06bbyor
2012-12-18 16:32:55 +01:00
vta vta@openerp.com c8da4d8f90 [FIX] Difference between signup and reset password (1)
bzr revid: vta@openerp.com-20121217163357-zubkzfv6xn1g4sc3
2012-12-17 17:33:57 +01:00
vta vta@openerp.com 8104613242 [MERGE] Latest trunk + resolve conflicts
bzr revid: vta@openerp.com-20121214123456-s8rb12lmd3fi8t94
2012-12-14 13:34:56 +01:00
Raphael Collet 34100dd535 [IMP] auth_signup: improve code that makes a signup url by using urlencode instead of manual stuff
bzr revid: rco@openerp.com-20121214104329-jhflp8vxwy4wzc10
2012-12-14 11:43:29 +01:00
vta vta@openerp.com 56d9ca47c1 [FIX] Remove duplicated db param in _get_signup_url_for_action
bzr revid: vta@openerp.com-20121214103451-xcntno6j770rcegg
2012-12-14 11:34:51 +01:00
vta vta@openerp.com 1eba13070c [FIX] Pass True as parameter to 'email.template' send_mail method on action_reset_password as it's needed in order to send the mail (else send_mail returns the msg_id and delegates the send process to calling method)
bzr revid: vta@openerp.com-20121213122217-sou9gklbqspd4hcx
2012-12-13 13:22:17 +01:00
Raphael Collet 11b3bbce1c [FIX] auth_signup: automatically invite new users to set their password *only* when created from the users form view
bzr revid: rco@openerp.com-20121206093603-5zru6o160v20553h
2012-12-06 10:36:03 +01:00
Raphael Collet 699a332377 [IMP] auth_signup: automatically invite new users to set their password (if they have an email address)
bzr revid: rco@openerp.com-20121203155757-a93sl67rubl3eoov
2012-12-03 16:57:57 +01:00
Raphael Collet 41ceffd52b [ADD] auth_signup: merge in functionality of auth_reset_password
bzr revid: rco@openerp.com-20121203144424-39wrr5z78smswox2
2012-12-03 15:44:24 +01:00
Raphael Collet 572f0a76d8 [FIX] auth_signup: change the user status to 'reset' when a valid signup token is present
bzr revid: rco@openerp.com-20121128090335-rq0xpjajg6bt2xde
2012-11-28 10:03:35 +01:00
Raphael Collet 8ea7076745 [IMP] auth_signup: generalize the signup method in order to allow signup via oauth
bzr revid: rco@openerp.com-20121123153538-cqnuvqjhp4g44sef
2012-11-23 16:35:38 +01:00
Olivier Dony 340ec6d5c3 [IMP] auth_signup: pass db in query string params, in order to trigger mono-db mode
Works after recent monodb patch in web,
at rev.3460 rev-id: al@openerp.com-20121119170802-gdrh1nrj3vtogfvw

bzr revid: odo@openerp.com-20121119175114-3conxxaym32eflgp
2012-11-19 18:51:14 +01:00
Olivier Dony ac7e2607ff [IMP] auth_signup: allow passing more options to signup URL
bzr revid: odo@openerp.com-20121116161554-9laa2orf0l9kl5ju
2012-11-16 17:15:54 +01:00
Antony Lesuisse cdd2398496 [MERGE] auth_signup jsonrpc instead of post and redirect
bzr revid: al@openerp.com-20121103144237-5otizomez1du5iyq
2012-11-03 15:42:37 +01:00
Christophe Simonis 9b1daf3861 [FIX] auth_signup: do the signup via ajax, allowing web client to respect hash values and execute initially asked action
bzr revid: chs@openerp.com-20121023191805-6ct40v4klj75fdpx
2012-10-23 21:18:05 +02:00
Antony Lesuisse 462eccb10d [FIX] auth_signup pass on the state
bzr revid: al@openerp.com-20121011000534-w3wa7m3mh1znylde
2012-10-11 02:05:34 +02:00
Raphael Collet 295e96d528 [IMP] auth_signup: add state (function field) on res.users: new, active, resetting password
bzr revid: rco@openerp.com-20121002145757-2m4dj7t5zq2sztfc
2012-10-02 16:57:57 +02:00
Raphael Collet c2a1e7e15d [FIX] auth_signup: fix condition to test validity of signup token
bzr revid: rco@openerp.com-20121001150333-dcf9co7bpsau5x2k
2012-10-01 17:03:33 +02:00
Raphael Collet 05aaabdbdd [IMP] auth_signup, portal: include a correct login/signup url in partner emails
bzr revid: rco@openerp.com-20121001091441-axamc9xp9nq5ibk2
2012-10-01 11:14:41 +02:00
Raphael Collet ad2d3c360f [IMP] auth_signup: fallback to login when token is no longer valid but user exists
bzr revid: rco@openerp.com-20120928142103-3a4vbs7y3gw135qm
2012-09-28 16:21:03 +02:00
Raphael Collet 3efe72ad6a [IMP] auth_signup: simplify user creation in signup, thanks to the fix of method copy()
bzr revid: rco@openerp.com-20120928120944-a2hgusq8gg3qf83n
2012-09-28 14:09:44 +02:00
Raphael Collet bf5395ab3d [IMP] auth_signup: add function fields signup_valid, signup_url, and method prepare_signup
bzr revid: rco@openerp.com-20120928085843-0erxrzva9lk5tqfh
2012-09-28 10:58:43 +02:00
Raphael Collet b80d84aafc [IMP] auth_signup: remove temporary function field signup_url, and clean methods
bzr revid: rco@openerp.com-20120927082704-wtuvir9tm2pgsvnq
2012-09-27 10:27:04 +02:00
Raphael Collet 479dfb7ea0 [FIX] auth_signup: fix the creation of a user attached to a partner from a user template
bzr revid: rco@openerp.com-20120926150459-9degade1ra9sk0ds
2012-09-26 17:04:59 +02:00
Raphael Collet e184913f34 [FIX] auth_signup: store and retrieve config parameters that may be null
bzr revid: rco@openerp.com-20120925125522-2t74fta15yfoesc1
2012-09-25 14:55:22 +02:00
Raphael Collet aceae3501e [IMP] auth_signup: extend the login form to allow signups
bzr revid: rco@openerp.com-20120925104013-f2vfqcjknx7zyo26
2012-09-25 12:40:13 +02:00
Raphael Collet d19ea766fa [IMP] auth_signup: improve API and implementation of signup
bzr revid: rco@openerp.com-20120924082609-75dnuzwrlhtvafh4
2012-09-24 10:26:09 +02:00
Raphael Collet 7873305eb1 [IMP] auth_signup: define new model and methods for signup
bzr revid: rco@openerp.com-20120921104237-krjff0k8lvhric8c
2012-09-21 12:42:37 +02:00