ish_lib_engine 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (463) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/200x200/devops.png +0 -0
  3. data/app/assets/images/200x200/html5.jpg +0 -0
  4. data/app/assets/images/200x200/nodejs.png +0 -0
  5. data/app/assets/images/200x200/project_management.jpg +0 -0
  6. data/app/assets/images/200x200/ror.jpg +0 -0
  7. data/app/assets/images/200x200/uiux.jpg +0 -0
  8. data/app/assets/images/400x400/contact-us.png +0 -0
  9. data/app/assets/images/400x400/devops.png +0 -0
  10. data/app/assets/images/400x400/html5.jpg +0 -0
  11. data/app/assets/images/400x400/nodejs.png +0 -0
  12. data/app/assets/images/400x400/project_management.jpg +0 -0
  13. data/app/assets/images/400x400/ror.jpg +0 -0
  14. data/app/assets/images/400x400/the-cloud.png +0 -0
  15. data/app/assets/images/400x400/uiux.jpg +0 -0
  16. data/app/assets/images/backgrounds/10.jpg +0 -0
  17. data/app/assets/images/backgrounds/11.jpg +0 -0
  18. data/app/assets/images/backgrounds/12.jpg +0 -0
  19. data/app/assets/images/backgrounds/6.jpg +0 -0
  20. data/app/assets/images/backgrounds/7.jpg +0 -0
  21. data/app/assets/images/backgrounds/8.jpg +0 -0
  22. data/app/assets/images/backgrounds/9.jpg +0 -0
  23. data/app/assets/images/backgrounds/970_grey-blue.png +0 -0
  24. data/app/assets/images/backgrounds/970_white.png +0 -0
  25. data/app/assets/images/backgrounds/970_yellow.png +0 -0
  26. data/app/assets/images/backgrounds/bg-circles.png +0 -0
  27. data/app/assets/images/backgrounds/bg5.jpg +0 -0
  28. data/app/assets/images/backgrounds/bg6.jpg +0 -0
  29. data/app/assets/images/backgrounds/bg_texture_dark.jpg +0 -0
  30. data/app/assets/images/backgrounds/bkg_bg.gif +0 -0
  31. data/app/assets/images/backgrounds/blue-seamless.jpg +0 -0
  32. data/app/assets/images/backgrounds/flower_1.jpg +0 -0
  33. data/app/assets/images/backgrounds/glitch1.jpg +0 -0
  34. data/app/assets/images/backgrounds/glitch2.jpg +0 -0
  35. data/app/assets/images/backgrounds/gray-1.jpg +0 -0
  36. data/app/assets/images/backgrounds/havaianas.jpg +0 -0
  37. data/app/assets/images/backgrounds/light-purple.jpg +0 -0
  38. data/app/assets/images/backgrounds/noise.jpg +0 -0
  39. data/app/assets/images/backgrounds/paper.jpg +0 -0
  40. data/app/assets/images/backgrounds/pattern_011.gif +0 -0
  41. data/app/assets/images/backgrounds/pattern_013.gif +0 -0
  42. data/app/assets/images/backgrounds/pattern_016.gif +0 -0
  43. data/app/assets/images/backgrounds/pattern_020.gif +0 -0
  44. data/app/assets/images/backgrounds/pattern_022.gif +0 -0
  45. data/app/assets/images/backgrounds/pattern_044.gif +0 -0
  46. data/app/assets/images/backgrounds/pattern_062.gif +0 -0
  47. data/app/assets/images/backgrounds/pattern_096.gif +0 -0
  48. data/app/assets/images/backgrounds/pattern_153.gif +0 -0
  49. data/app/assets/images/backgrounds/pattern_154.gif +0 -0
  50. data/app/assets/images/backgrounds/pattern_156.gif +0 -0
  51. data/app/assets/images/backgrounds/pattern_157.gif +0 -0
  52. data/app/assets/images/backgrounds/skull_1.jpg +0 -0
  53. data/app/assets/images/backgrounds/sky.jpg +0 -0
  54. data/app/assets/images/backgrounds/sky2.jpg +0 -0
  55. data/app/assets/images/backgrounds/sky3.jpg +0 -0
  56. data/app/assets/images/backgrounds/sky4.jpg +0 -0
  57. data/app/assets/images/backgrounds/sky5.jpg +0 -0
  58. data/app/assets/images/backgrounds/transparent_40.png +0 -0
  59. data/app/assets/images/backgrounds/transparent_70.png +0 -0
  60. data/app/assets/images/backgrounds/transparent_90.png +0 -0
  61. data/app/assets/images/backgrounds/white-seamless.jpg +0 -0
  62. data/app/assets/images/backgrounds/white_970x5.png +0 -0
  63. data/app/assets/images/backgrounds/white_blue_1.jpg +0 -0
  64. data/app/assets/images/cac/dot-footer.png +0 -0
  65. data/app/assets/images/cac/dot-header.png +0 -0
  66. data/app/assets/images/cac/list-style.png +0 -0
  67. data/app/assets/images/cac/map.png +0 -0
  68. data/app/assets/images/cac/phone.png +0 -0
  69. data/app/assets/images/cac/phone_number.png +0 -0
  70. data/app/assets/images/cac/screenshots/about.png +0 -0
  71. data/app/assets/images/cac/screenshots/contact.png +0 -0
  72. data/app/assets/images/cac/screenshots/home.png +0 -0
  73. data/app/assets/images/cac/screenshots/home.psd +0 -0
  74. data/app/assets/images/cac/screenshots/portfolio.png +0 -0
  75. data/app/assets/images/cac/screenshots/services.png +0 -0
  76. data/app/assets/images/cac/screenshots/team.png +0 -0
  77. data/app/assets/images/cac/sfbay.jpg +0 -0
  78. data/app/assets/images/cac/sprite.png +0 -0
  79. data/app/assets/images/cac/team/lizza.jpg +0 -0
  80. data/app/assets/images/cac/team/lizza_raw.jpg +0 -0
  81. data/app/assets/images/cac/team/piousbox.jpg +0 -0
  82. data/app/assets/images/close.png +0 -0
  83. data/app/assets/images/contact.png +0 -0
  84. data/app/assets/images/controls.png +0 -0
  85. data/app/assets/images/favicon.gif +0 -0
  86. data/app/assets/images/favicons/cac.gif +0 -0
  87. data/app/assets/images/favicons/ish.gif +0 -0
  88. data/app/assets/images/favicons/manager.ico +0 -0
  89. data/app/assets/images/favicons/piousbox.gif +0 -0
  90. data/app/assets/images/favicons/ppf.gif +0 -0
  91. data/app/assets/images/flags/br.png +0 -0
  92. data/app/assets/images/flags/en.png +0 -0
  93. data/app/assets/images/flags/pt.png +0 -0
  94. data/app/assets/images/flags/ru.png +0 -0
  95. data/app/assets/images/flags/us.png +0 -0
  96. data/app/assets/images/grad-hr.png +0 -0
  97. data/app/assets/images/gradient.png +0 -0
  98. data/app/assets/images/icons/100x100/hazard.png +0 -0
  99. data/app/assets/images/icons/100x100/venue.png +0 -0
  100. data/app/assets/images/icons/10x10/thumbs_down.png +0 -0
  101. data/app/assets/images/icons/10x10/thumbs_up.png +0 -0
  102. data/app/assets/images/icons/128x128/manager.png +0 -0
  103. data/app/assets/images/icons/12x12/tag.png +0 -0
  104. data/app/assets/images/icons/14x14/bullet.png +0 -0
  105. data/app/assets/images/icons/16x16/cancel.png +0 -0
  106. data/app/assets/images/icons/16x16/delete.png +0 -0
  107. data/app/assets/images/icons/16x16/expand_down.png +0 -0
  108. data/app/assets/images/icons/16x16/new_16.png +0 -0
  109. data/app/assets/images/icons/16x16/search.png +0 -0
  110. data/app/assets/images/icons/16x16/uploadify-cancel.png +0 -0
  111. data/app/assets/images/icons/20x20/edit.png +0 -0
  112. data/app/assets/images/icons/20x20/email.gif +0 -0
  113. data/app/assets/images/icons/20x20/expand.gif +0 -0
  114. data/app/assets/images/icons/20x20/eye-crossed.png +0 -0
  115. data/app/assets/images/icons/20x20/eye.png +0 -0
  116. data/app/assets/images/icons/20x20/facebook.gif +0 -0
  117. data/app/assets/images/icons/20x20/gmail.gif +0 -0
  118. data/app/assets/images/icons/20x20/java.gif +0 -0
  119. data/app/assets/images/icons/20x20/linkedin.png +0 -0
  120. data/app/assets/images/icons/20x20/lock.gif +0 -0
  121. data/app/assets/images/icons/20x20/new.png +0 -0
  122. data/app/assets/images/icons/20x20/pdf.gif +0 -0
  123. data/app/assets/images/icons/20x20/php.jpg +0 -0
  124. data/app/assets/images/icons/20x20/private.png +0 -0
  125. data/app/assets/images/icons/20x20/private2.png +0 -0
  126. data/app/assets/images/icons/20x20/public.png +0 -0
  127. data/app/assets/images/icons/20x20/public2.png +0 -0
  128. data/app/assets/images/icons/20x20/python.png +0 -0
  129. data/app/assets/images/icons/20x20/search.png +0 -0
  130. data/app/assets/images/icons/20x20/top.gif +0 -0
  131. data/app/assets/images/icons/20x20/trash.png +0 -0
  132. data/app/assets/images/icons/20x20/wiki.gif +0 -0
  133. data/app/assets/images/icons/20x20/wp.gif +0 -0
  134. data/app/assets/images/icons/20x20/youtube.png +0 -0
  135. data/app/assets/images/icons/24x24/configure.png +0 -0
  136. data/app/assets/images/icons/24x24/customize.png +0 -0
  137. data/app/assets/images/icons/24x24/edit.png +0 -0
  138. data/app/assets/images/icons/24x24/trash.png +0 -0
  139. data/app/assets/images/icons/28x28/customize.png +0 -0
  140. data/app/assets/images/icons/28x28/expand.png +0 -0
  141. data/app/assets/images/icons/32x32/comment.png +0 -0
  142. data/app/assets/images/icons/32x32/delicious.png +0 -0
  143. data/app/assets/images/icons/32x32/doc.png +0 -0
  144. data/app/assets/images/icons/32x32/email.png +0 -0
  145. data/app/assets/images/icons/32x32/expand_down.png +0 -0
  146. data/app/assets/images/icons/32x32/facebook.png +0 -0
  147. data/app/assets/images/icons/32x32/github.png +0 -0
  148. data/app/assets/images/icons/32x32/home.png +0 -0
  149. data/app/assets/images/icons/32x32/linkedin.png +0 -0
  150. data/app/assets/images/icons/32x32/list.png +0 -0
  151. data/app/assets/images/icons/32x32/logout.png +0 -0
  152. data/app/assets/images/icons/32x32/manager.png +0 -0
  153. data/app/assets/images/icons/32x32/myspace.png +0 -0
  154. data/app/assets/images/icons/32x32/new.png +0 -0
  155. data/app/assets/images/icons/32x32/new_addritem.png +0 -0
  156. data/app/assets/images/icons/32x32/pdf.png +0 -0
  157. data/app/assets/images/icons/32x32/photos_new.png +0 -0
  158. data/app/assets/images/icons/32x32/print.png +0 -0
  159. data/app/assets/images/icons/32x32/scratchpad.png +0 -0
  160. data/app/assets/images/icons/32x32/search.png +0 -0
  161. data/app/assets/images/icons/32x32/sharethis.png +0 -0
  162. data/app/assets/images/icons/32x32/thumbs_down.png +0 -0
  163. data/app/assets/images/icons/32x32/thumbs_down_2.png +0 -0
  164. data/app/assets/images/icons/32x32/thumbs_up.png +0 -0
  165. data/app/assets/images/icons/32x32/thumbs_up_2.png +0 -0
  166. data/app/assets/images/icons/32x32/trac.gif +0 -0
  167. data/app/assets/images/icons/32x32/trash.png +0 -0
  168. data/app/assets/images/icons/32x32/twitter.png +0 -0
  169. data/app/assets/images/icons/32x32/upload.png +0 -0
  170. data/app/assets/images/icons/32x32/word.png +0 -0
  171. data/app/assets/images/icons/40x40/search_40x40.png +0 -0
  172. data/app/assets/images/icons/48x48/city.png +0 -0
  173. data/app/assets/images/icons/48x48/new_photo.png +0 -0
  174. data/app/assets/images/icons/64x64/extended_forms.png +0 -0
  175. data/app/assets/images/icons/64x64/facebook.png +0 -0
  176. data/app/assets/images/icons/64x64/facebook_flat.png +0 -0
  177. data/app/assets/images/icons/64x64/github.png +0 -0
  178. data/app/assets/images/icons/64x64/github_flat.png +0 -0
  179. data/app/assets/images/icons/64x64/google.png +0 -0
  180. data/app/assets/images/icons/64x64/linkedin.png +0 -0
  181. data/app/assets/images/icons/64x64/linkedin_flat.png +0 -0
  182. data/app/assets/images/icons/64x64/manager.png +0 -0
  183. data/app/assets/images/icons/64x64/my-profile.png +0 -0
  184. data/app/assets/images/icons/64x64/new_addritem.png +0 -0
  185. data/app/assets/images/icons/64x64/new_photo.png +0 -0
  186. data/app/assets/images/icons/64x64/new_report.png +0 -0
  187. data/app/assets/images/icons/64x64/openid.png +0 -0
  188. data/app/assets/images/icons/64x64/rails.png +0 -0
  189. data/app/assets/images/icons/64x64/scratchpad.png +0 -0
  190. data/app/assets/images/icons/64x64/settings.png +0 -0
  191. data/app/assets/images/icons/64x64/twitter.png +0 -0
  192. data/app/assets/images/icons/64x64/yahoo_64.png +0 -0
  193. data/app/assets/images/icons/64x64/youtube_flat.png +0 -0
  194. data/app/assets/images/icons/96x96/doc.png +0 -0
  195. data/app/assets/images/icons/96x96/pdf.png +0 -0
  196. data/app/assets/images/icons/96x96/venue.png +0 -0
  197. data/app/assets/images/icons/delete.png +0 -0
  198. data/app/assets/images/icons/delicious.png +0 -0
  199. data/app/assets/images/icons/edit.png +0 -0
  200. data/app/assets/images/icons/email.gif +0 -0
  201. data/app/assets/images/icons/expand.gif +0 -0
  202. data/app/assets/images/icons/facebook.gif +0 -0
  203. data/app/assets/images/icons/gmail.gif +0 -0
  204. data/app/assets/images/icons/hazard.png +0 -0
  205. data/app/assets/images/icons/new_16.png +0 -0
  206. data/app/assets/images/icons/open.png +0 -0
  207. data/app/assets/images/icons/php.jpg +0 -0
  208. data/app/assets/images/icons/rails.png +0 -0
  209. data/app/assets/images/icons/search_40x40.png +0 -0
  210. data/app/assets/images/icons/tag.png +0 -0
  211. data/app/assets/images/icons/top.gif +0 -0
  212. data/app/assets/images/icons/trash/calendar.png +0 -0
  213. data/app/assets/images/left.png +0 -0
  214. data/app/assets/images/loading-100x100.gif +0 -0
  215. data/app/assets/images/loading.gif +0 -0
  216. data/app/assets/images/login_with_facebook.png +0 -0
  217. data/app/assets/images/logos/100x100/ish.png +0 -0
  218. data/app/assets/images/logos/100x100/ish_logo_100.png +0 -0
  219. data/app/assets/images/logos/100x100/logo100x100.png +0 -0
  220. data/app/assets/images/logos/200x200/ish_logo_200.gif +0 -0
  221. data/app/assets/images/logos/20x20/ish.gif +0 -0
  222. data/app/assets/images/logos/400x400/cac.jpg +0 -0
  223. data/app/assets/images/logos/400x400/ish.png +0 -0
  224. data/app/assets/images/logos/400x400/ish_logo_400.gif +0 -0
  225. data/app/assets/images/logos/400x400/ish_logo_400.jpg +0 -0
  226. data/app/assets/images/logos/400x400/ish_logo_400.png +0 -0
  227. data/app/assets/images/logos/400x400/ish_logo_400.psd +0 -0
  228. data/app/assets/images/logos/40x40/ish.png +0 -0
  229. data/app/assets/images/logos/40x40/ish_logo_40.png +0 -0
  230. data/app/assets/images/logos/45x45/ish.png +0 -0
  231. data/app/assets/images/logos/60x60/logo_60x60.png +0 -0
  232. type_on gray].eps +0 -0
  233. type_on white].eps +0 -0
  234. data/app/assets/images/logos/Infinite Shelter/Infinitre Shelter_FINAL [image_on gray].eps +0 -0
  235. data/app/assets/images/logos/Infinite Shelter/Infinitre Shelter_FINAL [image_on white].eps +0 -0
  236. data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image-and-type_on-gray].png +0 -0
  237. data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image-and-type_on-white].png +0 -0
  238. data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image_on-gray].png +0 -0
  239. data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image_on-white].png +0 -0
  240. data/app/assets/images/logos/Infinite Shelter/logo100x100.png +0 -0
  241. data/app/assets/images/logos/Infinite Shelter/logo30.jpg +0 -0
  242. data/app/assets/images/logos/Infinite Shelter/logoGray.png +0 -0
  243. data/app/assets/images/logos/Infinite Shelter/logoWhite.png +0 -0
  244. data/app/assets/images/logos/Infinitre-Shelter_FINAL-[image_on-white].png +0 -0
  245. data/app/assets/images/logos/cac.png +0 -0
  246. data/app/assets/images/logos/cac/CAC_logo_02_FINAL.eps +0 -0
  247. data/app/assets/images/logos/cac/cac.jpg +0 -0
  248. data/app/assets/images/logos/cac/cac.png +0 -0
  249. data/app/assets/images/logos/cac_long.jpg +0 -0
  250. data/app/assets/images/logos/ish.png +0 -0
  251. data/app/assets/images/logos/ish_logo_100.png +0 -0
  252. data/app/assets/images/logos/ish_logo_20.gif +0 -0
  253. data/app/assets/images/logos/ish_logo_200.gif +0 -0
  254. data/app/assets/images/logos/ish_logo_40.gif +0 -0
  255. data/app/assets/images/logos/ish_logo_40.png +0 -0
  256. data/app/assets/images/logos/ish_logo_400.gif +0 -0
  257. data/app/assets/images/logos/ish_logo_400.jpg +0 -0
  258. data/app/assets/images/logos/ish_logo_400.png +0 -0
  259. data/app/assets/images/logos/ish_logo_400.psd +0 -0
  260. data/app/assets/images/logos/logo.png +0 -0
  261. data/app/assets/images/logos/logo100x100.png +0 -0
  262. data/app/assets/images/logos/logo_60x60.png +0 -0
  263. data/app/assets/images/logos/organizer.png +0 -0
  264. data/app/assets/images/logos/ppf.gif +0 -0
  265. data/app/assets/images/logos/travel.png +0 -0
  266. data/app/assets/images/logos/travel_guide.png +0 -0
  267. data/app/assets/images/missing.png +0 -0
  268. data/app/assets/images/next.png +0 -0
  269. data/app/assets/images/no_photo.png +0 -0
  270. data/app/assets/images/no_photo_mini.png +0 -0
  271. data/app/assets/images/organizer/blue-arrow-right.png +0 -0
  272. data/app/assets/images/organizer/sprite2.png +0 -0
  273. data/app/assets/images/ppf.gif +0 -0
  274. data/app/assets/images/prev.png +0 -0
  275. data/app/assets/images/resume/language.png +0 -0
  276. data/app/assets/images/resume/main-nav-left.png +0 -0
  277. data/app/assets/images/resume/main-nav-right-active.png +0 -0
  278. data/app/assets/images/resume/main-nav-right.png +0 -0
  279. data/app/assets/images/resume/user-name-left.png +0 -0
  280. data/app/assets/images/resume/user-name-right.png +0 -0
  281. data/app/assets/images/right.png +0 -0
  282. data/app/assets/images/showv/about-us.jpg +0 -0
  283. data/app/assets/images/showv/arrows-ffffff.png +0 -0
  284. data/app/assets/images/showv/dragon_head_bottom.jpg +0 -0
  285. data/app/assets/images/showv/dragon_head_top.jpg +0 -0
  286. data/app/assets/images/showv/menu-border.png +0 -0
  287. data/app/assets/images/showv/shadow.png +0 -0
  288. data/app/assets/images/showv/subhead-bg.png +0 -0
  289. data/app/assets/images/showv/world.jpg +0 -0
  290. data/app/assets/images/src/contact-us.png +0 -0
  291. data/app/assets/images/src/devops-cropped.png +0 -0
  292. data/app/assets/images/src/devops.png +0 -0
  293. data/app/assets/images/src/html5.jpg +0 -0
  294. data/app/assets/images/src/html5_cropped.jpg +0 -0
  295. data/app/assets/images/src/nodejs.png +0 -0
  296. data/app/assets/images/src/nodejs_cropped.png +0 -0
  297. data/app/assets/images/src/project_management.jpg +0 -0
  298. data/app/assets/images/src/ror.jpg +0 -0
  299. data/app/assets/images/src/the-cloud.png +0 -0
  300. data/app/assets/images/src/uiux.jpg +0 -0
  301. data/app/assets/images/venue.png +0 -0
  302. data/app/assets/images/wait.gif +0 -0
  303. data/app/assets/javascripts/application.js +19 -0
  304. data/app/assets/javascripts/photos_multiadd.coffee +35 -0
  305. data/app/assets/javascripts/utils.coffee +36 -0
  306. data/app/assets/stylesheets/application.css +25 -0
  307. data/app/assets/stylesheets/application_foundation/galleries.sass +11 -0
  308. data/app/assets/stylesheets/application_foundation/header_footer.sass +21 -0
  309. data/app/assets/stylesheets/application_foundation/layout.sass +10 -0
  310. data/app/assets/stylesheets/application_foundation/newsitems.sass +20 -0
  311. data/app/assets/stylesheets/application_foundation/reports.sass +16 -0
  312. data/app/assets/stylesheets/application_foundation/users.sass +4 -0
  313. data/app/assets/stylesheets/application_foundation/videos.sass +11 -0
  314. data/app/assets/stylesheets/application_manager.css +6 -0
  315. data/app/assets/stylesheets/application_print.css +6 -0
  316. data/app/assets/stylesheets/application_resume.css +13 -0
  317. data/app/assets/stylesheets/application_resume_2.css +13 -0
  318. data/app/assets/stylesheets/common/_ads.sass +77 -0
  319. data/app/assets/stylesheets/common/_maps.sass +63 -0
  320. data/app/assets/stylesheets/common/_rate_this.sass +23 -0
  321. data/app/assets/stylesheets/common/_set_locale.sass +37 -0
  322. data/app/assets/stylesheets/common/blog.sass +7 -0
  323. data/app/assets/stylesheets/common/cities.sass +202 -0
  324. data/app/assets/stylesheets/common/common.sass +111 -0
  325. data/app/assets/stylesheets/common/devise.sass +29 -0
  326. data/app/assets/stylesheets/common/events.sass +9 -0
  327. data/app/assets/stylesheets/common/features.sass +28 -0
  328. data/app/assets/stylesheets/common/form.sass +19 -0
  329. data/app/assets/stylesheets/common/galleries.sass +216 -0
  330. data/app/assets/stylesheets/common/hf2.sass +91 -0
  331. data/app/assets/stylesheets/common/newsitems.sass +31 -0
  332. data/app/assets/stylesheets/common/photos.sass +32 -0
  333. data/app/assets/stylesheets/common/rate_me.sass +8 -0
  334. data/app/assets/stylesheets/common/reports.sass +269 -0
  335. data/app/assets/stylesheets/common/tags.sass +64 -0
  336. data/app/assets/stylesheets/common/trash/blog.sass +7 -0
  337. data/app/assets/stylesheets/common/users.sass +96 -0
  338. data/app/assets/stylesheets/common/users_organizer.sass +31 -0
  339. data/app/assets/stylesheets/common/users_organizer_forms.sass +126 -0
  340. data/app/assets/stylesheets/common/utils.sass +123 -0
  341. data/app/assets/stylesheets/common/vars.sass +44 -0
  342. data/app/assets/stylesheets/common/venues.sass +88 -0
  343. data/app/assets/stylesheets/common/videos.sass +10 -0
  344. data/app/assets/stylesheets/common/welcome.sass +21 -0
  345. data/app/assets/stylesheets/common_2/_maps.sass +63 -0
  346. data/app/assets/stylesheets/common_2/_rate_this.sass +23 -0
  347. data/app/assets/stylesheets/common_2/_set_locale.sass +37 -0
  348. data/app/assets/stylesheets/common_2/common.sass +43 -0
  349. data/app/assets/stylesheets/common_2/hf_application.sass +177 -0
  350. data/app/assets/stylesheets/common_2/hf_application_mini.sass +98 -0
  351. data/app/assets/stylesheets/common_2/photos.sass +5 -0
  352. data/app/assets/stylesheets/common_2/photos.sass~ +12 -0
  353. data/app/assets/stylesheets/common_2/users_organizer.sass +33 -0
  354. data/app/assets/stylesheets/common_2/users_organizer_forms.sass +126 -0
  355. data/app/assets/stylesheets/common_2/vars.sass +235 -0
  356. data/app/assets/stylesheets/manager/_search.sass +9 -0
  357. data/app/assets/stylesheets/manager/cities.sass +22 -0
  358. data/app/assets/stylesheets/manager/features.sass +5 -0
  359. data/app/assets/stylesheets/manager/galleries.sass +58 -0
  360. data/app/assets/stylesheets/manager/hf.sass +38 -0
  361. data/app/assets/stylesheets/manager/layout_manager.sass +32 -0
  362. data/app/assets/stylesheets/manager/manager.sass +55 -0
  363. data/app/assets/stylesheets/manager/newsitems.sass +3 -0
  364. data/app/assets/stylesheets/manager/photos.sass +19 -0
  365. data/app/assets/stylesheets/manager/reports.sass +66 -0
  366. data/app/assets/stylesheets/manager/sites.sass +27 -0
  367. data/app/assets/stylesheets/manager/tags.sass +34 -0
  368. data/app/assets/stylesheets/manager/users.sass +14 -0
  369. data/app/assets/stylesheets/manager/vars.sass +4 -0
  370. data/app/assets/stylesheets/manager/venues.sass +20 -0
  371. data/app/assets/stylesheets/manager/welcome.sass +13 -0
  372. data/app/assets/stylesheets/print/default.sass +20 -0
  373. data/app/assets/stylesheets/print/vars.sass +3 -0
  374. data/app/assets/stylesheets/resume/github.sass +9 -0
  375. data/app/assets/stylesheets/resume/hf.sass +18 -0
  376. data/app/assets/stylesheets/resume/layout_piousbox.sass +56 -0
  377. data/app/assets/stylesheets/resume/reports.sass +21 -0
  378. data/app/assets/stylesheets/resume/resume.sass +387 -0
  379. data/app/assets/stylesheets/resume/vars.sass +3 -0
  380. data/app/assets/stylesheets/spec_runner.css +5 -0
  381. data/app/helpers/application_helper.rb +96 -0
  382. data/app/helpers/devise_helper.rb +9 -0
  383. data/app/helpers/images_helper.rb +200 -0
  384. data/app/helpers/ish_lib_engine/application_helper.rb +3 -0
  385. data/app/helpers/ish_lib_engine/application_helper.rb~ +4 -0
  386. data/app/models/gallery.rb +1 -3
  387. data/app/models/paypal/ipn.rb +8 -0
  388. data/app/models/paypal/ipn.rb~ +8 -0
  389. data/app/models/paypal/payment.rb +21 -0
  390. data/app/models/paypal/payment.rb~ +7 -0
  391. data/app/models/site.rb~ +83 -0
  392. data/app/models/tag.rb +3 -1
  393. data/app/models/tag.rb~ +78 -0
  394. data/app/models/user.rb +1 -0
  395. data/app/models/user.rb~ +122 -0
  396. data/app/views/ads/_adbrite.haml +4 -0
  397. data/app/views/ads/_banner_blue.haml +2 -0
  398. data/app/views/ads/_half_banner.erb +11 -0
  399. data/app/views/ads/_half_banner.haml +15 -0
  400. data/app/views/ads/_large_rectangle.haml +10 -0
  401. data/app/views/ads/_large_rectangle_gray-blue-dark.erb +16 -0
  402. data/app/views/ads/_large_rectangle_gray-blue.erb +14 -0
  403. data/app/views/ads/_large_rectangle_text.haml +16 -0
  404. data/app/views/ads/_large_rectangle_wrapped.haml +5 -0
  405. data/app/views/ads/_leaderboard.haml +5 -0
  406. data/app/views/ads/_leaderboard_blue.haml +3 -0
  407. data/app/views/ads/_leaderboard_gray-blue-dark.erb +14 -0
  408. data/app/views/ads/_leaderboard_gray-blue.erb +14 -0
  409. data/app/views/ads/_leaderboard_gray.erb +13 -0
  410. data/app/views/ads/_leaderboard_wrapped.haml +5 -0
  411. data/app/views/ads/_links_horizontal_large.erb +16 -0
  412. data/app/views/ads/_links_horizontal_large_gray.erb +16 -0
  413. data/app/views/ads/_links_horizontal_large_grey-blue.erb +17 -0
  414. data/app/views/ads/_links_horizontal_medium.erb +14 -0
  415. data/app/views/ads/_links_horizontal_medium_gray.erb +13 -0
  416. data/app/views/ads/_links_vertical_large.haml +11 -0
  417. data/app/views/ads/_medium_rectangle.haml +12 -0
  418. data/app/views/ads/_medium_rectangle_gray-blue.erb +16 -0
  419. data/app/views/ads/_skyscraper.haml +5 -0
  420. data/app/views/ads/_skyscraper_gray-blue.erb +14 -0
  421. data/app/views/ads/_small_square.erb +11 -0
  422. data/app/views/ads/_small_square_blue.erb +13 -0
  423. data/app/views/ads/_small_square_gray.erb +14 -0
  424. data/app/views/ads/_wide_line.haml +15 -0
  425. data/app/views/ads/_wide_skyscraper.haml +13 -0
  426. data/app/views/ads/src/_banner_bdd2ff.erb +11 -0
  427. data/app/views/ads/src/_large_rectangle.haml +11 -0
  428. data/app/views/ads/src/_leaderboard.haml +12 -0
  429. data/app/views/ads/src/_leaderboard_bdd2ff.erb +11 -0
  430. data/app/views/ads/src/_skyscraper.haml +10 -0
  431. data/app/views/ads/src/_small_square_gray.erb +11 -0
  432. data/app/views/ads/src/_vertical_banner.erb +11 -0
  433. data/app/views/application/_add_this.erb +11 -0
  434. data/app/views/application/_add_this_global.erb +11 -0
  435. data/app/views/application/_disqus.haml +14 -0
  436. data/app/views/application/_flash_messages.haml +17 -22
  437. data/app/views/application/_login_register.haml +16 -0
  438. data/app/views/application/_login_register_mini.haml +11 -0
  439. data/app/views/application/_meta.haml +18 -0
  440. data/app/views/application/_share_this.erb +0 -0
  441. data/app/views/application/_shtick.haml +3 -0
  442. data/app/views/application/_version.haml +3 -0
  443. data/app/views/application/empty.haml +1 -0
  444. data/app/views/application/not_found.haml +3 -0
  445. data/app/views/templates/_blah_template.haml +2 -0
  446. data/app/views/templates/blah_template.haml~ +0 -0
  447. data/app/views/templates/kaminari/_first_page.haml +9 -0
  448. data/app/views/templates/kaminari/_first_page.haml~ +9 -0
  449. data/app/views/templates/kaminari/_gap.haml +8 -0
  450. data/app/views/templates/kaminari/_last_page.haml +9 -0
  451. data/app/views/templates/kaminari/_last_page.haml~ +9 -0
  452. data/app/views/templates/kaminari/_next_page.haml +9 -0
  453. data/app/views/templates/kaminari/_next_page.haml~ +9 -0
  454. data/app/views/templates/kaminari/_page.haml +10 -0
  455. data/app/views/templates/kaminari/_page.haml~ +10 -0
  456. data/app/views/templates/kaminari/_paginator.haml +18 -0
  457. data/app/views/templates/kaminari/_paginator.haml~ +18 -0
  458. data/app/views/templates/kaminari/_prev_page.haml +9 -0
  459. data/app/views/templates/kaminari/_prev_page.haml~ +9 -0
  460. data/lib/ish_lib_engine/version.rb +1 -1
  461. metadata +457 -4
  462. data/app/models/ability.rb +0 -152
  463. data/app/models/ability.rb~ +0 -151
