Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Update with source code snapshot from March 2015

  • Loading branch information...
alsutton committed Mar 6, 2019
1 parent 1a3b6ff commit e3dd738b3bb5730dea0cd77861d31729ec8abc46
Showing with 7,748 additions and 2,418 deletions.
  1. +18 −0 build.gradle
  2. +60 −0 db-schema/create_tables.sql
  3. BIN gradle/wrapper/gradle-wrapper.jar
  4. +6 −0 gradle/wrapper/gradle-wrapper.properties
  5. +164 −0 gradlew
  6. +90 −0 gradlew.bat
  7. BIN src/.DS_Store
  8. +4 −4 src/main/java/com/conferenceengineer/server/AuthenticationFilter.java
  9. +5 −0 src/main/java/com/conferenceengineer/server/Configuration.java
  10. +2 −2 src/main/java/com/conferenceengineer/server/EntityWrapperManagerFilter.java
  11. +14 −0 src/main/java/com/conferenceengineer/server/Exporter.java
  12. +123 −0 src/main/java/com/conferenceengineer/server/ForgottenServlet.java
  13. +67 −74 src/main/java/com/conferenceengineer/server/Login.java
  14. +3 −12 src/main/java/com/conferenceengineer/server/Logout.java
  15. +94 −0 src/main/java/com/conferenceengineer/server/PasswordResetServlet.java
  16. +33 −59 src/main/java/com/conferenceengineer/server/RegisterServlet.java
  17. +1 −1 src/main/java/com/conferenceengineer/server/RequestCharsetFilter.java
  18. +4 −4 src/main/java/com/conferenceengineer/server/barcamp/Dashboard.java
  19. +6 −8 src/main/java/com/conferenceengineer/server/barcamp/TalksServlet.java
  20. +2 −3 src/main/java/com/conferenceengineer/server/barcamp/Utils.java
  21. +5 −5 src/main/java/com/conferenceengineer/server/barcamp/VoteServlet.java
  22. +3 −3 src/main/java/com/conferenceengineer/server/barcamp/VoterUtils.java
  23. +44 −0 src/main/java/com/conferenceengineer/server/cdn/AbstractCDN.java
  24. +84 −0 src/main/java/com/conferenceengineer/server/cdn/ContentDeliveryNetwork.java
  25. +14 −0 src/main/java/com/conferenceengineer/server/cdn/ContentDeliveryNetworkFactory.java
  26. +127 −0 src/main/java/com/conferenceengineer/server/cdn/RackspaceCDN.java
  27. +12 −0 src/main/java/com/conferenceengineer/server/connectors/iosched14/gcm/AbstractMessage.java
  28. +78 −0 src/main/java/com/conferenceengineer/server/connectors/iosched14/gcm/IOSched14Connector.java
  29. +13 −0 src/main/java/com/conferenceengineer/server/connectors/iosched14/gcm/Message.java
  30. +35 −0 src/main/java/com/conferenceengineer/server/connectors/iosched14/gcm/ScheduleUpdate.java
  31. +0 −44 src/main/java/com/conferenceengineer/server/dashboard/Dashboard.java
  32. +0 −54 src/main/java/com/conferenceengineer/server/dashboard/DashboardBase.java
  33. +0 −15 src/main/java/com/conferenceengineer/server/dashboard/DashboardLocations.java
  34. +0 −15 src/main/java/com/conferenceengineer/server/dashboard/DashboardSessions.java
  35. +0 −15 src/main/java/com/conferenceengineer/server/dashboard/DashboardSpeakers.java
  36. +0 −26 src/main/java/com/conferenceengineer/server/dashboard/DashboardTracks.java
  37. +0 −127 src/main/java/com/conferenceengineer/server/dashboard/PublishServlet.java
  38. +0 −37 src/main/java/com/conferenceengineer/server/dashboard/SearchSuggestionsServlet.java
  39. +0 −74 src/main/java/com/conferenceengineer/server/dashboard/TalkLocationsServlet.java
  40. +0 −37 src/main/java/com/conferenceengineer/server/dashboard/TrackSessionsServlet.java
  41. +0 −75 src/main/java/com/conferenceengineer/server/dashboard/TracksServlet.java
  42. +25 −4 src/main/java/com/conferenceengineer/server/datamodel/Conference.java
  43. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/ConferenceConfiguration.java
  44. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/ConferenceConfigurationDAO.java
  45. +1 −2 src/main/java/com/conferenceengineer/server/datamodel/ConferenceDAO.java
  46. +17 −5 src/main/java/com/conferenceengineer/server/datamodel/ConferenceDay.java
  47. +1 −2 src/main/java/com/conferenceengineer/server/datamodel/ConferenceMetadata.java
  48. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/ConferencePermission.java
  49. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/ConferencePermissionDAO.java
  50. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/DBUtils.java
  51. +96 −0 src/main/java/com/conferenceengineer/server/datamodel/LastExport.java
  52. +71 −0 src/main/java/com/conferenceengineer/server/datamodel/LastExportDAO.java
  53. +85 −0 src/main/java/com/conferenceengineer/server/datamodel/LastModification.java
  54. +53 −0 src/main/java/com/conferenceengineer/server/datamodel/LastModificationDAO.java
  55. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/Location.java
  56. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/LocationLink.java
  57. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/LocationLinkDAO.java
  58. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/Presenter.java
  59. +90 −0 src/main/java/com/conferenceengineer/server/datamodel/PublicationEndpoint.java
  60. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/Series.java
  61. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/SeriesConfiguration.java
  62. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/SeriesConfigurationDAO.java
  63. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/SeriesDAO.java
  64. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/SeriesPermission.java
  65. +1 −3 src/main/java/com/conferenceengineer/server/datamodel/SeriesPermissionDAO.java
  66. +69 −0 src/main/java/com/conferenceengineer/server/datamodel/Survey.java
  67. +77 −0 src/main/java/com/conferenceengineer/server/datamodel/SurveyAnswer.java
  68. +113 −0 src/main/java/com/conferenceengineer/server/datamodel/SurveyQuestion.java
  69. +53 −0 src/main/java/com/conferenceengineer/server/datamodel/SurveyResponse.java
  70. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/SystemUser.java
  71. +1 −4 src/main/java/com/conferenceengineer/server/datamodel/SystemUserDAO.java
  72. +84 −3 src/main/java/com/conferenceengineer/server/datamodel/Talk.java
  73. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/TalkLocation.java
  74. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/TalkPermission.java
  75. +20 −3 src/main/java/com/conferenceengineer/server/datamodel/TalkSlot.java
  76. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/TalkVote.java
  77. +24 −3 src/main/java/com/conferenceengineer/server/datamodel/Track.java
  78. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/UserAuthenticationInformation.java
  79. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/UserAuthenticationInformationDAO.java
  80. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/Vote.java
  81. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/VoteDAO.java
  82. +1 −2 src/main/java/com/conferenceengineer/server/datamodel/VoteOption.java
  83. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/VoteSeries.java
  84. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/VoteSeriesDAO.java
  85. +1 −1 src/main/java/com/conferenceengineer/server/datamodel/Voter.java
  86. +23 −15 src/main/java/com/conferenceengineer/server/datamodel/utils/EntityManagerFactoryWrapper.java
  87. +29 −0 src/main/java/com/conferenceengineer/server/exporters/AbstractIOSched14Exporter.java
  88. +58 −0 src/main/java/com/conferenceengineer/server/exporters/AbstractIOSched14ManifestSubfile.java
  89. +71 −0 src/main/java/com/conferenceengineer/server/exporters/ExportEndpointManager.java
  90. +42 −0 src/main/java/com/conferenceengineer/server/exporters/ExportPublisher.java
  91. +76 −0 src/main/java/com/conferenceengineer/server/exporters/IOSched13Publisher.java
  92. +166 −0 src/main/java/com/conferenceengineer/server/exporters/IOSched14Publisher.java
  93. +52 −0 src/main/java/com/conferenceengineer/server/exporters/SchedulePublisher.java
  94. +25 −0 src/main/java/com/conferenceengineer/server/exporters/html/AbstractScheduleTalkSlotExporter.java
  95. +125 −0 src/main/java/com/conferenceengineer/server/exporters/html/ScheduleExporter.java
  96. +18 −0 src/main/java/com/conferenceengineer/server/exporters/html/schedule/AdminEventExporter.java
  97. +131 −0 src/main/java/com/conferenceengineer/server/exporters/html/schedule/MultiTalkExporter.java
  98. +60 −0 src/main/java/com/conferenceengineer/server/exporters/iosched13/CommonSlotsJSON.java
  99. +4 −4 src/main/java/com/conferenceengineer/server/exporters/{ → iosched13}/SearchSuggestionsJSON.java
  100. +9 −5 src/main/java/com/conferenceengineer/server/exporters/{ → iosched13}/SessionsJSON.java
  101. +3 −6 src/main/java/com/conferenceengineer/server/exporters/{ → iosched13}/SpeakersJSON.java
  102. +3 −6 src/main/java/com/conferenceengineer/server/exporters/{ → iosched13}/TalkLocationsJSON.java
  103. +4 −6 src/main/java/com/conferenceengineer/server/exporters/{ → iosched13}/TrackSessionsJSON.java
  104. +4 −4 src/main/java/com/conferenceengineer/server/exporters/{ → iosched13}/TracksJSON.java
  105. +91 −0 src/main/java/com/conferenceengineer/server/exporters/iosched14/BlocksJSON.java
  106. +56 −0 src/main/java/com/conferenceengineer/server/exporters/iosched14/ExpertsJSON.java
  107. +92 −0 src/main/java/com/conferenceengineer/server/exporters/iosched14/HashtagsJSON.java
  108. +47 −0 src/main/java/com/conferenceengineer/server/exporters/iosched14/PartnersJSON.java
  109. +43 −0 src/main/java/com/conferenceengineer/server/exporters/iosched14/RoomsJSON.java
  110. +177 −0 src/main/java/com/conferenceengineer/server/exporters/iosched14/SessionsJSON.java
  111. +47 −0 src/main/java/com/conferenceengineer/server/exporters/iosched14/SpeakersJSON.java
  112. +53 −0 src/main/java/com/conferenceengineer/server/exporters/iosched14/TagsJSON.java
  113. +49 −0 src/main/java/com/conferenceengineer/server/exporters/iosched14/VideosJSON.java
  114. +92 −0 src/main/java/com/conferenceengineer/server/security/PasswordResetRequest.java
  115. +19 −0 src/main/java/com/conferenceengineer/server/security/PasswordResetRequestManager.java
  116. +107 −0 src/main/java/com/conferenceengineer/server/servletfilters/ErrorReporter.java
  117. +34 −0 src/main/java/com/conferenceengineer/server/servlets/secure/Admin.java
  118. +9 −13 ...va/com/conferenceengineer/server/{dashboard/DashboardBarcamp.java → servlets/secure/Barcamp.java}
  119. +5 −8 src/main/java/com/conferenceengineer/server/{dashboard → servlets/secure}/BarcampServlet.java
  120. +191 −0 src/main/java/com/conferenceengineer/server/servlets/secure/BreakSlotServlet.java
  121. +8 −7 src/main/java/com/conferenceengineer/server/{dashboard → servlets/secure}/ConferenceChooser.java
  122. +18 −9 src/main/java/com/conferenceengineer/server/{dashboard → servlets/secure}/ConferenceDayServlet.java
  123. +25 −21 src/main/java/com/conferenceengineer/server/{dashboard → servlets/secure}/ConferenceServlet.java
  124. +52 −0 src/main/java/com/conferenceengineer/server/servlets/secure/DashboardBase.java
  125. +15 −0 src/main/java/com/conferenceengineer/server/servlets/secure/DashboardTracks.java
  126. +15 −0 src/main/java/com/conferenceengineer/server/servlets/secure/Feedback.java
  127. +63 −0 src/main/java/com/conferenceengineer/server/servlets/secure/IO14BootstrapFileServlet.java
  128. +45 −0 src/main/java/com/conferenceengineer/server/servlets/secure/IOSched13ExportServlet.java
  129. +26 −21 src/main/java/com/conferenceengineer/server/{dashboard → servlets/secure}/InviteServlet.java
  130. +128 −0 src/main/java/com/conferenceengineer/server/servlets/secure/PublishServlet.java
  131. +15 −0 src/main/java/com/conferenceengineer/server/servlets/secure/Rooms.java
  132. +15 −0 src/main/java/com/conferenceengineer/server/servlets/secure/Schedule.java
  133. +22 −0 src/main/java/com/conferenceengineer/server/servlets/secure/SearchSuggestionsServlet.java
  134. +37 −0 src/main/java/com/conferenceengineer/server/servlets/secure/SetConferenceHashtagServlet.java
  135. +15 −0 src/main/java/com/conferenceengineer/server/servlets/secure/Speakers.java
  136. +23 −29 src/main/java/com/conferenceengineer/server/{dashboard → servlets/secure}/SpeakersServlet.java
  137. +70 −0 src/main/java/com/conferenceengineer/server/servlets/secure/TalkLocationsServlet.java
  138. +17 −5 src/main/java/com/conferenceengineer/server/{dashboard → servlets/secure}/TalkSlotServlet.java
  139. +41 −27 src/main/java/com/conferenceengineer/server/{dashboard → servlets/secure}/TalksServlet.java
  140. +6 −10 src/main/java/com/conferenceengineer/server/{dashboard → servlets/secure}/TimezoneServlet.java
  141. +23 −0 src/main/java/com/conferenceengineer/server/servlets/secure/TrackSessionsServlet.java
  142. +75 −0 src/main/java/com/conferenceengineer/server/servlets/secure/TracksServlet.java
  143. +6 −5 src/main/java/com/conferenceengineer/server/{dashboard → servlets/secure}/UserServlet.java
  144. +183 −0 src/main/java/com/conferenceengineer/server/servlets/survey/SurveyEndpoint.java
  145. +52 −0 src/main/java/com/conferenceengineer/server/servlets/webschedule/Schedule.java
  146. +46 −0 src/main/java/com/conferenceengineer/server/survey/FreeTextSummariser.java
  147. +42 −0 src/main/java/com/conferenceengineer/server/survey/IOSched14SurveyInitialiser.java
  148. +20 −0 src/main/java/com/conferenceengineer/server/survey/QuestionSummaryCreator.java
  149. +29 −0 src/main/java/com/conferenceengineer/server/survey/QuestionSummaryFactory.java
  150. +95 −0 src/main/java/com/conferenceengineer/server/survey/RatingSummariser.java
  151. +84 −0 src/main/java/com/conferenceengineer/server/utils/CloudStoreCredentials.java
  152. +2 −3 src/main/java/com/conferenceengineer/server/utils/ConferenceUtils.java
  153. +3 −3 src/main/java/com/conferenceengineer/server/utils/EntityManagerWrapperBridge.java
  154. +8 −0 src/main/java/com/conferenceengineer/server/utils/JavaMailUtils.java
  155. +30 −0 src/main/java/com/conferenceengineer/server/utils/JavaMailUtilsFactory.java
  156. +9 −15 src/main/java/com/conferenceengineer/server/utils/LoginUtils.java
  157. +74 −3 src/main/java/com/conferenceengineer/server/utils/PasswordGenerator.java
  158. +28 −5 src/main/java/com/conferenceengineer/server/utils/ServletUtils.java
  159. +128 −0 src/main/java/com/conferenceengineer/server/utils/TagUtils.java
  160. +1 −1 src/main/java/com/conferenceengineer/server/utils/Tracker.java
  161. +3 −3 ...n/java/com/conferenceengineer/server/utils/authentication/InternalUserAuthenticationVerifier.java
  162. +2 −2 src/main/java/com/conferenceengineer/server/utils/authentication/UserAuthenticationVerifier.java
  163. +15 −0 src/main/java/com/conferenceengineer/server/utils/javamail/DevelopmentJavaMailUtils.java
  164. +15 −0 src/main/java/com/conferenceengineer/server/utils/javamail/ProductionJavaMailUtils.java
  165. 0 src/{ → main}/resources/META-INF/MANIFEST.MF
  166. +7 −0 src/main/resources/META-INF/persistence.xml
  167. +8 −1 src/{ → main}/webapp/WEB-INF/decorators.xml
  168. +21 −8 src/{ → main}/webapp/WEB-INF/decorators/default.jsp
  169. +6 −7 src/{ → main}/webapp/WEB-INF/decorators/loggedin.jsp
  170. +30 −0 src/main/webapp/WEB-INF/decorators/nobranding.jsp
  171. +8 −0 src/main/webapp/WEB-INF/includes/conference_days.jsp
  172. +9 −0 src/main/webapp/WEB-INF/includes/day_slots.jsp
  173. +117 −0 src/main/webapp/WEB-INF/includes/day_title.jsp
  174. +72 −0 src/main/webapp/WEB-INF/includes/event_slot.jsp
  175. +223 −0 src/main/webapp/WEB-INF/includes/talk_details.jsp
  176. +148 −0 src/main/webapp/WEB-INF/includes/talk_slot.jsp
  177. 0 src/{ → main}/webapp/WEB-INF/sitemesh.xml
  178. +404 −0 src/main/webapp/WEB-INF/web.xml
  179. BIN src/main/webapp/background.jpg
  180. +1 −2 src/{ → main}/webapp/barcamp/dashboard.jsp
  181. +166 −0 src/main/webapp/css/landing-page.css
  182. +25 −0 src/main/webapp/error.jsp
  183. +66 −0 src/main/webapp/forgotten_email_sent.jsp
  184. +71 −0 src/main/webapp/forgotten_password.jsp
  185. +160 −0 src/main/webapp/index.jsp
  186. 0 src/{ → main}/webapp/login.jsp
  187. BIN src/{ → main}/webapp/logo.png
  188. 0 src/{ → main}/webapp/register.jsp
  189. 0 src/{ → main}/webapp/register_thanks.jsp
  190. +1 −0 src/main/webapp/robots.txt
  191. +6 −0 src/main/webapp/schedule.jsp
  192. +265 −0 src/main/webapp/secure/admin.jsp
  193. +12 −13 src/{webapp/dashboard/dashboard_barcamp.jsp → main/webapp/secure/barcamp.jsp}
  194. +6 −6 src/{webapp/dashboard → main/webapp/secure}/conference_chooser.jsp
  195. +87 −0 src/main/webapp/secure/feedback.jsp
  196. +11 −12 src/{webapp/dashboard/dashboard_locations.jsp → main/webapp/secure/locations.jsp}
  197. +119 −0 src/main/webapp/secure/sessions.jsp
  198. +8 −9 src/{webapp/dashboard/dashboard_speakers.jsp → main/webapp/secure/speakers.jsp}
  199. +10 −11 src/{webapp/dashboard/dashboard_tracks.jsp → main/webapp/secure/tracks.jsp}
  200. +19 −0 src/main/webapp/style.css
  201. +0 −12 src/resources/META-INF/persistence.xml
  202. BIN src/webapp/.DS_Store
  203. BIN src/webapp/WEB-INF/lib/antlr-2.7.7.jar
  204. BIN src/webapp/WEB-INF/lib/commons-codec-1.8.jar
  205. BIN src/webapp/WEB-INF/lib/commons-logging-1.1.3.jar
  206. BIN src/webapp/WEB-INF/lib/dom4j-1.6.1.jar
  207. BIN src/webapp/WEB-INF/lib/fluent-hc-4.3.jar
  208. BIN src/webapp/WEB-INF/lib/hibernate-commons-annotations-4.0.4.Final.jar
  209. BIN src/webapp/WEB-INF/lib/hibernate-core-4.3.0.Final.jar
  210. BIN src/webapp/WEB-INF/lib/hibernate-entitymanager-4.3.0.Final.jar
  211. BIN src/webapp/WEB-INF/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar
  212. BIN src/webapp/WEB-INF/lib/httpclient-4.3.jar
  213. BIN src/webapp/WEB-INF/lib/httpclient-cache-4.3.jar
  214. BIN src/webapp/WEB-INF/lib/httpcore-4.3.jar
  215. BIN src/webapp/WEB-INF/lib/httpmime-4.3.jar
  216. BIN src/webapp/WEB-INF/lib/jandex-1.1.0.Final.jar
  217. BIN src/webapp/WEB-INF/lib/javamail-1_5_0.jar
  218. BIN src/webapp/WEB-INF/lib/javassist-3.18.1-GA.jar
  219. BIN src/webapp/WEB-INF/lib/javax.servlet.jsp.jstl-1.2.1.jar
  220. BIN src/webapp/WEB-INF/lib/javax.servlet.jsp.jstl-api-1.2.1.jar
  221. BIN src/webapp/WEB-INF/lib/jboss-logging-3.1.3.GA.jar
  222. BIN src/webapp/WEB-INF/lib/jboss-logging-annotations-1.2.0.Beta1.jar
  223. BIN src/webapp/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar
  224. BIN src/webapp/WEB-INF/lib/postgresql-9.2-1002.jdbc4.jar
  225. BIN src/webapp/WEB-INF/lib/sitemesh-2.4.2.jar
  226. +0 −313 src/webapp/WEB-INF/web.xml
  227. BIN src/webapp/css/.DS_Store
  228. +0 −7 src/webapp/css/bootstrap-theme.min.css
  229. +0 −7 src/webapp/css/bootstrap.min.css
  230. +0 −11 src/webapp/css/style.css
  231. +0 −220 src/webapp/dashboard/dashboard.jsp
  232. +0 −495 src/webapp/dashboard/dashboard_sessions.jsp
  233. BIN src/webapp/fonts/glyphicons-halflings-regular.eot
  234. +0 −229 src/webapp/fonts/glyphicons-halflings-regular.svg
  235. BIN src/webapp/fonts/glyphicons-halflings-regular.ttf
  236. BIN src/webapp/fonts/glyphicons-halflings-regular.woff
  237. +0 −56 src/webapp/index.jsp
  238. BIN src/webapp/js/.DS_Store
  239. +0 −7 src/webapp/js/bootstrap.min.js
  240. +0 −6 src/webapp/js/jquery-1.10.2.min.js
