Robbie Antenesse
875e6a75c8
Fix fastify onRequest hook
2021-04-21 21:41:18 -06:00
Robbie Antenesse
523e43d26d
Opt out of Google Chrome tracking everything you do
...
Add `Permissions-Policy: interest-cohort=()` header to all responses.
2021-04-15 21:27:57 +00:00
Robbie Antenesse
0e956f6c67
Make request.language default to 'en'
...
Add i18n.pages.default using 'en' locale
2020-09-20 17:23:08 -06:00
Robbie Antenesse
707c22dac7
Fix CSP to allow content from required domains
2020-08-24 11:29:43 -06:00
Robbie Antenesse
e94cb890f5
Move fastify decorators to before start
2020-06-14 13:20:27 -06:00
Robbie Antenesse
9f736d4731
Set a cookie when locales are accessed
...
Allows server to know language with each request
2020-02-24 11:29:07 -07:00
Robbie Antenesse
071e1e6586
Update sequelize & DB setup:
...
- Split models & associations into their own files
- Update columns and requirements
- Create PermissionLevel model & add to relevant models
2020-01-14 15:47:44 -07:00
Robbie Antenesse
986346cd41
Restructure fastify plugins for better dep control:
...
- Copy Nodemailer and Sequelize fastify plugins to project.
- Upgrade dependencies with yarn upgrade
- Fix break from Sequelize 5 removing Model.find() in AccountController
2020-01-04 19:13:56 -07:00
Robbie Antenesse
b9378a2356
Move getSequelizeModels to sequelize folder
2019-12-07 22:41:13 -07:00
Robbie Antenesse
a2d113562e
Add shelf api route with create action
2019-12-01 15:31:34 -07:00
Robbie Antenesse
0f9757f2c2
Put i18n on server so it can free up frontend memory
2019-10-27 23:59:56 -06:00
Robbie Antenesse
040b967725
Add create and confirm account emails in backend
2019-10-03 13:04:17 -06:00
Robbie Antenesse
fd84706104
Start adding support for email confirmation with nodemailer
2019-09-27 18:40:39 -06:00
Robbie Antenesse
d213ce6f75
Add sequelize models to fastify object; Validate tokens better
2019-09-27 18:00:15 -06:00
Robbie Antenesse
49ab635660
Switch to fastify-sequelize for db connection
...
Started to try to set up setup-database.js script using Sequelize.
We'll see how that goes...
2019-09-18 17:15:06 -06:00
Robbie Antenesse
1cb78f5db2
Add fastify-postgres with example connection
2019-09-17 15:10:46 -06:00
Robbie Antenesse
0ebafaeb9e
Load covers in resultDetails sorted by publish date
2019-09-12 17:11:12 -06:00
Robbie Antenesse
bd749fa796
Add Search endpoint to API; Use Inventaire API for search
2019-09-09 14:19:22 -06:00
Robbie Antenesse
a9747ec510
Redo Fastify routing to work with Choo's routing
2019-09-08 21:56:16 -06:00
Robbie Antenesse
8d9e0e8f9f
Remove some unneeded fastify plugins; fix some typos
2019-09-08 21:54:43 -06:00
Robbie Antenesse
0934fea892
Reorganize the folder structure entirely
2019-09-08 13:44:01 -06:00