@@ -0,0 +1,3 @@
1
+
2
+
3
+ @import '../common/vars'
@@ -0,0 +1,5 @@
1
+ /*
2
+ *
3
+ *= require jasmine-1.1.0/jasmine
4
+ *
5
+ */
@@ -0,0 +1,96 @@
1
+
2
+ module ApplicationHelper
3
+
4
+ def pretty_date input
5
+ return input.strftime("%Y-%m-%d")
6
+ end
7
+
8
+ def adserv
9
+ true
10
+ end
11
+
12
+ def admin_path
13
+ '/admin'
14
+ end
15
+
16
+ def second_tag_path t
17
+ return "/tags/view/#{t[:name_seo]}" unless t[:name_seo].blank?
18
+
19
+ "/tags/#{t.to_param}"
20
+ end
21
+
22
+ def search_path
23
+ '/search'
24
+ end
25
+
26
+ def manager_path
27
+ '/manager'
28
+ end
29
+
30
+ def image_doc
31
+ image_tag 'icons/32x32/doc.png'
32
+ end
33
+
34
+ def image_pdf
35
+ image_tag 'icons/32x32/pdf.png'
36
+ end
37
+
38
+ def image_linkedin
39
+ image_tag 'icons/32x32/linkedin.png'
40
+ end
41
+
42
+ def image_facebook
43
+ image_tag 'icons/32x32/facebook.png'
44
+ end
45
+
46
+ def image_twitter
47
+ image_tag 'icons/32x32/twitter.png'
48
+ end
49
+
50
+ def image_github
51
+ image_tag 'icons/32x32/github.png'
52
+ end
53
+
54
+ def image_email
55
+ image_tag 'icons/32x32/email.png'
56
+ end
57
+
58
+ def github_path
59
+ 'http://github.com/piousbox'
60
+ end
61
+
62
+ def linkedin_path
63
+ 'http://linkedin.com'
64
+ end
65
+
66
+ def facebook_path
67
+ 'http://facebook.com/piousbox'
68
+ end
69
+
70
+ def team_path
71
+ "http://computationalartscorp.com/team"
72
+ end
73
+
74
+ def blog_path
75
+ "http://infiniteshelter.com/tags/show/Computational_Arts_Corp"
76
+ end
77
+
78
+ def twitter_path
79
+ 'http://twitter.com/piousbox'
80
+ end
81
+
82
+ def print_site site
83
+ out = ''
84
+ out += link_to image_tag( "flags/#{site.lang}.png" ), manager_site_path(site)
85
+ out += link_to '[~]', edit_manager_site_path(site)
86
+ out += "<div class='inline'>#{button_to '[x]', manager_site_path(site), :method => :delete, :confirm => 'Are you sure?'}</div>"
87
+ return out
88
+ end
89
+
90
+ def city_path cityname, opts = {}
91
+ opts[:lang] ||= :en
92
+ return "/#{opts[:lang]}/cities/travel-to/#{cityname}"
93
+ end
94
+
95
+ end
96
+
@@ -0,0 +1,9 @@
1
+ module DeviseHelper
2
+ def devise_error_messages!
3
+ resource.errors.full_messages.map { |msg| content_tag(:li, msg) }.join
4
+ end
5
+
6
+ def devise_error_messages_temp!
7
+ resource.errors.full_messages.map { |msg| content_tag(:p, msg) }.join
8
+ end
9
+ end
@@ -0,0 +1,200 @@
1
+
2
+ module ImagesHelper
3
+
4
+ def image_flag locale
5
+ image_tag "flags/#{locale.to_s}.png"
6
+ end
7
+
8
+ def image_city cityname
9
+ image_tag 'icons/48x48/city.png'
10
+ end
11
+
12
+ def image_customize
13
+ image_tag 'icons/28x28/customize.png'
14
+ end
15
+
16
+ def image_new_photo
17
+ image_tag 'icons/48x48/new_photo.png'
18
+ end
19
+
20
+ def button_fb_login
21
+ link_to image_tag('http://s3.amazonaws.com/ish-assets/loginWithFacebook.png'), user_omniauth_authorize_path(:facebook), :class => :fb
22
+ end
23
+
24
+ def image_logout
25
+ image_tag 'icons/32x32/logout.png'
26
+ end
27
+
28
+ def image_expand
29
+ # image_tag 'icons/28x28/expand.png'
30
+ image_tag 'icons/16x16/expand_down.png'
31
+ end
32
+
33
+ def image_expand_down
34
+ image_tag 'drag.png'
35
+ end
36
+
37
+ def image_contact
38
+ image_tag 'http://s3.amazonaws.com/ish-assets/contact.png', :class => :contact
39
+ end
40
+
41
+ def image_expand_up
42
+ image_tag 'drag.png'
43
+ end
44
+
45
+ def image_ppf
46
+ image_tag 'ppf.gif'
47
+ end
48
+
49
+ def image_new_report
50
+ image_tag 'icons/64x64/new_report.png'
51
+ end
52
+
53
+ def image_ish
54
+ # image_tag 'logo.png'
55
+ image_tag 'ish_logo_100.png'
56
+ end
57
+
58
+ def image_new_addritem
59
+ image_tag 'icons/64x64/new_addritem.png'
60
+ end
61
+
62
+ def image_top
63
+ image_tag('top.gif')
64
+ end
65
+
66
+ def image_scratchpad
67
+ image_tag 'icons/64x64/scratchpad.png'
68
+ end
69
+
70
+ def image_settings
71
+ image_tag 'icons/64x64/settings.png'
72
+ end
73
+
74
+ def image_extended_forms
75
+ image_tag 'icons/64x64/extended_forms.png'
76
+ end
77
+
78
+ def image_close
79
+ image_tag('close.png')
80
+ end
81
+
82
+ def image_edit
83
+ image_tag('icons/24x24/edit.png', :alt => '[~]')
84
+ end
85
+
86
+ def image_email
87
+ image_tag 'email.gif'
88
+ end
89
+
90
+ def image_add
91
+ image_tag 'new.png'
92
+ end
93
+
94
+ def image_search args = {}
95
+ image_tag 'icons/16x16/search.png', args
96
+ end
97
+
98
+ def image_cac
99
+ s3_image_tag 'cac.png'
100
+ end
101
+
102
+ def image_delete
103
+ # image_tag 'delete.png'
104
+ '[x]'
105
+ end
106
+
107
+ def image_index
108
+ image_tag 'icons/32x32/list.png'
109
+ end
110
+
111
+ def image_new
112
+ image_tag 'icons/32x32/new.png', :alt => '[+]'
113
+ end
114
+
115
+ # @deprecated, should use image_3s
116
+ def s3_image_tag input
117
+ image_tag 'https://s3.amazonaws.com/ish-assets/' + input
118
+ end
119
+
120
+ def image_fb
121
+ image_tag 'http://s3.amazonaws.com/ish-assets/loginWithFacebook.png'
122
+ end
123
+
124
+ def image_3s input
125
+ image_tag 'https://s3.amazonaws.com/ish-assets/' + input
126
+ end
127
+
128
+ # @TODO:
129
+ def video_thumb video
130
+ warn 'todo wtf?'
131
+ image_tag 'no_image.png'
132
+ end
133
+
134
+ #
135
+ # missing stuff
136
+ #
137
+
138
+ def image_or_missing photo, size = :thumb
139
+
140
+ if defined? photo.photo
141
+ if defined? photo.photo.url
142
+ if photo.photo.url == '/photos/original/missing.png'
143
+ ;
144
+ else
145
+ return image_tag photo.photo.url(size)
146
+ end
147
+ end
148
+ end
149
+
150
+ image_missing
151
+ end
152
+
153
+ def image_missing size = :thumb
154
+ case size
155
+ when :thumb
156
+ image_tag 'no_photo.png'
157
+ when :mini
158
+ image_tag 'no_photo_mini.png'
159
+ else
160
+ image_tag 'no_photo.png'
161
+ end
162
+ end
163
+
164
+ def missing
165
+ image_missing
166
+ end
167
+
168
+ def missing? item
169
+ if defined? item.photo and defined? item.photo.url
170
+ if item.photo.url == "/photos/original/missing.png"
171
+ return true
172
+ else
173
+ return false
174
+ end
175
+ end
176
+
177
+ return true
178
+ end
179
+
180
+ def image_vote_up
181
+ image_tag 'icons/32x32/thumbs_up.png', :width => '16px'
182
+ end
183
+
184
+ def image_vote_down
185
+ image_tag 'icons/32x32/thumbs_down.png', :width => '16px'
186
+ end
187
+
188
+ def image_contact
189
+ image_tag 'http://s3.amazonaws.com/ish-assets/contact.png', :class => :contact
190
+ end
191
+
192
+ def image_restart
193
+ t('apps.restart')
194
+ end
195
+
196
+ def image_my_profile
197
+ image_tag 'icons/64x64/my-profile.png'
198
+ end
199
+
200
+ end
@@ -1,4 +1,7 @@
1
1
  module IshLibEngine
