Commit Graph
100 Commits
Author SHA1 Message Date
Wayne Witzel III 7149c41804 Merge pull request #570 from wwitzel3/release_3.2.2
Handle ProgrammingError in squashed helpers
2017-11-03 10:45:09 -04:00
Wayne Witzel III 1a5b5c32b8 Handle ProgrammingError in squashed helpers 2017-11-03 10:34:25 -04:00
Wayne Witzel III 1b44ca8ef4 Merge pull request #569 from wwitzel3/release_3.2.2
Handle programming error when evaluating the replaces list for 320
2017-11-03 09:02:58 -04:00
Wayne Witzel III d7f4707044 Handle programming error when evaluating the replaces list for 320 2017-11-03 08:53:53 -04:00
Wayne Witzel III ce393da6fd Merge pull request #564 from wwitzel3/squashbillies
Squashbillies - Fixing direct upgrades from 3.0/3.1 bug fix revisions.
2017-11-02 16:19:26 -04:00
Wayne Witzel III 2f86774006 3.2.0 should not have any replacements defined unless 0005a or 0005b migrations have been run previously 2017-11-02 16:11:45 -04:00
Wayne Witzel III f9685717b8 Move post 3.0 migrations to pre 3.1 position in migration files 2017-11-02 14:06:36 -04:00
Wayne Witzel III 47a3ba9bd5 Rename squash 300 to 30 2017-11-02 14:06:36 -04:00
Wayne Witzel III af3e6f792c Rename squash 310 to 31 2017-11-02 14:06:35 -04:00
Wayne Witzel III fc56a1c170 Fix 3.0 to 3.2 migration paths 2017-11-02 14:06:35 -04:00
Wayne Witzel III 84fb908261 Fix 3.1 to 3.2 migration paths 2017-11-02 14:06:33 -04:00
Wayne Witzel III 470a4b7746 Merge pull request #535 from wwitzel3/release_3.2.2
use getattr in social auth django strategy
2017-10-18 11:02:11 -04:00
Wayne Witzel III 38c2ea7025 use getattr in social auth django strategy 2017-10-18 10:20:44 -04:00
Wayne Witzel III 8f883d8d43 Fix migrations to support 3.1.2 -> 3.2.1+ upgrade path 2017-10-06 09:25:43 -04:00
Wayne Witzel III 5bcf704b76 Merge pull request #501 from wwitzel3/release_3.2.1
[3.2.1] Fix missing update_capacity paramenter
2017-10-06 00:37:07 -04:00
Wayne Witzel III 2818bb5833 fix missing parameter to update_capacity method 2017-10-06 00:23:12 -04:00
Wayne Witzel III 02e3f45422 do not allow ansible connection type of local for ad_hoc 2017-10-04 17:55:36 -04:00
Wayne Witzel III 96fd07d0f3 Assert isolated nodes have capacity set to 0 and restored based on version 2017-10-02 14:43:19 -04:00
Wayne Witzel III 692007072d Set capacity to zero if the isolated node has an old version 2017-10-02 14:43:18 -04:00
Wayne Witzel III e233926a4a Merge pull request #467 from wwitzel3/release_3.2.0
add --comment-only option to the migrate_to_database_settings mgmt cmd
2017-09-26 19:07:46 -04:00
Wayne Witzel III ba23f1728a add --comment-only option to the migrate_to_database_settings mgmt command 2017-09-26 14:51:59 -04:00
Wayne Witzel III 0b0afe91ab Merge pull request #457 from wwitzel3/release_3.2.0
get_or_create already saves, no need to call again
2017-09-22 16:42:47 -04:00
Wayne Witzel III 39cc427668 get_or_create already saves, no need to call again 2017-09-22 16:25:55 -04:00
Wayne Witzel III 9e9692971f Merge pull request #455 from wwitzel3/release_3.2.0
Various SAML / auth fixes.
2017-09-22 16:10:49 -04:00
Wayne Witzel III e9e027ecd7 Fix issue when the enterprise_auth has already been created 2017-09-22 15:58:39 -04:00
Wayne Witzel III 723449818d Fix issue when per user tokens are disabled 2017-09-22 15:58:26 -04:00
Wayne Witzel III 7960525c20 Merge pull request #440 from wwitzel3/release_3.2.0
Merge pull request #224 from wwitzel3/fix-shared-deps
2017-09-20 16:50:08 -04:00
Wayne Witzel III 439beeab3b Merge pull request #224 from wwitzel3/fix-shared-deps
Fix job shared dependencies.
2017-09-20 14:56:22 -04:00
Wayne Witzel III c868f7e91f Merge pull request #435 from wwitzel3/release_3.2.0
just fall through to the DjangoStrategy constructor
2017-09-20 09:02:58 -04:00
Wayne Witzel III bab4cbbcf7 just fall through to the DjangoStrategy constructor 2017-09-20 08:50:39 -04:00
Wayne Witzel III 540bda1d09 Merge pull request #420 from wwitzel3/release_3.2.0
Merge pull request #161 from wwitzel3/devel
2017-09-18 09:54:54 -04:00
Wayne Witzel III dafd6acf1a Merge pull request #161 from wwitzel3/devel
update social auth strategy to have fixes from social-app-django
2017-09-15 17:22:32 -04:00
Wayne Witzel III 05b4bff388 Merge pull request #322 from wwitzel3/issue-7501
Update HostManager to return distinct hostnames
2017-08-22 16:31:57 -04:00
Wayne Witzel III ca9a1a0ca1 remove tests that execute distinct logic, sqlite3 does not support 2017-08-21 06:16:44 -04:00
Wayne Witzel III f8c2b466a8 sometimes core_filters is not an attribute, so just set it to empty instead of pop 2017-08-21 06:03:37 -04:00
Wayne Witzel III eb6a27653f Adjust HostManager and update summary host query 2017-08-21 04:01:58 -04:00
Wayne Witzel III c352ea7596 Update HostManager to return only a single matching hostname for SmartInventory filter 2017-08-21 02:17:27 -04:00
Wayne Witzel III ba1ed5b6fd Merge pull request #293 from wwitzel3/release_3.2.0
Provide history to hosts that are part of smart inventory jobs.
2017-08-17 09:58:32 -04:00
Wayne Witzel III 67c25570f3 Ensure Smart Inventory hosts are assigned job history 2017-08-16 17:04:17 -04:00
Wayne Witzel III 3ce0529846 Merge pull request #152 from wwitzel3/issue-7355
Ensure hosts list properly when given read access to a smart inventory
2017-08-02 15:41:13 -04:00
Wayne Witzel III eb73248d37 Refactor InventoryHostsList get_queryset to use getattrd 2017-08-02 15:13:27 -04:00
Wayne Witzel III 7f75ef9ad4 whitespace clean up 2017-08-02 13:11:16 -04:00
Wayne Witzel III fe36ed94b8 Ensure hosts list properly when given read access to a smart inventory 2017-08-02 13:10:55 -04:00
Wayne Witzel III 78ab549733 Merge pull request #115 from wwitzel3/issue-7332
Disable caching for /authtoken endpoint
2017-07-31 10:00:04 -04:00
Wayne Witzel III 7fe9c7b913 Disable caching for /authtoken endpoint 2017-07-31 09:19:54 -04:00
Wayne Witzel III 6856c77a8e Merge pull request #89 from wwitzel3/release_3.2.0
Backout the token websocket changes, can of worms.
2017-07-27 13:16:14 -04:00
Wayne Witzel III 5d167cafa2 Revert "Merge pull request #39 from wwitzel3/issue-7260"
This reverts commit 6cd0592781, reversing
changes made to 943a40eb40.
2017-07-27 11:32:09 -04:00
Wayne Witzel III 6cd0592781 Merge pull request #39 from wwitzel3/issue-7260
Fixing cookie settings for CSRF and auth token
2017-07-26 18:58:37 -04:00
Wayne Witzel III eff62a17a4 No longer require the token for channels 2017-07-26 13:57:14 -04:00
Wayne Witzel III f6d59409de Fixing cookie settings for CSRF and auth token 2017-07-25 10:11:52 -04:00
Wayne Witzel III 9799025a56 Merge pull request #7109 from ansible/squash-320
Squash migrations v3.1 / v3.2
2017-07-21 14:49:02 -04:00
Wayne Witzel III 822aa65207 Squash migrations 3.1 / 3.2 2017-07-21 13:24:14 -04:00
Wayne Witzel III 1a3131b1a8 Merge pull request #7128 from wwitzel3/issue-4040
Set capacity to zero before shutting down older instances
2017-07-18 13:40:52 -04:00
Wayne Witzel III 1a480f9895 Add a raise after stop_local_services just to be explicit 2017-07-18 10:30:42 -04:00
Wayne Witzel III 8cf3a2867c Set capacity to zero before shutting down older instances in the cluster. 2017-07-18 09:06:06 -04:00
Wayne Witzel III 2f82b3742d Merge pull request #7071 from wwitzel3/devel
Update inventory_refresh acceptance docs
2017-07-14 10:44:11 -04:00
Wayne Witzel III fe03181d4e update acceptance for /host/:id/smart_inventories 2017-07-14 10:43:25 -04:00
Wayne Witzel III 96cc714489 Update smart inventory acceptance 2017-07-14 10:41:06 -04:00
Wayne Witzel III 8cf3bb3134 Merge pull request #7058 from wwitzel3/host-smart_inventories
Update how we repopulate the /host/:id/smart_inventories data
2017-07-13 14:54:30 -04:00
Wayne Witzel III 6f1ef7fe0b Update how we repopulate the /host/:id/smart_inventories data 2017-07-13 14:04:33 -04:00
Wayne Witzel III 40fcd4240f Merge pull request #6995 from wwitzel3/devel
Swap delay/save calls for schedule_deletion
2017-07-11 17:01:59 -04:00
Wayne Witzel III 0ab5124b80 call the delayed delete after the save call for Inventory 2017-07-11 16:29:10 -04:00
Wayne Witzel III 363742b15e Merge pull request #6796 from wwitzel3/issue-4382
Tweak background Inventory deletion.
2017-06-29 09:26:23 -04:00
Wayne Witzel III ad95917db6 fix tests 2017-06-29 08:00:13 -04:00
Wayne Witzel III e9235d8b54 update delete_inventory task 2017-06-29 00:15:56 -04:00
Wayne Witzel III 0204fc1347 org on_delete to SET_NULL and migration 2017-06-29 00:15:41 -04:00
Wayne Witzel III e84ecabe72 add schedule_deletion method and signal 2017-06-29 00:15:11 -04:00
Wayne Witzel III d39dba9892 Merge pull request #6665 from ansible/fallback-test
Reencrypt during data migrations
2017-06-21 12:03:08 -04:00
Wayne Witzel III fe3e5a48c3 Reencrypt during data migrations 2017-06-21 11:54:36 -04:00
Wayne Witzel III 9a48f16bf2 Merge pull request #6645 from ansible/fallback-test
Fix reencryption migrations.
2017-06-20 13:03:36 -04:00
Wayne Witzel III 3750f2ebf3 copy NotificationTemplate code for migration and use Credential model directly 2017-06-20 10:39:07 -04:00
Wayne Witzel III bd52e4bb22 allow conf.settings to fallback to old encryption methods so settings work during migrations 2017-06-20 10:38:34 -04:00
Wayne Witzel III 7111d9232f Fix should_decrypt_field to work with non-str fields (return False) 2017-06-20 10:37:44 -04:00
Wayne Witzel III e1e416bc6d Update CHANGELOG, Fernet256 2017-06-16 16:38:14 -04:00
Wayne Witzel III 2b98f2b9c9 Merge pull request #6622 from wwitzel3/devel
Implement Fernet256 using AES-256-CBC
2017-06-16 16:31:17 -04:00
Wayne Witzel III 7f72d5c6d1 Implement Fernet256 using AES-256-CBC 2017-06-16 16:06:57 -04:00
Wayne Witzel III 41d9145403 Merge pull request #6601 from wwitzel3/devel
Fix re-encryption migration for credentials.
2017-06-15 13:13:40 -04:00
Wayne Witzel III f9b412419c update encryption migration checks and tests 2017-06-15 12:06:18 -04:00
Wayne Witzel III 9014e8c612 remove if AESCBC overhead 2017-06-15 11:25:29 -04:00
Wayne Witzel III c554c10c5c remove credential_type iteration, explicitly check for encyption with startswith 2017-06-15 11:25:29 -04:00
Wayne Witzel III 2c1a39233e monkey-patch get_current_apps so that resolve_role_field works correctly 2017-06-15 11:25:28 -04:00
Wayne Witzel III adc371fcf8 remove errant encryption migration call
ensure credential migration was using the proper algorithm
2017-06-15 11:25:28 -04:00
Wayne Witzel III 57bb097f57 Merge pull request #6599 from wwitzel3/issue-6592
Ensure InventorySource access is checking against Inventory access
2017-06-15 09:56:54 -04:00
Wayne Witzel III d8dfc7e97b Ensure InventorySource access is checking against Inventory access properly 2017-06-15 09:29:17 -04:00
Wayne Witzel III 8989c95b93 Add new encryption to CHANGELOG 2017-06-12 14:23:50 -04:00
Wayne Witzel III af7762e417 Fix typo and update tests to catch other typos 2017-06-12 14:14:46 -04:00
Wayne Witzel III d1008e4ccd Remove unused encryption method and update comment 2017-06-12 13:08:53 -04:00
Wayne Witzel III 861d6a659c Update conf.Settings migration 2017-06-12 13:00:01 -04:00
Wayne Witzel III 3ef7f13131 Explicitly continue if new encryption is already being used. 2017-06-12 12:54:11 -04:00
Wayne Witzel III 73fe8dd469 reencrypt start_args for UnifiedJobs 2017-06-12 09:54:12 -04:00
Wayne Witzel III 8d96d08510 Add Re-Encryption migrations, helpers, and tests 2017-06-12 09:54:12 -04:00
Wayne Witzel III b5d61c3c53 Relocate encryption helpers, update settings, tests, and imports 2017-06-12 09:54:12 -04:00
Wayne Witzel III 1d6d538ae7 Merge pull request #6506 from wwitzel3/devel
Update `/update_inventory_sources` endpoint documentation
2017-06-07 17:03:21 -04:00
Wayne Witzel III 9e0d0e566d Update /update_inventory_sources endpoint documentation 2017-06-07 16:42:52 -04:00
Wayne Witzel III 18bdc51276 Merge pull request #6490 from wwitzel3/devel
Ensure the admin_role can always add an inventory_source.
2017-06-07 12:16:58 -04:00
Wayne Witzel III c6925ca8b4 Ensure the admin_role can always add an inventory_source. 2017-06-07 11:44:44 -04:00
Wayne Witzel III 01471e02bb Merge pull request #6358 from wwitzel3/issue-6099
Add smart_inventories endpoint to Host
2017-05-26 14:24:01 -04:00
Wayne Witzel III d846e352ab minor doc typo 2017-05-26 10:19:47 -04:00
Wayne Witzel III e28cd97ffb Add smart_inventories endpoint to Host 2017-05-26 10:16:12 -04:00
Wayne Witzel III c5364f49bd add some info about field deprecation for InventorySource 2017-05-23 13:25:08 -04:00