Commit Graph

426 Commits

Author SHA1 Message Date
TheNetworkGuy
7cfed2ec76 Added warning message for Token v2 with Netbox 4.5 or higher. This is according to Netbox recommendations and to warn our users. 2026-02-23 10:35:41 +00:00
TheNetworkGuy
d5e3199e92 Implemented central configuration and config path that is configurable as path. Updated tests to use self.config instead on re-initializing config. 2026-02-19 16:17:58 +00:00
TheNetworkGuy
f7d0989320 Added check for when a non-primary cluster member is synced 2026-02-19 13:04:32 +00:00
TheNetworkGuy
3be3cdc8ef Fixed Ruff linting 2026-02-19 12:40:50 +00:00
TheNetworkGuy
a4d5fda5e3 Added VM tests and tag tests 2026-02-19 12:38:29 +00:00
TheNetworkGuy
02a5617bc8 Fixed some hostgroup tests and added 4 new tests 2026-02-19 12:08:01 +00:00
TheNetworkGuy
434f0c9e68 Added new core tests dedicated towards status conflicts / changes and Template sourcing 2026-02-19 11:47:50 +00:00
TheNetworkGuy
c00ec4de31 Fixed several ruff and ty checks. 2026-02-18 14:10:59 +00:00
TheNetworkGuy
dfba6f4714 Renamed NB API import, removed unused sys import, added error when ZBX token and password are both used, revamped the core testing file and added useful tests such as device clustering and a base for future device testing. 2026-02-18 13:57:37 +00:00
TheNetworkGuy
223a27f47c Changed sync function to class 2026-02-17 15:45:43 +00:00
TheNetworkGuy
d55fc0a4e7 Fixed ruff formatting 2026-02-16 13:29:48 +00:00
TheNetworkGuy
39f3c57cca Renamed module/config.py file to settings.py to avoid confusion with the main config.py file 2026-02-16 13:28:18 +00:00
Wouter de Bruijn
79396242fe 👷 Fixed CI publish 3.4.0-beta.1 2026-02-13 15:42:45 +01:00
TheNetworkGuy
2028b7b8aa Reformatted file for ruff check 2026-02-12 22:27:22 +00:00
TheNetworkGuy
ebbebfa17f Adds tests for new core module 2026-02-12 22:24:06 +00:00
TheNetworkGuy
de02d257f7 Fixed file for linting issues. 2026-02-12 16:27:18 +00:00
TheNetworkGuy
b3f02dc028 Renamed run_sync function to sync and imported it at package level for easier imports. 2026-02-12 17:22:41 +01:00
Wouter de Bruijn
2b251b8f68 👷 Changed build to only run once for Python 3.12 2026-02-12 16:30:54 +01:00
Wouter de Bruijn
37257074bc 🔧 Updated lockfile 2026-02-12 16:25:20 +01:00
Wouter de Bruijn
0aa019e104 🔧 Added pypi publishing step 2026-02-12 16:25:11 +01:00
Wouter de Bruijn
6d0b031016 🔧 Adjusted build to use dynamic git tag version 2026-02-12 15:42:13 +01:00
Wouter de Bruijn
ce7ad878a2 🔧 Added cli command on package install 2026-02-12 15:41:59 +01:00
Wouter de Bruijn
e2b5c853a4 🙈 Ignored _version.py file 2026-02-12 15:41:19 +01:00
Wouter de Bruijn
3209e7077c 🔥 Removed saving of None return value 2026-02-12 15:25:35 +01:00
Wouter de Bruijn
14c0b9a479 Updated patch targets for new module structure 2026-02-12 15:22:39 +01:00
Wouter de Bruijn
22ebeaec1b 🐛 Fixed exclusion of all config.py files instead of only root file 2026-02-12 15:20:47 +01:00
Wouter de Bruijn
b2d021e849 👷 Added python packaging build step in GitHub actions 2026-02-12 15:17:50 +01:00
Wouter de Bruijn
f302cef05c ♻️ Importing cli parser from netbox_zabbix_sync module 2026-02-12 15:17:50 +01:00
Wouter de Bruijn
414f272d75 🙈 Ignored build files 2026-02-12 15:17:35 +01:00
Wouter de Bruijn
a8146b1e05 ♻️ Moved sourcecode into netbox_zabbix_sync module 2026-02-12 15:17:34 +01:00
TheNetworkGuy
6697311f8d Splitted core code from calling the script directly 2026-02-12 15:17:34 +01:00
Wouter de Bruijn
811e1eaa69 🔀 Merge pull request #165 from TheNetworkGuy/remove-pylint-annotations
💡 Removed old pylint annotations
2026-02-12 10:31:07 +01:00
Twan Kamans
e15919cfdd Merge pull request #164 from TheNetworkGuy/test-linting-exceptions
🔧 Specifically ignore assertion in tests instead of entire codebase
2026-02-12 10:26:10 +01:00
Wouter de Bruijn
6d715e6835 💡 Removed old pylint annotations 2026-02-12 10:25:35 +01:00
Twan Kamans
ab761f6b07 Merge pull request #163 from TheNetworkGuy/devcontainer-uv-environment
🔧 Updated post create command to fully use uv environment
2026-02-12 10:24:51 +01:00
Wouter de Bruijn
a151771002 🔒️ Switched to installation of locked dependencies 2026-02-12 10:02:45 +01:00
Wouter de Bruijn
df00114e3a 🔧 Removed pip installation is favor of installing uv and synchronizing virtual environment 2026-02-12 09:57:15 +01:00
Wouter de Bruijn
623994c55f 🔧 Specifically ignore assertion in tests instead of entire codebase 2026-02-12 09:24:32 +01:00
Twan Kamans
5c04757f4b Merge pull request #162 from TheNetworkGuy/develop
Build and Push Docker Image / test_quality (push) Successful in 1m22s
Build and Push Docker Image / test_code (push) Failing after 26s
Build and Push Docker Image / build (push) Failing after 21s
Fixes code to be compatible with ruff
2026-02-11 17:16:43 +01:00
TheNetworkGuy
e5d4bb64f0 Fixed linting on several files 2026-02-11 15:51:35 +00:00
TheNetworkGuy
3227bb3165 Fixed formatting, fixed tests for type checker 2026-02-11 15:30:53 +00:00
TheNetworkGuy
d53cc5e7d4 Added link to wiki in readme 2026-02-11 14:39:29 +00:00
TheNetworkGuy
8c5cdc77d7 Removed slowly from readme banner. We are not going to move this documentation slow, right? And added a link directly to the wiki. 2026-02-11 14:39:18 +00:00
TheNetworkGuy
2ea211b5dd Adds a little banner on the readme pointing towards the Wiki documentation 2026-02-11 14:36:35 +00:00
TheNetworkGuy
9212f486bf Updated main script with updated function names and to be valid code for ruff 2026-02-11 14:31:20 +00:00
TheNetworkGuy
18d67d5c2b Updated several modules to be valid code for ruff 2026-02-11 14:30:46 +00:00
TheNetworkGuy
2e2939ce55 Updated test_tools for ruff 2026-02-11 14:30:18 +00:00
TheNetworkGuy
5255984f80 Updated tests due to ruff checks failing 2026-02-11 14:30:03 +00:00
TheNetworkGuy
d32540d0e1 Updated devcontainer and added assertion exception for pytest code. 2026-02-11 14:29:27 +00:00
Twan Kamans
a80dc9fc2b Merge pull request #161 from TheNetworkGuy/main
Fix develop
2026-02-11 11:58:25 +01:00