-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate with frontend web app #79
Commits on Nov 23, 2020
-
Added POST users/check API endpoint for check on username availability
Added the corresponding requests API endpoint test file for POST users/check API endpoint Resolved a bug in the requests API endpoint test file file for POST users API endpoint Refactored ALLOWED_USERNAME_REGEX to utils/config.js Amended Allowed username regex to only allow alphanumeric characters (uppercase letter not included as all letters will be converted lowercase letters when saved to database) and underscores Amended POST users API endpoint logic to add custom claims (username field) to firebase Authentication
Configuration menu - View commit details
-
Copy full SHA for 9a762a7 - Browse repository at this point
Copy the full SHA 9a762a7View commit details -
Removed username minlength of 6 constraint from user model
Removed users.test.js test scenario where username provided is less than 6 characters in line with the removal of username minlength of 6 from user model Added additional test scenario in users.test.js when no Authorization token is provided
Configuration menu - View commit details
-
Copy full SHA for 6462563 - Browse repository at this point
Copy the full SHA 6462563View commit details
Commits on Nov 24, 2020
-
Added corresponding test cases for users/check API endpoints in users…
….test.js Refactored checkUsernameValidity as a separate method in utils/usersUtils.js for improved cohesion Resolved naming error with regards to the naming of the controller method for users/check API endpoints introduced in the previous commit
Configuration menu - View commit details
-
Copy full SHA for b033ba5 - Browse repository at this point
Copy the full SHA b033ba5View commit details -
Aded additional check involving username in database for verifyAuthTo…
…ken method when checkDatabase argument is set to true Amended test/utils/databaseSetup.js setBackendDefaultUser method with the additional custom claims (username) for firebase Authentication (Part of frontend Integration) Amended error message for missing and invalid authentication token with consistent message
Configuration menu - View commit details
-
Copy full SHA for 8e7881b - Browse repository at this point
Copy the full SHA 8e7881bView commit details
Commits on Nov 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7aefd3b - Browse repository at this point
Copy the full SHA 7aefd3bView commit details
Commits on Nov 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 98664ff - Browse repository at this point
Copy the full SHA 98664ffView commit details
Commits on Dec 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for dded707 - Browse repository at this point
Copy the full SHA dded707View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5050afe - Browse repository at this point
Copy the full SHA 5050afeView commit details
Commits on Jul 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6788910 - Browse repository at this point
Copy the full SHA 6788910View commit details
Commits on Jul 27, 2021
-
Added
/api/search/software
API endpoint to allow for searching of s……oftware in database Added test search software API endpoint `search_software.rest` file This is to prepare for usage in frontend typeahead search bar Note: This does not use `mongodb` build in `text search` (https://docs.mongodb.com/manual/text-search/) due to lack of support for partial Potential Alternative is to use `Mongodb Atlas Search` (https://www.mongodb.com/atlas/search and https://www.mongodb.com/blog/post/mongodb-atlas-search-now-ga) but it will mean require depending on a third party service. Another alternative is to use `elasticsearch`
Configuration menu - View commit details
-
Copy full SHA for 6a9a120 - Browse repository at this point
Copy the full SHA 6a9a120View commit details -
Merge pull request #208 from learnsoftwaredevelopment/add-search-api-…
…endpoint Added `/api/search/software` API endpoint to allow for searching of software in database
Configuration menu - View commit details
-
Copy full SHA for 0ac7ec2 - Browse repository at this point
Copy the full SHA 0ac7ec2View commit details
Commits on Jul 28, 2021
-
Added support for
page
andper_page
query params in `api/search/s……oftware` API endpoint Amended `search_software.rest` test API endpoint with `page` and `per_page` query params This is to prepare for pagination support in the frontend
Configuration menu - View commit details
-
Copy full SHA for 230c084 - Browse repository at this point
Copy the full SHA 230c084View commit details
Commits on Jul 29, 2021
-
Amended
software
model by changingdevelopedBy
andmaintainedBy
…… fields from reference to `user` to an array of string
Configuration menu - View commit details
-
Copy full SHA for c3a6442 - Browse repository at this point
Copy the full SHA c3a6442View commit details -
Merge pull request #210 from learnsoftwaredevelopment/amend-software-…
…model Amended `software` model by changing `developedBy` and `maintainedBy` fields from reference to `user` to an array of `String`
Configuration menu - View commit details
-
Copy full SHA for dec51f8 - Browse repository at this point
Copy the full SHA dec51f8View commit details -
Merge pull request #211 from learnsoftwaredevelopment/improved-search…
…-software-api-endpoint Improved `search` software API endpoint
Configuration menu - View commit details
-
Copy full SHA for f9330d6 - Browse repository at this point
Copy the full SHA f9330d6View commit details
Commits on Jul 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c83bc19 - Browse repository at this point
Copy the full SHA c83bc19View commit details
Commits on Jul 31, 2021
-
Improved
software
model withshortDescription
,pricing
, `videoL……ink` and `twitterUsername` fields Note: `videoLink` field validates if the video link is either `youtube.com` or `vimeo.com` as the plan is to initially support only youtube and vimeo as video hosting websites Amended `softwareTestUtils.js` to match the updated `software` model Amended `post_software.rest` test API endpoint file to match the updated `software` model
Configuration menu - View commit details
-
Copy full SHA for 967a532 - Browse repository at this point
Copy the full SHA 967a532View commit details -
Merge pull request #212 from learnsoftwaredevelopment/improve-softwar…
…e-model Improved `software` model with `shortDescription`, `pricing`, `videoLink` and `twitterUsername` fields
Configuration menu - View commit details
-
Copy full SHA for e0eba38 - Browse repository at this point
Copy the full SHA e0eba38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 686a229 - Browse repository at this point
Copy the full SHA 686a229View commit details -
Merge pull request #213 from learnsoftwaredevelopment/add-missing-def…
…ault-software-model Added missing `default` field in `software` model `twitterUsername` field
Configuration menu - View commit details
-
Copy full SHA for 6f71655 - Browse repository at this point
Copy the full SHA 6f71655View commit details
Commits on Aug 1, 2021
-
Resolved a bug in
POST
software
API endpoint where thesoftware
…… model `meta` properties are not updated Amended `patch_softwareById.rest` test API endpoint file to `PATCH` HTTP method from `PUT` HTTP method
Configuration menu - View commit details
-
Copy full SHA for 086f0d4 - Browse repository at this point
Copy the full SHA 086f0d4View commit details -
Merge pull request #214 from learnsoftwaredevelopment/resolved-bug-in…
…-post-software-api Resolved a bug in `POST` `software` API endpoint where the `software` model `meta` properties are not updated
Configuration menu - View commit details
-
Copy full SHA for 1e47f48 - Browse repository at this point
Copy the full SHA 1e47f48View commit details
Commits on Aug 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2d71cf3 - Browse repository at this point
Copy the full SHA 2d71cf3View commit details -
Added
api/software/added/recent
andapi/software/updates/recent
A……PI endpoints Added `get_recentAddedSoftware.rest` and `get_recentUpdatedSoftware.rest` test API endpoints files This is to prepare for frontend integration (listing of recently added and updated software) Refactored `search_software.rest` test API endpoint file to `search` directory for consistency
Configuration menu - View commit details
-
Copy full SHA for 8be5d1b - Browse repository at this point
Copy the full SHA 8be5d1bView commit details -
Merge pull request #217 from learnsoftwaredevelopment/add-new-recent-…
…software-api-endpoints Added `api/software/added/recent` and `api/software/updates/recent` API endpoints
Configuration menu - View commit details
-
Copy full SHA for e1aa8a0 - Browse repository at this point
Copy the full SHA e1aa8a0View commit details
Commits on Aug 10, 2021
-
Resolved a bug where previously video host with subdomain
www.` was …
…not part of whitelist Refactored code with `ALLOWED_VIDEO_HOST_WHITELIST` now available in `utils/config.js` for easier configuration (Improved code quality)
Configuration menu - View commit details
-
Copy full SHA for 5023ac7 - Browse repository at this point
Copy the full SHA 5023ac7View commit details -
Merge pull request #223 from learnsoftwaredevelopment/resolved-video-…
…host-whitelist-bug Resolved a bug where previously video host with subdomain `www.` was not part of whitelist
Configuration menu - View commit details
-
Copy full SHA for 259eb8f - Browse repository at this point
Copy the full SHA 259eb8fView commit details
Commits on Oct 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 304d419 - Browse repository at this point
Copy the full SHA 304d419View commit details -
Removed testing nodejs 16 in GitHub Actions as the focus is on Nodejs…
… LTS which is currently Nodejs 14
Configuration menu - View commit details
-
Copy full SHA for 5c5065c - Browse repository at this point
Copy the full SHA 5c5065cView commit details
Commits on Oct 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dfead43 - Browse repository at this point
Copy the full SHA dfead43View commit details -
Amended GitHub Actions to new nodejs LTS Version
16
npm upgrade to version `8`
Configuration menu - View commit details
-
Copy full SHA for 61961ac - Browse repository at this point
Copy the full SHA 61961acView commit details -
Merge pull request #269 from learnsoftwaredevelopment/amended-node-js…
…-to-version-16-lts Amended GitHub Actions to new nodejs LTS Version `16`
Configuration menu - View commit details
-
Copy full SHA for 8ce4e0b - Browse repository at this point
Copy the full SHA 8ce4e0bView commit details