2
2
  module ApplicationHelper
3
+ def pretty_date input
4
+ return input.strftime("%Y-%m-%d")
5
+ end
3
6
  end
4
7
  end
@@ -0,0 +1,4 @@
1
+ module IshLibEngine
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -1,6 +1,4 @@
1
-
2
- require_relative '../../lib/string'
3
-
1
+ require 'string'
4
2
  class Gallery < AppModel2
5
3
 
6
4
  belongs_to :site
@@ -0,0 +1,8 @@
1
+
2
+ class Paypal::Ipn
3
+ include Mongoid::Document
4
+ include Mongoid::Timestamps
5
+
6
+ field :raw_parameters, :type => String
7
+
8
+ end
@@ -0,0 +1,8 @@
1
+
2
+ class Paypal:::Ipn
3
+ include Mongoid::Document
4
+ include Mongoid::Timestamps
5
+
6
+ field :raw_parameters, :type => String
7
+
8
+ end
@@ -0,0 +1,21 @@
1
+
2
+ class Paypal::Payment
3
+ include Mongoid::Document
4
+ include Mongoid::Timestamps
5
+
6
+ # From: https://developer.paypal.com/docs/classic/ipn/gs_IPN/
7
+
8
+ =begin
9
+ // Assign payment notification values to local variables
10
+ $item_name = $_POST['item_name'];
11
+ $item_number = $_POST['item_number'];
12
+ $payment_status = $_POST['payment_status'];
13
+ $payment_amount = $_POST['mc_gross'];
14
+ $payment_currency = $_POST['mc_currency'];
15
+ $txn_id = $_POST['txn_id'];
16
+ $receiver_email = $_POST['receiver_email'];
17
+ $payer_email = $_POST['payer_email'];
18
+ =end
19
+
20
+ end
21
+
@@ -0,0 +1,7 @@
1
+
2
+ class Paypal::Payment
3
+ include Mongoid::Document
4
+ include Mongoid::Timestamps
5
+
6
+ end
7
+
@@ -0,0 +1,83 @@
1
+
2
+ class Site
3
+
4
+ include Mongoid::Document
5
+ include Mongoid::Timestamps
6
+ include AuxModel
7
+
8
+ field :domain, :type => String
9
+
10
+ field :lang, :type => String, :default => 'en'
11
+ # validates :lang, { :uniqueness => :true, :scope => :domain }
12
+
13
+ field :title, :type => String
14
+ field :subhead, :type => String
15
+ field :home_redirect_path, :type => String, :default => nil
16
+
17
+ field :n_features, :type => Integer, :default => 4
18
+ field :n_newsitems, :type => Integer, :default => 20
19
+
20
+ # denormalized
21
+ field :n_reports, :type => Integer
22
+ field :n_galleries, :type => Integer
23
+
24
+ field :is_video_enabled, :type => Boolean, :default => false
25
+ field :is_resume_enabled, :type => Boolean, :default => false
26
+ field :is_ads_enabled, :type => Boolean, :default => true
27
+ field :is_trash, :type => Boolean, :default => false
28
+ field :is_primary, :type => Boolean, :default => false
29
+ field :is_private, :type => Boolean, :default => false
30
+
31
+ field :homepage_layout, :type => String, :default => 'show'
32
+ field :layout, :type => String, :default => 'application'
33
+
34
+ has_many :reports
35
+ has_many :galleries
36
+ has_many :tags
37
+ has_many :videos
38
+
39
+ embeds_many :features
40
+ embeds_many :newsitems
41
+
42
+ default_scope ->{ where({ :is_trash => false }).order_by({ :domain => :asc, :lang => :asc }) }
43
+
44
+ set_callback :create, :before do |doc|
45
+ if Site.where( :lang => doc.lang, :domain => doc.domain ).length > 0
46
+ return false
47
+ end
48
+ end
49
+
50
+ set_callback :update, :before do |doc|
51
+ possible_duplicate = Site.where( :lang => doc.lang, :domain => doc.domain ).first
52
+ if possible_duplicate.blank?
53
+ true
54
+ elsif doc.id != possible_duplicate.id
55
+ false
56
+ end
57
+ end
58
+
59
+ LANGUAGES = [ 'en', 'ru', 'pt' ]
60
+
61
+ # manager uses it.
62
+ def self.list
63
+ out = self.all.order_by( :domain => :asc, :lang => :asc )
64
+ [['', nil]] + out.map { |item| [ "#{item.domain} #{item.lang}", item.id ] }
65
+ end
66
+
67
+ def self.mobi
68
+ Site.where( :domain => 'travel-guide.mobi', :lang => 'en' ).first
69
+ end
70
+
71
+ def n_reports
72
+ self.reports.unscoped.where( :is_trash => false ).length
73
+ end
74
+
75
+ def n_private_reports
76
+ self.reports.unscoped.where( :is_public => false, :is_trash => false ).length
77
+ end
78
+
79
+ def its_locales
80
+ Site.where( :domain => self.domain ).map { |s| s.lang.to_sym }
81
+ end
82
+
83
+ end