PCYoshi 9 anos atrás
pai
commit
db21e256b5

+ 228
- 11
java/.idea/workspace.xml Ver arquivo

@@ -7,6 +7,10 @@
7 7
   </component>
8 8
   <component name="ChangeListManager">
9 9
     <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="">
10
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/../web/sonar-project.properties" />
11
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/SplashScreen.class" afterPath="$PROJECT_DIR$/out/production/java/InterfaceGraphique/SplashScreen.class" />
12
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/rsc/splashscreen.png" afterPath="$PROJECT_DIR$/rsc/splashscreen.png" />
13
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" />
10 14
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
11 15
     </list>
12 16
     <ignored path="java.iws" />
@@ -29,11 +33,11 @@
29 33
   </component>
30 34
   <component name="FileEditorManager">
31 35
     <leaf>
32
-      <file leaf-file-name="ConnexionBddDialog.java" pinned="false" current-in-tab="true">
33
-        <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java">
36
+      <file leaf-file-name="SplashScreen.java" pinned="false" current-in-tab="true">
37
+        <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java">
34 38
           <provider selected="true" editor-type-id="text-editor">
35
-            <state vertical-scroll-proportion="0.19029851">
36
-              <caret line="10" column="30" selection-start-line="10" selection-start-column="30" selection-end-line="10" selection-end-column="30" />
39
+            <state vertical-scroll-proportion="0.32872927">
40
+              <caret line="20" column="21" selection-start-line="20" selection-start-column="21" selection-end-line="20" selection-end-column="21" />
37 41
               <folding />
38 42
             </state>
39 43
           </provider>
@@ -77,6 +81,9 @@
77 81
         <option value="$PROJECT_DIR$/src/NouvelleReponseDialog.java" />
78 82
         <option value="$PROJECT_DIR$/src/ConnexionBddDialog.java" />
79 83
         <option value="$PROJECT_DIR$/src/InterfacePrincipale.java" />
84
+        <option value="$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java" />
85
+        <option value="$PROJECT_DIR$/src/GestionBddDAO/ConfigBDD.java" />
86
+        <option value="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" />
80 87
       </list>
81 88
     </option>
82 89
   </component>
@@ -353,6 +360,119 @@
353 360
       <recent name="" />
354 361
     </key>
355 362
   </component>
363
+  <component name="RestoreUpdateTree" date="Moments ago" ActionInfo="_Update">
364
+    <UpdatedFiles>
365
+      <FILE-GROUP>
366
+        <option name="myUpdateName" value="Updated from server" />
367
+        <option name="myStatusName" value="Changed on server" />
368
+        <option name="mySupportsDeletion" value="false" />
369
+        <option name="myCanBeAbsent" value="false" />
370
+        <option name="myId" value="CHANGED_ON_SERVER" />
371
+        <FILE-GROUP>
372
+          <option name="myUpdateName" value="Updated" />
373
+          <option name="myStatusName" value="Changed" />
374
+          <option name="mySupportsDeletion" value="false" />
375
+          <option name="myCanBeAbsent" value="false" />
376
+          <option name="myId" value="UPDATED" />
377
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/conf.xml</PATH>
378
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/java.jar</PATH>
379
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/css/game.css</PATH>
380
+        </FILE-GROUP>
381
+        <FILE-GROUP>
382
+          <option name="myUpdateName" value="Created" />
383
+          <option name="myStatusName" value="Created" />
384
+          <option name="mySupportsDeletion" value="false" />
385
+          <option name="myCanBeAbsent" value="false" />
386
+          <option name="myId" value="CREATED" />
387
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/css/game.css~</PATH>
388
+        </FILE-GROUP>
389
+        <FILE-GROUP>
390
+          <option name="myUpdateName" value="Deleted" />
391
+          <option name="myStatusName" value="Deleted" />
392
+          <option name="mySupportsDeletion" value="false" />
393
+          <option name="myCanBeAbsent" value="true" />
394
+          <option name="myId" value="REMOVED_FROM_REPOSITORY" />
395
+        </FILE-GROUP>
396
+        <FILE-GROUP>
397
+          <option name="myUpdateName" value="Restored" />
398
+          <option name="myStatusName" value="Will be restored" />
399
+          <option name="mySupportsDeletion" value="false" />
400
+          <option name="myCanBeAbsent" value="false" />
401
+          <option name="myId" value="RESTORED" />
402
+        </FILE-GROUP>
403
+      </FILE-GROUP>
404
+      <FILE-GROUP>
405
+        <option name="myUpdateName" value="Modified" />
406
+        <option name="myStatusName" value="Modified" />
407
+        <option name="mySupportsDeletion" value="false" />
408
+        <option name="myCanBeAbsent" value="false" />
409
+        <option name="myId" value="MODIFIED" />
410
+      </FILE-GROUP>
411
+      <FILE-GROUP>
412
+        <option name="myUpdateName" value="Skipped" />
413
+        <option name="myStatusName" value="Skipped" />
414
+        <option name="mySupportsDeletion" value="false" />
415
+        <option name="myCanBeAbsent" value="false" />
416
+        <option name="myId" value="SKIPPED" />
417
+      </FILE-GROUP>
418
+      <FILE-GROUP>
419
+        <option name="myUpdateName" value="Merged with conflicts" />
420
+        <option name="myStatusName" value="Will be merged with conflicts" />
421
+        <option name="mySupportsDeletion" value="false" />
422
+        <option name="myCanBeAbsent" value="false" />
423
+        <option name="myId" value="MERGED_WITH_CONFLICTS" />
424
+      </FILE-GROUP>
425
+      <FILE-GROUP>
426
+        <option name="myUpdateName" value="Merged with tree conflicts" />
427
+        <option name="myStatusName" value="Merged with tree conflicts" />
428
+        <option name="mySupportsDeletion" value="false" />
429
+        <option name="myCanBeAbsent" value="false" />
430
+        <option name="myId" value="MERGED_WITH_TREE_CONFLICT" />
431
+      </FILE-GROUP>
432
+      <FILE-GROUP>
433
+        <option name="myUpdateName" value="Merged with property conflicts" />
434
+        <option name="myStatusName" value="Will be merged with property conflicts" />
435
+        <option name="mySupportsDeletion" value="false" />
436
+        <option name="myCanBeAbsent" value="false" />
437
+        <option name="myId" value="MERGED_WITH_PROPERTY_CONFLICT" />
438
+      </FILE-GROUP>
439
+      <FILE-GROUP>
440
+        <option name="myUpdateName" value="Merged" />
441
+        <option name="myStatusName" value="Will be merged" />
442
+        <option name="mySupportsDeletion" value="false" />
443
+        <option name="myCanBeAbsent" value="false" />
444
+        <option name="myId" value="MERGED" />
445
+      </FILE-GROUP>
446
+      <FILE-GROUP>
447
+        <option name="myUpdateName" value="Not in repository" />
448
+        <option name="myStatusName" value="Not in repository" />
449
+        <option name="mySupportsDeletion" value="true" />
450
+        <option name="myCanBeAbsent" value="false" />
451
+        <option name="myId" value="UNKNOWN" />
452
+      </FILE-GROUP>
453
+      <FILE-GROUP>
454
+        <option name="myUpdateName" value="Locally added" />
455
+        <option name="myStatusName" value="Locally added" />
456
+        <option name="mySupportsDeletion" value="false" />
457
+        <option name="myCanBeAbsent" value="false" />
458
+        <option name="myId" value="LOCALLY_ADDED" />
459
+      </FILE-GROUP>
460
+      <FILE-GROUP>
461
+        <option name="myUpdateName" value="Locally removed" />
462
+        <option name="myStatusName" value="Locally removed" />
463
+        <option name="mySupportsDeletion" value="false" />
464
+        <option name="myCanBeAbsent" value="false" />
465
+        <option name="myId" value="LOCALLY_REMOVED" />
466
+      </FILE-GROUP>
467
+      <FILE-GROUP>
468
+        <option name="myUpdateName" value="Switched" />
469
+        <option name="myStatusName" value="Switched" />
470
+        <option name="mySupportsDeletion" value="false" />
471
+        <option name="myCanBeAbsent" value="false" />
472
+        <option name="myId" value="SWITCHED" />
473
+      </FILE-GROUP>
474
+    </UpdatedFiles>
475
+  </component>
356 476
   <component name="RunManager" selected="Application.Main">
357 477
     <configuration default="false" name="Main" type="Application" factoryName="Application" temporary="true">
358 478
       <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
@@ -466,7 +586,7 @@
466 586
     </configuration>
467 587
     <configuration default="true" type="JarApplication" factoryName="JAR Application">
468 588
       <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
469
-      <option name="JAR_PATH" value="$PROJECT_DIR$/java.jar" />
589
+      <option name="JAR_PATH" value="$PROJECT_DIR$/out/artifacts/java_jar/java.jar" />
470 590
       <envs />
471 591
       <method />
472 592
     </configuration>
@@ -656,7 +776,25 @@
656 776
       <option name="project" value="LOCAL" />
657 777
       <updated>1433938026105</updated>
658 778
     </task>
