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
Robbie Antenesse
ff1eb25252
Upgrade dependencies; Remove unused dependencies & source
2019-09-18 12:56:58 -06:00
Robbie Antenesse
1cb78f5db2
Add fastify-postgres with example connection
2019-09-17 15:10:46 -06:00
Robbie Antenesse
4a5dbd4091
Only return books in searches; Add CTA if no search results
2019-09-16 13:10:05 -06:00
Robbie Antenesse
8a4d68b026
Add header to show search term
2019-09-16 12:49:48 -06:00
Robbie Antenesse
c4f657b7b4
Instantiate just one I18n instance to pass to all controllers
2019-09-16 12:49:47 -06:00
Robbie Antenesse
eda8e83d07
Add missing I18n in viewManager
2019-09-16 12:49:47 -06:00
Robbie Antenesse
7deda1c835
Fix modal isOpen not updating correctly
2019-09-16 12:49:47 -06:00
Robbie Antenesse
d3d35bacc8
Use quick search from Inventaire for default search
2019-09-16 12:49:31 -06:00
Robbie Antenesse
c7aaf56d08
Change LICENSE to GNU AGPLv3 from GPLv3
2019-09-15 17:16:02 -06:00
Robbie Antenesse
8781327c61
First attempt at pgsql database table creation
2019-09-15 17:08:16 -06:00
Robbie Antenesse
8721810bc6
Add create account form to /login view
2019-09-13 23:34:58 -06:00
Robbie Antenesse
2ea0015e70
Move loggedOut page text to i18n locale file
2019-09-13 23:25:10 -06:00
Robbie Antenesse
e991169075
Add a way for reviewCard to get i18n
2019-09-13 22:46:18 -06:00
Robbie Antenesse
2b95ab81c1
Start designing logged out home view
2019-09-13 22:43:07 -06:00
Robbie Antenesse
6dab28e7a5
Add isLoggedIn to Choo app state
2019-09-13 22:41:16 -06:00
Robbie Antenesse
496787263b
Update picnic customizations; Fix pseudo tooltip
2019-09-13 22:40:23 -06:00
Robbie Antenesse
ea87184bb3
Move reviewCard to a partial for reusability
2019-09-13 21:54:17 -06:00
Robbie Antenesse
71516dd833
Split parcel prod bundle into own npm script
2019-09-13 20:23:54 -06:00
Robbie Antenesse
596721fb2d
Add a questionable way to save Choo state for the session
2019-09-12 17:30:56 -06:00
Robbie Antenesse
0ebafaeb9e
Load covers in resultDetails sorted by publish date
2019-09-12 17:11:12 -06:00
Robbie Antenesse
46d3da8010
Use updated book details api in frontend
2019-09-12 12:41:10 -06:00