Commit Graph

1863 Commits

Author SHA1 Message Date
Petr Vobornik
ac1850a8f0 Use builder for entity dialogs
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:28 +02:00
Petr Vobornik
2cf0542b0d Builders: allow pre_ops and post_ops in build overrides
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:28 +02:00
Petr Vobornik
f188fcdfa7 Replace IPA.get_command_arg calls in specs with provider strings
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:28 +02:00
Petr Vobornik
e4150918f6 Replace IPA.get_command_option calls in specs with provider strings
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:27 +02:00
Petr Vobornik
60b3208cf5 Replace IPA.get_entity_param calls in specs with provider strings
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:27 +02:00
Petr Vobornik
ff81965e71 Allow metadata provider format for field metadata declaration
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:27 +02:00
Petr Vobornik
c206249bd2 Make summary conditions declarative
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:27 +02:00
Petr Vobornik
bee39848d3 Make facet and entity policies declarative
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:27 +02:00
Petr Vobornik
33b584f0a0 Fix incorrect type -> $type conversion
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:27 +02:00
Petr Vobornik
7a3f08002d Replace usage of action factories with types
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:27 +02:00
Petr Vobornik
5be709bf9d Builder and registry for actions
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:27 +02:00
Petr Vobornik
5239d3750e Change widget.build_child interface to the builder's
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:27 +02:00
Petr Vobornik
799bb24931 Builder and registry for validators
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:27 +02:00
Petr Vobornik
511452ec41 Replace formatter creation with definition in specs
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:26 +02:00
Petr Vobornik
ff8580f441 Builder: return null if no spec supplied - fix
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:26 +02:00
Petr Vobornik
9a23e5c9ec Registry and builder for formatters
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:26 +02:00
Petr Vobornik
e100ba7e2b Replace build logic in widget and field builder by new builder
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:26 +02:00
Petr Vobornik
1221fca662 Builder: allow string spec as spec property instead of type
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:26 +02:00
Petr Vobornik
49b7f4c06e Replace IPA.widget_factories and IPA_field_factories with registry
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:26 +02:00
Petr Vobornik
849ece00e3 Builder: global builder and registry
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:26 +02:00
Petr Vobornik
12e10f345b Builder: create Construct_registry by default in builder
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:26 +02:00
Petr Vobornik
621811470a Phases: warn when adding task for nonexistent phase
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:26 +02:00
Petr Vobornik
eee43395dd Builder: build type without prior registration
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:26 +02:00
Petr Vobornik
30276e6983 Builder: add set method to Singleton_registry
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:25 +02:00
Petr Vobornik
86f0b5eb64 Use entities module for entity registration, build and holding
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:25 +02:00
Petr Vobornik
a901f8b0e7 Builder: fix inner array and obj references
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:25 +02:00
Petr Vobornik
bf55d5b412 Builder: remove item from singleton registry
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:25 +02:00
Petr Vobornik
f1a83b6fdc Builder: do not break on expected errors
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:25 +02:00
Petr Vobornik
ffeafa6ec2 Replace IPA.facet_builder with facets.builder
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:25 +02:00
Petr Vobornik
f14393f427 Fix construct registry map reference
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:25 +02:00
Petr Vobornik
1d802d12a4 Builder: allow to use custom factory/ctor when using type
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:25 +02:00
Petr Vobornik
952234ef79 Report phase errors
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:25 +02:00
Petr Vobornik
9f0188684f Handle built object in spec
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:25 +02:00
Petr Vobornik
3b77c63b2a Use IPA.object() as a base factory for framework objects
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:24 +02:00
Petr Vobornik
0dc4b133fb Builder: return object when it's already built
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:24 +02:00
Petr Vobornik
9dc8e26b73 Rename factory to $factory in spec objects modifications
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:24 +02:00
Petr Vobornik
4ae3372682 Builder: fix infinite loop when using spec with circular dependency
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:24 +02:00
Petr Vobornik
dc6995ed7b Builder: fix overrides names - add $
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:24 +02:00
Petr Vobornik
5665ed4676 Builder: return null if no spec supplied
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:24 +02:00
Petr Vobornik
6a034abf95 Rename factory to $factory in spec objects
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:24 +02:00
Petr Vobornik
44c103bab7 Basic build tests
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:24 +02:00
Petr Vobornik
d5b9c0d7d7 Spec utils
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:24 +02:00
Petr Vobornik
a432cc4d28 Rename build constructor to ctor
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:23 +02:00
Petr Vobornik
45b70425fc Replace old builder by new implementation
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:23 +02:00
Petr Vobornik
c9b5038a62 Builder: factory,ctor overrides, mass build
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:23 +02:00
Petr Vobornik
bd89d0088f Modularize details.js
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:23 +02:00
Petr Vobornik
2e0cfb1a78 Modularize group.js
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:23 +02:00
Petr Vobornik
c7cb075887 Builder: added pre_ops and post_ops
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:23 +02:00
Petr Vobornik
fcbf5cc411 Spec modification by diff object
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:23 +02:00
Petr Vobornik
abdb5455d1 Add pre and post build operations
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:23 +02:00