* strikeout pledged items
* strikethrough in legacy card mode
* added by user fix in card view
* add strike through for non url items
* make wishlish name language specific
* only strike when not your list
* fix: Move cookie-parser to app layer
Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
* fix: remove cookies that shouldn't be set
Not quite sure if it's possible to check the path of a cookie, but
either way, we should remove old "bad" cookies that are set in people's
browsers. This cleanup code should assist in that work.
Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
---------
Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
* fix: Check if productData is set first
Throughout my testing and debugging, it was possible for productData to
be "undefined". To prevent errors, it's best to check for it's existence
first.
Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
* fix: avoid saving wishlist when there's no change
Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
---------
Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
* move all source code to src/
* replace express response patch with middleware
* fix readdir not looking in src
* fix stray redirect
* add base to manifest
* remove secret.txt from src/config/secret
* add src/config/secret/secret.txt to gitignore
* Expose port 80 for the christmas-community service
If the app is ran with docker-compose, the express server (port 80) should be open as well
* Change default ports to 3000 and 8080 for Express and DB respectively
Also modified the initial config to include a default DB port if not provided in the env
* Forward only port 80 and don't expose database by default in the config file
Database is still being exposed through the Dockerfile, as it already was
* Restore formatting for config/index.js
* Prevent admin from creating users with empty username
A error message shows when the admin tries to submit the form if the validation fails.
The error message was translated to Czech, Deutsch, English, Spanish and French, which are the currently compatible languages in the website.
* Move username validation logic to server side