Commit Graph

116 Commits

Author SHA1 Message Date
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
df76385d6a Added previously-ignored Vue build files
Those globs will git you...
2018-03-10 22:22:10 -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
9cdb505bb1 Renamed RequestListItem to RequestCard 2017-10-23 21:22:29 -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
a1ce40ee83 Get version from package.json (#10)
...that was easy.
2017-10-19 15:11:51 -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
4db6d98011 Implemented auth renewal (#5) 2017-10-08 21:58:36 -05:00
Daniel J. Summers
3acec3dc25 Misc tweaks
- Updated SFCs per Vue Style Guide guidelines
- Added green gradient to header and off-white background color to body
- Changed DJS Consulting to Bit Badger Solutions in the docs
2017-10-08 19:19:24 -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
834eaf2416 Conversion to cards (bootstrap) complete
Also:
- Multi-line requests now preserve line breaks (#7)
- Have one instance of vue-toast; access via $parent for main page
components, pass to child components
2017-09-30 12:36:57 -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
1e1afa9d89 Changed history icon (towards #8)
Also changed headings to h2 so "Caveats" isn't the page title
2017-09-26 07:09:38 -05:00
Daniel J. Summers
63d25ec57e 0.8.1 2017-09-25 22:48:54 -05:00
Daniel J. Summers
f085c47c6e Moved trim to blur event (#6) 2017-09-25 22:41:01 -05:00
Daniel J. Summers
3a0ac7ce97 Added "date from now" component (#4)
Also moved page title component to new "common" component directory
2017-09-25 22:34:25 -05:00
Daniel J. Summers
51ec649e7f Renamed Dashboard to Journal (#2) 2017-09-25 21:28:08 -05:00
Daniel J. Summers
647e79c59c Added "Docs" link to menu 2017-09-24 21:59:31 -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
8cb58cc2d3 View full request works
Also:
- moved setup stuff out of the `data` function and into the `created`
function
- standardized Vue component coding styles
- reworded transition text on log on and journal loading templates
2017-09-23 10:53:40 -05:00
Daniel J. Summers
396e53b1a6 Editing request works
A "mark prayed" update uses the same fields, so we only have one "update
request" action now
2017-09-22 23:30:23 -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
196db30cc5 +Vuex +ElementUI +Pug
- Log on now works, storing user profile in vuex state
- Templates in Pug = awesome
2017-08-05 22:48:09 -05:00
Daniel J. Summers
338f11d1ab Vue it is
I know, the 18th front-end change; I have a feeling there won't be a
19th.
2017-07-29 16:28:27 -05:00
Daniel J. Summers
632f06ac5f removed files
attempting commit with fewer files; these are the ones removed
2017-07-29 16:27:48 -05:00
Daniel J. Summers
03fd1d0a18 test commit 2017-07-29 16:26:00 -05:00
Daniel J. Summers
0ce5824c55 Another attempt at Auth0 Lock w/ Aurelia 2017-06-01 21:31:25 -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
Daniel J. Summers
e522ab1ae1 Moved Suave app to /api directory 2017-05-04 21:45:30 -05:00
Daniel J. Summers
d5635ef37c Added request list by user
Input for what will be the main journal view
2017-04-30 21:16:45 -05:00
Daniel J. Summers
c98c7bd5bf Sign in works and redirects!
Sign in now goes from Auth0, back to the app, which gets the user ID
from the response and redirects to the journal page.  Woot!
2017-04-24 20:49:28 -05:00
Daniel J. Summers
d34302aa52 -elm +suave -rethink +ef-core -.json +fsproj +auth0
- Decided to go with straight Suave "Experimental" views (for now)
- Created EF Core entity model (our data is pretty structured, and
PostgreSQL (target DB) supports max-length strings)
- Added Auth0 lock
- Converted to 1.0 tooling
2017-04-21 07:49:46 -05:00
Daniel J. Summers
da6910e055 Brought in data model / dependencies
A combination of the previous effort plus a few things swiped from
Quatro
2016-12-12 22:29:05 -06:00
Daniel J. Summers
864777a831 Page titles working but not quite right
The on page title is correct; the title bar lags one click behind.
2016-12-11 22:29:16 -06:00
Daniel J. Summers
1e8b34e548 Removed compiled app from source control 2016-12-11 19:42:20 -06:00
Daniel J. Summers
bde45c8554 Switched to Elm / Suave
It's like F# on the client side - sweet!
2016-12-11 19:39:06 -06:00
Daniel J. Summers
d3a80b9ceb Authentication, take 2; take 3 forthcoming...
*cue sad trombone*
2016-10-07 22:07:46 -05:00
Daniel J. Summers
c0237e1433 Authentication / Authorization
Who are you, anyway?
2016-09-27 22:19:43 -05:00
Daniel J. Summers
5235e5a5db Moved to ASP.NET Core MVC
Thanks to an outstanding presentation from Enrico Sada, I was inspired
to use ASP.NET Core MVC for this F# project
2016-09-26 21:19:04 -05:00
Daniel J. Summers
1251c28a89 More plumbing
App now starts with a very basic layout
2016-09-23 22:06:14 -05:00
Daniel J. Summers
6bd90c854d Data environment
Created infrastructure for data environment and security configuration
2016-09-22 21:43:39 -05:00