Skip to content

Conversation

@Marcel2603
Copy link

Issue #, if available:

Description of changes:

Checklist

  • 👋 I have added unit tests for all code changes.
  • 👋 I have run the unit tests, and all unit tests have passed.
  • ⚠️ This pull request might incur a breaking change.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

thisismana and others added 30 commits January 8, 2021 08:22
* Reimplemented logger and logger unit test suite to not interfere with global side effects of the other giant monolithic test suits by awslabs

* Refactored logger calls to provide usefull information and document what the provided data is about

* Refactored logger calls in image request module to provide usefull information and document what the provided data is about

* Refactored logger calls in image handler module to provide usefull information and document what the provided data is about
also pushing all docker tags.
* Implemented logging with the right JSON format with exception logging and additional info about the cloudwatch event.

* Reverted pretest script
* field names
* log levels: removed "log"
* removed logging of binary image data
* some more cache headers: 4xx will cache for a while, 5xx will not
* bumped to latest, merged some updates from upstream

* - adapted for new key pattern `/$YEAR/$MONTH/$MEDIA_ID/` ignoring file name and always using `image.$EXT`
- roundCrops
- improved local development by fixing invoke.js and making the logger env-aware

* - adapted for new key pattern `/$YEAR/$MONTH/$MEDIA_ID/` ignoring file name and always using `image.$EXT`
- roundCrops
- improved local development by fixing invoke.js and making the logger env-aware
thisismana and others added 23 commits October 5, 2023 12:44
* migrate image-handler from javascript to typescript and update Readme

* feat: variant deployment

* feat: prod deployment

* fixed test

* fix: build command

* bump lambda to nodejs 20 runtime

---------

Co-authored-by: Matthias Naber <[email protected]>
* cleanup/typings

* cleanup/typings

* removed obsolete and redundant code

- default mapping
- custom mapping
- recognition
* chore: bumped Lambda modules

* aligned Makefile with other multi-func projects

* bumped gh actions
Also:
- formatting with prettier
- bumped some dependencies
* pulled remote solution

- removed recognition
- removed dynamic buckets
- removed secretsmanager
- remove signed URLs

* updated gh action

- removed old thumbhash
- using arm runner

* finalizing touches

* pr feedback (merging package.json)

* - added proper logging
- fixed tests
- handle expired images

* fine-tuned logging

* added editorconfig

* added `error` to logged fields

* added `immutable` to cache control

* go live preparations
…on (#412)

- added `/filters:thumbhash()/` to trigger this feature
prior to this fix this was a `http/5xx`. now this should yield in a `http/400 bad request`.
@Marcel2603 Marcel2603 closed this Sep 6, 2024
@Marcel2603 Marcel2603 deleted the buzz-5367-adding-cache-control branch September 6, 2024 09:26
@Marcel2603 Marcel2603 restored the buzz-5367-adding-cache-control branch September 6, 2024 09:28
@Marcel2603 Marcel2603 changed the title Buzz 5367 adding cache control deleted Sep 6, 2024
@dorrikh dorrikh requested a review from simonkrol September 6, 2024 16:43
@Marcel2603
Copy link
Author

I created a wrong pr. Would be great if you can delete it. Sorry for that mistake...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants