Commit Graph

69 Commits

Author SHA1 Message Date
Fabien Pinckaers ed7623fc45 [IMP] Performance improvement: improved cache with context, better get_object
bzr revid: fp@tinyerp.com-20131130154659-uqis34x2cemmocly
2013-11-30 16:46:59 +01:00
Olivier Dony c02afb45fa [MERGE] Forward-port of bugfixes from saas-1 series up to rev.8759 rev-id: odo@openerp.com-20130820152607-0p0fx87v1rqhk3vy
bzr revid: odo@openerp.com-20130820165258-3mjzbo990xg44dfu
2013-08-20 18:52:58 +02:00
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
Martin Trigaux ccb38117ee [MERGE] Forward porting of saas-1 until rev 8739
bzr revid: mat@openerp.com-20130605090453-e4mg37kms5j1r18n
2013-06-05 11:04:53 +02:00
Thibault Delavallée 27839fead3 [CLEAN] auth_signup, mail_mail: better management of exceptions when sending emails, delegated to mail_mail.
bzr revid: tde@openerp.com-20130604151508-7bd8gxhkr86fuybp
2013-06-04 17:15:08 +02:00
Thibault Delavallée 87ca825ae1 [IMP] auth_signup: now manage assertionerror, especially when having a login / email that is not valid.
bzr revid: tde@openerp.com-20130531092606-q2gwhtd8j2lva3yo
2013-05-31 11:26:06 +02:00
Thibault Delavallée c93c8935ad [IMP] mail: now may raise exception instead of just logging it. They are used in auth_signup to avoid having the process considering the invite/reset password email was sent when it was not.
bzr revid: tde@openerp.com-20130524114857-8wy5uob23i2d6b6p
2013-05-24 13:48:57 +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
Thibault Delavallée 16ea25646e [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130515083000-3b033tyihxmubykh
2013-05-15 10:30:00 +02:00
Thibault Delavallée a027590d6e [CLEAN] Some code cleaning about context management
bzr revid: tde@openerp.com-20130515082939-oediun6cb9wd87lh
2013-05-15 10:29:39 +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
Christophe Matthieu 329459237f [FIX] auth_signup: if not context: context = {}
bzr revid: chm@openerp.com-20130416103002-sdbrpbnwxkx0qcpw
2013-04-16 12:30:02 +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
Christophe Matthieu 177f51cb54 [IMP] auth_signup: change reset_password to no_reset_password context value
bzr revid: chm@openerp.com-20130410130244-3ef6mpw6s09xjn75
2013-04-10 15:02:44 +02:00
Christophe Matthieu 53c1b28ace [IMP] res_user: Don't raise if there are no outgoing server
bzr revid: chm@openerp.com-20130327132101-fxbgemek27hv93li
2013-03-27 14:21:01 +01: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