Commit Graph

5767 Commits

Author SHA1 Message Date
Matthew Jones e97e60bd30 Update settings location for certain values
* PROJECTS_ROOT
* JOBOUTPUT_ROOT
* SCHEDULE_MAX_JOBS
* STDOUT_MAX_BYTES_DISPLAY
2015-12-15 15:14:16 -05:00
Matthew Jones 16aa34522c Fix up an export issue for tower_settings 2015-12-15 15:13:58 -05:00
Michael Abashian 70e9d621c0 Merge pull request #538 from mabashian/provisioning-callback
Fix for bug where UI Doesn't persist enabling provisioning callbacks
2015-12-15 14:25:26 -05:00
Michael Abashian 3ee770a02e The default value for the allow_callbacks checkbox needs to be a boolean (true/false) and not a string ("true"/"false"). The string will always evaluate to false in the UI and be unchecked. 2015-12-15 13:45:00 -05:00
Matthew Jones 7867a58c00 RBAC and settings reset
* Initial super-user only rbac with notes for future user-settings
  support
* Clearing individual and all settings back to defaults
2015-12-15 12:12:54 -05:00
Matthew Jones 273181e894 Expand dbconfig support
* Support updating settings values
* Support activity stream endpoint
* Support clearing value
* Improve type conversion system for displaying values
2015-12-14 15:09:10 -05:00
John Mitchell 19e08b1c0f update angular-animate 2015-12-11 17:34:07 -05:00
jlmitch5 b0b2f127bb remove ngAnimate again 2015-12-11 17:18:45 -05:00
jlmitch5 c1ec4fa592 keep ngAnimate on devel for now
Will figure out the routes issue in a bit.  Keeping animations for ux feedback from Taufique
2015-12-11 17:01:25 -05:00
Matthew Jones f53f3d805d View and some validation logic for database config
* Fixing some bugs in the manifest definition
* Database model and schema migration for tower settings
* Initial View and Serializer implementation using a strategy of merging
  model instances and named tuples
2015-12-11 16:57:11 -05:00
Jared Tabor f1640c76a4 Temporarily removing ngAnimate injection
so that routes work in tower. This is only until we have time to diagnose the deeper cause of this issue.
2015-12-11 16:56:04 -05:00
Chris Church 8552ea91a8 Add sample config for LDAP connection options, disable referrals by default, prefetch user groups to reduce LDAP queries when checking group memberships. 2015-12-11 15:00:20 -05:00
jaredevantabor 6392ae9350 Merge pull request #531 from jaredevantabor/group-vars
Making extra-var save consistent for groups/hosts
2015-12-11 14:58:49 -05:00
Jared Tabor 405f0aef5e Making extra-var save consistent for groups/hosts
comments weren't being saved for group properties or host properties. I've realigned them to work consistently as inventory source vars, and job template vars work, in order to accept comments.
2015-12-09 17:02:13 -05:00
Michael Abashian 8262f6da45 Merge pull request #530 from mabashian/menu-links-test
Added main-menu template unit test
2015-12-09 14:43:58 -05:00
Matthew Jones 87e50734a6 Merge branch 'release_2.4.2' into devel
* release_2.4.2: (23 commits)
  Updating 2.4.2 changelogs
  fix the connection check fix
  more robust check added to mongo db connection
  Adding a body to our OPTIONS requests fixes 415 error responses in IE11 and Edge.
  Don't hard-fail if default isn't defined on survey
  fixed custom login info bug
  Allow an org admin to delete project updates
  Disable elasticache instance gathering for aws
  Fix DEB builds by adding 2.4.2 to reprepro conf
  When the panel lists were consolidated down the list name was changed to 'all_jobs.'  When a job is clicked from the activity stream it should show the job list filtered down by ID.
  Rolled back job url change
  track modules on system tracking page by index
  correct spelling of consisting in help text
  Fixing up flake8
  The "job" href links in the activity stream don't point to the job details page.  This is an update to the jobs href to point to /#/jobs/(job.id).
  Wrapped the SourceChange call in a function so that it can be called without clearing the credential.  This fixes a bug where the credential was not showing up in the initial edit dialog even though the data was sent properly via the API.
  Revert change to Makefile, which was causing old .deb versions to be dropped from the repo
  Refactor scan_packages for os detection
  Remove stray debugging lines
  Add SUSE, OpenSuse and Debian to scan_packages
  ...
2015-12-09 13:06:47 -05:00
jlmitch5 786eec9e5b Merge pull request #525 from jlmitch5/rehaul_ui_build
rehaul of UI build
2015-12-09 10:53:54 -05:00
John Mitchell 364872a678 fixed typo of cp command 2015-12-09 10:19:34 -05:00
Michael Abashian 4afbc997f6 Added unit test for the main menu template. This tests the length of the mobile menu items against the length of the non-menu items. 2015-12-09 10:07:14 -05:00
John Mitchell c9d501c562 updated test-ui make target to be able to only run a single test file 2015-12-08 18:35:00 -05:00
John Mitchell 6796b05829 fixed ngdoc compile issue 2015-12-08 16:56:07 -05:00
John Mitchell 856e6c5c59 fixed test-ui debug mode not showing source files and phony tasks comment 2015-12-08 16:55:43 -05:00
Chris Meyers 667d8a2667 fix the connection check fix
* Multiple exceptions in except should be a tuple. Otherwise, the second
parameter will be the error object. Apposed to the intent, for it to be
another exception in a list of exceptions.
2015-12-07 13:48:19 -05:00
Matthew Jones fdcda43de6 Initial Database Configuration bootstrap
* Settings manifest, mapping internal settings to what can be used in
  the database along with type information etc.
