reactivate job-special

This commit is contained in:
Martin Donnelly 2019-08-14 09:59:29 +01:00
parent ab56fae4cd
commit 5280bea01b
3 changed files with 65 additions and 69 deletions

View File

@ -6,9 +6,6 @@
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="mui" level="application" />
<orderEntry type="library" name="jquery-2.2.3" level="application" />
<orderEntry type="library" name="string" level="application" />
</component> </component>
<component name="sonarModuleSettings"> <component name="sonarModuleSettings">
<option name="localAnalysisScripName" value="&lt;PROJECT&gt;" /> <option name="localAnalysisScripName" value="&lt;PROJECT&gt;" />

View File

@ -2,13 +2,9 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="added some news feeds"> <list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="added some news feeds">
<change afterPath="$PROJECT_DIR$/.env" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/rinser.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/rinser.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/jsLibraryMappings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/jsLibraryMappings.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/feeds/news.json" beforeDir="false" afterPath="$PROJECT_DIR$/feeds/news.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/gather.js" beforeDir="false" afterPath="$PROJECT_DIR$/gather.js" afterDir="false" /> <change beforePath="$PROJECT_DIR$/gather.js" beforeDir="false" afterPath="$PROJECT_DIR$/gather.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
</list> </list>
<ignored path="rinser.iws" /> <ignored path="rinser.iws" />
<ignored path=".idea/workspace.xml" /> <ignored path=".idea/workspace.xml" />
@ -29,20 +25,11 @@
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/node_modules/rss-braider/lib/RssBraider.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1548">
<caret line="86" column="25" selection-start-line="86" selection-start-column="25" selection-end-line="86" selection-end-column="25" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/gather.js"> <entry file="file://$PROJECT_DIR$/gather.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="18"> <state relative-caret-position="371">
<caret line="50" column="24" selection-start-line="50" selection-start-column="24" selection-end-line="50" selection-end-column="24" /> <caret line="141" column="19" lean-forward="true" selection-start-line="141" selection-start-column="19" selection-end-line="141" selection-end-column="19" />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -50,7 +37,7 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/node_modules/request/lib/helpers.js"> <entry file="file://$PROJECT_DIR$/node_modules/request/lib/helpers.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="900"> <state relative-caret-position="750">
<caret line="50" column="19" selection-start-line="50" selection-start-column="19" selection-end-line="50" selection-end-column="19" /> <caret line="50" column="19" selection-start-line="50" selection-start-column="19" selection-end-line="50" selection-end-column="19" />
</state> </state>
</provider> </provider>
@ -59,7 +46,7 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/.env"> <entry file="file://$PROJECT_DIR$/.env">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="72"> <state relative-caret-position="60">
<caret line="4" selection-start-line="4" selection-end-line="4" /> <caret line="4" selection-start-line="4" selection-end-line="4" />
</state> </state>
</provider> </provider>
@ -68,25 +55,34 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/pipes-server.js"> <entry file="file://$PROJECT_DIR$/pipes-server.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="648"> <state relative-caret-position="540">
<caret line="36" column="3" selection-start-line="36" selection-start-column="3" selection-end-line="36" selection-end-column="3" /> <caret line="36" column="3" selection-start-line="36" selection-start-column="3" selection-end-line="36" selection-end-column="3" />
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/feeds/news.json"> <entry file="file://$PROJECT_DIR$/feeds/news.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="741"> <state relative-caret-position="844">
<caret line="118" column="5" selection-start-line="118" selection-start-column="5" selection-end-line="118" selection-end-column="5" /> <caret line="118" column="5" selection-start-line="118" selection-start-column="5" selection-end-line="118" selection-end-column="5" />
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="660">
<caret line="44" column="3" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/test.js"> <entry file="file://$PROJECT_DIR$/test.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="180"> <state relative-caret-position="150">
<caret line="10" column="63" selection-start-line="10" selection-start-column="63" selection-end-line="10" selection-end-column="63" /> <caret line="10" column="63" selection-start-line="10" selection-start-column="63" selection-end-line="10" selection-end-column="63" />
</state> </state>
</provider> </provider>
@ -104,7 +100,7 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/jobs-local.js"> <entry file="file://$PROJECT_DIR$/jobs-local.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="270"> <state relative-caret-position="225">
<caret line="15" column="62" selection-end-line="146" /> <caret line="15" column="62" selection-end-line="146" />
</state> </state>
</provider> </provider>
@ -113,7 +109,7 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js"> <entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="126"> <state relative-caret-position="105">
<caret line="7" column="37" selection-start-line="7" selection-start-column="26" selection-end-line="7" selection-end-column="37" /> <caret line="7" column="37" selection-start-line="7" selection-start-column="26" selection-end-line="7" selection-end-column="37" />
</state> </state>
</provider> </provider>
@ -232,9 +228,9 @@
<option value="$PROJECT_DIR$/test.js" /> <option value="$PROJECT_DIR$/test.js" />
<option value="$PROJECT_DIR$/plugins/filter_md_jobs.js" /> <option value="$PROJECT_DIR$/plugins/filter_md_jobs.js" />
<option value="$PROJECT_DIR$/plugins/filter_show.js" /> <option value="$PROJECT_DIR$/plugins/filter_show.js" />
<option value="$PROJECT_DIR$/gather.js" />
<option value="$PROJECT_DIR$/.env" /> <option value="$PROJECT_DIR$/.env" />
<option value="$PROJECT_DIR$/feeds/news.json" /> <option value="$PROJECT_DIR$/feeds/news.json" />
<option value="$PROJECT_DIR$/gather.js" />
</list> </list>
</option> </option>
</component> </component>
@ -245,11 +241,10 @@
<other-services-enabled>false</other-services-enabled> <other-services-enabled>false</other-services-enabled>
<auto-save>true</auto-save> <auto-save>true</auto-save>
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="383" /> <option name="y" value="23" />
<option name="y" value="85" />
<option name="width" value="2513" /> <option name="width" value="2513" />
<option name="height" value="1611" /> <option name="height" value="1129" />
</component> </component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true" /> <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectView"> <component name="ProjectView">
@ -257,6 +252,7 @@
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="Scope" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <expand>
@ -278,7 +274,6 @@
<select /> <select />
</subPane> </subPane>
</pane> </pane>
<pane id="Scope" />
</panes> </panes>
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
@ -309,7 +304,7 @@
<property name="js-jscs-nodeInterpreter" value="C:\Program Files\nodejs\node.exe" /> <property name="js-jscs-nodeInterpreter" value="C:\Program Files\nodejs\node.exe" />
<property name="js.buildTools.gulp.gulp_package_dir" value="$PROJECT_DIR$/node_modules/gulp" /> <property name="js.buildTools.gulp.gulp_package_dir" value="$PROJECT_DIR$/node_modules/gulp" />
<property name="js.buildTools.gulp.node_interpreter" value="C:\Program Files\nodejs\node.exe" /> <property name="js.buildTools.gulp.node_interpreter" value="C:\Program Files\nodejs\node.exe" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../docket" /> <property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="list.type.of.created.stylesheet" value="SCSS" /> <property name="list.type.of.created.stylesheet" value="SCSS" />
<property name="node.js.detected.package.eslint" value="true" /> <property name="node.js.detected.package.eslint" value="true" />
<property name="node.js.detected.package.jscs" value="true" /> <property name="node.js.detected.package.jscs" value="true" />
@ -319,7 +314,7 @@
<property name="node.js.path.for.package.jscs" value="project" /> <property name="node.js.path.for.package.jscs" value="project" />
<property name="node.js.path.for.package.prettier" value="project" /> <property name="node.js.path.for.package.prettier" value="project" />
<property name="node.js.path.for.package.standard" value="node" /> <property name="node.js.path.for.package.standard" value="node" />
<property name="node.js.selected.package.eslint" value="$USER_HOME$/.nvm/versions/node/v8.12.0/lib/node_modules/eslint" /> <property name="node.js.selected.package.eslint" value="$USER_HOME$/.nvm/versions/node/v10.16.2/lib/node_modules/eslint" />
<property name="node.js.selected.package.jscs" value="" /> <property name="node.js.selected.package.jscs" value="" />
<property name="node.js.selected.package.prettier" value="" /> <property name="node.js.selected.package.prettier" value="" />
<property name="node.js.selected.package.standard" value="$USER_HOME$/.nvm/versions/node/v8.12.0/lib/node_modules/eslint" /> <property name="node.js.selected.package.standard" value="$USER_HOME$/.nvm/versions/node/v8.12.0/lib/node_modules/eslint" />
@ -533,6 +528,7 @@
<workItem from="1546521866243" duration="599000" /> <workItem from="1546521866243" duration="599000" />
<workItem from="1554728925330" duration="256000" /> <workItem from="1554728925330" duration="256000" />
<workItem from="1554729814612" duration="1220000" /> <workItem from="1554729814612" duration="1220000" />
<workItem from="1565772884918" duration="254000" />
</task> </task>
<task id="LOCAL-00092" summary="jobs fix, reverted"> <task id="LOCAL-00092" summary="jobs fix, reverted">
<created>1500421599015</created> <created>1500421599015</created>
@ -881,19 +877,19 @@
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="159485000" /> <option name="totallyTimeSpent" value="159739000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="383" y="85" width="2513" height="1611" extended-state="0" /> <frame x="0" y="23" width="2048" height="1129" extended-state="6" />
<editor active="true" /> <editor active="true" />
<layout> <layout>
<window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.6797829" visible="true" weight="0.38430256" /> <window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.6797829" visible="true" weight="0.19240257" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" /> <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Gulp" order="2" sideWeight="0.3202171" side_tool="true" weight="0.18009207" /> <window_info id="Gulp" order="2" sideWeight="0.3202171" side_tool="true" weight="0.18009207" />
<window_info id="Favorites" order="3" side_tool="true" /> <window_info id="Favorites" order="3" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" /> <window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" weight="0.3281106" /> <window_info anchor="bottom" id="Find" order="1" weight="0.3281106" />
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.63000566" visible="true" weight="0.35885167" /> <window_info anchor="bottom" id="Run" order="2" sideWeight="0.63000566" weight="0.35885167" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.39940536" /> <window_info anchor="bottom" id="Debug" order="3" weight="0.39940536" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
@ -1266,13 +1262,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="792">
<caret line="44" column="3" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/feeds/paleo.json"> <entry file="file://$PROJECT_DIR$/feeds/paleo.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="630"> <state relative-caret-position="630">
@ -1309,35 +1298,35 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/node_modules/rss-braider/lib/RssBraider.js"> <entry file="file://$PROJECT_DIR$/node_modules/rss-braider/lib/RssBraider.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1548"> <state relative-caret-position="1290">
<caret line="86" column="25" selection-start-line="86" selection-start-column="25" selection-end-line="86" selection-end-column="25" /> <caret line="86" column="25" selection-start-line="86" selection-start-column="25" selection-end-line="86" selection-end-column="25" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/node_modules/request/lib/helpers.js"> <entry file="file://$PROJECT_DIR$/node_modules/request/lib/helpers.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="900"> <state relative-caret-position="750">
<caret line="50" column="19" selection-start-line="50" selection-start-column="19" selection-end-line="50" selection-end-column="19" /> <caret line="50" column="19" selection-start-line="50" selection-start-column="19" selection-end-line="50" selection-end-column="19" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/.env"> <entry file="file://$PROJECT_DIR$/.env">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="72"> <state relative-caret-position="60">
<caret line="4" selection-start-line="4" selection-end-line="4" /> <caret line="4" selection-start-line="4" selection-end-line="4" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/pipes-server.js"> <entry file="file://$PROJECT_DIR$/pipes-server.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="648"> <state relative-caret-position="540">
<caret line="36" column="3" selection-start-line="36" selection-start-column="3" selection-end-line="36" selection-end-column="3" /> <caret line="36" column="3" selection-start-line="36" selection-start-column="3" selection-end-line="36" selection-end-column="3" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/test.js"> <entry file="file://$PROJECT_DIR$/test.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="180"> <state relative-caret-position="150">
<caret line="10" column="63" selection-start-line="10" selection-start-column="63" selection-end-line="10" selection-end-column="63" /> <caret line="10" column="63" selection-start-line="10" selection-start-column="63" selection-end-line="10" selection-end-column="63" />
</state> </state>
</provider> </provider>
@ -1351,31 +1340,38 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/jobs-local.js"> <entry file="file://$PROJECT_DIR$/jobs-local.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="270"> <state relative-caret-position="225">
<caret line="15" column="62" selection-end-line="146" /> <caret line="15" column="62" selection-end-line="146" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js"> <entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="126"> <state relative-caret-position="105">
<caret line="7" column="37" selection-start-line="7" selection-start-column="26" selection-end-line="7" selection-end-column="37" /> <caret line="7" column="37" selection-start-line="7" selection-start-column="26" selection-end-line="7" selection-end-column="37" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/gather.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="18">
<caret line="50" column="24" selection-start-line="50" selection-start-column="24" selection-end-line="50" selection-end-column="24" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/feeds/news.json"> <entry file="file://$PROJECT_DIR$/feeds/news.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="741"> <state relative-caret-position="844">
<caret line="118" column="5" selection-start-line="118" selection-start-column="5" selection-end-line="118" selection-end-column="5" /> <caret line="118" column="5" selection-start-line="118" selection-start-column="5" selection-end-line="118" selection-end-column="5" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="660">
<caret line="44" column="3" selection-start-line="44" selection-start-column="3" selection-end-line="44" selection-end-column="3" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/gather.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="371">
<caret line="141" column="19" lean-forward="true" selection-start-line="141" selection-start-column="19" selection-end-line="141" selection-end-column="19" />
</state>
</provider>
</entry>
</component> </component>
</project> </project>

