Merged
Conversation
* Some initial tests * Fix Constants global. Add more cookie handling tests. * More utils tests * Update test strategy. Add coverage back in * Update readme * Update github action * fix linter warnings * update readme * copy .luacov to dockerfile * Add dev container config * Readme updates. Exclude luacov artifacts in gitignore --------- Co-authored-by: Richard Walkden <richard.walkden@netacea.com>
whiteh
added a commit
that referenced
this pull request
Mar 24, 2026
* Add support for custom cookie names * Kinesis ingest (#14) * Refactor and add v3 cookies (#17) * Add in custom cookie attributes (#18) * Extract cookie functions * Refactor hash building * Extract bToHex and hashMitataCookie * Refactor get_mitata_cookie * Rename addCookie to something more descriptive. Add some comments to work on flow * Unit tests for ingest only mode cookie handling * Move user_id generation * Rename addMitataCookie to make it clear it's minting a new cookie * Refactor ingest mitata cookie handling. Needs further work * Remove unused constants * Fix Kinesis ingest after refactor * Merge refactor branch into v2-v3-cookies - Refactor main lua_resty_netacea.lua with improved code structure - Add new constants module (lua_resty_netacea_constants.lua) - Replace old cookies module with v3 implementation - Add new ingest module for data processing - Add protector client module - Add utility functions in netacea_utils.lua - Update docker-compose and rockspec configuration * Update standard config layout * Add in custom cookie attributes * UPdate options setting for cookie attributes * Replace captcha cookie attributes * Update match dictionary values (#19) * Extract cookie functions * Refactor hash building * Extract bToHex and hashMitataCookie * Refactor get_mitata_cookie * Rename addCookie to something more descriptive. Add some comments to work on flow * Unit tests for ingest only mode cookie handling * Move user_id generation * Rename addMitataCookie to make it clear it's minting a new cookie * Refactor ingest mitata cookie handling. Needs further work * Remove unused constants * Fix Kinesis ingest after refactor * Merge refactor branch into v2-v3-cookies - Refactor main lua_resty_netacea.lua with improved code structure - Add new constants module (lua_resty_netacea_constants.lua) - Replace old cookies module with v3 implementation - Add new ingest module for data processing - Add protector client module - Add utility functions in netacea_utils.lua - Update docker-compose and rockspec configuration * Update standard config layout * Update match dictionary values * Add server_tokens off to server config * Unit tests for netacea_utils.lua * Unit tests for cookies_v3 * Standard userId format * Fix ingest. Set appropriate logging levels * Updates 2026-01 (#20) * Update container to Ubuntu 24.04(noble). Openresty 1.27.1.2. OpenSSL 3.4.3 * Update package version number * Dev environment setup and improvements (#21) * Some initial tests * Fix Constants global. Add more cookie handling tests. * More utils tests * Update test strategy. Add coverage back in * Update readme * Update github action * fix linter warnings * update readme * copy .luacov to dockerfile * Add dev container config * Readme updates. Exclude luacov artifacts in gitignore --------- Co-authored-by: Richard Walkden <richard.walkden@netacea.com> --------- Co-authored-by: Richard Walkden <richard.walkden@netacea.com> --------- Co-authored-by: Richard Walkden <richard.walkden@netacea.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update default container to run with openresty:xenial, at this point includes: