summaryrefslogtreecommitdiffstats
path: root/base/server
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated TPS search filters.Endi S. Dewata2014-04-291-3/+3
| | | | | | | The token, certificate, and activity database have been updated to search against some predetermined attributes. Ticket #920
* Updated REST interface for security domain.Endi S. Dewata2014-04-281-4/+8
| | | | | | | The REST interface for security domain has been modified to return Response objects to allow better handling of server responses. Ticket #554
* Refactored SystemConfigService (part 12).Endi S. Dewata2014-04-251-127/+3
| | | | | | | Subsystem-specific configuration codes have been moved from the SystemConfigService into the subsystem-specific installer. Ticket #890
* Refactored SystemConfigService (part 11).Endi S. Dewata2014-04-251-15/+10
| | | | | | | TPS-specific database configuration code has been moved from the SystemConfigService into TPS-specific installer. Ticket #890
* Refactored SystemConfigService (part 10).Endi S. Dewata2014-04-251-79/+11
| | | | | | | The TPS-specific connector configuration code have been moved from the SystemConfigService into the TPS-specific installer. Ticket #890
* Refactored SystemConfigService (part 8).Endi S. Dewata2014-04-251-32/+37
| | | | | | | The TPS-specific code to finalize the configuration has been moved into a separate method. Ticket #890
* Refactored SystemConfigService (part 7).Endi S. Dewata2014-04-251-22/+24
| | | | | | | The OCSP-specific codes to finalize the configuration have been moved into separate methods. Ticket #890
* Refactored SystemConfigService (part 6).Endi S. Dewata2014-04-251-20/+28
| | | | | | | The KRA-specific code to finalize the configuration has been moved into a separate method. Ticket #890
* Refactored SystemConfigService (part 5).Endi S. Dewata2014-04-251-18/+33
| | | | | | | The CA-specific code to finalize the configuration has been moved into a separate method. Ticket #890
* Refactored SystemConfigService (part 4).Endi S. Dewata2014-04-251-11/+14
| | | | | | Some methods have been renamed for clarity. Ticket #890
* Refactored SystemConfigService (part 3).Endi S. Dewata2014-04-251-90/+107
| | | | | | | Some additional codes in SystemConfigService.configure() have been moved into separate methods. Ticket #890
* Refactored SystemConfigService (part 2).Endi S. Dewata2014-04-251-178/+205
| | | | | | | | In this patch the code that processes the certificate list has been moved into a new processCerts() method. Some variables have been renamed and some cleanup has been done for clarity. Ticket #890
* Refactored SystemConfigService (part 1).Endi S. Dewata2014-04-251-45/+44
| | | | | | | | | | | | | | This series of patches will incrementally refactor the SystemConfigService to make it more manageable, which will help development and troubleshooting, and also to resolve potential dependency issues on subsystem-specific installation procedures. This patch converts the code that handles the certificate list to use to Collection framework and to avoid duplicate parsing. It also contains some code cleanup. Ticket #890
* Reorganized TPS installer classes.Endi S. Dewata2014-04-253-461/+0
| | | | | | | | Some TPS-specific installation wizard panels have been moved from the common server package into the TPS package. The build script has been fixed accordingly. Ticket #890
* Added group members table in TPS UI.Endi S. Dewata2014-04-222-11/+5
| | | | | | | | | | A new table has been added to the group page in TPS UI for managing the group members. The addGroupMember() method in group REST interface has been fixed to accept JSON request properly. Ticket #654
* Fixed user's name in TPS UI.Endi S. Dewata2014-04-213-6/+33
| | | | | | | | | | | | | | | | Previously the user's name displayed in the top right corner of the TPS UI was hardcoded to Administrator. It has been fixed to display the full name of the authenticated user obtained from the server. The login() method in the account REST service has been modified to return the account information about the user and the roles in which the user belongs. This information can later be used to further customize the behavior of the UI based on the authorization data. The PKIRealm has been modified to store the authenticated user info in the PKI principal. Ticket #654
* PhoneHome feature:Jack Magne2014-04-153-0/+11
| | | | | | 1. Provides an xml file served by TPS to allow the client(esc) to configure itself to contact TPS. 2. Edewata review fixes. Return application/xml instead of text/xml, and fix how the phone home file path is calculated.
* Fixed missing Accept header handling.Endi S. Dewata2014-04-152-13/+41
| | | | | | | Some clients might not send the Accept header when invoking the REST services. To handle this the REST services have been modified to use the Content-type if the Accept header is missing, or use a default message format if Content-type is not specified.
* Added breadcrumb to TPS UI.Endi S. Dewata2014-04-154-66/+58
| | | | | | | | | | | | | | | | | | | | The TPS UI has been modified to use Backbone.Router to assign a unique path for each page. This way the browser's Back button will work properly and the page can be bookmarked. A home page has been added for the UI. Currently it provide links to all available pages. In the future it might be changed to display more useful information. A breadcrumb has been added to the top of each page to provide links back to the home page. Some new font files have been added from PatternFly library. The EntryWithPropertiesPage has been renamed to ConfigEntryPage. The Navigation class is no longer used so it has been removed. Ticket #959
* Replaced user dialog with user page.Endi S. Dewata2014-04-151-2/+2
| | | | | | | | | | | The dialog used to edit user attributes has been replaced with a details page since it will be required for breadcrumbs. A new HTML template has been added for this page. The renderField() in EntryPage has been renamed to loadField() for consistency with the Dialog clas. Ticket #654
* Replaced token dialog with token page.Endi S. Dewata2014-04-151-28/+22
| | | | | | | | | | | | | | | | | The dialog used to edit token attributes has been replaced with a details page since it will be required for breadcrumbs. A new HTML template has been added for this page. Changing token status now can be done both in token list page and in token details page. The EntryPage has been modified such that it requires the editable fields to be specified for the add mode. To improve the appearance, the input fields in all dialogs and pages will now appear as read-only while the data is still loading. Ticket #654
* Added enable/disable functionality for TPS audit.Endi S. Dewata2014-04-151-5/+34
| | | | | | | | | A new method has been added to TPS audit REST service to enable or disable audit logging. The CLI and UI have been modified to provide a way to acces this functionality. Also, new ACL entries have been added for audit. Ticket #955
* Added error dialog for TPS UI.Endi S. Dewata2014-04-152-9/+81
| | | | | | | Previously error messages were displayed using alert(). It has been replaced with a new ErrorDialog which can be formatted properly. Ticket #949
* Added change token status dialog.Endi S. Dewata2014-04-151-0/+14
| | | | | | | | | | | | | | | | | A new dialog has been added to change the token status. The status can be changed by clicking the Status value in the tokens table. Initially the status is Uninitialized. The status can be changed according to the allowed status transitions defined in the CS.cfg. The status and reason fields in TokenRecord is now translated into a single status field in TokenData. This way the UI only needs to handle a single status field. A new field has also been added to the database for token type. Some issues displaying and updating some token attributes have been fixed as well. Ticket #654
* Refactored UI framework.Endi S. Dewata2014-04-151-43/+62
| | | | | | | | | | | | | | | | | | | Previously the content of table cells was generated by JavaScript code. Now the content can be defined in the HTML template to allow cleaner separation from the code. Attributes of the entry being displayed in the row can now be specified in the template using ${attribute} notation. A special attribute called "parent" can be used to refer to the attributes of the parent object. The current templates have been modified to utilize this feature. The renderIDColumn() in TableItem is no longer needed so it has been removed. An open() method is added to handle any links in the cell. The PropertiesTableItem has been moved into tps.js. The "attributes" property in Dialog and EntryPage has been renamed to "entry". Ticket #654
* Trac ticket # 884 TPS Rewrite: Audit and other LoggingChristina Fu2014-04-111-0/+59
| | | | http://pki.fedoraproject.org/wiki/TPS_Rewrite#Audit_Messages
* trac ticket #888 part2 CA/KRA functions - TPS rewrite: provide remote ↵Christina Fu2014-04-095-46/+100
| | | | authority functions
* Fix crash when key size not set for key archivalAde Lee2014-04-091-1/+2
|
* Added general configuration page.Endi S. Dewata2014-04-081-4/+0
| | | | | | | | | | | | | | | | | | | A new page has been added to manage general TPS configuration properties. The properties are read-only by default. In edit mode the property name will become a link which will show a dialog to edit the property value. The config REST service has been updated to use PATCH for update operation and handle possible null collection of properties. Fixed a bug in TableItem.reset() where the code didn't clear the table cell properly. Fixed a bug in ConfigDatabase.getProperties() where the code didn't handle null property key properly. Ticket #654
* Added audit page.Endi S. Dewata2014-04-081-20/+62
| | | | | | | | | | A new page has been added to the TPS UI to manage audit configuration. The audit REST service has been modified to use PATCH like the other services. The audit events will now have 3 possible values: mandatory, enabled, disabled. Mandatory events cannot be edited. Optional events can be edited in edit mode. Ticket #654
* Refactored UI framework.Endi S. Dewata2014-04-081-294/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | A new tps.js has been added to store TPS-specific classes including PropertiesTable and EntryWithPropertiesPage. The Navigation has been refactored to simplify page registration. The render() method now has to be called separately after instance creation. The Table has been refactored to improve reusability. The code that handles a generic array of entry objects has been moved from the PropertiesTable into the Table class. The code that handles a Collection of Models has been moved into ModelTable. The Table now supports entry sorting and attribute mapping. The Table also supports view and edit modes. In view mode the Table will be read-only. In edit mode the action buttons will appear. The EntryPage has been refactored to handle a generic set of fields. The editable fields can be specified in a list. The code related to enable/disable buttons and properties table has been moved to EntryWithPropertiesPage. Some unused classes have been removed. Incorrect colum names in the HTML templates have been fixed. Ticket #654
* Fixed pagination controls.Endi S. Dewata2014-04-081-5/+10
| | | | | | | | The pagination controls have been fixed to resemble the UXD design. The page jump control is now located between the first/previous buttons and the next/last buttons. Ticket #848
* Added add functionality for some TPS resources.Endi S. Dewata2014-04-081-54/+127
| | | | | | | | | | | | | | | | | | | | | | | The add button in the list page for TPS profiles, connections, and authenticators has been modified to show a blank form to add a new entry. Once the entry is added, it will go back to the list page. The DetailsPage has been renamed into EntryPage and modified to support an add mode. In add mode the fields are editable. A new AddEntryPage was added to change the behavior when closing the page to return to the list page. The Page container now has to be specified in the constructor. The load() method is no longer taking any parameter. The open() has been added to simplify loading page template and content. The default length of the list page has been changed to 15 entries. Fixed some bugs in ConnectionModel, AuthenticatorModel, ConnectionDatabase, and in the HTML template. Ticket #654
* Fixed top level links to TPS UI.Endi S. Dewata2014-04-081-7/+1
| | | | | | | The links in the top level page have been fixed to point to the front page of the new TPS UI. Ticket #654
* Share subsystem cert in shared tomcat instancesAde Lee2014-03-314-25/+112
| | | | | | | | | | In shared tomcat instances, we need to share the subsystem cert and not create a new one for each additional subsystem added to the instance. In addition, if the instances share the same database, then only one pkidbuser should be created with the relevant subsystem cert and seeAlso attribute. Ticket 893
* Refactoring KeyClient class and crypto classes.Abhishek Koneru2014-03-311-1/+1
|
* Added save functionality for some TPS resources.Endi S. Dewata2014-03-292-36/+281
| | | | | | | | | | | | | | | | A new DetailsPage has been added to view and edit TPS resources including profiles, connections, and authenticators. Initially, in view mode the page is read-only. User can view properties but they are non-editable. To enter the edit mode the user needs to click the Edit link. In this mode the properties become editable. To save the all changes the user must click the Save button, and it will go back to view mode. The page also provides links to enable or disable the resource. The add functionality will be added separately later. New HTML templates and the CSS code have been modified to better control the formatting. Some unused code has been removed as well. Ticket #654
* Refactored TPS profiles.Endi S. Dewata2014-03-291-0/+1
| | | | | | | | | | The TPS profile has been modified to use PATCH for update operation as required by Backbone. The ProfileData class has been modified to accept null properties to indicate that the properties are not being updated. The ProfileModel class has been modified to use JSON data type for enable and disable operations. Ticket #654
* Added buttons and dialogs to manage TPS properties.Endi S. Dewata2014-03-292-116/+178
| | | | | | | | | | | | | | New buttons and dialogs have been added to add and remove properties in TPS profiles, connections, and authenticators. Currently the code will only change the properties in memory. The save functionality will be added separately later. Previously the Dialog class would only work with Models. The class has been refactored such that it will work with any storage mechanism. New CSS code was added to fix the dialog formatting. Ticket #654
* Added details page for TPS profiles.Endi S. Dewata2014-03-292-0/+76
| | | | | | | | | | | | | | | | A new page has been added to view TPS profile details. The properties are displayed in a table which provides pagination and search functionality. Currently the page is read-only. The edit functionality will be added separately later. Previously the ProfileData had a problem with JSON mapping because it incorrectly included a PropertyNames attribute. To fix the problem the class has been modified to require explicit JAXB mapping by setting the @XmlAccessorType to NONE. New CSS classes have been added to format the details page. Ticket #654
* Refactored UI framework.Endi S. Dewata2014-03-291-35/+55
| | | | | | | | | | | | | The current UI table assumes that the entries will be stored in a Collection object. Some tables might need different storage mechanisms, so the Table and TableItem classes have been refactored to allow sub- classes to override some of the operations. The Table initial render() method now will have to be called explicitly after object creation. The load() method in the Navigation class has been modified to pass the container element to the page being loaded. Ticket #654
* Table refresh improvement for TPS UI.Endi S. Dewata2014-03-292-74/+117
| | | | | | | | | | | | | | | | | Currently when a table is refreshed the rows are deleted and recreated, which makes the UI appear slow. The process has been changed such that all rows are created initially, then when the refresh happens, it will simply overwrite the content of the rows and clear the unused ones. The Table class has been refactored such that operations such as add, remove, and open can be overriden by the subclass. It also has been modified to clear the checkboxes on refresh. The ID columns have been standardized to use "id" attribute name. The HTML templates have been modified to use a new CSS class for better control over formatting and to include a default page number. Ticet #848
* Pagination improvement for TPS UI.Endi S. Dewata2014-03-282-31/+131
| | | | | | | | | | | | | The TPS UI has been modified to provide buttons to go to the first page, previous page, next page, and last page. The UI will also show the total entries, the current page number, and the total number of pages. Users can jump to a specific page by entering the page number. The CSS has been modified to allow better control of UI components. The UI table now has a default size of 5. It's no longer necessary to specify the size in each table. Ticket #848
* Added search filter for TPS UI.Endi S. Dewata2014-03-281-9/+30
| | | | | | | | | | The tables in TPS UI has been modified to handle search filters. When the user presses enter in the search field, the UI will perform a search operation using the filter specified in the field. The table will be updated with the new results. If the filter is empty it will show all entries. Ticket #847
* trac ticket #862 HTTP connection factory multi-uri addendumChristina Fu2014-03-254-66/+41
|
* Sign CA clone sslserver certificate using CA master.Matthew Harmsen2014-03-201-2/+64
| | | | | * Dogtag TRAC Ticket #816 - pki-tomcat cannot be started after installation of ipa replica with ca
* Changes to KeyClient on the java side.Abhishek Koneru2014-03-192-7/+4
| | | | | The KeyClient class on the java side is modified to have a similar design as the KeyClient class on the python side.
* Added search filter for TPS resources.Endi S. Dewata2014-03-195-14/+45
| | | | | | | | | | | | | | | | | | The TPS resources have been modified to accept a basic search filter for find operation. For resources based on LDAP database, the filtering is done using LDAP filter. For other resources, the filtering is done using string comparison. For now the filter is will only be matched against entry IDs. In the future the filter may be expanded to support other entry attributes. The CLI has been updated accordingly. The total attribute in DataCollection was changed from Integer into int because the total size of the collection cannot be null. The PKIException constructors have been consolidated into a single actual constructor. The other constructors have been modified to call the actual constructor with some default values. Ticket #847
* Added 'daemon-reload' methodMatthew Harmsen2014-03-181-4/+130
| | | | | | | | | | | | * PKI TRAC Ticket #869 - f19 ipa-server-install fails at step 6/22 of cert sys install - systemctl start pki-tomcatd.target fails * Cleaned up Pylint errors on Python Systemd class - Changed Systemd from old-style class to new-style class - Added Docstrings to all Systemd methods and functions - R:3078, 4: Method could be a function (no-self-use): NOTE: Although pylint reports that daemon_reload() could be declared as a function rather than a method, removal of the 'self' argument resulted in a compilation error.
* Ticket #888 - (part 1: TKS) TPS rewrite: provide remote authority functionsChristina Fu2014-03-172-48/+111
|