Commit Graph
96 Commits
Author SHA1 Message Date
rzuasti 884738196b Web server split into modules 2026-02-26 08:31:48 -05:00
rzuasti d3d8681626 TODO 2026-02-25 15:58:32 -05:00
rzuasti 9ff6c9ec7e List devices API working 2026-02-25 15:54:19 -05:00
rzuasti f45a22a892 Added list devices to database handler 2026-02-25 12:54:39 -05:00
rzuasti be38d2b15f Typo 2026-02-25 09:13:02 -05:00
rzuasti f88e02478a enhanced device database structure, added methods to device db module
and unit tests
2026-02-24 17:25:57 -05:00
rzuasti 5ca3b61dae Added endpoints to read notification and to read without flagging as old 2026-02-23 19:45:19 -05:00
rzuasti 03d2e6c9b1 Improved notifications structure and now saving notifications to
database when triggered
2026-02-23 13:23:36 -05:00
rzuasti e38b875052 Added notification read and insert from database 2026-02-23 11:04:57 -05:00
rzuasti 47788a6738 Refactored errors from String to custom error types 2026-02-23 09:57:22 -05:00
rzuasti 851a9419dc Added DEV_SHELL to flag the development shell 2026-02-22 11:43:33 -05:00
rzuasti 4b905bdde5 Made fish the develop shell 2026-02-21 15:10:35 -05:00
rzuasti 203d0dd98e List notifications endpoint working 2026-02-19 11:24:23 -05:00
rzuasti 5085bc0848 List notifications working 2026-02-19 10:57:04 -05:00
rzuasti e0e05823d1 Fixing tests 2026-02-19 10:49:38 -05:00
rzuasti 54e6dba496 Testing setup working, settings moved to a singleton and initialized on
main.
2026-02-18 11:23:20 -05:00
rzuasti 93b27c7205 About to change clap usage to builder (instead of derive) 2026-02-18 09:35:05 -05:00
rzuasti bc6a613a23 Trying to setup tests 2026-02-17 19:34:26 -05:00
rzuasti 08465fb847 Migrated db connections to pool 2026-02-17 15:20:47 -05:00
rzuasti f1093078bd Before moving to connection pooling for the DB 2026-02-17 14:10:39 -05:00
rzuasti 7d63859222 Added notifications table and model 2026-02-17 12:15:46 -05:00
rzuasti 1d1d0f150a Split device scanner and web server in modules 2026-02-17 09:34:22 -05:00
Ricardo Zuasti 7c96939b2d Moved Devices to a models module 2026-02-14 12:30:12 -05:00
Ricardo Zuasti 3185af3fdb Web server working 2026-02-13 11:35:36 -05:00
rzuasti ec951f9a89 Added frontend static assets and web server to rust backend 2026-02-12 21:46:50 -05:00
rzuasti f3cf3ebec1 Added web server basics to main, it works! 2026-02-12 16:45:04 -05:00
rzuasti f7f7810dfd Rollback to single nix package for backend 2026-02-12 12:55:20 -05:00
rzuasti ef6d2b73f1 fixed hash 2026-02-12 11:53:04 -05:00
rzuasti f5ffd6bcde Combining frontend and backend 2026-02-12 11:51:43 -05:00
rzuasti 7908de9068 Fixing 2026-02-12 10:44:58 -05:00
rzuasti 91c5926e1b Adding json lock file for flutter project 2026-02-12 09:31:35 -05:00
rzuasti 14995230db Adding extras folder 2026-02-12 09:03:10 -05:00
rzuasti 714c0c893d Actually we can do it all from a single package.nix 2026-02-12 08:52:01 -05:00
rzuasti d95803c773 Moved package.nix to package-backend.nix to make room for frontend
package
2026-02-12 08:43:24 -05:00
rzuasti 9c5755a2d9 Adding fancy stuff to events list 2026-02-11 18:31:12 -05:00
rzuasti f927294194 Added flutter front-end 2026-02-11 14:07:27 -05:00
rzuasti 39a58983d6 Moved backend code into its own subfolder 2026-02-10 14:03:33 -05:00
rzuasti a86efc015a Changed send/receive logic to be sequential rather than parallel (its
faster)
2026-01-28 17:57:59 -05:00
rzuasti f72bf06801 Update README.md 2026-01-28 13:54:52 -05:00
rzuasti 62e753b4f1 Update README.md 2026-01-28 13:54:06 -05:00
rzuasti ef8fbbde5b Update README.md 2026-01-28 13:53:45 -05:00
rzuasti 36353f7e40 Update README.md 2026-01-28 13:52:43 -05:00
rzuasti 0f0a8fdfdb Update README.md 2026-01-28 13:48:04 -05:00
rzuasti 787a723316 Update README.md 2026-01-28 13:45:37 -05:00
rzuasti 4c976334b4 Adjusted docker-compose sample 2026-01-28 13:22:10 -05:00
rzuasti 75e6c6d3a0 Merge branch 'main' of github.com:rzuasti/oott 2026-01-28 12:12:32 -05:00
rzuasti eb3d745376 Working docker image generation and docker compose sample 2026-01-28 12:12:06 -05:00
rzuasti 344711bad8 Update README.md 2026-01-27 18:43:51 -05:00
rzuasti 40a0269fdb Update README.md 2026-01-27 18:38:09 -05:00
rzuasti 111dd2a0fb Update README.md 2026-01-27 18:29:47 -05:00
rzuasti 732c9222b3 Update README.md 2026-01-27 18:27:17 -05:00
rzuasti d54e467238 Update packet_send_receive.rs 2026-01-27 14:23:42 -05:00
rzuasti 07e50be134 Adjusted debug for packet sender 2026-01-27 14:19:02 -05:00
rzuasti 62d5418ae9 Reduced the number of sleeps in sending and receiving packets during an
ARP scan
2026-01-27 14:03:03 -05:00
rzuasti c8b902f90b Moved mac vendor database to be compiled in the binary 2026-01-27 13:40:08 -05:00
rzuasti b1184d16ee Added all configuration parameters to nix flake 2026-01-27 13:13:02 -05:00
rzuasti 9a2227bb07 Adding clap for parameter parsing 2026-01-27 09:21:00 -05:00
rzuasti f7513c329e Update oott-service.nix 2026-01-27 08:38:40 -05:00
rzuasti d64d8eb898 Update oott-service.nix 2026-01-26 11:39:27 -05:00
rzuasti 335807e0f3 Changed config file generation in the nix flake to YAML 2026-01-26 11:02:39 -05:00
rzuasti 3b776462b0 trying generation of config file (oott.toml) 2026-01-26 10:41:00 -05:00
rzuasti 04b6e1553a Update oott-service.nix 2026-01-25 11:42:39 -05:00
rzuasti 4abd754695 trying 2026-01-25 11:35:31 -05:00
rzuasti ab11cdaadb Fixed module name 2026-01-25 11:30:51 -05:00
rzuasti 9b40bb2da8 Added config.toml to speed up compilation 2026-01-25 11:10:07 -05:00
rzuasti a4e4ee6a50 grouped nix config in a folder 2026-01-25 11:01:11 -05:00
rzuasti 18ecdc2f2a Trying to fix flake 2026-01-25 10:37:47 -05:00
rzuasti ea9bc7f13d Update flake.nix 2026-01-24 19:26:09 -05:00
rzuasti 4f346631e9 Update flake.nix 2026-01-24 19:11:00 -05:00
rzuasti 878273903a Update flake.nix 2026-01-24 15:30:10 -05:00
rzuasti 3ed514b203 Testing flake 2026-01-24 15:20:59 -05:00
rzuasti b8f1f8c516 Working on flake support 2026-01-24 14:43:46 -05:00
rzuasti 3651ae53e3 Working on flake support 2026-01-24 12:28:22 -05:00
rzuasti ff6d685126 Adding Nix flake support 2026-01-24 12:16:24 -05:00
rzuasti 3b828ed170 Adjusted config 2026-01-24 10:46:51 -05:00
rzuasti 92c1cd5553 Added notifications for devices that came back online after a
configurable time period
2026-01-23 15:08:58 -05:00
rzuasti ca1674243e Using duration-string for configuration of timings. Much nicer. 2026-01-23 14:35:28 -05:00
rzuasti ecfc56bc30 Added main loop to run continuously and relevant configuration options 2026-01-23 11:00:24 -05:00
rzuasti 77f996c591 Added pushover notification sending 2026-01-23 10:25:45 -05:00
rzuasti 8e8460afbc Created config sample (get real config out of git). Changed
mac_vendor_finder to use lazy_static instead of LazyLock
2026-01-23 08:28:56 -05:00
rzuasti c5f4ffa33c Added todo 2026-01-21 15:37:01 -05:00
rzuasti 37ba7abc30 Moved config to project file and lazy loaded it 2026-01-21 15:36:27 -05:00
rzuasti 5fbd63df5f Added events module 2026-01-21 11:09:58 -05:00
rzuasti f094ecd1ff Added insertion and deletion of found devices to database 2026-01-21 10:30:37 -05:00
rzuasti f9c625c7d7 Error handling, overall code review and moved mac vendors database to a
static instance
2026-01-20 14:28:31 -05:00
Ricardo Zuasti 9d5e3eaaf1 Added database support and initial structure creation 2026-01-19 19:03:08 -05:00
rzuasti bb18f8a51e Added MAC vendor lookup 2026-01-19 12:45:52 -05:00
Ricardo Zuasti 245a6ec2ef Removed compiler warnings (unused imports) 2026-01-18 12:04:13 -05:00
Ricardo Zuasti 5a7d504905 Parallel execution and timeouts working. Receiver returning found
devices properly.
2026-01-15 11:19:33 -05:00
rzuasti dda430556b Timeouts working, environment based config. Still have to figure out
running sender and receiver in parallel
2026-01-14 09:53:01 -05:00
Ricardo Zuasti e08d257687 Still working on timeouts 2026-01-13 19:26:28 -05:00
rzuasti a034481ca5 Testing timeout 2026-01-13 16:31:39 -05:00
rzuasti 0738307f87 Trying to add timeouts to send and receive 2026-01-13 15:48:17 -05:00
rzuasti ca2a90d49c Reimplementing ARP 2026-01-13 12:57:14 -05:00
rzuasti 0a1e8d6171 Restructured modules, integrated async-arp 2026-01-13 11:01:53 -05:00
Ricardo Zuasti c4984c4ed2 First commit 2026-01-13 07:57:47 -05:00