Commit Graph

2688 Commits

Author SHA1 Message Date
Chris Houseknecht 07b9f6b12c License
Changed license nagging to a modal dialog with license status aware text and a form for updating the license key. Form provides JSON validation via CodeMirror.
2014-08-04 18:09:26 -04:00
Matthew Jones 587fb35b59 Allowing posting a new license to /api/v1/config by superusers 2014-08-04 15:39:02 -04:00
Matthew Jones 445b1b194e Hide the license key if the user isn't a super user 2014-08-04 14:58:23 -04:00
Luke Sneeringer 0f76c34c81 Unit test and bugfix for GCE/Azure job runs. 2014-08-04 13:46:32 -05:00
Matthew Jones 11799ff25f Implement new license validation logic per spec "30 Day Trial
Engineering Spec" + Unit Tests
2014-08-04 13:55:51 -04:00
Luke Sneeringer e50711e301 Use expanduser on cache dir loaded from INI. 2014-08-04 10:15:41 -05:00
Luke Sneeringer 674e895d0a Shift default Azure cache directory from /tmp to ~ 2014-08-04 10:13:40 -05:00
Luke Sneeringer 0a0844f40e Require pycrypto >= 2.6 for gce.py 2014-08-04 09:38:42 -05:00
Luke Sneeringer 49d689fdb2 Fix cert regex.
This makes the certificate not have to be at the beginning of the regex
for the SSH key.
2014-08-04 09:28:33 -05:00
Matthew Jones b1b3a5879f Fix up playbook to use new init script 2014-08-01 13:27:23 -04:00
Luke Sneeringer fb1099234e Adding GCE/Azure envvar support to jobs. 2014-08-01 11:13:55 -05:00
Luke Sneeringer 5987f60e3f Add _meta to Azure inventory script. 2014-08-01 11:08:15 -05:00
Matthew Jones 55b12cb785 Fix up init script to use service command, preserve the worst return
code and use that as the exit status
2014-08-01 09:51:16 -04:00
Chris Houseknecht d3cd99bdfc Min pagination size
Tweaked job page to make the minimum aware of taller rows as the width of the viewport shrinks.
2014-07-31 16:06:39 -04:00
Jared Tabor 1776bb3c8e updated Inventory Groups help dialog pictures 2014-07-31 15:49:46 -04:00
Jared Tabor 6f2da30f11 changed description on GCE key 2014-07-31 15:49:46 -04:00
Chris Houseknecht 4138a152c4 Websocket help dialogs
Fixed typo in Safari help text.
2014-07-31 15:37:45 -04:00
Chris Church 90e2e8775c Update ec2 inventory script from core, no more tower-specific changes. 2014-07-31 15:21:05 -04:00
Chris Houseknecht 9270eb9049 Inventory breadcrumb
Inventory name is now clickable, navigating back to the top of the tree. 'All' has been removed.
2014-07-31 14:45:43 -04:00
Chris Houseknecht bebdcde93b File drag-n-drop
Set validity of 'required' to true and field status to dirty upon successful read of file, otherwise the Save button is never enabled.
2014-07-31 14:04:50 -04:00
Jared Tabor 5646a8d4fe fixed alert dialog box 2014-07-31 13:52:37 -04:00
Chris Houseknecht f7ed4eceb3 Fixed JS lint error. 2014-07-31 13:00:22 -04:00
Chris Houseknecht 21bd8d63e3 Minimum page sizes
Set minimum page sizing heights and row counts on inventory detail and jobs. On both pages we calculate container heights and page row counts based on the viewport width and height.
2014-07-31 12:25:29 -04:00
Jared Tabor 4c621aeae7 adjusted Alert popup, and added a check for the drag and drop file size 2014-07-31 11:55:52 -04:00
Matthew Jones 27c44ac5d8 Updating init script installation details 2014-07-31 10:40:11 -04:00
Jared Tabor b8cd4d063e updated credential help descriptions 2014-07-31 10:38:47 -04:00
Matthew Jones 65aadb862e Updates to tower init script 2014-07-31 10:05:32 -04:00
Matthew Jones 1f34fc5101 Update manifest for new munin monitors 2014-07-31 09:56:58 -04:00
Jared Tabor 4992d1286f took help icon away from Private key field on credentials page 2014-07-31 08:42:18 -04:00
James Laska 290f6ca279 Correct jslint issue causing build failure 2014-07-31 08:06:54 -04:00
Jared Tabor 759a5775cb added tooltips for cloud credential options 2014-07-30 22:06:01 -04:00
Chris Houseknecht 0a44de3346 hintText form option
Add hintText:"some helpful text here" to a field in a form definition object. Form generator will display the text inside the <label> element on a new line with the fa-info-circle icon in a pleasant grey color.
2014-07-30 18:35:31 -04:00
Chris Houseknecht 5c7152dec1 File drag-n-drop
Added an onerror handler to the FileReader. If the file cannot be read for some reason, throw an alert dialog letting user know things went wrong.
2014-07-30 18:13:55 -04:00
Chris Houseknecht ca607f2372 Drag-n-drop directive
Add aw-drop-file directive to a textarea form element. User can drop a file (any file) onto the field and the contents as text will be placed in the textarea. Added this directive to credentials ssh_key field.
2014-07-30 18:08:38 -04:00
Chris Houseknecht 10d0fa7631 Socket connection help
Revised help text, adding status icons. Added clear overlay under the modal dialog. Rotated the network icon left by 45 deg.
2014-07-30 17:07:56 -04:00
Matthew Jones 56255777bc Creating and moving around new tower monitors for munin 2014-07-30 16:58:02 -04:00
Luke Sneeringer 67ddbd6fd6 Fixed capitalization inconsistency.
This commit makes "FirefoxSocketHelp.js" be refered to with consistnent
capitalization to its filesystem represenation.

