Commit Graph

1096 Commits

Author SHA1 Message Date
Petr Vobornik
f6b9c7da9d Action list styling
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
1bea7f858d Combobox styles
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
989556e499 Fix search input styling
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
316309c136 Fix hbac test styling
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
ed6299a0ad CSS: fix footer padding
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
e948d3012c Fix padding of link buttons and labels in forms
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
68469bba8c CSS: fix network activity indicator position in control panel
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
727764bff7 Fix radios behavior in automount map adder dialog
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
d58e11ba87 Fix h1 style in dialog
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
21b7b6c393 Remove left-margin from details-section
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
53115183fb Do not open dialog in a container
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
8eb389c225 CSS: make hostname in host adder dialog wider
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
2817bb5651 Fix Association adder dialog styling
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
ca59f3c365 Fluid layout in DNS Zone adder dialog
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
31926b2fe4 Dialog keyboard behavior
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
67d58b9645 RCUE dialog close icon
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:03 +01:00
Petr Vobornik
23c042775c RCUE dialog implementation
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
d4a6f20e65 Do not display tooltip everywhere
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
f821d786df Use Fluid layout be default
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
ab719d6f3e New Fluid form layout
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
4ae69b99b2 Always create radio and checkbox with label
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
9a7e65100c New checkboxes and radio styles
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
a85cda3607 Change undo-all to regular button
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
2d9bb22772 Change undo to regular button
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
7adb034e02 Remove jquery button usage and unify button code
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
1aeb2bb11d Fix action panel list styles
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
2229c32cc2 Fix search facet table styling - bug in chrome
https://fedorahosted.org/freeipa/ticket/3904
2014-01-21 12:04:02 +01:00
Petr Vobornik
feb4226f27 Fix breadcrumb
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
77a56b7f87 Adapt password expiration notification to new navigation
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
a0d3d5a295 New header logo
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
3b9280c974 RCUE Header
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
b69d30072a RCUE Navigation
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
99bdfe8ac3 Remove jquery UI
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
9d0df9159e Remove width limit
https://fedorahosted.org/freeipa/ticket/3435
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
f18b89698c Remove background
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
7f7a497846 Prefer Open Sans Regular font
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
7d99273bfa Allow RCUE
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
5683ad9dda Change menu rendering to match RCUE structure
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
8f5773964e Updated sync.sh
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
cbfed871e7 Use RCUE fonts
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
25bd528507 Delete Overpass fonts in UI root
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
72798411fe Move RCUE styles to its own directory
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
3241c2cb3a RCUE initial commit
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
3ef72bc4dc Fix disabled logic of menu item
https://fedorahosted.org/freeipa/ticket/3902
2014-01-21 12:04:02 +01:00
Petr Vobornik
3264b0eaaf Remove SID resolve call from Web UI
- it's called in group-show

https://bugzilla.redhat.com/show_bug.cgi?id=1054391
https://fedorahosted.org/freeipa/ticket/4123
2014-01-20 09:48:51 +01:00
Petr Vobornik
ccac000012 Increase stack size for Web UI builder
Web UI build fails on some architectures or configuration due to
StackOverflow. This patch increases the stack size to solve it.

512k is usually enough but we encountered fail on ppc64 even with 2m,
therefore the 8m. The build is single threaded so it shouldn't waste
much memory.
2013-12-13 15:17:48 +01:00
Petr Vobornik
b6540e88d8 Fix license in some Web UI files
Modified web ui files had incorrect GPLv2 headers instead of GPLv3 ones.

All of the affected code is of FreeIPA origin.
2013-12-09 10:18:38 +01:00
Ana Krivokapic
2d86d7d85a Make Expression field required when adding automember condition
https://fedorahosted.org/freeipa/ticket/4053
2013-11-27 16:56:59 +01:00
Ana Krivokapic
afbf528a83 WebUI: Add userClass attribute to user and host pages
Add userClass attribute to:
- user and host adder dialogs
- user and host detail facets

Design page: http://www.freeipa.org/page/V3/Integration_with_a_provisioning_systems
https://fedorahosted.org/freeipa/ticket/3590
2013-11-19 14:27:50 +01:00
Ana Krivokapic
b7c7eaf8d9 Add automember rebuild command to the web UI
Design: http://www.freeipa.org/page/V3/Automember_rebuild_membership
https://fedorahosted.org/freeipa/ticket/3928
2013-11-15 13:28:16 +01:00
Ana Krivokapic
6c9b3b02a4 Fix error message when adding duplicate automember rule
Also fix object_name and object_name_plural for automember rules.

https://fedorahosted.org/freeipa/ticket/2708
2013-11-15 12:46:07 +01:00
Sumit Bose
b5e60c2020 Remove AllowLMhash from the allowed IPA config strings
Fixes https://fedorahosted.org/freeipa/ticket/3795
2013-11-01 09:28:35 +01:00
Petr Vobornik
e3d56597cd Fix password expiration notification
- was broken by navigation and application controller refactoring

https://fedorahosted.org/freeipa/ticket/4003
2013-10-30 13:31:12 +01:00
Petr Vobornik
b599d44816 Registries and Build Guide 2013-10-16 18:08:17 +02:00
Petr Vobornik
dc97b7b460 Navigation Guide 2013-10-16 18:08:17 +02:00
Petr Vobornik
1950ff2411 Plugin Infrastructure Guide 2013-10-16 18:08:17 +02:00
Petr Vobornik
d212d48015 Debugging Web UI guide 2013-10-16 18:08:17 +02:00
Petr Vobornik
3781d33dbe Phases Guide 2013-10-16 18:08:17 +02:00
Petr Vobornik
cd6a2c431e Configuration for JSDuck documentation generator
Installation: https://github.com/senchalabs/jsduck/wiki/Installation Basically it requires ruby and jsduck gem.

Usage:
$ cd install/ui/doc
$ make

Documentation will be generated into: install/ui/build/code_doc directory
2013-10-16 18:08:17 +02:00
Petr Vobornik
efafd7fe87 Web UI source code annotation
Part of ongoing Web UI documentation effort. Source code is annotated in a way that it can be processed by documentation generator.
2013-10-16 18:08:17 +02:00
Petr Vobornik
3fa304d95e Removal of unused code 2013-10-16 18:08:16 +02:00
Petr Vobornik
b4fc6f4ba8 Load updated Web UI files after server upgrade
Issue:
* There was no caching policy specified.
* -> Browsers use their own default policy.
* -> After upgrade, some Web UI files might have been actualized some not.
* -> With schema change may result into weird bugs in Web UI

Solution considerations:

1. Detect server version change and hard-reload at runtime
Detection is easy. Problem is the reload. Obvious candidate 'window.location.reload(true)' works in Firefox but not in Chrome because expected behavior when parameter is used is not in standard and therefore Chromium/WebKit authors did not implement it.

2. Application Cache
HTML 5 technology which lets web apps to run offline. Besides weird issues with event handlers which I encountered, this would be an ideal candidate. Simple change of manifest file would lead to reload of all files (requires reload of page to used the new files).

Showstopper was usage with untrusted certificate. If user did not add exception for the cert or its CA and would visit the page for a second time, all AJAX calls would fail.

3. Set Expires to now() for everything
Web UI rarely changes so this is an overkill. Setting it to different value is not a solution either. We can't predict when the upgrade will happen and when new Web UI will be needed.

Solution:
* Implemented a mini loader which loads basic resources. Dojo loader takes action after Dojo is loaded.
* The loader adds a version parameter (?v=__NUM_VERSION__) to all requests.
* Version is defined in the loader. It's set to current in `make version-update`.
* All static pages use this loader to fetch their resources.
* Version is also passed to dojo loader as cache-bust for the same effect.
* Expire header was set to 'access time plus 1 year' for /ui folder. Exceptions are HTML files and loader (set to immediate expiration).

Possible issues:
* Images are cached but not requested with version param.
  * Images with version and without are considered different
  * -> We would have to attach version to all URIs - in CSS and in JS. But we should avoid changing jQuery UI CSS.
  * Proposed solution is to change image name when changing image. Image change is done rarely.
* Version is set by build and therefore updated just on server update. It might cause trouble with different update schedule of plugins.
  * No action taken to address this issue yet.
  * We might leave it on plugin devs (own .conf in /etc/httpd/conf.d/)
  * or set expires to now for all plugins
* running `make version-update` is required in order to use static version of UI for testing

https://fedorahosted.org/freeipa/ticket/3798
2013-10-16 18:06:30 +02:00
Petr Vobornik
6a124160a5 Fix enablement of automount map type selector
Map type radio used old way of defining that its value should not be used in add command.  Recent patch related to 'enable' attribute hardened/fixed the behavior of radio widgets so they are disabled in UI as well when enabled==false. Automount did not reflect this change.

https://fedorahosted.org/freeipa/ticket/3954
2013-10-03 09:13:45 +02:00
Petr Vobornik
edf0719409 Allow edit of ipakrbokasdelegate in Web UI when attrlevelrights are unknown
Old host entries are missing object class with krbticketflags attribute. Therefore UI does not receive attrlevelrights for it. This OC is added when ipakrbokasdelegate is set.

This patch adds the usual hack for such cases.

https://fedorahosted.org/freeipa/ticket/3940
2013-09-26 10:24:14 +02:00
Petr Vobornik
5c4a72de59 Fix redirection on deletion of last dns record entry
https://fedorahosted.org/freeipa/ticket/3907
2013-09-16 13:56:25 +02:00
Petr Vobornik
92569b712c Update idrange search facet after trust creation
Adding a trust creates a range -> range search facet should be marked as expired.

https://fedorahosted.org/freeipa/ticket/3874
2013-08-28 14:23:42 +02:00
Petr Vobornik
34342b9a97 Show human-readable error name in error dialog title
Fixes RPC server's JSON encoding of exception's name.

It allows to show the name in Web UI's error dialog title.
2013-08-26 13:05:36 +02:00
Petr Vobornik
e61c2e3441 Hide 'New Certificate' action on CA-less install
This action calls cert-request command which is not available on CA-less installs. Thus this action won't be enabled and therefore there is no reason to keep it visible.

https://fedorahosted.org/freeipa/ticket/3363
2013-08-22 15:23:56 +02:00
Petr Vobornik
ca0d959df8 Add base-id, range-size and range-type options to trust-add dialog
https://fedorahosted.org/freeipa/ticket/3049
2013-08-22 15:23:56 +02:00
Petr Vobornik
ed3791d2f3 Removal of deprecated selenium tests
Tests were deprecated by new FreeIPA 3.3 Web UI integration tests (ticket #3744).

https://fedorahosted.org/freeipa/ticket/3857
2013-08-15 13:17:40 +02:00
Ana Krivokapic
b561e85e4a Fix handling of CSS files in sync.sh script 2013-08-13 12:44:17 +02:00
Petr Vobornik
006c4eabd9 Hide delete button in multivalued widget if attr is not writable
https://fedorahosted.org/freeipa/ticket/3799
2013-08-13 12:42:09 +02:00
Petr Vobornik
ff6f958d96 Make ssh_widget not-editable if attr is readonly
https://fedorahosted.org/freeipa/ticket/3800
2013-08-13 12:41:48 +02:00
Tomas Babej
69394bab5a Remove support for IPA deployments with no persistent search
Drops the code from ipa-server-install, ipa-dns-install and the
BindInstance itself. Also changed ipa-upgradeconfig script so
that it does not set zone_refresh to 0 on upgrades, as the option
is deprecated.

https://fedorahosted.org/freeipa/ticket/3632
2013-08-09 12:14:42 +02:00
Ana Krivokapic
69bcfa49d4 Expose ipaRangeType in Web UI
https://fedorahosted.org/freeipa/ticket/3759
2013-07-29 10:38:03 +02:00
Ana Krivokapic
2ca280c56d Honor 'enabled' option for widgets.
https://fedorahosted.org/freeipa/ticket/3793
2013-07-26 16:32:47 +02:00
Petr Vobornik
e08f4620cf Remove word 'field' from GECOS param label
No other param/field has 'field' in a label.
2013-07-23 15:32:13 +02:00
Petr Vobornik
1f89cb959c Break long words in notification area
Long words (ie. service principal) breaks out of notification area. It doesn't look good. Patch adds word-wrap to break them to multiple pieces.
2013-07-23 15:32:06 +02:00
Petr Vobornik
881290b010 Web UI search optimization
This patch optimizes options used in commands executed by search pages.

1) Removed --all from _find and _show commands used by search pages. All displayed attributes should be already included in default attributes.

2) Removed search_all_attributes - Not needed since introduction of paging.

3) Added --no-members options to search _show commmands. Members are not displayed on search pages and such change drastically improves performance. It reduces computations on server and amount of data transferred to Web UI.

https://fedorahosted.org/freeipa/ticket/3706
2013-07-23 13:14:02 +02:00
Petr Vobornik
e3cddab940 Fix container element in adder dialogs
Host and DNS adder dialogs used span element as container for block elements. It's not valid nor consistent with other forms.

'span' was replaced by 'div'

https://fedorahosted.org/freeipa/ticket/3744
2013-07-16 13:15:51 +02:00
Petr Vobornik
a83e879e18 Better automated test support
1. add class to active facet instead of using direct style modification for hiding/showing
2. add name attribute to tables and dialog buttons and error dialog

https://fedorahosted.org/freeipa/ticket/3744
2013-07-16 13:15:47 +02:00
Petr Vobornik
9f223871a7 Disable checkboxes and radios for readonly attributes
https://fedorahosted.org/freeipa/ticket/3764
2013-07-09 11:48:19 -04:00
Martin Kosek
77ae4da706 Remove entitlement support
Entitlements code was not tested nor supported upstream since
version 3.0. Remove the associated code.

https://fedorahosted.org/freeipa/ticket/3739
2013-06-26 14:11:42 +02:00
Petr Vobornik
ac2263d64c Fix default value selection in radio widget
https://fedorahosted.org/freeipa/ticket/3718
2013-06-24 16:58:15 +02:00
Ana Krivokapic
851b091832 Fix displaying of success message
Make sure that the success message is properly populated with actual number of
items that were successfully added/removed.

https://fedorahosted.org/freeipa/ticket/3708
2013-06-13 17:42:46 +02:00
Petr Vobornik
daa9b4e348 Regression fix: rule table with ext. member support doesn't offer any items
There is a JS error.

Rule tables with external member has more than one column and therefore exclude parameter for adder dialog is not array of strings but array of objects. normalize_values function can't work with it and causes JS error.

This patch creates proper exclude array before passing it to adder dialog.

https://fedorahosted.org/freeipa/ticket/3711
2013-06-13 17:42:30 +02:00
Petr Vobornik
fae658f505 Fix regression: missing facet tab group labels
Currently there is only empty space between facet tabs and facet title.

It's a regression caused by recent refactoring.

https://fedorahosted.org/freeipa/ticket/3688
2013-06-05 14:51:45 +02:00
Petr Vobornik
ec41744e76 Regression fix: missing control buttons in nested search facets
Regression introduced by 6e90920233 - 'Move spec modifications from facet factories to pre_ops'.

https://fedorahosted.org/freeipa/ticket/3605
2013-06-03 09:23:24 +02:00
Petr Vobornik
89be148580 Web UI: move ./_base/metadata_provider.js to ./metadata.js
Metadata provider is IPA specific object, not a framework object, so it should not be in _base directory.

https://fedorahosted.org/freeipa/ticket/3604
2013-05-17 12:32:24 +02:00
Petr Vobornik
17caa5dd5a Unite and move facet pre_ops to related modules
Facet pre_ops defined in ./facet module were moved to modules where facet are actually defined. Moved pre_ops were united with the ones defined for the facets in these modules.

The move simplifies module dependencies - there is no reason to have general facet module dependent on specialized facet modules.

Pre_ops uniting makes the code simpler.

https://fedorahosted.org/freeipa/ticket/3605
2013-05-17 12:32:16 +02:00
Petr Vobornik
6e90920233 Move spec modifications from facet factories to pre_ops
Spec modifications in factories makes inheritance and extensibility more difficult.

Moving them to pre_ops allows modification of their output by other pre_ops.

https://fedorahosted.org/freeipa/ticket/3605
2013-05-17 12:32:06 +02:00
Ana Krivokapic
8d07054e1b Do not display success message on failure in web UI
https://fedorahosted.org/freeipa/ticket/3591
2013-05-17 12:31:14 +02:00
Ana Krivokapic
c5bfeb1ed0 Prompt for nameserver IP address in dnszone-add
Prompt for nameserver IP address in interactive mode of dnszone-add.

Add a corresponding field to dnszone creation dialog in the web UI.

This parameter is required if and only if:
* New zone is a forward zone
* Nameserver is defined inside the new zone

Add a new unit test to cover this functionality.

https://fedorahosted.org/freeipa/ticket/3603
2013-05-16 11:01:33 +02:00
Petr Vobornik
2ba3140aff Fix: HBAC Test tab is missing
Caused by typo in metadata provider source path.

No metadata -> no HBAC test entity -> no tab

