24.15.0 - 2026-02-19
✨ Added
- Add logging for setting http header options by @bjoernricks in 5279562
- Improve logging for listen address and port by @bjoernricks in 713a5ef
- Add module for CLI argument parsing by @bjoernricks in 3730ac4
- Add client watch interval to the gsad settings by @bjoernricks in 0007516
- Add defines for sane defaults of gsad settings by @bjoernricks in #302
- Allow to set logging config filename via CLI argument by @bjoernricks in fba7c28
- Allow to set pid filename via CLI argument by @bjoernricks in f16b503
- Add debug logging for the cleanup handler by @bjoernricks in 1608ba5
- Add CLI argument to set static content directory by @bjoernricks in #307
- Add url property to gsad_connection_info by @bjoernricks in e6605a3
- Add docstrings for more http handler functions by @bjoernricks in 30f932d
- Unit tests for MHD param handlers by @timopollmeier in df26026
- Allow to create method handler from handler functions by @bjoernricks in #321
- New get_timezones GMP command by @timopollmeier in e0e4485
- Add new CLI argument for running gsad with API only by @bjoernricks in 9accfdd
- Add a setting for enabling the API only mode of gsad by @bjoernricks in 7e4f49c
- Options for HTTP Cross-Origin Policy headers by @timopollmeier in 9a30eb8
- Add Cross-Origin header args and settings tests by @timopollmeier in 01b25b8
👷 Changed
- Print which gsad arguments are used in the container by @bjoernricks in c3779b3
- Improve debugging output for settings by @bjoernricks in d776646
- Improve evaluating gsad arguments in main function by @bjoernricks in 3a775c1
- Improve message in gsad main function during startup by @bjoernricks in #301
- Move all settings into a struct by @bjoernricks in 0c02275
- Prefix all setting functions with gsad_settings by @bjoernricks in 8793846
- Change gsad_settings function to expect a gsad_settings_t pointer by @bjoernricks in 7535260
- Store global settings in a pointer by @bjoernricks in 3ebc9f2
- Deactivate client watch feature by default by @bjoernricks in #305
- Improve logging message in main function by @bjoernricks in d83d842
- Use consistent names for gsad_args_ functions by @bjoernricks in #309
- Hide gsad args internals behind getter functions by @bjoernricks in c277f12
- Remove edit_resource by @mattmundell in 6084db3
- Remove params_filename by @mattmundell in c554dad
- Remove import_report_gmp by @mattmundell in f6a8bf0
- Extract gsad connection info into an own C module by @bjoernricks in 2119006
- Move params functions into params modules by @bjoernricks in 3d1d083
- Add enum value for Other method types then GET and POST by @bjoernricks in 508d851
- Make param mhd function names consistent by @bjoernricks in a7dd5ee
- Remove url from http handler and use connection info instead by @bjoernricks in ea9486b
- Use consistent function names for adding headers by @bjoernricks in 8764425
- Use consistent named for http functions by @bjoernricks in 6d8f3fe
- Make create file content response function name consistent by @bjoernricks in 87a5456
- Update handler functions to expect handler has first argument by @bjoernricks in c6dc353
- Split http handler into several separate modules by @bjoernricks in 024e67d
- Change http handler to get the next handler and the handler data by @bjoernricks in 2fbc30b
- Move the method handler/router into an own C module by @bjoernricks in ff39ba9
- Move handle request functions into own header by @bjoernricks in 80e6209
- Rename handle_request to gsad_http_handle_request by @bjoernricks in 12c14aa
- Consistent handler init and cleanup function naming by @bjoernricks in 29079f4
- Improve init and cleanup of logging by @bjoernricks in #318
- Use consistent naming for http_ by @bjoernricks in #319
- Update routing by matching urls to get/post handlers only by @bjoernricks in 5048995
- Update function name in comment after recent renaming. by @cfi-gb in #323
🐛 Bug Fixes
- Fix deactivating http headers by @bjoernricks in #295
- Fix compile warnings by initializing variables for create oci image target by @bjoernricks in #298
- Fix and improve logging in main function by @bjoernricks in 786d8e0
- Free logging configuration after all logs have been issued by @bjoernricks in #308
- Improve handling of HTTP params without value by @timopollmeier in 10b3e95
- Destroy test suites at end of tests by @timopollmeier in 8363971
- Check if filename in param is already set by @timopollmeier in 4dd9f7f
- Rename of http_connection_t to gsad_http_connection_t for may_brotli func by @ozgen in #322
- Fix compiler warning about uninitialized usage of log_config by @bjoernricks in #327
- Set correct default pid file to
/run/gsad/gsad.pidby @bjoernricks in 432c178
🔥 Removed
- Remove unused http only variable from base module by @bjoernricks in #303
- Remove guest username and password settings by @bjoernricks in e1df6d0
- Remove unimplemented gsad_settings_set_label_name function by @bjoernricks in 0190ab5
- Remove unused unix_pid by @bjoernricks in #310
- Remove method argument from http handler functions by @bjoernricks in b09e6e2
- Remove redirect variable from gsad_connection_info by @bjoernricks in f214bb1
- Remove obsolete reconstruct_url function by @bjoernricks in dfe8ebf
- Remove duplicate definition of handle_gmp_post by @bjoernricks in defb0cd
- Remove chunk_offset param from params_append_bin by @timopollmeier in c7a7c8a
- Remove duplicate definition of the GSAD_RUN_DIR in cmake by @bjoernricks in #326
📚 Documentation
- Document requirements for building tests by @qha in #296
- Add docstring for gsad_http_method_handler type by @bjoernricks in #317
- Add docstrings for all http handler functions by @bjoernricks in b08b0b8
- Document gsad_http_url_handler_set_leaf function by @bjoernricks in #325
✅ Testing
- Add cmake makro to add unit tests easily by @bjoernricks in 2df7cb2
- Add tests for gsad settings and document all functions by @bjoernricks in 056041a
- Add doc strings and tests for gsad_connection_info by @bjoernricks in d41279b
- Add tests for http url handler by @bjoernricks in #316
🔧 Miscellaneous
- Require CMake 3.18 and update copyright year in README by @bjoernricks in #294
- Use AGPLv3+ for all cmake files by @bjoernricks in #299
- Allow to several object files to add_unit_test cmake macro by @bjoernricks in 1d8bd89