View File

@ -29,8 +29,6 @@ require('dotenv').config({
'path': `${__dirname }/../.env` 'path': `${__dirname }/../.env`
}); });
const braiderOptions = { const braiderOptions = {
feeds, feeds,
'indent': ' ', 'indent': ' ',
@ -102,12 +100,11 @@ async function gatherXML(feedName, fileName) {
} }
async function main() { async function main() {
/*
await gatherV2('jobsSpecial', 'jobs-special', 'rss').then((d) => { await gatherV2('jobsSpecial', 'jobs-special', 'rss').then((d) => {
logger.debug(d); logger.debug(d);
}).catch((e) => { }).catch((e) => {
logger.error(e); logger.error(e);
});*/ });
await gatherV2('news', 'news', 'json').then((d) => { await gatherV2('news', 'news', 'json').then((d) => {
logger.info(d); logger.info(d);
@ -140,11 +137,17 @@ async function main() {
logger.error(e); logger.error(e);
}); });
/* await gatherV2('jobsSpecial', 'jobs-special', 'json').then((d) => { await gatherV2('jobsSpecial', 'jobs-special', 'json').then((d) => {
logger.debug(d); logger.debug(d);
}).catch((e) => { }).catch((e) => {
logger.error(e); logger.error(e);
});*/ });
await gatherV2('jobsLocal', 'jobs-local', 'json').then((d) => {
logger.debug(d);
}).catch((e) => {
logger.error(e);
});
// await gatherXML('jobsLocal','jobs-local'); // await gatherXML('jobsLocal','jobs-local');
} }
@ -172,5 +175,5 @@ function tick() {
() => tick(), () => tick(),
toHour() toHour()
); );
main(); main();
})(); })();