Skip to content

Latest commit

 

History

History
408 lines (207 loc) · 15.4 KB

File metadata and controls

408 lines (207 loc) · 15.4 KB

1 Apr 2020

  • Fixed Server Middleware - Needs to be included in Nuxt config file

  • Tweaked Bible Retrieval to text that I need [Need to remember to change token]

  • Added date file plug in. Realized need to re-compile using webpack for some reason for it to kick in

  • Worked on cards and theme displays for Vuetify and made it LIGHT

  • Practiced passing props into components

9 Apr 2020

  • Figured out the struture of the app (journal is list of QT journal entries, auth is for authenticated related pages, plans is for creation of plans without dabbling in code)

  • Authentication needs to be done on the server side, passing of email and pwd need to be encrypted over transfer

  • Token needs to be passed back to client and stored in a cookie

  • Journal entries need to be identified by the clients id (email)

  • User needs to have plan tied to his information for nuxtserverinit display

  • Having problems with Client to Server Post calls for authentication (no token returned, bug, invalid signature after returned) - solved async issue

  • Logging for server side needs to be sorted out (solved server middleware issue) - can't figure out why logging is not coming out from express starting page. - solved sequence of loading. Server middle ware only loaded after express is started.

11 Apr 2020

  • Figuring out Express structure - In asynchronous programming callbacks are alot more predictable then in "return" statements

  • Implementing Cookies for storage of token and expiration time on client side (done, but may not want to use cookies)

  • Implementing logout from app / expired or manual - done

12 Apr 2020

  • Implemented logout checks on client side, so that journal and plans are not accessible when not logged in

  • Figure out how to include token in headers for API calls to server - Will always be included in post to server

15 Apr 2020

  • Check if Client is still authenticated? But need to figure out which pages need logout function. Seems to be called excessively.

  • Implemented Logout for app. Done.

  • When logged in, login should be disabled completed.

  • Re-did naming convention of REST service for service to indicate resources properly in url (proper naming conventions)

  • Get services don't carry payload on send. Post requests can carry payload.

  • Logging in is done. Starting to work on plans and layout of how plans page should be

17 Apr 2020

  • Did comparison between MongoDB and Cloud Firestore. Mongo is cheaper in the long run. Also more widely used.

  • Able to enter plan data into MongoDB (decided against firebase)

  • created structure for plan creation and listing. Form is not completed yet.

27 Apr 2020

  • Still working on plan creation, still considering how data should be stored if month changes happen.

2 May 2020

  • Done temp store for plan creation

  • Figuring out how to make passage picker component

21 May 2020

  • Working on Bible Passages. Not sure why V-Model doesn't work as it should, seems to toggle. Did a workaround.

  • Currently working on multiple chapter selects and verse selects for choosing bible passages.

23 May 2020

  • Working on getting passage picker dialog box to the correct size

5 June 2020

  • What is v-slot:activator?

7 June 2020

  • Done most of the PassagePicker, only that edit-dialog component doesn't get re-rendered. Need to make stepper start at 1 again.
  • PassagePicker done
  • Working on Storing Passage into mongoDB.

10 June 2020

  • Storing passage completed
  • Tweaked superscript for verses in Passage Component
  • Fine tuned log in process with feedback for failed login
  • Need to do RUD of CRUD for Plans (Need to figure out if reading needs to retrieve all plans if too many? what to do?)

13 June 2020

  • Made a default passage (Provers [day of the month]) display if plan is not carefully defined.

14 June 2020

  • A "thrown" error is causing some problems. Comes after response is sent back to client. - Solved. Not to return anything else after await

  • Created Users database for data that relates to the User

  • Created Model for QTEntry and Users

  • If Vuex Store module wants to access another stores action, can use {root : true}

  • Figuring out how to get getters from another module. - solved

  • Asynchronous issue, need to figure out how to send back chosenPlanID.

19 June 2020

  • Chosen plan retrieved and store in vuex

  • Front page passage should update dynamically

  • Working on listing saved plans, need to set up route on the server side.

20 June 2020

  • plans can now be read and listed

  • Not sure why reload of plans page makes it show json instead - solved

  • Need to sort passages in plans according to date - solved

  • Plan can now be deleted

  • Solved date UTC problem, causing some bugs to current month in focus

21 June 2020

  • need to check owner of plan for update and deletion - solved

  • plan selected is now shown in plan list and is dynamically changeable

  • Solved on reload problem, handled with cookie with storage of id

  • Starting work on the journal entries part of the app

  • When page is reloaded, userID is null, because only token and expiry are around long term. - solved

3 July 2020

  • Started working on updating plans (updating of plans now possible)

  • sorted out a bug that stores wrong plan data (objects need to be refreshed correctly)

