Commit Graph

1171 Commits

Author SHA1 Message Date
Marshall Hallenbeck 2b3789f045 fix(smbdb): update result query syntax 2023-03-06 17:37:13 -05:00
Marshall Hallenbeck 1b7ed043b0 fix(SAwarnings): add warning ignore for SAWarnings 2023-03-06 17:32:16 -05:00
Marshall Hallenbeck 8c2258c6d1 feat(cmedb): update is_credentials_valid to use proper sqlalchemy syntax 2023-03-06 17:29:50 -05:00
Marshall Hallenbeck ca414de428 chore(cmedb): update formatting 2023-03-06 17:26:18 -05:00
Marshall Hallenbeck 64c1e5a41b feat(cmedb): update cmedb.py to use proper sqlalchemy connection 2023-03-06 17:22:33 -05:00
Marshall Hallenbeck ba4eebdf68 feat(smbdb): completely revamp get_shares_by_access function (needs testing) 2023-03-06 11:59:15 -05:00
Marshall Hallenbeck 4d0007dc4b feat(cmedb): update get_shares sqlalchemy syntax 2023-03-06 11:44:02 -05:00
Marshall Hallenbeck 4b11bb2382 feat(cmedb): update is_share_valid sqlalchemy syntax 2023-03-06 11:35:55 -05:00
Marshall Hallenbeck f90871f025 feat(database): working on making database operations more async, reducing write concurrency issues, and fixing sqlalchemy query formats 2023-03-05 21:12:13 -05:00
Marshall Hallenbeck f67ebe2154 WIP: improve computer add and update logic to reduce writes 2023-03-05 19:14:37 -05:00
Marshall Hallenbeck e25f780848 feat(mssqldb): update get_computers to use sqlalchemy 2023-03-04 22:19:49 -05:00
Marshall Hallenbeck 2a58536e62 feat(mssqldb): update is_computer_valid to use sqlalchemy 2023-03-04 22:19:23 -05:00
Marshall Hallenbeck d06105cd99 feat(mssqldb): update get_credentials to use sqlalchemy 2023-03-04 22:18:54 -05:00
Marshall Hallenbeck f4926974ed feat(mssqldb): update is_credential_valid to use sqlalchemy 2023-03-04 22:18:26 -05:00
Marshall Hallenbeck 5e05b61a02 feat(mssqldb): update remove_admin_relations to use sqlalchemy 2023-03-04 22:18:01 -05:00
Marshall Hallenbeck 3727065c85 feat(mssqldb): update get_admin_relations to use sqlalchemy 2023-03-04 22:17:35 -05:00
Marshall Hallenbeck 8071f8d11f feat(mssqldb): update add_admin_user to use sqlalchemy 2023-03-04 22:17:08 -05:00
Marshall Hallenbeck 1f07bbcf97 feat(mssqldb): update remove_credentials to use sqlalchemy 2023-03-04 22:13:11 -05:00
Marshall Hallenbeck d9604f7b89 feat(mssqldb): update add_credential to use sqlalchemy 2023-03-04 22:12:10 -05:00
Marshall Hallenbeck b8ea10c5fb chore(mssqldb): fix formatting 2023-03-04 22:08:16 -05:00
Marshall Hallenbeck 7d663016da feat(mssqldb): update add_computer to use sqlalchemny 2023-03-04 22:08:04 -05:00
Marshall Hallenbeck 0428efed38 small formatting fix in db_navigator 2023-03-04 21:48:19 -05:00
Marshall Hallenbeck def6bfb4fc small formatting fix 2023-03-04 21:45:11 -05:00
Marshall Hallenbeck bd849eb13c feat(smbdb): update additional user functions to use sqlalchemy 2023-03-04 21:41:43 -05:00
Marshall Hallenbeck c017784b62 feat(smbdb): update is_user_valid to use sqlalchemy 2023-03-04 21:24:51 -05:00
Marshall Hallenbeck ce95817f67 feat(smbdb): update is_credential_local to use sqlalchemy 2023-03-04 21:21:15 -05:00
Marshall Hallenbeck 81f3093211 feat(cmedb): update creds remove command to use sqlalchemy 2023-03-04 21:17:45 -05:00
Marshall Hallenbeck a6348f0f69 feat(cmedb): add database column for count of members of groups from AD, and the last queried time of it. Additionally transition to sqlalchemy 2023-03-04 21:08:48 -05:00
Marshall Hallenbeck 0d9abf783f fix(smbdb): fix extraneous commit call that was causing errors due to timing 2023-03-04 19:35:35 -05:00
Marshall Hallenbeck 568c8d4a92 chore(smbdb): fix formatting 2023-03-04 19:10:18 -05:00
Marshall Hallenbeck 5f6cf08c47 refactor(cmedb): pass dbengine object instead of session object 2023-03-04 19:00:20 -05:00
Marshall Hallenbeck 781c895cc8 fix(smb-database): remove redundant commit calls 2023-03-04 17:50:59 -05:00
Marshall Hallenbeck 7b8055f4b1 chore: remove debug print statements 2023-03-04 17:05:32 -05:00
Marshall Hallenbeck dcf4cca3be chore: remove commented code 2023-03-04 17:04:28 -05:00
Marshall Hallenbeck 8bd44ace3d feat(cmedb): update sql queries for groups command 2023-03-04 17:03:00 -05:00
Marshall Hallenbeck 68594764e8 feat(cmedb): update queries and fix parameter names 2023-03-04 15:33:07 -05:00
Marshall Hallenbeck 97b690017a chore(cmedb): remove debug print statements 2023-03-04 11:26:16 -05:00
Marshall Hallenbeck 632ce4777a chore(cmedb): remove unnecessary update_computer function 2023-03-04 11:22:44 -05:00
Marshall Hallenbeck 71efb22f98 feat(database): update each protocol to use sqlalchemy table reference and add database clear function; closes #189 2023-03-04 11:12:29 -05:00
Marshall Hallenbeck 5a4fe2171c chore(cmedb): fix small formatting 2023-03-04 11:10:35 -05:00
Marshall Hallenbeck 19d859c4d8 chore(smb): fix formatting for smb.py 2023-03-04 09:11:31 -05:00
Marshall Hallenbeck cd14f96241 fix(smb): update logging for shares 2023-03-04 08:44:28 -05:00
Marshall Hallenbeck cae93b9fbd feat(cmedb): update cmedb.groups sql queries to use sqlalchemy 2023-03-03 21:05:04 -05:00
Marshall Hallenbeck 3c753cea8b feat(cmedb): update some functions for smb.creds 2023-03-03 20:38:31 -05:00
Marshall Hallenbeck cc76d4cbde feat(cmedb): update queries for smb.hosts 2023-03-03 19:37:10 -05:00
Marshall Hallenbeck a679bddaa2 feat(cmedb): update db connection reference and one query 2023-03-03 19:28:56 -05:00
Marshall Hallenbeck 23f2b7ce46 refactor(cmedb): fix cursor connection reference 2023-03-03 19:19:11 -05:00
Marshall Hallenbeck d3716bc32c fix(cmedb): import print_table from cmedb 2023-03-03 19:06:18 -05:00
Marshall Hallenbeck ce672ea5e1 chore(cmedb): formatting fixes 2023-03-03 19:04:29 -05:00
Marshall Hallenbeck 72a9b29dda WIP - cmedb update 2023-03-03 18:49:59 -05:00