Commit Graph

10 Commits

Author SHA1 Message Date
rapturate
42f50c9e9a 1) First draft of the TUI functionality
2) Added env_reader functions (env.hpp and env.cpp)
3) Program looks for a .env on startup and creates one based on user input if not found.
4) Refactored log_parsing and ip_to_geo to use the global env variables for parsing and ip lookup from the local .mmdb database
5) CMakeLists.txt is now cross platform functional
6) Added various cross platform checks for creating .env variables
2026-06-09 14:29:42 -04:00
rapturate
bdaf8451a0 added location info into the log_parsing output. Now when the access logs are parsed, the geo_data is now included in the p_logs print function for each entry. 2026-06-08 14:25:11 -04:00
rapturate
c3e23b719e Final change before I take a break 2026-06-03 17:04:52 -04:00
rapturate
03a826a71c some additional reconfigurations and what not. 2026-06-03 16:58:14 -04:00
rapturate
19898abd57 Created a .gitignore 2026-06-03 15:59:12 -04:00
rapturate
1dab3ac7b7 Created my ip_to_geo .cpp and .hpp files and code.
Additionally, I added a .env file and started using
cmake build styles rather than g++ for more efficient
compiling and testing.
 Changes to be committed:
	new file:   .env
	new file:   CMakeLists.txt
	new file:   build/CMakeCache.txt
	new file:   build/CMakeFiles/4.3.2/CMakeCXXCompiler.cmake
	new file:   build/CMakeFiles/4.3.2/CMakeDetermineCompilerABI_CXX.bin
	new file:   build/CMakeFiles/4.3.2/CMakeSystem.cmake
	new file:   build/CMakeFiles/4.3.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
	new file:   build/CMakeFiles/4.3.2/CompilerIdCXX/a.out
	new file:   build/CMakeFiles/CMakeConfigureLog.yaml
	new file:   build/CMakeFiles/CMakeDirectoryInformation.cmake
	new file:   build/CMakeFiles/InstallScripts.json
	new file:   build/CMakeFiles/Makefile.cmake
	new file:   build/CMakeFiles/Makefile2
	new file:   build/CMakeFiles/TargetDirectories.txt
	new file:   build/CMakeFiles/cmake.check_cache
	new file:   build/CMakeFiles/parselog_cli.dir/DependInfo.cmake
	new file:   build/CMakeFiles/parselog_cli.dir/build.make
	new file:   build/CMakeFiles/parselog_cli.dir/cmake_clean.cmake
	new file:   build/CMakeFiles/parselog_cli.dir/compiler_depend.internal
	new file:   build/CMakeFiles/parselog_cli.dir/compiler_depend.make
	new file:   build/CMakeFiles/parselog_cli.dir/compiler_depend.ts
	new file:   build/CMakeFiles/parselog_cli.dir/depend.make
	new file:   build/CMakeFiles/parselog_cli.dir/flags.make
	new file:   build/CMakeFiles/parselog_cli.dir/ip_to_geo/ip_to_geo.cpp.o
	new file:   build/CMakeFiles/parselog_cli.dir/ip_to_geo/ip_to_geo.cpp.o.d
	new file:   build/CMakeFiles/parselog_cli.dir/link.d
	new file:   build/CMakeFiles/parselog_cli.dir/link.txt
	new file:   build/CMakeFiles/parselog_cli.dir/log_parsing/log_parsing.cpp.o
	new file:   build/CMakeFiles/parselog_cli.dir/log_parsing/log_parsing.cpp.o.d
	new file:   build/CMakeFiles/parselog_cli.dir/main.cpp.o
	new file:   build/CMakeFiles/parselog_cli.dir/main.cpp.o.d
	new file:   build/CMakeFiles/parselog_cli.dir/progress.make
	new file:   build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP.cpp.o
	new file:   build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP.cpp.o.d
	new file:   build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP_error_category.cpp.o
	new file:   build/CMakeFiles/parselog_cli.dir/third_party/src/GeoLite2PP_error_category.cpp.o.d
	new file:   build/CMakeFiles/progress.marks
	new file:   build/Makefile
	new file:   build/cmake_install.cmake
	new file:   build/compile_commands.json
	new file:   build/parselog_cli
	new file:   compile_commands.json
	new file:   data/GeoLite2-City.mmdb
	modified:   ip_to_geo/ip_to_geo.cpp
	modified:   ip_to_geo/ip_to_geo.hpp
	modified:   main.cpp
	deleted:    parselog_cli.exe
	deleted:    test
	renamed:    ip_to_geo/GeoLite2PP.hpp -> third_party/include/GeoLite2PP.hpp
	new file:   third_party/include/GeoLite2PP_error_category.hpp
	new file:   third_party/include/GeoLite2PP_version.hpp
	new file:   third_party/include/maxminddb.h
	new file:   third_party/include/maxminddb_config.h
	new file:   third_party/lib/libmaxminddb.a
	new file:   third_party/src/GeoLite2PP.cpp
	new file:   third_party/src/GeoLite2PP_error_category.cpp
2026-06-03 15:22:59 -04:00
46e8048e14 Wrote the print_logs funciton for debugging and changed the location of the test .log files 2026-05-29 10:45:11 -04:00
rapturate
9ce211c572 Added documentation comments using Doxygen, changed the file structure back to the original, and wrote the getter functions for the individual entries. 2026-05-28 12:33:46 -04:00
rapturate
fc67b944d7 Refactoring to a better file structure 2026-05-22 16:17:14 -04:00
rapturate
3ecc1a9176 Initial commit 2026-05-22 13:23:44 -04:00