Commit Graph
100 Commits
Author SHA1 Message Date
AlanCoding a634b6b9e7 move static inventory update options to constants 2018-07-10 14:45:55 -04:00
Alan Rominger 7b860e4eeb Merge pull request #2445 from AlanCoding/true_admin
Fix bug with custom script user_capabilities
2018-07-10 10:25:17 -04:00
Alan Rominger c78e274373 Merge pull request #2459 from AlanCoding/old_cred_msg
Change key to match old error message
2018-07-09 15:57:11 -04:00
AlanCoding e36458a6c0 change key to match old error message 2018-07-09 15:36:13 -04:00
Alan Rominger a90329f21b Merge pull request #2385 from AlanCoding/team_org_object_roles
Allow adding teams to org object roles
2018-07-09 15:34:45 -04:00
AlanCoding e044b996e5 allow adding teams to org object roles 2018-07-09 14:13:57 -04:00
Alan Rominger 2dd3014374 Merge pull request #2441 from AlanCoding/error_message
Fix regression: include error message from remote server
2018-07-09 13:51:06 -04:00
AlanCoding 7860cda9dc fix bug with custom script user_capabilities 2018-07-09 10:15:17 -04:00
AlanCoding 34e2d9b47c fix regression: include error message from remote server 2018-07-09 09:04:14 -04:00
Alan Rominger 0b811a53ff Merge pull request #2410 from AlanCoding/filterama
Show filterable: False if not filterable
2018-07-03 17:32:11 -04:00
Alan Rominger 13c1b87df4 Merge pull request #2191 from AlanCoding/schedule_fixes
Fix bugs creating WFJT schedule with passwords
2018-07-03 16:51:01 -04:00
Alan Rominger 360ad7ad61 Merge branch 'release_3.3.0' into filterama 2018-07-03 15:42:37 -04:00
Alan Rominger 1f7d7151ad Merge pull request #2405 from AlanCoding/app_act_str
Add back in application activity stream link
2018-07-03 15:23:18 -04:00
AlanCoding b97626bf37 show filterable: False if not filterable 2018-07-03 15:21:10 -04:00
AlanCoding 2a5853e4fc add back in application activity stream link 2018-07-03 14:30:56 -04:00
Alan Rominger 6f63c7ba38 Merge pull request #2346 from AlanCoding/no_controller_node
No controller node field for project updates
2018-06-29 14:52:34 -04:00
AlanCoding 8ae979908c Enforce unified list field consistency
Discovered via bug: controller_node field present in
project update list but not in detail view

Added tests to assert that "unified" list serializer
produces same fields as the ordinary serializer,
for unified jobs & unified JTs

Added test to check that list serializers do differ
from detail serializer except for allowed differences

Added test to check that list serializers are applied
correctly - only on list views, and that detail views,
likewise, do not use list serializers

Fix the many many bugs discovered by these new
testing mechanisms
2018-06-29 14:03:52 -04:00
Alan Rominger d5661a0434 Merge pull request #2343 from AlanCoding/credential_hell
Copy JT credential logic to Job summary fields
2018-06-28 19:27:33 -04:00
AlanCoding a15527b54c copy JT credential logic to Job summary fields 2018-06-27 14:39:35 -04:00
Alan Rominger bed4d240af Merge pull request #2274 from AlanCoding/absolute_nonsense
Remove brittle condition causing schema to fail
2018-06-21 15:44:48 -04:00
AlanCoding b2251cb916 remove brittle condition causing schema to fail 2018-06-21 14:39:25 -04:00
AlanCoding 94fce61d36 do not show create_schedule link in v1 2018-06-21 10:09:47 -04:00
AlanCoding f753bea24f Test-based fixes to launch config password handling
Fix bug creating WFJT schedule with passwords:
discard survey_passwords field if given in WFJT
prompts processing method.
Fixed by porting prior JT fix to WFJT method of
same name.

Fix bug where API browser will show encrypted form
of variables in the POST submission box after
failed attempt:
copy extra_data so encrypted data values are not
added in still-linked request.data

Fix a bug where submitted extra_data $encrypted$ string
literal was saved because survey_passwords was empty
when there was no diff from prior.

