Commit Graph

125 Commits

Author SHA1 Message Date
Robbie Antenesse 3c40673774 Improve I18n.translate to enable nested ui.json 2019-12-01 13:33:20 -07:00
Robbie Antenesse 1458e936ea Naming & Association corrections:
Correct naming of Account and Shelf Controllers;
Add hasMany associations to db models
2019-12-01 11:03:55 -07:00
Robbie Antenesse 53662c0a60 Create default shelves in db on account creation 2019-11-30 18:02:24 -07:00
Robbie Antenesse da2425a73d Update sequelize models to add foreign keys 2019-11-30 17:25:55 -07:00
Robbie Antenesse b5ef4a9bb5 Add an about page view that laods from backend 2019-10-28 00:02:45 -06:00
Robbie Antenesse f76c715aba Use a loading spinner instead of "Loading..." 2019-10-28 00:02:19 -06:00
Robbie Antenesse 4670e046bb Update frontend to fetch locale on load 2019-10-28 00:01:27 -06: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 2ccee904da Improve login/create account forms 2019-10-26 11:48:24 -06:00
Robbie Antenesse 78658483a6 Add missing i18n phrases for account management 2019-10-26 11:48:08 -06:00
Robbie Antenesse 24b36045ff Fix display name requirements 2019-10-26 11:47:15 -06:00
Robbie Antenesse 5aeee0bc01 Add language picker to footer 2019-10-17 22:15:31 -06:00
Robbie Antenesse 4498ed002a Validate token on initial load 2019-10-17 21:35:32 -06:00
Robbie Antenesse cd0baa7605 Handle log out
It's a little funky because of Choo, but it works right
2019-10-17 21:20:36 -06:00
Robbie Antenesse d8f0de9ec4 Update global header based on loggedIn status 2019-10-17 21:10:15 -06:00
Robbie Antenesse 43a8c006a1 Add loggedIn view for home page 2019-10-17 20:56:57 -06:00
Robbie Antenesse bcde0c6dc7 Fix login errors and redirect to home after success 2019-10-17 20:37:16 -06:00
Robbie Antenesse 929d1ca928 Add login validation without testing 2019-10-08 12:38:09 -06:00
Robbie Antenesse 73980aeb93 Set up front end create account form 2019-10-06 17:58:49 -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 7ed4148b37 Enable forcing sync in setup-database.js
Note that forcing the sync drops existing tables!
2019-09-27 18:33:13 -06:00
Robbie Antenesse 9b95bd9fb3 Add api locale text for create account 2019-09-27 18:14:32 -06:00
Robbie Antenesse 0cad0adfdb Add Account controller and create account endpoint 2019-09-27 18:14:01 -06:00
Robbie Antenesse d213ce6f75 Add sequelize models to fastify object; Validate tokens better 2019-09-27 18:00:15 -06:00
Robbie Antenesse 52f603ccc4 Add validation to User sequelize model 2019-09-27 17:02:45 -06:00
Robbie Antenesse 3634774ff9 Split out Sequelize models into its own module 2019-09-26 20:03:15 -06:00
Robbie Antenesse 6041f2818f Remove database_schema.sql now that Sequelize is set up 2019-09-26 18:58:16 -06:00
Robbie Antenesse 755b718e15 Update sqlite in setup-database.js 2019-09-26 18:52:34 -06:00
Robbie Antenesse bee0bd7f5e Update setup-database.js to create tables & relations 2019-09-26 18:45:02 -06:00
Robbie Antenesse 3f9ca67918 Fix Open Library search results de-duplication 2019-09-26 13:59:40 -06:00
Robbie Antenesse bf33ff8e3e Change wording for See Book Details 2019-09-26 13:58:21 -06:00
Robbie Antenesse c5e73242d0 Add localiation to search options 2019-09-26 13:25:25 -06:00
Robbie Antenesse ebc5c9b06d Remove BookBrainz option because there's no public API 2019-09-26 13:00:13 -06:00
Robbie Antenesse 1062b9b2fd Fix search not working on fresh load 2019-09-26 12:56:28 -06:00
Robbie Antenesse 40084c4072 Don't collapse search options 2019-09-26 12:25:36 -06:00
Robbie Antenesse e39fe52e65 Add search by Open Library 2019-09-26 12:22:58 -06:00
Robbie Antenesse abc1e10b3f Simplify search results to only use Works from inventaire 2019-09-26 10:51:52 -06:00
Robbie Antenesse 691f0c350b Make search options interactive 2019-09-26 10:42:49 -06:00
Robbie Antenesse 69563eb74e Add buttonClasses option to modals 2019-09-26 10:38:55 -06:00
Robbie Antenesse 9823ae8290 Make `hidden` attribute force display:none 2019-09-26 10:38:40 -06:00
Robbie Antenesse fe7305164b Add html for example of search options 2019-09-25 17:19:35 -06:00
Robbie Antenesse 63a25283af Change search page load and button behavior 2019-09-25 17:02:14 -06:00
Robbie Antenesse c22f632b53 Stop saving session state and move i18n to appState 2019-09-25 16:48:35 -06:00
Robbie Antenesse eab60fe159 Add search icon; move search bar to /search 2019-09-25 16:41:45 -06:00
Robbie Antenesse 8e9f74a901 Add a reload button to search 2019-09-25 14:41:56 -06:00
Robbie Antenesse dd131550dc Add reload icon 2019-09-25 14:25:36 -06:00
Robbie Antenesse 192a78188c Remove unused currentView state variable 2019-09-25 14:07:41 -06:00
Robbie Antenesse b093595f1d Restructure app initiation
- Split initialization steps into their own files.
- Use Choo routes instead of viewManager to properly set up 404
- Add styling for different colors of Picnic cards
2019-09-25 12:32:52 -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