Fixes a showstopping Tower bug on case-sensitive filesystems. :)
2014-07-30 15:43:42 -05:00
Chris Houseknecht 7093e95011 Form-generator
Change handling of labelBind in form generator. It now adds ng-bind directive to a <span> element inside <label> rather than to <label> directly. This stops Angular from wiping out anything else we may want to add inside <label> like help icon.
2014-07-30 16:30:49 -04:00
Jared Tabor 22f7dfce67 tooltip for subscription id for azure cred 2014-07-30 16:13:32 -04:00
Luke Sneeringer 482f1ba771 Fix RSA credential checking in Azure.
https://trello.com/c/dPU6GsGT/204-improve-supported-azure-rsa-key-format
s
2014-07-30 15:13:07 -05:00
Chris Houseknecht 6156e3c456 Credentials
Fixed form validation issues when adding a cloud credential. The email address field was being required even though it wasn't visible.
2014-07-30 16:07:34 -04:00
Chris Houseknecht cef468d060 Inventory help
Tweaked the verbage and image sizes a bit.
2014-07-30 14:33:09 -04:00
Chris Houseknecht 2485f86471 Job templates
Added ability to launch a job from th job template detail page.
2014-07-30 14:06:31 -04:00
Matthew Jones da6f07dd64 Add tower meta-init script 2014-07-30 13:18:59 -04:00
Luke Sneeringer 5e71d2ce0e Add tower-manage. 2014-07-30 11:57:07 -05:00
Matthew Jones d36976f76d Tweak tower jobs munin reporting script 2014-07-30 11:40:25 -04:00
Chris Houseknecht 6fb89530cc Job events viewer
Made sure stdout, stderr and traceback don't end up on Results tab. Each of these already has a dedicated tab.
2014-07-29 16:57:36 -04:00
Chris Houseknecht 5b6d8e5c98 Job detail page
Added 'Loading...' message to each table. Loading message is turned on at initial page load. It is turned off at the last possible second after completion of page rendering. It is turned on before each API call and back off after the API call completes.
2014-07-29 16:41:44 -04:00
Jared Tabor feb13b1f11 fixed issue in job template when user deletes credential and project 2014-07-29 16:24:56 -04:00
Chris Houseknecht a960638b68 Lookup dialog
Fixed Select column so that it always appears all the way to the right and is always the same width. Looks much better :)
2014-07-29 15:17:59 -04:00