jobs fix, reverted

This commit is contained in:
Martin Donnelly 2017-09-11 12:31:41 +01:00
parent 8c2c1d2281
commit af1c425b30
3 changed files with 32 additions and 88 deletions

View File

@ -58,10 +58,10 @@
<file leaf-file-name="jobs-corpus.js" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/jobs-corpus.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="244">
<caret line="258" column="0" lean-forward="false" selection-start-line="258" selection-start-column="0" selection-end-line="258" selection-end-column="0" />
<state relative-caret-position="331">
<caret line="259" column="0" lean-forward="false" selection-start-line="259" selection-start-column="0" selection-end-line="259" selection-end-column="0" />
<folding>
<marker date="1505129349000" expanded="true" signature="15038:15058" ph="..." />
<marker date="1505129491000" expanded="true" signature="15625:15645" ph="..." />
</folding>
</state>
</provider>
@ -80,8 +80,8 @@
<file leaf-file-name="fixer.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/fixer.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="386">
<caret line="170" column="0" lean-forward="true" selection-start-line="170" selection-start-column="0" selection-end-line="170" selection-end-column="0" />
<state relative-caret-position="446">
<caret line="174" column="19" lean-forward="false" selection-start-line="174" selection-start-column="19" selection-end-line="174" selection-end-column="19" />
<folding />
</state>
</provider>
@ -520,14 +520,7 @@
<workItem from="1500370528349" duration="12243000" />
<workItem from="1500567464596" duration="598000" />
<workItem from="1501109852743" duration="15000" />
<workItem from="1505124639040" duration="3186000" />
</task>
<task id="LOCAL-00052" summary="changing log level for bunyan">
<created>1467711377493</created>
<option name="number" value="00052" />
<option name="presentableId" value="LOCAL-00052" />
<option name="project" value="LOCAL" />
<updated>1467711377496</updated>
<workItem from="1505124639040" duration="3327000" />
</task>
<task id="LOCAL-00053" summary="changing log level for bunyan">
<created>1467711568699</created>
@ -865,11 +858,18 @@
<option name="project" value="LOCAL" />
<updated>1505126085721</updated>
</task>
<option name="localTasksCounter" value="101" />
<task id="LOCAL-00101" summary="jobs fix, reverted">
<created>1505129360876</created>
<option name="number" value="00101" />
<option name="presentableId" value="LOCAL-00101" />
<option name="project" value="LOCAL" />
<updated>1505129360877</updated>
</task>
<option name="localTasksCounter" value="102" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="90758000" />
<option name="totallyTimeSpent" value="90899000" />
</component>
<component name="ToolWindowManager">
<frame x="32" y="23" width="1966" height="1129" extended-state="0" />
@ -878,9 +878,9 @@
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.13419023" sideWeight="0.65890414" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Docker" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.36102867" sideWeight="0.44473007" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33333334" sideWeight="0.6385604" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.36102867" sideWeight="0.5552699" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.36102867" sideWeight="0.44678664" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33333334" sideWeight="0.6359897" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.36102867" sideWeight="0.55321336" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32896176" sideWeight="0.4838976" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3997773" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
@ -1319,14 +1319,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/fixer.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="386">
<caret line="170" column="0" lean-forward="true" selection-start-line="170" selection-start-column="0" selection-end-line="170" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/jobs-local.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1588">
@ -1335,12 +1327,20 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/fixer.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="446">
<caret line="174" column="19" lean-forward="false" selection-start-line="174" selection-start-column="19" selection-end-line="174" selection-end-column="19" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/jobs-corpus.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="244">
<caret line="258" column="0" lean-forward="false" selection-start-line="258" selection-start-column="0" selection-end-line="258" selection-end-column="0" />
<state relative-caret-position="331">
<caret line="259" column="0" lean-forward="false" selection-start-line="259" selection-start-column="0" selection-end-line="259" selection-end-column="0" />
<folding>
<marker date="1505129349000" expanded="true" signature="15038:15058" ph="..." />
<marker date="1505129491000" expanded="true" signature="15625:15645" ph="..." />
</folding>
</state>
</provider>

View File

@ -172,7 +172,7 @@ let list = [
let newArray = list.map((item) => {
let u = url.parse(item.feed_url);
let newUrl = item.feed_url;
if (u.host === 'www.jobsite.co.uk') {
if (u.host !== '') {
newUrl = `http://52.211.105.9:6566/${querystring.escape(item.feed_url)}`;
}
return {count:item.count, 'feed_url' : newUrl}

File diff suppressed because one or more lines are too long