Commit Graph

54 Commits

Author SHA1 Message Date
Jairo Llopis 5425316eff [FIX] auth_signup: no SQL error for duplicated user
In case of registration with an already existant user, an SQL error 'duplicate
key value violates unique constaint res_users_login_key...'
Replace by a more user friendly error.

Fixes #10068, opw 659913
2015-12-16 14:16:49 +01:00
Christophe Simonis 2451dfcee4 [FIX] auth_signup: set request lang to created user. 2015-06-17 14:32:53 +02:00
Fabien Meghazi 8eed143112 [IMP] Invert multilang logic in route decorator. True by default, can be set to False explicitlty 2014-05-13 11:35:45 +02:00
Christophe Simonis d93b79e6f4 [MERGE] forward port of branch saas-3 up to revid 9345 dle@openerp.com-20140324110349-e82t1bmmtjqbl85k
bzr revid: chs@openerp.com-20140324133811-4az1kvbznd26seow
2014-03-24 14:38:11 +01:00
Fabien Meghazi 2ed053642a [IMP] oaut & signup, redirect if already logged in
bzr revid: fme@openerp.com-20140312112141-uvo89w4ovmzq5ozq
2014-03-12 12:21:41 +01:00
Fabien Meghazi 312991ca1e [FIX] ensure_db() on inherited /web/login controllers
bzr revid: fme@openerp.com-20140227164141-1sblr0g6ta66q1em
2014-02-27 17:41:41 +01:00
Fabien Meghazi 152e70e9fa [IMP] seperation of auth_signup's reset password and signup routes
bzr revid: fme@openerp.com-20140227154955-tnxyzw1ynuwlo5mj
2014-02-27 16:49:55 +01:00
Fabien Meghazi 2868e9a6ac [MERGE] upstream
bzr revid: fme@openerp.com-20140227101725-7egd9xq859jasnhj
2014-02-27 11:17:25 +01:00
Fabien Meghazi 35a7182893 [MERGE] upstream
bzr revid: fme@openerp.com-20140225104654-d1ni7z5t8w0qc7mw
2014-02-25 11:46:54 +01:00
Denis Ledoux 4821fad601 [FIX] auth_signup: fix route when mode signup or reset
Do not call super web_login when in mode reset or signup mode, as this is non-sense.