Allow not answering required password questions with a
non-empty default value when saving a launch config.
The literal $encrypted$ string now gets passed into the
prompts / survey validator.
2018-06-20 14:18:38 -04:00
Alan Rominger 8dc2068d18 Merge pull request #2238 from AlanCoding/hold_auth_app
Delay auth app migrations until 3.3
2018-06-20 13:27:44 -04:00
Alan Rominger d1bc9758db Merge pull request #2060 from AlanCoding/one_less_counter
Get rid of duplicate counter variable
2018-06-20 09:46:03 -04:00
AlanCoding ecf24b6eef delay auth app migrations until 3.3 2018-06-20 07:57:40 -04:00
AlanCoding 16696a6fea get rid of duplicate counter variable 2018-06-15 09:29:13 -04:00
Alan Rominger ad354238e9 Merge pull request #2165 from AlanCoding/bwrap_where_art_thou
log details for unhandled bwrap case
2018-06-14 15:18:09 -04:00
AlanCoding adee02ab51 log details for unhandled bwrap case 2018-06-14 14:01:59 -04:00
Alan Rominger ce117285e1 Merge pull request #2079 from AlanCoding/creds_no_op
Allow no-op case when modifying deprecated credentials
2018-06-12 09:08:35 -04:00
Alan Rominger 3251ed2f6c Merge pull request #1980 from AlanCoding/settings_exc_info
Handle broken transactions in DB settings getattr
2018-06-12 07:49:05 -04:00
Alan Rominger a8c31a51e9 Merge pull request #2004 from AlanCoding/checkin_access
Allow managing credentials with external user management
2018-06-12 07:47:16 -04:00
Alan Rominger 951142d510 Merge pull request #1950 from AlanCoding/more_roles
Cover testing of new 3.3 org roles for user security fix
2018-06-12 07:45:36 -04:00
Alan Rominger bcd9c5dada Merge pull request #2098 from AlanCoding/u_no_copy
Prohibit users without read_role from viewing copy endpoint
2018-06-08 08:54:32 -04:00
Alan Rominger df1fe19b21 Merge pull request #2089 from AlanCoding/friends_workflow_job
Prohibit relaunching workflow jobs from other users
2018-06-07 20:07:58 -04:00
AlanCoding ed762fd4b6 prohibit users without read_role from viewing copy endpoint 2018-06-07 15:14:49 -04:00
Alan Rominger d969e37f94 Merge pull request #2095 from AlanCoding/memories_of_labels
Exclude m2m copies from activity stream
2018-06-07 15:09:27 -04:00
AlanCoding 8509a43b95 exclude m2m copies from activity stream 2018-06-07 13:34:58 -04:00
AlanCoding b0b7f7a295 prohibit relaunching workflow jobs from other users 2018-06-07 13:01:15 -04:00
AlanCoding dde706b61f allow no-op case when modifying deprecated credentials 2018-06-07 07:16:07 -04:00
Alan Rominger 4f85de5fcf Merge pull request #2056 from AlanCoding/alan33chachachachanges
Update CHANGELOG.md for many 3.3 items
2018-06-06 10:57:55 -04:00
AlanCoding a9391584d7 Update CHANGELOG.md for 3.3 items
Added API items in headline feature list
Added items found by scrubbing the merged PR queue

