Commit Graph

1749 Commits (c42f9bcd3de9a1ff77b44588d77e43fc8b1b72e2)

Author SHA1 Message Date
Marshall Hallenbeck 29e673c885 feat(cmedb): update is_credentials_valid to use proper sqlalchemy syntax 2023-03-13 16:05:59 -04:00
Marshall Hallenbeck 6d24d0906a chore(cmedb): update formatting 2023-03-13 16:05:59 -04:00
Marshall Hallenbeck d0e83c4b97 feat(cmedb): update cmedb.py to use proper sqlalchemy connection 2023-03-13 16:05:59 -04:00
Marshall Hallenbeck 9b2b1656b7 feat(smbdb): completely revamp get_shares_by_access function (needs testing) 2023-03-13 16:05:59 -04:00
Marshall Hallenbeck 75619809ad feat(cmedb): update get_shares sqlalchemy syntax 2023-03-13 16:05:59 -04:00
Marshall Hallenbeck 780ca00e32 feat(cmedb): update is_share_valid sqlalchemy syntax 2023-03-13 16:05:59 -04:00
Marshall Hallenbeck 8463829b5b feat(database): working on making database operations more async, reducing write concurrency issues, and fixing sqlalchemy query formats 2023-03-13 16:05:57 -04:00
Marshall Hallenbeck 06a82744cd WIP: improve computer add and update logic to reduce writes 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck bdc887ccae feat(mssqldb): update get_computers to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 4b5dfbb025 feat(mssqldb): update is_computer_valid to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck da1e788f23 feat(mssqldb): update get_credentials to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck b70cdc58e1 feat(mssqldb): update is_credential_valid to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 9e1b8fbe88 feat(mssqldb): update remove_admin_relations to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 70346c9c8a feat(mssqldb): update get_admin_relations to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 28b16538ed feat(mssqldb): update add_admin_user to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 54035df8b1 feat(mssqldb): update remove_credentials to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 876dd9d331 feat(mssqldb): update add_credential to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck a8f23e9ed9 chore(mssqldb): fix formatting 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck f33d254c83 feat(mssqldb): update add_computer to use sqlalchemny 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck b44b05a0fa small formatting fix in db_navigator 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck b4c189a2a7 small formatting fix 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 108629bc02 feat(smbdb): update additional user functions to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 484ab65aad feat(smbdb): update is_user_valid to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck a66b3a0a72 feat(smbdb): update is_credential_local to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 7401f48f82 feat(cmedb): update creds remove command to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck a634530128 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-13 16:05:05 -04:00
Marshall Hallenbeck 9094e2e80f fix(smbdb): fix extraneous commit call that was causing errors due to timing 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 5debcb793e chore(smbdb): fix formatting 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 1aec4ea798 refactor(cmedb): pass dbengine object instead of session object 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 165142b543 fix(smb-database): remove redundant commit calls 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 13a554ea20 chore: remove debug print statements 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 5c6fb5799c chore: remove commented code 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 0212f7bd28 feat(cmedb): update sql queries for groups command 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck c8b472321a feat(cmedb): update queries and fix parameter names 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 4c3f68925b chore(cmedb): remove debug print statements 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 86fa6d3437 chore(cmedb): remove unnecessary update_computer function 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck e34fdc2dda feat(database): update each protocol to use sqlalchemy table reference and add database clear function; closes #189 2023-03-13 16:05:03 -04:00
Marshall Hallenbeck 10e7180c20 chore(cmedb): fix small formatting 2023-03-13 16:03:52 -04:00
Marshall Hallenbeck 3dd7134898 chore(smb): fix formatting for smb.py 2023-03-13 16:03:50 -04:00
Marshall Hallenbeck 3c62a58008 fix(smb): update logging for shares 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck 18d2b273af feat(cmedb): update cmedb.groups sql queries to use sqlalchemy 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck 6d140bb1ce feat(cmedb): update some functions for smb.creds 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck bc2ba6a025 feat(cmedb): update queries for smb.hosts 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck 9185555c0f feat(cmedb): update db connection reference and one query 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck 7e2c9333fd refactor(cmedb): fix cursor connection reference 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck f9f8de0c74 fix(cmedb): import print_table from cmedb 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck f65a78a03e chore(cmedb): formatting fixes 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck 388f520103 WIP - cmedb update 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck e120efd347 chore(cmedb): fix formatting and other PEP8 violations 2023-03-13 15:58:38 -04:00
Marshall Hallenbeck 4c9faccdfa remove debug prints and fix typo 2023-03-13 15:58:38 -04:00