1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-29 12:44:31 +01:00
Commit Graph

439 Commits

Author SHA1 Message Date
kakwa
27089f68ef fix pep8 2015-10-20 20:26:41 +02:00
kakwa
807ac93956 better unit tests on authentication 2015-10-20 20:22:38 +02:00
kakwa
9ecd97a8d0 cleaner way to merge user's attributes from different backends 2015-10-20 20:05:22 +02:00
kakwa
1fd76a9485 fix decorator handling the exceptions 2015-10-20 20:04:52 +02:00
kakwa
2992cac1d7 slightly cleaner way to handle templates loading 2015-10-19 20:36:37 +02:00
kakwa
3402ba9613 pep8 compliance 2015-10-19 20:36:18 +02:00
kakwa
53676db341 small code reorganization
* extraction of exception decorator
* extraction of log handling
2015-10-19 20:14:49 +02:00
Carpentier Pierre-Francois
d32b0625ed Update README.rst 2015-08-10 09:49:04 +02:00
kakwa
9fa2dc411c increment version number in doc 2015-08-09 19:50:01 +02:00
kakwa
e0e682083c increment version number 2015-08-09 19:48:07 +02:00
kakwa
ffd67a4ff0 fill ChangeLog 2015-08-09 19:47:31 +02:00
kakwa
aa7db36efc using demo backend as an example
the demo backend is far simplier than the ldap backend,
so it's more logic to use it as an implementation example
2015-08-09 19:38:23 +02:00
kakwa
9074501155 adding documentation for demo 2015-08-09 19:33:54 +02:00
kakwa
3f9e76908e adding a demo backend 2015-08-09 18:49:44 +02:00
kakwa
6cf9ab71aa adding documentation for custom js 2015-08-09 10:45:03 +02:00
kakwa
61df2094c4 implementing custom js 2015-08-09 10:35:28 +02:00
kakwa
f61c7908cb better comment in default configuration + add section
* better comments in default config about static file serving
* adding section for futur functionality: adding custom js files
  (for auto-fill)
2015-08-05 20:03:17 +02:00
kakwa
94b35655dc cosmetic change in doc 2015-08-05 00:28:11 +02:00
kakwa
5d195eadb0 complete AD backend documentation 2015-08-05 00:26:05 +02:00
kakwa
ffe7ab7a07 adding confirqtion for backends 2015-08-05 00:20:47 +02:00
Carpentier Pierre-Francois
90b39b61de typo in changelog 2015-08-02 07:34:07 +02:00
kakwa
e4f1b92a69 ChangeLog at root of repo + log of current devs. 2015-08-01 13:43:32 +02:00
kakwa
937bda8cfa fix some typos 2015-08-01 13:34:49 +02:00
kakwa
ecbf112677 fix unit test on duplicate user exception 2015-07-31 22:54:21 +02:00
kakwa
64f34e3466 adding vim swp file in gitignore 2015-07-31 22:45:49 +02:00
kakwa
a8af29692e custom error handling for UserDoesntExist, UserAlreadyExists and GroupDoesntExist 2015-07-31 22:43:51 +02:00
kakwa
5561a9f42b typo in comment 2015-07-31 20:32:13 +02:00
kakwa
76d8533991 pretier and cleaner run_test.sh 2015-07-31 20:30:04 +02:00
kakwa
efcaad54fc multiple modification/fix
* add display_name parameter for backend
* handle display_name in modify template (lonely groups) and error
  message
* fix bug in modify when user is in only one backend
* remove redondant exception in ad/ldap backend
* fix unit test accordingly
* fix License in AD backend (GPLv3 -> MIT, previously tought of using
  samba4 python library which is GPL, but this module finaly uses
  python-ldap which is MIT compatible)
2015-07-31 20:08:21 +02:00
kakwa
8c0cbaac3b turnoff the check for configuration file 2015-07-31 20:07:45 +02:00
kakwa
af4936f157 extracting screenshots in a separate page 2015-07-31 18:50:34 +02:00
kakwa
e8afdd553e Merge branch 'master' of https://github.com/kakwa/ldapcherry 2015-07-30 07:33:21 +02:00
kakwa
3ab5a2bd41 fixing default configuration for AD 2015-07-30 07:32:48 +02:00
Carpentier Pierre-Francois
96a88a1453 Update README.rst 2015-07-29 09:17:07 +02:00
kakwa
6ee0ff0354 many comment + encoding fixes 2015-07-29 08:15:54 +02:00
kakwa
383c68f8b8 fix authentification for AD backend 2015-07-29 00:22:25 +02:00
kakwa
ff08e09598 more encoding error fix (on ldap auth) 2015-07-29 00:14:49 +02:00
kakwa
5d40cad342 adding utf-8 char in unit tests for ldap backend 2015-07-29 00:09:32 +02:00
kakwa
69700d0ce9 more encoding fixes 2015-07-29 00:09:15 +02:00
kakwa
3391ed9704 fix more encoding error 2015-07-28 23:57:14 +02:00
kakwa
49af82d308 edit default configuration to take into account AD backend 2015-07-28 23:49:07 +02:00
kakwa
9ec7a3dfbe fix rename in modify
when renaming an entry, dn must be reset to the correct value for
the modifications that come after the rename.
2015-07-28 23:38:29 +02:00
kakwa
f2c1a6af44 many fixes in encoding handling 2015-07-28 23:27:02 +02:00
kakwa
5459830269 removing utf-8 crap in AD backend
the crap must be fixed in LDAP backend first
2015-07-28 22:19:49 +02:00
kakwa
4e5591db7a fix encoding error on dn 2015-07-28 22:18:57 +02:00
kakwa
b9903e62ff fix pep8 compliance 2015-07-28 20:41:02 +02:00
kakwa
95d6a0e6a4 typo + add/del group in AD backend
* implementing add_to_group and del_from_group in AD backend.
* fixing typo self.objetclasses => self.objectclasses
2015-07-28 20:36:06 +02:00
kakwa
e5d97cf8ff making Backend skeleton a child class of object
this enables the use of super()
2015-07-28 20:32:46 +02:00
kakwa
27fca43ac6 Better exception re-raising
re-raising the exception without specifying the exception object gives
exactly the previous exception (including the correct stacktrace)
which is nicer to have for debugging.
2015-07-28 20:30:51 +02:00
kakwa
e3fe0b4bfb implementing renaming entry 2015-07-28 00:18:05 +02:00