24 July 2020

  • Thinking about the fields needed for the journal entry. (Date, Passage in Mention, Title, Thoughts, Application / Implication)

5 Aug 2020

  • Trying to understand flexbox and grid system so as to align items better. Horizontal uses justify while verticle alignment uses alignment

  • v-cols need to come right after v-rows

  • any column modification for v-col using md lg or xl is like a breakpoint where things change from the original "cols" prop. By default is span by 12

  • Started working on JournalStore, stopped at defining rest in store.

  • How should the journal entry data be represented in firebase for most efficient use case? Store 10 last entries in user collection while having the rest of the entries in qtEntries collection? How about the instance where a user wants to see even earlier entries? Get all? How to sort and get?

7 Aug 2020

  • The reason why we do referencing in "qtEntries" documents is because if we keep an ever increasing "user" document, we might hit a document size limit in the future. It is also not so efficient because whenever a document is changed, it has to create one and not just increase the size of the exisiting document to accomodate the new data.

  • Pagination can have 2 types. Seeking or Cursor based. Seeking becomes inefficient over time because you still need to iterate through each document to skip to page of need. Cursor based ones store additional data of the previous document and therefore won't hit such limitations over time.

  • Why am I using email as my foreign key rather then id and does it actually matter? It doesn't actually matter since email login is unique anyway. (ensure unique)

  • When I am creating journal entries, I am using ISO timing so that sorting can happen correctly on MongoDB.

  • Removed qtEntries array from mongoose User Schema. Tested seems working. May need to be more thorough in testing.

  • Starting to work on retreival of qt entries.

8 Aug 2020

  • Finished creating new QT Entries

  • Spotted some problems with 201 return status for plans. - done (no problem, just have to be careful which Axio method I'm using)

14 Aug 2020

  • Solved some ES6 issues with VSCode. Backticks keep changing to unicode. Solved by installing ESLint extension, setting default auto formatter and reloading.

  • Thinking through layout of journal entries.

  • Seems like mx-auto did most of the trick

  • Started working on QTJournalEditor and templating the form. Need to finish up individual journal edits as well as use template in entry creation.

19 Aug 2020

  • Finished QTJournalEditor Component and solved some minor visual padding issues.

  • Used QTJournalEditor Component on journal entry creation

  • Reversing journal entry display

  • Working on Journal entry update and deletion - done

  • There is a difference in the received response status for Axios $put $post and delete. Appearantly on delete it returns as an object and not a status string.

  • Add number of characters in the thoughts box in the journal entry page - done

  • Remove entries stored in store upon logout - Has intermitten errors that keep it cycling....

  • Looking through authentication again to see if I can verify token through Firebase Admin SDK. Is Axios using https?

21 Aug 2020

22 Aug 2020

  • Starting working on checking tokens. Done with journal entries. Figuring out plan deletion at the moment. Some concurrency issue.

24 Aug 2020

28 Aug 2020

29 Aug 2020

  • Setting up environment variables.

2 Sep 2020

  • Tidying up notes for open sourcing Project.

  • Implementing encryption between client and server communication and server encryption to other servers - done

  • Server side needs to check cookie for user validity / need to check token for every modification of backend - done

  • If logged in show write journal button on front page, if logged out show log in to write or something like that - done

9 Sep 2020

23 Sep 2020

  • Updating some npm and environment packages

  • Updating meta information and fav icon

  • Worked on validation for journal entries and plans

  • Working on getting confirmation for deletion and updating of journals and plans

  • When not logged in, redirection to login page instead of error

25 Sep 2020

26 Sep 2020

  • Setting up cache for ESVApi

  • Solving bug when plan is updated, home page is not refreshed. or if a person logs in, page is not immediately refreshed. Reactivity? - done

22 Mar 2021

  • Updated node packages for latest vulnerabilities

  • Fixed wrong Psalm chapters

29 Mar 2021

  • Removed restrictions for length of Plan Name

  • Removed unnecessary ReadMes

22 May 2021

6 Aug 2021

9 Feb 2022

  • Fixing security vulnerabilities

  • Checking if MongoDB needs to be updated - done

  • Need to remove awaits when await and callbacks are used at the same time (wrong usage)

  • Prettier has some issues with parser (?) - Reverted to ESLint

11 Feb 2022

  • Finishing up QT entries copy and pasting

  • Fixed bugs related to refreshing pages with passages / selected plans

26 Sep 2022

31 Oct 2022

  • Fixed formatting bug when text comes with brackets. Front end may need to identify versions moving forward to deal with formatting issues. Or push editing of text to backend and front end only displays. (for consideration)