summaryrefslogtreecommitdiffstats
path: root/ipalib
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in automount doc message.Rob Crittenden2010-03-161-1/+1
| | | | | | Update the po to pick up this change too. 573979
* Finish deferred translation mechanismJason Gerard DeRose2010-03-164-26/+434
|
* Provide more detailed NotFound error messages from baseldap classes.Pavel Zuna2010-03-091-7/+55
|
* localize doc stringsJohn Dennis2010-03-0813-43/+48
| | | | | | | | | | | | A number of doc strings were not localized, wrap them in _(). Some messages were not localized, wrap them in _() Fix a couple of failing tests: The method name in RPC should not be unicode. The doc attribute must use the .msg attribute for comparison. Also clean up imports of _() The import should come from ipalib or ipalib.text, not ugettext from request.
* When raising an error about a required attribute, use cli_name not name.Rob Crittenden2010-03-071-1/+1
| | | | name is an LDAP attribute and may not be easily identifiable (e.g. sn).
* Don't calculate min/max lifetime if None is passed in.Rob Crittenden2010-03-071-2/+2
| | | | | | | | None is passed if the option is set with --minlife=''. This is a valid use case to delete a non-required attribute. In this case we simply don't do the math on None and things work as expected. 569847
* fix bug 570392, command help tracebackJohn Dennis2010-03-051-1/+1
| | | | | | | | | | | | | | | | | | | As a consequence of using doc=_('some message') the _() method was returning a Gettext instance, thus when optparse was handed the help text it received a Gettext instance instead of a basestring. optparse tried to operate on the Gettext instance as if it were a basestring and since it wasn't threw an exception. The fix is to promote (e.g. cast) the option.doc to unicode. If the option.doc was a str it becomes unicode, if it was unicode nothing happens, if it was Gettext (or any other object implementing the __unicode__() method) object is converted to unicode via the objects rules. By the way, while debugging this I discovered strings which were not localized, sometimes option.doc would be a str and sometimes a Gettext object. In a subsequent patch I'll fix all those unlocalized doc strings, but I don't want to bury this fix along with a load of string fixes.
* Consolidate to single WSGI entry pointJason Gerard DeRose2010-03-011-1/+1
|
* Code cleanup: remove unused stuff, take 1.Pavel Zuna2010-03-0113-245/+12
|
* Fix unicode failures in Env tests and dn failures in XML-RPC testsRob Crittenden2010-02-263-10/+10
|
* Don't try to revoke a cert that is already revoked.Rob Crittenden2010-02-262-5/+22
| | | | | We get a bit of an unusual error message back from dogtag when trying to revoke a revoked cert so check its status first.
* Make the --all option work in Add/Remove Member commands.Pavel Zuna2010-02-241-2/+18
|
* Translatable Param.label, Param.docJason Gerard DeRose2010-02-2422-274/+360
|
* Complete netgroup attributes.Pavel Zuna2010-02-231-1/+22
|
* Replace incorrect use of str.index with str.find in host plugin.Pavel Zuna2010-02-231-1/+1
|
* Fix bug where parameter cloning didn't clone validation rules.Pavel Zuna2010-02-231-1/+1
|
* Fix non XML-RPC testsJason Gerard DeRose2010-02-192-11/+2
|
* Use unicode instead of str for environmental variables in Env.Pavel Zuna2010-02-191-2/+4
|
* Make error message in migration plugin unicode.Pavel Zuna2010-02-171-2/+2
|
* Expand the types of groups that can be migrated to support IPA v1 migrationsRob Crittenden2010-02-171-1/+1
|
* Don't iterate over empty values in List paramsRob Crittenden2010-02-171-1/+1
|
* Used named variables in calls to print_attribute()Rob Crittenden2010-02-171-2/+2
|
* Reverse patch to not encode int values, handled at OID level properly now.Rob Crittenden2010-02-171-5/+1
|
* Convert password policy integer values to unicode instead of str.Pavel Zuna2010-02-171-2/+2
|
* Auto-generate --all and --raw for commands, that return entries.Pavel Zuna2010-02-174-130/+66
|
* Fix the pwpolicy plugin to work better with new output system.Rob Crittenden2010-02-171-9/+24
|
* Don't base64-encode integersRob Crittenden2010-02-171-1/+5
| | | | | | This is a temporary fix until we either use Params to determine output type or treat integers differently from other binary values internally (as unicode instead of str, for example).
* Use the Output tuple to determine the order of outputRob Crittenden2010-02-1514-76/+277
| | | | | | | | | | | | | | The attributes displayed is now dependant upon their definition in a Param. This enhances that, giving some level of control over how the result is displayed to the user. This also fixes displaying group membership, including failures of adding/removing entries. All tests pass now though there is still one problem. We need to return the dn as well. Once that is fixed we just need to comment out all the dn entries in the tests and they should once again pass.
* Fix the automountlocation-tofiles command and add some labelsRob Crittenden2010-02-151-8/+18
|
* Add sha1, md5 to compatJason Gerard DeRose2010-02-121-4/+34
|
* Fix deprecation error importing shaRob Crittenden2010-02-121-2/+5
|
* Add Object.label class attribute, enable in webUIJason Gerard DeRose2010-02-1215-6/+68
|
* Allow one-character Param namesRob Crittenden2010-02-124-8/+4
| | | | This is done explicitly to support the l/localityname attribute.
* Add default automount location. Auto-create auto.direct in new locations.Pavel Zuna2010-02-121-0/+3
|
* Command.output_params not contains params in Command.paramsJason Gerard DeRose2010-02-111-0/+7
|
* Fix logging in CLI and server (take 2)Jason Gerard DeRose2010-02-091-5/+10
|
* Add support for the 'no_create', 'no_update', and 'no_search' Param flagsJason Gerard DeRose2010-02-051-3/+109
|
* Implement pwplicy_find to show all group password policiesRob Crittenden2010-02-031-0/+32
| | | | | find is a bit of a misnomer here because we consider no search terms, it is all or nothing.
* Add flag to allow a cert to be re-issuedRob Crittenden2010-02-031-3/+7
| | | | | I don't want a user to accidentally re-issue a certificate so I've added a new flag, --revoke, to revoke the old cert and load the new one.
* Only change the log level if it isn't already setRob Crittenden2010-02-031-4/+5
| | | | | | This primarily affects the installer. We want to log to the install/ uninstall file in DEBUG. This was getting reset to INFO causing lots of details to not show in the logs.
* Be more careful when base64-decoding certificatesRob Crittenden2010-02-021-6/+3
| | | | | Only decode certs that have a BEGIN/END block, otherwise assume it is in DER format.
* Base64-encode binary values on the command-lineRob Crittenden2010-02-021-3/+17
|
* Remove group-specific password policy on group deletionRob Crittenden2010-01-291-0/+8
|
* Remove __public__ and __proxy__ hold-overs from Plugin classJason Gerard DeRose2010-01-283-109/+1
|
* Enabled CRUDS in webUI using wehjit 0.2.0Jason Gerard DeRose2010-01-263-1/+11
|
* Fix merge error, variable mis-named label instead of docRob Crittenden2010-01-211-1/+1
|
* User-defined certificate subjectsRob Crittenden2010-01-201-1/+17
| | | | | | | | | | | | | | | Let the user, upon installation, set the certificate subject base for the dogtag CA. Certificate requests will automatically be given this subject base, regardless of what is in the CSR. The selfsign plugin does not currently support this dynamic name re-assignment and will reject any incoming requests that don't conform to the subject base. The certificate subject base is stored in cn=ipaconfig but it does NOT dynamically update the configuration, for dogtag at least. The file /var/lib/pki-ca/profiles/ca/caIPAserviceCert.cfg would need to be updated and pki-cad restarted.
* Fix plugin to work with new output validation, add new helpersRob Crittenden2010-01-201-34/+57
| | | | | | | | Add a new get_subject() helper and return the subject when retrieving certificates. Add a normalizer so that everything before and after the BEGIN/END block is removed.
* Add DS migration plugin and password migration page.Pavel Zuna2010-01-201-0/+374
|
* Add --enable-migration option in config plugin.Pavel Zuna2010-01-201-1/+14
|