bzr revid: odo@openerp.com-20140219110335-lz7ti2r1dxst36ty
2014-02-19 12:03:35 +01:00
Fabien Meghazi 6f670c58ce [REM] Removed lazy response usage
bzr revid: fme@openerp.com-20140219103032-5pc50taemkc6x0qo
2014-02-19 11:30:32 +01:00
Christophe Simonis c64a762d06 [FIX] auth_signup: correct authentification after successfull signup
bzr revid: chs@openerp.com-20140213190845-azch00bppzp1pk0d
2014-02-13 20:08:45 +01:00
Christophe Simonis 8d5da6b8b4 [FIX] auth_signup: when POSTing signup data, there is always an error in qcontext as default behaviour is trying to login with data (error injected by super() call)
bzr revid: chs@openerp.com-20140211140255-mv84m6fb0sqkflm5
2014-02-11 15:02:55 +01:00
Christophe Simonis cebbede4c6 [FIX] auth_signup: do not shadow errors
bzr revid: chs@openerp.com-20140211132901-o7e8cup1hlc6mxzf
2014-02-11 14:29:01 +01:00
Fabien Meghazi ebb03132a6 [ADD] multilang for auth_signup
bzr revid: fme@openerp.com-20140211132639-wcb2zrm0gnwnja1t
2014-02-11 14:26:39 +01:00
Fabien Meghazi 1d359eab49 [FIX] Use correct uid for rendering and cheat for website
bzr revid: fme@openerp.com-20140211124741-4y2z1szvakcy76tn
2014-02-11 13:47:41 +01:00
Fabien Meghazi b9b42fadd0 [REM] ensure_db() nonsense
bzr revid: fme@openerp.com-20140211112229-9h52fb3zy6g4uo3w
2014-02-11 12:22:29 +01:00
al@openerp.com a3710efdb1 dirty fix for auth_signup
bzr revid: al@openerp.com-20140208004731-atwco93ghwspmlh3
2014-02-08 01:47:31 +01:00
Fabien Meghazi 55c61046b9 [FIX] Do not allow signup and reset_password when no token given and opt-in has not been done in config
bzr revid: fme@openerp.com-20140206091722-xc8dv4whp1eb07z4
2014-02-06 10:17:22 +01:00
Fabien Meghazi bce084bac2 [IMP] Seperate signup and reset into two controllers and templates
bzr revid: fme@openerp.com-20140205183232-fmlin6kiycu6bu0j
2014-02-05 19:32:32 +01:00
Fabien Meghazi 9ffb9d5632 [REM] Removed LoginForm javascript related
bzr revid: fme@openerp.com-20140205092354-oa6qxm0fsuojhuc2
2014-02-05 10:23:54 +01:00
Fabien Meghazi 967c9db196 [FIX] never let me commit in saas-3 again
bzr revid: fme@openerp.com-20140203124516-l8wwu9vdyo2nu2s0
2014-02-03 13:45:16 +01:00
Fabien Meghazi 4bf0284d4b [IMP] Cosmetic change for easier debugging
bzr revid: fme@openerp.com-20140203122300-pduwmt5z5cprehey
2014-02-03 13:23:00 +01:00
Fabien Meghazi e974e1fbea [REM] remove disable_db and ensure_db() from addons
bzr revid: fme@openerp.com-20140130092308-s24a7h2mhzuaasf1
2014-01-30 10:23:08 +01:00
Fabien Meghazi 031523fa5b [FIX] use of http#ensure_db in auth_* modules
bzr revid: fme@openerp.com-20140128211723-3135gyn0raxjz8qc
2014-01-28 22:17:23 +01:00
Christophe Simonis 4a965b96e5 [FIX] auth_signup: +s
bzr revid: chs@openerp.com-20140128142132-skzuuzmkhvsl1sgz
2014-01-28 15:21:32 +01:00
Christophe Simonis 317a236a59 [IMP] auth_signup: allow overwrite of signup page
bzr revid: chs@openerp.com-20140128135507-uvzpqqjzik2inyu3
2014-01-28 14:55:07 +01:00
Xavier Morel f70e542556 [CHG] python 2.6 compat'
bzr revid: xmo@openerp.com-20140122161727-0inchgb570e1r7pi
2014-01-22 17:17:27 +01:00
Fabien Meghazi fff55213b5 [IMP] auth_signup converted to server side module
bzr revid: fme@openerp.com-20140121152027-7wch4r7dt2ew0did
2014-01-21 16:20:27 +01:00
Fabien Meghazi c3f7ab7ddd [WIP] auth_signup
bzr revid: fme@openerp.com-20140117141806-r6f1dejdcg7ii1e0
2014-01-17 15:18:06 +01:00
Antony Lesuisse 3d8b7984be import cleanups part1
bzr revid: al@openerp.com-20131022170659-kg9err029ha22evh
2013-10-22 19:06:59 +02:00
Thibault Delavallée 3e8f06ad06 [FIX] auth_signup: refactoring to new framework introduced an authentification level to user for login; none seems to be required because the user is not authentified anymore.
bzr revid: tde@openerp.com-20130703134953-ltdsi9m409mrev2c
2013-07-03 15:49:53 +02:00
niv-openerp a574ce71bf Small refactoring
bzr revid: nicolas.vanhoren@openerp.com-20130621124534-bvsjihld3j9vqpkw
2013-06-21 14:45:34 +02:00
niv-openerp 56f2e7631f Some more refactoring to use @route()
bzr revid: nicolas.vanhoren@openerp.com-20130620100122-3mtvqr1w5yrikitk
2013-06-20 12:01:22 +02:00
niv-openerp f3bd6b3baf Added @nodb where it is required
bzr revid: nicolas.vanhoren@openerp.com-20130611165947-36997uizrxtnore0
2013-06-11 18:59:47 +02:00
dle@openerp.com 64e0800251 [FIX]auth_signup: signup controllers signatures uses **values instead of login,password,...
bzr revid: dle@openerp.com-20130305143204-p0a12q9ujrhxu67d
2013-03-05 15:32:04 +01:00
Fabien Meghazi 977eaed2c8 [FIX] make a json request out of reset_password
bzr revid: fme@openerp.com-20130226161925-v8sr2r1zgcki6n3z
2013-02-26 17:19:25 +01:00
Raphael Collet 88053a85a2 [IMP] auth_signup: move exception guard from second-order method to controller method
bzr revid: rco@openerp.com-20121206132446-w1884yc337wj037d
2012-12-06 14:24:46 +01:00
Raphael Collet 4d200952f7 [IMP] auth_signup: on login page, show the links 'Sign Up' and 'Reset Password' only when enabled
bzr revid: rco@openerp.com-20121203154811-1v0f3eu444rkw6cp
2012-12-03 16:48:11 +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 48a854522a [IMP] auth_signup: split controller method to allow overridding
bzr revid: rco@openerp.com-20121123160048-vaeiyeok9x430dku
2012-11-23 17:00:48 +01:00
Olivier Dony c9d5148991 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121107114202-mt3gny8e2497m7qf
2012-11-07 12:42:02 +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
Olivier Dony c7757baf77 [IMP] edi: ported web part to 7.0 + removed the EDI preview- and export-related parts
As started in previous commits, in 7.0 there is no more
static storage of exported EDI documents, and they are
instead replaced by the improved portal - which will
provide the preview as well as export capabilities.
(The export might be added in a second phase)

bzr revid: odo@openerp.com-20121016122913-ndl0l36buhku3kxy
2012-10-16 14:29:13 +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
Antony Lesuisse 84a7523a63 [IMP] remove standalone web client, fix imports
bzr revid: al@openerp.com-20121010204617-ah29rz616xo7i2dr
2012-10-10 22:46:17 +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 9906a2bda1 [IMP] auth_signup: improve error message handling in web client
bzr revid: rco@openerp.com-20120925143433-p4r2gl6t37dw0s17
2012-09-25 16:34:33 +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