Jan Barta
275e85d076
pylint: fix unneeded-not
...
Reviewed-By: Tomas Krizek <tkrizek@redhat.com >
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com >
2016-09-22 16:52:57 +02:00
Martin Basti
8f8e3d008f
Use constant for user and group patterns
...
User and groups regexp are the same and constant should be used to avoid
any future misconfigurations.
https://fedorahosted.org/freeipa/ticket/5822
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
2016-09-20 17:35:28 +02:00
Martin Basti
3720080611
Fix regexp patterns in parameters to not enforce length
...
Regexp should not enforce lenght of string, we have different checks for
that. Secondly regexp with length specified produces an incorrect error
message.
https://fedorahosted.org/freeipa/ticket/5822
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
2016-09-20 17:35:28 +02:00
Jan Cholasta
f554078291
frontend: don't copy command arguments to output params
...
Use only object params and params defined in has_output_params as output
params. This removes unnecessary duplication of params defined both in
object plugins and as command arguments.
This requires all command output params to be properly defined in either
the object plugins or the command's has_output_params. Fix the plugins
where this wasn't true.
https://fedorahosted.org/freeipa/ticket/4739
Reviewed-By: David Kupka <dkupka@redhat.com >
2016-06-20 16:39:12 +02:00
Jan Cholasta
6e44557b60
ipalib: move server-side plugins to ipaserver
...
Move the remaining plugin code from ipalib.plugins to ipaserver.plugins.
Remove the now unused ipalib.plugins package.
https://fedorahosted.org/freeipa/ticket/4739
Reviewed-By: David Kupka <dkupka@redhat.com >
2016-06-03 09:00:34 +02:00