Commit Graph
61 Commits
Author SHA1 Message Date
Jared Tabor 5f38b4fde4 removes code/references related to cleanup_facts mgmt jobs, and their schedules 2018-04-26 09:35:34 -07:00
Jared Tabor b154949639 Removes dupclicate Angular import, and removes tower.app.js module from network UI 2018-04-26 09:22:25 -07:00
Jared Tabor 6f1774f1b1 Adds NgNonBindable directive to stdout lines
in order to prevent stdout code from running angular snippets
2018-04-23 19:51:14 -07:00
Jared Tabor 99fb8e6d83 Updates URL for host events for adhoc commands 2018-04-23 19:15:12 -07:00
Jared Tabor 298af25bab Points the host event modal's Standard Out tab at event_data.res.stdout
instead of `event_data.res.results.stdout`. Same for stderr. This was
some stale copy pasta from the host event modal rework
2018-04-23 18:13:26 -07:00
Jared Tabor 929129e8ad Makes CodeMirror Modal resizable 2018-04-23 18:05:47 -07:00
Jared Tabor 0b4d88a57d Adds ability for parent controller to call atCodeMirror's init() function.
This enables the parent controller to re-instantiate the CodeMirror instance
on the fly, when necessary. This was necessary on the NetworkUI to update the
CodeMirror instance on the Host Detail panel.
2018-04-23 17:35:17 -07:00
Jared Tabor 19ebaa6916 Adds atCdeMirror directive
This commit adds a new component to be used for showing CodeMirror
instances, along with an expandable capability to view more variables.
It also removes the previous directive for the Network UI that used
to include this functionality.
2018-04-23 17:35:16 -07:00
Jared Tabor 639da5de59 Changes https flag to false for UI dev env 2018-04-06 13:28:24 -07:00
Jared Tabor fe58b74d1e Adds the host event modal to the standard out feature
Removes old host modal code
2018-04-05 02:49:38 -04:00
Jared Tabor 0f5f2804a7 Reverts DeleteJob factory, fixes null provider to stdout pages
and removing unnecessary console.logs in app.js
2018-04-04 11:38:27 -07:00
Jared Tabor 9f07beed59 Increases the angular-tz-extension tag in package.json
The angular-tz-extensions was changed to accomodate for an issue with
UTC dates not getting parsed correctly.
2018-04-03 21:27:38 +00:00
Jared Tabor 92dc450940 Adds acceptance doc for networking UI
* Adds gerkin feature file for networking visualization
* Adds implementation details to networking.md
2018-03-29 16:53:57 -04:00
Jared Tabor df60876bf3 Adds a debug function to turn on $log.debug 2018-03-23 16:17:24 -07:00
Jared Tabor 883545d4cb Fixes some bugs from PR feedback
* Fixes bug where new devices on the canvas weren't added to the search dropdown
* Fixes bug with closing the details panel
* Changes the fill color to white for remote-selected devices
* Fixes read-only mode by swapping out move controller for move read-only
* Updates range on the zoom widget
2018-03-23 17:00:28 -04:00
Jared Tabor 82ec0d4d4b Disables actions according to RBAC privilege
* Removes the toolbox if user doesn't have permission to edit
* Fixes the extra click that was identified with the context menu
* Adds new readonly version of the move FSM
* Adds an enhancement to debug directive to align the text better
* Disables the toolbox FSM if user doesn't have permission to edit
2018-03-23 17:00:27 -04:00
Jared Tabor abb95fdad6 Cleans up the Network UI after PR feedback and UX feedback
-removes stale commented-out lines
-makes "unknown" type devices smaller on canvas
-moves "unknown" type device title underneath icon
-removes collapsed inventory toolbox
-changes "Delete" to "Remove"
-removes the "Close" button for "Cancel" on details panel
-changing Remove color to red
2018-03-23 17:00:27 -04:00
Jared Tabor 66c351c60c Cleans up network UI code for 3.3
This removes features that were not selected for 3.3.

