Commit Graph

1108 Commits

Author SHA1 Message Date
Rob Crittenden
cc86c1459b Add information on setting api.env.host in the ipactl.8 man page
ticket https://fedorahosted.org/freeipa/ticket/1390
2011-08-19 08:38:33 +02:00
Endi S. Dewata
78bd3a181f Fixed inconsistent layout for password reset dialog.
The dialog box for resetting user password has been modified to use
the standard layout.

Ticket #1641
2011-08-18 20:35:19 +00:00
John Dennis
4015667bbe ticket 1650 - compute accurate translation statistics
ticket 1650 (https://fedorahosted.org/freeipa/ticket/1650) has
an extensive discussion of the issues, please refer to that.

This patch does the following:

* does not count fuzzy translations when computing translation
  statistics via the "msg-stats" make target in install/po

* adds a new make target called "pull-po" which pulls updated po files
  from Transifex (configure.ac includes some trailing whitespace fixes)

* turns off the generation of fuzzy translation suggestions during the
  message merge phase.
2011-08-18 14:25:58 +02:00
John Dennis
da139c1777 ticket 1661 - Update all po files
After updating po's current translation status is:

ipa.pot has 1329 messages. There are 21 po translation files.
as:          0/1329   0.0%  1329 untranslated,     0 fuzzy
bn_IN:      13/1329   1.0%  1316 untranslated,     0 fuzzy
zh_CN:     133/1329  10.0%  1196 untranslated,     0 fuzzy
zh_TW:       0/1329   0.0%  1329 untranslated,     0 fuzzy
nl:          1/1329   0.1%  1328 untranslated,     0 fuzzy
fr:          0/1329   0.0%  1329 untranslated,     0 fuzzy
de:         27/1329   2.0%  1302 untranslated,     0 fuzzy
el:          0/1329   0.0%  1329 untranslated,     0 fuzzy
gu:          0/1329   0.0%  1329 untranslated,     0 fuzzy
id:         89/1329   6.7%  1240 untranslated,     0 fuzzy
ja_JP:       0/1329   0.0%  1329 untranslated,     0 fuzzy
ja:          0/1329   0.0%  1329 untranslated,     0 fuzzy
kn:        243/1329  18.3%  1086 untranslated,     0 fuzzy
fa:          0/1329   0.0%  1329 untranslated,     0 fuzzy
pl:        492/1329  37.0%   837 untranslated,     0 fuzzy
pt_BR:       0/1329   0.0%  1329 untranslated,     0 fuzzy
pt:          0/1329   0.0%  1329 untranslated,     0 fuzzy
ru:        162/1329  12.2%  1167 untranslated,     0 fuzzy
es:       1329/1329 100.0%     0 untranslated,     0 fuzzy
sv:          0/1329   0.0%  1329 untranslated,     0 fuzzy
uk:       1329/1329 100.0%     0 untranslated,     0 fuzzy
2011-08-18 13:20:40 +02:00
John Dennis
2bc657acab ticket 1660 - update LINGUAS file, add missing po files
Our LINGUAS file and the set of po files have diverged from what's on
Transifex. We should update the LINGUAS file to match the set of
translations on Transifex and add po files currently on Transifex but
not in our git repo to our git repo.
2011-08-18 13:20:06 +02:00
Endi S. Dewata
2012f847f3 Fixed problem selecting value from combobox
The IPA.combobox_widget has been modified to use the 'change' event
to capture the selected value from the drop-down list.

Ticket #1654
2011-08-17 18:03:29 +00:00
Endi S. Dewata
0ec6b4fe1f Hide activation/deactivation link from regular users.
The IPA.user_status_widget has been modified to show/hide the link for
activating/deactivating users according to the attributelevelrights.

Ticket #1625
2011-08-17 17:28:31 +00:00
Endi S. Dewata
72a7e3ac2d Fixed browser configuration pages
The browser configuration pages have been modified to improve the
content and appearance.

Ticket #1624
2011-08-17 17:28:25 +00:00
Petr Vobornik
e8b64be673 error dialog for batch command
https://fedorahosted.org/freeipa/ticket/1597
https://fedorahosted.org/freeipa/ticket/1592

Added option to show multiple errors in error dialog.
2011-08-17 17:27:57 +00:00
Endi S. Dewata
0fcc752f86 Fixed problem with buttons in enrollment dialog.
The panel for selection buttons (i.e. ">>" and "<<") has been re-
positioned to avoid being covered by the adder-dialog-right panel.

Ticket #1626
2011-08-15 14:44:10 +00:00
Endi S. Dewata
f7067a1f08 Fixed link style in dialog box.
The general link style defined in ipa.css was overriden by a more
specific rule in jquery-ui.css. So the style has been modified to
include the more specific rule.

Ticket #1623
2011-08-15 14:04:40 +00:00
John Dennis
7d77afd0f8 transifex translation adjustment
Pull the new translations for Spanish (es) and Ukrainian (uk)

Update the LINGUAS file to add comment showing the friendly
name for the language abbreviation.

The make target msg-stats which produces a report about the state
of the translations no longer maintained it's column alignment
due to larger numbers so the formating was tweaked to maintain
column alignment.
2011-08-12 09:38:11 +02:00
Endi S. Dewata
bb31d3df21 Fixed problem clicking 3rd level tabs.
The 3rd level tabs were partially covered by the content panel, so
only the top portion can be clicked. The content panel has been
repositioned to avoid the problem.
2011-08-11 18:40:54 +00:00
Endi S. Dewata
9aec07e03b Fixed broken links in ipa_error.css and ipa_migration.css.
Some of the images that were previously deleted are actually needed
by ipa_error.css and ipa_migration.css, so they have been restored.

Ticket #1564
2011-08-11 13:38:36 +00:00
Endi S. Dewata
503470916c Fixed DNS zone adder dialog.
The DNS zone adder dialog has been modified to use radio buttons to
select whether to enter a zone name or a reverse zone IP network.

Ticket #1575
2011-08-10 14:27:31 +00:00
Endi S. Dewata
5681aea2af Fixed host adder dialog.
The host adder dialog has been modified to show separate fields for
hostname and DNS zone. The hostname is a text field and the DNS zone
is an editable drop-down list. The fields will have the following
behavior:

 - If the user types a dot into the hostname field, the cursor will
   automatically move into the DNS zone field.
 - If the user pastes an FQDN into the hostname field, the value will
   automatically be split into hostname and DNS zone.
 - If the user selects a value from the drop-down list, it will only
   change the DNS zone, not the hostname.

Ticket #1457
2011-08-10 14:27:22 +00:00
Endi S. Dewata
c5ce14c83a Fixed error after login on IE
The IE does not resend the request body during negotiation, so after
after a successful authentication the server could not find the JSON
request to parse.

The Web UI has been modified to detect this error and resend the
initialization request.

Ticket #1540
2011-08-09 14:04:06 +00:00
Jan Cholasta
8edd7ed998 Ask for reverse DNS zone information in attended install right after asking for DNS forwarders, so that DNS configuration is done in one place.
ticket 1522
2011-08-09 13:12:19 +02:00
Petr Vobornik
b936574672 Redirection after changing browser configuration
https://fedorahosted.org/freeipa/ticket/1502

Added redirection link.
CSS styling of configuration page.
Some CSS cleaning.
2011-08-08 13:49:26 -04:00
Endi S. Dewata
d08dcb40e1 Fixed facet group labels.
The facet group labels have been modified according to UXD spec.
Some facet groups will have more descriptive labels. Some others
will not have any labels because the facet tab is self-explanatory.

Ticket #1423, #1561
2011-08-08 12:00:07 -04:00
Endi S. Dewata
8519967ef1 Fixed 3rd level tab style.
The 3rd level tab style has been adjusted according to UXD input.
2011-08-08 12:00:06 -04:00
Petr Vobornik
08905eb9a9 Fixed adding host without DNS reverse zone
https://fedorahosted.org/freeipa/ticket/1481

Shows status dialog instead of error dialog (error 4304 is treated like success).

Refactored error dialog.
Added generic message dialog (IPA.message_dialog)
Modified core tests to work with dialog.
2011-08-05 19:14:19 +00:00
Endi S. Dewata
966fbd6485 Linked entries in HBAC/sudo details page.
The association tables in HBAC/sudo details page have been modified
to link the entries to the appropriate details page.

Ticket #1535
2011-08-04 11:46:41 -04:00
Rob Crittenden
8495af1a50 Re-arrange CA configuration code to reduce the number of restarts.
Ade Lee from the dogtag team looked at the configuration code and
determined that a number of restarts were not needed and recommended
re-arranging other code to reduce the number of restarts to one.

https://fedorahosted.org/freeipa/ticket/1555
2011-08-03 20:38:07 -04:00
Martin Kosek
eb0454d45c Improve error message in ipactl
If a hostname configured in /etc/ipa/default.conf is changed and
is different from the one stored in LDAP in cn=ipa,cn=etc,$SUFFIX
ipactl gives an unintelligible error.

This patch improves the error message and also offers a list of
configured master so that the hostname setting in IPA configuration
can be easily fixed.

https://fedorahosted.org/freeipa/ticket/1558
2011-08-04 08:18:18 +02:00
Endi S. Dewata
9150187ab9 Resizable adder dialog box.
The tables in the adder dialog have been modified to expand
according to the size of the dialog.

This patch also fixes the problem with row height on IE.

Ticket #1542
2011-08-02 22:56:58 -04:00
Endi S. Dewata
6412e59eed Fixed misaligned search icon.
The magnifier icon for the search field has been fixed to display
properly in all browsers.

Ticket #1541
2011-08-02 22:56:58 -04:00
Endi S. Dewata
bd2f4173b0 Fixed missing icons.
The Makefile.am and the spec file have been fixed to include all
icons in the install/ui folder.

Ticket #1559
2011-08-02 22:56:58 -04:00
Endi S. Dewata
4c9359ab62 Fixed certificate buttons.
The certificate buttons including Get, View, Revoke, Restore for hosts
and services have been fixed to use the correct entity name.

Ticket #1556
2011-08-02 13:32:34 -04:00
Adam Young
bb45e51809 use other_entity for adder columns
delay creation of the table until the columns have been set
https://fedorahosted.org/freeipa/ticket/1544
2011-07-29 14:28:56 +00:00
John Dennis
442973edc5 Clean up existing DN object usage 2011-07-29 13:13:55 +02:00
Endi S. Dewata
51cd0c916b Added association facets for HBAC and sudo.
The HBAC service, HBAC service group, sudo command and sudo command
group have been modified to show the associations as facets.

Ticket #1536
2011-07-28 21:40:03 -04:00
Endi S. Dewata
be17fed8c4 Fixed problem unprovisioning service.
The IPA.service_provisioning_status_widget has been modified to
execute the disable command with the right entity name.

Ticket #1543
2011-07-28 21:47:07 +00:00
Adam Young
970018f206 dns section header i18n.
https://fedorahosted.org/freeipa/ticket/1493
2011-07-28 19:11:17 +00:00
Endi S. Dewata
ab35f38e57 Fixed missing section header in sudo command group.
The sudo command group details page has been fixed to use the
correct label name.

Ticket #1537.
2011-07-28 19:11:01 +00:00
Adam Young
b36df6e9b9 removing setters setup and init
change widget and widget unit tests to hold on to entity, not entity name.
    Replacing entity_name with entity.name  in most places.
       The one exception is columns for table_widget.
       Widgets that refer to other entities have to have late resolution of the entity object, due to circular dependencies.

    cleanup entity assignment.
    removed template and layout,
    merged setup into create
    adder dialogs adjust height for external
    removed init from widget, isection, association, facet, host and service

    Make unit tests use factory.
    fix functional tests to click find link correctly.
    tweak to activation test, but still broken.
    moved initialization code to the end
    use --all for hbacrule find, so the type shows up now

    fixed dns exception code and exception handling for get_entity
    replace metadata look up with value from entity.
    fixed author lines
    removed duplicate columns in managed by facets.
    tweak to nav fix in order to initialize tab.
    more defensive code
    update metadata for true false
    one line init for entity_name in widget
    move init code to end of constructor functions
    moved constants to start of function for adder_dialog
    external fields for dialogs initialized at dialog creation
    sudo sections: move add fields and columns to widget definition.

   The parameter validation in IPA.column ...This is precondition checking.  Note that it merely throws an exception if the entity_name is not set.  I want this stuff at the top of the function so that it is obvious to people looking to use them what is required.  I added a comment to make this clear, but I'd like to keep precondition checking at the top of the function.

   decreased the scope of the pkey_name and moved the initiailzation fof columns into the setup_column function for association_tables

   return false at the end of click handler

   removed blank labels in sudo command section

   fix radio buttons for sudo category

   fixed table side for adder dialogs with external fields
    comments for future direction with add_columns

    https://fedorahosted.org/freeipa/ticket/1451
    https://fedorahosted.org/freeipa/ticket/1462
    https://fedorahosted.org/freeipa/ticket/1493
    https://fedorahosted.org/freeipa/ticket/1497
    https://fedorahosted.org/freeipa/ticket/1532
    https://fedorahosted.org/freeipa/ticket/1534
2011-07-28 14:17:25 -04:00
Endi S. Dewata
1b09ca53a2 Fixed hard-coded label in Find button.
The IPA.adder_dialog has been modified to use translated label for
the Find button.
2011-07-28 00:01:45 +00:00
Endi S. Dewata
a9a9f00aa9 Fixed hard-coded labels in sudo rules.
The sudo rule interface has been modified to remove unused labels
and use translated dialog box title.

Ticket #1518
2011-07-28 00:01:27 +00:00
Endi S. Dewata
d7e790dd07 Fixed problem setting host OTP.
The handler for host 'Set OTP' button has been modified to obtain
the primary key from the entity and return false to stop the normal
event processing.

Ticket #1511
2011-07-28 00:01:21 +00:00
Jan Cholasta
a2641254fe Fix external CA install.
ticket 1523
2011-07-26 22:30:21 -04:00
Endi S. Dewata
61ff6ff107 Fixed problem bookmarking Policy/IPA Server tabs
When opening a bookmark, each tab level will be updated separately
from top to bottom according to the URL state. The navigation code
has been modified to recognize when an ancestor tab is being updated
and not change the URL state.

Ticket #1521
2011-07-26 17:06:01 -04:00
Petr Vobornik
9a4ce988df fixed empty dns record update
https://fedorahosted.org/freeipa/ticket/1477

Redirection after updating empty DNS Record (which is deleted).
Added hook to details facet for post update operation.
2011-07-25 23:06:59 -04:00
Endi S. Dewata
53ab352b4a New icons for entitlement buttons
The entitlement facets have been modified to use the new icons
provided by Kyle Baker.

Ticket #1425
2011-07-25 14:02:39 -04:00
Martin Kosek
1897f12bc2 Fix man page ipa-csreplica-manage
Fix references to ipa-replica-manage in ipa-csreplica-manage.

https://fedorahosted.org/freeipa/ticket/1519
2011-07-25 10:55:33 +02:00
Adam Young
cf161509e5 move dns to identity tab
fix JSL warning
2011-07-22 17:04:11 -04:00
Endi S. Dewata
7b73fa7bb0 Fixed click handlers on certificate buttons.
The click event handlers for certificate buttons have been fixed
to stop standard event processing which causes the page to change.
2011-07-22 16:29:53 -04:00
Adam Young
4ae7edebaf remove hardcoded DNS label for record name.
https://fedorahosted.org/freeipa/ticket/1493
2011-07-22 16:25:16 -04:00
Endi S. Dewata
28b9288c51 Fixed navigation unit test.
The mock-up get_state() has been modified to return an empty object
if it's called without parameter. It's the same as $bbq.getState().
2011-07-22 18:55:39 +00:00
Endi S. Dewata
740bacdfb9 Fixed navigation problems.
The navigation code has been modified store the facet's state
separately in the facet object itself. The path state is stored
in the navigation object. When the path is changed to view a new
facet, only the path and the state of the new facet will be shown
in the URL, thus keeping the URL short.

This fixes pagination, bookmark and search filter problems as well.

Ticket #1507, 1516, 1517
2011-07-22 12:29:55 -04:00
Endi S. Dewata
38ed284054 Fixed problem with navigation state loading.
The select event handler in the navigation tab has been modified to
distinguish the source of the event. If the event is triggered by
URL hash change, it will use the state specified in the URL. If the
event is triggered by a mouse click, it will use the state stored
internally.
2011-07-22 12:25:06 -04:00
Endi S. Dewata
ca7395c353 Refactored IPA.current_facet().
The IPA.current_facet() has been merged into IPA.entity.setup()
and replaced by IPA.entity.get_facet(). The setup() will read the
current facet's name from the <entity>-facet URL parameter and store
the facet object in the entity object. The get_facet() without any
parameter will return the current facet object.
2011-07-22 12:13:10 -04:00
Jan Cholasta
df7ee2ccf5 Fix ipa-compat-manage not working after recent ipa-nis-manage change.
ticket 1147
2011-07-22 10:38:49 +02:00
Endi S. Dewata
4ff959f55d Removed custom layouts using HTML templates.
The code for supporting custom layouts using HTML templates has been
removed. If it's needed again in the future the code can be restored.

Ticket #1501
2011-07-21 11:47:57 -04:00
Endi S. Dewata
b5fe1e8f61 Removed HBAC access time code.
The HBAC access time is currently not supported, so the related UI
code has been removed to reduce maintenance issue. When the feature
becomes supported in the future the code may be restored/rewritten.

Ticket #546
2011-07-21 11:47:57 -04:00
Endi S. Dewata
af339cd546 Fixed problem loading data in HBAC/sudo details page.
In a recent change the details page was changed to create and locate
field containers with 'details-field' CSS class. The HBAC and sudo
custom details pages have been modified to use the same CSS class.

Ticket #1508
2011-07-21 15:34:30 +00:00
Endi S. Dewata
f210a08268 Removed entitlement registration UUID field.
The UUID field has been removed from the entitlement registration
dialog box because it's currently not supported. The code has been
modified not to send empty UUID value should this become supported
in the future.

Ticket #1506
2011-07-21 15:34:07 +00:00
Endi S. Dewata
8e8ad513a7 Creating reverse zones from IP address.
A custom adder dialog has been added for DNS zones to simplify creating
reverse zones from IP address. The dialog provides a checkbox which
indicates whether the content of the zone name field is an IP address.
The IP address will be used to generate the reverse zone name and email
address.

Ticket #1045
2011-07-20 15:09:19 -04:00
Endi S. Dewata
6d14331a05 Added checkbox to remove hosts from DNS.
A custom deleter dialog for hosts has been added to provide an option
whether to remove the hosts from DNS.

Ticket #1470
2011-07-20 13:51:20 -04:00
Adam Young
bc4e97e191 no dns
Remove all DNS entities if the DNS server is not installed.
Removes it from the navigation as well.

https://fedorahosted.org/freeipa/ticket/1498

move created count to last thing in the funciton.
2011-07-20 13:40:01 -04:00
Jr Aquino
9821160d89 Correct sudo runasuser and runasgroup attributes in schema
https://fedorahosted.org/freeipa/ticket/1309
2011-07-19 08:06:41 -04:00
Jr Aquino
78c3abd6ba Correct behavior for sudorunasgroup vs sudorunasuser
https://fedorahosted.org/freeipa/ticket/1309
2011-07-19 08:06:21 -04:00
Jan Cholasta
c1f5dadc4e Don't delete NIS netgroup compat suffix on 'ipa-nis-manage disable'.
ticket 1469
2011-07-19 13:45:01 +02:00
Jan Cholasta
c09f116f43 Clean up of IP address checks in install scripts.
Fixes ipa-dns-install incorrect warning.

ticket 1486
2011-07-19 12:30:47 +02:00
Endi S. Dewata
630ca4f40a Fixed host details fields.
The host details facet has been fixed to remove a redundant field
and include some missing fields.

Ticket #1484
2011-07-18 16:48:07 -04:00
Endi S. Dewata
538c7a7eb8 Removed reverse zones from host adder dialog.
The host adder dialog has been modified to specify the new flag
for retrieving the forward zones only.

Ticket #1458
2011-07-18 16:48:02 -04:00
Endi S. Dewata
571274e978 Entity select widget improvements
The IPA.entity_select_widget has been modified into a searchable and
editable drop down list. The base functionality has been extracted
into IPA.combobox_widget.

Ticket #1361
2011-07-18 14:47:57 -04:00
Rob Crittenden
a48a84a5ea Set the ipa-modrdn plugin precedence to 60 so it runs last
The default precedence for plugins is 50 and the run in more or less
alphabetical order (but not guaranteed). This plugin needs to run after
the others have already done their work.

https://fedorahosted.org/freeipa/ticket/1370
2011-07-17 22:24:30 -04:00
Rob Crittenden
3fdca99c48 Create tool to manage dogtag replication agreements
For the most part the existing replication code worked with the
following exceptions:

- Added more port options
- It assumed that initial connections were done to an SSL port. Added
  ability to use startTLS
- It assumed that the name of the agreement was the same on both sides.
  In dogtag one is marked as master and one as clone. A new option is
  added, master, the determines which side we're working on or None
  if it isn't a dogtag agreement.
- Don't set the attribute exclude list on dogtag agreements
- dogtag doesn't set a schedule by default (which is actually recommended
  by 389-ds). This causes problems when doing a force-sync though so
  if one is done we set a schedule to run all the time. Otherwise the
  temporary schedule can't be removed (LDAP operations error).