659
-    <option name="localTasksCounter" value="24" />
779
+    <task id="LOCAL-00024" summary="resolution pb git">
780
+      <created>1433938589193</created>
781
+      <option name="number" value="00024" />
782
+      <option name="project" value="LOCAL" />
783
+      <updated>1433938589193</updated>
784
+    </task>
785
+    <task id="LOCAL-00025" summary="resolution pb git">
786
+      <created>1433938888435</created>
787
+      <option name="number" value="00025" />
788
+      <option name="project" value="LOCAL" />
789
+      <updated>1433938888435</updated>
790
+    </task>
791
+    <task id="LOCAL-00026" summary="resolution pb git">
792
+      <created>1433939155861</created>
793
+      <option name="number" value="00026" />
794
+      <option name="project" value="LOCAL" />
795
+      <updated>1433939155861</updated>
796
+    </task>
797
+    <option name="localTasksCounter" value="27" />
660 798
     <servers />
661 799
   </component>
662 800
   <component name="TodoView">
@@ -670,7 +808,7 @@
670 808
   </component>
671 809
   <component name="ToolWindowManager">
672 810
     <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
673
-    <editor active="false" />
811
+    <editor active="true" />
674 812
     <layout>
675 813
       <window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
676 814
       <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
@@ -688,8 +826,8 @@
688 826
       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
689 827
       <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
690 828
       <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
691
-      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.26443768" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
692
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.30579966" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
829
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.26443768" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
830
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.30579966" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
693 831
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
694 832
       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
695 833
       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
@@ -862,6 +1000,7 @@
862 1000
       <provider selected="true" editor-type-id="text-editor">
863 1001
         <state vertical-scroll-proportion="0.51657456">
864 1002
           <caret line="11" column="44" selection-start-line="11" selection-start-column="44" selection-end-line="11" selection-end-column="44" />
1003
+          <folding />
865 1004
         </state>
866 1005
       </provider>
867 1006
     </entry>
@@ -888,8 +1027,86 @@
888 1027
     </entry>
889 1028
     <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java">
890 1029
       <provider selected="true" editor-type-id="text-editor">