https://fedorahosted.org/freeipa/ticket/3627
2013-05-14 18:43:54 +02:00
Alexander Bokovoy
03cdc22c94 Resolve SIDs in Web UI
Introduce new command, 'trust-resolve', to aid resolving SIDs to names
in the Web UI.

The command uses new SSSD interface, nss_idmap, to resolve actual SIDs.
SSSD caches resolved data so that future requests to resolve same SIDs
are returned from a memory cache.

Web UI code is using Dojo/Deferred to deliver result of SID resolution
out of band. Once resolved names are available, they replace SID values.

Since Web UI only shows ~20 records per page, up to 20 SIDs are resolved
at the same time. They all sent within the single request to the server.

https://fedorahosted.org/freeipa/ticket/3302
2013-05-06 20:44:00 +02:00
Petr Vobornik
aedded862d Enable standalone facets in menu.add_item
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:31 +02:00
Petr Vobornik
c7bd6de9be Fix crash on host deleletion
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:31 +02:00
Petr Vobornik
57c504a5b9 Fix crash on ssh key add
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:31 +02:00
Petr Vobornik
13ad7da19a Fix WebUI crash when server installed as CA-less
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:31 +02:00
Petr Vobornik
242a090807 Fix trustconfig specification
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:30 +02:00
Petr Vobornik
853cdbbfd3 Navigation: handle invalid routes
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:30 +02:00
Petr Vobornik
c506087227 Builder: Singleton_registry: return null when construction spec not available
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:30 +02:00
Petr Vobornik
cf8bab45fc Fix: make association facets in selfservice readonly
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:30 +02:00
Petr Vobornik
348dc948ff Builder: fix join of pre_ops and post_ops arrays
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:30 +02:00
Petr Vobornik
504fa6c786 Do not offer already added members in association dialogs when different casing
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:30 +02:00
Petr Vobornik
0674d67acc Switch customization and registration phase
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:30 +02:00
Petr Vobornik
c5e99d7cd6 Remove entities.js, facets.js
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:30 +02:00
Petr Vobornik
a069841ff0 Replace ./facets with reg.facet
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:29 +02:00
Petr Vobornik
3599357bcc Fix rule table add/delete button enablement
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:29 +02:00
Petr Vobornik
c151e01e79 Add widget updated event
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:29 +02:00
Petr Vobornik
b184e24f91 Removal of IPA.metadata usages
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:29 +02:00
Petr Vobornik
c3615f0ebc Move spec creations of sudorule, hbacrule, netgroup and selinuxusermap details facet from their factories
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:29 +02:00
Petr Vobornik
4be9383033 Don't automatically refresh facet after action success
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:29 +02:00
Petr Vobornik
c3856f2d3b Remove cert menu item when disabled
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:29 +02:00
Petr Vobornik
ee491bdf38 Replace IPA.metadata.objects... with declarative definitions
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:29 +02:00
Petr Vobornik
14c276d218 Convert definitions of entities to spec objects
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:29 +02:00
Petr Vobornik
a513673f04 Entity build: test for enabled in post_op
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:29 +02:00
Petr Vobornik
aba74aafe5 Builder: handle expected errors in post_ops
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:28 +02:00
Petr Vobornik
9255bb481e Entity: allow definition of facet_groups in entity specs
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:28 +02:00
Petr Vobornik
2182c93e2f Entity registry and builder which allow definition by spec
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:28 +02:00
Petr Vobornik
790853c587 Fix trustconfig after rebase
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:28 +02:00
Petr Vobornik
cf6b83a61e Fix hbactest after rebase
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:28 +02:00
Petr Vobornik
08a5e2c0ca Builder: allow registration without factory or ctor
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:28 +02:00
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
Petr Vobornik
03d3742376 Remove text.get usage from spec
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:23 +02:00
Petr Vobornik
58ebaedb41 Replace IPA.get_message with text.get
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:22 +02:00
Petr Vobornik
9782c80098 Remove invalid label definition from cert search facet
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:22 +02:00
Petr Vobornik
1a7bafe5db Fix facet section labels
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:22 +02:00
Petr Vobornik
d5c0945890 Replace remaining IPA.messages with text.get calls
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:22 +02:00
Petr Vobornik
8ee752c284 Use text.get in IPA.notify_success
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:22 +02:00
Petr Vobornik
ed94fdf190 Replace IPA.messages with @i18n definition for title specs
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:22 +02:00
Petr Vobornik
bc566ede32 Replace IPA.messages with @i18n definition for message specs
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:22 +02:00
Petr Vobornik
5f96e75b74 Replace IPA.messages with @i18n definition for remove_title specs
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:22 +02:00
Petr Vobornik
cebe1bc5a2 Replace IPA.messages with @i18n definition for add_title specs
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:22 +02:00
Petr Vobornik
fcff33fb51 Replace IPA.messages with @i18n definition for label specs
Replaced by execution of
ls | grep .js | xargs sed -i -r "s/label: IPA.messages\.((.\w+)+)/label: '@i18n:\1'/"