* Removes breadcrumb
* Removes "Jump To" panel and some of the hotkey panel items
* Removes Buttons in favor of Action Dropdown
* Removes chevrons
* Removes ActionIcon model
* Removes the Rename button on the context menu
* Makes details panel readonly
* Adds expand modal for extra vars
* Adds inventory copy function back to inventory list
* Sets cursor to visible
* Adds hide_menus
* Adds fix for mice that return large mousewheel deltas
2018-03-23 17:00:25 -04:00
Jared Tabor 14ee6a8360 Adds editing to the host details form.
* Adds editing host vars, description, and name to the host details
form.
* Adds details panel FSM and updates to keybindings FSM
2018-03-23 17:00:22 -04:00
Jared Tabor 050f43e3bf Improves host details panel UI
* Hooks up the first two context menu buttons
* Makes the rename and details menu show up
    wherever the user's cursor's location
* Adds TopologyInventory and DeviceHost tables
* Adds design for host_id on the Device table
* Adds migrations for TopologyInventory
* Adds host_id to Device table
* Adds inventory_id and host_id tracking
* Auto-closes the right hand panel if focus is directed to the canvas.
* Retrieves the host details on inventory load.
* Adds back support for inventory and host_id tracking
* Adds host icon
* Changes rack icon to new icon
* Site icon replacement
* Fixes host icon "hitbox", and adding debug and construction
* Adds construction and debug lines for switch, router, rack, and site
* Adds some error handling for REST calls, as well as alert on
    host detail panel.
2018-03-23 17:00:20 -04:00
Jared Tabor a1f639bc8f Adds host detail panel UI and improves toolbox UI
* Changes Layers' panel's default setting to not expanded
* Adds OffScreen2 state to handle the case where a toolbox is both offscreen and disabled
* Adds a collapsed view of the toolbox, as well as a model for ActionIcons
    which is a model whose purpose is to connect the button FSM with the
    chevron icons that are used on the toolbox.
* Adds action-icon directive
* Enables/disables the icons if they're not shown
* Fixes initial state of the toolboxes
* Creates context menu and context menu buttons in the network UI
* Adds extra vars to details panel on left hand side
2018-03-23 17:00:19 -04:00
Jared Tabor 2a8ced5a5d Adds network UI shell wrapper
* Adds networking icons, state, and shell
* Adds network UI to the network UI shell.
* Removes jquery as a dependency of network-ui
* Fills the entire viewport with the network canvas and
    makes header panel and the right panel overlay on
    top of it
