Commit Graph

59 Commits

Author SHA1 Message Date
Christophe Simonis 83a4a582fa [MERGE] forward port of branch saas-3 up to 513cea6 2015-12-08 12:28:41 +01:00
Christophe Simonis 513cea69c6 [FIX] auth_oauth: do not transfer `debug` flag to OAuth provider
This parameter is not part of the spec [1] and may not be supported by
all OAuth providers.

[1] http://tools.ietf.org/html/rfc6749#section-4.2.1
2015-12-08 12:16:42 +01:00
Denis Ledoux 36a6876980 [FIX] auth_oauth: avoid double slashed redirect urls 2015-01-12 12:02:06 +01:00
Christophe Simonis 68134d38a3 [FIX] auth_oauth: ignore "debug" argument when converting fragment to query string 2014-12-12 15:11:08 +01:00
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +02:00
Olivier Dony d9cda97cf4 [MERGE] Forward-port saas-4 up to 5ceded9 2014-07-05 01:28:19 +02:00
Olivier Dony 5ceded9d69 [MERGE] Forward-port saas-3 up to 4fa30f5 2014-07-05 01:04:19 +02:00
Richard Mathot 376cdf36b4 [FIX] auth_oauth: prevent crash on login screen
Empty URLs for OAuth providers do not crash anymore the login screen
2014-07-02 13:56:11 +02:00
Christophe Simonis adf07a9490 [MERGE] forward port of branch saas-4 up to 5087612 2014-06-19 16:13:35 +02:00
Christophe Simonis 5087612d1d [MERGE] forward port of branch saas-3 up to bf53aed 2014-06-19 15:44:07 +02:00
Denis Ledoux b587038570 [FIX] auth_oauth: url_unquote_plus does not handle boolean
If the redirect param 'r' is not in the state, do no try to unquote it
2014-06-17 09:26:20 +02:00
Denis Ledoux a3cfe1728d [FIX] auth_oauth: unquote redirect url from state
This is related to 2db6a0080f. Looks like Firefox auto unquote, but not Chrome
2014-06-16 22:52:50 +02:00
Denis Ledoux 2db6a0080f [FIX] auth_oauth: quote redirect url in state
Otherwise, Firefox is splitting the state at the first &, which can potentially be located in the redict param of the state
2014-06-16 22:40:31 +02:00
Denis Ledoux 0a537dae91 [FIX] auth_oauth: missing res_users.py diff from rev 33bfec2174
Most probably due to github migration
+  fix: directly redirect to login redirect paramas, instead of redirecting on the complete  web/login + redirect url
2014-06-02 18:47:41 +02:00
Christophe Simonis 8ac408f70e [FIX] auth_oauth: controller need to inherit from auth_signup controller 2014-06-02 15:17:58 +02:00
Christophe Simonis 3a7e003656 [MERGE] forward port of branch saas-3 up to revid 9394 chs@openerp.com-20140410103638-x7vajn70ewsfp0ck
bzr revid: chs@openerp.com-20140410110424-enhdg6pufhii56ni
2014-04-10 13:04:24 +02:00
Denis Ledoux ff76882701 [FIX] auth_oauth: avoid infinite loop while trying to sign in
bzr revid: dle@openerp.com-20140407155919-vm32q6nvcit59026
2014-04-07 17:59:19 +02:00
Denis Ledoux 6027657e3e [FIX] auth_oauth: redirect to url before sign in
bzr revid: dle@openerp.com-20140407150027-z46yxuh3a9uqoz26
2014-04-07 17:00:27 +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 a8f513f4f2 [MERGE] upstream
bzr revid: fme@openerp.com-20140312152942-egbzui0drs85wt7i
2014-03-12 16:29:42 +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
Christophe Simonis d504764eff [MERGE] forward port of branch saas-3 up to revid 9298 chm@openerp.com-20140311130852-3ft0v1mc9ht1any6
bzr revid: chs@openerp.com-20140311145205-s56fj113fsrnisc3
2014-03-11 15:52:05 +01:00
Kersten Jeremy 590b50f548 [FIX] Compare the real pathname with the new url and not the object windows.location
bzr revid: jke@openerp.com-20140305164321-xw05yeun302rizm4
2014-03-05 17:43:21 +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
Kersten Jeremy 49a92c376a [FIX] Fix loop when parse hash into get param with no hash
bzr revid: jke@openerp.com-20140227130705-jlvl157aio3o4df3
2014-02-27 14:07:05 +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
Fabien Meghazi 6f670c58ce [REM] Removed lazy response usage
bzr revid: fme@openerp.com-20140219103032-5pc50taemkc6x0qo
2014-02-19 11:30:32 +01:00
Fabien Meghazi 33bfec2174 [IMP] Make auth_oauth depends of auth_signup, merge and remove auth_oauth_signup link module
bzr revid: fme@openerp.com-20140212101547-i4bcz9lcrut11kpu
2014-02-12 11:15:47 +01:00
Christophe Simonis 04e783e880 [FIX] auth_oauth: decorator @fragment_to_query_string must redirect to same route
bzr revid: chs@openerp.com-20140211145529-cp1rhf3hbhvq4sg4
2014-02-11 15:55:29 +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 c5d7340e9b [FIX] auth_oauth: do not shadow non-oauth errors
bzr revid: chs@openerp.com-20140128181156-489gcdkiq0yaopda
2014-01-28 19:11:56 +01:00
Fabien Meghazi f959685bc7 [IMP] auth_oauth_singup converted to server side controllers
bzr revid: fme@openerp.com-20140128104559-fafi73deyiplw7tx
2014-01-28 11:45:59 +01:00
Fabien Meghazi 35383bdc39 [FIX] auth_oauth
bzr revid: fme@openerp.com-20140128085945-r5mrypiyinxs2s3h
2014-01-28 09:59:45 +01:00
Fabien Meghazi 289074e0c8 [IMP] auth_oauth converted to server side views
bzr revid: fme@openerp.com-20140127181606-236dvru2tcvg42qo
2014-01-27 19:16:06 +01:00
Christophe Simonis bb1e256f5b [MERGE] forward port of branch saas-2 up to revid 9010 dle@openerp.com-20131125143003-vjtzj1c5051pdnk3
bzr revid: chs@openerp.com-20131125150054-b135qshkx6icakgk
2013-11-25 16:00:54 +01:00
Christophe Simonis 2172b12817 [FIX] auth_oauth: decorator @fragment_to_query_string accept positional arguments
bzr revid: chs@openerp.com-20131114184550-6zm3gzxfqn2d9dwt
2013-11-14 19:45:50 +01:00
Antony Lesuisse 3d8b7984be import cleanups part1
bzr revid: al@openerp.com-20131022170659-kg9err029ha22evh
2013-10-22 19:06:59 +02:00
niv-openerp 0b6b7d643d [FIX] auth_oauth: authentication problem with the new server-side web framework
bzr revid: nicolas.vanhoren@openerp.com-20130624095255-uj6702oq6601eql5
2013-06-24 11:52:55 +02:00
dle@openerp.com 1204425a83 [FIX]auth_oauth: controller signin fallback to ?db=dbname if xml_id missing (thus, include case where auth_oauth is not installed)
bzr revid: dle@openerp.com-20130607144849-k1u7ac49q8duqulo
2013-06-07 16:48:49 +02:00
dle@openerp.com a4f6533f3a [FIX]auth_signup: string concatenation now allowing action_id(integer) + able to redict to menu_id if no action given
bzr revid: dle@openerp.com-20130319154139-283864fcfixvmw0g
2013-03-19 16:41:39 +01:00
Olivier Dony 9d6a4205d0 [FIX] auth_oauth: redirect to login page in case of failure with an automatic oauth signin, but avoid destroying user session
bzr revid: odo@openerp.com-20130212163301-cnq949vr1h6hfvf5
2013-02-12 17:33:01 +01:00
Christophe Simonis 19b878ca55 [IMP] auth_oauth: allow to redirect to a given action
bzr revid: chs@openerp.com-20121205161022-bsf2el39azao9iqk
2012-12-05 17:10:22 +01:00
Christophe Simonis 4a454397f8 [IMP] auth_oauth: redirect directly to controller; do not make heuristic on arguments
bzr revid: chs@openerp.com-20121116162421-5yahj18n88yykq2k
2012-11-16 17:24:21 +01: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
Fabien Meghazi 94e4c0750e [IMP] auth_oauth2: log provider error
bzr revid: fme@openerp.com-20121010121919-cefodm7vzat5z321
2012-10-10 14:19:19 +02:00
Fabien Meghazi 1319a9423a [FIX] Fixed oauth in order to reload provider on database selection. Also avoid to crash on database not having oauth installed or not even openerp database.
bzr revid: fme@openerp.com-20120927123429-nzau63yeo2zyn7ck
2012-09-27 14:34:29 +02:00
Stephane Wirtel 1eac0fbe52 [REF] Replace the user id 1 by openerp.SUPERUSER_ID
bzr revid: stw@openerp.com-20120831135136-8k2wjeiixqt6tnkr
2012-08-31 15:51:36 +02:00