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
Frédéric Péters
d16801c4b3
translation update
2018-05-09 06:59:47 +02:00
Frédéric Péters
465df3f788
idp oidc: skip unset attributes in user-info ( #23643 )
2018-05-07 22:02:03 +02:00
Emmanuel Cazenave
74c29b60a9
pin django-webtest ( #23611 )
2018-05-04 16:01:39 +02:00
Emmanuel Cazenave
184cb71148
add UI messages ( #23210 )
2018-05-03 19:06:44 +02:00
Emmanuel Cazenave
623c64a064
add UI for import/export site ( #23210 )
2018-05-03 19:06:38 +02:00
Benjamin Dauvergne
df942ea1ed
custom_user: cache attribute list during a request ( #13587 )
2018-05-02 19:44:28 +02:00
Benjamin Dauvergne
19b00d8ac5
manager: export all user attributes ( fixes #13587 )
2018-05-02 19:44:28 +02:00
Benjamin Dauvergne
7a6ce74d94
tests: add test of CSV export of users ( #13587 )
2018-05-02 19:44:28 +02:00
Benjamin Dauvergne
cc101ea394
manager: add a default implementation of ExportMixin.get_data() ( #13587 )
...
It takes the default queryset and batches it using the new function
batch_queryset().
2018-05-02 19:44:28 +02:00
Benjamin Dauvergne
516cb4f890
utils: add a batch_queryset method to load large prefetched queryset without exhausting memory ( #13587 )
2018-05-02 19:44:28 +02:00
Benjamin Dauvergne
8964303359
manager: allow overriding resource class in export views ( #13587 )
2018-05-02 19:44:28 +02:00
Benjamin Dauvergne
0bf7fe9feb
manager: clean resources file ( #13587 )
...
Remove unused imports, remove commented code.
2018-05-02 19:44:28 +02:00
Benjamin Dauvergne
918c50b91a
tox: do not restrain psycopg2 version
2018-05-02 19:44:28 +02:00