summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/controllers/main.py
AgeCommit message (Collapse)Author
2019-08-29[MERGE] forward port branch saas-15 up to 10d88083a04Christophe Simonis
2019-07-09[FIX] auth_oauth: Override qcontext in the right placeJairo Llopis
Before this patch, if some module was based on top of `auth_signup`, and `auth_oauth` was also installed in the same database, the only way to get the proper qcontext would be to call `super()` inside `web_auth_signup_qcontext`, which would produce a login, which is most likely not desired because such addon would try to add some logic on top of it that maybe prevents login based on some circumstances. After this patch, any submodules can work properly without workarounds. closes odoo/odoo#34690 Signed-off-by: Christophe Simonis <chs@odoo.com>
2018-07-10[MERGE] forward port branch saas-15 up to c22e479246eChristophe Simonis
2018-07-10[MERGE] forward port branch 9.0 up to 8b25099aea6Christophe Simonis
2018-07-09[FIX] auth_oauth: validate db against db_filterAndreas Perhab
2017-10-20[MERGE] forward port branch saas-15 up to bee0c11ef7fChristophe Simonis
2017-10-20[MERGE] forward port branch 9.0 up to 31c1be1fac2Christophe Simonis
2017-10-20[IMP] auth_oauth: prevent portal users to land on /web after loginrde
Before this commit, a portal user would land on /web after login in with oauth. He would then just see the "Website" app. He should then click on it to land on website instead of landing directly on it after login in, which is not convenient, especially since theses users doesn't know Odoo (in case of sale customers manually created for instance). Now, if users has no 'base.group_user' right, it will be redirected to the website directly instead of /web.
2017-04-11[#8530] convert exception handlers to except..as syntaxXavier Morel
Futurize fixers: * lib2to3.fixes.fix_except
2017-01-16[FIX] auth_oauth: remove redirect if there is only 1 providerjaredkipe
Forcing the redirection for 1 provider but not for 2 makes no sense. Was done at 311f041f for the reset password, applied to signup too. Closes #15032
2016-09-03[MERGE] forward port branch saas-12 up to 476cb5a0Christophe Simonis
2016-08-29[FIX] auth_oauth: pass reset, remove auto redirect when only one providerDenis Ledoux
Even if there is only one provider, you could still use the internal login rather than this oauth provider to sign in, and therefore you need to remain on the regular login page if you would like to reset your internal password
2016-08-02[MIG]auth_oauth: Migrate to new api.Kinjal Mehta
2015-12-08[MERGE] forward port of branch saas-6 up to 12d7996Christophe Simonis
2015-12-08[MERGE] forward port of branch 8.0 up to 83a4a58Christophe Simonis
2015-12-08[MERGE] forward port of branch saas-3 up to 513cea6Christophe Simonis
2015-12-08[FIX] auth_oauth: do not transfer `debug` flag to OAuth providerChristophe Simonis
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-09-28[IMP] replace simplejson with stdlib jsonLeonardo Rochael Almeida
The stdlib version of the json library is more recent than the 3.5.3 version we are pinning in `requirements.txt` There is no reason to use it. Closes #6940
2015-03-31[REM] auth_oauth: remove legacy codeRichard Mathot
The forwardport has been done and these fields are required, so we can safely shorten the domain.
2015-01-19[MERGE] forward port of branch 8.0 up to 0aab81cChristophe Simonis
2015-01-12[FIX] auth_oauth: avoid double slashed redirect urlsDenis Ledoux
2015-01-06[MERGE] forward port of branch 8.0 up to ea54d4aChristophe Simonis
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
2014-12-12[FIX] auth_oauth: ignore "debug" argument when converting fragment to query ↵Christophe Simonis
string
2014-07-18[REF] OpenERP --> Odoo in various UI textsrlu-odoo
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-05[MERGE] Forward-port saas-4 up to 5ceded9Olivier Dony
2014-07-05[MERGE] Forward-port saas-3 up to 4fa30f5Olivier Dony
2014-07-02[FIX] auth_oauth: prevent crash on login screenRichard Mathot
Empty URLs for OAuth providers do not crash anymore the login screen
2014-06-19[MERGE] forward port of branch saas-4 up to 5087612Christophe Simonis
2014-06-19[MERGE] forward port of branch saas-3 up to bf53aedChristophe Simonis
2014-06-17[FIX] auth_oauth: url_unquote_plus does not handle booleanDenis Ledoux
If the redirect param 'r' is not in the state, do no try to unquote it
2014-06-16[FIX] auth_oauth: unquote redirect url from stateDenis Ledoux
This is related to 2db6a0080f9eeac7030d6d2d856574f2192d8aa5. Looks like Firefox auto unquote, but not Chrome
2014-06-16[FIX] auth_oauth: quote redirect url in stateDenis Ledoux
Otherwise, Firefox is splitting the state at the first &, which can potentially be located in the redict param of the state
2014-06-02[FIX] auth_oauth: missing res_users.py diff from rev ↵Denis Ledoux
33bfec21743c9200f491bd0ddcc6d368cd948f85 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[FIX] auth_oauth: controller need to inherit from auth_signup controllerChristophe Simonis
2014-04-10[MERGE] forward port of branch saas-3 up to revid 9394 ↵Christophe Simonis
chs@openerp.com-20140410103638-x7vajn70ewsfp0ck bzr revid: chs@openerp.com-20140410110424-enhdg6pufhii56ni
2014-04-07[FIX] auth_oauth: avoid infinite loop while trying to sign inDenis Ledoux
bzr revid: dle@openerp.com-20140407155919-vm32q6nvcit59026
2014-04-07[FIX] auth_oauth: redirect to url before sign inDenis Ledoux
bzr revid: dle@openerp.com-20140407150027-z46yxuh3a9uqoz26
2014-03-24[MERGE] forward port of branch saas-3 up to revid 9345 ↵Christophe Simonis
dle@openerp.com-20140324110349-e82t1bmmtjqbl85k bzr revid: chs@openerp.com-20140324133811-4az1kvbznd26seow
2014-03-12[MERGE] upstreamFabien Meghazi
bzr revid: fme@openerp.com-20140312152942-egbzui0drs85wt7i
2014-03-12[IMP] oaut & signup, redirect if already logged inFabien Meghazi
bzr revid: fme@openerp.com-20140312112141-uvo89w4ovmzq5ozq
2014-03-11[MERGE] forward port of branch saas-3 up to revid 9298 ↵Christophe Simonis
chm@openerp.com-20140311130852-3ft0v1mc9ht1any6 bzr revid: chs@openerp.com-20140311145205-s56fj113fsrnisc3
2014-03-05[FIX] Compare the real pathname with the new url and not the object ↵Kersten Jeremy
windows.location bzr revid: jke@openerp.com-20140305164321-xw05yeun302rizm4
2014-02-27[FIX] ensure_db() on inherited /web/login controllersFabien Meghazi
bzr revid: fme@openerp.com-20140227164141-1sblr0g6ta66q1em
2014-02-27[IMP] seperation of auth_signup's reset password and signup routesFabien Meghazi
bzr revid: fme@openerp.com-20140227154955-tnxyzw1ynuwlo5mj
2014-02-27[FIX] Fix loop when parse hash into get param with no hashKersten Jeremy
bzr revid: jke@openerp.com-20140227130705-jlvl157aio3o4df3
2014-02-27[MERGE] upstreamFabien Meghazi
bzr revid: fme@openerp.com-20140227101725-7egd9xq859jasnhj
2014-02-25[MERGE] upstreamFabien Meghazi
bzr revid: fme@openerp.com-20140225104654-d1ni7z5t8w0qc7mw
2014-02-19[REM] Removed lazy response usageFabien Meghazi
bzr revid: fme@openerp.com-20140219103032-5pc50taemkc6x0qo
2014-02-12[IMP] Make auth_oauth depends of auth_signup, merge and remove ↵Fabien Meghazi
auth_oauth_signup link module bzr revid: fme@openerp.com-20140212101547-i4bcz9lcrut11kpu