...
 
Commits (2)
......@@ -3,9 +3,9 @@ source/app.settings.ts
node_modules/*
drupal/*
!drupal/modules/
/modules/oauthost/src/controller/cbcontroller.php
.idea/e-eggrafes.iml
.idea/*
drupal/modules/oauthost/src/Controller/CBController.php
.*/
!/.gitignore
# Logs
*.log
......
......@@ -2,6 +2,7 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="41837a91-7c6f-4adf-bf32-0aa3b0b7965c" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/drupal/vendor/behat/mink/tests/Driver/CoreDriverTest.php" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/drupal/vendor/behat/mink/tests/Element/DocumentElementTest.php" beforeDir="false" />
......@@ -271,7 +272,6 @@
<change beforePath="$PROJECT_DIR$/drupal/vendor/drupal/coder/coder_sniffer/DrupalPractice/Test/Yaml/routing_access_test.routing.yml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/drupal/vendor/drupal/coder/coder_sniffer/DrupalPractice/Test/good/GoodUnitTest.php" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/drupal/vendor/drupal/coder/coder_sniffer/DrupalPractice/Test/good/good.php" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/source/components/minister/admin-minister-settings.ts" beforeDir="false" afterPath="$PROJECT_DIR$/source/components/minister/admin-minister-settings.ts" afterDir="false" />
</list>
<ignored path="$PROJECT_DIR$/dist/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
......@@ -290,10 +290,10 @@
<session id="824825880">
<usages-collector id="statistics.lifecycle.project">
<counts>
<entry key="project.closed" value="1" />
<entry key="project.open.time.16" value="1" />
<entry key="project.closed" value="2" />
<entry key="project.open.time.16" value="2" />
<entry key="project.open.time.7" value="1" />
<entry key="project.opened" value="2" />
<entry key="project.opened" value="3" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.open">
......@@ -314,7 +314,7 @@
</usages-collector>
<usages-collector id="statistics.file.extensions.edit">
<counts>
<entry key="gitignore" value="12" />
<entry key="gitignore" value="38" />
<entry key="html" value="9" />
<entry key="ts" value="524" />
<entry key="yml" value="1" />
......@@ -323,7 +323,7 @@
<usages-collector id="statistics.file.types.edit">
<counts>
<entry key="HTML" value="11" />
<entry key="PLAIN_TEXT" value="12" />
<entry key="PLAIN_TEXT" value="38" />
<entry key="TypeScript" value="522" />
<entry key="YAML" value="1" />
</counts>
......@@ -346,10 +346,10 @@
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/source/components/minister/admin-minister-settings.ts">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2536">
<state relative-caret-position="553">
<caret line="219" column="34" selection-start-line="219" selection-start-column="34" selection-end-line="219" selection-end-column="34" />
<folding>
<element signature="e#0#47#0" expanded="true" />
......@@ -358,11 +358,11 @@
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/.gitignore">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="8" selection-start-line="8" selection-end-line="8" />
<state relative-caret-position="435">
<caret line="29" lean-forward="true" selection-start-line="29" selection-end-line="29" />
</state>
</provider>
</entry>
......@@ -386,9 +386,9 @@
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/drupal/modules/deploysystem/deploysystem.routing.yml" />
<option value="$PROJECT_DIR$/.gitignore" />
<option value="$PROJECT_DIR$/source/components/navbar/navbar.component.html" />
<option value="$PROJECT_DIR$/source/components/minister/admin-minister-settings.ts" />
<option value="$PROJECT_DIR$/.gitignore" />
</list>
</option>
</component>
......@@ -506,7 +506,6 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
......@@ -542,6 +541,7 @@
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
......@@ -584,17 +584,19 @@
<option name="presentableId" value="Default" />
<updated>1545121746803</updated>
<workItem from="1545121751480" duration="7516000" />
<workItem from="1545215126842" duration="4053000" />
<workItem from="1545215126842" duration="5664000" />
<workItem from="1545388753210" duration="1254000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="11569000" />
<option name="totallyTimeSpent" value="14434000" />
</component>
<component name="ToolWindowManager">
<frame x="-1" y="0" width="1282" height="980" extended-state="6" />
<editor active="true" />
<layout>
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25364667" />
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25769854" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="npm" order="2" side_tool="true" />
<window_info id="Favorites" order="3" side_tool="true" />
......@@ -610,7 +612,7 @@
<window_info anchor="bottom" id="Database Changes" order="9" show_stripe_button="false" />
<window_info anchor="bottom" id="TypeScript" order="10" weight="0.32902467" />
<window_info anchor="bottom" id="Event Log" order="11" sideWeight="0.50162077" side_tool="true" weight="0.32902467" />
<window_info active="true" anchor="bottom" id="Terminal" order="12" sideWeight="0.49837926" visible="true" weight="0.32902467" />
<window_info active="true" anchor="bottom" id="Terminal" order="12" sideWeight="0.49837926" visible="true" weight="0.25381905" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
......@@ -646,16 +648,9 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.gitignore">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="120">
<caret line="8" selection-start-line="8" selection-end-line="8" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/source/components/minister/admin-minister-settings.ts">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2536">
<state relative-caret-position="553">
<caret line="219" column="34" selection-start-line="219" selection-start-column="34" selection-end-line="219" selection-end-column="34" />
<folding>
<element signature="e#0#47#0" expanded="true" />
......@@ -663,6 +658,13 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/.gitignore">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="435">
<caret line="29" lean-forward="true" selection-start-line="29" selection-end-line="29" />
</state>
</provider>
</entry>
</component>
<component name="masterDetails">
<states>
......
......@@ -351,8 +351,7 @@ class CBController extends ControllerBase
public function getXMLElements($doc){
$webUserDetails = $doc->getElementsByTagName( "WebUserDetails" );
if (!$webUserDetails || $webUserDetails->length === 0)
return false;
/*
//return false;
return array( // to be changed to empty array
'firstName' => '',
'surname' => '',
......@@ -360,7 +359,6 @@ class CBController extends ControllerBase
'comments' => '',
'tin' => '12345'
);
*/
foreach( $webUserDetails as $element )
......@@ -382,8 +380,7 @@ class CBController extends ControllerBase
$tin = $tins->item(0)->nodeValue;
if (!$tin || $tin === '')
return false;
/*
//return false;
return array( // to be changed to empty array
'firstName' => '',
'surname' => '',
......@@ -391,7 +388,6 @@ class CBController extends ControllerBase
'comments' => '',
'tin' => '12345'
);
*/
return array(
'firstName' => $firstName,
......@@ -402,4 +398,4 @@ class CBController extends ControllerBase
);
}
}
}
}
\ No newline at end of file