* Initial Database model
* Helper object that overlays database settings on django settings
2015-12-07 09:49:13 -05:00
John Mitchell 0b43398ef6 Rehaul of ui build process
Updated make tasks
Added coverage reports for ui
Added browser-sync support
Updated contribution doc
Updated npm dependencies (Jenkins and dev environment can both use Node 4.2.1)
2015-12-06 16:41:48 -05:00
Chris Meyers 78ac2ccb55 more robust check added to mongo db connection
Calling mongoengine (or pymongo) connect() after already calling
connect() resulting in getting the first connection (connection
pooling). This is bad if we are relying on connect() to determine if
mongo is up. Added executing a ping/pong command after the connect()
command to ensure mongo is still/really up.
2015-12-04 13:25:57 -05:00
Chris Meyers fe9f502e91 flake8 fix 2015-12-04 10:49:04 -05:00
Michael Abashian 58be1b1f51 Merge pull request #520 from mabashian/ie11-jobs-navigation-fix
Fix for projects/jobs navigation in IE11 and Edge
2015-12-03 11:43:40 -05:00
Michael Abashian a22955d466 Adding a body to our OPTIONS requests fixes 415 error responses in IE11 and Edge. 2015-12-03 09:31:40 -05:00
Matthew Jones 780b27e0ed Don't hard-fail if default isn't defined on survey 2015-12-02 15:40:56 -05:00
jlmitch5 3315183810 Merge pull request #518 from jlmitch5/logininfobug
fixed custom login info bug
2015-12-02 13:47:48 -05:00
John Mitchell 1fa3d58049 fixed custom login info bug 2015-12-02 13:46:52 -05:00
Matthew Jones e79db58b6d Allow an org admin to delete project updates
Only in their purview (where they can delete or change the original
project)

Plus a bonus unit test!
2015-12-01 16:02:10 -05:00
Matthew Jones f33e17826f Disable elasticache instance gathering for aws 2015-12-01 14:45:35 -05:00
Michael Abashian d5f358e3c6 Merge pull request #514 from mabashian/activity-stream-job-redirect
When the panel lists were consolidated down the list name was changed to 'all_jobs.' When a job is clicked from the activity stream it should show the job list filtered down by ID.
2015-11-30 17:02:52 -05:00
Michael Abashian d7e77064a2 When the panel lists were consolidated down the list name was changed to 'all_jobs.' When a job is clicked from the activity stream it should show the job list filtered down by ID. 2015-11-30 15:22:44 -05:00
Michael Abashian 863a31b6fb Rolled back job url change 2015-11-30 15:21:10 -05:00
John Mitchell 7793850f9e track modules on system tracking page by index 2015-11-30 15:11:07 -05:00
James Laska 589834be44 Merge pull request #516 from AlanCoding/release_2.4.2
Correct spelling of "consisting" in help text
2015-11-30 11:37:46 -05:00
AlanCoding 71a5beaa1f correct spelling of consisting in help text 2015-11-30 11:30:13 -05:00
Matthew Jones 5d3da1460f Fixing up flake8 2015-11-30 11:13:37 -05:00
Michael Abashian d662726f8c Merge pull request #513 from mabashian/cloud-credential-not-saved-inventory
Wrapped the SourceChange call in a function so that it can be called …
2015-11-30 10:45:50 -05:00
Michael Abashian 3b4f39742b The "job" href links in the activity stream don't point to the job details page. This is an update to the jobs href to point to /#/jobs/(job.id). 2015-11-30 10:44:37 -05:00
Michael Abashian 4740b21f66 Wrapped the SourceChange call in a function so that it can be called without clearing the credential. This fixes a bug where the credential was not showing up in the initial edit dialog even though the data was sent properly via the API. 2015-11-30 09:24:34 -05:00
James Laska bf31033701 Merge pull request #511 from ghjm/makefile-reversion
Revert earlier change to reprepro command
2015-11-26 15:58:23 -05:00
John Mitchell 7bff586c4d fixed login modal initial disappear 2015-11-25 14:51:55 -05:00
John Mitchell 16340975fd fixed login modal straggling issues 2015-11-25 14:51:55 -05:00
John Mitchell 77f9523984 demodalize login to deal with back button issues 2015-11-25 14:49:17 -05:00
mabashian 512a7992e8 Merge pull request #512 from mabashian/launched-by-schedule-link-job-details
Added support for displaying a link in the job details view that poin…
2015-11-25 10:39:39 -05:00
Michael Abashian 11048ab92e Added support for displaying a link in the job details view that points to the Schedule when a job is kicked off in that fashion. This link opens a modal and allows the end user to edit the Schedule in line without a page refresh. 2015-11-25 09:54:58 -05:00