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
Benjamin Dauvergne
eb4530adcb
tests: non regressions test for opened session cookie on API calls ( #24407 )
2018-06-14 10:47:39 +02:00
Benjamin Dauvergne
2de81439a5
api: fix register API when no email validation is asked ( fixes #24420 )
2018-06-14 10:47:39 +02:00
Benjamin Dauvergne
93fe68fa07
utils: accept OU object in build_activation_url() ou parameter ( #24420 )
2018-06-14 10:47:39 +02:00
Benjamin Dauvergne
35528eb18a
middlware: fix AttributeError in CollectIPMiddleware ( fixes #24511 )
...
Ordering between process_request() and process_response() of middlewares
is not guaranteed (if an early response is returned by a middleware in
process_request() the response is still handled by all other middlewares).
2018-06-14 10:47:39 +02:00
Benjamin Dauvergne
f259b0f003
middleware: collect IP adresses only for non-empty sessions ( fixes #24419 )
2018-06-13 10:06:22 +02:00
Frédéric Péters
183c0c266f
translation update
2018-06-09 12:09:09 +02:00
Frédéric Péters
6de4c87557
misc: put full URLs in menu.json ( #24303 )
2018-06-07 13:49:55 +02:00
Frédéric Péters
3014c4a68c
translations: fix translation of "oidc provider is down" message ( #24280 )
2018-06-05 10:42:33 +02:00
Benjamin Dauvergne
90d1a83adc
manager: implement menu_json using new homepage entries mechanism ( #24229 )
2018-06-01 17:19:59 +02:00
Benjamin Dauvergne
d89664a298
manager: fix permissions on homepage entries ( #24229 )
2018-06-01 17:19:41 +02:00
Benjamin Dauvergne
c0f3b54ebf
manager: dynamically produce homepage menu ( fixes #24229 )
...
New entries can be added by applications using the
a2_hook_manager_homepage_entries(view) hook.
Each entry is a dict containing at least a string label and a string
href. A CSS "class", a numeric "order" and a string "permission" can
also be provisionning but are not mandatory.
2018-06-01 16:05:43 +02:00
Emmanuel Cazenave
eeae1f3f8f
rollback when DataImportError is raised ( #23938 )
2018-05-30 14:21:53 +02:00
Emmanuel Cazenave
0d4e120a16
wrap import role in transaction ( #23922 )
2018-05-18 14:05:56 +02:00
Benjamin Dauvergne
818737a7c6
natural_key: fix get_by_natural_key_json for objects with partial unique indexes ( fixes #23857 )
...
Unicity on NULL column must be explicitely stated in the list of natural
keys.
2018-05-17 15:22:27 +02:00
Benjamin Dauvergne
07865e418e
manager: order user's roles by OU ( fixes #23843 )
2018-05-16 14:59:38 +02:00