2018-03-23 17:00:18 -04:00
Jared Tabor 8643972064 Fixes issue with sockets and XHR requests for backgrounded tabs
adjusts toggling based on API setting and doesn't toggle for job stdout page
2018-03-23 12:40:34 -07:00
Jared Tabor 86eb0353c5 fixing url used for determining which notification to toggle on/off
for #711
2017-12-12 11:07:21 -08:00
Jared Tabor a3144ee234 Update error handling on host service after angular upgrade 2017-12-04 13:52:34 -08:00
Jared Tabor 32cb18fc85 removing codemirror instantiation from $transition event 2017-11-14 10:24:36 -08:00
Jared Tabor e70d377a53 feedback from PR: launch both DELETE calls at the same time
for both groups and hosts.
2017-11-03 16:26:00 -07:00
Jared Tabor f65ef9f75c prolong removing the delete modal until after the list refreshes, post-delete 2017-11-03 15:25:39 -07:00
Jared Tabor 9d39ac83f9 When deleting a source, delete the source's groups too 2017-11-02 15:59:09 -07:00
Jared Tabor aef224732c changing angular-tz to point to a branch with a patch for UTC timezones
and also patching angular-scheduler to point to angular 1.4.14
and also patching angular-codemirror to point to angular 1.4.14,
and adding fsevents:"*" to the package.json, and regenerating
npm-shrinkwrap.json for the new dependencies and their branches.
2017-10-30 14:20:24 -07:00
Jared Tabor 4fbfddaa93 changes from PR feedback: removing ghost action icon
and fixing a bug where the list of job templates was improperly
updated when a job was running and live events were received.
2017-10-26 16:50:12 -07:00
Jared Tabor 5e349590fd making JOB TEMPLATES tab the last tab on the projects form 2017-10-25 11:21:36 -07:00
Jared Tabor 625c0ad578 Adding Project Based Navigation of Job Templates
This adds a Job Templates tab onto the Project form that gives
the user the ability to see all the job templates using a project.
Clicking the add button on this list will take the user to the job
template form with the project field auto-filled with the project.
2017-10-25 11:21:36 -07:00
Jared Tabor 275e02a8cf fixing issue with scrolling due to UI-router upgrade 2017-10-18 20:16:05 -07:00
Jared Tabor 887a09d052 fixing issue from UI-router upgrade where document title wouldn't update
with the name of the state.
2017-10-18 16:34:39 -07:00
Jared Tabor 02af117f51 adjusting unit tests to pass 2017-10-18 16:34:39 -07:00
Jared Tabor 6e2de1b4b0 changing "dyanmic" to "dynamic" 2017-10-18 16:34:39 -07:00
Jared Tabor 47f743e623 fixing removeTerm for smart search to work 2017-10-18 16:34:39 -07:00
Jared Tabor 4f0fa57a1b removing $urlMatcherFactory and $urlRouter b/c they're deprecated
in favor or $urlService
2017-10-18 16:34:39 -07:00
Jared Tabor 3d5f301a07 removing notify:false, it's deprecated 2017-10-18 16:34:39 -07:00
Jared Tabor f9c991e660 replacing all stateChangeSuccess for $transition.onSuccess 2017-10-18 16:34:39 -07:00
Jared Tabor 6e3f4a7a6e fixing issues w/ lazyloaded states 2017-10-18 16:34:38 -07:00
Jared Tabor 07139820cb updating angular-ui-router to v. 1.0.7 2017-10-18 16:34:38 -07:00
Jared Tabor d3eea5e694 generalizing class which is ignored when trying to drag the host-event-modal
it was only applied to .CodeMirror, which is only used by the JSON tab
2017-10-18 10:55:53 -07:00
Jared Tabor 774a3da7f4 generalizing class which is ignored when trying to drag the host-event-modal
it was only applied to .CodeMirror, which is only used by the JSON tab
2017-10-17 16:03:39 -07:00
Jared Tabor c9ffc0e7c1 adding extra logic check for ansible_facts in smart search
a change related to related-group-searches caused a regression when
searching for ansible_facts
2017-09-29 15:02:50 -07:00
Jared Tabor 140af9ea47 adding "admin_role" as a default query param for insights cred lookup 2017-09-29 12:25:21 -07:00
Jared Tabor 8980e70918 changing insights cred lookup to not use hard coded cred type
and rather, do a comparison against the credential_type endpoint
2017-09-29 12:18:30 -07:00
Jared Tabor 3c29baea61 fixing typo with adding query params for instance groups modal
it was missing the query params for order_by and page_size
2017-09-27 13:57:02 -07:00
Jared Tabor a2e947ff70 turning off debug mode 2017-09-21 20:17:54 -07:00
Jared Tabor 4aa841f44b Final fix for socket connection when emitting messages before connection is open
using setTimeout
2017-09-20 20:07:17 -07:00
Jared Tabor 28c1718965 tagging ON/OFF toggles for translations 2017-09-20 17:58:52 -07:00
Jared Tabor 557780bf08 adding translation tag for "No records matched your search" 2017-09-20 17:52:13 -07:00
Jared Tabor 0b1d8ccd92 send last socket message if last socket didn't go thru due to socket not open 2017-09-20 18:40:37 +00:00
Jared Tabor 44be46a436 using settimeout if connection not opened 2017-09-19 16:28:12 -07:00
Jared Tabor ef4388f414 taging some delete modals for translations 2017-09-19 13:25:45 -07:00
Jared Tabor 3b83d6639a initializing i18nInit module 2017-09-18 16:29:49 -07:00
Jared Tabor bf2aabda66 My fix for reverting adhoc modules 2017-08-04 15:21:42 -07:00
Jared Tabor 73c118b914 fixing race condition with config service
for enterprise/basic licenses, the user should be immediately routed
to the license page if they do not have a license.
2017-08-03 12:33:10 -07:00
Jared Tabor 6f51571550 allowing job submission to submit only a vault cred
previously you were only allowed to submit a job if it had an ssh cred
2017-07-25 18:14:50 -07:00
Jared Tabor 005079e5b6 fixing URL used for "VIEW MORE" of groups 2017-07-25 14:37:38 -07:00