Commit Graph

44 Commits

Author SHA1 Message Date
Michael Abashian
d65d505862 Removed uppercasing from resource names in titles 2017-03-08 17:35:48 -05:00
John Mitchell
d97ac8cec6 reorder user and notification template form fields 2017-03-07 16:48:50 -05:00
Michael Abashian
d8262e131a Fixed sorting on a few related lists 2017-02-08 18:24:30 -05:00
Michael Abashian
1ac047c302 Fixed permissions list sorting across app. Fixed inv edit breadcrumb 2017-01-31 10:11:54 -05:00
Chris Meyers
8f9aecf716 hide add permissions when editing super user 2017-01-20 17:11:16 -05:00
Chris Meyers
36acc5c6bc better empty list error message
related to #4047
2017-01-10 17:19:24 -05:00
Michael Abashian
a5f275bcca Fix for adding batch permissions to teams. Also added logic to properly enable/disable the save button on this modal. 2016-12-19 12:27:41 -05:00
Leigh Johnson
94ea3cfcfe Update User/Team form config 2016-12-15 14:56:11 -05:00
Bill Nottingham
832011aa99 Mark additional strings for translation. 2016-12-06 11:54:20 -05:00
Michael Abashian
089f369cc4 Implemented WFJT copy and moved JT copy away from a viewless route 2016-11-30 16:55:19 -05:00
Matthew Jones
c6cf02a602 Merge branch 'release_3.0.3' into devel
* release_3.0.3: (55 commits)
  Revert "Revert "Add needed types for selinux change""
  Revert "Add needed types for selinux change"
  interpret backslash escapes when displaying url in welcome message
  Bump the SELinux policy version
  Add needed types for selinux change
  Update SELinux policy to allow httpd_t to execute files in lib_t and var_lib_t
  Bumping changelog for 3.0.3
  Update rax.py inventory
  Revert "filter internal User.admin_roles from the /roles API list view"
  fix spelling of disassociated
  Resolves 404 when assigning resources/users to organizations in card view. Sidesteps a bug in the Refresh() utility, where pagination calculations are not made against filtered results.
  Sync azure changes to Tower virtual environment
  Add regions here as well.
  Also bump boto for new regions, per ryansb.
  More regions!
  Revert "bump shade version"
  bump shade version
  Hack copying of job_template.related.survey_spec into ui job copy flow, resolves #3737
  Revert "bump shade version"
  bump shade version
  ...