891
-        <state vertical-scroll-proportion="0.19029851">
892
-          <caret line="10" column="30" selection-start-line="10" selection-start-column="30" selection-end-line="10" selection-end-column="30" />
1030
+        <state vertical-scroll-proportion="0.0">
1031
+          <caret line="13" column="21" selection-start-line="13" selection-start-column="21" selection-end-line="13" selection-end-column="21" />
1032
+          <folding>
1033
+            <element signature="method#ConnexionBddDialog#0;class#ConnexionBddDialog#0" expanded="false" />
1034
+            <element signature="method#createInterface#0;class#ConnexionBddDialog#0" expanded="false" />
1035
+            <element signature="method#afficher#0;class#ConnexionBddDialog#0" expanded="false" />
1036
+            <element signature="method#actionPerformed#0;class#ConnexionBddDialog#0" expanded="false" />
1037
+          </folding>
1038
+        </state>
1039
+      </provider>
1040
+    </entry>
1041
+    <entry file="file://$PROJECT_DIR$/src/GestionBddDAO/ConfigBDD.java">
1042
+      <provider selected="true" editor-type-id="text-editor">
1043
+        <state vertical-scroll-proportion="1.6492537">
1044
+          <caret line="55" column="0" selection-start-line="55" selection-start-column="0" selection-end-line="55" selection-end-column="0" />
1045
+          <folding>
1046
+            <element signature="e#954#955#0" expanded="true" />
1047
+            <element signature="e#994#995#0" expanded="true" />
1048
+            <element signature="e#1035#1036#0" expanded="true" />
1049
+            <element signature="e#1076#1077#0" expanded="true" />
1050
+            <element signature="e#1101#1102#0" expanded="true" />
1051
+            <element signature="e#1157#1158#0" expanded="true" />
1052
+            <element signature="e#1192#1193#0" expanded="true" />
1053
+            <element signature="e#1245#1246#0" expanded="true" />
1054
+            <element signature="e#1271#1272#0" expanded="true" />
1055
+            <element signature="e#1307#1308#0" expanded="true" />
1056
+            <element signature="e#1340#1341#0" expanded="true" />
1057
+            <element signature="e#1373#1374#0" expanded="true" />
1058
+            <element signature="e#1402#1403#0" expanded="true" />
1059
+            <element signature="e#1441#1442#0" expanded="true" />
1060
+            <element signature="e#1480#1481#0" expanded="true" />
1061
+            <element signature="e#1519#1520#0" expanded="true" />
1062
+            <element signature="e#1551#1552#0" expanded="true" />
1063
+            <element signature="e#1593#1594#0" expanded="true" />
1064
+            <element signature="e#1638#1639#0" expanded="true" />
1065
+            <element signature="e#1683#1684#0" expanded="true" />
1066
+          </folding>
1067
+        </state>
1068
+      </provider>
1069
+    </entry>
1070
+    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java">
1071
+      <provider selected="true" editor-type-id="text-editor">
1072
+        <state vertical-scroll-proportion="2.4272387">
1073
+          <caret line="343" column="0" selection-start-line="343" selection-start-column="0" selection-end-line="343" selection-end-column="0" />
1074
+          <folding>
1075
+            <element signature="method#InterfacePrincipale#0;class#InterfacePrincipale#0" expanded="false" />
1076
+            <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1077
+            <element signature="e#4847#5313#0" expanded="true" />
1078
+            <element signature="e#5312#5313#0" expanded="true" />
1079
+            <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1080
+            <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1081
+            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1082
+            <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
1083
+            <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
1084
+            <element signature="method#configureBDD#0;class#InterfacePrincipale#0" expanded="false" />
1085
+            <element signature="method#tryToConnect#0;class#InterfacePrincipale#0" expanded="false" />
1086
+            <element signature="method#setStatusText#0;class#InterfacePrincipale#0" expanded="false" />
1087
+            <element signature="method#setStatusText#1;class#InterfacePrincipale#0" expanded="false" />
1088
+            <element signature="method#setReponsesPanelEnabled#0;class#InterfacePrincipale#0" expanded="false" />
1089
+            <element signature="method#setQuestionsPanelEnabled#0;class#InterfacePrincipale#0" expanded="false" />
1090
+            <element signature="method#reSelectCategorie#0;class#InterfacePrincipale#0" expanded="false" />
1091
+            <element signature="method#reSelectReponses#0;class#InterfacePrincipale#0" expanded="false" />
1092
+            <element signature="method#reSelectQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1093
+            <element signature="method#getCategorieList#0;class#InterfacePrincipale#0" expanded="false" />
1094
+            <element signature="class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
1095
+            <element signature="method#actionPerformed#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
1096
+            <element signature="method#valueChanged#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
1097
+            <element signature="class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1098
+            <element signature="method#actionPerformed#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1099
+            <element signature="method#valueChanged#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1100
+            <element signature="class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
1101
+            <element signature="method#actionPerformed#0;class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
1102
+          </folding>
1103
+        </state>
1104
+      </provider>
1105
+    </entry>
1106
+    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java">
1107
+      <provider selected="true" editor-type-id="text-editor">
1108
+        <state vertical-scroll-proportion="0.32872927">
1109
+          <caret line="20" column="21" selection-start-line="20" selection-start-column="21" selection-end-line="20" selection-end-column="21" />
893 1110
           <folding />
894 1111
         </state>
895 1112
       </provider>

BIN
java/out/production/java/InterfaceGraphique/SplashScreen.class Ver arquivo


BIN
java/rsc/splashscreen.gif Ver arquivo


BIN
java/rsc/splashscreen.png Ver arquivo


BIN
java/rsc/splashscreen.xcf Ver arquivo


+ 1
- 1
java/src/InterfaceGraphique/SplashScreen.java Ver arquivo

@@ -20,7 +20,7 @@ public class SplashScreen extends JWindow
20 20
 	public SplashScreen(JFrame owner) {
21 21
 		super(owner);
22 22
 
23
-		JLabel img = new JLabel(new ImageIcon("rsc/splashscreen.png"));
23
+		JLabel img = new JLabel(new ImageIcon("rsc/splashscreen.gif"));
24 24
 		img.setBorder(BorderFactory.createMatteBorder(10,10,5,10,new Color(248,179,52)));
25 25
 		progressBar = new JProgressBar(0,9);
26 26
 		progressBar.setValue(0);

+ 14
- 0
web/sonar-project.properties Ver arquivo

@@ -0,0 +1,14 @@
1
+# must be unique in a given SonarQube instance
2
+sonar.projectKey=burgerquizzphp
3
+# this is the name displayed in the SonarQube UI
4
+sonar.projectName=BurgerQuizz PHP
5
+sonar.projectVersion=1.0
6
+ 
7
+# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
8
+# Since SonarQube 4.2, this property is optional if sonar.modules is set. 
9
+# If not set, SonarQube starts looking for source code from the directory containing 
10
+# the sonar-project.properties file.
11
+sonar.sources=./api
12
+ 
13
+# Encoding of the source code. Default is default system encoding
14
+#sonar.sourceEncoding=UTF-8