This commit is the UI portion of the session timeout feature for 2.4 (not incorporating the session_limit yet). This includes actively ending a session when the user's session time has expired, as well as giving the user a notification one minute prior that their session is about to end. It also includes removing 'session_timeout' from config.js. This is now retrieved from the response headers of each REST call. Each time the user make a rest call the session is extended another 1800 seconds (or whatever amount the user might configure with AUTH_TOKEN_EXPIRATION in local_settings.py)
This commit integrates the pendo support for the Tower UI, which involves creating an 'options' object and registering it with the pendo service installed in the index.html file. The options object is identified each time the user logs into Tower or when the browser session is refreshed.
In the demodalification of the custom inventory source modal, I switched to using the naming convention "inventory_source" instead of the original "source_script" title we dubbed it when we started developing the feature. I felt that
changing the naming convention better aligned with what is presented in the UI. This change continues to keep the naming convention consistent in the UI.
occassionally the hostCount will not get incremented despite a host result being processed as successful, failed, skipped, unreachable, or changed. This cause the UI not to show the host status
on the job detail page as host results were stored in the hostSummaries array, they were organized by hostname, but hostname can be changed as a result of the playbook potentially
The 'previous' button was not properly disabled when multiple pagination widgets were on the same page. Fixed by inlucding the 'iterator' in the 'previous' button lookup
editing/adding schedules in the related accordians for Projects and Job Templates were not working, where the action buttons for schedules not even showing up in the Schedule accordian. I've updated hte form objects as well as the form-generator to accept the list of action buttons and their icons. Also fixed a related issue where the scheduler titles were not showing up on the scheduler dialog
by removing the list of license-enabled-features when the user upgrades their license, it triggers the features.service.js to retrieve a new list of features from the config endpoint.
the license controller had a setTimeout that was pausing the logic of the license controller which was causing a blue rectangle to flash on the license page.
Adding the Copyright and All Rights Reserved to the JS files, as well as removing pwdmeter and 3dDonut chart (in lieu of d3.js donut chart)
adding the legend and getting pie chart to donut
adding data labels to donut chart
working legend and tooltip
job detail donut
Ansible Copyright added to beginning of all JS files
removing pwdmeter and d3donut
fixing merge conflicts
the license modal is now its own standalone page. this commit includes demodalizing the license page, directing the user to this page if no license exists, redirects the user to hte home page when a license is entered, and adds the license type to the license page and the About Tower modal. It also includes a small change to the aw-feature directive to better handle a session that does not have a license yet.
The cleanup_fact job requires a different set of parameters: older_than and granularity. A different prompt modal was required in order to reflect these extra parameters.
Within the pagination widget, the left (previous) arrow will always be shown now, with functionality disabled if the user is on the first page of results
'mode' was added to generate form, and when adding/editing new questions the 'mode' of the question form was getting mixed with the 'mode' of hte job template form.
based on the user's locale.
short and long date format filters
adding long date format to appropriate files
in doing a grep for the long date format, i found these files could instead use the londDate filter
Removing short hand abbreviation for dates.
We will now include the year in all our date formats
updating jshint to ignore moment
updating long date filter
awLicenseFeature with show/hide
changed file locations
changing file location
adjusting controller logic to only return list of features
leveraging $rootScope instead of local storage
adding awFeature directive for lists/forms for activity stream button
Adding route resolvers and service for getting license
In order to get the license info from the API and not from local storage, the UI needs to hit hte API before loading any pages, therefore I've added route resolvers that will ensure that we have the appropriate data (license features) before navigating to a new page. I've also added the awFeature directive to the organizations list -> add-button and the ldap checkbox on the user form page.
adjusting alignment
fixing jshint errors
commting file for testings
adding tests for features service and features controller
adding features controller unit test