2016-11-01 11:49:28 -04:00
Leigh Johnson
a49095bdbc Boolean / Smart Search (#3631)
* Part 1: building new search components

Directives: smart-search, column-sort, paginate
Service: QuerySet
Model: DjangoSearchModel

* Part 2: Implementing new search components, de-implementing old search
components

Remove old code:
	* tagSearch directive
	* old pagination strategy
	* old column sorting strategy
	* lookup

Add new directives to list/form generator:
	* smart-search,
	* paginate
	* column-sort

Connect $state + dataset resolution
	* upgrade ui-router lib to v1.0.0-beta3
	* Custom $urlMatcherFactory.type - queryset
	* Render lists, forms, related, lookups in named views
	* Provide html templates in list/form/lookup/related state definitions
	* Provide dataset through resolve block in state definitions

Update utilities
	* isEmpty filter
	* use async validation strategy in awlookup directive

* Part 3: State implementations (might split into per-module commits)

* Support optional state definition flag: squashSearchUrl. *_search params are only URI-encoded if squashSearchUrl is falsey.

* * Fix list badge counts
* Clear search input after search term(s) applied
* Chain of multiple search terms in one submission

* Hook up activity stream

* Hook up portal mode

* Fix pagination range calculations

* Hook up organization sub-list views

* Hook up listDefinition.search defaults

* Fix ng-disabled conditions reflecting RBAC access on form fields

* Fix actively-editing indicator in generated lists

* form generator - fix undefined span, remove dead event listeners

* wrap hosts/groups lists in a panel, fix groups list error

* Smart search directive: clear all search tags

* Search tags - ‘Clear All’ text - 12px
Search key - remove top padding/margin
Search key - reverse bolding of relationship fields / label, add commas
Search tags - remove padding-bottom
Lookup modal - “X” close button styled incorrectly
Lookup modal - List title not rendered
Lookup modal - 20px margin between buttons

* Portal Mode
Fix default column-sort on jobs list
Hide column-oort on job status column
Apply custom search bar sizes

* stateDefinition.factory

Return ES6 Promise instead of $q promise.
$q cannot be safely provided during module.config() phase
Some generated state trees (inventory / inventoryManage) need to be
reduced to one promise. Side-step issues caused by ui-router de-registering ALL registered states that match placeholder state name/url pattern.

e.g. inventories.lazyLoad() would de-register inventoryManage states if
a page refresh occured @ /#/inventories/**

* Combine generated state trees: inventories + inventoryManage
Hook up inventory sync schedule list/form add /form edit views

* Hook up system job schedule list/add/edit states

* Fix breadcrumb of generated states in /setup view
Fix typo in scheduler search prefix

* Remove old search system deritus from list definitions

* Fix breadcrumb definitions in states registered in app.js config block

* Transclude list action buttons in generated form lists

* Lookup Modal passes acceptance criterea:
Modal cancel/exit - don’t update form field’s ng-model
Modal save - do update form field's ng-model
Transclude generated list contents into <lookup-modal> directive
Lookup modal test spec

* Fix typo in merge conflict resolution

* Disable failing unit tests pending revision

* Integrate smart-search architechture into add-permissions modal

* use a semicolon delimiter instead of comma to avoid collision with django __in comparator

* Hook up Dashboard > Hosts states, update Dashboard Inventory/Project counts with new search filters

* Misc bug splat

Add 20px spacing around root ui-view
Fix missing closing div in related views
Remove dupe line in smart-search controller

* Remove defunct LookupHelper code

* Rebuild inventories list status tooltips on updates to dataset

Code cleanup - remove defunct modules
Remove LookupHelper / LookupInit code
Remove pre-RBAC permissions module

* Add mising stateTree / basePath properties to form definitions

* Resolve i18n conflicts in list and form generator
Freeze dependencies

* Integrate sockets

* Final bug splat:
fix jobs > job details and jobs > scheduled routing
fix mis-resolved merge conflicts
swap console.info for $log.debug
2016-10-28 14:28:06 -04:00
Takao Fujiwara
40b94a38a8 Enable message i18n with angular-gettext
Signed-off-by: Takao Fujiwara <tfujiwar@redhat.com>
2016-10-25 15:26:45 -07:00
mabashian
e36a4ed47e Updated user's teams list empty text to read: "This user is not a member of any teams" 2016-09-30 10:14:08 -04:00
John Mitchell
b0731181ff fix disabled add forms 2016-09-16 10:39:38 -04:00
John Mitchell
8cff8e4202 remove use of canEdit in favor of user capabilities 2016-09-13 13:46:44 -04:00
John Mitchell
297be96b80 added unattach user_capabilities to granted permissions list 2016-09-12 12:19:04 -04:00
John Mitchell
6e653c29e0 ui implementation of crud-based ui hiding 2016-09-08 13:22:20 -04:00
Jared Tabor
4f563a4313 make username required if not radius/ldap 2016-07-14 14:48:38 -04:00
Jared Tabor
8ab00e2d05 Hide password fields for radius/social auth users
on the users edit form, the password/confirm password field will be hidden similar to ldap. the username will not be required as well
2016-07-14 14:48:38 -04:00
Ken Hoes
7b732a7401 Changed tab names and empty list message for permissions 2016-06-15 15:07:37 -04:00
John Mitchell
763416725c update search widgets across ui 2016-06-01 15:01:09 -04:00
Ken Hoes
091c567035 Fixed list message boxes for super and non-super user edits 2016-05-27 12:13:16 -04:00
Ken Hoes
f5a0aba47b Updated audit items 2016-05-25 15:15:21 -04:00
Akita Noek
ba19e0e105 Merge pull request #1975 from anoek/auditor-support
Add support for creating system auditors
2016-05-20 13:33:21 -04:00
Akita Noek
49b88dd646 Hide the user type selection for non super users
Completes UI portion of #1974
2016-05-19 13:34:51 -04:00
Akita Noek
58f142e2e6 Update user add/edit UI to support System Auditor setting
Also moved the LDAP indicator to be inline with the mockups (bubble next
to the uesrname in the upper left)

 #1937
 #1888
2016-05-18 16:08:36 -04:00
Ken Hoes
6ca8b37614 Confirm/proceed action on right, cancel on left 2016-05-18 15:28:10 -04:00
Leigh
03bdf0b1aa Add aw-tool-tip directive to Form > Add disabled tabs, clean up forms 2016-05-12 09:26:54 -04:00
John Mitchell
85aee6af8c added deletion to permissions lists 2016-04-27 15:35:37 -04:00
John Mitchell
e3d0309089 fixed related lists for users and teams edit 2016-04-27 11:27:45 -04:00
Michael Abashian
94c4591a3e Expanded awRequiredWhen to support an expression rather than looking at a truthy scope variable. 2016-04-18 11:09:12 -04:00
Leigh Johnson
30439a85b0 populate fields in users.edit and teams.edit $states resolves #1403
users edit done

finish fixes to UsersTeamsEdit

fix logging issue
2016-04-12 17:37:16 -04:00
John Mitchell
6b37054621 working commit rbac add permissions 2016-03-09 15:40:40 -05:00
Michael Abashian
a8d51da73c List view styling tweaks based on UI/UX feedback. Fixed various bugs dealing with the list views/pagination/delete modal(s). Fixed the jobs list responsive weirdness. 2016-01-26 11:12:59 -05:00
Michael Abashian
0d64563dd8 Styling updates to list views that get generated in the form generator. Moved the button generation out into a helper for these specific cases. 2016-01-22 16:45:40 -05:00
Jared Tabor
9351e29936 Fixing Users form for tabs
instead of accordions
2016-01-20 11:41:48 -08:00
Jared Tabor
dbb420ad69 Inital change of form CSS
adding forms.less, as well as changing background colors, input widths, borders, and first run at button style change
2016-01-11 14:10:16 -08:00
John Mitchell
9bf0b8be4c hide un and pw fields when user is social auth based 2015-11-16 11:18:34 -05:00
John Mitchell
e3d6803df7 Revert "update awFeature ldap to enterprise_auth"
This reverts commit bc49756ef6e792efd5a32d7342b0f7d1aa17a950.
2015-10-14 16:01:37 -04:00
John Mitchell
8e4c50d7a6 update awFeature ldap to enterprise_auth 2015-10-09 16:00:43 -04:00
John Mitchell
c67a9031ca revamp services for pulling in the search options 2015-08-20 11:37:00 -04:00
John Mitchell
0bb15abd65 fixed permission search on relevant lists 2015-08-19 09:52:47 -04:00
Joe Fiorini
98a37a354a Move code to awx/ui/client 2015-07-27 10:19:14 -04:00