Permalink
Browse files

Initial commit for site deploy tool

  • Loading branch information...
LadyCailin committed Sep 26, 2016
1 parent 3147a0b commit fdcf5564946b00f2c04c61028ec8e4057d1d1288
Showing with 6,331 additions and 1,731 deletions.
  1. +418 −418 pom.xml
  2. +4 −7 src/main/java/com/laytonsmith/PureUtilities/Preferences.java
  3. +421 −349 src/main/java/com/laytonsmith/PureUtilities/SSHWrapper.java
  4. +336 −331 src/main/java/com/laytonsmith/PureUtilities/ZipReader.java
  5. +14 −0 src/main/java/com/laytonsmith/core/Main.java
  6. +4 −0 src/main/java/com/laytonsmith/core/MethodScriptFileLocations.java
  7. +19 −19 src/main/java/com/laytonsmith/core/events/drivers/BlockEvents.java
  8. +1 −1 src/main/java/com/laytonsmith/core/events/drivers/CmdlineEvents.java
  9. +1 −0 src/main/java/com/laytonsmith/core/functions/FileHandling.java
  10. +7 −4 src/main/java/com/laytonsmith/persistence/io/SSHConnection.java
  11. +1 −1 src/main/java/com/laytonsmith/tools/SimpleSyntaxHighlighter.java
  12. +700 −597 src/main/java/com/laytonsmith/tools/docgen/DocGen.java
  13. +2 −2 src/main/java/com/laytonsmith/tools/docgen/DocGenTemplates.java
  14. +567 −0 src/main/java/com/laytonsmith/tools/docgen/SiteDeploy.java
  15. 0 src/main/resources/docs/{Advanced Guide → Advanced_Guide}
  16. +403 −0 src/main/resources/docs/Advanced_Scripts
  17. +147 −0 src/main/resources/docs/Argument_Builder
  18. +2 −2 src/main/resources/docs/Beginner's_Guide
  19. +75 −0 src/main/resources/siteDeploy/FrontPage
  20. +64 −0 src/main/resources/siteDeploy/LearningTrail.json
  21. +79 −0 src/main/resources/siteDeploy/frame.html
  22. +116 −0 src/main/resources/siteDeploy/generic.html
  23. +116 −0 src/main/resources/siteDeploy/index.js
  24. +207 −0 src/main/resources/siteDeploy/privacy_policy.html
  25. +4 −0 src/main/resources/siteDeploy/resources/css/font-awesome.min.css
  26. +7 −0 src/main/resources/siteDeploy/resources/css/ie/backgroundsize.min.htc
  27. +8 −0 src/main/resources/siteDeploy/resources/css/ie/html5shiv.js
  28. +13 −0 src/main/resources/siteDeploy/resources/css/ie/v8.css
  29. BIN src/main/resources/siteDeploy/resources/css/images/overlay.png
  30. +252 −0 src/main/resources/siteDeploy/resources/css/skel.css
  31. +27 −0 src/main/resources/siteDeploy/resources/css/style-large.css
  32. +106 −0 src/main/resources/siteDeploy/resources/css/style-medium.css
  33. +71 −0 src/main/resources/siteDeploy/resources/css/style-small.css
  34. +11 −0 src/main/resources/siteDeploy/resources/css/style-xlarge.css
  35. +57 −0 src/main/resources/siteDeploy/resources/css/style-xsmall.css
  36. +1,091 −0 src/main/resources/siteDeploy/resources/css/style.css
  37. +50 −0 src/main/resources/siteDeploy/resources/css/styles.css
  38. BIN src/main/resources/siteDeploy/resources/fonts/FontAwesome.otf
  39. BIN src/main/resources/siteDeploy/resources/fonts/fontawesome-webfont.eot
  40. +520 −0 src/main/resources/siteDeploy/resources/fonts/fontawesome-webfont.svg
  41. BIN src/main/resources/siteDeploy/resources/fonts/fontawesome-webfont.ttf
  42. BIN src/main/resources/siteDeploy/resources/fonts/fontawesome-webfont.woff
  43. BIN src/main/resources/siteDeploy/resources/images/CommandHelper_Icon.png
  44. BIN src/main/resources/siteDeploy/resources/images/CommandHelper_Logo_New.png
  45. BIN src/main/resources/siteDeploy/resources/images/banner.jpg
  46. BIN src/main/resources/siteDeploy/resources/images/pic01.jpg
  47. BIN src/main/resources/siteDeploy/resources/images/pic02.jpg
  48. BIN src/main/resources/siteDeploy/resources/images/pic03.jpg
  49. BIN src/main/resources/siteDeploy/resources/images/pic04.jpg
  50. BIN src/main/resources/siteDeploy/resources/images/pic05.jpg
  51. BIN src/main/resources/siteDeploy/resources/images/pic06.jpg
  52. BIN src/main/resources/siteDeploy/resources/images/pic07.jpg
  53. BIN src/main/resources/siteDeploy/resources/images/pic08.jpg
  54. BIN src/main/resources/siteDeploy/resources/images/pic09.jpg
  55. +80 −0 src/main/resources/siteDeploy/resources/js/init.js
  56. +2 −0 src/main/resources/siteDeploy/resources/js/skel-layers.min.js
  57. +2 −0 src/main/resources/siteDeploy/resources/js/skel.min.js
  58. +326 −0 src/main/resources/siteDeploy/resources/js/wiky.js
View
836 pom.xml

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -120,8 +120,8 @@ public void init(File prefFile) throws IOException {
in.close();
for (String key : userProperties.stringPropertyNames()) {
String val = userProperties.getProperty(key);
String value = getObject(val, ((Preference) prefs.get(key))).toString();
Object ovalue = getObject(val, ((Preference) prefs.get(key)));
String value = getObject(val, prefs.get(key)).toString();
Object ovalue = getObject(val, prefs.get(key));
Preference p1 = prefs.get(key);
Preference p2;
if (p1 != null) {
@@ -136,6 +136,7 @@ public void init(File prefFile) throws IOException {
save();
}
@SuppressWarnings("LoggerStringConcat")
private Object getObject(String value, Preference p) {
if (p == null) {
return value;
@@ -202,11 +203,7 @@ private Boolean getBoolean(String value) {
return false;
} else {
double d = Double.parseDouble(value);
if (d == 0) {
return false;
} else {
return true;
}
return d != 0;
}
}
Oops, something went wrong.

0 comments on commit fdcf556

Please sign in to comment.