@@ -0,0 +1,18 @@
apply plugin: 'war'

repositories {
mavenCentral()
}

dependencies {
providedCompile "javax.servlet:javax.servlet-api:3.0.+"

compile 'com.sun.mail:smtp:1.4.4',
'com.sun.mail:mailapi:1.4.4',
'commons-codec:commons-codec:1.8',
'org.apache.geronimo.bundles:jstl:1.2_1',
'org.hibernate:hibernate-entitymanager:4.3.6.Final',
'org.postgresql:postgresql:9.3-1102-jdbc41',
'opensymphony:sitemesh:2.4.2',
'org.apache.jclouds.labs:rackspace-cloudfiles-uk:1.8.0';
}
@@ -102,6 +102,7 @@ CREATE TABLE talk_slot (
conference_day integer references conference_day(id),
slot_start timestamp with time zone,
slot_end timestamp with time zone,
event text,
location_id integer references location(id)
);

@@ -177,4 +178,63 @@ CREATE TABLE vote (
vote_option_id integer references vote_option(id)
);

CREATE TABLE password_reset_requests (
id serial PRIMARY KEY,
user_id integer references system_users(id),
request_timestamp timestamp with time zone,
secret varchar(1024),
state integer
);

CREATE TABLE publication_endpoint (
id serial PRIMARY KEY,
conference_id integer references conference(id),
type integer,
url varchar(1024),
apikey varchar(1024)
);