https://fedorahosted.org/freeipa/ticket/1250
2011-07-17 22:16:32 -04:00
Rob Crittenden
2f650b60a4 Use information from the certificate subject when setting the NSS nickname.
There were a few places in the code where certs were loaded from a
PKCS#7 file or a chain in a PEM file. The certificates got very
generic nicknames.

We can instead pull the subject from the certificate and use that as
the nickname.

https://fedorahosted.org/freeipa/ticket/1141
2011-07-17 22:14:24 -04:00
Rob Crittenden
038089a0c9 Validate that the certificate subject base is in valid DN format.
https://fedorahosted.org/freeipa/ticket/1176
2011-07-17 22:10:03 -04:00
Martin Kosek
1a207bb23c Fix typo in ipa-replica-prepare
https://fedorahosted.org/freeipa/ticket/1327
https://fedorahosted.org/freeipa/ticket/1347
2011-07-18 14:54:41 +02:00
Martin Kosek
50a2c45760 Check IPA configuration in install tools
Install tools may fail with unexpected error when IPA server is not
installed on a system. Improve user experience by implementing
a check to affected tools.

https://fedorahosted.org/freeipa/ticket/1327
https://fedorahosted.org/freeipa/ticket/1347
2011-07-18 09:36:43 +02:00
Jan Cholasta
5f0adc3fbe Fix exit status of ipa-nis-manage enable.
ticket 1247
2011-07-15 02:39:17 -04:00
Martin Kosek
d802aa57f1 Fix self-signed replica installation
When a replica for self-signed server is being installed, the
installer crashes with "Not a dogtag CA installation". Make sure
that installation is handled correctly for both dogtag and
self-signed replicas.

