Benjamin Dauvergne
b6bd4e2b5c
wip: add client side cropper to profile image field ( #26251 )
gitea/authentic/pipeline/head Build started...
Details
2019-03-28 12:13:34 +01:00
Benjamin Dauvergne
3988b6fb37
ldap: set default timeout to 5 seconds ( fixes #29386 )
...
Also change behaviour to set the network *and* default timeout, see
ldap.conf(5) :
NETWORK_TIMEOUT <integer>
Specifies the timeout (in seconds) after which the poll(2)/select(2)
following a connect(2) returns in case of no activity.
TIMEOUT <integer>
Specifies a timeout (in seconds) after which calls to synchronous
LDAP APIs will abort if no response is received. Also used for any
ldap_result(3) calls where a NULL timeout parameter is supplied.
2019-03-25 17:07:00 +01:00
Benjamin Dauvergne
a31a99b13f
settings: move LDAP authentication backend after model ( #29386 )
2019-03-25 17:07:00 +01:00
Benjamin Dauvergne
31dc47946d
Jenkinsfile: move cleaning action in post/cleanup section ( #31437 )
2019-03-21 11:38:52 +01:00
Serghei Mihai
4c04187f47
misc: fix authenticator var name ( #31607 )
2019-03-20 18:10:20 +01:00
Paul Marillonnet
eba733dad4
python3: add a getlasso3.sh script ( #31161 )
2019-03-20 17:57:47 +01:00
Paul Marillonnet
7000c4d86b
python3: discard tabs in python source files ( #31158 )
2019-03-20 17:10:44 +01:00
Paul Marillonnet
af95b1bb0a
python3: encode oidc secret before calling crypto primitives ( #31172 )
2019-03-20 16:55:19 +01:00
Paul Marillonnet
e06405d027
python3: use django.utils.six.moves builtins ( #31153 )
2019-03-20 14:39:05 +01:00
Paul Marillonnet
bd268e72c8
python3: remove deprecated string.letters ( #31150 )
2019-03-20 13:01:23 +01:00
Paul Marillonnet
b836b818e7
python3: remove dict.iteritems in py files and django templates ( #31149 )
2019-03-20 12:29:30 +01:00
Paul Marillonnet
b623aaf509
python3: 'object' builtin class constructor takes no parameter ( #31147 )
2019-03-20 12:25:10 +01:00
Paul Marillonnet
01d49edb56
users api: unset verified flag on a modified email address ( #30740 )
2019-03-20 11:01:46 +01:00
Paul Marillonnet
13766a37fd
manager: unset verified flag on a modified email address ( #30740 )
2019-03-20 11:01:17 +01:00
Benjamin Dauvergne
9ff75d0a86
tests: allocate slapd TCP port using bind and SO_REUSEADDR ( fixes #31339 )
2019-03-19 23:46:41 +01:00
Benjamin Dauvergne
a278da5251
idp_saml: fix unused parameter in log call ( #30963 )
2019-03-19 23:40:22 +01:00
Benjamin Dauvergne
43b3f5ddb1
Jenkinsfile: use pg_virtualenv to isolate test database ( #31437 )
2019-03-19 18:08:43 +01:00
Benjamin Dauvergne
d361088985
Jenkinsfile: use a TMPDIR for tox ( #31437 )
2019-03-19 18:08:43 +01:00
Benjamin Dauvergne
6964b0cc82
idp_oidc: export claim even if source attribute is absent ( fixes #27540 )
2019-03-19 15:32:37 +01:00
Benjamin Dauvergne
ce1b796473
idp_oidc: use force_bytes/text and six.text_type instead of smart_bytes and unicode ( #27540 )
...
Just some cleaning, not really related to #27540 .
2019-03-19 15:32:37 +01:00
Benjamin Dauvergne
d856fc07ca
js: keep last selected ou on login form ( fixes #31329 )
2019-03-19 14:03:44 +01:00
Serghei Mihai
eac4437e5c
misc: rename authentication "frontend" to "authenticator" ( #14475 )
2019-03-19 09:36:43 +01:00
Valentin Deniaud
14361e000b
manager: remove some unused code ( #31222 )
2019-03-18 16:55:53 +01:00
Valentin Deniaud
26dd7e67b6
manager: update translations ( #31222 )
2019-03-18 16:55:53 +01:00
Valentin Deniaud
df8cc6dff5
manager: access context through table object bis ( #31222 )
...
Related to #31092 .
2019-03-18 16:55:53 +01:00
Benjamin Dauvergne
4a69acd8bd
idp_oidc: set default algorithm to HMAC ( fixes #28249 )
2019-03-18 15:49:25 +01:00
Benjamin Dauvergne
5a9f70534c
idp_saml: set most logs to debug level and errors to warnings ( fixes #30963 )
2019-03-18 11:57:12 +01:00
Frédéric Péters
6ea5b7668e
tests: adapt to markup change ( #31493 )
2019-03-17 15:45:35 +01:00
Frédéric Péters
2e52a5d1fb
templates: mark cancel buttons to skip HTML5 form validation ( #31493 )
2019-03-17 13:44:35 +01:00
Frédéric Péters
12c4abbc7b
tox: limit django-jsonfield version to keep django 1.8 compatibility ( #31482 )
2019-03-17 13:44:35 +01:00
Paul Marillonnet
5e4e0592ec
oidc authn: do not set the provider fixture's id ( #31296 )
2019-03-14 16:00:13 +01:00
Paul Marillonnet
89d0b7e2da
oidc authn: use correct hmac signature magic constant ( #31296 )
2019-03-14 16:00:13 +01:00
Paul Marillonnet
b9d98648d2
oidc authn: add issuer registration testing ( #31296 )
2019-03-14 16:00:13 +01:00
Benjamin Dauvergne
4aef07196b
Jenkinsfile: disable concurrent builds ( fixes #31338 )
2019-03-12 19:37:56 +01:00
Benjamin Dauvergne
fe345e5746
tests: improve ldap tests with non ASCII characters in uid ( #31273 )
2019-03-11 20:49:34 +01:00
Benjamin Dauvergne
b475f6b7df
ldap: encode string before using urlparse.quote() on them ( #31273 )
...
quote() only handle byte strings or ASCII only unicode strings with Python3,
to be compatible with both python versions the best is to encode string before
quoting them.
2019-03-11 20:49:28 +01:00
Benjamin Dauvergne
0f0c0790d0
ldap: only wrap LDAPObject.result4 ( #31273 )
...
result4() is the only function in python-ldap really handling results from LDAP requests,
all other methods calls it; if we encode attributes from other function we
duplicate work.
2019-03-11 20:47:17 +01:00
Benjamin Dauvergne
2bb6f8aab3
ldap: do not return referrals in _convert_results_to_unicode ( #31273 )
...
Wrong indentation kept referrals.
2019-03-11 20:45:43 +01:00
Benjamin Dauvergne
ebab175401
ldap: do not hardcode bytes_mode argument ( #31273 )
2019-03-11 20:44:14 +01:00
Benjamin Dauvergne
9ec79b6d24
ldap: ignore undecodable attribute values ( fixes #31232 )
...
Tests augmented with a jpegPhot binary attribute.
2019-03-08 22:22:08 +01:00
Benjamin Dauvergne
8a68af0e48
ldap: do not retrieve any attribute when looking for user DNs ( #31232 )
2019-03-08 22:12:10 +01:00
Paul Marillonnet
3f02579dc3
solve migration conflit ( #31214 )
2019-03-08 11:23:25 +01:00
Paul Marillonnet
595d05ad7a
add missing translation strings ( #31213 )
2019-03-08 11:10:08 +01:00
Paul Marillonnet
934d619f6b
python3: use django.utils.six url-parsing functions ( #31139 )
2019-03-08 10:35:55 +01:00
Emmanuel Cazenave
9768e8fe3e
OU attribute to hide username on user add ( #25669 )
2019-03-08 10:25:19 +01:00
Paul Marillonnet
6bb479d44e
python3: remove call parameters for 'int' initializer ( #31144 )
2019-03-07 17:28:49 +01:00
Paul Marillonnet
20bcf5ac0c
python3: fix implicit relative submodule imports ( #31143 )
2019-03-07 14:11:55 +01:00
Paul Marillonnet
f6fa7f7c56
python3: adapt exception raising and handling ( #31137 )
2019-03-07 13:58:28 +01:00
Paul Marillonnet
54d01cf903
python3: use __future__.print_function ( #31140 )
2019-03-07 13:55:29 +01:00
Paul Marillonnet
4a5311543f
idp cas: adapt migration to changes in the service model ( #30959 )
2019-03-07 12:02:14 +01:00