CREATE TABLE last_modification_times (
id serial PRIMARY KEY,
conference_id integer references conference(id),
last_modification timestamp with time zone,
name varchar(1024)
);

CREATE TABLE last_export_details (
id serial PRIMARY KEY,
serial_number integer,
export_type integer,
conference_id integer references conference(id),
last_export timestamp with time zone,
name varchar(1024)
);

CREATE TABLE survey (
id serial PRIMARY KEY,
conference_id integer references conference(id),
apikey text
);

CREATE TABLE survey_question (
id serial PRIMARY KEY,
survey_id integer references survey(id),
type integer,
position integer,
question text
);

CREATE TABLE survey_response (
id SERIAL PRIMARY KEY,
attendee TEXT
);

CREATE TABLE survey_answer (
id serial PRIMARY KEY,
talk_id integer references talk(id),
question_id integer references survey_question(id),
response_id integer references survey_response(id),
answer text
);

create sequence hibernate_sequence;
Binary file not shown.
@@ -0,0 +1,6 @@
#Thu Oct 02 10:52:38 BST 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-all.zip
164 gradlew
@@ -0,0 +1,164 @@
#!/usr/bin/env bash

##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""

APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"

warn ( ) {
echo "$*"
}

die ( ) {
echo
echo "$*"
echo
exit 1
}

# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
esac

# For Cygwin, ensure paths are in UNIX format before anything is touched.
if $cygwin ; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi

# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >&-
APP_HOME="`pwd -P`"
cd "$SAVED" >&-

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar

# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi

# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi

# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi

# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`

# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option

if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi

# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
function splitJvmOpts() {
JVM_OPTS=("$@")
}
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"

exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
@@ -0,0 +1,90 @@
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=

set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto init

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:init
@rem Get command-line arguments, handling Windowz variants

if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args

:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2

:win9xME_args_slurp
if "x%~1" == "x" goto execute

set CMD_LINE_ARGS=%*
goto execute

:4NT_args
@rem Get arguments from the 4NT Shell from JP Software
set CMD_LINE_ARGS=%$

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar

@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%

:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1

:mainEnd
if "%OS%"=="Windows_NT" endlocal

:omega
BIN -6 KB src/.DS_Store
Binary file not shown.
@@ -1,8 +1,8 @@
package com.conferenceengineer.iosched.server;
package com.conferenceengineer.server;

import com.conferenceengineer.iosched.server.datamodel.SystemUser;
import com.conferenceengineer.iosched.server.utils.EntityManagerWrapperBridge;
import com.conferenceengineer.iosched.server.utils.LoginUtils;
import com.conferenceengineer.server.datamodel.SystemUser;
import com.conferenceengineer.server.utils.EntityManagerWrapperBridge;
import com.conferenceengineer.server.utils.LoginUtils;

import javax.persistence.EntityManager;
import javax.servlet.*;
@@ -0,0 +1,5 @@
package com.conferenceengineer.server;

public class Configuration {
public static final boolean isInDevelopment = false;
}
@@ -1,6 +1,6 @@
package com.conferenceengineer.iosched.server;
package com.conferenceengineer.server;

import com.conferenceengineer.iosched.server.datamodel.utils.EntityManagerFactoryWrapper;
import com.conferenceengineer.server.datamodel.utils.EntityManagerFactoryWrapper;

import javax.servlet.*;
import java.io.IOException;
@@ -0,0 +1,14 @@
package com.conferenceengineer.server;

import com.conferenceengineer.server.datamodel.Conference;

public interface Exporter {

/**
* Create the export and place it in a string.
*
* @param conference The conference to export.
*/

public String export(final Conference conference);
}

0 comments on commit e3dd738

Please sign in to comment.
You can’t perform that action at this time.