https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:21 +02:00
Petr Vobornik
12f5f4cfdd Replace IPA.messages with @i18n definition in spec objects
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:21 +02:00
Petr Vobornik
f492e61f46 Replace IPA.get_message with text.get
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:21 +02:00
Petr Vobornik
09296fc0b3 Use text.get for transforming values supplied by spec
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:21 +02:00
Petr Vobornik
e3ea5e8d50 Limit Provider reporting
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:21 +02:00
Petr Vobornik
13e34216eb Metadata and text providers
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:21 +02:00
Petr Vobornik
1b90b3b65e Add phase on exact position
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:21 +02:00
Petr Vobornik
344e15452a Replace id usage in App widget by class
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:21 +02:00
Petr Vobornik
917d834c65 Rename alternation phase to customization
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:21 +02:00
Petr Vobornik
cc92060e35 Use dojo/on instead of dojo/topic for facet-xxx events'
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:20 +02:00
Petr Vobornik
c0007704e8 Fix add/deletion of automember rule - caused by not setting facet for entity adder dialog
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:20 +02:00
Petr Vobornik
6f80b32731 Fix tab switching for nested entities
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:20 +02:00
Petr Vobornik
1adad5573b Fix in state change handling and reporting
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:20 +02:00
Petr Vobornik
0df5297d2b Fixed errors in DNS pages
* adding, removing of dns zone permission was broken
* add/del/update of dns record value in record details facet was broken
* redirection from A/AAAA record to corresponding PTR record was broken

https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:20 +02:00
Petr Vobornik
4c290a6083 Proper removal of dns menu item when dns is not installed
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:20 +02:00
Petr Vobornik
c111ffb9f2 Menu proxy
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:20 +02:00
Petr Vobornik
6c2bfe6dc0 Fix hbactest styles
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:20 +02:00
Petr Vobornik
74b6099fb0 Web UI plugin loader
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:20 +02:00
Petr Vobornik
953f599415 Fix unit tests
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:19 +02:00
Petr Vobornik
8a0f60cf46 Add handling of runtime and shutdown phase. App-init renamed to init.
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:19 +02:00
Petr Vobornik
89635f1bc3 Fix dirty dialog behavior
Dirty dialog was displayed twice because of double event registration in menu widget.

https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:19 +02:00
Petr Vobornik
b06d008f31 Raise only one "set" event on facet.state.set
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:19 +02:00
Petr Vobornik
a8b48a8f42 Don't expect key for singleton objects (dnsconfig, config, realmdomains)
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:19 +02:00
Petr Vobornik
41324cf619 Fix needs_update on object change
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:19 +02:00
Petr Vobornik
3fbdb43d62 Remove old navigation code in certificates
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:19 +02:00
Petr Vobornik
e4f2218f18 Certificates, Realm domains added to navigation
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:19 +02:00
Petr Vobornik
7b512abbf1 DNS menu fixed
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:19 +02:00
Petr Vobornik
3e392bbfc6 get_primary_key function usages removed
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:19 +02:00
Petr Vobornik
166102a910 Removed entity.get_primary from association facet
Also removed facet usage from entity adder dialog.

https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:18 +02:00
Petr Vobornik
bf8bae5080 Removed incorrect success message when adding of external member failed
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:18 +02:00
Petr Vobornik
ea2e4eecac Fix facet needs_update behavior
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:18 +02:00
Petr Vobornik
46cec2abd8 Fix selection of menu in automember
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:18 +02:00
Petr Vobornik
34201ea0ab Rename path array from hash to path in hash generation
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:18 +02:00
Petr Vobornik
9657c757f6 Add menu memory
Parent items remember last selected child.

https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:18 +02:00
Petr Vobornik
364e0ec5af File dependencies added to Web UI Makefile
WebUI was not rebuilt while rebuilding RPMS.

