Commit Graph

22 Commits

Author SHA1 Message Date
mabashian
cb222aaa40 Extract translations from ejs files 2019-02-11 12:59:47 -05: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
b990d84e3b Add plural and contextual translation support 2017-08-09 13:14:37 -04:00
mabashian
73ac54c4e5 Fixed bug deleting survey questions 2017-07-25 16:46:20 -04:00
gconsidine
de3764c3f4 Fix path to image assets 2017-07-25 09:39:06 -04:00
gconsidine
f2e132f3fe Update asset paths and task execution 2017-07-25 09:39:06 -04:00
gconsidine
86fb6116a0 Refactor all Less to manage import order itself 2017-07-25 09:39:05 -04:00
gconsidine
727568c80d Add translation for components and credentials
* Add typeahead feature of the Lookup component
2017-06-29 17:34:43 -04:00
gconsidine
725fd15519 Update project structure 2017-06-12 09:53:11 -04:00
gconsidine
69b19cc06c Refactor component folder structure 2017-06-12 09:53:11 -04:00
gconsidine
637fb8fe27 Add basic component functionality 2017-06-12 09:53:11 -04:00
Leigh Johnson
666975bbc5 use in-line sourcemaps for javascripts (#4453) 2016-12-15 14:27:19 -05:00
Leigh Johnson
0803605ad7 @noissue - BrowserSync ssl/tls (#4407) 2016-12-13 11:50:13 -05:00
Takao Fujiwara
aebff5366e Update I18N patch under awx/ui to reflect pull request #3363
- 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>
2016-11-17 17:49:39 +09: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
3706cc9337 Switch Grunt jshint to stdout output #3845 2016-11-09 11:41:09 -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
2c8d295132 UI Build System - new interface
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.
2016-10-26 16:53:36 -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
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
25fa05da81 enable less sourcemaps, add cleanup for npm cmds run with --prefix 2016-08-19 13:16:24 -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