Skip to content

Commit 2f1decc

Browse files
committed
revert gmail filter
1 parent 97229f6 commit 2f1decc

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

backend/src/main/java/com/thughari/jobtrackerpro/service/GmailIntegrationService.java

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -57,41 +57,7 @@ public class GmailIntegrationService {
5757
}
5858
}
5959

60-
private static final List<String> MAJOR_ATS = List.of(
61-
"myworkday.com", "greenhouse.io", "lever.co", "smartrecruiters.com",
62-
"icims.com", "jobvite.com", "bamboo.hr", "workablemail.com",
63-
"successfactors.com", "taleo.net", "avature.net", "newtonsoftware.com"
64-
);
65-
66-
private static final List<String> JOB_BOARDS = List.of(
67-
"linkedin.com", "indeed.com", "glassdoor.com", "ziprecruiter.com",
68-
"monster.com", "careerbuilder.com", "simplyhired.com", "careerjet.com"
69-
);
70-
71-
private static final List<String> TECH_REMOTE = List.of(
72-
"wellfound.com", "angel.co", "stackoverflow.com", "remoteok.io",
73-
"weworkremotely.com", "flexjobs.com", "workingnomads.co", "remote.co",
74-
"remotive.io", "jobs.github.com", "hackerrank.com", "hackerearth.com", "codility.com"
75-
);
76-
77-
private static final List<String> DESIGN_CREATIVE = List.of(
78-
"dribbble.com", "behance.net", "coroflot.com", "99designs.com",
79-
"artstation.com", "creativepool.com", "krop.com"
80-
);
81-
82-
public static final String ATS_FILTER;
83-
84-
static {
85-
Set<String> allDomains = new LinkedHashSet<>();
86-
allDomains.addAll(MAJOR_ATS);
87-
allDomains.addAll(JOB_BOARDS);
88-
allDomains.addAll(TECH_REMOTE);
89-
allDomains.addAll(DESIGN_CREATIVE);
90-
91-
ATS_FILTER = "from:(" + String.join(" OR ", allDomains) + ")";
92-
}
93-
94-
// private static final String ATS_FILTER = "from:(myworkday.com OR greenhouse.io OR lever.co OR smartrecruiters.com OR icims.com OR jobvite.com OR bamboo.hr OR workablemail.com OR successfactors.com OR taleo.net OR avature.net OR jobs2careers.com OR ziprecruiter.com OR monster.com OR careerbuilder.com OR wellfound.com OR lu.ma OR breezy.hr OR jazzhr.com OR comeet.com OR recruitee.com OR teamtailor.com OR applytojob.com OR jobs.github.com OR hackerrankforwork.com OR hackerrank.com OR hackerearth.com OR codility.com OR testgorilla.com OR hirevue.com OR vidcruiter.com OR codemetry.com OR pymetrics.com OR hired.com OR triplebyte.com OR newtonsoftware.com OR jobadder.com OR jobscore.com OR jobsoid.com OR jobplex.com OR jobdroid.com OR jobiak.com OR jobg8.com OR jobisjob.com OR jobrapido.com OR simplyhired.com OR glassdoor.com OR indeed.com OR remoteok.io OR weworkremotely.com OR remote.co OR angel.co OR stackoverflow.com)";
60+
private static final String ATS_FILTER = "from:(myworkday.com OR greenhouse.io OR lever.co OR smartrecruiters.com OR icims.com OR jobvite.com OR bamboo.hr OR workablemail.com OR successfactors.com OR taleo.net OR avature.net OR jobs2careers.com OR ziprecruiter.com OR monster.com OR careerbuilder.com OR wellfound.com OR lu.ma OR breezy.hr OR jazzhr.com OR comeet.com OR recruitee.com OR teamtailor.com OR applytojob.com OR jobs.github.com OR hackerrankforwork.com OR hackerrank.com OR hackerearth.com OR codility.com OR testgorilla.com OR hirevue.com OR vidcruiter.com OR codemetry.com OR pymetrics.com OR hired.com OR triplebyte.com OR newtonsoftware.com OR jobadder.com OR jobscore.com OR jobsoid.com OR jobplex.com OR jobdroid.com OR jobiak.com OR jobg8.com OR jobisjob.com OR jobrapido.com OR simplyhired.com OR glassdoor.com OR indeed.com OR remoteok.io OR weworkremotely.com OR remote.co OR angel.co OR stackoverflow.com)";
9561
private static final String SUBJECT_FILTER = "subject:(Application OR Applied OR Applying OR Thanks OR \"Thank You\" OR Received OR Confirmation OR Interview OR Status OR Sollicitatie OR Engineer OR Developer OR Analyst OR Scientist OR Specialist OR Invitation OR Invite OR Assessment OR Challenge OR Test OR Screened OR Position OR Declaration OR Talent OR Opportunity OR Role OR Job OR Opening OR Opened OR Lead OR Recruiter OR HR OR \"Human Resources\" OR Hiring OR Resume OR CV)";
9662
private static final String EXCLUSIONS = " -\"payment\" -\"invoice\" -\"otp\" -\"transaction\" -\"statement\" -\"bank\" -\"security alert\" -\"verification code\"";
9763

0 commit comments

Comments
 (0)