https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:18 +02:00
Petr Vobornik
8751b1a3db Set pkeys to add,remove dialog
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:18 +02:00
Petr Vobornik
99fc3d597a Remove IPA.current_entity usage
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:18 +02:00
Petr Vobornik
a3e0e671a1 Fix nested facet search
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:17 +02:00
Petr Vobornik
31d7486b88 Remove IPA.nav usage, obsolete entity.get_primary_key
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:17 +02:00
Petr Vobornik
7edf044a44 Removed old navigation code
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:17 +02:00
Petr Vobornik
693dc56062 Menu and application controller refactoring
https://fedorahosted.org/freeipa/ticket/3235
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:17 +02:00
Petr Vobornik
a4d9e19c79 Config.js
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:17 +02:00
Petr Vobornik
87a1b58237 Phases - application lifecycle
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:17 +02:00
Petr Vobornik
33904d8651 i18n - internationalized text provider
https://fedorahosted.org/freeipa/ticket/3235
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:17 +02:00
Petr Vobornik
ded1bb3642 Basic implementation of registers
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:17 +02:00
Petr Vobornik
a31fe2739c Update of Dojo build
https://fedorahosted.org/freeipa/ticket/3235
https://fedorahosted.org/freeipa/ticket/3236
2013-05-06 16:22:17 +02:00
Petr Vobornik
f0c1c629d3 jsl update
https://fedorahosted.org/freeipa/ticket/3235
2013-05-06 16:22:16 +02:00
Petr Vobornik
80c4228fe2 Fix: Certificate status is not visible in Service and Host page
https://fedorahosted.org/freeipa/ticket/3593
2013-04-30 17:30:15 +02:00
Tomas Babej
e10d934230 Make gecos field editable in Web UI
This patch exposes user entry gecos field in Web UI.

https://fedorahosted.org/freeipa/ticket/3569
2013-04-25 17:27:10 +02:00
Ana Krivokapic
39982f6696 Remove HBAC source hosts from web UI
https://fedorahosted.org/freeipa/ticket/3528
2013-04-12 14:07:55 -04:00
Petr Vobornik
53dc8b3ec9 Fix regression in group type selection in group adder dialog
Refactoring of radio widget (04325fbb4c) caused that value is no longer supplied to value_change handler.
2013-04-10 09:28:15 +02:00
Petr Vobornik
617114aac4 Don't show trusts pages when trust is not configured
When trust is not configured trust-config page is raising an error. Trusts search page won't find anything either -> no use for the pages -> hiding.

https://fedorahosted.org/freeipa/ticket/3333
2013-04-10 09:28:04 +02:00
Petr Vobornik
7e088a8378 Global trust config page
https://fedorahosted.org/freeipa/ticket/3333
2013-04-10 09:24:46 +02:00
Petr Vobornik
3393c577f9 Run permission target switch action only for visible widgets
Permission details page was incorrectly evaluated as dirty (update button enabled) right after load when permission type={subtree,filter} and some attrs are set.

Can be reproduced by opening 'Modify Automount maps' permission.

The culprit is that attrs widget is populated and dirty-checked even targets where it doesn't belong.

Fixed by running target_mapping action only for visible targets.