Add 3.3 section header
move the 3.3 section to the top of file,
before the existing 3.2 section
2018-06-06 10:37:49 -04:00
Alan Rominger 88051cc9fc Merge pull request #2045 from AlanCoding/can_see_all_teams
Show org-admins all teams if ALL USERS setting enabled
2018-06-05 08:39:59 -04:00
AlanCoding 74c6c350a1 show org-admins all teams if ALL USERS setting enabled 2018-06-05 07:55:13 -04:00
Alan Rominger d250b89f47 Merge pull request #2041 from AlanCoding/lazy_passwords
No launch config errors with replacable ASK credential
2018-06-05 07:49:43 -04:00
AlanCoding 648ec3141b no launch config errors with replacable ASK credential 2018-06-04 11:19:22 -04:00
Alan Rominger f394c02afd Merge pull request #2013 from AlanCoding/big_trouble_in_0013
Fix tracebacks when running migrations
2018-06-04 09:51:44 -04:00
AlanCoding 239c60a2bd fix tracebacks when running migrations 2018-06-04 07:35:35 -04:00
Alan Rominger a4efd0a5d2 Merge pull request #2005 from AlanCoding/dep_oauth
Make our oauth model creation a dependency of other app
2018-06-01 09:35:07 -04:00
Alan Rominger b3b38777c1 Merge pull request #1994 from AlanCoding/network_client
Remove network_ui Client model, replace with simple uuid
2018-05-31 15:23:00 -04:00
Alan Rominger dd944319f1 Merge pull request #1989 from AlanCoding/delete_networks
Delete network canvas objects in delete inventory task
2018-05-31 13:57:13 -04:00
AlanCoding b7a5c10ce4 make our oauth model creation a dependency of other app 2018-05-31 10:19:43 -04:00
AlanCoding f692f0c70a test creating credential for self & org_member 2018-05-31 08:58:38 -04:00
AlanCoding 253606c8bf allow managing credentials with external user management 2018-05-31 08:40:32 -04:00
Alan Rominger 302505905e Merge pull request #1992 from AlanCoding/copy_v2
Make copy endpoints specific to v2
2018-05-30 15:51:44 -04:00
Alan Rominger 7aa1c64fac Merge pull request #1996 from AlanCoding/null_handler_again
Interpret null protocol as logging.NullHandler
2018-05-30 15:49:15 -04:00
AlanCoding 015b19d8c3 interpret null protocol as logging.NullHandler 2018-05-30 15:21:51 -04:00
AlanCoding c690da4058 make copy endpoints specific to v2 2018-05-30 14:01:58 -04:00
AlanCoding e889c976eb Remove network_ui Client model 2018-05-30 13:56:19 -04:00
AlanCoding 124fcd6f62 delete network canvas objects in delete inventory task 2018-05-30 12:03:20 -04:00
AlanCoding 4e6fd59180 Handle broken transactions in DB settings getattr
This expands the role of the log database error context manager
and will actually make itself an exception to the standard
ORM behavior of raising an error when any queries are executed
inside of a broken transaction.

