Commit Graph

51 Commits

Author SHA1 Message Date
Daniel J. Summers
d3aff4a110 Add/Edit request works
No longer a modal (#20)
2018-08-17 20:59:57 -05:00
Daniel J. Summers
96f2f2f7e0 Added recurrence SQL; updated API
API should support recurrence (#16); also updated for new F# match! statement
2018-08-14 21:01:21 -05:00
Daniel J. Summers
2bf3bc4865 Working toward hosting
Seeing different behavior when this is sitting behind nginx; working toward a solution
2018-08-07 08:17:56 -05:00
Daniel J. Summers
8becb8cea4
F# API (#18)
- API is now F# / Giraffe / EF Core
- Snoozed requests are complete #17
- Updated doc links in preparation for transfer to Bit Badger Solutions organization's repository
2018-08-06 21:21:28 -05:00
Daniel J. Summers
d0ea7cf3c6 Added "snoozedUntil" column to API
Also added a "snooze" route (working on #17 )
2018-06-18 20:25:00 -05:00
Daniel J. Summers
650bda6bc5 Version bump; remove logging 2018-05-27 19:46:55 -05:00
Daniel J. Summers
91daa387cb Misc final tweaks
- Handle notes being nil
- Distinguish between request not found, error retrieving notes, and no notes for present request
- Minor UI tweaks to use smart quotes
2018-05-27 19:26:52 -05:00
Daniel J. Summers
d57e2e863a Remove JavaScript API files 2018-05-27 18:02:31 -05:00
Daniel J. Summers
9de713fc6a Fixed "answered" API error 2018-05-27 18:00:37 -05:00
Daniel J. Summers
79ced40470 Most API features now work
- Switched from Vestigo to ozzo-routing in a misguided attempt to get JSON to parse as a form; not switching back at this point
- Fixed error with request SQL for individual requests
- Parsing JSON body works now

Still need to handle "no rows found" for journal/answered lists; this isn't an error for new users
2018-05-26 22:18:26 -05:00
Daniel J. Summers
bad430fc37 GDPR update; version bump
- added Terms of Service and Privacy Policy
- updated deps
- fixed vue-bootstrap warning
2018-05-26 11:59:30 -05:00
Daniel J. Summers
2b6f7c63d0 route handler translation 2018-03-31 22:13:26 -05:00
Daniel J. Summers
419c181eff Authorization works (yay)
The journal page once again loads as it should; now to migrate the remaining routes
2018-03-31 19:58:44 -05:00
Daniel J. Summers
9637b38a3f Static files now served; auth is broken 2018-03-24 13:37:18 -05:00
Daniel J. Summers
59b5574b16 Switched to vestigo router
Also moved db reference to data module; it now starts, but doesn't serve index.html for root yet
2018-03-22 22:11:38 -05:00
Daniel J. Summers
b248f7ca7f minor tweaks towards JWTs
time box expired before completing this; one of these days...
2018-03-20 20:26:02 -05:00
Daniel J. Summers
8d84bdb2e6 app/API build adjustments; get user from ctx 2018-03-12 23:14:16 -05:00
Daniel J. Summers
b7406bd827 More work on auth and req ctx 2018-03-12 21:44:43 -05:00
Daniel J. Summers
d92ac4430e Split routes, router, and handlers into different files 2018-03-11 22:38:13 -05:00
Daniel J. Summers
0cde2fb6db Merge updated deps/build files 2018-03-11 20:57:25 -05:00
Daniel J. Summers
943492f175 Updated Auth0 and other deps #13; version bump 2018-03-10 22:50:39 -06:00
Daniel J. Summers
8c801ea49f Interim commit; started work on routes 2018-01-18 11:29:01 -06:00
Daniel J. Summers
0807aa300a Data and structures converted 2018-01-17 23:00:26 -06:00
Daniel J. Summers
8d8d112fff Updated front page text (#12) 2017-10-23 22:04:34 -05:00
Daniel J. Summers
6c4061e07d Updated docs/README; version bump
So long alpha - hello, beta!
2017-10-23 21:40:58 -05:00
Daniel J. Summers
40d765fb92 Journal is more mobile-friendly (#11)
Also:
- Updated deps
- Ensure the date is wrapped as a whole on the Answered Request page
2017-10-23 21:19:39 -05:00
Daniel J. Summers
56dee71377 Updated dox for #9; version bump 2017-10-23 05:53:30 -05:00
Daniel J. Summers
3c3f0a7981 Finished answered request layout (#9)
Also:
- rearranged API calls to be in alphabetical order (except the bearer
stuff at the top)
- modified the API base URL and Auth0 renewal URLs to be derived from
the browser's location (localhost / prod both work now with no change)
2017-10-22 22:50:26 -05:00
Daniel J. Summers
b8f1708012 Version bump
also updated e-mail address
2017-10-09 21:42:45 -05:00
Daniel J. Summers
69811cbf54 Added Notes feature (#8)
Also:
- Moved buttons to top of request
- Tweaked layout of full request view
- Added code to ensure that users may only add history and notes to
their own requests; security FTW!
2017-10-09 21:39:40 -05:00
Daniel J. Summers
6f49a61822 Version bump (v0.8.3) 2017-10-08 22:07:49 -05:00
Daniel J. Summers
8055c34f7c Prep for 0.8.2 release
- Adds ability to view answered requests (#3)
- Fixes multi-line request display (#7)
- Docs updated for 0.8.2
2017-10-01 16:15:56 -05:00
Daniel J. Summers
e0d27a708d First cut of answered requests
- changed import to only bring in church rather than the entire lodash
package
- changed webpack config to exclude moment's locale
- set the bearer token on load if the user is authenticated
2017-09-30 16:12:14 -05:00
Daniel J. Summers
ef88964cd0 interim commit with lots of stuff
- conversion from Element UI to Bootstrap 4 in progress (smaller, more
flexible)
- added Font Awesome for fonts, vue-toast for notifications
- added common components to main.js and out of other components
- some work on pulling answered requests (#3), added icon for notes (#8)
2017-09-28 21:59:40 -05:00
Daniel J. Summers
63d25ec57e 0.8.1 2017-09-25 22:48:54 -05:00
Daniel J. Summers
fe4c1b606e Rearranged API files so Babel could process them
The way they were, Babel was also processing the node_modules folder
2017-09-23 22:08:30 -05:00
Daniel J. Summers
ec08bfbc74 messages, answered requests
- Created view for journal query so we can use the calculated fields in
a where clause
- Changed journal ordering from newest-first to oldest-first; that way,
clicking "prayed" at the top, one right after the other, will let the
user pray through their list with minimal distraction
- Answered requests now drop off the active journal (still need to write
the ability to review answered requests)
- All the activities now send messages to the user, so they have
confirmation that their action has completed
2017-09-23 21:28:43 -05:00
Daniel J. Summers
181dc5ea63 "Mark Prayed" works 2017-09-22 22:30:00 -05:00
Daniel J. Summers
c703d717d8 Wrote API calls for history updates
Also switched app pkg mgt to yarn
2017-09-22 19:27:23 -05:00
Daniel J. Summers
a6b5149b34 Adding request now totally works
Also:
- added progress bar, integrated with journal loading
- updated Vue app dependencies
2017-09-21 21:31:59 -05:00
Daniel J. Summers
015645aa86 Adding request works (mostly)
Everything works except adding the new request back to the list; this
proof of concept is a go, and will be merged to master
2017-09-21 18:45:06 -05:00
Daniel J. Summers
794a365f08 Many changes
- Express -> Koa
- Babel for transforming 'import' into 'require'
- SQL done for adding request; just need to get the app to call it
2017-09-19 22:20:17 -05:00
Daniel J. Summers
270ac45e8c Create tables/indexes on startup
Ready to create a request
2017-09-16 13:16:02 -05:00
Daniel J. Summers
fc02112295 Looks promising
The proof of concept has been proven
2017-09-15 22:38:45 -05:00
Daniel J. Summers
a10e4ded48 Suave serves Vue files
- Only send the 404 for /api routes; otherwise, serve files from
wwwroot, and send index.html if the path doesn't exist, so Vue can
handle it
- Minor build file tweaks
2017-09-14 07:01:28 -05:00
Daniel J. Summers
2ed01b8d5d Updated dependencies
New Vue files and upgraded API project to .NET Core 2
2017-09-10 22:33:43 -05:00
Daniel J. Summers
15947abcbf Proof of concept on API calls...
...remains unproven.
2017-08-06 23:17:08 -05:00
Daniel J. Summers
5a7a74c167 mostly housekeeping
- App - some package clean-up
- API - removed commented code that is not needed, postured for JSON
outputs
- Build - modified the scripts to build Vue into API's wwwroot folder,
which will get copied on publish; adjusted FAKE task dependencies to be
more granular
2017-08-06 15:42:09 -05:00
Daniel J. Summers
55cf47af18 -Paket -TutorialFiles
Removed Paket files (could not get reliable builds; we may revisit once
.NET core has stablizied); removed extraneous tutorial files; currently
blocked getting Auth0 Lock to load from within Aurelia app
2017-05-31 22:22:08 -05:00
Daniel J. Summers
b0b20df36d +Aurelia +Paket +FAKE
Interim commit; there may still be leftover files from the Aurelia
tutorial
2017-05-20 09:45:48 -05:00