https://fedorahosted.org/freeipa/ticket/1479
2011-07-14 22:36:53 -04:00
Martin Kosek
aece880d8f Fix ipa-dns-install
When DNS plugin is installed via ipa-dns-install and user has a valid
Kerberos ticket at the time, the DNS installation is corrupt and named
won't start, reporting Preauthentication error.

When the non-DM identity is used for authentication, krbprincipalkey
attribute in DNS service LDAP record is not created, thus leading
to the error. This patch makes sure that authentication with Directory
Manager password is used every time.

https://fedorahosted.org/freeipa/ticket/1483
2011-07-15 17:36:29 +02:00
Jan Cholasta
881df73568 Fix creation of reverse DNS zones.
Create reverse DNS zone for /24 IPv4 subnet and /64 IPv6 subnet by
default instead of using the netmask from the --ip-address option.

Custom reverse DNS zone can be specified using new --reverse-zone
option, which replaces the old --ip-address netmask way of creating
reverse zones.

The reverse DNS zone name is printed to the user during the install.

ticket 1398
2011-07-15 16:42:16 +02:00
Rob Crittenden
37e3bf2a60 Disallow direct modifications to enrolledBy.
This fixes a regression.

We don't need to allow enrolledBy to be modified because it gets
written in the ipa_enrollment plugin which does internal operations
so bypasses acis.

