Jason Gerard DeRose
d7569a84b9
31: Renamed exceptions.py to errors.py
2008-07-31 18:57:10 +00:00
Jason Gerard DeRose
4deb919ce4
Use % format string to fix nbsp problem in userlist.kid ( fixes #453779 )
2008-07-30 10:28:14 -04:00
Rob Crittenden
6efb547987
Shift search base for users and groups to "cn=accounts, baseDN"
...
450552
2008-07-29 11:33:51 -04:00
Rob Crittenden
bae3a2101f
Fix encoding issue when manually loading templates for forms
...
We used to manually load the template files for the edit pages using
turbogears.meta.load_kid_template(). Unfortunately this went through
the one code path where encoding was completely ignored. It ended up
defaulting to sys.getdefaultencoding() which is 'ascii'. So even though
most of the templates are loaded as 'utf-8' the few that really mattered
weren't.
The fix is to call kid.load_template() ourselves and set the encoding of
the class we just loaded to either the setting in the app.cfg file or
to the normal default value of 'utf-8'.
454076
2008-07-29 11:32:02 -04:00
Rob Crittenden
cdba310f02
Change Title label to Job Title for clarity
...
453780
2008-07-29 11:24:52 -04:00
Rob Crittenden
f5f8e8d884
NSS 3.12 added a header to the certutil output we need to skip
...
456694
2008-07-28 09:55:49 -04:00
Rob Crittenden
cf06dd9f84
Don't assume that the Firefox autoconfig files exist.
...
These are created by an object-signing cert and needs to be done
after the fact if a server is created with user-supplied PKCS#12 files.
452402
2008-07-28 09:54:16 -04:00
Rob Crittenden
9f2ee29218
Specify --mandir to configure to fix building on CentOS 5.2
...
456672
2008-07-28 09:53:38 -04:00
Jason Gerard DeRose
bc1675dc38
30: Added plugable module with more generic implementation of Registrar; added corresponding unit tests
2008-07-28 04:34:25 +00:00
Rob Crittenden
a19d27717a
Move the self-signed CA serialno file to /var/lib/ipa to adhere to the FHS
...
455064
2008-07-25 09:05:14 -04:00
Jason Gerard DeRose
8b64314359
29: Some experimentation to make the Registar more generalized
2008-07-25 03:17:24 +00:00
Simo Sorce
4d88900c22
Fix a stupidty introduced recently in a fix to a segfault.
2008-07-24 11:35:04 -04:00
Rob Crittenden
23fab304e9
Catch correct exception when trying to find the default IPA users group and return a more detailed error message.
...
455092
2008-07-23 10:05:32 -04:00
Martin Nagy
f7ca405716
Wrap up the raw_input() to user_input() for convenience and uniformity.
2008-07-23 10:05:06 -04:00
Jason Gerard DeRose
fc33f5d359
28: Added new base.Register class that is a more generic way of doing the plugin registration and doesn't itself instatiate any plugins; added corresponding unit tests
2008-07-22 06:41:33 +00:00
Jason Gerard DeRose
0c574d8300
27: Added quick hack for replace('-', '_') problem I'm having
2008-07-21 01:58:22 +00:00
Jason Gerard DeRose
7273d48169
26: Added AbstractCommand.get_doc() method to return the gettext translated summary of command; added get_doc() method to all example
2008-07-21 01:44:59 +00:00
Jason Gerard DeRose
48c7da47c7
25: Updated plugin examples, ipa script
2008-07-20 23:43:16 +00:00
Jason Gerard DeRose
15c419de12
24: Ported Registar to changes around Attribute; updated unit tests
2008-07-20 23:09:29 +00:00
Jason Gerard DeRose
6f58880dcd
23: Added base.Attribute class that determins the object association via class naming convention instead of through the _obj attribute
2008-07-20 21:42:35 +00:00
Jason Gerard DeRose
f3faaf2d29
22: Named.name property now calls _get_name() at first evaluation to make changing the behaviour in subclasses easier
2008-07-20 18:55:53 +00:00
Jason Gerard DeRose
97a3520d37
21: ipa script: improved print_api(); added missing sys.exit() after print_api() call
2008-07-20 18:50:40 +00:00
Jason Gerard DeRose
14339cfae0
20: Updated example plugins, added '_api_' command to ipa script with prints the api
2008-07-20 18:36:02 +00:00
Jason Gerard DeRose
89e9b7eaec
19: Removed depreciated base2.py and test_base2.py files
2008-07-20 18:10:56 +00:00
Jason Gerard DeRose
9b3e2f5cec
18: Moved base2 stuff into base
2008-07-20 18:10:08 +00:00
Jason Gerard DeRose
66cd39f519
17: Registar.finalize() now sets the commands property on each object with commands
2008-07-20 17:33:17 +00:00
Jason Gerard DeRose
cf32ac3370
16: Changed base2.WithObj.__set_obj() slightly so that its gets locked into read-only even when _obj is None
2008-07-20 07:20:00 +00:00
Jason Gerard DeRose
0cb26ef3ec
15: Added ipalib.base2 module where I'm experimenting with a 3rd approach that is a hybrid of the first two: a decoupled late binding OO strategy
2008-07-20 07:09:28 +00:00
Jason Gerard DeRose
c2df391569
14: Added Named.cli property that returns name.replace('_', '-'); Named.doc property now does a strip() to make it more user-friendly; added test_Named unit tests which somehow got dropped, uppdated with new Named properties
2008-07-20 03:48:36 +00:00
Jason Gerard DeRose
370282819d
13: Starting playing around with 'ipa' cli script
2008-07-20 03:32:22 +00:00
Jason Gerard DeRose
739e67ca7d
12: Fixed test_base.test_API.test_finalize() unit tests now that CrudLike has 4 commands, not 5
2008-07-20 02:40:49 +00:00
Jason Gerard DeRose
700d58ac1e
11: Added submodules needed to triger the plugin loading, etc., so I can start work on the cli demo
2008-07-20 02:03:15 +00:00
Jason Gerard DeRose
7acf12e988
10: Updated base.API to reflect the fact that base.Object is now the new unit of plugin functionality; updated corresponding unit tests
2008-07-20 01:29:59 +00:00
Jason Gerard DeRose
ccd8eb3373
9: Reorganized new work and unit tests based around base.Object being the plugin definining unit
2008-07-19 23:40:23 +00:00
Jason Gerard DeRose
e76160b01d
8: Experimental work on more OO definition of what gets pluged into API.commands
2008-07-19 21:51:07 +00:00
Jason Gerard DeRose
26c9f4c881
7: Roughed out API.finalize(); added corresponding unit tests
2008-07-19 08:31:46 +00:00
Jason Gerard DeRose
91adc9c2d0
6: Fleshed out API.register_command, made correpsonding unit tests much more rigorous
2008-07-19 07:43:48 +00:00
Jason Gerard DeRose
e8257ad531
5: Fleshed out base.Named, added corresponding unit tests
2008-07-19 06:03:34 +00:00
Jason Gerard DeRose
ef7594ffe1
4: Got basics of API.register_command() working; added corresponding unit tests
2008-07-19 04:28:03 +00:00
Jason Gerard DeRose
5470a0d29a
3: Finished NameSpace and cerresponding unit tests
2008-07-19 00:56:09 +00:00
Jason Gerard DeRose
00f4da79a9
2: Got basics of NameSpace working, added corresponding unit tests
2008-07-18 20:31:12 +00:00
Jason Gerard DeRose
556abfaf0b
1: Started roughing out ipalib package
2008-07-18 17:51:34 +00:00
Nathan Kinder
72a3114a01
Cleaned up comments that were mangled by vim
2008-07-18 13:11:21 -04:00
Nathan Kinder
2301f60652
Re-base memberOf plug-in off of current FDS memberOf plug-in. Resolves: 452537, 453011, 443241, 439628
2008-07-18 13:11:19 -04:00
Simo Sorce
67f62709f8
In openvz we found out some interfaces may return a null pointer here.
...
Skip them if no address is provided or we later get a segfault because
we dereference a null pointer.
2008-07-15 16:16:33 -04:00
Simo Sorce
4b4e0e1516
fix typo
2008-07-15 16:16:33 -04:00
Rob Crittenden
6980b07303
Rework the way SSL certificates are imported from PKCS#12 files.
...
Add the ability to provide PKCS#12 files during initial installation
Add the ability to provide PKCS#12 files when preparing a replica
Correct some issues with ipa-server-certinstall
452402
2008-07-14 09:06:52 -04:00
Martin Nagy
b95c05f5c6
Fix attribute parsing so that you can add a DN or an attribute with a '=' character in it. Fixes #454630
2008-07-09 16:54:19 -04:00
Simo Sorce
66aa3581fc
Make sure we have the right prototypes when using openldap libs
2008-07-09 16:51:18 -04:00
Simo Sorce
f86c8420b1
Admin must be able to add/delete too
2008-07-09 16:50:54 -04:00