Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

2.5.0

  • Loading branch information...
commit 95d6075e2a62b73b5e56baeb90d71a2745428519 1 parent 23e2381
@goldsky goldsky authored
Showing with 6,393 additions and 908 deletions.
  1. 0  {myCalendar-extjs4.X → }/.classpath
  2. 0  {myCalendar-extjs4.X → }/.project
  3. 0  {myCalendar-extjs4.X → }/.settings/com.springsource.sts.grails.core.prefs
  4. 0  {myCalendar-extjs4.X → }/.settings/org.codehaus.groovy.eclipse.preferences.prefs
  5. 0  {myCalendar-extjs4.X → }/.settings/org.eclipse.core.resources.prefs
  6. 0  {myCalendar-extjs4.X → }/.settings/org.eclipse.wst.common.project.facet.core.xml
  7. +2 −2 README → README.md
  8. 0  {myCalendar-extjs4.X → }/README/ASP.NET/ASP-README
  9. 0  {myCalendar-extjs4.X → }/README/FeyaSoft_Commercial_License_Terms.pdf
  10. +2 −11 {myCalendar-extjs4.X → }/README/README
  11. +5 −10 {myCalendar-extjs4.X → }/README/fakeData/fakeData-README
  12. 0  {myCalendar-extjs4.X → }/README/grails/DataSource.groovy
  13. 0  {myCalendar-extjs4.X → }/README/grails/grails-README
  14. 0  {myCalendar-extjs4.X → }/README/myCalendarLicense.html
  15. 0  {myCalendar-extjs4.X → }/README/php/myCalendar2.5.0-tables.sql
  16. 0  {myCalendar-extjs4.X → }/README/php/php-README
  17. +0 −30 {myCalendar-extjs4.X → }/README/releaseNotes
  18. +1 −0  {myCalendar-extjs4.X → }/README/upgrade_README.txt
  19. 0  {myCalendar-extjs4.X → }/application.properties
  20. 0  {myCalendar-extjs4.X → }/build.xml
  21. 0  {myCalendar-extjs4.X → }/grails-app/conf/BootStrap.groovy
  22. 0  {myCalendar-extjs4.X → }/grails-app/conf/Config.groovy
  23. 0  {myCalendar-extjs4.X → }/grails-app/conf/DataSource.groovy
  24. 0  {myCalendar-extjs4.X → }/grails-app/conf/UrlMappings.groovy
  25. 0  {myCalendar-extjs4.X → }/grails-app/conf/spring/resources.groovy
  26. 0  {myCalendar-extjs4.X → }/grails-app/controllers/CalendarController.groovy
  27. 0  {myCalendar-extjs4.X → }/grails-app/controllers/CalendarEventController.groovy
  28. 0  {myCalendar-extjs4.X → }/grails-app/controllers/CalendarSettingController.groovy
  29. 0  {myCalendar-extjs4.X → }/grails-app/controllers/CalendarTypeController.groovy
  30. 0  {myCalendar-extjs4.X → }/grails-app/controllers/GeneralController.groovy
  31. 0  {myCalendar-extjs4.X → }/grails-app/domain/CalendarEvent.groovy
  32. 0  {myCalendar-extjs4.X → }/grails-app/domain/CalendarEventReminder.groovy
  33. 0  {myCalendar-extjs4.X → }/grails-app/domain/CalendarSetting.groovy
  34. 0  {myCalendar-extjs4.X → }/grails-app/domain/CalendarShare.groovy
  35. 0  {myCalendar-extjs4.X → }/grails-app/domain/CalendarType.groovy
  36. 0  {myCalendar-extjs4.X → }/grails-app/domain/User.groovy
  37. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages.properties
  38. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages_de.properties
  39. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages_es.properties
  40. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages_fr.properties
  41. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages_it.properties
  42. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages_ja.properties
  43. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages_nl.properties
  44. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages_pt_BR.properties
  45. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages_ru.properties
  46. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages_th.properties
  47. 0  {myCalendar-extjs4.X → }/grails-app/i18n/messages_zh_CN.properties
  48. 0  {myCalendar-extjs4.X → }/grails-app/jobs/EmailReminderJob.groovy
  49. 0  {myCalendar-extjs4.X → }/grails-app/services/CalendarEventReminderService.groovy
  50. 0  {myCalendar-extjs4.X → }/grails-app/services/CalendarEventService.groovy
  51. 0  {myCalendar-extjs4.X → }/grails-app/services/CalendarSettingService.groovy
  52. 0  {myCalendar-extjs4.X → }/grails-app/services/CalendarTypeService.groovy
  53. 0  {myCalendar-extjs4.X → }/grails-app/services/UserService.groovy
  54. 0  {myCalendar-extjs4.X → }/grails-app/utils/CalendarEventSearchCriteria.groovy
  55. 0  {myCalendar-extjs4.X → }/grails-app/utils/CalendarEventUIModel.groovy
  56. 0  {myCalendar-extjs4.X → }/grails-app/utils/CalendarSettingUIModel.groovy
  57. 0  {myCalendar-extjs4.X → }/grails-app/utils/CalendarTypeUIModel.groovy
  58. 0  {myCalendar-extjs4.X → }/grails-app/utils/DateUtil.groovy
  59. 0  {myCalendar-extjs4.X → }/grails-app/utils/UIUser.groovy
  60. 0  {myCalendar-extjs4.X → }/grails-app/views/error.gsp
  61. +55 −0 grails-app/views/index.gsp
  62. 0  {myCalendar-extjs4.X → }/ivy.xml
  63. 0  {myCalendar-extjs4.X → }/ivysettings.xml
  64. BIN  myCalendar-2.1.0-extjs3.X.zip
  65. BIN  myCalendar-2.1.1-extjs3.X.zip
  66. BIN  myCalendar-2.5.0-extjs4.X.zip
  67. BIN  myCalendar-2.5.1-extjs4.X.zip
  68. BIN  myCalendar-2.5.2-extjs4.X.zip
  69. BIN  myCalendar-2.5.3-extjs4.X.zip
  70. BIN  myCalendar-2.5.4-extjs4.X.zip
  71. BIN  myCalendar-2.5.5-extjs4.X.zip
  72. +0 −68 myCalendar-extjs4.X/grails-app/views/index.gsp
  73. +0 −69 myCalendar-extjs4.X/web-app/index_fakeData.html
  74. +0 −524 myCalendar-extjs4.X/web-app/js/feyaSoft/calendar/editor/EventEditor.js
  75. 0  {myCalendar-extjs4.X → }/myCalendar-test.launch
  76. 0  {myCalendar-extjs4.X → }/myCalendar.launch
  77. 0  {myCalendar-extjs4.X → }/myCalendar.tmproj
  78. 0  {myCalendar-extjs4.X → }/src/java/Helper.java
  79. 0  {myCalendar-extjs4.X → }/src/java/org/json/JSONArray.java
  80. 0  {myCalendar-extjs4.X → }/src/java/org/json/JSONException.java
  81. 0  {myCalendar-extjs4.X → }/src/java/org/json/JSONObject.java
  82. 0  {myCalendar-extjs4.X → }/src/java/org/json/JSONString.java
  83. 0  {myCalendar-extjs4.X → }/src/java/org/json/JSONStringer.java
  84. 0  {myCalendar-extjs4.X → }/src/java/org/json/JSONTokener.java
  85. 0  {myCalendar-extjs4.X → }/src/java/org/json/JSONWriter.java
  86. 0  {myCalendar-extjs4.X → }/stacktrace.log
  87. 0  {myCalendar-extjs4.X → }/test/unit/EmailReminderJobTests.groovy
  88. 0  {myCalendar-extjs4.X → }/web-app/WEB-INF/applicationContext.xml
  89. 0  {myCalendar-extjs4.X → }/web-app/WEB-INF/sitemesh.xml
  90. 0  {myCalendar-extjs4.X → }/web-app/WEB-INF/tld/c.tld
  91. 0  {myCalendar-extjs4.X → }/web-app/WEB-INF/tld/fmt.tld
  92. 0  {myCalendar-extjs4.X → }/web-app/WEB-INF/tld/grails.tld
  93. 0  {myCalendar-extjs4.X → }/web-app/WEB-INF/tld/spring.tld
  94. 0  {myCalendar-extjs4.X → }/web-app/css/main.css
  95. 0  {myCalendar-extjs4.X → }/web-app/fakeData/initLoad.json
  96. 0  {myCalendar-extjs4.X → }/web-app/fakeData/listEvent.json
  97. 0  {myCalendar-extjs4.X → }/web-app/images/leftnav_btm.png
  98. 0  {myCalendar-extjs4.X → }/web-app/images/leftnav_midstretch.png
  99. 0  {myCalendar-extjs4.X → }/web-app/images/leftnav_top.png
  100. 0  {myCalendar-extjs4.X → }/web-app/images/skin/database_add.png
  101. 0  {myCalendar-extjs4.X → }/web-app/images/skin/database_delete.png
  102. 0  {myCalendar-extjs4.X → }/web-app/images/skin/database_edit.png
  103. 0  {myCalendar-extjs4.X → }/web-app/images/skin/database_save.png
  104. 0  {myCalendar-extjs4.X → }/web-app/images/skin/database_table.png
  105. 0  {myCalendar-extjs4.X → }/web-app/images/skin/exclamation.png
  106. 0  {myCalendar-extjs4.X → }/web-app/images/skin/house.png
  107. 0  {myCalendar-extjs4.X/web-app/js/feyaSoft/calendar/image → web-app/images/skin}/information.png
  108. 0  {myCalendar-extjs4.X → }/web-app/images/skin/shadow.jpg
  109. 0  {myCalendar-extjs4.X → }/web-app/images/skin/sorted_asc.gif
  110. 0  {myCalendar-extjs4.X → }/web-app/images/skin/sorted_desc.gif
  111. 0  {myCalendar-extjs4.X → }/web-app/images/spinner.gif
  112. +54 −0 web-app/index_fakeData.html
  113. +18 −21 {myCalendar-extjs4.X → }/web-app/index_php.html
  114. 0  {myCalendar-extjs4.X → }/web-app/js/application.js
  115. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/.project
  116. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/ASP.NET/CONST_ASPNET.js
  117. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/ASP.NET/ReadMe.txt
  118. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/ASP.NET/Takvim.ashx
  119. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/ASP.NET/Takvim.cs
  120. +64 −0 web-app/js/feyaSoft/calendar/BackThread.js
  121. +606 −0 web-app/js/feyaSoft/calendar/CalendarContainer.js
  122. +44 −0 web-app/js/feyaSoft/calendar/CalendarWin.js
  123. +46 −0 web-app/js/feyaSoft/calendar/CommentTip.js
  124. +900 −0 web-app/js/feyaSoft/calendar/DataSource.js
  125. +2,160 −0 web-app/js/feyaSoft/calendar/EventHandler.js
  126. +105 −0 web-app/js/feyaSoft/calendar/MainPanel.js
  127. +84 −0 web-app/js/feyaSoft/calendar/Viewer-tabpanel.js
  128. +70 −0 web-app/js/feyaSoft/calendar/Viewer-win.js
  129. +118 −0 web-app/js/feyaSoft/calendar/Viewer.js
  130. +172 −0 web-app/js/feyaSoft/calendar/WestPanel.js
  131. +1 −1  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/common/CONST_FAKE_DATA.js
  132. +1 −1  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/common/CONST_GRAILS.js
  133. +1 −1  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/common/CONST_PHP.js
  134. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/common/LanManager.js
  135. +1 −1  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/common/Mask.js
  136. +12 −12 {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/common/RepeatType.js
  137. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/css/calendar.css
  138. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/editor/CalendarEditor.js
  139. +180 −147 {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/editor/DetailEditor.js
  140. +485 −0 web-app/js/feyaSoft/calendar/editor/EventEditor.js
  141. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/Thumbs.db
  142. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/accept.png
  143. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/add.png
  144. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/application_view_list.png
  145. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/application_view_tile.png
  146. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/asterisk.png
  147. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/asterisk_orange.png
  148. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/asterisk_yellow.png
  149. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/back.gif
  150. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/btn-arrow.gif
  151. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/bullet_green.png
  152. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/bullet_orange.png
  153. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/bullet_red.png
  154. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/calendar.png
  155. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/calendar_add.png
  156. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/calendar_edit.png
  157. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/calendar_link.png
  158. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/calendar_view_day.png
  159. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/calendar_view_month.png
  160. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/calendar_view_week.png
  161. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/cancel.png
  162. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/clear-trigger.gif
  163. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/clock-black.png
  164. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/clock-white.png
  165. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/clock_red.png
  166. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/clock_stop.png
  167. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/close.gif
  168. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/cog.png
  169. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/color_swatch.png
  170. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/cross.png
  171. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/cut-bg.gif
  172. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/cut_red.png
  173. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/delete.png
  174. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/door_out.png
  175. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/down.png
  176. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/drop-no.gif
  177. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/ds-handle.png
  178. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/exception-black.png
  179. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/exception-white.png
  180. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/exclamation.gif
  181. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/feyasoft-icon.png
  182. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/feyasoft_logo.jpg
  183. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/glass-bg.gif
  184. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/group.png
  185. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/group_delete.png
  186. 0  {myCalendar-extjs4.X/web-app/images/skin → web-app/js/feyaSoft/calendar/image}/information.png
  187. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/key.png
  188. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/key_1.png
  189. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/lightbulb.png
  190. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/lightbulb_off.png
  191. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/lock.png
  192. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/lock_1.png
  193. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/lock_add.png
  194. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/lock_delete.png
  195. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/lock_open.png
  196. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/locked-black.png
  197. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/locked-white.png
  198. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/magnifier.png
  199. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/mini-bottom.gif
  200. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/next.gif
  201. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/ns-expand.gif
  202. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/page_copy.png
  203. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/paste_plain.png
  204. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/pin-off.png
  205. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/pin-on.png
  206. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/plugin.png
  207. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/repeat-black.png
  208. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/repeat-white.png
  209. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/s-handle.png
  210. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/bottom.png
  211. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/lb-corners.png
  212. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/left-tg.png
  213. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/left.png
  214. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/lt-corners-clear.png
  215. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/lt-corners.png
  216. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/rb-corners.png
  217. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/right-tg.png
  218. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/right.png
  219. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/rt-corners-clear.png
  220. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/rt-corners.png
  221. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/blue/top.png
  222. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/bottom.png
  223. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/lb-corners.png
  224. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/left-tg.png
  225. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/left.png
  226. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/lt-corners-clear.png
  227. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/lt-corners.png
  228. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/rb-corners.png
  229. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/right-tg.png
  230. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/right.png
  231. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/rt-corners-clear.png
  232. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/rt-corners.png
  233. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/cyan/top.png
  234. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/bottom.png
  235. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/lb-corners.png
  236. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/left-tg.png
  237. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/left.png
  238. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/lt-corners-clear.png
  239. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/lt-corners.png
  240. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/rb-corners.png
  241. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/right-tg.png
  242. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/right.png
  243. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/rt-corners-clear.png
  244. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/rt-corners.png
  245. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/green/top.png
  246. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/bottom.png
  247. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/lb-corners.png
  248. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/left-tg.png
  249. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/left.png
  250. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/lt-corners-clear.png
  251. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/lt-corners.png
  252. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/rb-corners.png
  253. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/right-tg.png
  254. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/right.png
  255. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/rt-corners-clear.png
  256. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/rt-corners.png
  257. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/orange/top.png
  258. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/bottom.png
  259. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/lb-corners.png
  260. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/left-tg.png
  261. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/left.png
  262. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/lt-corners-clear.png
  263. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/lt-corners.png
  264. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/rb-corners.png
  265. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/right-tg.png
  266. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/right.png
  267. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/rt-corners-clear.png
  268. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/rt-corners.png
  269. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/purple/top.png
  270. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/bottom.png
  271. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/lb-corners.png
  272. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/left-tg.png
  273. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/left.png
  274. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/lt-corners-clear.png
  275. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/lt-corners.png
  276. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/rb-corners.png
  277. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/right-tg.png
  278. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/right.png
  279. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/rt-corners-clear.png
  280. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/rt-corners.png
  281. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/skin/red/top.png
  282. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/tag_blue.png
  283. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/tag_blue_add.png
  284. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/tag_blue_edit.png
  285. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/tag_yellow.png
  286. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/textfield_add.png
  287. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/timeindex.png
  288. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/timeline.png
  289. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/trash.png
  290. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/wn-bar.png
  291. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/wn.png
  292. 0  {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/image/world.png
  293. +46 −0 web-app/js/feyaSoft/calendar/layout/Block.js
  294. +32 −0 web-app/js/feyaSoft/calendar/layout/BlockMap.js
  295. +628 −0 web-app/js/feyaSoft/calendar/layout/CalendarLayout.js
  296. +457 −0 web-app/js/feyaSoft/calendar/layout/LayoutGrid.js
  297. +33 −0 web-app/js/feyaSoft/calendar/layout/Line.js
  298. +3 −3 {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/multi-language/de.js
  299. +4 −4 {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/multi-language/en.js
  300. +3 −3 {myCalendar-extjs4.X → }/web-app/js/feyaSoft/calendar/multi-language/en_US.js
Sorry, we could not display the entire diff because too many files (336) changed.
View
0  myCalendar-extjs4.X/.classpath → .classpath
File renamed without changes
View
0  myCalendar-extjs4.X/.project → .project
File renamed without changes
View
0  .../.settings/com.springsource.sts.grails.core.prefs → .settings/com.springsource.sts.grails.core.prefs
File renamed without changes
View
0  ...ngs/org.codehaus.groovy.eclipse.preferences.prefs → ...ngs/org.codehaus.groovy.eclipse.preferences.prefs
File renamed without changes
View
0  ...tjs4.X/.settings/org.eclipse.core.resources.prefs → .settings/org.eclipse.core.resources.prefs
File renamed without changes
View
0  ...ngs/org.eclipse.wst.common.project.facet.core.xml → ...ngs/org.eclipse.wst.common.project.facet.core.xml
File renamed without changes
View
4 README → README.md
@@ -1,8 +1,8 @@
-MyCalendar[2.5.5] is an extjs-based calendar widget for visualizing time-based
+MyCalendar is an extjs-based calendar widget for visualizing time-based
events. It is capable of rendering dynamic, calendar-style views of event data
from JSON data. MyCalendar does not tight to any specific server for its data
backend. You can use Java, PHP, .NET to create JSON data and feed to MyCalendar.
-Work with extjs4.x and extjs3.x.
+Work with extjs4.x.
MyCalendar is released under the GNU GPL 3.0 license and Commerical License.
MyCalendar uses the same dual licensing model used by Sencha for Ext JS. It's
View
0  myCalendar-extjs4.X/README/ASP.NET/ASP-README → README/ASP.NET/ASP-README
File renamed without changes
View
0  ...s4.X/README/FeyaSoft_Commercial_License_Terms.pdf → README/FeyaSoft_Commercial_License_Terms.pdf
File renamed without changes
View
13 myCalendar-extjs4.X/README/README → README/README
@@ -1,4 +1,4 @@
-MyCalendar[2.5.4] is an extjs-based calendar widget for visualizing time-based
+MyCalendar[2.5.0] is an extjs-based calendar widget for visualizing time-based
events. It is capable of rendering dynamic, calendar-style views of event data
from JSON data. MyCalendar does not tight to any specific server for its data
backend. You can use Java, PHP, .NET to create JSON data and feed to MyCalendar.
@@ -15,15 +15,6 @@ We do provide the different backend code for your to quick merge myCalendar to
your existing application. For the easier one, you can choose fakeData, please
go to <README/fakeData> folder and follow fakeData-README to process.
-If your backend is PHP, please visit <README/php> folder and follow php-README
-to process.
-
-If your backend is Grails, please visit <README/grails> folder and follow
-grails-README to process.
-
-We also have different examples to Render calendar into DIV, TabPanel, popup window
-or Viewport, please see the example.
-
For more information, please visit: http://www.cubedrive.com/myCalendar
-or email us with info@feyasoft.com
+or email us @ info@feyasoft.com
View
15 myCalendar-extjs4.X/README/fakeData/fakeData-README → README/fakeData/fakeData-README
@@ -27,9 +27,6 @@
Notes: This method just let your have a quick view about myCalendar function.
You can not save the event. We just hard code the json data for quick
start application.
- You need use your backend to create the related json data if you want to
- integrate myCalendar to your application.
- You can follow our Grails or PHP code.
///////////////////////////////////////////////////////////////////////////////
1: FakeData will provide your a quick way to start myCalendar if you do not have
@@ -39,7 +36,7 @@ Notes: This method just let your have a quick view about myCalendar function.
<unzipped-folder>/web-app/js/extjs
-3: Start application server, for example Tomcat, Jetty. Point it to this project
+3: Start application server, for example Tomcat. Point it to this project
4: Go to url:
@@ -47,18 +44,16 @@ Notes: This method just let your have a quick view about myCalendar function.
5: You will see init page appear.
-6: See the files
+6: Under folder: js/feyaSoft/calendar/common
- Under folder: js/feyaSoft/calendar/common
-
- A file: CONST_FAKE_DATA.js includes the following two JSON data:
+ A file: CONST_FAKE_DATA.js is added.
loadEventURL:'fakeData/listEvent.json',
initialLoadURL:'fakeData/initLoad.json',
- You can find those 2 json format file under web-app/fakeData.
+7: And a new folder, web-app/fakeData which is used to have the init json data.
- A new index html file is added: web_app/index_fakeData.html
+8: A new index html file is added: web_app/index_fakeData.html
View
0  myCalendar-extjs4.X/README/grails/DataSource.groovy → README/grails/DataSource.groovy
File renamed without changes
View
0  myCalendar-extjs4.X/README/grails/grails-README → README/grails/grails-README
File renamed without changes
View
0  myCalendar-extjs4.X/README/myCalendarLicense.html → README/myCalendarLicense.html
File renamed without changes
View
0  ...ar-extjs4.X/README/php/myCalendar2.5.0-tables.sql → README/php/myCalendar2.5.0-tables.sql
File renamed without changes
View
0  myCalendar-extjs4.X/README/php/php-README → README/php/php-README
File renamed without changes
View
30 myCalendar-extjs4.X/README/releaseNotes → README/releaseNotes
@@ -1,33 +1,3 @@
-Version 2.5.5, released at November 11, 2011
-
- Fixed Google Chrome browser (Beta Channel 16.0.912.32) crash
- Fixed several small bugs.
-
-Version 2.5.4, released at October 25, 2011
-
- Fixed the issue related to week number - when calendar setting put Sunday as week start date.
- Add Render calendar to DIV example.
-
-Version 2.5.3, released at October 10, 2011
-
- Fix rd.data bug
- Fix the issue related to date in detail panel
-
-Version 2.5.2, released at August 10, 2011
-
- Fixed the following issues:
- The DatePicker exception when loading the calendar first time.
- The current date range in the DatePicker is not always as the same as the shown date range in the view.
- In the setting window miss some config value.
- In the setting window, the start time value always invalid when it open.
- In the month view, click the date link in the cell, such as '08/09', won't switch to day view but it should.
-
-Version 2.5.1, released at August 6, 2011
-
- Fixed issues related to repeat events.
- Rewrite the layout in DetailEditor part to fixed the DetailEditor layout issue in IE.
- Update README to make it clear.
-
Version 2.5.0, released at August 2, 2011
Upgrade system to make it work with extjs4.X
View
1  myCalendar-extjs4.X/README/upgrade_README.txt → README/upgrade_README.txt
@@ -3,6 +3,7 @@ To upgrade from myCalendar2.1.0 to myCalendar 2.5.0, you need know following:
//////////////////////////////////////////////////////////////////////////////
This version just update to extjs4.
+
//////////////////////////////////////////////////////////////////////////////
To upgrade from myCalendar2.0.3 to myCalendar 2.0.5, you need know following:
//////////////////////////////////////////////////////////////////////////////
View
0  myCalendar-extjs4.X/application.properties → application.properties
File renamed without changes
View
0  myCalendar-extjs4.X/build.xml → build.xml
File renamed without changes
View
0  myCalendar-extjs4.X/grails-app/conf/BootStrap.groovy → grails-app/conf/BootStrap.groovy
File renamed without changes
View
0  myCalendar-extjs4.X/grails-app/conf/Config.groovy → grails-app/conf/Config.groovy
File renamed without changes
View
0  ...lendar-extjs4.X/grails-app/conf/DataSource.groovy → grails-app/conf/DataSource.groovy
File renamed without changes
View
0  ...endar-extjs4.X/grails-app/conf/UrlMappings.groovy → grails-app/conf/UrlMappings.groovy
File renamed without changes
View
0  ...-extjs4.X/grails-app/conf/spring/resources.groovy → grails-app/conf/spring/resources.groovy
File renamed without changes
View
0  .../grails-app/controllers/CalendarController.groovy → grails-app/controllers/CalendarController.groovy
File renamed without changes
View
0  ...ls-app/controllers/CalendarEventController.groovy → ...ls-app/controllers/CalendarEventController.groovy
File renamed without changes
View
0  ...-app/controllers/CalendarSettingController.groovy → ...-app/controllers/CalendarSettingController.groovy
File renamed without changes
View
0  ...ils-app/controllers/CalendarTypeController.groovy → grails-app/controllers/CalendarTypeController.groovy
File renamed without changes
View
0  ...X/grails-app/controllers/GeneralController.groovy → grails-app/controllers/GeneralController.groovy
File renamed without changes
View
0  ...r-extjs4.X/grails-app/domain/CalendarEvent.groovy → grails-app/domain/CalendarEvent.groovy
File renamed without changes
View
0  ....X/grails-app/domain/CalendarEventReminder.groovy → grails-app/domain/CalendarEventReminder.groovy
File renamed without changes
View
0  ...extjs4.X/grails-app/domain/CalendarSetting.groovy → grails-app/domain/CalendarSetting.groovy
File renamed without changes
View
0  ...r-extjs4.X/grails-app/domain/CalendarShare.groovy → grails-app/domain/CalendarShare.groovy
File renamed without changes
View
0  ...ar-extjs4.X/grails-app/domain/CalendarType.groovy → grails-app/domain/CalendarType.groovy
File renamed without changes
View
0  myCalendar-extjs4.X/grails-app/domain/User.groovy → grails-app/domain/User.groovy
File renamed without changes
View
0  ...ndar-extjs4.X/grails-app/i18n/messages.properties → grails-app/i18n/messages.properties
File renamed without changes
View
0  ...r-extjs4.X/grails-app/i18n/messages_de.properties → grails-app/i18n/messages_de.properties
File renamed without changes
View
0  ...r-extjs4.X/grails-app/i18n/messages_es.properties → grails-app/i18n/messages_es.properties
File renamed without changes
View
0  ...r-extjs4.X/grails-app/i18n/messages_fr.properties → grails-app/i18n/messages_fr.properties
File renamed without changes
View
0  ...r-extjs4.X/grails-app/i18n/messages_it.properties → grails-app/i18n/messages_it.properties
File renamed without changes
View
0  ...r-extjs4.X/grails-app/i18n/messages_ja.properties → grails-app/i18n/messages_ja.properties
File renamed without changes
View
0  ...r-extjs4.X/grails-app/i18n/messages_nl.properties → grails-app/i18n/messages_nl.properties
File renamed without changes
View
0  ...xtjs4.X/grails-app/i18n/messages_pt_BR.properties → grails-app/i18n/messages_pt_BR.properties
File renamed without changes
View
0  ...r-extjs4.X/grails-app/i18n/messages_ru.properties → grails-app/i18n/messages_ru.properties
File renamed without changes
View
0  ...r-extjs4.X/grails-app/i18n/messages_th.properties → grails-app/i18n/messages_th.properties
File renamed without changes
View
0  ...xtjs4.X/grails-app/i18n/messages_zh_CN.properties → grails-app/i18n/messages_zh_CN.properties
File renamed without changes
View
0  ...-extjs4.X/grails-app/jobs/EmailReminderJob.groovy → grails-app/jobs/EmailReminderJob.groovy
File renamed without changes
View
0  ...-app/services/CalendarEventReminderService.groovy → ...-app/services/CalendarEventReminderService.groovy
File renamed without changes
View
0  ...X/grails-app/services/CalendarEventService.groovy → grails-app/services/CalendarEventService.groovy
File renamed without changes
View
0  ...grails-app/services/CalendarSettingService.groovy → grails-app/services/CalendarSettingService.groovy
File renamed without changes
View
0  ....X/grails-app/services/CalendarTypeService.groovy → grails-app/services/CalendarTypeService.groovy
File renamed without changes
View
0  ...r-extjs4.X/grails-app/services/UserService.groovy → grails-app/services/UserService.groovy
File renamed without changes
View
0  ...ails-app/utils/CalendarEventSearchCriteria.groovy → grails-app/utils/CalendarEventSearchCriteria.groovy
File renamed without changes
View
0  ...s4.X/grails-app/utils/CalendarEventUIModel.groovy → grails-app/utils/CalendarEventUIModel.groovy
File renamed without changes
View
0  ....X/grails-app/utils/CalendarSettingUIModel.groovy → grails-app/utils/CalendarSettingUIModel.groovy
File renamed without changes
View
0  ...js4.X/grails-app/utils/CalendarTypeUIModel.groovy → grails-app/utils/CalendarTypeUIModel.groovy
File renamed without changes
View
0  myCalendar-extjs4.X/grails-app/utils/DateUtil.groovy → grails-app/utils/DateUtil.groovy
File renamed without changes
View
0  myCalendar-extjs4.X/grails-app/utils/UIUser.groovy → grails-app/utils/UIUser.groovy
File renamed without changes
View
0  myCalendar-extjs4.X/grails-app/views/error.gsp → grails-app/views/error.gsp
File renamed without changes
View
55 grails-app/views/index.gsp
@@ -0,0 +1,55 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>FeyaSoft Calendar</title>
+
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta http-equiv="Cache-Control" content="no-store">
+ <meta http-equiv="Cache-Control" content="no-cache">
+ <meta http-equiv="Pragma" content="no-cache, must-revalidate, no-store"/>
+ <meta name="keywords" content="Calendar, FeyaSoft, Private Cloud" />
+ <meta name="description" content="CubeDrive includes online office, events, project mgr., CRM, flow chart. Find friend, create group, organization and collaborate in the most efficient way." />
+ <meta name="robots" content="all" />
+ <meta name="author" content="FeyaSoft Inc." >
+
+ <link rel="stylesheet" href="${createLinkTo(dir:'js',file:'extjs/resources/css/ext-all.css')}"></link>
+ <link rel="stylesheet" href="${createLinkTo(dir:'js/feyaSoft/calendar/css',file:'calendar.css')}"></link>
+ <script type="text/javascript" src="${createLinkTo(dir:'js',file:'extjs/ext-all-debug.js')}"></script>
+
+ <g:javascript library="feyaSoft/calendar/util/LabelField"/>
+ <g:javascript library="feyaSoft/calendar/util/DatePicker"/>
+ <g:javascript library="feyaSoft/calendar/util/SearchField"/>
+
+ <g:javascript library="feyaSoft/calendar/common/CONST_GRAILS"/>
+ <g:javascript library="feyaSoft/calendar/common/LanManager"/>
+ <g:javascript library="feyaSoft/calendar/common/Mask"/>
+ <g:javascript library="feyaSoft/calendar/common/RepeatType"/>
+
+ <g:javascript library="feyaSoft/calendar/CommentTip"/>
+ <g:javascript library="feyaSoft/calendar/view/BasicView"/>
+ <g:javascript library="feyaSoft/calendar/layout/Block"/>
+ <g:javascript library="feyaSoft/calendar/layout/BlockMap"/>
+ <g:javascript library="feyaSoft/calendar/layout/Line"/>
+ <g:javascript library="feyaSoft/calendar/layout/LayoutGrid"/>
+ <g:javascript library="feyaSoft/calendar/layout/CalendarLayout"/>
+ <g:javascript library="feyaSoft/calendar/popup/ExpirePopup"/>
+ <g:javascript library="feyaSoft/calendar/popup/SettingPopup"/>
+ <g:javascript library="feyaSoft/calendar/BackThread"/>
+ <g:javascript library="feyaSoft/calendar/DataSource"/>
+ <g:javascript library="feyaSoft/calendar/editor/EventEditor"/>
+ <g:javascript library="feyaSoft/calendar/editor/DetailEditor"/>
+ <g:javascript library="feyaSoft/calendar/editor/CalendarEditor"/>
+ <g:javascript library="feyaSoft/calendar/EventHandler"/>
+ <g:javascript library="feyaSoft/calendar/view/DayView"/>
+ <g:javascript library="feyaSoft/calendar/view/MonthView"/>
+ <g:javascript library="feyaSoft/calendar/view/ResultView"/>
+ <g:javascript library="feyaSoft/calendar/CalendarContainer"/>
+ <g:javascript library="feyaSoft/calendar/WestPanel"/>
+ <g:javascript library="feyaSoft/calendar/MainPanel"/>
+ <g:javascript library="feyaSoft/calendar/CalendarWin"/>
+ <g:javascript library="feyaSoft/calendar/Viewer"/>
+</head>
+<body>
+
+</body>
+</html>
View
0  myCalendar-extjs4.X/ivy.xml → ivy.xml
File renamed without changes
View
0  myCalendar-extjs4.X/ivysettings.xml → ivysettings.xml
File renamed without changes
View
BIN  myCalendar-2.1.0-extjs3.X.zip
Binary file not shown
View
BIN  myCalendar-2.1.1-extjs3.X.zip
Binary file not shown
View
BIN  myCalendar-2.5.0-extjs4.X.zip
Binary file not shown
View
BIN  myCalendar-2.5.1-extjs4.X.zip
Binary file not shown
View
BIN  myCalendar-2.5.2-extjs4.X.zip
Binary file not shown
View
BIN  myCalendar-2.5.3-extjs4.X.zip
Binary file not shown
View
BIN  myCalendar-2.5.4-extjs4.X.zip
Binary file not shown
View
BIN  myCalendar-2.5.5-extjs4.X.zip
Binary file not shown
View
68 myCalendar-extjs4.X/grails-app/views/index.gsp
@@ -1,68 +0,0 @@
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <title>FeyaSoft Calendar | CubeDrive</title>
-
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta http-equiv="Cache-Control" content="no-store">
- <meta http-equiv="Cache-Control" content="no-cache">
- <meta http-equiv="Pragma" content="no-cache, must-revalidate, no-store"/>
- <meta name="keywords" content="Calendar, FeyaSoft, CubeDrive, Private Cloud" />
- <meta name="description" content="CubeDrive Private Cloud includes online office, events, project mgr., CRM, flow chart. Find friend, create group, organization and collaborate in the most efficient way." />
- <meta name="robots" content="all" />
- <meta name="author" content="FeyaSoft Inc." >
-
- <link rel="stylesheet" href="${createLinkTo(dir:'js',file:'extjs/resources/css/ext-all.css')}"></link>
- <link rel="stylesheet" href="${createLinkTo(dir:'js/feyaSoft/calendar/css',file:'calendar.css')}"></link>
- <script type="text/javascript" src="${createLinkTo(dir:'js',file:'extjs/ext-all.js')}"></script>
-
- <g:javascript library="feyaSoft/calendar/util/LabelField"/>
- <g:javascript library="feyaSoft/calendar/util/DatePicker"/>
- <g:javascript library="feyaSoft/calendar/util/SearchField"/>
-
- <g:javascript library="feyaSoft/calendar/common/CONST_GRAILS"/>
- <g:javascript library="feyaSoft/calendar/common/LanManager"/>
- <g:javascript library="feyaSoft/calendar/common/Mask"/>
- <g:javascript library="feyaSoft/calendar/common/RepeatType"/>
- <g:javascript library="feyaSoft/calendar/common/CommentTip"/>
- <g:javascript library="feyaSoft/calendar/common/BackThread"/>
-
- <g:javascript library="feyaSoft/calendar/view/BasicView"/>
- <g:javascript library="feyaSoft/calendar/store/DataSource"/>
- <g:javascript library="feyaSoft/calendar/editor/EventEditor"/>
- <g:javascript library="feyaSoft/calendar/editor/DetailEditor"/>
- <g:javascript library="feyaSoft/calendar/editor/CalendarEditor"/>
- <g:javascript library="feyaSoft/calendar/control/EventHandler"/>
- <g:javascript library="feyaSoft/calendar/view/popup/ExpirePopup"/>
- <g:javascript library="feyaSoft/calendar/view/popup/SettingPopup"/>
- <g:javascript library="feyaSoft/calendar/view/layout/Block"/>
- <g:javascript library="feyaSoft/calendar/view/layout/BlockMap"/>
- <g:javascript library="feyaSoft/calendar/view/layout/Line"/>
- <g:javascript library="feyaSoft/calendar/view/layout/LayoutGrid"/>
- <g:javascript library="feyaSoft/calendar/view/layout/CalendarLayout"/>
- <g:javascript library="feyaSoft/calendar/view/DayView"/>
- <g:javascript library="feyaSoft/calendar/view/MonthView"/>
- <g:javascript library="feyaSoft/calendar/view/ResultView"/>
- <g:javascript library="feyaSoft/calendar/view/CalendarContainer"/>
- <g:javascript library="feyaSoft/calendar/view/WestPanel"/>
- <g:javascript library="feyaSoft/calendar/view/MainPanel"/>
- <g:javascript library="feyaSoft/calendar/view/CalendarWin"/>
-
- <!-- for render example, please use this one
- <g:javascript library="feyaSoft/calendar/view/Viewer-DIV"/>
- -->
- <!-- for tab example, please use this one
- <g:javascript library="feyaSoft/calendar/view/Viewer-tabpanel"/>
- -->
- <!-- for window example, please use this one
- <g:javascript library="feyaSoft/calendar/view/Viewer-win"/>
- -->
- <g:javascript library="feyaSoft/calendar/view/Viewer"/>
-
-</head>
-<body>
- <!-- render to DIV, need add this
- <div id="calendar-container"></div>
- -->
-</body>
-</html>
View
69 myCalendar-extjs4.X/web-app/index_fakeData.html
@@ -1,69 +0,0 @@
-<html>
-<head>
-<title>FeyaSoft Calendar | CubeDrive</title>
-
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta http-equiv="Cache-Control" content="no-store">
- <meta http-equiv="Cache-Control" content="no-cache">
- <meta http-equiv="Pragma" content="no-cache, must-revalidate, no-store"/>
- <meta http-equiv="Pragma" content="no-cache, must-revalidate, no-store"/>
- <meta name="keywords" content="Calendar, FeyaSoft, CubeDrive, Private Cloud" />
- <meta name="description" content="CubeDrive Private Cloud includes online office, events, project mgr., CRM, flow chart. Find friend, create group, organization and collaborate in the most efficient way." />
- <meta name="robots" content="all" />
- <meta name="author" content="FeyaSoft Inc." >
-
- <link rel="stylesheet" type="text/css" href="js/extjs/resources/css/ext-all.css" />
- <link rel="stylesheet" type="text/css" href="js/feyaSoft/calendar/css/calendar.css" />
- <script type="text/javascript" src="js/extjs/ext-all-debug.js"></script>
-
- <!-- define the default language here -->
- <script type="text/javascript" src="js/feyaSoft/calendar/util/LabelField.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/util/DatePicker.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/util/SearchField.js"></script>
-
- <script type="text/javascript" src="js/feyaSoft/calendar/common/CONST_FAKE_DATA.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/common/LanManager.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/common/Mask.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/common/RepeatType.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/common/CommentTip.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/common/BackThread.js"></script>
-
- <script type="text/javascript" src="js/feyaSoft/calendar/view/BasicView.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/store/DataSource.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/editor/EventEditor.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/editor/DetailEditor.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/editor/CalendarEditor.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/control/EventHandler.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/layout/Block.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/layout/BlockMap.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/layout/Line.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/layout/LayoutGrid.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/layout/CalendarLayout.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/popup/ExpirePopup.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/popup/SettingPopup.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/DayView.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/MonthView.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/ResultView.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/CalendarContainer.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/WestPanel.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/MainPanel.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/CalendarWin.js"></script>
-
- <!-- for render example, please use this one
- <script type="text/javascript" src="js/feyaSoft/calendar/view/Viewer-DIV.js"></script>
- -->
- <!-- for popup win example, please use this one
- <script type="text/javascript" src="js/feyaSoft/calendar/view/Viewer-win.js"></script>
- -->
- <!-- for tab example, please use this one
- <script type="text/javascript" src="js/feyaSoft/calendar/view/Viewer-tabpanel.js"></script>
- -->
- <script type="text/javascript" src="js/feyaSoft/calendar/view/Viewer.js"></script>
-</head>
-<body>
- <!-- render to DIV, need add this
- <div id="calendar-container"></div>
- -->
-
-</body>
-</html>
View
524 myCalendar-extjs4.X/web-app/js/feyaSoft/calendar/editor/EventEditor.js
@@ -1,524 +0,0 @@
-/**
- * FeyaSoft MyCalendar
- * Copyright(c) 2006-2011, FeyaSoft Inc. All right reserved.
- * info@feyasoft.com
- * http://www.feyasoft.com
- *
- * Please read license first before your use myCalendar, For more detail
- * information, please can visit our link: http://www.cubedrive.com/myCalendar
- *
- * You need buy one of the Feyasoft's License if you want to use MyCalendar in
- * your commercial product. You must not remove, obscure or interfere with any
- * FeyaSoft copyright, acknowledgment, attribution, trademark, warning or
- * disclaimer statement affixed to, incorporated in or otherwise applied in
- * connection with the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
- * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
- * WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE
- * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
- * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- */
-Ext.ns('Ext.ux.calendar.editor');
-
-Ext.ux.calendar.editor.EventEditor = function(config) {
- Ext.apply(this, config);
- this.ehandler.applyCalendarSetting(this);
- var lan = Ext.ux.calendar.Mask.Editor;
-
- this.timeField = this.timeField || new Ext.util.LabelField({
- fieldLabel : lan['startDayField.label'],
- anchor : '99%'
- });
-
- this.subjectField = this.subjectField || new Ext.form.TextField({
- fieldLabel : lan['subjectField.label'],
- anchor : '99%'
- });
-
- this.contentField = this.contentField || new Ext.form.TextField({
- fieldLabel : lan['contentField.label'],
- anchor : '99%'
- });
-
- var ctplstr = this.ehandler.cTplStr;
- this.calendarField = Ext.create('Ext.form.field.ComboBox', {
- fieldLabel : lan['calendarField.label'],
- anchor : '99%',
- store : Ext.ux.calendar.Mask.getCalendarStore(),
- displayField : 'title',
- valueField : 'id',
- queryMode : 'local',
- listConfig : {
- getInnerTpl : function() {
- return '<div class="x-combo-list-item">' + ctplstr + '</div>';
- }
- }
- });
-
- this.alertCB = this.alertCB || new Ext.form.Checkbox({
- anchor : '99%',
- boxLabel : lan['alertCB.label']
- });
-
- this.deleteBtn = this.deleteBtn || new Ext.Button({
- iconCls : 'icon_feyaCalendar_delete',
- text : lan['deleteBtn.text'],
- disabled : true,
- handler : this.onRemoveFn,
- scope : this
- });
-
- this.saveBtn = this.saveBtn || new Ext.Button({
- iconCls : 'icon_feyaCalendar_accept',
- text : lan['saveBtn.text'],
- handler : this.onSaveFn,
- scope : this
- });
-
- this.detailBtn = this.detailBtn || new Ext.Button({
- text : lan['detailSetting'],
- handler : this.onDetailFn,
- scope : this
- });
-
- this.cancelBtn = this.cancelBtn || new Ext.Button({
- iconCls : 'icon_feyaCalendar_cancel',
- minWidth : 80,
- text : lan['cancelBtn.text'],
- handler : this.onCancelFn,
- scope : this
- });
-
- Ext.ux.calendar.editor.EventEditor.superclass.constructor.call(this, {
- bodyStyle : 'padding:5px 5px 10px 15px;',
- items : [ this.timeField, this.subjectField, this.contentField, {
- anchor : '99%',
- xtype : 'container',
- layout : 'column',
- items : [ {
- xtype : 'container',
- columnWidth : .6,
- layout : 'anchor',
- items : [ this.calendarField ]
- }, {
- xtype : 'container',
- columnWidth : .4,
- items : [ this.alertCB ]
- } ]
- } ],
- buttonAlign : 'center',
- buttons : [ this.detailBtn, this.deleteBtn, this.saveBtn,
- this.cancelBtn ]
- });
- this.addEvents('showdetailsetting', 'hided', 'hideeditor', 'showed');
- this.on('afterrender', this.onRenderFn, this);
- this.on('showed', this.onShowFn, this);
- this.on('hided', this.onHideFn, this);
- this.on('hideeditor', this.onHideEditorFn, this);
- this.calendarField.on('select', this.onCalendarSelectFn, this);
-};
-
-Ext
- .extend(
- Ext.ux.calendar.editor.EventEditor,
- Ext.form.FormPanel,
- {
- style : 'z-index:10000000;',
-
- title : ' ',
-
- width : 460,
-
- height : 180,
-
- // baseCls:'x-tip',
-
- closable : true,
-
- closeAction : 'onCancelFn',
-
- resizable : false,
-
- frame : true,
-
- floating : {
- shadow : true,
- shim : true,
- useDisplay : true,
- constrain : false
- },
-
- initComponent : function() {
- Ext.ux.calendar.editor.EventEditor.superclass.initComponent
- .call(this);
- if (this.closable && !this.title) {
- this.elements += ',header';
- }
- },
-
- onRenderFn : function(p) {
- p.getEl().on('mousedown', function(e) {
- this.mdFlag = true;
- }, this);
- p.getEl().on('mouseup', function(e) {
- delete (this.mdFlag);
- e.stopPropagation();
- }, this);
- },
-
- onDetailFn : function() {
- this.hideEditor();
- this.fireEvent('showdetailsetting', this.obj);
- },
-
- onCalendarSelectFn : function(field, val, options) {
- var coverEl = this.bindEl;
- if (coverEl && !coverEl.hold) {
- var event = coverEl.bindEvent;
- var cview = coverEl.cview;
- var eh = cview.ehandler;
- /*
- * get the selected rd, fix bug74, it's because
- * extjs4 changed the 'select' event of combobox
- */
- var store = this.calendarField.store;
- var value = this.calendarField.getValue();
- var index = store.find('id', value);
- var rd = store.getAt(index);
- var color = eh.calendarSet[rd.data.id].color;
- var arr = Ext.core.DomQuery.select(
- 'div[name=x-event-' + event.day + '-'
- + event.eday + '-' + event.eventId
- + ']', cview.body.dom);
- for ( var i = 0, len = arr.length; i < len; i++) {
- coverEl = Ext.get(arr[i]);
- if (0 == event.startRow
- && this.rowCount == event.endRow) {
- if (this.oldColor != color) {
- eh.changeWholeColor(coverEl,
- this.oldColor, color);
- }
- } else {
- if (this.oldColor != color) {
- if (cview instanceof Ext.ux.calendar.view.DayView) {
- eh.changeEventColor(coverEl,
- this.oldColor, color);
- } else {
- eh.changeLegendColor(coverEl,
- this.oldColor, color);
- }
- }
- }
- }
- }
- this.oldColor = color;
- },
-
- onRemoveFn : function() {
- var lan = Ext.ux.calendar.Mask.EventHandler;
- var coverEl = this.bindEl;
- var be = coverEl.bindEvent;
- var cview = coverEl.cview;
- var eh = cview.ehandler;
- var col = coverEl.col;
- if (coverEl) {
- if ('string' == Ext.ux.calendar.Mask
- .typeOf(be.repeatType)) {
- eh.freeEventEl(coverEl);
- eh.deleteEvent(be, cview, col);
- } else {
- Ext.Msg.show({
- title : lan['deleteRepeatPopup.title'],
- msg : lan['deleteRepeatPopup.msg'],
- buttons : Ext.Msg.YESNOCANCEL,
- fn : function(bid, text) {
- if ('yes' == bid) {
- eh.freeEventEl(coverEl);
- eh.deleteRepeatEvent(be, cview);
- } else if ('no' == bid) {
- eh.freeEventEl(coverEl);
- eh.deleteRepeatEvent(be, cview,
- true);
- }
- },
- icon : Ext.MessageBox.QUESTION
- });
- }
- }
- cview.fireEvent('canceldetail');
- this.hideEditor();
- },
-
- onSaveFn : function() {
- if (this.form.isValid()) {
- var eh = this.ehandler;
- var cview = this.cview;
- if (this.bindEl) {
- var coverEl = this.bindEl;
- var event = coverEl.bindEvent;
- var oevent = Ext.apply({}, event);
- if ('add' == this.action && !coverEl.hold) {
- coverEl.remove();
- }
- event.repeatType = event.repeatType || 'no';
- event.allDay = false;
- if (this.alertCB.checked) {
- if (!event.alertFlag) {
- event.alertFlag = this
- .getAlertSetting();
- }
- } else {
- delete (event.alertFlag);
- }
- event.locked = event.locked || false;
- event.subject = this.subjectField.getValue();
- event.content = this.contentField.getValue();
- event.calendarId = this.calendarField
- .getValue();
- event.color = eh.calendarSet[event.calendarId].color;
- if ('add' == this.action) {
- if ('string' == Ext.ux.calendar.Mask
- .typeOf(event.repeatType)) {
- eh.createEvent(event, cview);
- } else {
- eh.createRepeatEvent(event, cview);
- }
- } else if ('update' == this.action) {
- if (!Ext.ux.calendar.Mask.isEqualObj(
- oevent, event)) {
- if ('string' == Ext.ux.calendar.Mask
- .typeOf(oevent.repeatType)
- && 'string' == Ext.ux.calendar.Mask
- .typeOf(event.repeatType)) {
- eh.updateEvent(event, cview, null,
- oevent, this.noLayout);
- } else {
- if ('string' != Ext.ux.calendar.Mask
- .typeOf(oevent.repeatType)) {
- /*
- * need ask user to choose apply
- * all or just current one
- */
- var lan = Ext.ux.calendar.Mask.EventHandler;
- Ext.Msg
- .show({
- title : lan['updateRepeatPopup.title'],
- msg : lan['updateRepeatPopup.msg'],
- buttons : Ext.Msg.YESNOCANCEL,
- fn : function(bid,
- text) {
- if ('yes' == bid) {
- eh
- .updateRepeatEvent(
- event,
- cview,
- oevent);
- } else if ('no' == bid) {
- event.repeatType = 'exception';
- eh
- .updateRepeatEvent(
- event,
- cview,
- oevent);
- }
- },
- icon : Ext.MessageBox.QUESTION
- });
- } else {
- eh.updateRepeatEvent(event,
- cview, oevent);
- }
- }
- }
- }
- }
- cview.fireEvent('canceldetail');
- this.hideEditor();
- }
- },
-
- getAlertSetting : function() {
- var arr;
- if (Ext.ux.calendar.CONST.VERSION >= '2.0.5') {
- arr = [ {
- type : 'popup',
- early : 10,
- unit : 'minute'
- } ];
- } else {
- arr = [ {
- type : 'popup',
- early : 0,
- unit : 'minute'
- } ];
- }
- return arr;
- },
-
- onCancelFn : function() {
- var coverEl = this.bindEl;
- if (coverEl) {
- var cview = this.cview;
- var event = coverEl.bindEvent;
- var eh = this.ehandler;
- if (!coverEl.hold) {
- if ('add' == this.action) {
- coverEl.remove();
- } else {
- var color = eh.calendarSet[event.calendarId].color;
- if (0 == event.startRow
- && this.rowCount == event.endRow) {
- if (this.oldColor != color) {
- eh.changeWholeColor(coverEl,
- this.oldColor, color);
- }
- } else {
- if (this.oldColor != color) {
- if (cview instanceof Ext.ux.calendar.DayView) {
- eh.changeEventColor(coverEl,
- this.oldColor, color);
- } else {
- eh.changeLegendColor(coverEl,
- this.oldColor, color);
- }
- }
- }
- }
- }
- this.hideEditor();
- }
- },
-
- popup : function(obj) {
- var eh = this.ehandler;
- eh.floating = true;
- this.obj = obj;
- this.noLayout = obj.noLayout;
- this.bindEl = obj.bindEl;
- this.cview = obj.cview;
- this.action = obj.action;
- var lan = Ext.ux.calendar.Mask.Editor;
- if ('add' == this.action) {
- this.deleteBtn.disable();
- this.setIconCls('icon_feyaCalendar_event_add');
- this.setTitle(lan['new.title']);
- } else {
- this.deleteBtn.enable();
- this.setTitle(lan['edit.title']);
- this.setIconCls('icon_feyaCalendar_event_edit');
- }
- var d = this.adjustXY(this.bindEl)
- this.showAt(this.adjustXY(this.bindEl));
- },
-
- adjustXY : function(pn) {
- var pxy = pn.getXY();
- var cview = pn.cview;
- var xy = [ 0, 0 ];
- var w = this.width, h = this.height;
- var r = pxy[0] + w;
- xy[0] = pxy[0];
- var right = cview.body.getRight();
- if (r > right) {
- xy[0] = right - w;
- }
- xy[1] = pxy[1] - h;
- var top = cview.body.getTop();
- if (xy[1] < top) {
- if (pxy[1] > top) {
- xy[1] = pxy[1] + 20;
- } else {
- xy[1] = top + 20;
- }
- }
- return xy;
- },
-
- reloadCalendar : function(eh) {
- var store = this.calendarField.store;
- store.removeAll();
- for ( var p in eh.calendarSet) {
- var calendar = eh.calendarSet[p];
- if (true !== calendar.hide) {
- var rd = new (store.model)({
- id : calendar.id,
- title : calendar.name,
- description : calendar.description,
- color : calendar.color
- });
- store.add(rd);
- }
- }
- },
-
- onShowFn : function() {
- var eh = this.ehandler;
- if (this.bindEl) {
- var coverEl = this.bindEl;
- if (!coverEl.hold) {
- eh.setEditingStatus(coverEl, true);
- }
- var bindEvent = coverEl.bindEvent;
- var time = '<b>' + eh.generateInfo(bindEvent)
- + '</b>';
- this.timeField.setText(time);
- this.subjectField.setValue(bindEvent.subject);
- this.contentField.setValue(bindEvent.content);
- if (bindEvent.alertFlag) {
- this.alertCB.setValue(true);
- } else {
- this.alertCB.setValue(false);
- }
- this.reloadCalendar(eh);
- this.calendarField.setValue(bindEvent.calendarId);
- this.oldColor = eh.calendarSet[bindEvent.calendarId].color;
- } else {
-
- }
- },
-
- onHideFn : function() {
- var eh = this.ehandler;
- eh.floating = false;
- var cview = this.cview;
- if (this.bindEl) {
- // cview.resizePort();
- cview.resetSCover();
- }
- delete (this.bindEl);
- delete (this.cview);
- delete (this.noLayout);
- delete (this.action)
- },
-
- hideEditor : function() {
- if (!this.hided) {
- this.hided = true;
- this.showAt([ -1000, -1000 ], true);
- this.fireEvent('hided');
- }
- },
-
- showAt : function(xy, hold) {
- if(!this.el){
- /*
- * if not render, then render first
- */
- this.render(Ext.getBody());
- }
- if (!hold) {
- this.fireEvent('showed');
- delete (this.hided);
- }
- this.setPagePosition(xy[0], xy[1]);
- },
- onHideEditorFn : function() {
- if (!this.mdFlag) {
- this.onCancelFn();
- }
- }
- });
View
0  myCalendar-extjs4.X/myCalendar-test.launch → myCalendar-test.launch
File renamed without changes
View
0  myCalendar-extjs4.X/myCalendar.launch → myCalendar.launch
File renamed without changes
View
0  myCalendar-extjs4.X/myCalendar.tmproj → myCalendar.tmproj
File renamed without changes
View
0  myCalendar-extjs4.X/src/java/Helper.java → src/java/Helper.java
File renamed without changes
View
0  myCalendar-extjs4.X/src/java/org/json/JSONArray.java → src/java/org/json/JSONArray.java
File renamed without changes
View
0  ...dar-extjs4.X/src/java/org/json/JSONException.java → src/java/org/json/JSONException.java
File renamed without changes
View
0  ...lendar-extjs4.X/src/java/org/json/JSONObject.java → src/java/org/json/JSONObject.java
File renamed without changes
View
0  ...lendar-extjs4.X/src/java/org/json/JSONString.java → src/java/org/json/JSONString.java
File renamed without changes
View
0  ...ndar-extjs4.X/src/java/org/json/JSONStringer.java → src/java/org/json/JSONStringer.java
File renamed without changes
View
0  ...endar-extjs4.X/src/java/org/json/JSONTokener.java → src/java/org/json/JSONTokener.java
File renamed without changes
View
0  ...lendar-extjs4.X/src/java/org/json/JSONWriter.java → src/java/org/json/JSONWriter.java
File renamed without changes
View
0  myCalendar-extjs4.X/stacktrace.log → stacktrace.log
File renamed without changes
View
0  ...r-extjs4.X/test/unit/EmailReminderJobTests.groovy → test/unit/EmailReminderJobTests.groovy
File renamed without changes
View
0  ...r-extjs4.X/web-app/WEB-INF/applicationContext.xml → web-app/WEB-INF/applicationContext.xml
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/WEB-INF/sitemesh.xml → web-app/WEB-INF/sitemesh.xml
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/WEB-INF/tld/c.tld → web-app/WEB-INF/tld/c.tld
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/WEB-INF/tld/fmt.tld → web-app/WEB-INF/tld/fmt.tld
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/WEB-INF/tld/grails.tld → web-app/WEB-INF/tld/grails.tld
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/WEB-INF/tld/spring.tld → web-app/WEB-INF/tld/spring.tld
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/css/main.css → web-app/css/main.css
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/fakeData/initLoad.json → web-app/fakeData/initLoad.json
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/fakeData/listEvent.json → web-app/fakeData/listEvent.json
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/images/leftnav_btm.png → web-app/images/leftnav_btm.png
File renamed without changes
View
0  ...ar-extjs4.X/web-app/images/leftnav_midstretch.png → web-app/images/leftnav_midstretch.png
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/images/leftnav_top.png → web-app/images/leftnav_top.png
File renamed without changes
View
0  ...dar-extjs4.X/web-app/images/skin/database_add.png → web-app/images/skin/database_add.png
File renamed without changes
View
0  ...-extjs4.X/web-app/images/skin/database_delete.png → web-app/images/skin/database_delete.png
File renamed without changes
View
0  ...ar-extjs4.X/web-app/images/skin/database_edit.png → web-app/images/skin/database_edit.png
File renamed without changes
View
0  ...ar-extjs4.X/web-app/images/skin/database_save.png → web-app/images/skin/database_save.png
File renamed without changes
View
0  ...r-extjs4.X/web-app/images/skin/database_table.png → web-app/images/skin/database_table.png
File renamed without changes
View
0  ...ndar-extjs4.X/web-app/images/skin/exclamation.png → web-app/images/skin/exclamation.png
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/images/skin/house.png → web-app/images/skin/house.png
File renamed without changes
View
0  ...eb-app/js/feyaSoft/calendar/image/information.png → web-app/images/skin/information.png
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/images/skin/shadow.jpg → web-app/images/skin/shadow.jpg
File renamed without changes
View
0  ...endar-extjs4.X/web-app/images/skin/sorted_asc.gif → web-app/images/skin/sorted_asc.gif
File renamed without changes
View
0  ...ndar-extjs4.X/web-app/images/skin/sorted_desc.gif → web-app/images/skin/sorted_desc.gif
File renamed without changes
View
0  myCalendar-extjs4.X/web-app/images/spinner.gif → web-app/images/spinner.gif
File renamed without changes
View
54 web-app/index_fakeData.html
@@ -0,0 +1,54 @@
+<html>
+<head>
+<title>FeyaSoft MyCalendar</title>
+
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta http-equiv="Cache-Control" content="no-store">
+ <meta http-equiv="Cache-Control" content="no-cache">
+ <meta http-equiv="Pragma" content="no-cache, must-revalidate, no-store"/>
+ <meta name="keywords" content="Online Office tools, Online Calendar, online SpreadSheet Excel, online Word, online Presentation, Online Schedule, online file management, online MyActivity, Web2.0 application software" />
+ <meta name="description" content="FeyaSoft offers a suite of online applications which allow user to create and share online documents. FeyaSoft's online office tool includes online Calendar, online Spreadsheet, online Presentation, online Word processor, Online Schedule, online Excel etc." />
+ <meta name="robots" content="all" />
+ <meta name="author" content="FeyaSoft Inc." >
+
+ <link rel="stylesheet" type="text/css" href="js/extjs/resources/css/ext-all.css" />
+ <link rel="stylesheet" type="text/css" href="js/feyaSoft/calendar/css/calendar.css" />
+ <script type="text/javascript" src="js/extjs/ext-all-debug.js"></script>
+
+ <!-- define the default language here -->
+ <script type="text/javascript" src="js/feyaSoft/calendar/util/LabelField.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/util/DatePicker.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/util/SearchField.js"></script>
+
+ <script type="text/javascript" src="js/feyaSoft/calendar/common/CONST_FAKE_DATA.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/common/LanManager.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/common/Mask.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/common/RepeatType.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/CommentTip.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/view/BasicView.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/layout/Block.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/layout/BlockMap.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/layout/Line.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/layout/LayoutGrid.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/layout/CalendarLayout.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/popup/ExpirePopup.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/popup/SettingPopup.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/BackThread.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/DataSource.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/editor/EventEditor.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/editor/DetailEditor.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/editor/CalendarEditor.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/EventHandler.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/view/DayView.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/view/MonthView.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/view/ResultView.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/CalendarContainer.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/WestPanel.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/MainPanel.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/CalendarWin.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/Viewer-tabpanel.js"></script>
+</head>
+<body>
+
+</body>
+</html>
View
39 myCalendar-extjs4.X/web-app/index_php.html → web-app/index_php.html
@@ -1,14 +1,13 @@
<html>
<head>
-<title>FeyaSoft Calendar | CubeDrive</title>
+<title>FeyaSoft MyCalendar</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Cache-Control" content="no-store">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache, must-revalidate, no-store"/>
- <meta http-equiv="Pragma" content="no-cache, must-revalidate, no-store"/>
- <meta name="keywords" content="Calendar, FeyaSoft, CubeDrive, Private Cloud" />
- <meta name="description" content="CubeDrive Private Cloud includes online office, events, project mgr., CRM, flow chart. Find friend, create group, organization and collaborate in the most efficient way." />
+ <meta name="keywords" content="Online Office tools, Online Calendar, online SpreadSheet Excel, online Word, online Presentation, Online Schedule, online file management, online MyActivity, Web2.0 application software" />
+ <meta name="description" content="FeyaSoft offers a suite of online applications which allow user to create and share online documents. FeyaSoft's online office tool includes online Calendar, online Spreadsheet, online Presentation, online Word processor, Online Schedule, online Excel etc." />
<meta name="robots" content="all" />
<meta name="author" content="FeyaSoft Inc." >
@@ -24,30 +23,28 @@
<script type="text/javascript" src="js/feyaSoft/calendar/common/LanManager.js"></script>
<script type="text/javascript" src="js/feyaSoft/calendar/common/Mask.js"></script>
<script type="text/javascript" src="js/feyaSoft/calendar/common/RepeatType.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/common/CommentTip.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/common/BackThread.js"></script>
-
+ <script type="text/javascript" src="js/feyaSoft/calendar/CommentTip.js"></script>
<script type="text/javascript" src="js/feyaSoft/calendar/view/BasicView.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/store/DataSource.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/layout/Block.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/layout/BlockMap.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/layout/Line.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/layout/LayoutGrid.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/layout/CalendarLayout.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/popup/ExpirePopup.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/popup/SettingPopup.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/BackThread.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/DataSource.js"></script>
<script type="text/javascript" src="js/feyaSoft/calendar/editor/EventEditor.js"></script>
<script type="text/javascript" src="js/feyaSoft/calendar/editor/DetailEditor.js"></script>
<script type="text/javascript" src="js/feyaSoft/calendar/editor/CalendarEditor.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/control/EventHandler.js"></script>
-
- <script type="text/javascript" src="js/feyaSoft/calendar/view/layout/Block.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/layout/BlockMap.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/layout/Line.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/layout/LayoutGrid.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/layout/CalendarLayout.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/popup/ExpirePopup.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/popup/SettingPopup.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/EventHandler.js"></script>
<script type="text/javascript" src="js/feyaSoft/calendar/view/DayView.js"></script>
<script type="text/javascript" src="js/feyaSoft/calendar/view/MonthView.js"></script>
<script type="text/javascript" src="js/feyaSoft/calendar/view/ResultView.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/CalendarContainer.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/WestPanel.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/MainPanel.js"></script>
- <script type="text/javascript" src="js/feyaSoft/calendar/view/Viewer-tabpanel.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/CalendarContainer.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/WestPanel.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/MainPanel.js"></script>
+ <script type="text/javascript" src="js/feyaSoft/calendar/Viewer-tabpanel.js"></script>
<link rel="stylesheet" type="text/css" href="js/feyaSoft/calendar/css/calendar.css" />
View
0  myCalendar-extjs4.X/web-app/js/application.js → web-app/js/application.js
File renamed without changes
View
0  ...ar-extjs4.X/web-app/js/feyaSoft/calendar/.project → web-app/js/feyaSoft/calendar/.project
File renamed without changes
View
0  ...-app/js/feyaSoft/calendar/ASP.NET/CONST_ASPNET.js → web-app/js/feyaSoft/calendar/ASP.NET/CONST_ASPNET.js
File renamed without changes
View
0  ...X/web-app/js/feyaSoft/calendar/ASP.NET/ReadMe.txt → web-app/js/feyaSoft/calendar/ASP.NET/ReadMe.txt
File renamed without changes
View
0  .../web-app/js/feyaSoft/calendar/ASP.NET/Takvim.ashx → web-app/js/feyaSoft/calendar/ASP.NET/Takvim.ashx
File renamed without changes
View
0  ....X/web-app/js/feyaSoft/calendar/ASP.NET/Takvim.cs → web-app/js/feyaSoft/calendar/ASP.NET/Takvim.cs
File renamed without changes
View
64 web-app/js/feyaSoft/calendar/BackThread.js
@@ -0,0 +1,64 @@
+/**
+ * FeyaSoft MyCalendar
+ * Copyright(c) 2006-2011, FeyaSoft Inc. All right reserved.
+ * info@feyasoft.com
+ * http://www.feyasoft.com
+ *
+ * Please read license first before your use myCalendar, For more detail
+ * information, please can visit our link: http://www.cubedrive.com/myCalendar
+ *
+ * You need buy one of the Feyasoft's License if you want to use MyCalendar in
+ * your commercial product. You must not remove, obscure or interfere with any
+ * FeyaSoft copyright, acknowledgment, attribution, trademark, warning or
+ * disclaimer statement affixed to, incorporated in or otherwise applied in
+ * connection with the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+ * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+ * WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE
+ * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+Ext.ns("Ext.ux.calendar");
+
+Ext.ux.calendar.BackThread = function(config){
+ Ext.apply(this, config);
+ this.runner = new Ext.util.TaskRunner();
+ this.timelineTask = {
+ run:function(eh){
+ var mp = eh.mainPanel;
+ var cview = mp.calendarContainer.getLayout().activeItem;
+ if(cview instanceof Ext.ux.calendar.view.DayView){
+ cview.setToday();
+ cview.updateTimeline();
+ }else if(cview instanceof Ext.ux.calendar.view.MonthView){
+ cview.setToday();
+ }
+ eh.checkExpireEvents();
+ },
+ args:[this.ehandler],
+ interval:60000
+ };
+ this.expireTask = {
+ run:function(eh){
+ var mp = eh.mainPanel;
+ var cview = mp.calendarContainer.getLayout().activeItem;
+ if(cview instanceof Ext.ux.calendar.view.ResultView){
+ cview.list.getView().refresh();
+ }
+ },
+ args:[this.ehandler],
+ interval:1800000
+ };
+ Ext.ux.calendar.BackThread.superclass.constructor.call(this);
+ this.runner.start(this.timelineTask);
+};
+
+Ext.extend(Ext.ux.calendar.BackThread, Ext.util.Observable, {
+ destroy:function(){
+ this.runner.stopAll();
+ }
+});
View
606 web-app/js/feyaSoft/calendar/CalendarContainer.js
@@ -0,0 +1,606 @@
+/**
+ * FeyaSoft MyCalendar
+ * Copyright(c) 2006-2011, FeyaSoft Inc. All right reserved.
+ * info@feyasoft.com
+ * http://www.feyasoft.com
+ *
+ * Please read license first before your use myCalendar, For more detail
+ * information, please can visit our link: http://www.cubedrive.com/myCalendar
+ *
+ * You need buy one of the Feyasoft's License if you want to use MyCalendar in
+ * your commercial product. You must not remove, obscure or interfere with any
+ * FeyaSoft copyright, acknowledgment, attribution, trademark, warning or
+ * disclaimer statement affixed to, incorporated in or otherwise applied in
+ * connection with the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+ * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+ * WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE
+ * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+Ext.ns("Ext.ux.calendar");
+
+Ext.ux.calendar.CalendarContainer = function(config){
+ Ext.apply(this, config);
+ var eh = this.ehandler;
+
+ var cs = eh.calendarSetting;
+
+ var lan = Ext.ux.calendar.Mask.CalendarContainer;
+
+ var now = new Date();
+ this.startDate = now;
+ this.endDate = now;
+
+ if(undefined==cs.initialView || false == Ext.ux.calendar.Mask.typeOf(cs.initialView)){
+ this.currentIdx = 1;
+ }else{
+ this.currentIdx = parseInt(cs.initialView);
+ }
+ this.dayView = new Ext.ux.calendar.view.DayView({
+ border:false,
+ dayFormat:cs.dayFormat,
+ offsetPercent:0.05,
+ shiftDay:1,
+ dayNum:1,
+ startColIndex:0,
+ endColIndex:1,
+ ehandler:this.ehandler
+ });
+
+ this.weekView = new Ext.ux.calendar.view.DayView({
+ border:false,
+ dayFormat:cs.weekFormat,
+ offsetPercent:0.1,
+ shiftDay:7,
+ dayNum:7,
+ startColIndex:0,
+ endColIndex:7,
+ ehandler:this.ehandler
+ });
+
+ this.weekOnlyView = new Ext.ux.calendar.view.DayView({
+ border:false,
+ dayFormat:cs.weekFormat,
+ offsetPercent:0.1,
+ dayNum:5,
+ shiftDay:7,
+ startColIndex:0,
+ endColIndex:5,
+ ehandler:this.ehandler
+ });
+
+ this.monthView = new Ext.ux.calendar.view.MonthView({
+ border:false,
+ dayFormat:cs.monthFormat,
+ dayNum:7,
+ shiftDay:7,
+ startColIndex:0,
+ endColIndex:7,
+ ehandler:this.ehandler
+ });
+
+ this.resultView = new Ext.ux.calendar.view.ResultView({
+ border:false,
+ ehandler:this.ehandler
+ });
+
+ this.detailEditor = new Ext.ux.calendar.editor.DetailEditor({
+ ehandler:this.ehandler
+ });
+
+ this.backBtn = new Ext.Button({
+ iconCls:'icon_feyaCalendar_back',
+ handler:this.onBackFn,
+ scope:this
+ });
+
+ this.nextBtn = new Ext.Button({
+ iconCls:'icon_feyaCalendar_next',
+ handler:this.onNextFn,
+ scope:this
+ });
+
+ this.todayBtn = new Ext.Button({
+ text:lan['todayBtn.text'],
+ iconCls:'icon_feyaCalendar_today',
+ handler:this.onTodayFn,
+ scope:this
+ });
+
+ this.refreshBtn = new Ext.Button({
+ iconCls:'x-tbar-loading',
+ handler:this.onRefreshFn,
+ scope:this
+ });
+
+ this.dayBtn = new Ext.Button({
+ iconCls:'icon_feyaCalendar_dayview',
+ pressed:0 == this.currentIdx,
+ text:lan['dayBtn.text'],
+ handler:this.onDayFn,
+ scope:this
+ });
+
+ this.weekMenu = new Ext.menu.Menu({
+ items:[{
+ text:lan['weekMenu.showAll.text'],
+ checked:true,
+ group: 'week',
+ handler:this.onWeekAllFn,
+ scope:this
+ }, {
+ text:lan['weekMenu.onlyWeek.text'],
+ checked:false,
+ group: 'week',
+ handler:this.onWeekOnlyFn,
+ scope:this
+ }]
+ });
+
+ this.weekBtn = new Ext.SplitButton({
+ iconCls:'icon_feyaCalendar_weekview',
+ text:lan['weekBtn.text'],
+ pressed:1 == this.currentIdx,
+ arrowAlign:'right',
+ menu:this.weekMenu,
+ handler:this.onWeekFn,
+ scope:this
+ });
+
+ this.monthMenu = new Ext.menu.Menu({
+ items:[{
+ text:lan['monthMenu.showAll.text'],
+ checked:true,
+ group: 'month',
+ handler:this.onMonthAllFn,
+ scope:this
+ }, {
+ text:lan['monthMenu.onlyWeek.text'],
+ checked:false,
+ group: 'month',
+ handler:this.onMonthOnlyFn,
+ scope:this
+ }]
+ });
+
+ this.monthBtn = new Ext.SplitButton({
+ iconCls:'icon_feyaCalendar_monthview',
+ text:lan['monthBtn.text'],
+ pressed:2 == this.currentIdx,
+ arrowAlign:'right',
+ menu:this.monthMenu,
+ handler:this.onMonthFn,
+ scope:this
+ });
+
+ var items = [];
+ /*
+ * below code is for language submenu, you can set SHOW_LANGUAGE_MENU to false if you don't need it
+ */
+ if(Ext.ux.calendar.CONST.SHOW_LANGUAGE_MENU){
+ var data = Ext.ux.calendar.Mask.getLanguageConfig().data;
+ for(var i = 0, len = data.length; i < len; i++){
+ var d = data[i];
+ items[items.length] = {
+ group:'language',
+ checked:d[0] == cs.language,
+ text:d[1],
+ name:d[0],
+ handler:this.onLanguageSettingFn,
+ scope:this
+ };
+ }
+ this.lanMenu = new Ext.menu.Menu({
+ minWidth: 150,
+ items:items
+ });
+ items = [];
+ items.push({
+ iconCls:'icon_feyacalendar_world',
+ text:lan['moreMenu.language.text'],
+ menu:this.lanMenu,
+ scope:this
+ });
+ }
+ items.push({
+ iconCls:'icon_feyaCalendar_setting',
+ text:lan['moreMenu.setting.text'],
+ handler:this.onSettingFn,
+ scope:this
+ });
+ items.push({
+ iconCls:'icon_feyaCalendar_clock',
+ text:lan['moreMenu.showAlert.text'],
+ handler:this.onShowAlertFn,
+ scope:this
+ });
+ items.push({
+ iconCls: 'icon_feyaCalendar_feyasoft',
+ text:lan['moreMenu.about.text'],
+ handler:this.onAboutMyCalendarFn,
+ scope:this
+ });
+ this.moreMenu = new Ext.menu.Menu({
+ minWidth:200,
+ items:items
+ });
+
+ this.moreBtn = new Ext.Button({
+ iconCls:'icon_feyaCalendar_setting',
+ text:lan['moreBtn.text'],
+ menu:this.moreMenu
+ });
+
+ this.searchField = new Ext.ux.form.SearchField({
+ width:250,
+ onTrigger1Click:Ext.bind(this.cancelSearchFn,this),
+ onTrigger2Click:Ext.bind(this.onSearchFn,this)
+ });
+
+ items = [
+ this.dayView,
+ this.weekView,
+ this.monthView,
+ this.resultView,
+ this.weekOnlyView,
+ this.detailEditor
+ ];
+ this.currentView = items[this.currentIdx];
+ var tobar=new Ext.Toolbar({
+ items:[
+ this.backBtn, this.nextBtn, this.todayBtn, '-',
+ lan['searchCriteria.text'], this.searchField, '->',
+ this.refreshBtn, '-', this.dayBtn, '-', this.weekBtn, '-', this.monthBtn, '-', this.moreBtn
+ ]
+ });
+ Ext.ux.calendar.CalendarContainer.superclass.constructor.call(this, {
+ border:false,
+ region:'center',
+ cls:'x-calendar-container',
+ layout:'card',
+ bodyStyle: 'border-top:none;background:none;',
+ layoutConfig:{
+ deferredRender:true
+ },
+ activeItem:this.currentIdx,
+ items:items,
+ tbar:tobar
+
+ });
+ this.addEvents(
+ 'refresh',
+ 'editcalendar'
+ );
+ var options = {
+ single:true
+ };
+ if(Ext.isIE){
+ options['delay'] = 5000;
+ }
+ this.currentView.on('afterresize', this.onAfterResizeFn, this, options);
+ this.weekView.on('viewDay', this.onDayChangeFn, this);
+ this.weekOnlyView.on('viewDay', this.onDayChangeFn, this);
+ this.monthView.on('viewDay', this.onDayChangeFn, this);
+ this.monthView.on('viewWeek', this.onWeekChangeFn, this);
+ this.dayView.on('viewWeek', this.onWeekChangeFn, this);
+ this.relayEvents(this.dayView, ['beforeremoteload', 'remoteload', 'hideeditor']);
+ this.relayEvents(this.weekView, ['beforeremoteload', 'remoteload', 'hideeditor']);
+ this.relayEvents(this.weekOnlyView, ['beforeremoteload', 'remoteload', 'hideeditor']);
+ this.relayEvents(this.monthView, ['beforeremoteload', 'remoteload', 'hideeditor']);
+ this.dayView.relayEvents(this, ['canceldetail']);
+ this.weekView.relayEvents(this, ['canceldetail']);
+ this.weekOnlyView.relayEvents(this, ['canceldetail']);
+ this.monthView.relayEvents(this, ['canceldetail']);
+ this.on('mousedown', this.onMMouseDownFn, this);
+ this.on('showdetailsetting', this.onShowDetailSettingFn, this);
+ this.on('refresh', this.refresh, this);
+ this.on('destroy', this.onDestroyFn, this);
+ this.on('afterlayout', this.onAfterrenderFn, this);
+};
+
+Ext.extend(Ext.ux.calendar.CalendarContainer, Ext.Panel, {
+ onAfterrenderFn:function(){
+
+ },
+ onAfterResizeFn:function(){
+ this.ehandler.fireEvent('calendarloaded');
+ },
+
+ onShowDetailSettingFn:function(obj){
+ this.getLayout().setActiveItem(5);
+ this.detailEditor.setup(obj);
+ },
+
+ onLanguageSettingFn:function(item){
+ var name = item.name;
+ var eh = this.ehandler;
+ eh.ds.updateSetting({
+ language:name
+ }, function(){
+ window.location = window.location.href;
+ }, this);
+ },
+
+ onShowAlertFn:function(item){
+ var eh = this.ehandler;
+ var epopup = eh.epopup;
+ if(epopup){
+ epopup.hideCB.setValue(false);
+ }
+ eh.checkExpireEvents();
+ },
+
+ onBackFn:function(btn){
+ var cview = this.currentView;
+ this.getLayout().setActiveItem(this.currentIdx);
+ cview.goBack();
+ this.changeLabel(cview);
+ },
+
+ onNextFn:function(btn){
+ var cview = this.currentView;
+ this.getLayout().setActiveItem(this.currentIdx);
+ cview.goNext();
+ this.changeLabel(cview);
+ },
+
+ onTodayFn:function(btn){
+ this.showDay(new Date());
+ },
+
+ onDayFn:function(btn){
+ if(this.currentView != this.dayView){
+ this.showPressed(btn);
+ var cview = this.dayView;
+ this.getLayout().setActiveItem(0);
+ cview.showRange(this.startDate, this.endDate);
+ this.changeLabel(cview);
+ }
+ },
+
+ onWeekFn:function(btn){
+ if(true === btn.weekdayFlag){
+ this.onWeekOnlyFn();
+ }else if(this.currentView != this.weekView){
+ this.onWeekAllFn();
+ }
+ },
+
+ onWeekAllFn:function(){
+ if(this.currentView != this.weekView){
+ var cview = this.weekView;
+ this.weekBtn.weekdayFlag = false;
+ this.showPressed(this.weekBtn);
+ this.getLayout().setActiveItem(1);
+ cview.showRange(this.startDate, this.endDate, true);
+ this.changeLabel(cview);
+ }
+ },
+
+ onWeekOnlyFn:function(){
+ if(this.currentView != this.weekOnlyView){
+ this.weekBtn.weekdayFlag = true;
+ this.showPressed(this.weekBtn);
+ var cview = this.weekOnlyView;
+ this.getLayout().setActiveItem(4);
+ cview.showRange(this.startDate, this.endDate, true);
+ this.changeLabel(cview);
+ }
+ },
+
+ onMonthFn:function(btn){
+ if(true == btn.weekdayFlag){
+ this.onMonthOnlyFn();
+ }else{
+ this.onMonthAllFn();
+ }
+ },
+
+ onMonthAllFn:function(){
+ var cview = this.monthView;
+ this.monthBtn.weekdayFlag = false;
+ if(this.currentView != this.monthView){
+ this.showPressed(this.monthBtn);
+ this.getLayout().setActiveItem(2);
+ cview.startColIndex = 0;
+ cview.endColIndex = 7;
+ cview.colNum = 7;
+ cview.showRange(this.startDate, this.endDate);
+ this.changeLabel(cview);
+ }else{
+ cview.startColIndex = 0;
+ cview.endColIndex = 7;
+ cview.colNum = 7;
+ cview.cleanup();
+ cview.recalculateSize(cview.body.getWidth(), cview.body.getHeight());
+ cview.showCache();
+ }
+ },
+
+ onMonthOnlyFn:function(){
+ var cview = this.monthView;
+ this.monthBtn.weekdayFlag = true;
+ var offset = (1 == cview.startDay?1:0);
+ if(this.currentView != this.monthView){
+ this.showPressed(this.monthBtn);
+ this.getLayout().setActiveItem(2);
+ cview.colNum = 5;
+ cview.startColIndex = 1-offset;
+ cview.endColIndex = 6-offset;
+ cview.showRange(this.startDate, this.endDate);
+ this.changeLabel(cview);
+ }else{
+ cview.colNum = 5;
+ cview.startColIndex = 1-offset;
+ cview.endColIndex = 6-offset;
+ cview.cleanup();
+ cview.recalculateSize(cview.body.getWidth(), cview.body.getHeight());
+ cview.showCache();
+ }
+ },
+
+ showPressed:function(btn){
+ this.dayBtn.removeClsWithUI(btn.pressedCls)
+ this.weekBtn.removeClsWithUI(btn.pressedCls)
+ this.monthBtn.removeClsWithUI(btn.pressedCls)
+ btn.addClsWithUI(btn.pressedCls)
+ if(btn == this.dayBtn){
+ this.currentIdx = 0;
+ this.currentView = this.dayView;
+ }else if(btn == this.weekBtn){
+ if(true !== this.weekBtn.weekdayFlag){
+ this.currentIdx = 1;
+ this.currentView = this.weekView;
+ }else{
+ this.currentIdx = 4;
+ this.currentView = this.weekOnlyView;
+ }
+ }else if(btn == this.monthBtn || btn == this.monthOnlyBtn){
+ this.currentIdx = 2;
+ this.currentView = this.monthView;
+ }
+ },
+
+ showDay:function(day){
+ var cview = this.currentView;
+ this.getLayout().setActiveItem(this.currentIdx);
+ cview.showDay(day);
+ this.changeLabel(cview);
+ },
+
+ showSingleDay:function(day){
+ var cview = this.dayView;
+ cview.daySet[0] = day;
+ if(this.currentView != this.dayView){
+ this.showPressed(this.dayBtn);
+ this.getLayout().setActiveItem(0);
+ cview.resetView();
+ cview.fireEvent('checklayout', true);
+ this.changeLabel(cview);
+ }
+ },
+
+ onDayChangeFn:function(cview, day){
+ this.showSingleDay(day);
+ },
+
+ onWeekChangeFn:function(sdate, edate){
+ this.showPressed(this.weekBtn);
+ var cview = this.currentView;
+ this.getLayout().setActiveItem(this.currentIdx);
+ cview.showDay(sdate);
+ this.changeLabel(cview);
+ },
+
+ changeLabel:function(cview){
+ this.startDate = cview.daySet[0];
+ this.endDate = cview.daySet[cview.daySet.length-1];
+ this.fireEvent('changedate', this.startDate, this.endDate);
+ },
+
+ cancelSearchFn:function(){
+ var sf = this.searchField;
+ var trigs=sf.triggerEl.elements;
+ if(sf.hasSearch){
+ sf.reset();
+ var resultView = this.resultView;
+ this.getLayout().setActiveItem(3);
+ resultView.list.getStore().removeAll();
+ trigs[0].hide();
+ Ext.defer( resultView.loadEvents,1, resultView, ['']);
+ sf.hasSearch = false;
+ }
+ },
+
+ onSearchFn:function(){
+ var sf = this.searchField;
+ var trigs=sf.triggerEl.elements;
+ var resultView = this.resultView;
+ this.getLayout().setActiveItem(3);
+ resultView.list.getStore().removeAll();
+ var sValue=sf.getValue();
+ Ext.defer(resultView.loadEvents,1, resultView, [sValue]);
+ if(sValue!=''){
+ trigs[0].show();
+ }
+
+ sf.hasSearch = true;
+ },
+
+ onSettingFn:function(){
+ var eh = this.ehandler;
+ if(!eh.settingPop){