Marshall Hallenbeck
|
3143b56060
|
logging(smbdb): update log string to better specify which add_computer() is being called
|
2023-03-13 16:07:07 -04:00 |
Marshall Hallenbeck
|
beaab6034e
|
format(smbdb): change order of functions to match other database classes
|
2023-03-13 16:07:05 -04:00 |
Marshall Hallenbeck
|
c211f53cbd
|
feat(smbdb): add help_creds
|
2023-03-13 16:06:18 -04:00 |
Marshall Hallenbeck
|
d588b523e1
|
chore: remove old commented code
|
2023-03-13 16:06:18 -04:00 |
Marshall Hallenbeck
|
121b25d243
|
feat(smbdb): update remaining functions to proper sqlalchemy syntax
|
2023-03-13 16:06:18 -04:00 |
Marshall Hallenbeck
|
1d33c58059
|
refactor(smbdb): change all add_user references to add_credential and refactor some if statements
|
2023-03-13 16:06:18 -04:00 |
Marshall Hallenbeck
|
b25b74d473
|
chore: set asyncio logging level to CRITICAL to prevent unnecessary logging messages in debug mode
|
2023-03-13 16:06:18 -04:00 |
Marshall Hallenbeck
|
97eb27bdfa
|
fix(smbdb): update Upsert technique
|
2023-03-13 16:06:18 -04:00 |
Marshall Hallenbeck
|
1bb0a476e0
|
feat(smbdb): work on fixing group sqlalchemy queries
|
2023-03-13 16:06:18 -04:00 |
Marshall Hallenbeck
|
92c8d5bf20
|
update variable name
|
2023-03-13 16:06:18 -04:00 |
Marshall Hallenbeck
|
1e5fec0b75
|
fix(smbdb): fix clear_database query
|
2023-03-13 16:06:18 -04:00 |
Marshall Hallenbeck
|
17eda1767d
|
fix(smbdb): reference inserted row id properly
|
2023-03-13 16:06:18 -04:00 |
Marshall Hallenbeck
|
fa6c20f76a
|
feat(cmedb): add help string to hosts command
|
2023-03-13 16:06:16 -04:00 |
Marshall Hallenbeck
|
6056602a3d
|
feat(cmedb): add help string to groups command
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
0d8824eaf4
|
feat(cmedb): add help string to shares command
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
0a58d95218
|
feat(cmedb): add print_help function to assist in printing help commands
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
526ec5373e
|
fix comment
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
fde187e26e
|
fix(cmedb): update get_computers to always return a list
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
3dd1daf87b
|
feat(cmedb): update get_users to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
c8c8bbd531
|
feat(cmedb): update get_user to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
dc1a038474
|
feat(cmedb): update get_computers to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
ffb277fe55
|
feat(cmedb): update is_computer_valid to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
dfd18456a0
|
feat(cmedb): update get_groups to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
6c27da82ef
|
feat(cmedb): update is_group_valid to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
5ca05031a9
|
feat(cmedb): update get_users_with_share_access to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
042f67ee73
|
feat(cmedb): update add_share to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
dc417119b6
|
fix(cmedb): fix db column reference
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
f1c8c0704b
|
feat(cmedb): update get_group_relations to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
7bfd048078
|
feat(cmedb): update get_admin_relations to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
2f4b4c0a23
|
feat(cmedb): update get_credentials to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
d4fe0c18d8
|
feat(cmedb): update is_user_valid to use proper sqlalchemy syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
22606143da
|
fix(smbdb): update result query syntax
|
2023-03-13 16:05:59 -04:00 |
Marshall Hallenbeck
|
2348fc7e13
|
fix(SAwarnings): add warning ignore for SAWarnings
|
2023-03-13 16:05:59 -04:00 |
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 |