Almost done, just the answer system and query is missing

Took 4 hours 10 minutes
This commit is contained in:
2020-10-02 16:23:04 +02:00
parent c37ad92dbc
commit 8559e3388d
18 changed files with 1569 additions and 87 deletions

19
.idea/dataSources.local.xml generated Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="dataSourceStorageLocal">
<data-source name="MariaDB - online-faq@localhost" uuid="65fbffc3-50a7-47a2-a01c-f1ba428cec6e">
<database-info product="MariaDB" version="10.4.14-MariaDB" jdbc-version="4.2" driver-name="MariaDB Connector/J" driver-version="2.6.0" dbms="MARIADB" exact-version="10.4.14" exact-driver-version="2.6">
<extra-name-characters>#@</extra-name-characters>
<identifier-quote-string>`</identifier-quote-string>
</database-info>
<case-sensitivity plain-identifiers="exact" quoted-identifiers="exact" />
<secret-storage>master_key</secret-storage>
<user-name>online-faq</user-name>
<schema-mapping>
<introspection-scope>
<node kind="schema" qname="@" />
</introspection-scope>
</schema-mapping>
</data-source>
</component>
</project>

11
.idea/dataSources.xml generated Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="MariaDB - online-faq@localhost" uuid="65fbffc3-50a7-47a2-a01c-f1ba428cec6e">
<driver-ref>mariadb</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.mariadb.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mariadb://localhost:3306/online-faq</jdbc-url>
</data-source>
</component>
</project>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
#n:information_schema
!<md> [null, 0, null, null, -2147483648, -2147483648]

114
.idea/workspace.xml generated
View File

@ -20,56 +20,20 @@
</component>
<component name="ChangeListManager">
<list default="true" id="fc13552d-b118-4828-b78f-fc8714e0cfdc" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/.idea/jsLibraryMappings.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/php.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/classes/Api.class.inc.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/config.inc.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/controller/FaqController.class.inc.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/model/FaqModel.class.inc.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/faq.tmpl.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/templates/start.tmpl.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap-grid.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap-grid.css.map" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap-grid.min.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap-grid.min.css.map" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap-reboot.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap-reboot.css.map" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap-reboot.min.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap-reboot.min.css.map" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap.css.map" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap.min.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/bootstrap.min.css.map" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/default.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/css/sticky-footer-navbar.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/bootstrap.bundle.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/bootstrap.bundle.js.map" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/bootstrap.bundle.min.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/bootstrap.bundle.min.js.map" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/bootstrap.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/bootstrap.js.map" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/bootstrap.min.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/bootstrap.min.js.map" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/jquery-3.5.1.min.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/start.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/views/Apitemplate.class.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/codeStyles/codeStyleConfig.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/codeStyles/codeStyleConfig.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/online-faq.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/online-faq.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/vcs.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/LICENSE" beforeDir="false" afterPath="$PROJECT_DIR$/LICENSE" afterDir="false" />
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/SECURITY.md" beforeDir="false" afterPath="$PROJECT_DIR$/SECURITY.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/classes/Autoloader.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/classes/Autoloader.class.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/classes/Database.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/classes/Database.class.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/classes/Factory.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/classes/Factory.class.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/classes/Request.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/classes/Request.class.inc.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/dataSources.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/vendor/js/faq.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/classes/Api.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/classes/Api.class.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/config.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/controller/DefaultController.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/controller/DefaultController.class.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/controller/FaqController.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/controller/FaqController.class.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/main.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/model/DefaultModel.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/model/DefaultModel.class.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/templates/test.tmpl.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/test.tmpl.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/views/Template.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/views/Template.class.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/model/FaqModel.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/model/FaqModel.class.inc.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/templates/faq.tmpl.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/faq.tmpl.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/templates/start.tmpl.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/start.tmpl.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/views/Apitemplate.class.inc.php" beforeDir="false" afterPath="$PROJECT_DIR$/views/Apitemplate.class.inc.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -80,7 +44,7 @@
<execution />
</component>
<component name="DarkyenusTimeTracker">
<option name="totalTimeSeconds" value="8993" />
<option name="totalTimeSeconds" value="24012" />
<option name="gitIntegration" value="true" />
<option name="naggedAbout" value="1" />
</component>
@ -102,11 +66,13 @@
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">
<property name="DatabaseDriversLRU" value="mysql&#10;mariadb" />
<property name="DefaultHtmlFileTemplate" value="HTML File" />
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/templates" />
<property name="list.type.of.created.stylesheet" value="CSS" />
<property name="settings.editor.selected.configurable" value="reference.settingsdialog.IDE.editor.colors.Database" />
<property name="vue.rearranger.settings.migration" value="true" />
</component>
<component name="RecentsManager">
@ -122,7 +88,7 @@
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1601618466935</updated>
<workItem from="1601618467981" duration="9245000" />
<workItem from="1601618467981" duration="26007000" />
</task>
<task id="LOCAL-00001" summary="Initial commit">
<created>1601618764031</created>
@ -131,7 +97,14 @@
<option name="project" value="LOCAL" />
<updated>1601618764031</updated>
</task>
<option name="localTasksCounter" value="2" />
<task id="LOCAL-00002" summary="Stunden ende, einiges fertig, fehlt nicht mehr viel">
<created>1601628069096</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1601628069096</updated>
</task>
<option name="localTasksCounter" value="3" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -150,9 +123,34 @@
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="Initial commit" />
<option name="LAST_COMMIT_MESSAGE" value="Initial commit" />
<MESSAGE value="Stunden ende, einiges fertig, fehlt nicht mehr viel" />
<option name="LAST_COMMIT_MESSAGE" value="Stunden ende, einiges fertig, fehlt nicht mehr viel" />
</component>
<component name="WindowStateProjectService">
<state x="728" y="326" width="800" height="683" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1601632929047">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state x="728" y="326" width="800" height="683" key="#com.intellij.execution.impl.EditConfigurationsDialog/0.34.1920.1046@0.34.1920.1046" timestamp="1601632929047" />
<state x="200" y="354" width="550" height="412" key="#com.intellij.fileTypes.FileTypeChooser" timestamp="1601642830817">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state x="200" y="354" width="550" height="412" key="#com.intellij.fileTypes.FileTypeChooser/0.34.1920.1046@0.34.1920.1046" timestamp="1601642830817" />
<state width="616" height="272" key="GridCell.Tab.0.bottom" timestamp="1601643582372">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state width="616" height="272" key="GridCell.Tab.0.bottom/0.34.1920.1046@0.34.1920.1046" timestamp="1601643582372" />
<state width="616" height="272" key="GridCell.Tab.0.center" timestamp="1601643582369">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state width="616" height="272" key="GridCell.Tab.0.center/0.34.1920.1046@0.34.1920.1046" timestamp="1601643582369" />
<state width="616" height="272" key="GridCell.Tab.0.left" timestamp="1601643582368">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state width="616" height="272" key="GridCell.Tab.0.left/0.34.1920.1046@0.34.1920.1046" timestamp="1601643582368" />
<state width="616" height="272" key="GridCell.Tab.0.right" timestamp="1601643582370">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state width="616" height="272" key="GridCell.Tab.0.right/0.34.1920.1046@0.34.1920.1046" timestamp="1601643582370" />
<state x="1066" y="308" width="499" height="596" key="NewPhpClassDialog" timestamp="1601624640212">
<screen x="0" y="34" width="1920" height="1046" />
</state>
@ -161,17 +159,25 @@
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state x="755" y="479" width="399" height="161" key="NewPhpFileDialog/0.34.1920.1046@0.34.1920.1046" timestamp="1601618925778" />
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2" timestamp="1601618765171">
<state x="441" y="192" width="1037" height="736" key="SettingsEditor" timestamp="1601632853044">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2/0.34.1920.1046@0.34.1920.1046" timestamp="1601618765171" />
<state x="441" y="192" width="1037" height="736" key="SettingsEditor/0.34.1920.1046@0.34.1920.1046" timestamp="1601632853044" />
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2" timestamp="1601628070210">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2/0.34.1920.1046@0.34.1920.1046" timestamp="1601628070210" />
<state x="809" y="122" width="639" height="876" key="com.intellij.database.view.ui.AbstractDbRefactoringDialog" timestamp="1601632983240">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state x="809" y="122" width="639" height="876" key="com.intellij.database.view.ui.AbstractDbRefactoringDialog/0.34.1920.1046@0.34.1920.1046" timestamp="1601632983240" />
<state x="739" y="469" width="432" height="182" key="com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2" timestamp="1601624836751">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state x="739" y="469" width="432" height="182" key="com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2/0.34.1920.1046@0.34.1920.1046" timestamp="1601624836751" />
<state x="623" y="264" width="672" height="678" key="search.everywhere.popup" timestamp="1601628017554">
<state x="623" y="264" width="672" height="678" key="search.everywhere.popup" timestamp="1601644839580">
<screen x="0" y="34" width="1920" height="1046" />
</state>
<state x="623" y="264" width="672" height="678" key="search.everywhere.popup/0.34.1920.1046@0.34.1920.1046" timestamp="1601628017554" />
<state x="623" y="264" width="672" height="678" key="search.everywhere.popup/0.34.1920.1046@0.34.1920.1046" timestamp="1601644839580" />
</component>
</project>