From 78649d6b5e1f7db721224d1af69d2961eb37b241 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Mon, 29 Apr 2024 16:03:42 +0100 Subject: [PATCH] Updated to the ui, and to the api, now marks items as read and applied --- .gitignore | 1 + Makefile | 40 +++++++++++++++++++++++++++++++++++++++ dist/build/bundle.css | 6 +++--- dist/build/bundle.css.map | 8 ++++---- dist/build/bundle.js | 2 +- docker/Dockerfile | 28 +++++++++++++++++++++++++++ grabber/grabber.go | 2 +- server.go | 38 +++++++++++++++++++++++++++++++++---- 8 files changed, 112 insertions(+), 13 deletions(-) create mode 100644 Makefile create mode 100644 docker/Dockerfile diff --git a/.gitignore b/.gitignore index 39d6fa7..b5f214c 100644 --- a/.gitignore +++ b/.gitignore @@ -179,3 +179,4 @@ fabric.properties # Android studio 3.1+ serialized cache file .idea/caches/build_file_checksums.ser +go-jobscraper \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c795731 --- /dev/null +++ b/Makefile @@ -0,0 +1,40 @@ +PROJECT = go-jobscraper + +VERSION=`git describe --tags` +BUILD=`date +%FT%T%z` + + +ECR_REPO = git.caliban.io/martin + +APP_IMAGE = $(ECR_REPO)/$(PROJECT):$(VERSION) + +NO_CACHE = true + +LDFLAGS=-ldflags "-w -s -X main.Version=${VERSION} -X main.Build=${BUILD}" + + +.PHONY: build +build: + #CC=/usr/local/musl/bin/musl-gcc go build --ldflags '-linkmode external -extldflags "-static"' server.go + GCO_ENABLED=0 GOOS=linux go build ${LDFLAGS} -o ${PROJECT} server.go + # go build ${LDFLAGS} -o ${PROJECT} server.go + +# docker build ./docker/. -t $(APP_IMAGE) --build-arg VERSION=$(VERSION) --no-cache=$(NO_CACHE) --compress=true + docker build --platform linux/amd64 --no-cache -force-rm --tag ${APP_IMAGE} --file ./docker/Dockerfile . + + +#push docker image to registry +.PHONY: push +push: build + docker push $(APP_IMAGE) + + +#push docker image to registry +.PHONY: run +run: build + docker run $(APP_IMAGE) + +ver: + @echo '$(VERSION)' + #echo $ERSION +.PHONY: ver \ No newline at end of file diff --git a/dist/build/bundle.css b/dist/build/bundle.css index a4b3e42..37b6303 100644 --- a/dist/build/bundle.css +++ b/dist/build/bundle.css @@ -1,6 +1,6 @@ -@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed");:root{--primary-color:#607D8B;--dark-color:#294c5d;--light-color:#CFD8DC;--danger-color:#dc3545;--success-color:#28a745;--highlight-color:#dcc894;--highlight-color2:#dca394;--navbar-height:4rem}*{box-sizing:border-box;margin:0;padding:0}body{font-family:'Roboto Condensed', sans-serif;font-size:1rem;line-height:1.6;background-color:#fff;color:#333;padding:0}a{color:var(--primary-color);text-decoration:none}a:hover{color:#666}a.active{color:var(--highlight-color)}ul{list-style:none}img{width:100%}.dataRow{cursor:pointer}.container{max-width:1100px;margin:auto;overflow:hidden;padding:0 2rem}.fullWidth{max-width:100vw;padding:0 0}.x-large{font-size:4rem;line-height:1.2;margin-bottom:1rem}.large{font-size:3rem;line-height:1.2;margin-bottom:1rem}.lead{font-size:1.5rem;margin-bottom:1rem}.text-center{text-align:center}.text-primary{color:var(--primary-color)}.text-dark{color:var(--dark-color)}.text-success{color:var(--success-color)}.text-danger{color:var(--danger-color)}.text-highlight{color:var(--highlight-color)}.text-highlight2{color:var(--highlight-color2)}.text-center{text-align:center}.text-right{text-align:right}.text-left{text-align:left}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-title,h3{font-weight:400;font-size:20px;line-height:28px}.text-subhead,h4{font-weight:400;font-size:16px;line-height:24px}.text-body2,h5{font-weight:500;font-size:14px;line-height:24px}.text-body1{font-weight:400;font-size:14px;line-height:20px}.text-caption{font-weight:400;font-size:12px;line-height:16px}.all-center{display:flex;flex-direction:column;width:100%;margin:auto;justify-content:center;align-items:center;text-align:center}.card{padding:1rem;border:#ccc 1px dotted;margin:0.7rem 0}.list{margin:0.5rem 0}.list li{padding-bottom:0.3rem}.p{padding:0.5rem}.p-1{padding:1rem}.p-2{padding:2rem}.p-3{padding:3rem}.py{padding:0.5rem 0}.py-1{padding:1rem 0}.py-2{padding:2rem 0}.py-3{padding:3rem 0}.m{margin:0.5rem}.m-1{margin:1rem}.mb-1{margin-bottom:.2rem !important}.ml-1{margin-left:.2rem !important}.mr-1{margin-right:.2rem !important}.mt-1{margin-top:.2rem !important}.mx-1{margin-left:1rem !important;margin-right:1rem !important}.m-2{margin:2rem}.mb-2{margin-bottom:.4rem !important}.ml-2{margin-left:.4rem !important}.mr-2{margin-right:.4rem !important}.mt-2{margin-top:.4rem !important}.mx-2{margin-left:2rem !important;margin-right:2rem !important}.m-3{margin:3rem}.my{margin:0.5rem 0}.my-1{margin:1rem 0}.my-2{margin:2rem 0}.my-3{margin:3rem 0}.grid{display:flex;display:-ms-flexbox;flex-wrap:wrap}.grid-1{display:grid;grid-template-columns:repeat(1, 1fr);grid-gap:1rem}.grid-2{display:grid;grid-template-columns:repeat(2, 1fr);grid-gap:1rem}.grid-3{display:grid;grid-template-columns:repeat(3, 1fr);grid-gap:1rem}.grid-4{display:grid;grid-template-columns:repeat(4, 1fr);grid-gap:1rem}.row{margin-left:-15px;margin-right:-15px}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.column,.columns{margin-left:4%}.column:first-child,.columns:first-child{margin-left:0}.col-1{width:8.33333%}.col-2{width:16.66667%}.col-3{width:25%}.col-4{width:33.33333%}.col-5{width:41.66667%}.col-6{width:50%}.col-7{width:58.33333%}.col-8{width:66.66667%}.col-9{width:75%}.col-10{width:83.33333%}.col-11{width:91.66667%}.col-12{width:100%;margin-left:0}.col-1-3rd{width:32.666667%}.col-2-3rd{width:65.3333333333%}.col-half{width:48%}.offset-1-col{margin-left:8.66666666667%}.offset-2-col{margin-left:17.3333333333%}.offset-3-col{margin-left:26%}.offset-4-col{margin-left:34.6666666667%}.offset-5-col{margin-left:43.3333333333%}.offset-6-col{margin-left:52%}.offset-7-col{margin-left:60.6666666667%}.offset-8-col{margin-left:69.3333333333%}.offset-9-col{margin-left:78.0%}.offset-10-col{margin-left:86.6666666667%}.offset-11-col{margin-left:95.3333333333%}.offset-1-3rd-col{margin-left:34.6666666667%}.offset-2-3rd-col{margin-left:69.3333333333%}.offset-half-col{margin-left:52%}.btn{display:inline-block;background:var(--light-color);color:#333;padding:0.4rem 1.3rem;font-size:1rem;border:none;cursor:pointer;margin-right:0.5rem;transition:opacity 0.2s ease-in;outline:none}.btn-link{background:none;padding:0;margin:0}.btn-block{display:block;width:100%}.btn-sm{font-size:0.8rem;padding:0.3rem 1rem;margin-right:0.2rem}.badge{display:inline-block;font-size:0.6rem;padding:0.1rem 0.4rem;text-align:center;margin:0.3rem;background:var(--light-color);color:#333;border-radius:3px}.alert{padding:0.7rem;margin:1rem 0;opacity:0.9;background:var(--light-color);color:#333}.btn-primary,.bg-primary,.badge-primary,.alert-primary{background:var(--primary-color);color:#fff}.btn-light,.bg-light,.badge-light,.alert-light{background:var(--light-color);color:#333}.btn-dark,.bg-dark,.badge-dark,.alert-dark{background:var(--dark-color);color:#fff}.btn-danger,.bg-danger,.badge-danger,.alert-danger{background:var(--danger-color);color:#fff}.btn-success,.bg-success,.badge-success,.alert-success{background:var(--success-color);color:#fff}.btn-white,.bg-white,.badge-white,.alert-white{background:#fff;color:#333;border:#ccc solid 1px}.btn:disabled{cursor:not-allowed;pointer-events:none;opacity:0.60;box-shadow:none}.btn:enabled:hover{opacity:0.8}.bg-light,.badge-light{border:#ccc solid 1px}.round-img{border-radius:50%}input{margin:.2rem 0}.form-text{display:block;margin-top:0.3rem;color:#888}input[type='text'],input[type='email'],input[type='password'],input[type='date'],select,textarea{display:block;width:100%;padding:0.1rem;border:1px solid #ccc}input[type='submit'],button{font:inherit}label,legend{display:block;margin-bottom:.1rem;font-weight:600}input[type="checkbox"],input[type="radio"]{display:inline}label > .label-body{display:inline-block;margin-left:.5rem;font-weight:normal;background-color:#dcc894}table th,table td{padding:1rem;text-align:left}table th{background:var(--light-color)}.navbar{position:fixed;display:flex;justify-content:space-between;align-items:center;padding:0.7rem 0rem;z-index:2;width:100%;opacity:0.9;margin-bottom:1rem;min-height:var(--navbar-height)}.navbar ul{display:flex}.navbar a{color:#fff;padding:0.45rem;margin:0 0.25rem}.navbar a:hover{color:var(--light-color)}.navbar .welcome span{margin-right:0.6rem}.navbar .navbar-section{align-items:center;display:flex;display:-ms-flexbox;flex:1 0 0;-ms-flex-align:center}.navbar .navbar-section:not(:first-child):last-child{justify-content:flex-end}.navbar .navbar-brand{font-size:125%;font-weight:bold}@media(max-width: 700px){.hide-sm{display:none}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.x-large{font-size:3rem}.large{font-size:2rem}.lead{font-size:1rem}.navbar{display:flex;text-align:center}.navbar ul{text-align:center;justify-content:center}}.table-responsive{display:block;overflow-x:auto;width:100%}.cardV2{border-radius:4px;background-color:#fff;box-shadow:0 0 4px 0 rgba(0, 0, 0, 0.14), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);min-width:0}table{max-width:100%;width:100%;border:0;margin-bottom:1rem;border-collapse:collapse}tr{border-top:1px solid #ccc}tbody tr:nth-of-type(odd){background-color:rgba(0, 0, 0, 0.04)}tbody td{border-top:1px solid #e1e1e1}hr{margin-top:2.2rem;margin-bottom:2rem;border-width:0;border-top:1px solid var(--dark-color)}.modalWindow{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.2);z-index:99999;opacity:0;pointer-events:none;text-align:center}.modalWindow:target{opacity:1;pointer-events:auto}.modalWindow > div{width:500px;position:relative;margin:10% auto;background:#fff}header + div.container{position:relative;top:var(--navbar-height);min-height:calc(100vh - var(--navbar-height));max-height:calc(100vh - var(--navbar-height))}.mui-dropdown{display:inline-block;position:relative}[data-mui-toggle="dropdown"]{outline:0}.mui-dropdown__menu{position:absolute;display:none;min-width:160px;padding:5px 3px;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#FFF;border-radius:2px;z-index:1;background-clip:padding-box;border:1px solid var(--light-color);box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.mui-dropdown__menu{border-top:1px solid rgba(0, 0, 0, 0.12);border-left:1px solid rgba(0, 0, 0, 0.12)}}@supports (-ms-ime-align: auto){.mui-dropdown__menu{border-top:1px solid rgba(0, 0, 0, 0.12);border-left:1px solid rgba(0, 0, 0, 0.12)}}.mui-dropdown__menu.mui--is-open{display:block}.mui-dropdown__menu > li > a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.429;color:rgba(0, 0, 0, 0.87);text-decoration:none;white-space:nowrap}.mui-dropdown__menu > li > a:hover,.mui-dropdown__menu > li > a:focus{text-decoration:none;color:rgba(0, 0, 0, 0.87);background-color:#EEEEEE}.mui-dropdown__menu > .mui--is-disabled > a,.mui-dropdown__menu > .mui--is-disabled > a:hover,.mui-dropdown__menu > .mui--is-disabled > a:focus{color:#EEEEEE}.mui-dropdown__menu > .mui--is-disabled > a:hover,.mui-dropdown__menu > .mui--is-disabled > a:focus{text-decoration:none;background-color:transparent;background-image:none;cursor:not-allowed}.mui-dropdown__menu--right{left:auto;right:0}.mui-dropdown--up > .mui-dropdown__menu{margin:0 0 2px}.mui-dropdown--right > .mui-dropdown__menu{margin:0 0 0 2px}.mui-dropdown--left > .mui-dropdown__menu{margin:0 2px 0 0}.alias{cursor:alias}.all-scroll{cursor:all-scroll}.auto{cursor:auto}.cell{cursor:cell}.context-menu{cursor:context-menu}.col-resize{cursor:col-resize}.copy{cursor:copy}.crosshair{cursor:crosshair}.default{cursor:default}.e-resize{cursor:e-resize}.ew-resize{cursor:ew-resize}.grab{cursor:grab}.grabbing{cursor:grabbing}.help{cursor:help}.move{cursor:move}.n-resize{cursor:n-resize}.ne-resize{cursor:ne-resize}.nesw-resize{cursor:nesw-resize}.ns-resize{cursor:ns-resize}.nw-resize{cursor:nw-resize}.nwse-resize{cursor:nwse-resize}.no-drop{cursor:no-drop}.none{cursor:none}.not-allowed{cursor:not-allowed}.pointer{cursor:pointer}.progress{cursor:progress}.row-resize{cursor:row-resize}.s-resize{cursor:s-resize}.se-resize{cursor:se-resize}.sw-resize{cursor:sw-resize}.text{cursor:text}.url{cursor:url(myBall.cur), auto}.w-resize{cursor:w-resize}.wait{cursor:wait}.zoom-in{cursor:zoom-in}.zoom-out{cursor:zoom-out}.hour27{border-left:10px solid #50b5dd}.hour26{border-left:10px solid #4eb2ce}.hour25{border-left:10px solid #4cb0be}.hour24{border-left:10px solid #49adaf}.hour23{border-left:10px solid #48ab9f}.hour22{border-left:10px solid #46a88e}.hour21{border-left:10px solid #44a67d}.hour20{border-left:10px solid #42a46c}.hour19{border-left:10px solid #66ad5e}.hour18{border-left:10px solid #87be40}.hour17{border-left:10px solid #b3cc1a}.hour16{border-left:10px solid #d6d51c}.hour15{border-left:10px solid #f9ca03}.hour14{border-left:10px solid #f6b503}.hour13{border-left:10px solid #f4961a}.hour12{border-left:10px solid #ec6e05}.hour11{border-left:10px solid #ea5a24}.hour10{border-left:10px solid #e4572b}.hour09{border-left:10px solid #e14a29}.hour08{border-left:10px solid #e04127}.hour07{border-left:10px solid #d9372b}.hour06{border-left:10px solid #d63129}.hour05{border-left:10px solid #d12b2b}.hour04{border-left:10px solid #cd282f}.hour03{border-left:10px solid #c82432}.hour02{border-left:10px solid #c32334}.hour01{border-left:10px solid #be2138}.hour00{border-left:10px solid #b9203b}.view{height:100vh} -.detail.svelte-r7f80i{width:100%;border-top:2px solid #e1e1e1;height:50vh;max-height:50vh;overflow-y:scroll}.detailHead.svelte-r7f80i{box-sizing:border-box;margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row.svelte-r7f80i{margin:1% 0;overflow:auto;display:flex}.applied.svelte-r7f80i{box-shadow:inset 0 0 5px 5px #f7de2f69} -.lister.svelte-15500pg{height:50vh;max-height:50vh;overflow-y:scroll}.hide.svelte-15500pg{display:none}.company.svelte-15500pg{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dataRow.svelte-15500pg{font-weight:bold;color:darkslategrey}.read.svelte-15500pg{font-weight:normal !important;color:dimgrey}.applied.svelte-15500pg{box-shadow:inset 0 0 5px 5px #f7de2f69}.dataRow.svelte-15500pg:hover{background-color:rgba(245, 238, 100, 0.54)}.small.svelte-15500pg{font-size:70%}.noOverflow.svelte-15500pg{white-space:nowrap;overflow:hidden;text-overflow:ellipsis} +@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed");:root{--primary-color:#607D8B;--dark-color:#294c5d;--light-color:#CFD8DC;--danger-color:#dc3545;--success-color:#28a745;--highlight-color:#dcc894;--highlight-color2:#dca394;--navbar-height:4rem}*{box-sizing:border-box;margin:0;padding:0}body{font-family:'Roboto Condensed', sans-serif;font-size:1rem;line-height:1.6;background-color:#fff;color:#333;padding:0}a{color:var(--primary-color);text-decoration:none}a:hover{color:#666}a.active{color:var(--highlight-color)}ul{list-style:none}img{width:100%}.dataRow{cursor:pointer}.container{max-width:1100px;margin:auto;overflow:hidden;padding:0 2rem}.fullWidth{max-width:100vw;padding:0 0}.x-large{font-size:4rem;line-height:1.2;margin-bottom:1rem}.large{font-size:3rem;line-height:1.2;margin-bottom:1rem}.lead{font-size:1.5rem;margin-bottom:1rem}.text-center{text-align:center}.text-primary{color:var(--primary-color)}.text-dark{color:var(--dark-color)}.text-success{color:var(--success-color)}.text-danger{color:var(--danger-color)}.text-highlight{color:var(--highlight-color)}.text-highlight2{color:var(--highlight-color2)}.text-center{text-align:center}.text-right{text-align:right}.text-left{text-align:left}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-title,h3{font-weight:400;font-size:20px;line-height:28px}.text-subhead,h4{font-weight:400;font-size:16px;line-height:24px}.text-body2,h5{font-weight:500;font-size:14px;line-height:24px}.text-body1{font-weight:400;font-size:14px;line-height:20px}.text-caption{font-weight:400;font-size:12px;line-height:16px}.all-center{display:flex;flex-direction:column;width:100%;margin:auto;justify-content:center;align-items:center;text-align:center}.card{padding:1rem;border:#ccc 1px dotted;margin:0.7rem 0}.list{margin:0.5rem 0}.list li{padding-bottom:0.3rem}.p{padding:0.5rem}.p-1{padding:1rem}.p-2{padding:2rem}.p-3{padding:3rem}.py{padding:0.5rem 0}.py-1{padding:1rem 0}.py-2{padding:2rem 0}.py-3{padding:3rem 0}.padx{padding:0 0.5rem}.padx--right{padding-right:0.5rem}.padx--left{padding-left:0.5rem}.padx--1{padding:0 1rem}.padx--2{padding:0 2rem}.padx--3{padding:0 3rem}.m{margin:0.5rem}.m-1{margin:1rem}.mb-1{margin-bottom:.2rem !important}.ml-1{margin-left:.2rem !important}.mr-1{margin-right:.2rem !important}.mt-1{margin-top:.2rem !important}.mx-1{margin-left:1rem !important;margin-right:1rem !important}.m-2{margin:2rem}.mb-2{margin-bottom:.4rem !important}.ml-2{margin-left:.4rem !important}.mr-2{margin-right:.4rem !important}.mt-2{margin-top:.4rem !important}.mx-2{margin-left:2rem !important;margin-right:2rem !important}.m-3{margin:3rem}.my{margin:0.5rem 0}.my-1{margin:1rem 0}.my-2{margin:2rem 0}.my-3{margin:3rem 0}.grid{display:flex;display:-ms-flexbox;flex-wrap:wrap}.grid-1{display:grid;grid-template-columns:repeat(1, 1fr);grid-gap:1rem}.grid-2{display:grid;grid-template-columns:repeat(2, 1fr);grid-gap:1rem}.grid-3{display:grid;grid-template-columns:repeat(3, 1fr);grid-gap:1rem}.grid-4{display:grid;grid-template-columns:repeat(4, 1fr);grid-gap:1rem}.row{margin-left:-15px;margin-right:-15px}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.column,.columns{margin-left:4%}.column:first-child,.columns:first-child{margin-left:0}.col-1{width:8.33333%}.col-2{width:16.66667%}.col-3{width:25%}.col-4{width:33.33333%}.col-5{width:41.66667%}.col-6{width:50%}.col-7{width:58.33333%}.col-8{width:66.66667%}.col-9{width:75%}.col-10{width:83.33333%}.col-11{width:91.66667%}.col-12{width:100%;margin-left:0}.col-1-3rd{width:32.666667%}.col-2-3rd{width:65.3333333333%}.col-half{width:48%}.offset-1-col{margin-left:8.66666666667%}.offset-2-col{margin-left:17.3333333333%}.offset-3-col{margin-left:26%}.offset-4-col{margin-left:34.6666666667%}.offset-5-col{margin-left:43.3333333333%}.offset-6-col{margin-left:52%}.offset-7-col{margin-left:60.6666666667%}.offset-8-col{margin-left:69.3333333333%}.offset-9-col{margin-left:78.0%}.offset-10-col{margin-left:86.6666666667%}.offset-11-col{margin-left:95.3333333333%}.offset-1-3rd-col{margin-left:34.6666666667%}.offset-2-3rd-col{margin-left:69.3333333333%}.offset-half-col{margin-left:52%}.btn{display:inline-block;background:var(--light-color);color:#333;padding:0.4rem 1.3rem;font-size:1rem;border:none;cursor:pointer;margin-right:0.5rem;transition:opacity 0.2s ease-in;outline:none}.btn-link{background:none;padding:0;margin:0}.btn-block{display:block;width:100%}.btn-sm{font-size:0.8rem;padding:0.3rem 1rem;margin-right:0.2rem}.badge{display:inline-block;font-size:0.6rem;padding:0.1rem 0.4rem;text-align:center;margin:0.3rem;background:var(--light-color);color:#333;border-radius:3px}.alert{padding:0.7rem;margin:1rem 0;opacity:0.9;background:var(--light-color);color:#333}.btn-primary,.bg-primary,.badge-primary,.alert-primary{background:var(--primary-color);color:#fff}.btn-light,.bg-light,.badge-light,.alert-light{background:var(--light-color);color:#333}.btn-dark,.bg-dark,.badge-dark,.alert-dark{background:var(--dark-color);color:#fff}.btn-danger,.bg-danger,.badge-danger,.alert-danger{background:var(--danger-color);color:#fff}.btn-success,.bg-success,.badge-success,.alert-success{background:var(--success-color);color:#fff}.btn-white,.bg-white,.badge-white,.alert-white{background:#fff;color:#333;border:#ccc solid 1px}.btn:disabled{cursor:not-allowed;pointer-events:none;opacity:0.60;box-shadow:none}.btn:enabled:hover{opacity:0.8}.bg-light,.badge-light{border:#ccc solid 1px}.round-img{border-radius:50%}input{margin:.2rem 0}.form-text{display:block;margin-top:0.3rem;color:#888}input[type='text'],input[type='email'],input[type='password'],input[type='date'],select,textarea{display:block;width:100%;padding:0.1rem;border:1px solid #ccc}input[type='submit'],button{font:inherit}label,legend{display:block;margin-bottom:.1rem;font-weight:600}input[type="checkbox"],input[type="radio"]{display:inline}label > .label-body{display:inline-block;margin-left:.5rem;font-weight:normal;background-color:#dcc894}table th,table td{padding:1rem;text-align:left}table th{background:var(--light-color)}.navbar{position:fixed;display:flex;justify-content:space-between;align-items:center;padding:0.7rem 0rem;z-index:2;width:100%;opacity:0.9;margin-bottom:1rem;min-height:var(--navbar-height)}.navbar ul{display:flex}.navbar a{color:#fff;padding:0.45rem;margin:0 0.25rem}.navbar a:hover{color:var(--light-color)}.navbar .welcome span{margin-right:0.6rem}.navbar .navbar-section{align-items:center;display:flex;display:-ms-flexbox;flex:1 0 0;-ms-flex-align:center}.navbar .navbar-section:not(:first-child):last-child{justify-content:flex-end}.navbar .navbar-brand{font-size:125%;font-weight:bold}@media(max-width: 700px){.hide-sm{display:none}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.x-large{font-size:3rem}.large{font-size:2rem}.lead{font-size:1rem}.navbar{display:flex;text-align:center}.navbar ul{text-align:center;justify-content:center}}.table-responsive{display:block;overflow-x:auto;width:100%}.cardV2{border-radius:4px;background-color:#fff;box-shadow:0 0 4px 0 rgba(0, 0, 0, 0.14), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);min-width:0}table{max-width:100%;width:100%;border:0;margin-bottom:1rem;border-collapse:collapse}tr{border-top:1px solid #ccc}tbody tr:nth-of-type(odd){background-color:rgba(0, 0, 0, 0.04)}tbody td{border-top:1px solid #e1e1e1}hr{margin-top:2.2rem;margin-bottom:2rem;border-width:0;border-top:1px solid var(--dark-color)}.modalWindow{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.2);z-index:99999;opacity:0;pointer-events:none;text-align:center}.modalWindow:target{opacity:1;pointer-events:auto}.modalWindow > div{width:500px;position:relative;margin:10% auto;background:#fff}header + div.container{position:relative;top:var(--navbar-height);min-height:calc(100vh - var(--navbar-height));max-height:calc(100vh - var(--navbar-height))}.mui-dropdown{display:inline-block;position:relative}[data-mui-toggle="dropdown"]{outline:0}.mui-dropdown__menu{position:absolute;display:none;min-width:160px;padding:5px 3px;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#FFF;border-radius:2px;z-index:1;background-clip:padding-box;border:1px solid var(--light-color);box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.mui-dropdown__menu{border-top:1px solid rgba(0, 0, 0, 0.12);border-left:1px solid rgba(0, 0, 0, 0.12)}}@supports (-ms-ime-align: auto){.mui-dropdown__menu{border-top:1px solid rgba(0, 0, 0, 0.12);border-left:1px solid rgba(0, 0, 0, 0.12)}}.mui-dropdown__menu.mui--is-open{display:block}.mui-dropdown__menu > li > a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.429;color:rgba(0, 0, 0, 0.87);text-decoration:none;white-space:nowrap}.mui-dropdown__menu > li > a:hover,.mui-dropdown__menu > li > a:focus{text-decoration:none;color:rgba(0, 0, 0, 0.87);background-color:#EEEEEE}.mui-dropdown__menu > .mui--is-disabled > a,.mui-dropdown__menu > .mui--is-disabled > a:hover,.mui-dropdown__menu > .mui--is-disabled > a:focus{color:#EEEEEE}.mui-dropdown__menu > .mui--is-disabled > a:hover,.mui-dropdown__menu > .mui--is-disabled > a:focus{text-decoration:none;background-color:transparent;background-image:none;cursor:not-allowed}.mui-dropdown__menu--right{left:auto;right:0}.mui-dropdown--up > .mui-dropdown__menu{margin:0 0 2px}.mui-dropdown--right > .mui-dropdown__menu{margin:0 0 0 2px}.mui-dropdown--left > .mui-dropdown__menu{margin:0 2px 0 0}.alias{cursor:alias}.all-scroll{cursor:all-scroll}.auto{cursor:auto}.cell{cursor:cell}.context-menu{cursor:context-menu}.col-resize{cursor:col-resize}.copy{cursor:copy}.crosshair{cursor:crosshair}.default{cursor:default}.e-resize{cursor:e-resize}.ew-resize{cursor:ew-resize}.grab{cursor:grab}.grabbing{cursor:grabbing}.help{cursor:help}.move{cursor:move}.n-resize{cursor:n-resize}.ne-resize{cursor:ne-resize}.nesw-resize{cursor:nesw-resize}.ns-resize{cursor:ns-resize}.nw-resize{cursor:nw-resize}.nwse-resize{cursor:nwse-resize}.no-drop{cursor:no-drop}.none{cursor:none}.not-allowed{cursor:not-allowed}.pointer{cursor:pointer}.progress{cursor:progress}.row-resize{cursor:row-resize}.s-resize{cursor:s-resize}.se-resize{cursor:se-resize}.sw-resize{cursor:sw-resize}.text{cursor:text}.url{cursor:url(myBall.cur), auto}.w-resize{cursor:w-resize}.wait{cursor:wait}.zoom-in{cursor:zoom-in}.zoom-out{cursor:zoom-out}.hour27{border-left:10px solid #50b5dd}.hour26{border-left:10px solid #4eb2ce}.hour25{border-left:10px solid #4cb0be}.hour24{border-left:10px solid #49adaf}.hour23{border-left:10px solid #48ab9f}.hour22{border-left:10px solid #46a88e}.hour21{border-left:10px solid #44a67d}.hour20{border-left:10px solid #42a46c}.hour19{border-left:10px solid #66ad5e}.hour18{border-left:10px solid #87be40}.hour17{border-left:10px solid #b3cc1a}.hour16{border-left:10px solid #d6d51c}.hour15{border-left:10px solid #f9ca03}.hour14{border-left:10px solid #f6b503}.hour13{border-left:10px solid #f4961a}.hour12{border-left:10px solid #ec6e05}.hour11{border-left:10px solid #ea5a24}.hour10{border-left:10px solid #e4572b}.hour09{border-left:10px solid #e14a29}.hour08{border-left:10px solid #e04127}.hour07{border-left:10px solid #d9372b}.hour06{border-left:10px solid #d63129}.hour05{border-left:10px solid #d12b2b}.hour04{border-left:10px solid #cd282f}.hour03{border-left:10px solid #c82432}.hour02{border-left:10px solid #c32334}.hour01{border-left:10px solid #be2138}.hour00{border-left:10px solid #b9203b}.view{height:100vh} +.detail.svelte-66pry7{width:100%;border-top:2px solid #e1e1e1;height:50vh;max-height:50vh;overflow-y:scroll}.detailHead.svelte-66pry7{box-sizing:border-box;margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row.svelte-66pry7{margin:1% 0;overflow:auto;display:flex}.applied.svelte-66pry7{background:rgb(207,216,220,1);background:linear-gradient(180deg, rgba(220,200,148,1) 0%, rgba(207,216,220,1) 25%)}.padx--2.svelte-66pry7{padding:0 2rem} +.lister.svelte-1u7sr1d{height:50vh;max-height:50vh;overflow-y:scroll;border-bottom:1px solid #294c5d}.hide.svelte-1u7sr1d{display:none}.company.svelte-1u7sr1d{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dataRow.svelte-1u7sr1d{font-weight:bold;color:darkslategrey}.read.svelte-1u7sr1d{font-weight:normal !important;color:dimgrey}.applied.svelte-1u7sr1d{box-shadow:inset 0 0 5px 5px #f7de2f69}.dataRow.svelte-1u7sr1d:hover{background-color:rgba(245, 238, 100, 0.54)}.small.svelte-1u7sr1d{font-size:70%}.noOverflow.svelte-1u7sr1d{white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .menu.svelte-s6mfqx{border-right:2px solid #e1e1e1;background-color:#f4f4f4;height:100vh} /*# sourceMappingURL=bundle.css.map */ \ No newline at end of file diff --git a/dist/build/bundle.css.map b/dist/build/bundle.css.map index 06a4257..d1015c1 100644 --- a/dist/build/bundle.css.map +++ b/dist/build/bundle.css.map @@ -8,11 +8,11 @@ "../../Menu.svelte" ], "sourcesContent": [ - "\n\n\n\n
\n
\n
\n \n \n
\n
\n\n", - "\n\n\n\nDETAIL :: {visible}\n{#if visible}\n
\n
\n
\n
\n {$JobDetails.title}\n\n
\n\n {#if jobtype === 1}\n Contract\n {:else if jobtype === 2}\n Permanent\n {/if}\n\n
\n
\n
\n Company: {$JobDetails.company}\n
\n
\n Location: {$JobDetails.location}\n
\n
\n Applied:\n {#if !$JobDetails.a}\n \n {:else}\n Applied!\n {/if}\n\n
\n\n
\n\n
\n
\n Salary: {$JobDetails.salary}\n
\n
\n Scraped: {$JobDetails.date}\n
\n
\n Site: {$JobDetails.site}\n
\n\n
\n\n
\n
\n {#each $JobDetails.data.autoclass.words as word, _wid}\n {#if $JobDetails.data.autoclass.good.indexOf(word) !== -1}\n {word}\n {:else if $JobDetails.data.autoclass.bad.indexOf(word) !== -1}\n {word}\n {:else }\n {word}\n {/if}\n {/each}\n\n
\n
\n \n
\n
\n \n
\n\n
\n\n\n
\n
\n {@html $JobDetails.summary}\n
\n
\n\n{/if}\n", - "\n\n\n\n\n
\n \n \n \n \n \n \n \n \n \n \n {#each $JobList as item, _id}\n\n \n \n \n \n \n \n \n {/each}\n \n
\n Title\n \n Site\n \n Company\n \n Date\n
\n {item.title}\n \n {item.site}{ellipses(item.company)}{item.date}
\n
\n\n\n", + "\n\n\n\n
\n
\n
\n \n \n
\n
\n\n", + "\n\n\n\n{#if visible}\n
\n
\n
\n
\n {$JobDetails.title}\n\n
\n\n {#if jobtype === 1}\n Contract\n {:else if jobtype === 2}\n Permanent\n {/if}\n\n
\n
\n
\n Company: {$JobDetails.company}\n
\n
\n Location: {$JobDetails.location}\n
\n
\n Applied:\n {#if !$JobDetails.applied}\n \n {:else}\n Applied!\n {/if}\n\n
\n\n
\n\n
\n
\n Salary: {$JobDetails.salary}\n
\n
\n Scraped: {$JobDetails.postdate}\n
\n
\n Site: {$JobDetails.site}\n
\n\n
\n\n\n\n\n
\n
\n {@html $JobDetails.summary}\n
\n
\n\n {:else}\n
\n
\n\n{/if}\n", + "\n\n\n\n\n
\n \n \n \n \n \n \n \n \n \n \n {#each $JobList as item, _id}\n\n \n \n \n \n \n \n \n {/each}\n \n
\n Title\n \n Site\n \n Company\n \n Date\n
\n {item.title}\n \n {item.site}{ellipses(item.company)}{item.postdate}
\n
\n\n\n", "\n\n\n\n
\n

Jobs

\n
\n
\n \n
\n\n
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U,CAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,SAAS,AAC3C,CAAC,AAED,uBAAQ,MAAM,AAAC,CAAC,AACZ,gBAAgB,CAAE,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,AAE/C,CAAC,AAED,MAAM,eAAC,CAAC,AACJ,SAAS,CAAE,GAAG,AAClB,CAAC,AAED,WAAW,eAAC,CAAC,AACT,WAAW,CAAE,MAAM,CACnB,QAAQ,CAAE,MAAM,CAChB,aAAa,CAAE,QAAQ,AAC3B,CAAC;ACnED,KAAK,cAAC,CAAC,AAEH,YAAY,CAAE,GAAG,CAAC,KAAK,CAAC,OAAO,CAC/B,gBAAgB,CAAE,OAAO,CACzB,MAAM,CAAE,KAAK,AACjB,CAAC" } \ No newline at end of file diff --git a/dist/build/bundle.js b/dist/build/bundle.js index 65b4cfe..392f115 100644 --- a/dist/build/bundle.js +++ b/dist/build/bundle.js @@ -1 +1 @@ -var app=function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function o(t){t.forEach(e)}function r(t){return"function"==typeof t}function s(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function a(e,n,o){e.$$.on_destroy.push(function(e,...n){if(null==e)return t;const o=e.subscribe(...n);return o.unsubscribe?()=>o.unsubscribe():o}(n,o))}function c(t,e){t.appendChild(e)}function l(t,e,n){t.insertBefore(e,n||null)}function i(t){t.parentNode.removeChild(t)}function u(t){return document.createElement(t)}function d(t){return document.createTextNode(t)}function f(){return d(" ")}function p(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function h(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function m(t,e){e=""+e,t.data!==e&&(t.data=e)}let g;function b(t){g=t}const y=[],v=[],$=[],w=[],x=Promise.resolve();let k=!1;function J(t){$.push(t)}let _=!1;const A=new Set;function C(){if(!_){_=!0;do{for(let t=0;t{L.delete(t),o&&(n&&t.d(1),o())}),t.o(e)}}function N(t){t&&t.c()}function O(t,n,s){const{fragment:a,on_mount:c,on_destroy:l,after_update:i}=t.$$;a&&a.m(n,s),J(()=>{const n=c.map(e).filter(r);l?l.push(...n):o(n),t.$$.on_mount=[]}),i.forEach(J)}function T(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function R(t,e){-1===t.$$.dirty[0]&&(y.push(t),k||(k=!0,x.then(C)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const r=o.length?o[0]:n;return p.ctx&&c(p.ctx[t],p.ctx[t]=r)&&(p.bound[t]&&p.bound[t](r),h&&R(e,t)),n}):[],p.update(),h=!0,o(p.before_update),p.fragment=!!a&&a(p.ctx),r.target){if(r.hydrate){const t=function(t){return Array.from(t.childNodes)}(r.target);p.fragment&&p.fragment.l(t),t.forEach(i)}else p.fragment&&p.fragment.c();r.intro&&S(e.$$.fragment),O(e,r.target,r.anchor),C()}b(d)}class D{$destroy(){T(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(){}}const P=[];function q(e,n=t){let o;const r=[];function a(t){if(s(e,t)&&(e=t,o)){const t=!P.length;for(let t=0;t{const t=r.indexOf(l);-1!==t&&r.splice(t,1),0===r.length&&(o(),o=null)}}}}var H=function t(e){function n(t){return function(e,n){return s(e,Object.assign({method:t},n))}}function o(t){return function(e,n,o){return s(e,Object.assign({method:t,data:n},o))}}function r(t,e,n){if(Array.isArray(t))return t.concat(e);if(e&&"object"==typeof e){var o,s={};if(t)for(o in t)s[n?o.toLowerCase():o]=t[o];for(o in e){var a=n?o.toLowerCase():o;"headers"===a&&(n=!0),s[a]=o in s?r(s[a],e[o],n):e[o]}return s}return e}function s(t,n){"string"!=typeof t&&(t=(n=t).url);var o=r(e,n||{}),s=o.data;if(o.transformRequest)for(var a=0;a{const e=JSON.parse(t.data);U.set(e)}).catch(t=>{console.error("getJobList",t)})},loadJobDetail(t){if(console.log("loadJobDetail: "+t),t){const e=`${I.jobs}/${t}`;H.get(e).then(t=>{const e=JSON.parse(t.data);V.set(e)}).catch(t=>{console.error("loadJobDetail",t)})}},async touchJob(t){if(console.log("touchJob: "+t),t){const e=`${I.jobs}/${t}`;await H.put(e).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("touchJob",t)}),U.update(e=>(e.map(e=>{if(e._id===t)return e.read=(new Date).getTime(),e}),e))}},async appliedJob(t){console.log("touchJob: "+t);const e=(new Date).getTime();if(t){console.log("Applying..");const n=`${I.apply}/${t}`;await H.put(n).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("appliedJob",t)});const o=parseInt(t,10);U.update(t=>(t.map(t=>{if(t._id===o)return t.a=e,t}),t)),V.update(t=>(t.a=e,t))}},async markAllRead(){console.log(">> markAllRead");const t=""+I.readall;await H.put(t).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("markAllRead",t)}),this.getJobList()},killWord(t){console.log(">> killword:"+t);const e=`${I.kill}/${t}`;H.put(e).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("killword",t)})},upVote(t){console.log(">> upvote:"+t);const e=`${I.upvote}/${t}`;H.put(e).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("upvote",t)})},downVote(t){console.log(">> downvote:"+t);const e=`${I.downvote}/${t}`;H.put(e).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("downvote",t)})}};function B(t,e,n){const o=t.slice();return o[4]=e[n],o[6]=n,o}function G(t){let e,n,o,r,s,a,g,b,y,v,$,w,x,k,J,_,A=t[4].title+"",C=t[4].site+"",j=Q(t[4].company)+"",L=t[4].postdate+"";return{c(){e=u("tr"),n=u("td"),o=d(A),r=f(),s=u("td"),a=d(C),g=f(),b=u("td"),y=d(j),v=f(),$=u("td"),w=d(L),x=f(),h(n,"class","noOverflow svelte-15500pg"),h(e,"class",k="dataRow "+X(t[4])+" "+Y(t[4])+" svelte-15500pg"),h(e,"data-id",J=t[4]._id)},m(i,u,d){var f;l(i,e,u),c(e,n),c(n,o),c(e,r),c(e,s),c(s,a),c(e,g),c(e,b),c(b,y),c(e,v),c(e,$),c($,w),c(e,x),d&&_(),_=p(e,"click",(f=t[1],function(t){return t.stopPropagation(),f.call(this,t)}))},p(t,n){1&n&&A!==(A=t[4].title+"")&&m(o,A),1&n&&C!==(C=t[4].site+"")&&m(a,C),1&n&&j!==(j=Q(t[4].company)+"")&&m(y,j),1&n&&L!==(L=t[4].postdate+"")&&m(w,L),1&n&&k!==(k="dataRow "+X(t[4])+" "+Y(t[4])+" svelte-15500pg")&&h(e,"class",k),1&n&&J!==(J=t[4]._id)&&h(e,"data-id",J)},d(t){t&&i(e),_()}}}function K(e){let n,o,r,s,a,d=e[0],p=[];for(let t=0;t\n Title\n \n \n Site\n \n \n Company\n \n \n Date\n ',s=f(),a=u("tbody");for(let t=0;tn(0,o=t)),[o,function(t){console.log("clickevent",t);const e=t.target.parentElement.dataset.id;W.loadJobDetail(e),W.touchJob(e)}]}class tt extends D{constructor(t){super(),E(this,t,Z,K,s,{})}}function et(t){let e,n,o,r,s,a,p,g,b,y,v,$,w,x,k,J,_,A,C,j,L,S,M,N,O,T,R,E,D,P,q,H,z,F,I,U,V,W,B,G,K=t[1].title+"",Q=t[1].company+"",X=t[1].location+"",Y=t[1].salary+"",Z=t[1].postdate+"",tt=t[1].site+"",et=t[1].summary+"";let rt=void 0,st=rt&&rt(t);function at(t,e){return t[1].applied?nt:ot}let ct=at(t),lt=ct(t);return{c(){e=u("div"),n=u("div"),o=u("div"),r=u("div"),s=d(K),a=f(),st&&st.c(),p=f(),g=u("div"),b=u("div"),y=d("Company: "),v=u("span"),$=d(Q),w=f(),x=u("div"),k=d("Location: "),J=u("span"),_=d(X),A=f(),C=u("div"),j=d("Applied:\n "),lt.c(),L=f(),S=u("div"),M=u("div"),N=d("Salary: "),O=u("span"),T=d(Y),R=f(),E=u("div"),D=d("Scraped: "),P=u("span"),q=d(Z),H=f(),z=u("div"),F=d("Site: "),I=u("a"),U=d(tt),B=f(),G=u("blockquote"),h(r,"class","col-12 text-primary lead"),h(o,"class","row svelte-r7f80i"),h(v,"class","text-primary"),h(b,"class","col-1-3rd"),h(J,"class","text-primary"),h(x,"class","col-1-3rd"),h(C,"class","col-1-3rd"),h(g,"class","row svelte-r7f80i"),h(O,"class","text-primary"),h(M,"class","col-1-3rd"),h(P,"class","text-primary"),h(E,"class","col-1-3rd"),h(I,"href",V=t[1].url),h(I,"class","text-capitalize"),h(I,"target","_blank"),h(z,"class","col-1-3rd"),h(S,"class","row svelte-r7f80i"),h(n,"class",W="detailHead bg-light svelte-r7f80i"),h(e,"class","detail svelte-r7f80i")},m(t,i){l(t,e,i),c(e,n),c(n,o),c(o,r),c(r,s),c(o,a),st&&st.m(o,null),c(n,p),c(n,g),c(g,b),c(b,y),c(b,v),c(v,$),c(g,w),c(g,x),c(x,k),c(x,J),c(J,_),c(g,A),c(g,C),c(C,j),lt.m(C,null),c(n,L),c(n,S),c(S,M),c(M,N),c(M,O),c(O,T),c(S,R),c(S,E),c(E,D),c(E,P),c(P,q),c(S,H),c(S,z),c(z,F),c(z,I),c(I,U),c(e,B),c(e,G),G.innerHTML=et},p(t,e){2&e&&K!==(K=t[1].title+"")&&m(s,K),2&e&&Q!==(Q=t[1].company+"")&&m($,Q),2&e&&X!==(X=t[1].location+"")&&m(_,X),ct===(ct=at(t))&<?lt.p(t,e):(lt.d(1),lt=ct(t),lt&&(lt.c(),lt.m(C,null))),2&e&&Y!==(Y=t[1].salary+"")&&m(T,Y),2&e&&Z!==(Z=t[1].postdate+"")&&m(q,Z),2&e&&tt!==(tt=t[1].site+"")&&m(U,tt),2&e&&V!==(V=t[1].url)&&h(I,"href",V),2&e&&et!==(et=t[1].summary+"")&&(G.innerHTML=et)},d(t){t&&i(e),st&&st.d(),lt.d()}}}function nt(e){let n;return{c(){n=d("Applied!")},m(t,e){l(t,n,e)},p:t,d(t){t&&i(n)}}}function ot(e){let n,o;return{c(){n=u("button"),n.textContent="Applied",h(n,"class","btn btn-sm btn-primary")},m(t,r,s){l(t,n,r),s&&o(),o=p(n,"click",e[2])},p:t,d(t){t&&i(n),o()}}}function rt(e){let n,o=e[0]&&et(e);return{c(){o&&o.c(),n=d("")},m(t,e){o&&o.m(t,e),l(t,n,e)},p(t,[e]){t[0]?o?o.p(t,e):(o=et(t),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},i:t,o:t,d(t){o&&o.d(t),t&&i(n)}}}function st(t){for(const e in t)if(t.hasOwnProperty(e))return!1;return!0}function at(t,e,n){let o;a(t,V,t=>n(1,o=t));let r=!1;return V.subscribe(t=>{n(0,r=!st(t)),console.log("JobDetails.subscribe",t)}),t.$$.update=()=>{2&t.$$.dirty&&st(o)},[r,o,function(){W.appliedJob(o._id)}]}class ct extends D{constructor(t){super(),E(this,t,at,rt,s,{})}}function lt(e){let n,o,r,s,a,d,m;return{c(){n=u("header"),o=u("section"),r=u("span"),r.textContent=""+it,s=f(),a=u("section"),d=u("button"),d.textContent="Mark All Read",h(r,"class","text-bold navbar-brand mx-1 text-uppercase"),h(o,"class","navbar-section"),h(d,"class","btn btn-sm btn-primary"),h(a,"class","navbar-section text-right"),h(n,"class","navbar bg-primary")},m(t,i,u){l(t,n,i),c(n,o),c(o,r),c(n,s),c(n,a),c(a,d),u&&m(),m=p(d,"click",e[0])},p:t,i:t,o:t,d(t){t&&i(n),m()}}}let it="Jobs";function ut(t){return[function(){W.markAllRead()}]}class dt extends D{constructor(t){super(),E(this,t,ut,lt,s,{})}}function ft(e){let n,o,r,s,a;const d=new dt({}),p=new tt({}),m=new ct({});return{c(){N(d.$$.fragment),n=f(),o=u("div"),r=u("div"),N(p.$$.fragment),s=f(),N(m.$$.fragment),h(r,"class","col-12"),h(o,"class","container fullWidth")},m(t,e){O(d,t,e),l(t,n,e),l(t,o,e),c(o,r),O(p,r,null),c(r,s),O(m,r,null),a=!0},p:t,i(t){a||(S(d.$$.fragment,t),S(p.$$.fragment,t),S(m.$$.fragment,t),a=!0)},o(t){M(d.$$.fragment,t),M(p.$$.fragment,t),M(m.$$.fragment,t),a=!1},d(t){T(d,t),t&&i(n),t&&i(o),T(p),T(m)}}}var pt=1e3,ht=6e4,mt=60*ht,gt=24*mt,bt=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!e)return;var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*gt;case"hours":case"hour":case"hrs":case"hr":case"h":return n*mt;case"minutes":case"minute":case"mins":case"min":case"m":return n*ht;case"seconds":case"second":case"secs":case"sec":case"s":return n*pt;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(t);if("number"===n&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=gt)return yt(t,e,gt,"day");if(e>=mt)return yt(t,e,mt,"hour");if(e>=ht)return yt(t,e,ht,"minute");if(e>=pt)return yt(t,e,pt,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=gt)return Math.round(t/gt)+"d";if(e>=mt)return Math.round(t/mt)+"h";if(e>=ht)return Math.round(t/ht)+"m";if(e>=pt)return Math.round(t/pt)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function yt(t,e,n,o){var r=e>=1.5*n;return Math.round(t/n)+" "+o+(r?"s":"")}let vt=0;const $t=new class extends D{constructor(t){super(),E(this,t,null,ft,s,{})}}({target:document.body});return function t(){W.getJobList();const e=bt("15m");console.log("Next:",e),vt=setTimeout(()=>{t()},e)}(),$t}(); +var app=function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function o(t){t.forEach(e)}function r(t){return"function"==typeof t}function s(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function a(e,n,o){e.$$.on_destroy.push(function(e,...n){if(null==e)return t;const o=e.subscribe(...n);return o.unsubscribe?()=>o.unsubscribe():o}(n,o))}function c(t,e){t.appendChild(e)}function l(t,e,n){t.insertBefore(e,n||null)}function i(t){t.parentNode.removeChild(t)}function u(t){return document.createElement(t)}function d(t){return document.createTextNode(t)}function f(){return d(" ")}function p(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function h(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function m(t,e){e=""+e,t.data!==e&&(t.data=e)}let g;function b(t){g=t}const y=[],v=[],$=[],w=[],x=Promise.resolve();let k=!1;function J(t){$.push(t)}let _=!1;const A=new Set;function C(){if(!_){_=!0;do{for(let t=0;t{L.delete(t),o&&(n&&t.d(1),o())}),t.o(e)}}function N(t){t&&t.c()}function O(t,n,s){const{fragment:a,on_mount:c,on_destroy:l,after_update:i}=t.$$;a&&a.m(n,s),J(()=>{const n=c.map(e).filter(r);l?l.push(...n):o(n),t.$$.on_mount=[]}),i.forEach(J)}function R(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function T(t,e){-1===t.$$.dirty[0]&&(y.push(t),k||(k=!0,x.then(C)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const r=o.length?o[0]:n;return p.ctx&&c(p.ctx[t],p.ctx[t]=r)&&(p.bound[t]&&p.bound[t](r),h&&T(e,t)),n}):[],p.update(),h=!0,o(p.before_update),p.fragment=!!a&&a(p.ctx),r.target){if(r.hydrate){const t=function(t){return Array.from(t.childNodes)}(r.target);p.fragment&&p.fragment.l(t),t.forEach(i)}else p.fragment&&p.fragment.c();r.intro&&S(e.$$.fragment),O(e,r.target,r.anchor),C()}b(d)}class D{$destroy(){R(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(){}}const q=[];function H(e,n=t){let o;const r=[];function a(t){if(s(e,t)&&(e=t,o)){const t=!q.length;for(let t=0;t{const t=r.indexOf(l);-1!==t&&r.splice(t,1),0===r.length&&(o(),o=null)}}}}var P=function t(e){function n(t){return function(e,n){return s(e,Object.assign({method:t},n))}}function o(t){return function(e,n,o){return s(e,Object.assign({method:t,data:n},o))}}function r(t,e,n){if(Array.isArray(t))return t.concat(e);if(e&&"object"==typeof e){var o,s={};if(t)for(o in t)s[n?o.toLowerCase():o]=t[o];for(o in e){var a=n?o.toLowerCase():o;"headers"===a&&(n=!0),s[a]=o in s?r(s[a],e[o],n):e[o]}return s}return e}function s(t,n){"string"!=typeof t&&(t=(n=t).url);var o=r(e,n||{}),s=o.data;if(o.transformRequest)for(var a=0;a{const e=JSON.parse(t.data);V.set(e)}).catch(t=>{console.error("getJobList",t)})},loadJobDetail(t){if(console.log("loadJobDetail: "+t),t){const e=`${I.jobs}/${t}`;P.get(e).then(t=>{const e=JSON.parse(t.data);W.set(e)}).catch(t=>{console.error("loadJobDetail",t)})}},async touchJob(t){if(console.log("touchJob: "+t),t){const e=`${I.jobs}/${t}`;await P.put(e).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("touchJob",t)}),V.update(e=>(e.map(e=>{if(e._id===t)return e.read=(new Date).getTime(),e}),e))}},async appliedJob(t){console.log("touchJob: "+t);const e=Date.now()/1e3;if(t){console.log("Applying..");const n=`${I.apply}/${t}`;await P.put(n).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("appliedJob",t)});const o=parseInt(t,10);V.update(t=>(t.map(t=>{if(t._id===o)return t.a=e,t}),t)),W.update(t=>(t.a=e,t))}},async markAllRead(){console.log(">> markAllRead");const t=""+I.readall;await P.put(t).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("markAllRead",t)}),this.getJobList()},killWord(t){console.log(">> killword:"+t);const e=`${I.kill}/${t}`;P.put(e).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("killword",t)})},upVote(t){console.log(">> upvote:"+t);const e=`${I.upvote}/${t}`;P.put(e).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("upvote",t)})},downVote(t){console.log(">> downvote:"+t);const e=`${I.downvote}/${t}`;P.put(e).then(t=>{200!==t.status&&console.error(t)}).catch(t=>{console.error("downvote",t)})}};function U(t,e,n){const o=t.slice();return o[4]=e[n],o[6]=n,o}function G(t){let e,n,o,r,s,a,g,b,y,v,$,w,x,k,J,_,A=t[4].title+"",C=t[4].site+"",j=Q(t[4].company)+"",L=t[4].postdate+"";return{c(){e=u("tr"),n=u("td"),o=d(A),r=f(),s=u("td"),a=d(C),g=f(),b=u("td"),y=d(j),v=f(),$=u("td"),w=d(L),x=f(),h(n,"class","noOverflow svelte-1u7sr1d"),h(e,"class",k="dataRow "+X(t[4])+" "+Y(t[4])+" svelte-1u7sr1d"),h(e,"data-id",J=t[4]._id)},m(i,u,d){var f;l(i,e,u),c(e,n),c(n,o),c(e,r),c(e,s),c(s,a),c(e,g),c(e,b),c(b,y),c(e,v),c(e,$),c($,w),c(e,x),d&&_(),_=p(e,"click",(f=t[1],function(t){return t.stopPropagation(),f.call(this,t)}))},p(t,n){1&n&&A!==(A=t[4].title+"")&&m(o,A),1&n&&C!==(C=t[4].site+"")&&m(a,C),1&n&&j!==(j=Q(t[4].company)+"")&&m(y,j),1&n&&L!==(L=t[4].postdate+"")&&m(w,L),1&n&&k!==(k="dataRow "+X(t[4])+" "+Y(t[4])+" svelte-1u7sr1d")&&h(e,"class",k),1&n&&J!==(J=t[4]._id)&&h(e,"data-id",J)},d(t){t&&i(e),_()}}}function K(e){let n,o,r,s,a,d=e[0],p=[];for(let t=0;t\n Title\n \n \n Site\n \n \n Company\n \n \n Date\n ',s=f(),a=u("tbody");for(let t=0;tn(0,o=t)),[o,function(t){console.log("clickevent",t);const e=t.target.parentElement.dataset.id;B.loadJobDetail(e),B.touchJob(e)}]}class tt extends D{constructor(t){super(),E(this,t,Z,K,s,{})}}function et(e){let n;return{c(){n=u("div"),h(n,"class","detail svelte-66pry7")},m(t,e){l(t,n,e)},p:t,d(t){t&&i(n)}}}function nt(t){let e,n,o,r,s,a,p,g,b,y,v,$,w,x,k,J,_,A,C,j,L,S,M,N,O,R,T,E,D,q,H,P,z,F,I,V,W,B,U,G,K=t[2].title+"",Q=t[2].company+"",X=t[2].location+"",Y=t[2].salary+"",Z=t[2].postdate+"",tt=t[2].site+"",et=t[2].summary+"";let nt=void 0,st=nt&&nt(t);function at(t,e){return t[2].applied?ot:rt}let ct=at(t),lt=ct(t);return{c(){e=u("div"),n=u("div"),o=u("div"),r=u("div"),s=d(K),a=f(),st&&st.c(),p=f(),g=u("div"),b=u("div"),y=d("Company: "),v=u("span"),$=d(Q),w=f(),x=u("div"),k=d("Location: "),J=u("span"),_=d(X),A=f(),C=u("div"),j=d("Applied:\n "),lt.c(),L=f(),S=u("div"),M=u("div"),N=d("Salary: "),O=u("span"),R=d(Y),T=f(),E=u("div"),D=d("Scraped: "),q=u("span"),H=d(Z),P=f(),z=u("div"),F=d("Site: "),I=u("a"),V=d(tt),U=f(),G=u("blockquote"),h(r,"class","col-12 text-primary lead"),h(o,"class","row svelte-66pry7"),h(v,"class","text-primary"),h(b,"class","col-1-3rd"),h(J,"class","text-primary"),h(x,"class","col-1-3rd"),h(C,"class","col-1-3rd"),h(g,"class","row svelte-66pry7"),h(O,"class","text-primary"),h(M,"class","col-1-3rd"),h(q,"class","text-primary"),h(E,"class","col-1-3rd"),h(I,"href",W=t[2].url),h(I,"class","text-capitalize"),h(I,"target","_blank"),h(z,"class","col-1-3rd"),h(S,"class","row svelte-66pry7"),h(n,"class",B="detailHead bg-light "+(t[1]?"applied":"")+" svelte-66pry7"),h(G,"class","padx--2 svelte-66pry7"),h(e,"class","detail svelte-66pry7")},m(t,i){l(t,e,i),c(e,n),c(n,o),c(o,r),c(r,s),c(o,a),st&&st.m(o,null),c(n,p),c(n,g),c(g,b),c(b,y),c(b,v),c(v,$),c(g,w),c(g,x),c(x,k),c(x,J),c(J,_),c(g,A),c(g,C),c(C,j),lt.m(C,null),c(n,L),c(n,S),c(S,M),c(M,N),c(M,O),c(O,R),c(S,T),c(S,E),c(E,D),c(E,q),c(q,H),c(S,P),c(S,z),c(z,F),c(z,I),c(I,V),c(e,U),c(e,G),G.innerHTML=et},p(t,e){4&e&&K!==(K=t[2].title+"")&&m(s,K),4&e&&Q!==(Q=t[2].company+"")&&m($,Q),4&e&&X!==(X=t[2].location+"")&&m(_,X),ct===(ct=at(t))&<?lt.p(t,e):(lt.d(1),lt=ct(t),lt&&(lt.c(),lt.m(C,null))),4&e&&Y!==(Y=t[2].salary+"")&&m(R,Y),4&e&&Z!==(Z=t[2].postdate+"")&&m(H,Z),4&e&&tt!==(tt=t[2].site+"")&&m(V,tt),4&e&&W!==(W=t[2].url)&&h(I,"href",W),2&e&&B!==(B="detailHead bg-light "+(t[1]?"applied":"")+" svelte-66pry7")&&h(n,"class",B),4&e&&et!==(et=t[2].summary+"")&&(G.innerHTML=et)},d(t){t&&i(e),st&&st.d(),lt.d()}}}function ot(e){let n;return{c(){n=d("Applied!")},m(t,e){l(t,n,e)},p:t,d(t){t&&i(n)}}}function rt(e){let n,o;return{c(){n=u("button"),n.textContent="Applied",h(n,"class","btn btn-sm btn-primary")},m(t,r,s){l(t,n,r),s&&o(),o=p(n,"click",e[3])},p:t,d(t){t&&i(n),o()}}}function st(e){let n;function o(t,e){return t[0]?nt:et}let r=o(e),s=r(e);return{c(){s.c(),n=d("")},m(t,e){s.m(t,e),l(t,n,e)},p(t,[e]){r===(r=o(t))&&s?s.p(t,e):(s.d(1),s=r(t),s&&(s.c(),s.m(n.parentNode,n)))},i:t,o:t,d(t){s.d(t),t&&i(n)}}}function at(t){for(const e in t)if(t.hasOwnProperty(e))return!1;return!0}function ct(t,e,n){let o;a(t,W,t=>n(2,o=t));let r=!1,s=!1;return W.subscribe(t=>{n(0,r=!at(t)),console.log("JobDetails.subscribe",t)}),t.$$.update=()=>{4&t.$$.dirty&&(at(o)||(console.log("jobdetails.data:",o),console.log("Applied:",o.applied),n(1,s="number"==typeof o.applied&&0!==o.applied)))},[r,s,o,function(){B.appliedJob(o._id)}]}class lt extends D{constructor(t){super(),E(this,t,ct,st,s,{})}}function it(e){let n,o,r,s,a,d,m;return{c(){n=u("header"),o=u("section"),r=u("span"),r.textContent=""+ut,s=f(),a=u("section"),d=u("button"),d.textContent="Mark All Read",h(r,"class","text-bold navbar-brand mx-1 text-uppercase"),h(o,"class","navbar-section"),h(d,"class","btn btn-sm btn-primary"),h(a,"class","navbar-section text-right"),h(n,"class","navbar bg-primary")},m(t,i,u){l(t,n,i),c(n,o),c(o,r),c(n,s),c(n,a),c(a,d),u&&m(),m=p(d,"click",e[0])},p:t,i:t,o:t,d(t){t&&i(n),m()}}}let ut="Jobs";function dt(t){return[function(){B.markAllRead()}]}class ft extends D{constructor(t){super(),E(this,t,dt,it,s,{})}}function pt(e){let n,o,r,s,a;const d=new ft({}),p=new tt({}),m=new lt({});return{c(){N(d.$$.fragment),n=f(),o=u("div"),r=u("div"),N(p.$$.fragment),s=f(),N(m.$$.fragment),h(r,"class","col-12"),h(o,"class","container fullWidth")},m(t,e){O(d,t,e),l(t,n,e),l(t,o,e),c(o,r),O(p,r,null),c(r,s),O(m,r,null),a=!0},p:t,i(t){a||(S(d.$$.fragment,t),S(p.$$.fragment,t),S(m.$$.fragment,t),a=!0)},o(t){M(d.$$.fragment,t),M(p.$$.fragment,t),M(m.$$.fragment,t),a=!1},d(t){R(d,t),t&&i(n),t&&i(o),R(p),R(m)}}}var ht=1e3,mt=6e4,gt=60*mt,bt=24*gt,yt=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!e)return;var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*bt;case"hours":case"hour":case"hrs":case"hr":case"h":return n*gt;case"minutes":case"minute":case"mins":case"min":case"m":return n*mt;case"seconds":case"second":case"secs":case"sec":case"s":return n*ht;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(t);if("number"===n&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=bt)return vt(t,e,bt,"day");if(e>=gt)return vt(t,e,gt,"hour");if(e>=mt)return vt(t,e,mt,"minute");if(e>=ht)return vt(t,e,ht,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=bt)return Math.round(t/bt)+"d";if(e>=gt)return Math.round(t/gt)+"h";if(e>=mt)return Math.round(t/mt)+"m";if(e>=ht)return Math.round(t/ht)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function vt(t,e,n,o){var r=e>=1.5*n;return Math.round(t/n)+" "+o+(r?"s":"")}let $t=0;const wt=new class extends D{constructor(t){super(),E(this,t,null,pt,s,{})}}({target:document.body});return function t(){B.getJobList();const e=yt("15m");console.log("Next:",e),$t=setTimeout(()=>{t()},e)}(),wt}(); diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..4871e05 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,28 @@ +FROM debian:12-slim +# FROM alpine:latest + +WORKDIR /app + +RUN mkdir -p /app/dist + +COPY ./go-jobscraper /app/ + + +COPY ./dist /app/dist + +RUN apt-get update && apt-get install -y ca-certificates + +# Need the following to get a go app to run inside a docker container +# as per: https://www.fairlyusefulcode.co.uk/post/go-alpine-linux/ -- DEAD!!! +# RUN apk upgrade musl +# RUN apk add gcompat + +# RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 +# RUN ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 + +RUN chmod +x /app/go-jobscraper + +EXPOSE 3600 + +CMD [ "/app/go-jobscraper"] + diff --git a/grabber/grabber.go b/grabber/grabber.go index 6f899fe..1bb673c 100644 --- a/grabber/grabber.go +++ b/grabber/grabber.go @@ -53,7 +53,7 @@ func Grab(url string) []RssItem { log.Printf("Length %v\n", len(items)) - items = acceptItems(items) + acceptItems(items) log.Printf("Length %v\n", len(items)) diff --git a/server.go b/server.go index 5d60749..3ac7b50 100644 --- a/server.go +++ b/server.go @@ -89,7 +89,10 @@ func main() { c := cron.New() - c.AddFunc("*/15 * * * *", func() { JobWorker(db) }) + c.AddFunc("CRON_TZ=Europe/London */15 7-21 * * 1-5", func() { JobWorker(db) }) + c.AddFunc("CRON_TZ=Europe/London */60 22-23 * * 1-5", func() { JobWorker(db) }) + c.AddFunc("CRON_TZ=Europe/London */90 0-6 * * 1-5", func() { JobWorker(db) }) + c.AddFunc("CRON_TZ=Europe/London */90 0-23 * * 6,0", func() { JobWorker(db) }) c.Start() @@ -126,6 +129,9 @@ func main() { app.Put("/jobs/:id", func(c *fiber.Ctx) error { return markJobAsReadById(c, db) }) + app.Put("/apply/:id", func(c *fiber.Ctx) error { + return markJobAsAppliedById(c, db) + }) log.Fatalln(app.Listen(fmt.Sprintf(":%v", port))) @@ -152,6 +158,7 @@ func JobWorker(db *pgxpool.Pool) { entries := grabber.Grab(url.Url) InsertJobs(db, entries) + time.Sleep(5 * time.Second) } @@ -226,7 +233,7 @@ func getJobs(c *fiber.Ctx, db *pgxpool.Pool) error { var jobs []JobEntries - rows, err := db.Query(context.Background(), `SELECT jobs._id, jobs.title, jobs.site, jobs.company, jobs.timestamp, coalesce(applied.a, 0) as a, coalesce(read.d, 0) as d + rows, err := db.Query(context.Background(), `SELECT jobs._id, jobs.title, jobs.site, jobs.company, jobs.postdate, jobs.timestamp, coalesce(applied.a, 0) as a, coalesce(read.d, 0) as d FROM jobs left join applied on applied.aid = jobs._id left join read on read.rid = jobs._id order by jobs._id desc`) @@ -240,7 +247,7 @@ left join read on read.rid = jobs._id order by jobs._id desc`) for rows.Next() { var job JobEntries - if err := rows.Scan(&job.ID, &job.Title, &job.Site, &job.Company, &job.Timestamp, &job.Applied, &job.Read); err != nil { + if err := rows.Scan(&job.ID, &job.Title, &job.Site, &job.Company, &job.Postdate, &job.Timestamp, &job.Applied, &job.Read); err != nil { return err } @@ -301,7 +308,7 @@ func markJobAsReadById(c *fiber.Ctx, db *pgxpool.Pool) error { t := time.Now() if id != "" { - log.Println("Marking entry %v as read", id) + log.Printf("Marking entry %v as read", id) r, err := db.Exec(context.Background(), `INSERT INTO public."read" ("_id", rid, d) VALUES(nextval('read__id_seq'::regclass), $1, $2);`, id, t.Unix()) if err != nil { @@ -315,3 +322,26 @@ func markJobAsReadById(c *fiber.Ctx, db *pgxpool.Pool) error { return c.SendStatus(200) } + +func markJobAsAppliedById(c *fiber.Ctx, db *pgxpool.Pool) error { + log.Println("markJobAsAppliedById") + id := c.Params("id") + log.Printf("-- %+v\n", id) + + t := time.Now() + + if id != "" { + log.Printf("Marking entry %v as applied", id) + + r, err := db.Exec(context.Background(), `INSERT INTO public."applied" ("_id", aid, a) VALUES(nextval('read__id_seq'::regclass), $1, $2);`, id, t.Unix()) + if err != nil { + log.Printf("An error occured while executing query: %v", err) + } + if r.RowsAffected() != 1 { + return errors.New("No row affected...") + } + log.Println("***") + } + + return c.SendStatus(200) +}