Commit Graph

23 Commits

Author SHA1 Message Date
Jeffrey Martin aaddc9d8a5 don't rely on side-effects in db util function 2019-12-17 14:11:58 -06:00
James Barnett 0c1d63c0ce Update comments as regex is no longer supported 2019-04-17 13:00:42 -05:00
James Barnett 681a4c43c6 Make user and pass options on cred lookup literal
Fixes #11555
2019-04-17 12:37:59 -05:00
Erin Bleiweiss 0435d7e1d6 Return the updated objects 2019-01-10 11:04:42 -06:00
Erin Bleiweiss 5055e421f5 Add ! to cred update 2019-01-10 10:56:28 -06:00
Erin Bleiweiss 0ad89528ea Update pattern for creds 2019-01-10 10:55:36 -06:00
James Barnett 2ef639f99e opts[:id] could sometimes be an integer, so cast to string 2018-07-31 10:58:01 -05:00
James Barnett 37706e094d Dont wrap object in array when using ID parameter 2018-07-27 16:41:11 -05:00
James Barnett 829b43f743 Address minor code review comments 2018-07-27 16:19:17 -05:00
James Barnett eccd223a3e Merge branch 'master' into conform_to_api_standards 2018-07-24 12:11:14 -05:00
James Barnett 862f918d49 Fix bug when updating Core subobjects 2018-07-23 16:21:30 -05:00
James Barnett b250c4e3f4 Honor realm in creds -S 2018-07-20 16:30:17 -05:00
James Barnett 4da27d2bff Enable GET for /endpoint/ID for each model 2018-07-18 15:18:22 -05:00
James Barnett d6eaa4a7c7 Search for creds at the query level 2018-06-01 17:00:56 -05:00
James Barnett c6a5a139ae Look up the core object before creating a login 2018-06-01 12:54:48 -05:00
James Barnett a595dff6a8 Add remote creds update 2018-05-25 16:02:25 -05:00
James Barnett a107336ad5 Move cred delete to DBManager 2018-05-23 16:47:56 -05:00
James Barnett 466c97f114 WIP: move tracking active workspace to client side
* Move the @current_workspace tracking to workspace proxy
* Create helper for handling workspace value in opts
* Call framework.db.proxy across dbmanager files now that active ws is tracked in proxy

NOTE: This commit throws an exception when adding a remote data service.
2018-03-22 21:00:06 -05:00
James Barnett 5232e9926e creds command converted 2017-10-16 15:27:53 -05:00
Brent Cook 2041870e62 Update ActiveRecord syntax for framework db credential iteration 2016-07-15 22:01:54 -05:00
root 51dd88114b Fix grammer in comments 2015-04-13 13:21:41 +05:00
Christian Catalan 3deac54d3f Convert find_or_initialize_by_X to Rails 4 compatible.
MSP-12018
2015-02-03 16:09:49 -06:00
Luke Imhoff ceba04d556 Extract Msf::DBManager::Cred
MSP-11124

Extract methods related to `Mdm::Cred`s.
2014-10-09 11:41:04 -05:00