m-flak / matts Goto Github PK
View Code? Open in Web Editor NEW"Matthew's ATS" - Portfolio Project - A fully functional job board! Deploys to Azure and uses Azure Functions.
License: GNU Affero General Public License v3.0
"Matthew's ATS" - Portfolio Project - A fully functional job board! Deploys to Azure and uses Azure Functions.
License: GNU Affero General Public License v3.0
The Content Security Policy setup is not quite finished.
Backend:
Frontend:
I need to identify places where my frontend client code is doing things that my service should be doing, so that I can ensure clean separation between the two components.
IS_INTERVIEWING_FOR
needs to lose interviewDate
parameter. That belongs in the Applicant model. The field can simply be null in absence of relationship.Note: The db will need to be dropped 😄.
CREATE INDEX node_range_index_applicant_interviewingwith IF NOT EXISTS FOR (a:Applicant) ON (a.interviewingWith)
CREATE INDEX node_range_index_applicant_interviewdate IF NOT EXISTS FOR (a:Applicant) ON (a.interviewDate)
CREATE TEXT INDEX node_text_index_job_status IF NOT EXISTS FOR (j:Job) ON (j.status)
CREATE INDEX rel_range_index_hasappliedto_rejected IF NOT EXISTS FOR ()-[r:HAS_APPLIED_TO]-() ON (r.rejected)
interviewDate
from IS_INTERVIEWING_FOR
and assign/query it directly on an Applicant
.interviewDate
in Applicant
The Program.cs
file for project matts
is too long and messy.
Clean it up! 🛁
Azure Table Storage supports multiple entity types, see docs, so here are the entities that will be within the Tasks Table.
Represents a pending business task that end users need to perform.
Partition Key: Employer UUID or all
Row Key: <Unix Epoch in ms>_<nonce>
Represents any additional 'what' or 'whom' that are associated with a given task.
Partition Key: The parent task's row key.
Row Key: An integer: [0, ∞)
Prerequisites: CSP #17
Job Descriptions are lame and boring. Let's make them exciting by putting a rich text edit component on the Create Job page.
Found in: Staging
The APPLY NOW button will forever show 'Uploading...' if the upload fails.
There will be no failure toasts, button text changes, or anything at all to say that something didn't work.
There is either no failure handling code, or the failure handling code didn't catch this error because it was triggered by the misconfigured CSP, #22.
polyfills.97c30d9b562dcb24.js:1
Refused to connect to 'https://matthews-ats-funcs-staging.azurewebsites.net/api/resumes/upload?code=L-qga1hk20NND03eR97YGEgkrLs6xcMu41x57qrxRL3DAzFu1t_rkg==' because it violates the following Content Security Policy directive: "connect-src 'self'".
main.e785639af97d11a5.js:1
ERROR
pe {headers: oe, status: 0, statusText: 'Unknown Error', url: 'https://matthews-ats-funcs-staging.azurewebsites.net/api/resumes/upload', ok: false, …}
error
:
ProgressEvent
isTrusted
:
true
bubbles
:
false
cancelBubble
:
false
cancelable
:
false
composed
:
false
currentTarget
:
XMLHttpRequest {__zone_symbol__xhrSync: false, __zone_symbol__xhrURL: 'https://matthews-ats-funcs-staging.azurewebsites.n…k20NND03eR97YGEgkrLs6xcMu41x57qrxRL3DAzFu1t_rkg==', __zone_symbol__loadfalse: null, __zone_symbol__errorfalse: null, __zone_symbol__timeoutfalse: null, …}
defaultPrevented
:
false
eventPhase
:
0
lengthComputable
:
false
loaded
:
0
returnValue
:
true
srcElement
:
XMLHttpRequest {__zone_symbol__xhrSync: false, __zone_symbol__xhrURL: 'https://matthews-ats-funcs-staging.azurewebsites.n…k20NND03eR97YGEgkrLs6xcMu41x57qrxRL3DAzFu1t_rkg==', __zone_symbol__loadfalse: null, __zone_symbol__errorfalse: null, __zone_symbol__timeoutfalse: null, …}
target
:
XMLHttpRequest {__zone_symbol__xhrSync: false, __zone_symbol__xhrURL: 'https://matthews-ats-funcs-staging.azurewebsites.n…k20NND03eR97YGEgkrLs6xcMu41x57qrxRL3DAzFu1t_rkg==', __zone_symbol__loadfalse: null, __zone_symbol__errorfalse: null, __zone_symbol__timeoutfalse: null, …}
timeStamp
:
8452125.200000286
total
:
0
type
:
"error"
[[Prototype]]
:
ProgressEvent
headers
:
oe {normalizedNames: Map(0), lazyUpdate: null, headers: Map(0)}
message
:
"Http failure response for https://matthews-ats-funcs-staging.azurewebsites.net/api/resumes/upload: 0 Unknown Error"
name
:
"HttpErrorResponse"
ok
:
false
status
:
0
statusText
:
"Unknown Error"
url
:
"https://matthews-ats-funcs-staging.azurewebsites.net/api/resumes/upload"
[[Prototype]]
:
We
Reorganize & Cleanup Project Structure
So far, the LinkedIn OAuth integration only retrieves some profile information for a user. To enable SSO, this must happen:
sub
claim, pass it to the frontend for the "responsive sign up piece". It will become the username for SSO folks. The username/pw fields should "gray out".Rework User related code to enable SSO down-the-line:
The multi-container build is great for local but not for the cloud.
Use two separate container instances for deployments: 1) Application 2) Database
REFERENCE: How to Migrate to ASP.NET Core Types
I want my HTTP-triggered Azure Functions to use the Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore model over the built-in model, so that I may use the UnitTestEx library across-the-board to cleanly test my Azure Function code.
I want to develop a library that handles Neo4J Query Generation as part of a data access refactor, so that swathes of database-concerned code may be eliminated from the main matts application.
It seems the static analysis plugins weren't working properly. After doing #34, they are now working.
The login page does not have the toast container, but errors are being propagated to the toast service. When errors (if any) happen, they will not appear until logging in to the application.
Reproduce:
Found in: Staging
After successfully authenticating into LinkedIn, the popup will close before the profile data for the registration form is returned thru the websocket. The "Sign Up with LinkedIn" button is not a monitored button and there is indication of any kind that something's happening.
It took ~2s after the popup closed before the form populated. I could've started typing and then had my stuff replaced. 😅
SERVER_OAUTH_COMPLETED
or SERVER_OAUTH_ABORTFAIL
is received.Create the "Create Task" Function.
It will take the tasks from the Tasks Queue and create them into the Tasks table.
I want to replace the over-complicated DAO implementations with clean invocations to the classes being developed in #42 , so that my application remains maintainable as it grows in size.
There is much technical debt from first milestone code. Adopting GraphQL and refactoring the application will remediate much of the accumulated technical debt.
Create the "Query/Lookup Task" Function.
It will provide the ability to retrieve the Tasks from the Tasks table.
Found In: Staging
The _makeResumeDownloadLink()
function in the Job Page Component is creating the download link without the new /api/v1/
prefix, causing it to fail.
Remap routes in the backend api to follow the /api/v1/xxx
pattern.
Create the "Queue Task Create" Function.
After posting a new job, the user must refresh the window to see the new job.
/
- I don't remember if this also did the trick or not.Found in: Staging
In the Applicant Portal, any applicant will be unable to upload their resume because the CSP is blocking connections to the Azure Functions endpoints. See below as to why.
In the Employer Portal, any employer will be unable to download any resume because the CSP is blocking connections to the Azure Functions endpoints. See below as to why.
polyfills.97c30d9b562dcb24.js:1 Refused to connect to 'https://matthews-ats-funcs-staging.azurewebsites.net/api/resumes/upload?code=L-qga1hk20NND03eR97YGEgkrLs6xcMu41x57qrxRL3DAzFu1t_rkg==' because it violates the following Content Security Policy directive: "connect-src 'self'".
connect-src
directive of the CSP.Address the warnings raised by the code analyzers in the backend code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.