Stefan Rijnhart
d547b3d7d1
[RFR] Contextmanager
6 years ago
Stefan Rijnhart
d2bf34d389
[FIX] Monkeypatch TestCursor in auth_brute_force's tests
By implementing nestable savepoints in the TestCursor (courtesy of
Holger Brunn), the failed login attempts are preserved during the test.
6 years ago
Pedro M. Baeza
58d243d739
[FIX] auth_brute_force: flake8
6 years ago
Pedro M. Baeza
d11a8b103a
[FIX] auth_brute_force: Don't error on migrations
Migrating from v9 will fail as that version doesn't have the 10.0.1.0.0 data structure
6 years ago
Pedro M. Baeza
06d27d4942
[FIX] auth_brute_force: Don't execute migration script on install
6 years ago
Pedro Castro Silva
87f1dea297
Translated using Weblate (Portuguese)
Currently translated at 100,0% (22 of 22 strings)
Translation: server-tools-10.0/server-tools-10.0-auth_brute_force
Translate-URL: https://translation.odoo-community.org/projects/server-tools-10-0/server-tools-10-0-auth_brute_force/pt/
7 years ago
oca-travis
6eb940ddf6
[UPD] Update auth_brute_force.pot
7 years ago
Jairo Llopis
8f362e20c1
[FIX] auth_brute_force: Avoid storing false login attempts ( https://github.com/OCA/server-tools/pull/1258 )
In Odoo v9, every request calls `res.users.check()`, which stores one authentication attempt per request, which is false.
Besides, it easily leads to hitting ip-api.com rate limits, so now that API is only asked when seeing in form view (simply by setting the computed field as not stored).
Also, form view was hidden, so it's now visible.
7 years ago
Jairo Llopis
845806fd86
[FIX] auth_brute_force: Fix addon requirement computation ( #1251 )
Include HACK for https://github.com/odoo/odoo/pull/24833 , which explains the false positive problem we were having here: an addon being importable doesn't mean it is installed.
7 years ago
Jairo Llopis
a2ccddc47a
[FIX] auth_brute_force: Small typos
- The `whitelisted` field needs to exist in view to be usable.
- The correct class is `decoration-danger` for tree views.
7 years ago
Jairo Llopis
53e61d3528
[REF] auth_brute_force: Cover all auth entrypoints ( #1219 )
To fix https://github.com/OCA/server-tools/issues/1125 I needed to refactor the addon. To whitelist IPs now you use a config parameter, which renders res.banned.remote model unneeded.
The fix is affected by https://github.com/odoo/odoo/issues/24183 and will not work until it gets fixed upstream due to the technical limitations implied.
7 years ago
OCA Transbot
21a1c80140
OCA Transbot updated translations from Transifex
7 years ago
OCA Transbot
3b56f099f1
OCA Transbot updated translations from Transifex
7 years ago
OCA Transbot
110d313a54
OCA Transbot updated translations from Transifex
7 years ago
OCA Transbot
3bb12bd80c
OCA Transbot updated translations from Transifex
7 years ago
OCA Transbot
4b1cd222f7
OCA Transbot updated translations from Transifex
7 years ago
OCA Transbot
0bced7b8df
OCA Transbot updated translations from Transifex
7 years ago
David Vidal
e91bdfb1f1
[MIG] auth_brute_force: Migration to 10.0
8 years ago
OCA Transbot
92c286bdbd
OCA Transbot updated translations from Transifex
9 years ago
Sylvain LE GAL
f186225aa8
rename module;
9 years ago