Chris Church
60224cdbe4
Update Django to 1.8 and DRF to 3.3, add new Django migrations, update serializers/pagination/metadata, update browsable API styling.
2016-02-02 17:48:04 -05:00
Matthew Jones
b35f84b401
Bypass license database check for cleanup schedule
...
We pre-create some cleanup jobs if a license is already present, this
doesn't work with the database config as-is. These can be removed at
some point in the future once the 2.4 migration path is not needed
2016-01-25 15:53:17 -05:00
Matthew Jones
eab8743e15
Purge Tower Settings reference from activitystream
2016-01-12 13:52:29 -05:00
Matthew Jones
ae12be9afa
Fixing up settings reset issue
...
This is done by not assigning the ActivityStream foreign key. Which is
almost superflous at this point
2016-01-05 14:34:40 -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
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
Matthew Jones
b25413002c
Fix custom inventory scripts on org deletion
...
We'll now clear the organization for it, this requires a database
migration to accept null values for custom inventory scripts
2015-10-19 12:07:09 -04:00
Matthew Jones
34e028b8c7
Adding security token field to support ec2 sts
...
And any future credential that might want to use "security_token"
2015-09-30 13:39:36 -04:00
Chris Meyers
052929d209
Merge pull request #446 from chrismeyersfsu/feature-session_limit2
...
Feature session limit2
2015-09-30 11:11:36 -04:00
Chris Meyers
000d26d7e3
session limit enforcement
...
* upon creating a new session, invalidate oldest sessions
2015-09-28 14:17:28 -04:00
Matthew Jones
a7f1e69352
Fix an issue with default schedules
...
These weren't being created correctly, the logic meant an extra schedule
would be created on cleanup facts erroneously selected to be cleanup
activity stream
2015-09-25 14:17:31 -04:00
Matthew Jones
077819c4c5
Add some default schedules for cleanup jobs
2015-09-21 14:53:53 -04:00
Matthew Jones
7080996670
Cleanup stdout dump during 2.2 migration
...
postgres is adding extra newline/carriage return escapes to the stdout
output. Here we'll use sed to fix those so they can be read correctly
2015-08-21 13:28:34 -04:00
Matthew Jones
c0ea174e93
Rework stdout display for file storage only
...
* Cleanup old code related to stdout download using temporary files
* Remove copy-into-database code
* Modify stdout download code to reference stdout file
2015-08-05 21:52:47 -04:00
John Mitchell
32d1c0e4db
fixed copyright date
2015-06-11 16:10:23 -04:00
Matthew Jones
f9ca5159e7
Fix up more copyright headers
2015-06-10 16:11:26 -04:00
Matthew Jones
b3da3b34a3
Changing some legal headers for python source files
2015-05-29 12:10:39 -04:00
Matthew Jones
f9291940dd
Implement the api side system job template migration for the fact
...
cleanup job
2015-05-22 11:12:27 -04:00
Matthew Jones
55f266d323
Move 'become_enabled' to JobOptions to allow a toplevel field to exist
...
on the Job model also. Update tasks and migrations to reflect this
2015-04-06 12:34:47 -04:00
Matthew Jones
2e58f5fd00
Migrate ad-hoc feature to use the new ansible become method if provided
2015-04-03 15:17:52 -04:00
Matthew Jones
d5c9e37499
Refactor credential to use ansible become if using a new enough ansible
...
version. Add become flag to job template
2015-04-02 10:05:56 -04:00
Chris Church
f7b8d510dc
Implement support for ad hoc commands.
2015-03-30 13:04:19 -04:00
Chris Church
4ee092152b
Fix intermediate migrations to reflect modifications to 0055_v210_changes.
2014-12-16 18:02:04 -05:00
Matthew Jones
2ef4ee0987
Change up older custom inventory script migration to not set unique on
...
the name field
2014-12-11 13:26:41 -05:00
Matthew Jones
ff2c82ce72
Include the migration for the custom inventory script change to support
...
activity stream
2014-12-10 11:34:08 -05:00
Matthew Jones
c04ac45296
Add a unique constraint on 'name' and 'organization' for the custom scripts
2014-12-08 15:49:45 -05:00
Matthew Jones
19c0d04885
Adding organization reference to the custom inventory script
2014-12-03 15:05:44 -05:00
Luke Sneeringer
d6699353e5
Save hostnames, not IP addresses, for HA.
2014-12-02 10:34:25 -06:00
Chris Church
35c392ab17
Add instance filters and group by options for EC2 inventory sources. Implements https://trello.com/c/QOVhP0mH
2014-11-26 03:20:45 -05:00
Matthew Jones
309dba9693
Wording changes for the system job descriptions as proposed by @mpdehaan
2014-11-10 13:58:29 -05:00
Matthew Jones
ede6142cea
New permission for users and teams that allow creating job templates,
...
this makes Deployment permissions more granular. Includes unit tests
and a migration to promote existing "run" permissions to "create".
Also some slight doc updates to denote that this implies "run" and "check"
2014-10-31 15:04:46 -04:00
Matthew Jones
08fc24c9e5
Create data migration for new system job templates and revise endpoints
2014-10-28 15:34:47 -04:00
Luke Sneeringer
fa82ed56e2
Adding Instance/JobOrigin migration
2014-10-20 10:43:08 -05:00
Luke Sneeringer
4045a1e4fa
Migration, again! :)
2014-10-20 08:46:39 -05:00
Luke Sneeringer
841d5ab085
Merging migrations sucks.
2014-10-20 08:05:30 -05:00
Luke Sneeringer
1bdd1f4c34
Remove migration...again.
2014-10-20 08:05:30 -05:00
Luke Sneeringer
b18303be20
Readd migration for instances and job origins.
2014-10-20 08:05:29 -05:00
Luke Sneeringer
ec7aa1867f
Adding JobOrigin model and migration.
2014-10-20 08:04:16 -05:00
Luke Sneeringer
072ab2118f
Instance model (for HA)
2014-10-20 08:04:15 -05:00
Matthew Jones
103929c9ee
Allow passing variables with schedules to support extra data on system jobs
2014-10-17 14:41:00 -04:00
Matthew Jones
fbf9a4957e
Initial system job implementation
2014-10-14 11:11:17 -04:00
Matthew Jones
8848cbfa1e
Add schema migration of custom inventory scripts and related fields
2014-10-01 09:54:12 -04:00
Chris Church
e427234aec
Implements https://trello.com/c/bEMQtVjz - API/UI changes to support su username/password. Adds force_handlers, skip_tasks and start_at_task options to jobs, only exposed via API.
2014-09-11 17:34:38 -04:00
Luke Sneeringer
c6d374d12a
Add autocommit to migration 36 if it's off.
2014-09-10 15:07:30 -05:00
Matthew Jones
514cd4a1db
Initial api side implementation of the survey spec
2014-09-09 11:08:40 -04:00
Matthew Jones
bdd4290fe7
Create some useful indexes based on UI consideration and overall tower
...
usage and performance needs
2014-09-08 15:17:03 -04:00
Matthew Jones
3f54778111
Add index on counter
2014-08-19 16:03:48 -04:00
Matthew Jones
046561ecaa
add counter to jobevent object sourced from callback ansible plugin
2014-08-19 15:50:41 -04:00
Luke Sneeringer
dd35df7255
Adding project to credentials.
2014-07-25 11:12:11 -05:00
Luke Sneeringer
7789ccd3eb
Ability to add VMWare host.
2014-07-16 16:43:17 -04:00