Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug with the files upload for the campaign expenses #587

Merged
merged 5 commits into from
Dec 18, 2023
Merged

Fix a bug with the files upload for the campaign expenses #587

merged 5 commits into from
Dec 18, 2023

Conversation

slavcho
Copy link
Contributor

@slavcho slavcho commented Dec 18, 2023

The file upload was crashing, because it could not detect the file extension.
The expense filenames are base64 encoded when they are uploaded.
This allows us to upload files with cyrilic names.
So we needed to decode the original name, before checking the extension.

slavcho and others added 5 commits November 1, 2023 22:00
The idea of the cache is to help in extreme scenarios when many requests are being fired.
One request every 2 seconds should be easy to handle by the backend.
…to upload files with cyrilic names. But it adds a bit of complexity in the backend.
Copy link

github-actions bot commented Dec 18, 2023

✅ Tests will run for this PR. Once they succeed it can be merged.

@slavcho slavcho added the run tests Allows running the tests workflows for forked repos label Dec 18, 2023
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Dec 18, 2023
@slavcho slavcho merged commit cf7c431 into podkrepi-bg:master Dec 18, 2023
10 of 11 checks passed
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.

2 participants