https://fedorahosted.org/freeipa/ticket/302
2011-07-14 19:11:49 -04:00
Endi S. Dewata
4bd85ceb90 Fixed label capitalization
The CSS text-transform sometimes produces incorrect capitalization,
so the code has been modified to use translated labels that already
contain the correct capitalization.

Ticket #1424
2011-07-14 11:44:48 -04:00
Adam Young
a746c613a4 dnsrecord-mod ui
Brings the DNS record infrastructure in line with the other entities.
Uses widgets, nested search, and a littel bit of overloading for dns specific behavior
The records now have their own page.

simplified link widget and use for dns
links work for nested entities.

change the field in the link widget to other_entity to avoid name collision.
unit test for entity link.

fixed reference to entity for getting pkeys

work around lack of setattr for dns record mod.
update wasn't deducing locked_field type correctly.
don't overwrite param_info in init
data is required on adder dialog
delete works for multiple records
use show instead of find for entity_link_widget.

https://fedorahosted.org/freeipa/ticket/1038
https://fedorahosted.org/freeipa/ticket/1448
https://fedorahosted.org/freeipa/ticket/577
https://fedorahosted.org/freeipa/ticket/1460
2011-07-13 21:57:18 +00:00
Adam Young
bccdc7e03d remove HBAC warning from static UI 2011-07-13 20:14:30 +00:00
Alexander Bokovoy
b93e0b8bbf Convert nsaccountlock to always work as bool towards Python code
https://fedorahosted.org/freeipa/ticket/1259

Python code will see nsaccountlock as bool. JavaScript code will also see it as bool.

This allows native boolean operations with the lock field. Passes both CLI and WebUI tests.
2011-07-13 12:02:46 +02:00
Endi S. Dewata
86230333a8 Fixed collapsed table in Chrome.
The .content-table class has been modified to expand properly in
Firefox and Chrome.

Ticket #1450
2011-07-12 11:50:47 -04:00
Adam Young
e0238b5218 entity_select naming
http://fedorahosted.org/freeipa/ticket/1467
2011-07-12 11:01:18 -04:00
Endi S. Dewata
3229eee074 Added sudo options.
A table has been added into sudo rule details page for managing
sudo options.

Ticket #1447
2011-07-11 22:11:40 +00:00
Adam Young
0475340344 indirect admins
https://fedorahosted.org/freeipa/ticket/1465
2011-07-11 16:08:09 +00:00
Adam Young
30492ef3fa clear errors on reset
https://fedorahosted.org/freeipa/ticket/1446
2011-07-08 17:34:55 +00:00
Endi S. Dewata
2337fb5760 Fixed missing entitlement import button label
Ticket #1456
2011-07-08 16:50:44 +00:00
Adam Young
0a5f103733 check required on add
previsouly was checked on key down, but that does the check too soon.
Next attempt was on blur, but that had numerous problems.  This now checkes when the add button is clicked.
works for entity_select widget, too
Checks upon form submission

https://fedorahosted.org/freeipa/ticket/1437
2011-07-08 01:36:52 +00:00
Endi S. Dewata
6dc6c4b2c6 Fixed test fixture file name. 2011-07-07 20:33:06 +00:00
Endi S. Dewata
078d6dfb1c Fixed dirty dialog problems in HBAC/Sudo rules.
The update() in HBAC/Sudo details facet has been fixed to call the
callback function which will show the dirty dialog properly.

Ticket #1439
2011-07-07 16:27:59 -04:00
Endi S. Dewata
158bb676fd Fixed blank self-service page.
The self-service navigation has been fixed to include the root
of the navigation path.

Ticket #1445
2011-07-06 20:57:54 -04:00
Adam Young
e4a444ba81 HBAC deny warning
shows dialog if there are any HBAC deny rules.  Dialog provides option to navigate to the HBAC page.  Deny rules have their rule type value show up in red.

Only shows up fro administrators, not for self service users.

https://fedorahosted.org/freeipa/ticket/1421
2011-07-06 21:52:00 +00:00
Endi S. Dewata
aca908e1e4 Fixed HBAC/Sudo rules associations.
The HBAC/Sudo rules associations in users, groups, hosts and host
groups have been fixed to use the correct associator and method
names.

Ticket #1438
2011-07-06 11:42:14 -04:00
Adam Young
a38ad1d433 password expiration label 2011-07-05 18:00:05 -04:00
Adam Young
a3a9267334 validate ints
validate integers whether meta comes from metadata or param_info

https://fedorahosted.org/freeipa/ticket/1415
2011-07-05 20:31:00 +00:00
Endi S. Dewata
6083df1b02 Fixed object_name usage.
The object_name attribute was used as both an identifier and a
label which sometimes require different values (e.g. hbacrule
vs. HBAC rule). The code that uses object_name as an identifier
has been changed to use the 'name' attribute instead. The values
of the object_name attribute have been fixed to become proper
labels.

Ticket #1217
2011-07-05 16:19:10 -04:00
Endi S. Dewata
3894a4f13d Added arrow icons for details sections.
New arrow icons have been added to replace the plus/minus sign icons
for expanding/collapsing details sections.

Ticket #1422
2011-07-01 20:57:58 -04:00
Adam Young
7a25523d63 entity link for password policy
https://fedorahosted.org/freeipa/ticket/1111

reset() now hides both the link and the label
calucalating  should_link is now a function that can be overloaded.
2011-07-01 16:49:49 -04:00
Endi S. Dewata
c746abd63a Fixed button style in Entitlements
The entitlement buttons are located serveral levels underneath
facet-controls, so the CSS selector has been fixed to extend beyond
facet-controls' immediate children.

Ticket #1419
2011-07-01 03:10:38 +00:00
Endi S. Dewata
c27a6de2a6 Added confirmation dialog for user activation.
The IPA.user_status_widget has been modified such that it checks
the facet dirty status and asks the admin to either Update or Reset
the changes. Then the widget shows a dialog to confirm whether
the admin wants to activate/deactivate the user.

Ticket #1395
2011-07-01 02:49:12 +00:00
Adam Young
9d8ddb5d46 config widgets entity select default group checkbox for migration 2011-06-30 22:26:19 -04:00
Endi S. Dewata
2a52723465 Fixed hard-coded messages.
Hard-coded messages in the UI have been replaced with I18n messages.

Ticket #1396
2011-06-30 14:50:09 -04:00
Endi S. Dewata
d70ba68401 Removed unused images.
Images that are no longer used have been removed.

Ticket #990
2011-06-30 13:59:47 -04:00
Adam Young
21dd4a2a82 ipadefaultemaildomain 2011-06-30 12:39:56 -04:00
Adam Young
2352fcbcc3 config fields
https://fedorahosted.org/freeipa/ticket/1403
https://fedorahosted.org/freeipa/ticket/1404
https://fedorahosted.org/freeipa/ticket/1405
https://fedorahosted.org/freeipa/ticket/1406

fields and sections for config screen
Using multivalue controls for object classes
2011-06-30 11:23:58 -04:00
Adam Young
870e430b65 undefined pkeys https://fedorahosted.org/freeipa/ticket/1399
Thereis not metatdata defined pkey for config, so we need to short circuit the logic that uses the metatdata pkey to look up the key from the hashurl.
2011-06-29 21:14:16 +00:00
Adam Young
b8b2ac5357 containing entity pkeys
Instead of looking for a match on the entity name, use the nesting structure
of containing entites to grab their pkeys.

Code review fixes

https://fedorahosted.org/freeipa/ticket/674
2011-06-29 17:09:57 -04:00
Adam Young
66eeaceb8c shorten url cache state in a javascript variable, and leave on information about the current entity in the URL hash params
https://fedorahosted.org/freeipa/ticket/674

decrement depth for hidden tabs.