In this particular case it is less risky to continue on
with a database query and push the data to memcache than
it would be to use default settings values in violation of
user's intent. (hopefully)
2018-05-30 09:00:03 -04:00
Alan Rominger 232ad2a06c Merge pull request #1912 from AlanCoding/other_user_relaunch
Disallow launching jobs with other user's prompts
2018-05-29 11:51:13 -04:00
Alan Rominger 03d975e18d Merge pull request #1959 from AlanCoding/cpf8
flake8 errors in access.py due to an upgrade
2018-05-25 12:09:37 -04:00
AlanCoding e64e25fcc1 flake8 errors in access.py due to an upgrade 2018-05-25 11:28:38 -04:00
Alan Rominger d35fb691b1 Merge pull request #1952 from AlanCoding/new_test_artifact
Ignore new test artifact being produced
2018-05-25 09:54:05 -04:00
AlanCoding 1790b1703f ignore new test artifact being produced 2018-05-24 15:48:13 -04:00
AlanCoding e04a07f56c cover testing of new 3.3 org roles for user security fix 2018-05-24 13:56:38 -04:00
Alan Rominger 9dc4e1944c Merge pull request #1917 from AlanCoding/no_more
Do not put deep copy items in activity stream
2018-05-24 08:07:05 -04:00
Alan Rominger 550c6edb33 Merge pull request #1851 from AlanCoding/sch_modified_by
Fix schedules modified_by getting nulled
2018-05-23 10:42:07 -04:00
AlanCoding b7e9bda6cf track prior organization_id by base model prior values tore
Also fix bug where unified pointers were counted in
the prior values store
2018-05-23 08:54:03 -04:00
AlanCoding d369ae7638 do not put deep copy items in activity stream 2018-05-22 16:23:08 -04:00
AlanCoding c3368bc4ff disallow launching with other users prompts 2018-05-22 15:47:36 -04:00
Alan Rominger 7d36bd1fb2 Merge pull request #1786 from AlanCoding/system_params2
Add exception to allow relaunching callback jobs
2018-05-22 12:48:58 -04:00
Alan Rominger e2cd05e8e2 Merge pull request #1903 from AlanCoding/jake
Add final_line_count to EOF websocket
2018-05-22 11:47:51 -04:00
AlanCoding f54ac776cd add final_line_count to EOF websocket 2018-05-21 15:47:43 -04:00
Alan Rominger 36d566800c Merge pull request #1867 from AlanCoding/help_text_fds
Mark field scm_delete_on_next_update for removal
2018-05-21 10:12:05 -04:00
AlanCoding 222fbfc328 add help text, deprecate field 2018-05-18 14:26:22 -04:00
AlanCoding 969fb21e98 restrict network_ui to inv admins 2018-05-18 14:17:59 -04:00
AlanCoding 967624c576 fix schedules modified_by getting nulled 2018-05-18 07:38:49 -04:00
AlanCoding db6cc7c50b Add exception to allow relaunching callback jobs
allows for execute_role level users to directly
relaunch callback-type jobs, even though limit
has changed from JT, it is a down-selection
2018-05-17 14:41:56 -04:00
Alan Rominger 14d10a93cc Merge pull request #1817 from AlanCoding/notification_fail
Do not fail entire notification chain if one fails
2018-05-17 10:06:03 -04:00
AlanCoding c998fd6bcb fix flake8 introduced by new tests 2018-05-17 07:43:09 -04:00
AlanCoding f9871f32a3 do not fail entire notification chain if one fails 2018-05-16 15:16:40 -04:00
Alan Rominger 64fed4d360 Merge pull request #1768 from AlanCoding/all_the_search_fields
Enforce consistently setting view search_fields
2018-05-15 08:32:44 -04:00
Alan Rominger 6a0966d456 Merge pull request #1761 from AlanCoding/project_save_diff
Update project if certain params changed
2018-05-14 11:13:46 -04:00
AlanCoding ec7f1c2540 enforce consistently setting view search_fields 2018-05-14 10:12:49 -04:00
AlanCoding b79606d9d3 update project if certain params changed 2018-05-11 13:59:15 -04:00
Alan Rominger 1b64e52f64 Merge pull request #1749 from AlanCoding/fix_team_parents
Fix team parentage being removed
2018-05-11 07:19:17 -04:00
AlanCoding 949895d0bc fix team parentage being removed 2018-05-10 11:13:09 -04:00
Alan Rominger db776feea9 Merge pull request #1666 from AlanCoding/handlers_everywhere
Send our oddball loggers to external logger too
2018-05-10 08:38:31 -04:00
Alan Rominger 5643505a31 Merge pull request #1664 from AlanCoding/more_wfjt_cred_fixes
Correctly check credential permission on WFJT copy
2018-05-10 07:42:49 -04:00
Alan Rominger 1b69f7a376 Merge pull request #1716 from AlanCoding/sinfo
Include full stack trace for DB settings error
2018-05-09 20:04:41 -04:00
AlanCoding bbfabd2779 include full stack trace for DB settings error 2018-05-09 11:37:40 -04:00
Alan Rominger b50bddbc93 Merge pull request #1719 from AlanCoding/dragon_lair
Allow unicode queue names via CLI
2018-05-08 14:11:52 -04:00
Alan Rominger 2450a3ecd4 Merge pull request #1708 from AlanCoding/namespace_explosions
Accurate 400 messages for undefined filename namespaces
2018-05-08 14:04:55 -04:00
AlanCoding 3bd54ab837 allow unicode queue names via CLI 2018-05-08 12:43:39 -04:00
AlanCoding 1e38abff91 accurate 400 messages for undefined filename namespaces 2018-05-07 15:39:10 -04:00
Alan Rominger 459362daa5 Merge pull request #1706 from ansible/AlanCoding-patch-1
Fix syntax error in docs
2018-05-07 14:42:09 -04:00
Alan Rominger ea2ddd3bba Fix syntax error in docs 2018-05-07 14:14:09 -04:00
Alan Rominger f4aaabaae7 Merge pull request #1698 from AlanCoding/transactions_gone_crazy
do not check for migration version if not migrating
2018-05-07 11:06:05 -04:00