Elias Showk
3c3ee0b864
update translation for password validation ( #24439 )
gitea/authentic/pipeline/head Build started...
Details
2018-07-18 15:34:35 +02:00
Elias Showk
71785a47e3
create assisted password input in registration ( #24439 )
2018-07-18 15:07:53 +02:00
Benjamin Dauvergne
6235bc1782
backends/ldap: convert to iterable before type checking ( #25327 )
...
Revert d11d86bb50
.
2018-07-18 11:25:24 +02:00
Benjamin Dauvergne
773b9c8333
tests: fix NameError (introduced by #25182 )
2018-07-18 11:08:04 +02:00
Frédéric Péters
d11d86bb50
backends/ldap: don't set a default value for group{su,staff,active} ( #25327 )
2018-07-18 10:56:32 +02:00
Benjamin Dauvergne
f3a8061893
update french translation ( #24833 )
2018-07-18 10:54:22 +02:00
Benjamin Dauvergne
291dc5e2f9
convert password validation code to new API ( #24833 )
2018-07-18 10:54:22 +02:00
Benjamin Dauvergne
35b3136ef4
add new API to validate passwords ( fixes #24833 )
...
POST /api/validate-password/ HTTP/1.1
Conten-Type: application/json
{"password": "whatever"}
200 Ok
Content-Type: application/json
{
"result": 1,
"ok": false,
"checks": [
{"label": "at least 1 digit", "result": false}
]
}
This API is public.
2018-07-18 10:54:22 +02:00
Emmanuel Cazenave
103acb8dea
use stdlib OrderedDict ( #25319 )
2018-07-17 17:54:24 +02:00
Benjamin Dauvergne
38298c3192
api: add parameters to filter users by allowed services ( fixes #22377 )
2018-07-17 16:38:35 +02:00
Elias Showk
835e0cf940
replace django.utils.timezone.UTC by utc ( #25313 )
2018-07-17 16:26:10 +02:00
Benjamin Dauvergne
2f0ae6bacf
idp_oidc: fix synchronization API calls when OIDC client use UUID identifier policy ( fixes #25182 )
2018-07-17 16:15:55 +02:00
Benjamin Dauvergne
24c35c5ce8
backends/ldap: revert setting a default value for url ( #23698 )
2018-07-17 16:05:14 +02:00
Emmanuel Cazenave
7d53bfcb3c
delete some django < 1.8 compatiblity code ( #25097 )
2018-07-17 15:56:52 +02:00
Emmanuel Cazenave
5afd362bc3
quiet some RemovedInDjango19Warning warnings ( #25222 )
2018-07-17 15:55:51 +02:00
Emmanuel Cazenave
af036b783d
don't use SubfieldBase ( #24869 )
2018-07-17 15:52:57 +02:00
Emmanuel Cazenave
30708c0c7c
test custom fields using SubfieldBase ( #24869 )
2018-07-17 15:52:49 +02:00
Benjamin Dauvergne
70ee9c5d0d
fix french translation ( fixes #25015 )
2018-07-17 11:56:22 +02:00
Benjamin Dauvergne
038697aae9
idp/saml2: do not accept logout request missing a NameID ( fixes #24214 )
...
Lasso should fail in the process_logout_request(), it does not, we
handle it here.
2018-07-17 11:54:53 +02:00
Benjamin Dauvergne
700786714f
idp/saml: do not modify absent response on ProfileInvalidProtocolprofileError ( fixes #24189 )
...
On this path it's impossible to return an AuthnResponse as Lasso cannot
decide on the destination URL, as no protocol profile could be
determined.
2018-07-17 11:51:43 +02:00
Benjamin Dauvergne
26d39e05ad
tests: adapt test to new organization name ( #20731 )
2018-07-17 11:25:54 +02:00
Elias Showk
49420b2b96
removed django-admin-tools ( #22626 )
2018-07-17 09:21:07 +02:00
Benjamin Dauvergne
0445badc95
backends/ldap: apply force_bytes inside all structured settings ( fixes #23698 )
2018-07-17 01:08:49 +02:00
Benjamin Dauvergne
f2c5b172be
backends/ldap: improve style of error logging ( #23698 )
...
Log string should be unicode removing the need to unicode cast the user.
2018-07-17 01:08:49 +02:00
Benjamin Dauvergne
a22a797172
backends/ldap: convert all use of unicode/str to force_text/force_bytes ( #23698 )
2018-07-17 01:08:49 +02:00
Benjamin Dauvergne
2c816d1a2e
backends/ldap: convert all use of smart_bytes/texts to their force_ equivalent ( #23698 )
...
smart_* should only be used with lazy strings.
2018-07-17 01:08:49 +02:00
Benjamin Dauvergne
d01ded90af
backends/ldap: remove unused settings from defaults ( #23698 )
2018-07-17 01:08:49 +02:00
Benjamin Dauvergne
195b12ff39
backends/ldap: set proper default for iterable and strings ( #23698 )
2018-07-17 01:08:49 +02:00
Benjamin Dauvergne
18c4ab9ba0
tests: convert ldap test ot use only unicode in settings ( #23698 )
2018-07-17 01:08:49 +02:00
Benjamin Dauvergne
93b2cf189d
disable password change for LDAP backend without user_can_change_password ( fixes #20731 )
2018-07-17 01:05:55 +02:00
Emmanuel Cazenave
6aaa191217
switch from optparse to argparse for cli ( #24866 )
2018-07-16 08:05:55 +02:00
Emmanuel Cazenave
a6e24b6855
test some management commands ( #24866 )
2018-07-16 08:05:50 +02:00
Frédéric Péters
82f4dc6cdc
misc: add raw attributes & values to ProfileView context ( #25195 )
2018-07-15 18:31:48 +02:00
Frédéric Péters
fb42e8d844
api: fix message raised to unauthorized user trying to remove a role ( #25096 )
2018-07-06 15:14:34 +02:00
Frédéric Péters
260143c141
translation update
2018-07-05 16:44:27 +02:00
Frédéric Péters
632f81b208
registration: special case activation link being valid for 1 day ( #25075 )
2018-07-05 14:09:07 +02:00
Frédéric Péters
b17c410f19
translations: fix spelling error
2018-07-05 14:09:07 +02:00
Benjamin Dauvergne
0f36a964ac
tox.ini: add a reusedb target
2018-07-03 18:10:40 +02:00
Emmanuel Cazenave
df81098dff
use TEMPLATES settings ( #24880 )
2018-07-02 17:32:17 +02:00
Emmanuel Cazenave
06dd93abfd
use override_settings in tests (#/24863)
2018-07-02 17:30:59 +02:00
Emmanuel Cazenave
724660cc67
remove deprecated template tag loading ( #24858 )
2018-07-02 17:29:38 +02:00
Emmanuel Cazenave
96d6282d56
dont' import everything from global_settings ( #24081 )
2018-07-02 17:28:07 +02:00
Emmanuel Cazenave
88ae29f099
remove get_field_by_name calls ( #24857 )
2018-07-02 17:25:26 +02:00
Elias Showk
a4a74ea1a3
remove django.conf.urls.patterns calls ( #24852 )
2018-07-02 16:40:19 +02:00
Emmanuel Cazenave
42428af411
delete report directories when job starts ( #24805 )
2018-07-02 13:01:00 +02:00
Emmanuel Cazenave
bf14ffd6dd
user jenkins-lib master ( #24805 )
2018-07-02 12:18:27 +02:00
Emmanuel Cazenave
7bc89df159
create jenkins pipeline job ( #24805 )
2018-07-02 11:56:19 +02:00
Benjamin Dauvergne
1bf0e762c8
manager: disable delete link on default OU ( fixes #20927 )
...
Add tests on the OU views.
2018-07-01 22:14:01 +02:00
Benjamin Dauvergne
d0bcf4a992
remove authentic2_idp_openid ( fixes #23515 )
...
Code is no more used nor maintained.
Also remove diagnose.py which is obsolete too and referrred to
django-authopenid (and south and other obsolete things).
Mentions of OpenID libraries licenses were removed from license files.
2018-07-01 13:51:44 +02:00
Benjamin Dauvergne
ad4b1fe051
middleware: do not emit A2_OPENED_SESSION cookie on API requests ( fixes #24407 )
2018-06-14 10:47:39 +02:00