Initialize state from url
useing delete for removing state
stricter attribute matching
not incrementing depth for all hidden tabs.
whitespace cleanup
2011-06-28 22:40:42 +00:00
Jan Cholasta
f05141e646 Remove redundant configuration values from krb5.conf.
ticket 1358
2011-06-28 01:10:06 -04:00
Martin Kosek
5f4c75eb28 Allow recursion by default
Update name server configuration file to allow any host to issue
recursive queries (allow-recursion statement).

https://fedorahosted.org/freeipa/ticket/1335
2011-06-27 23:14:16 -04:00
Adam Young
acc00afa4c Generate record type list from metadata https://fedorahosted.org/freeipa/ticket/945
now matches record at the end of the string
2011-06-28 18:10:02 +00:00
Endi S. Dewata
f1e1223bd9 Fixed undo all problem.
The IPA.multivalued_text_widget has been modified such that the
'undo all' will appear only if at least one of the values is dirty.

Ticket #1109
2011-06-27 20:55:47 -04:00
Adam Young
6e967d8fe7 validate required fields https://fedorahosted.org/freeipa/ticket/1329
overides required with optional.
2011-06-27 20:15:56 -04:00
Adam Young
d2d5278c52 optional uid
Make the uid field optional
2011-06-27 16:33:35 -04:00
Endi S. Dewata
3aa371b301 Fixed DNS records page title.
The DNS records are presented as a facet in the DNS zone details
page, so the page title should say DNS Zone.
2011-06-27 12:16:38 -04:00
Adam Young
800cb7f46e identify target as section for permissions 2011-06-27 12:14:49 -04:00
Endi S. Dewata
7452b6d3cb Fixed entity labels.
The entity labels in the following locations have been fixed:
 - search facet title: plural
 - details facet title: singular
 - association facet title: singular
 - breadcrumb: plural
 - adder dialog title: singular
 - deleter dialog title: plural

Some entity labels have been changed into the correct plural form.
Unused file install/ui/test/data/i18n_messages.json has been removed.

Ticket #1249
Ticket #1387
2011-06-27 12:11:22 -04:00
Endi S. Dewata
8d9575605d Added singular entity labels.
A new attribute label_singular has been added to all entities which
contains the singular form of the entity label in lower cases except
for acronyms (e.g. HBAC) or proper nouns (e.g. Kerberos). In the Web
UI, this label can be capitalized using CSS text-transform.

The existing 'label' attribute is intentionally left unchanged due to
inconsistencies in the current values. It contains mostly the plural
form of capitalized entity label, but some are singular. Also, it
seems currently there is no comparable capitalization method on the
server-side. So more work is needed before the label can be changed.

Ticket #1249
2011-06-27 12:11:22 -04:00
Jan Cholasta
3656d9be3c Verify that the hostname is fully-qualified before accessing the service information in ipactl.
Fail gracefully if the supplied hostname isn't fully-qualified in
ipa-server-install.

ticket 1035
2011-06-24 01:23:14 -04:00
Endi S. Dewata
1717d638fc Added record count into association facet tabs.
The details and association facets have been modified to show the number of records in each association in the corresponding facet tab.

Ticket #1386
2011-06-24 12:05:51 -04:00
Rob Crittenden
8a32bb3746 Make dogtag an optional (and default un-) installed component in a replica.
A dogtag replica file is created as usual. When the replica is installed
dogtag is optional and not installed by default. Adding the --setup-ca
option will configure it when the replica is installed.

A new tool ipa-ca-install will configure dogtag if it wasn't configured
when the replica was initially installed.

This moves a fair bit of code out of ipa-replica-install into
installutils and cainstance to avoid duplication.

https://fedorahosted.org/freeipa/ticket/1251
2011-06-23 19:04:33 -04:00
Adam Young
cbffe1d65d automountkey details
Adds hooks for navigation to the show page due to the unusual way that keys are accessed.

https://fedorahosted.org/freeipa/ticket/1257
2011-06-23 20:24:14 -04:00
Rob Crittenden
8810758c11 Let the framework be able to override the hostname.
The hostname is passed in during the server installation. We should use
this hostname for the resulting server as well. It was being discarded
and we always used the system hostname value.

Important changes:
- configure ipa_hostname in sssd on masters
- set PKI_HOSTNAME so the hostname is passed to dogtag installer
- set the hostname when doing ldapi binds

This also reorders some things in the dogtag installer to eliminate an
unnecessary restart. We were restarting the service twice in a row with
very little time in between and this could result in a slew of reported
errors, though the server installed ok.

ticket 1052
2011-06-23 02:11:34 -04:00
Endi S. Dewata
975e2bfa2b Added navigation breadcrumb.
Navigation breadcrumb has been added to the facet header. The
breadcrumb will appear on details, association, and automount
facets.

Ticket #1323
2011-06-23 15:50:55 -04:00
Endi S. Dewata
c8eb76766a Converted entity header into facet header.
The content and the size of entity header changes depending on the
facet being displayed, so the entity header has been converted into
a facet header to allow better control via CSS.

The DNS record facet has been updated to use the same styling and
support scrolling.

To help styling and testing, all buttons have been assigned a name.
2011-06-23 15:50:49 -04:00
kylebaker
3d9fb938d9 Facet icon swap and tab sizing 2011-06-23 19:30:00 +00:00
kylebaker
545ecf94ef Tab and spacing on list 2011-06-23 19:29:50 +00:00
Martin Kosek
b227208d01 Fix IPA install for secure umask
Make sure that IPA can be installed with root umask set to secure
value 077. ipa-server-install was failing in DS configuration phase
when dirsrv tried to read boot.ldif created during installation.

https://fedorahosted.org/freeipa/ticket/1282
2011-06-21 23:45:00 -04:00
Rob Crittenden
ba42b700eb Update translation files 2011-06-21 19:21:55 -04:00
Rob Crittenden
dd69c7dbe6 Make data type of certificates more obvious/predictable internally.
For the most part certificates will be treated as being in DER format.
When we load a certificate we will generally accept it in any format but
will convert it to DER before proceeding in normalize_certificate().

This also re-arranges a bit of code to pull some certificate-specific
functions out of ipalib/plugins/service.py into ipalib/x509.py.

This also tries to use variable names to indicate what format the certificate
is in at any given point:

dercert: DER
cert: PEM
nsscert: a python-nss Certificate object
rawcert: unknown format

ticket 32
2011-06-21 19:09:50 -04:00
Adam Young
3a36eced53 tooltips for host add
https://fedorahosted.org/freeipa/ticket/1363
https://fedorahosted.org/freeipa/ticket/1361
2011-06-22 02:12:25 +00:00
Endi S. Dewata
f47ec11727 Fixed problem with navigation tabs on reload.
The navigation have been fixed to show the correct active tabs after
browser reload.

Ticket #1362
2011-06-21 14:44:45 -04:00
Rob Crittenden
c329a54c09 The IP address provided to ipa-server-install must be local
Compare the configured interfaces with the supplied IP address and
optional netmask to determine if the interface is available.

https://fedorahosted.org/freeipa/ticket/1175
2011-06-20 22:14:10 -04:00
Adam Young
5f23c29d70 entity select for password policy http://fedorahosted.org/freeipa/ticket/1110 2011-06-21 01:14:57 +00:00
Adam Young
eeed975bc6 ipaddress for host add
updated label triggered an API change
2011-06-20 20:53:15 -04:00
Adam Young
d3bf7e4284 editable entity_select
jsl fixes

https://fedorahosted.org/freeipa/ticket/1043

remove redundant call to focus.
2011-06-20 15:36:30 -04:00
Adam Young
38f4368e30 no redirect on unknown error If the error name is indicates a server wide error, do not attempt to redirect.
this variation has a whitelist of errors on which to redirect.

https://fedorahosted.org/freeipa/ticket/1281
2011-06-20 18:46:48 +00:00
Adam Young
0399c140d9 entity select undo
Tests for dirty after the RPC call has completed and the select has updated
Passes the original value to the RPC completion, so it isn't lost upon RPC completion

https://fedorahosted.org/freeipa/ticket/1340
2011-06-20 17:24:21 +00:00
Endi S. Dewata
eacd33e88e Removed FreeWay font files.
The CSS files in install/html and install/migration have been
modified to use the Overpass font.
2011-06-20 12:59:05 -04:00
Adam Young
42d7ffbed1 service host entity select Use the entity select widget for add service 2011-06-20 16:50:28 +00:00
Adam Young
d72fed190e hide automount tabs.
the tabs are required for natigation, but they should not be visible, as the breadcrub provides the navigation for them instead.

Moved the automount tabs up one level so that it uses the  two level style
2011-06-20 16:39:47 +00:00
Adam Young
4ea381649d entity select widget for manager https://fedorahosted.org/freeipa/ticket/1149 2011-06-20 16:27:31 +00:00
Martin Kosek
d9808498a8 Improve IP address handling in IPA option parser
Implements a way to pass match_local and parse_netmask parameters
to IP option checker.

Now, there is just one common option type "ip" with new optional
attributes "ip_local" and "ip_netmask" which can be used to
pass IP address validation parameters.

https://fedorahosted.org/freeipa/ticket/1333
2011-06-19 20:06:21 -04:00
Endi S. Dewata
79ce958a3c Storing page number in URL.
The association facet has been modified to store the current page
number in the browser's URL. This way page changes are stored in
browser's history allowing the back button to work properly.

Ticket #1264
2011-06-17 16:01:40 -04:00
Endi S. Dewata
313f201ea5 Merged direct and indirect association facets
The direct and indirect associations are now displayed in the same
facet. The type of association to be displayed can be selected
using radio buttons.

Ticket #1338
2011-06-16 20:11:22 -04:00
Adam Young
dbeae4e3f4 test dirty onchange
instead of blindly setting dirty, check if the filed has a different value than it originally did.

https://fedorahosted.org/freeipa/ticket/1337
2011-06-16 20:29:14 +00:00
Adam Young
c03fab1095 test dirty multivalue test the multivalue widgets for changes before showing the undo link. https://fedorahosted.org/freeipa/ticket/1337 2011-06-16 20:29:10 +00:00
Adam Young
c610a17383 test dirty textarea
runs the testdirty check before setting the undo tag for a textarea
2011-06-16 14:36:04 -04:00
Adam Young
f02b544aaf test for dirty
instead of always setting dirty, we do the original test, and then set the flag and show the link.

https://fedorahosted.org/freeipa/ticket/1337
2011-06-16 17:21:22 +00:00
Endi S. Dewata
d6343f4bb0 Fixed self-service links.
In self-service mode the user's association facets have been modified
such that the entries are not linked since the only available entity
is the user entity.

A 'link' parameter has been added to IPA.association_facet and
IPA.column to control whether to link the entries. The link_handler()
method can be used to define how to handle the link.

Ticket #1072
2011-06-16 11:51:25 -04:00