This should make the settings and configuration logic less implicit and
a little easier to follow. Some familiarity with the configuration behavior
of nightwatch is still necessary in places - specifically, one should know
that all test_settings defined for non-default environments are treated as
overrides to the values defined for the default environment.
The UI has a handful of dependencies attached to window (angular,
jquery, lodash, etc). In the case of schedules, jquery was included
and extended as expected, but then clobbered by another module. This
prevented the Select2 dependency from working as expected.
Rather than relying on webpack to export particular dependencies as
global, that work is done in the vendor entry point now instead.
* 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
* 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
- Renamed npm scripts to reflect what they are actually doing. Nothing is being built here!
- Not sure why the default django_host was 0.0.0.0…
- Removed unnecessary logic from build-docker-cid
- Get rid of html tags and codes in translatable strings
- Replace i18n.format with i18n.sprintf to treat multiple %s
- Add translatable strings for login failures and "SIGN IN".
- Rename ansible-tower.pot to ansible-tower-ui.pot for backend pot
Signed-off-by: Takao Fujiwara <tfujiwar@redhat.com>
* 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
* 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
Use `make ui-devel` to build a development/debug version of the UI, with source maps,
without raising any additional browser-sync or filesystem polling.