summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/models
AgeCommit message (Collapse)Author
2018-09-17[REF] web, *: redesign login screenssri-odoo
* auth_signup, auth_oauth
2018-07-26[ADD] Rate limiting to (failed) login attemptsXavier Morel
Task 31122 section 4. Implement per-IP rate limiting of login attempts after some number of failures. * check_credentials has no reason to be public, make it private * add hooks to check for login cooldown on a source IP (remote_addr: http://werkzeug.pocoo.org/docs/0.14/wrappers/#werkzeug.wrappers.BaseRequest.remote_addr) basis * add baseline/default configuration of 60s cooldown * add baseline threshold of 10 login failures, after checking odoo.com logs it looks like we have short runs of up to 7 failures (assumed to be legitimate) before the user either gets it right or goes and looks it up Depends on #24187
2018-03-20[MERGE] forward port branch 11.0 up to 2835d299792Christophe Simonis
2018-03-19[MERGE] forward port branch saas-15 up to 3d9a2340d99Christophe Simonis
2018-03-19[MERGE] forward port branch 10.0 up to da1f153d61dChristophe Simonis
2018-03-19[IMP] http: Sessions implicit deactivationtbe-odoo
- Store a token inside sessions to allow implicit session deactivation when needed.
2017-11-27[MOV] base: move res_* models into models/Thibault Delavallée
2017-09-01[IMP] res_config: Update file names, xmlids, class names according to guidelinesYannick Tivisse
Now that we only have one model (res.config.settings). Uniformize everything according to the guidelines.
2017-09-01[IMP] web,account,...: Regroup settings, add a nav and search barDeep Patel
Purpose ======= Settings are often way too long and hard to scan and sometimes you don't know where to find the settings you're looking for. By adding a left navigation, you can already have an overview of the settings, and switch easily between them. Specification ============= - Add a search bar on all the apps that have settings which can search results from all the installed apps. (If i'm on sales settings,and I search anything then it shows results from sales settings and also shows all the other matching results from all the other apps such as, Inventory...etc) with app name. - Able to activate feature from the current page results (no matter if the searched result is from another apps). - Highlight searched word in results - Delete the sheet, have a full white background - Add left navigation bar on setting - Left navigation bar fixed - List displayed based on installed apps - On right panel, by default display current app setting and change accordingly - [Mobile] Left navigation bar displayed on top - Add Breadcrumb on top of the page: have the name "Settings" + Save / discard CTA + Search - Add General Settings on the nav bar - remove "save this page..." notif in all settings - Delete all recommanded apps section + all checkbox that install app should disappear: payroll: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrSkMzWVpuZ0ZoaFE/view?usp=drivesdk Events: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrYXlHMHd2NTM2blE/view?usp=drivesdk Manufacturing: Delete Repair - Quality Control - Maintenance - Product Lifecycle Management [LAP][ok] Timesheets: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrdFg5XzNydkd2TlU/view?usp=drivesdk project: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrraWo3NE04TktwcTQ/view?usp=drivesdk inventory: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrQkRaVUR5ekFQYTQ/view?usp=drivesdk recruitment: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrbDdqLWQweF80UkE/view?usp=drivesdk purchase: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrRlAyUDBnb0trQWs/view?usp=drivesdk email marketing: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrOUZONjhvX2k3Y2s/view?usp=drivesdk expenses: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrR0JpN1ZpQmtxU3M/view?usp=drivesdk attendances: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrralpjZ1VJclNpMWs/view?usp=drivesdk - About duplicate settings: Docsaway: Delete from Sales + delete Default Print Provider Attributs & Variants: Delete from Purchases - Manufacturing Multi-currencies: delete from Sales Unit Of Measures: Delete from Purchase & Expenses - Add a scroll bar on the left bar when there's too many apps - Keep the navbar visible even when you search - Move General Settings to the bottom of the list - Update on Settings: - Accounting: - rename automatic rates - Anglo Saxon Account: Should be in technical feature - Place Accounting Reports section before Taxes section - CRM: - Phone Validation: Enforce international format becomes - Local Numbers: (2 radio buttons proposals) Add international prefix / No prefix - Fleet: typo " ... a new car if ..." + text is too long <br> - project: fix tooltip for colab pads
2017-07-06[IMP] auth_signup: display meaningfull and translated error messagesDenis Vermylen
Since 5425316eff19e7ae716aafdb730c92d1b3ea2abb errors when signing up will only display two messages: * "Another user is already registered using this email address." or * "Could not create a new account." While Odoo creates a multitude of other comprehensible error messages such as * "Passwords do not match; please retype them." * "Signup token '%s' is no longer valid" This commit now separate UserError and AssertionError from SignupErrors. Those are still hidden in a general message (see 5425316eff19e7ae716aafdb730c92d1b3ea2abb for reasons) while the other ones are fully displayed. This commit also improves translations of messages.
2017-06-19[REF] base/res_config: Deprecate `get_default_foo` and `set_foo`Yannick Tivisse
Currently, all the methods that start with `get_default_` and `set_` are called on a res.config.settings loading or saving. This commit purpose is to replace all the occurences of `get_default_foo` and `set_foo`. As these methods won't be called anymore, a warning is logged to notice its deprecation. The generic method `get_default_fields` and `set_fields` could be improved too. The method names and API are not so good: Why "default" fields? What you ask for is the current value of the stuff, shown as fields in the model. The values are fed as default values in the wizard, but that's an implementation trick. Why "fields"? What you ask for are configuration parameters, and such things. Why passing a list of fields? Its value is never used. We should further simplify the API of both methods to something like def get_values(self): return {} def set_values(self): pass
2017-06-19[MOV] *: Reorganize configuration files according to guidelinesYannick Tivisse
2017-06-15[MERGE] forward port branch saas-16 up to 1b50c829ef3Christophe Simonis
2017-06-15[MERGE] forward port branch saas-15 up to 9713dc2e1f5Christophe Simonis
2017-06-15[MERGE] forward port branch 10.0 up to dc8b473a033Christophe Simonis
2017-06-15[FIX] auth_oauth: correctly register token fieldOlivier Dony
2017-06-12[MERGE] forward port branch saas-16 up to 76262f2043dChristophe Simonis
2017-06-12[MERGE] forward port branch saas-15 up to aae12c2bad0Christophe Simonis
2017-06-12[MERGE] forward port branch 10.0 up to fcc33f3e09cChristophe Simonis
2017-06-12[MERGE] forward port branch saas-11 up to 6ceecffcad6Christophe Simonis
2017-05-15[FIX] P3: urllib, urllib2 and urlparseXavier Morel
In Python 3, all of these were "consolidated" under urllib(.request, .parse, .errors) which is inconvenient. Since we already have hard dependencies on requests and werkzeug(.urls, which is a backport of Python 3's unicode-aware urllib.parse) migrate *everything* to that. A sticking point is urllib2.URLError, those were (mostly) replaced by the slightly more general IOError which URLError extends.
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2017-04-11[#8530] convert exception handlers to except..as syntaxXavier Morel
Futurize fixers: * lib2to3.fixes.fix_except
2017-01-03[IMP] base_setup: Improve the `General Settings` form viewAkash Bhavsar
2017-01-02[MERGE] forward port branch saas-11 up to b844d938890Christophe Simonis
2016-08-02[MIG]auth_oauth: Migrate to new api.Kinjal Mehta
2016-08-02[MOVE]auth_oauth: Moved files in related models and views directory.Kinjal Mehta