Jason Gerard DeRose
57534ca5a0
63: Started fleshing out public.cmd
2008-08-06 15:54:27 +00:00
Rob Crittenden
df2b40303f
Fix python syntax error: missing colon.
2008-08-06 11:27:30 -04:00
Jason Gerard DeRose
495f96a73f
62: NameSpace no longer takes base=base kwarg
2008-08-06 15:06:39 +00:00
Jason Gerard DeRose
4e825ba2d9
61: Proxy now does a setattr for all callable attributes in __slots__ (and uses __getattr__ for rest
2008-08-06 14:59:54 +00:00
Jason Gerard DeRose
293b31ac75
60: Remeved depreciated base.py, crud.py; remeved corresponding test_base.py, test_crud.py
2008-08-06 14:30:21 +00:00
Jason Gerard DeRose
62d2cd65f2
59: Removed NameSpace.__call__ method (returned max_len)
2008-08-06 14:27:33 +00:00
Jason Gerard DeRose
2081987186
58: A bit of docstring cleanup in plugable.py
2008-08-06 14:22:38 +00:00
Jason Gerard DeRose
e618d99bc7
57: to_cli() function no longer replaces '__' with '.'; from_cli() function no longer replaces '.' with '__'; updated unit tests
2008-08-06 03:58:15 +00:00
Jason Gerard DeRose
8865f516df
56: Fixed Proxy.__call__
2008-08-06 03:51:33 +00:00
Jason Gerard DeRose
277685439c
55: Cleaned up print_api() function in ipa script
2008-08-06 03:27:00 +00:00
Jason Gerard DeRose
c6f69e1c66
54: Added plugable.Proxy._clone() method; fleshed out public.obj; updated unit tests; port ipa script
2008-08-06 02:00:18 +00:00
Jason Gerard DeRose
f31f7813fe
53: Changed plugable.Registar so the same plugin can be added to in the ns for more than one base (for cmd and mthd)
2008-08-05 23:34:59 +00:00
Jason Gerard DeRose
159207514f
52: Got cli working against new framework
2008-08-05 22:21:57 +00:00
Jason Gerard DeRose
1fce1487f9
51: Moved old_plugins.py back to plugins.py
2008-08-05 21:28:29 +00:00
Jason Gerard DeRose
175dfc121a
50: Moved plugins.py to old_plugins.py
2008-08-05 21:14:37 +00:00
Jason Gerard DeRose
f193dcba27
49: Added public.PublicAPI class; added some basic unit tests for same
2008-08-05 21:10:49 +00:00
Jason Gerard DeRose
907107001b
48: Added public.py with base classes for 'public' api used for XML-RPC, CLI, and UI; added corresponding unit stests
2008-08-05 07:39:50 +00:00
Jason Gerard DeRose
56fa454fdd
47: Added plugable.check_identifier() function; added corresponding unit tests
2008-08-05 06:33:09 +00:00
Jason Gerard DeRose
d134b48306
46: plugable.API now takes allowed base class in __init__ and creates Registrar at API.register, thereby coupling the two; updated correspending unit tests
2008-08-05 05:12:09 +00:00
Jason Gerard DeRose
2b3c2238f6
45: Fixed docstring typo in plugable.__doc__
2008-08-05 04:40:44 +00:00
Jason Gerard DeRose
42c53b2a53
44: Added Plugin.finalize() method called by API after all plugin instances are created; updated corresponding unit tests
2008-08-05 04:24:19 +00:00
Jason Gerard DeRose
c3bf5ad857
43: Fleshed out new plugable.API class; added corresponding unit tests
2008-08-05 03:21:52 +00:00
Jason Gerard DeRose
74f5719078
42: plugable.Plugin.__init__() now takes the plugable.API instance as its single argument
2008-08-01 21:25:46 +00:00
Jason Gerard DeRose
a0f480a414
41: New plugable.NameSpace now has attributes set for each member; updated unit tests
2008-08-01 20:58:48 +00:00
Jason Gerard DeRose
f3762a76c0
40: Rewrote dictionary interface for plugable.NameSpace to better suite new architecture
2008-08-01 20:42:35 +00:00
Jason Gerard DeRose
4fe8e52ecb
39: Added unit tests for Registrar.__iter__()
2008-08-01 07:00:08 +00:00
Jason Gerard DeRose
8881e4a543
38: dict interface of Registrar now works with both classes and strings as the key
2008-08-01 06:44:30 +00:00
Jason Gerard DeRose
5eac2ea15f
37: Renamed tstutil.yes_raises() to raises(); changed test_plugable.py to use raises() throughout
2008-08-01 06:02:29 +00:00
Jason Gerard DeRose
4ac7ad99d6
36: Added more functionality to tests.tstutil; added corresponding tests.test_tstutil unit tests
2008-08-01 05:44:11 +00:00
Jason Gerard DeRose
8a964d02b5
35: Renamed unit_common.py to tstutil.py
2008-08-01 03:15:50 +00:00
Jason Gerard DeRose
31fc955355
34: Added tests.unit_common with frequently used utility functions; split ro __setattr__, __delattr__ methods out of Proxy and into new ReadOnly base class; added corresponding unit tests
2008-08-01 03:12:17 +00:00
Jason Gerard DeRose
f53dec2600
33: Finished unit tests for plugable.Proxy
2008-08-01 01:47:49 +00:00
Jason Gerard DeRose
a131ebf724
32: Added Plugin and Proxy base classes in plugable module, along with to_cli() and from_cli() functions; added correspending unit tests
2008-07-31 22:36:15 +00:00
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