https://fedorahosted.org/freeipa/ticket/3527
2013-04-05 10:44:44 +02:00
Petr Vobornik
5af3b146a3 Add ipakrbokasdelegate option to service and host Web UI pages
https://fedorahosted.org/freeipa/ticket/3329
2013-04-04 12:53:59 +02:00
Petr Vobornik
40b4faa6d7 Web UI: Disable cert functionality if a CA is not available
Part of the work for: https://fedorahosted.org/freeipa/ticket/3363
2013-04-02 15:32:05 +02:00
Petr Vobornik
661f41e197 Added Web UI support for service PAC type option: NONE
ipakrbauthzdata accepts [null, 'NONE', 'MS-PAC, 'PAD']

New nesting feature of radios/checkboxes was used to handle mutual exclusivity between
 ['MS-PAC', 'PAD'], 'NONE' and ''.

https://fedorahosted.org/freeipa/ticket/3404
2013-03-29 17:12:25 +01:00
Petr Vobornik
04325fbb4c Nestable checkbox/radio widget
New component: option_widget_base. It's not a regular widget but it share some of its characteristics. It should extend regular widget or it can be nested in itself alone.

checkbox_widget, checkboxes_widget, radio_widget were modified to use it.

Built as a prerequisite for:
https://fedorahosted.org/freeipa/ticket/3404
2013-03-29 17:12:20 +01:00
Petr Vobornik
790a576ad1 Fixed Web UI build error caused by rhino changes in F19
rhino-1.7R4-2.fc19.noarch dropped -main flag which made the build fail in rawhide (F19).

We can't use the same command for rhino-1.7R3-6 (F18) and rhino-1.7R4-2 (F19).
This patch adds check if rhino supports '-require' option. If so it calls rhino with it if not it calls rhino with -main option.

https://fedorahosted.org/freeipa/ticket/3501
2013-03-21 09:30:35 +01:00
Ana Krivokapic
6c85b88874 Realm Domains page
Add support for Realm Domains to web UI.

https://fedorahosted.org/freeipa/ticket/3407
2013-03-18 15:11:26 +01:00
Petr Vobornik
8d36951911 Web UI:Choose different search option for cert-find
This extends certificate search page by search option select. Therefore
the search is not restricted to 'subject'.

It should be replaced by https://fedorahosted.org/freeipa/ticket/191 in a
future.

https://fedorahosted.org/freeipa/ticket/3419
2013-03-18 15:11:18 +01:00
Petr Vobornik
070fc176ae Web UI:Certificate pages
Following pages were added to Web UI:
 * certificated details
 * certificate search

Certificate is not regular object so it gets no metadata. Therefore artificial
metadata were created for it to allow usage of search and details facet.

Search and details facet were modified to allow removing of add/remove/update/
reset buttons - certificates have no mod operation and they are not added by
standard means.

User can revoke and restore certificated in details facet.

https://fedorahosted.org/freeipa/ticket/3419
2013-03-18 15:11:08 +01:00
Sumit Bose
331856b13c Allow 'nfs:NONE' in global configuration
This patch adds 'nfs:NONE' as an allowed entry for the global
authorization data type in the CLI and WebUI. This is an ad-hoc solution
to make sure that the new default value for the NFS service is not
removed by chance.

This patch should be removed if a more generic solution is implemented
to modify service:TYPE style values of the authorization data type.

https://fedorahosted.org/freeipa/ticket/2960
2013-03-08 10:46:00 +01:00
Petr Vobornik
dc5fcc2969 Web UI: configurable SID blacklists
Added blacklists section, with ipantsidblacklistincoming and
ipantsidblacklistoutgoing multivalued textbox fields, into trust details page.

https://fedorahosted.org/freeipa/ticket/3289
2013-03-06 12:56:44 +01:00
Petr Vobornik
99421026f6 Fix handling of no_update flag in Web UI
There was an incorrect check for no_update flag. Check was performed as
if the flag was an attribute of object not an item of array. Hence, the
flag never caused any effect.
2013-03-06 12:55:54 +01:00
Petr Vobornik
86f24dab43 Fix dirty state update of editable combobox
Editable combobox didn't update it's dirty state correctly. CB had it's own
internal value changed event, which was incorrectly used. It was removed and
widget's value_changed event was used instead.
2013-03-06 12:55:27 +01:00
Petr Vobornik
32a7801cf4 Combobox keyboard support
Combobox can be controlled just by using keyboard.

When value list is closed, user can:
  * use UP and DOWN error to open list, it will focus the list and
    select previous/next value
  * when CB is non-editable, user can start typing, first character will open
    list, second will be entered into search input. Note: I wanted to copy the
    first char to the search box as well, but I did not figure out reliable
    method for converting keycode to char for non ASCII keyboard layouts
  * ESCAPE, ENTER, TAB keys are handled to allow keyboard operations in a
    container

When value list is opened:
  * CB tries to keep focus on either search input or a select
  * when focus is lost, the value list is closed. So  user can click anywhere
    on a page to close it - two comboboxes can't be opened on the same time
  * hitting TAB key switches between search and select
  * if CB is not searchable, hitting TAB will close the value list and select
    input textbox
  * hitting ESCAPE on will close the value list
  * hitting ENTER on search input will invoke search operation
  * hitting ENTER on select will close the value list
  * hitting UP/DOWN arrows will select previous/next values

Additional modifications:
  * opening arrow and search button were made non-focusable. It fixes the
    'wrong focus area' bug and simplifies keyboard usage. It doesn't affect
    mouse usage.

https://fedorahosted.org/freeipa/ticket/3324
2013-03-06 12:55:12 +01:00