Commit Graph

31 Commits

Author SHA1 Message Date
Jared Tabor
d776e9de0e Updates npm-shrinkwrap.json after networkUI deps removal 2018-08-06 12:53:14 -07:00
kialam
9e164b41a6 Shrink-wrap dev dependencies as well 2018-07-25 11:46:13 -04:00
Jared Tabor
36e5300be6 Adds npm-shrinkwrap and locks down ui-router version 2018-07-24 21:05:44 -07:00
gconsidine
fba8a48d91 Update dependencies, template file, and docs
* Use git+https prefix in git-based npm dependencies
* Use ejs template for index to fix extraneous slash in path
* Remove outdated documentation
* Remove unused service
* Regenerate shrinkwrap
2017-09-08 15:17:01 -04:00
gconsidine
c57c17546e Update UI build system
* Faster build times
* Smaller bundle sizes
* Adjust paths
* Cleanup npm dependencies
* Remove unneded Grunt tasks
2017-09-07 18:09:14 -04:00
gconsidine
86fb6116a0 Refactor all Less to manage import order itself 2017-07-25 09:39:05 -04:00
gconsidine
594c4d6ce2 Add support for configurably including strings
* Add json-loader to load JSON files via webpack
* Add a JSON file for string overrides
* Add a getter method to BaseString for an easier and more clearly
defined approach to accessing string values
2017-07-12 15:40:14 -04:00
gconsidine
9a669d7350 Align moment and lodash deps with what's in dependent packages 2017-06-06 11:00:51 -04:00
gconsidine
437121f9cc Update dependencies to be able to regen npm-shrinkwrap 2017-06-06 10:08:24 -04:00
Greg Considine
f5eabe6b16 Add baseline .eslint files 2017-03-28 10:04:44 -04:00
Michael Abashian
4d9bcbfaea nvd3 1.7.1 needs version 3.3.13 of d3.js in order for the tooltip guideline to work 2017-02-15 10:35:58 -05:00
Chris Meyers
195a36aef9 embed json into js module 2017-02-02 18:00:41 -05:00
Chris Meyers
76e5cc1fb1 update ui packaging 2017-02-02 14:06:08 -05:00
Shane McDonald
f9573db5a3 Regenerate npm-shrinkwrap.json
This file was originally generated with a version of NPM that was affected by a bug that would cause `npm install` to fail on non-macOS systems. We were temporarily forced to downgrade to 3.10.7, but…. this fixes that! Verified on macOS Sierra and CentOS 7 using NPM version 3.10.10.
2017-01-25 18:45:47 -05:00
Graham Mainwaring
5d5fe88a47 Move npm dependencies to Ansible github org 2016-12-06 10:14:08 -05:00
John Mitchell
f3526ca86c add angular duration format filter lib 2016-11-18 11:00:13 -08:00
Leigh Johnson
0d3eb67bd0 Fixes namespace collision & allows command-line options to be passed to UI build system (#3876)
* Fixes BrowserSync window.name namespace collision #3872

* Allow command-line arguments to be passed to development UI builds.
Add support for --ng-debug and --router-debug flags to turn on Angular's
$log service and ui-router's trace utility.
Cleans up development debug settings & defunct websocket configuration.

Resolves lingering issues raised by trying read asynchronously-loaded config file during AngularJS config phase. #3872

* shrinkwrap updated minimist

* update CONTRIBUTING.md to include UI build options

* feedback/review
2016-11-09 12:49:18 -05:00
Leigh Johnson
38e40c7eba Hook up npm script target for jshint (#3916)
* Hook up npm script target for jshint

* Shrinkwrap ui dependencies
2016-11-09 09:53:58 -05:00
Leigh Johnson
4df56edb9f Move browser-sync & file-polling deps to optionalDependencies field, update npm engine field, shrinkwrap new dependency tree. 2016-10-31 13:01:14 -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
Leigh Johnson
04a094aa7c npm shrinkwrap i18n dependencies 2016-10-26 16:53:36 -04:00
Jared Tabor
5edd9e73c8 removing npm-shrinkwrap to avoid conflict 2016-10-04 16:24:58 -07:00
Jared Tabor
541f55fece removing shrinkwrap to avoid merge conflict for now 2016-10-04 14:26:48 -07:00
Leigh Johnson
a4f134b772 use a better-supported babel plugin instead of jank webpack loader for istanbul instrumentation (#3341) 2016-10-04 14:25:18 -07:00
Leigh Johnson
cf54fe27e6 Fix schedules sitewide (#3469)
* Remove custom rrule module loaders, update angular-scheduler dept

* snip comment

* remove nlp module loaders
2016-10-04 14:25:18 -07:00
Leigh Johnson
c08a9f8bbc Use a local installation of grunt-cli, freeze deps 2016-09-22 10:15:31 -04:00
Leigh Johnson
e9570c9d52 Update package.json deps to include PhantomJS / karma launcher, update output location, freeze deps 2016-09-21 16:19:12 -04:00
Leigh Johnson
7e7bd76644 Fix schedules sitewide (#3469)
* Remove custom rrule module loaders, update angular-scheduler dept

* snip comment

* remove nlp module loaders
2016-09-09 10:49:28 -04:00
Leigh Johnson
ffd9c4eb4d Exclude tower.vendor.js from BrowserSync polling, remove chunk stats plugin, update ui deps 2016-09-07 13:28:06 -04:00
Leigh Johnson
c3b9050773 use a better-supported babel plugin instead of jank webpack loader for istanbul instrumentation (#3341) 2016-09-07 11:47:19 -04:00
Leigh Johnson
ce61fe4a42 Refactor UI Build System (#3203)
* initial build trial, clean up awx/ui

* fix hardcoded refs to ng-toast, add jshint preloader

* remove browserify test

* update grunt-jshint -> jshint module loader, browser-sync, update dev targets to build-docker-machine & build-docker-cid, fix blocking tasks

* less autoprefixer

* sample build commands

* fix release build

* update README

* karma config stub

* webpack config for karma tests

* karma preview for shane

* fix build-docker-machine target

* karma+webpack test pipeline configuration, stub tests

* fix smart/job status icons classes

* fix jquery + jsyaml shims, fix LESS cascade

* fix angular-codemirror dependency, explicitly import style/mode dependencies

* shim jsonlint

* fix angular-scheduler AMD imports, remove jquuery-ui shim, fix release config

* use closed $.fn.datepicker for system-tracking

* remove packaging/node/

* remove old tests

* shrinkwrap fragile dependency sandcastle, update README, lint

* first pass at fixing rrule shim

* update makefile targets

* update gitignore w/ new flag file

* add saucelabs karma config

* add license controller test

* add examples of service and directive tests

* Makefile flubs

* consolidate clean-ui target, compulsively update flag file location

* dep on CJS/AMD/UMD compatible version of rrule lib, fix example tests/config for demo

* boilerplate karma config for saucelabs (should be abstracted to common config after proven to work)

* update docs

* docs feedback

* update Dockerfile with Node 6.x dep
2016-08-17 16:09:54 -04:00