activeadmin-selleo-cms 0.0.44 → 0.0.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. data/app/admin/activeadmin_selleo_cms/form.rb +31 -0
  2. data/app/admin/activeadmin_selleo_cms/form_question.rb +53 -0
  3. data/app/assets/javascripts/active_admin.js +1 -2
  4. data/app/assets/javascripts/activeadmin-selleo-cms/custom.js +20 -1
  5. data/app/assets/javascripts/activeadmin-selleo-cms/forms.js +4 -0
  6. data/app/assets/javascripts/activeadmin-selleo-cms/forms.storage.js +26 -0
  7. data/app/assets/javascripts/activeadmin-selleo-cms/inline-editing.js +1 -1
  8. data/app/assets/javascripts/activeadmin-selleo-cms/jquery.browser.js +43 -0
  9. data/app/assets/javascripts/activeadmin-selleo-cms/jquery.printElement.js +170 -0
  10. data/app/assets/javascripts/activeadmin-selleo-cms/jquery.validate.js +1231 -0
  11. data/app/controllers/forms_controller.rb +32 -0
  12. data/app/mailers/activeadmin_selleo_cms/form_mailer.rb +10 -0
  13. data/app/models/activeadmin_selleo_cms/form.rb +11 -0
  14. data/app/models/activeadmin_selleo_cms/form_question.rb +75 -0
  15. data/app/models/activeadmin_selleo_cms/form_question_option.rb +22 -0
  16. data/app/models/activeadmin_selleo_cms/section.rb +20 -1
  17. data/app/views/activeadmin_selleo_cms/form_mailer/form_submission.html.erb +12 -0
  18. data/app/views/admin/form_questions/_form.html.haml +45 -0
  19. data/app/views/admin/form_questions/create.js.erb +7 -0
  20. data/app/views/admin/form_questions/destroy.js.erb +2 -0
  21. data/app/views/admin/form_questions/update.js.erb +7 -0
  22. data/app/views/admin/forms/_form.html.haml +50 -0
  23. data/app/views/admin/forms/_question.html.haml +8 -0
  24. data/app/views/admin/forms/_question_type.html.haml +6 -0
  25. data/app/views/admin/forms/_questions.html.haml +2 -0
  26. data/app/views/admin/pages/_form.html.haml +5 -2
  27. data/app/views/admin/pages/_translated_fields.html.haml +4 -4
  28. data/app/views/admin/pages/update.js.erb +1 -1
  29. data/app/views/admin/section_translations/_form.html.haml +2 -0
  30. data/app/views/forms/_form.html.erb +29 -0
  31. data/app/views/forms/deliver.html.erb +4 -0
  32. data/app/views/forms/download.pdf.erb +14 -0
  33. data/app/views/pages/show.html.haml +2 -1
  34. data/config/initializers/mime_types.rb +1 -0
  35. data/config/locales/cms.en.yml +1 -0
  36. data/config/routes.rb +7 -0
  37. data/db/migrate/20130625104333_create_activeadmin_selleo_cms_forms.rb +7 -0
  38. data/db/migrate/20130625104427_create_activeadmin_selleo_cms_form_questions.rb +15 -0
  39. data/db/migrate/20130625104459_create_activeadmin_selleo_cms_form_question_options.rb +10 -0
  40. data/lib/activeadmin-selleo-cms/version.rb +1 -1
  41. data/spec/dummy/db/migrate/20130206173233_change_activeadmin_selleo_cms_searches.rb +29 -0
  42. data/spec/dummy/db/migrate/20130207213528_change_activeadmin_selleo_cms_assets.rb +12 -0
  43. data/spec/dummy/db/migrate/20130211151210_create_activeadmin_selleo_cms_related_items.rb +16 -0
  44. data/spec/dummy/db/migrate/20130531154539_add_position_to_assets.rb +9 -0
  45. data/spec/dummy/db/migrate/20130601141800_add_position_to_related_items.rb +9 -0
  46. data/spec/dummy/db/migrate/20130625104333_create_activeadmin_selleo_cms_forms.rb +7 -0
  47. data/spec/dummy/db/migrate/20130625104427_create_activeadmin_selleo_cms_form_questions.rb +15 -0
  48. data/spec/dummy/db/migrate/20130625104459_create_activeadmin_selleo_cms_form_question_options.rb +10 -0
  49. data/spec/dummy/db/schema.rb +45 -4
  50. data/spec/dummy/db/snapshots/test_database.sql +298 -0
  51. data/spec/dummy/log/development.log +1 -0
  52. data/spec/dummy/log/test.log +24524 -0
  53. data/spec/dummy/tmp/cache/assets/C77/340/sprockets%2F06f5481af9739c75a130a117a607f701 +0 -0
  54. data/spec/dummy/tmp/cache/assets/C8B/AF0/sprockets%2F829fd285b34b067b7a65772590b9322f +0 -0
  55. data/spec/dummy/tmp/cache/assets/CA5/480/sprockets%2F662b7f1465cf2231ce74c33a12b49750 +0 -0
  56. data/spec/dummy/tmp/cache/assets/CA7/930/sprockets%2F4160ea0b3fb73ed707d1663757351b91 +0 -0
  57. data/spec/dummy/tmp/cache/assets/CAE/840/sprockets%2F7cbe7330e41e804f2323d41959368bf0 +0 -0
  58. data/spec/dummy/tmp/cache/assets/CD2/9B0/sprockets%2Fcbd8386d355c330321c6091d29fe50a1 +0 -0
  59. data/spec/dummy/tmp/cache/assets/CD4/C50/sprockets%2Fa3fd41a03ba7406d295997bb5223f820 +0 -0
  60. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  61. data/spec/dummy/tmp/cache/assets/CDB/040/sprockets%2Fc732474e67003a4eb840eb44c5ca9385 +0 -0
  62. data/spec/dummy/tmp/cache/assets/CEB/360/sprockets%2F6beae78de744da1a77728164871177e0 +0 -0
  63. data/spec/dummy/tmp/cache/assets/D1B/ED0/sprockets%2F27587b13b847c685fe516cb0b3a9f7b7 +0 -0
  64. data/spec/dummy/tmp/cache/assets/D20/880/sprockets%2Fc3074825fcb4400fc3312e42a0bce4a4 +0 -0
  65. data/spec/dummy/tmp/cache/assets/D27/750/sprockets%2Fd3dc17d4a8d304b11a443003fc3e8f34 +0 -0
  66. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  67. data/spec/dummy/tmp/cache/assets/D38/540/sprockets%2F86e1ad844bc9df4491a2a52b870421db +0 -0
  68. data/spec/dummy/tmp/cache/assets/D40/960/sprockets%2F8302b0f1464044ee7cead2ae929b888d +0 -0
  69. data/spec/dummy/tmp/cache/assets/D42/580/sprockets%2F2f962efaf10652ad49924dd754aa14e8 +0 -0
  70. data/spec/dummy/tmp/cache/assets/D44/6E0/sprockets%2F754ecc8c755a2e4064066fdde3b16d93 +0 -0
  71. data/spec/dummy/tmp/cache/assets/D48/640/sprockets%2F9f4f18d910b678b1d0777e04cdaf6f24 +0 -0
  72. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  73. data/spec/dummy/tmp/cache/assets/D50/2E0/sprockets%2Fc214d1c2014b4b02b9bc8949bbb52ba3 +0 -0
  74. data/spec/dummy/tmp/cache/assets/D55/BA0/sprockets%2Fff0987a90494a8eaf8186ced2b5b1598 +0 -0
  75. data/spec/dummy/tmp/cache/assets/D59/D70/sprockets%2Fed9f0de1b65ae8d7ef89087c83728461 +0 -0
  76. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  77. data/spec/dummy/tmp/cache/assets/D67/F70/sprockets%2Ffbf08b2a6103c6f1e6b66c2e7a39b265 +0 -0
  78. data/spec/dummy/tmp/cache/assets/D69/EA0/sprockets%2F7f4b66b3b7213ae1f9acf3b405d5378a +0 -0
  79. data/spec/dummy/tmp/cache/assets/D6C/C30/sprockets%2Fd2f2464120598c8cbdbe2c7c907bf15c +0 -0
  80. data/spec/dummy/tmp/cache/assets/D72/830/sprockets%2F3c584d2138ad334768e75ac7a5ec6baf +0 -0
  81. data/spec/dummy/tmp/cache/assets/D73/720/sprockets%2Fb2b61c47ea6ed4dec438305d887e36c4 +0 -0
  82. data/spec/dummy/tmp/cache/assets/D93/4C0/sprockets%2F857ecd2092cee11f740b3cf2e373ad2a +0 -0
  83. data/spec/dummy/tmp/cache/assets/DBE/250/sprockets%2F708b3d002eb534df6bded3ad61f12ce6 +0 -0
  84. data/spec/dummy/tmp/cache/assets/DDA/DF0/sprockets%2F51bffc0e5dec087e64d1ecb728e9691e +0 -0
  85. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  86. data/spec/dummy/tmp/cache/assets/DDD/CC0/sprockets%2F7db330b00298cfa8e9afcef4929d6f7e +0 -0
  87. data/spec/dummy/tmp/cache/assets/DDE/420/sprockets%2Ffb8b186d5bf0307f86f65fc787d2adeb +0 -0
  88. data/spec/dummy/tmp/cache/assets/DE0/9B0/sprockets%2F5a0abb50cbd48f9a10db8c1b42b281eb +0 -0
  89. data/spec/dummy/tmp/cache/assets/DF3/1E0/sprockets%2Faf53b7e5f3b91b6730addb22e1b4e8cc +0 -0
  90. data/spec/dummy/tmp/cache/assets/DFE/550/sprockets%2F9c55bb183d3acabead863e2fdd7a9292 +0 -0
  91. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  92. data/spec/dummy/tmp/cache/assets/E16/490/sprockets%2F12edba3de0bbd243b58b0ffc604df43c +0 -0
  93. data/spec/dummy/tmp/cache/assets/E36/860/sprockets%2F78244ec4bfe8bacf1affa0a39e43f8f8 +0 -0
  94. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_all.css.scssc +0 -0
  95. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_buttons.css.scssc +0 -0
  96. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_gradients.css.scssc +0 -0
  97. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_icons.css.scssc +0 -0
  98. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_reset.css.scssc +0 -0
  99. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_rounded.css.scssc +0 -0
  100. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_sections.css.scssc +0 -0
  101. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_shadows.css.scssc +0 -0
  102. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_typography.scssc +0 -0
  103. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_utilities.scssc +0 -0
  104. data/spec/dummy/tmp/cache/sass/09e583e9f1586e2218afa17943c4e98d5d86c0c6/_variables.css.scssc +0 -0
  105. data/spec/dummy/tmp/cache/sass/15da70bc7d0da60bc7a0f58553e8f13c7238b9a6/_compact.scssc +0 -0
  106. data/spec/dummy/tmp/cache/sass/15da70bc7d0da60bc7a0f58553e8f13c7238b9a6/_flex-grid.scssc +0 -0
  107. data/spec/dummy/tmp/cache/sass/15da70bc7d0da60bc7a0f58553e8f13c7238b9a6/_grid-width.scssc +0 -0
  108. data/spec/dummy/tmp/cache/sass/15da70bc7d0da60bc7a0f58553e8f13c7238b9a6/_linear-gradient.scssc +0 -0
  109. data/spec/dummy/tmp/cache/sass/15da70bc7d0da60bc7a0f58553e8f13c7238b9a6/_modular-scale.scssc +0 -0
  110. data/spec/dummy/tmp/cache/sass/15da70bc7d0da60bc7a0f58553e8f13c7238b9a6/_px-to-em.scssc +0 -0
  111. data/spec/dummy/tmp/cache/sass/15da70bc7d0da60bc7a0f58553e8f13c7238b9a6/_radial-gradient.scssc +0 -0
  112. data/spec/dummy/tmp/cache/sass/15da70bc7d0da60bc7a0f58553e8f13c7238b9a6/_tint-shade.scssc +0 -0
  113. data/spec/dummy/tmp/cache/sass/15da70bc7d0da60bc7a0f58553e8f13c7238b9a6/_transition-property-name.scssc +0 -0
  114. data/spec/dummy/tmp/cache/sass/52912b08735a03631875d00219891a582ac39f91/active_admin.css.scssc +0 -0
  115. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_batch_actions.css.scssc +0 -0
  116. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_blank_slates.scssc +0 -0
  117. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_breadcrumbs.scssc +0 -0
  118. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_buttons.scssc +0 -0
  119. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_columns.scssc +0 -0
  120. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_comments.css.scssc +0 -0
  121. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_date_picker.css.scssc +0 -0
  122. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_dropdown_menu.scssc +0 -0
  123. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_flash_messages.css.scssc +0 -0
  124. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_grid.scssc +0 -0
  125. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_index_list.scssc +0 -0
  126. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_links.scssc +0 -0
  127. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_pagination.scssc +0 -0
  128. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_panels.scssc +0 -0
  129. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_popovers.css.scssc +0 -0
  130. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_scopes.scssc +0 -0
  131. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_status_tags.scssc +0 -0
  132. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_table_tools.css.scssc +0 -0
  133. data/spec/dummy/tmp/cache/sass/58755c7eaf517716926b0807287ef35489683c47/_tables.css.scssc +0 -0
  134. data/spec/dummy/tmp/cache/sass/87d9aadf92f082c849eefdb769b1f3014fbe3d80/_bourbon-deprecated-upcoming.scssc +0 -0
  135. data/spec/dummy/tmp/cache/sass/87d9aadf92f082c849eefdb769b1f3014fbe3d80/_bourbon.scssc +0 -0
  136. data/spec/dummy/tmp/cache/sass/8c9ef3f2c30ba84ed465a051544bf8813f35444d/_footer.scssc +0 -0
  137. data/spec/dummy/tmp/cache/sass/8c9ef3f2c30ba84ed465a051544bf8813f35444d/_main_structure.scssc +0 -0
  138. data/spec/dummy/tmp/cache/sass/8c9ef3f2c30ba84ed465a051544bf8813f35444d/_title_bar.scssc +0 -0
  139. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_animation.scssc +0 -0
  140. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_appearance.scssc +0 -0
  141. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_backface-visibility.scssc +0 -0
  142. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_background-image.scssc +0 -0
  143. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_background.scssc +0 -0
  144. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_border-image.scssc +0 -0
  145. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_border-radius.scssc +0 -0
  146. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_box-sizing.scssc +0 -0
  147. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_columns.scssc +0 -0
  148. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_flex-box.scssc +0 -0
  149. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_font-face.scssc +0 -0
  150. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_hidpi-media-query.scssc +0 -0
  151. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_image-rendering.scssc +0 -0
  152. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_inline-block.scssc +0 -0
  153. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_keyframes.scssc +0 -0
  154. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_linear-gradient.scssc +0 -0
  155. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_perspective.scssc +0 -0
  156. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_placeholder.scssc +0 -0
  157. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_radial-gradient.scssc +0 -0
  158. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_transform.scssc +0 -0
  159. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_transition.scssc +0 -0
  160. data/spec/dummy/tmp/cache/sass/99be3aae4664497e61da2511feebeb7d5faf1139/_user-select.scssc +0 -0
  161. data/spec/dummy/tmp/cache/sass/a1e1600793faa04b53e432bebf67bf72909214b5/_deprecated-webkit-gradient.scssc +0 -0
  162. data/spec/dummy/tmp/cache/sass/a1e1600793faa04b53e432bebf67bf72909214b5/_gradient-positions-parser.scssc +0 -0
  163. data/spec/dummy/tmp/cache/sass/a1e1600793faa04b53e432bebf67bf72909214b5/_linear-positions-parser.scssc +0 -0
  164. data/spec/dummy/tmp/cache/sass/a1e1600793faa04b53e432bebf67bf72909214b5/_radial-arg-parser.scssc +0 -0
  165. data/spec/dummy/tmp/cache/sass/a1e1600793faa04b53e432bebf67bf72909214b5/_radial-positions-parser.scssc +0 -0
  166. data/spec/dummy/tmp/cache/sass/a1e1600793faa04b53e432bebf67bf72909214b5/_render-gradients.scssc +0 -0
  167. data/spec/dummy/tmp/cache/sass/a1e1600793faa04b53e432bebf67bf72909214b5/_shape-size-stripper.scssc +0 -0
  168. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_button.scssc +0 -0
  169. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_clearfix.scssc +0 -0
  170. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_font-family.scssc +0 -0
  171. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_hide-text.scssc +0 -0
  172. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_html5-input-types.scssc +0 -0
  173. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_position.scssc +0 -0
  174. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_prefixer.scssc +0 -0
  175. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_retina-image.scssc +0 -0
  176. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_size.scssc +0 -0
  177. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_timing-functions.scssc +0 -0
  178. data/spec/dummy/tmp/cache/sass/a6f44f7e8dc2f75ba4a2b257f37eeda690933a5f/_triangle.scssc +0 -0
  179. data/spec/dummy/tmp/cache/sass/c48301ebc9d8a1da2083df298428b60619d37c44/_base.css.scssc +0 -0
  180. data/spec/dummy/tmp/cache/sass/c48301ebc9d8a1da2083df298428b60619d37c44/_forms.css.scssc +0 -0
  181. data/spec/dummy/tmp/cache/sass/c48301ebc9d8a1da2083df298428b60619d37c44/_header.css.scssc +0 -0
  182. data/spec/dummy/tmp/cache/sass/c48301ebc9d8a1da2083df298428b60619d37c44/_mixins.css.scssc +0 -0
  183. data/spec/dummy/tmp/cache/sass/c48301ebc9d8a1da2083df298428b60619d37c44/_typography.css.scssc +0 -0
  184. data/spec/dummy/tmp/cache/sass/c48301ebc9d8a1da2083df298428b60619d37c44/print.css.scssc +0 -0
  185. data/spec/dummy/tmp/cache/sass/f5b5749bdb16c7c8c955c12688c619c619fa8448/_dashboard.scssc +0 -0
  186. data/spec/dummy/tmp/cache/sass/f5b5749bdb16c7c8c955c12688c619c619fa8448/_logged_out.scssc +0 -0
  187. data/spec/models/activeadmin_selleo_cms/page_spec.rb +0 -4
  188. metadata +336 -2
@@ -0,0 +1,4 @@
1
+ <script>
2
+ localStorage.clear();
3
+ document.location = document.referrer;
4
+ </script>
@@ -0,0 +1,14 @@
1
+ <%= form_tag '/forms', multipart: true, id: dom_id(@form) do %>
2
+ <% @form.questions.each do |question| %>
3
+ <%= label_tag dom_id(question), question.title %>
4
+ <% if [:check_box_tag, :radio_button_tag].include? question.input_type %>
5
+ <% question.options.each do |option| %>
6
+ <%= send(question.input_type, dom_id(question), option.id, Array(params[dom_id(question)]).include?(option.id.to_s)) %>
7
+ <%= label_tag dom_id(option), option.title %>
8
+ <% end %>
9
+ <% else %>
10
+ <%= send(question.input_type, dom_id(question), params[dom_id(question)]) %>
11
+ <% end %>
12
+ <%= text_field_tag "#{dom_id(question)}_other", params["#{dom_id(question)}_other"] if question.has_other_option %>
13
+ <% end %>
14
+ <% end %>
@@ -1,5 +1,6 @@
1
+ = javascript_include_tag "activeadmin-selleo-cms/forms.js"
1
2
  - @page.sections.each do |section|
2
3
  - content_for section.name.to_sym do
3
- = section.body.html_safe if section.body
4
+ = section.render(params[:editing]) if section.body
4
5
  - if current_user and current_user.respond_to? :admin? and current_user.admin?
5
6
  %p= link_to t("active_admin.cms.edit"), edit_admin_page_path(@page.id)
@@ -0,0 +1 @@
1
+ Mime::Type.register "application/pdf", :pdf
@@ -8,6 +8,7 @@ en:
8
8
  cover: "Cover image"
9
9
  active_admin:
10
10
  cms:
11
+ close: "Close"
11
12
  view_on_site: "View on site"
12
13
  sub_pages: "Sub pages"
13
14
  edit: "Edit"
data/config/routes.rb CHANGED
@@ -1,6 +1,13 @@
1
1
  Rails.application.routes.draw do
2
2
  mount Ckeditor::Engine => '/ckeditor'
3
3
 
4
+ resources :forms, :only => [] do
5
+ member do
6
+ post :download
7
+ post :deliver
8
+ end
9
+ end
10
+
4
11
  scope ":locale", :locale => /\w{2}/ do
5
12
  scope "search" do
6
13
  resources :searches, path: '', only: [:show]
@@ -0,0 +1,7 @@
1
+ class CreateActiveadminSelleoCmsForms < ActiveRecord::Migration
2
+ def change
3
+ create_table :activeadmin_selleo_cms_forms do |t|
4
+ t.string :title
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ class CreateActiveadminSelleoCmsFormQuestions < ActiveRecord::Migration
2
+ def change
3
+ create_table :activeadmin_selleo_cms_form_questions do |t|
4
+ t.integer :form_id
5
+ t.string :title
6
+ t.string :hint
7
+ t.integer :question_type
8
+ t.integer :position
9
+ t.boolean :is_required, default: false
10
+ t.boolean :is_multi, default: false
11
+ t.boolean :has_other_option, default: false
12
+ end
13
+ add_index :activeadmin_selleo_cms_form_questions, :form_id, name: 'form_id_index'
14
+ end
15
+ end
@@ -0,0 +1,10 @@
1
+ class CreateActiveadminSelleoCmsFormQuestionOptions < ActiveRecord::Migration
2
+ def change
3
+ create_table :activeadmin_selleo_cms_form_question_options do |t|
4
+ t.integer :form_question_id
5
+ t.string :title
6
+ t.integer :position
7
+ end
8
+ add_index :activeadmin_selleo_cms_form_question_options, :form_question_id, name: 'form_question_id_index'
9
+ end
10
+ end
@@ -1,3 +1,3 @@
1
1
  module ActiveadminSelleoCms
2
- VERSION = "0.0.44"
2
+ VERSION = "0.0.45"
3
3
  end
@@ -0,0 +1,29 @@
1
+ class ChangeActiveadminSelleoCmsSearches < ActiveRecord::Migration
2
+ def up
3
+ ActiveRecord::Base.connection.execute <<-SQL
4
+ DROP VIEW activeadmin_selleo_cms_searches
5
+ SQL
6
+ ActiveRecord::Base.connection.execute <<-SQL
7
+ CREATE VIEW activeadmin_selleo_cms_searches AS
8
+ SELECT
9
+ 'ActiveadminSelleoCms::Page' AS searchable_type,
10
+ pages.id AS searchable_id,
11
+ pages.is_published ,
12
+ page_translations.locale,
13
+ coalesce(string_agg(page_translations.title, ' '), '')||' '||coalesce(string_agg(section_translations.body, ' '), '') as content
14
+ FROM
15
+ activeadmin_selleo_cms_pages pages
16
+ INNER JOIN
17
+ activeadmin_selleo_cms_page_translations page_translations ON page_translations.activeadmin_selleo_cms_page_id = pages.id
18
+ LEFT JOIN
19
+ activeadmin_selleo_cms_sections sections ON sections.sectionable_id = pages.id AND sections.sectionable_type = 'ActiveadminSelleoCms::Page'
20
+ LEFT JOIN
21
+ activeadmin_selleo_cms_section_translations section_translations ON section_translations.activeadmin_selleo_cms_section_id = sections.id AND section_translations.locale = page_translations.locale
22
+ GROUP BY
23
+ pages.id, page_translations.locale
24
+ SQL
25
+ end
26
+
27
+ def down
28
+ end
29
+ end
@@ -0,0 +1,12 @@
1
+ class ChangeActiveadminSelleoCmsAssets < ActiveRecord::Migration
2
+ def up
3
+ add_column :activeadmin_selleo_cms_assets, :cover_file_name, :string
4
+ add_column :activeadmin_selleo_cms_assets, :cover_content_type, :string
5
+ add_column :activeadmin_selleo_cms_assets, :cover_file_size, :integer
6
+
7
+ add_column :activeadmin_selleo_cms_assets, :caption, :string
8
+ end
9
+
10
+ def down
11
+ end
12
+ end
@@ -0,0 +1,16 @@
1
+ class CreateActiveadminSelleoCmsRelatedItems < ActiveRecord::Migration
2
+ def change
3
+ create_table :activeadmin_selleo_cms_related_items do |t|
4
+ t.integer :relatable_id
5
+ t.string :relatable_type
6
+
7
+ t.belongs_to :page
8
+
9
+ t.string :related_url
10
+
11
+ t.string :title
12
+
13
+ t.timestamps
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,9 @@
1
+ class AddPositionToAssets < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :activeadmin_selleo_cms_assets, :position, :integer
4
+ end
5
+
6
+ def self.down
7
+ remove_column :activeadmin_selleo_cms_assets, :position
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ class AddPositionToRelatedItems < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :activeadmin_selleo_cms_related_items, :position, :integer
4
+ end
5
+
6
+ def self.down
7
+ remove_column :activeadmin_selleo_cms_related_items, :position
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+ class CreateActiveadminSelleoCmsForms < ActiveRecord::Migration
2
+ def change
3
+ create_table :activeadmin_selleo_cms_forms do |t|
4
+ t.string :title
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ class CreateActiveadminSelleoCmsFormQuestions < ActiveRecord::Migration
2
+ def change
3
+ create_table :activeadmin_selleo_cms_form_questions do |t|
4
+ t.integer :form_id
5
+ t.string :title
6
+ t.string :hint
7
+ t.integer :question_type
8
+ t.integer :position
9
+ t.boolean :is_required, default: false
10
+ t.boolean :is_multi, default: false
11
+ t.boolean :has_other_option, default: false
12
+ end
13
+ add_index :activeadmin_selleo_cms_form_questions, :form_id, name: 'form_id_index'
14
+ end
15
+ end
@@ -0,0 +1,10 @@
1
+ class CreateActiveadminSelleoCmsFormQuestionOptions < ActiveRecord::Migration
2
+ def change
3
+ create_table :activeadmin_selleo_cms_form_question_options do |t|
4
+ t.integer :form_question_id
5
+ t.string :title
6
+ t.integer :position
7
+ end
8
+ add_index :activeadmin_selleo_cms_form_question_options, :form_question_id, name: 'form_question_id_index'
9
+ end
10
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20130117150808) do
14
+ ActiveRecord::Schema.define(:version => 20130625104459) do
15
15
 
16
16
  create_table "active_admin_comments", :force => true do |t|
17
17
  t.string "resource_id", :null => false
@@ -29,7 +29,7 @@ ActiveRecord::Schema.define(:version => 20130117150808) do
29
29
  add_index "active_admin_comments", ["resource_type", "resource_id"], :name => "index_admin_notes_on_resource_type_and_resource_id"
30
30
 
31
31
  create_table "activeadmin_selleo_cms_assets", :force => true do |t|
32
- t.string "data_file_name", :null => false
32
+ t.string "data_file_name", :null => false
33
33
  t.string "data_content_type"
34
34
  t.integer "data_file_size"
35
35
  t.integer "assetable_id"
@@ -37,13 +37,43 @@ ActiveRecord::Schema.define(:version => 20130117150808) do
37
37
  t.string "type"
38
38
  t.integer "width"
39
39
  t.integer "height"
40
- t.datetime "created_at", :null => false
41
- t.datetime "updated_at", :null => false
40
+ t.datetime "created_at", :null => false
41
+ t.datetime "updated_at", :null => false
42
+ t.string "cover_file_name"
43
+ t.string "cover_content_type"
44
+ t.integer "cover_file_size"
45
+ t.string "caption"
46
+ t.integer "position"
42
47
  end
43
48
 
44
49
  add_index "activeadmin_selleo_cms_assets", ["assetable_type", "assetable_id"], :name => "idx_activeadmin_selleo_cms_assets_assetable"
45
50
  add_index "activeadmin_selleo_cms_assets", ["assetable_type", "type", "assetable_id"], :name => "idx_activeadmin_selleo_cms_asset_assetable_type"
46
51
 
52
+ create_table "activeadmin_selleo_cms_form_question_options", :force => true do |t|
53
+ t.integer "form_question_id"
54
+ t.string "title"
55
+ t.integer "position"
56
+ end
57
+
58
+ add_index "activeadmin_selleo_cms_form_question_options", ["form_question_id"], :name => "form_question_id_index"
59
+
60
+ create_table "activeadmin_selleo_cms_form_questions", :force => true do |t|
61
+ t.integer "form_id"
62
+ t.string "title"
63
+ t.string "hint"
64
+ t.integer "question_type"
65
+ t.integer "position"
66
+ t.boolean "is_required", :default => false
67
+ t.boolean "is_multi", :default => false
68
+ t.boolean "has_other_option", :default => false
69
+ end
70
+
71
+ add_index "activeadmin_selleo_cms_form_questions", ["form_id"], :name => "form_id_index"
72
+
73
+ create_table "activeadmin_selleo_cms_forms", :force => true do |t|
74
+ t.string "title"
75
+ end
76
+
47
77
  create_table "activeadmin_selleo_cms_locales", :force => true do |t|
48
78
  t.string "name"
49
79
  t.string "code"
@@ -87,6 +117,17 @@ ActiveRecord::Schema.define(:version => 20130117150808) do
87
117
  t.text "settings"
88
118
  end
89
119
 
120
+ create_table "activeadmin_selleo_cms_related_items", :force => true do |t|
121
+ t.integer "relatable_id"
122
+ t.string "relatable_type"
123
+ t.integer "page_id"
124
+ t.string "related_url"
125
+ t.string "title"
126
+ t.datetime "created_at", :null => false
127
+ t.datetime "updated_at", :null => false
128
+ t.integer "position"
129
+ end
130
+
90
131
  create_table "activeadmin_selleo_cms_section_translations", :force => true do |t|
91
132
  t.integer "activeadmin_selleo_cms_section_id"
92
133
  t.string "locale"
@@ -0,0 +1,298 @@
1
+ --
2
+ -- PostgreSQL database dump
3
+ --
4
+
5
+ SET statement_timeout = 0;
6
+ SET client_encoding = 'UTF8';
7
+ SET standard_conforming_strings = on;
8
+ SET check_function_bodies = false;
9
+ SET client_min_messages = warning;
10
+
11
+ SET search_path = public, pg_catalog;
12
+
13
+ --
14
+ -- Data for Name: active_admin_comments; Type: TABLE DATA; Schema: public; Owner: -
15
+ --
16
+
17
+ COPY active_admin_comments (id, resource_id, resource_type, author_id, author_type, body, created_at, updated_at, namespace) FROM stdin;
18
+ \.
19
+
20
+
21
+ --
22
+ -- Name: active_admin_comments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
23
+ --
24
+
25
+ SELECT pg_catalog.setval('active_admin_comments_id_seq', 1, false);
26
+
27
+
28
+ --
29
+ -- Data for Name: activeadmin_selleo_cms_assets; Type: TABLE DATA; Schema: public; Owner: -
30
+ --
31
+
32
+ COPY activeadmin_selleo_cms_assets (id, data_file_name, data_content_type, data_file_size, assetable_id, assetable_type, type, width, height, created_at, updated_at, cover_file_name, cover_content_type, cover_file_size, caption, "position") FROM stdin;
33
+ \.
34
+
35
+
36
+ --
37
+ -- Name: activeadmin_selleo_cms_assets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
38
+ --
39
+
40
+ SELECT pg_catalog.setval('activeadmin_selleo_cms_assets_id_seq', 1, false);
41
+
42
+
43
+ --
44
+ -- Data for Name: activeadmin_selleo_cms_form_question_options; Type: TABLE DATA; Schema: public; Owner: -
45
+ --
46
+
47
+ COPY activeadmin_selleo_cms_form_question_options (id, form_question_id, title, "position") FROM stdin;
48
+ \.
49
+
50
+
51
+ --
52
+ -- Name: activeadmin_selleo_cms_form_question_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
53
+ --
54
+
55
+ SELECT pg_catalog.setval('activeadmin_selleo_cms_form_question_options_id_seq', 1, false);
56
+
57
+
58
+ --
59
+ -- Data for Name: activeadmin_selleo_cms_form_questions; Type: TABLE DATA; Schema: public; Owner: -
60
+ --
61
+
62
+ COPY activeadmin_selleo_cms_form_questions (id, form_id, title, hint, question_type, "position", is_required, is_multi, has_other_option) FROM stdin;
63
+ \.
64
+
65
+
66
+ --
67
+ -- Name: activeadmin_selleo_cms_form_questions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
68
+ --
69
+
70
+ SELECT pg_catalog.setval('activeadmin_selleo_cms_form_questions_id_seq', 1, false);
71
+
72
+
73
+ --
74
+ -- Data for Name: activeadmin_selleo_cms_forms; Type: TABLE DATA; Schema: public; Owner: -
75
+ --
76
+
77
+ COPY activeadmin_selleo_cms_forms (id, title) FROM stdin;
78
+ \.
79
+
80
+
81
+ --
82
+ -- Name: activeadmin_selleo_cms_forms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
83
+ --
84
+
85
+ SELECT pg_catalog.setval('activeadmin_selleo_cms_forms_id_seq', 1, false);
86
+
87
+
88
+ --
89
+ -- Data for Name: activeadmin_selleo_cms_locales; Type: TABLE DATA; Schema: public; Owner: -
90
+ --
91
+
92
+ COPY activeadmin_selleo_cms_locales (id, name, code, enabled) FROM stdin;
93
+ 1 Afrikaans af f
94
+ 2 Arabic ar f
95
+ 3 Bengali bn f
96
+ 4 Tibetan bo f
97
+ 5 Bulgarian bg f
98
+ 6 Catalan ca f
99
+ 7 Czech cs f
100
+ 8 Welsh cy f
101
+ 9 Danish da f
102
+ 10 German de f
103
+ 11 Modern Greek (1453-) el f
104
+ 12 English en t
105
+ 13 Estonian et f
106
+ 14 Basque eu f
107
+ 15 Persian fa f
108
+ 16 Fijian fj f
109
+ 17 Finnish fi f
110
+ 18 French fr f
111
+ 19 Irish ga f
112
+ 20 Gujarati gu f
113
+ 21 Hebrew he f
114
+ 22 Hindi hi f
115
+ 23 Croatian hr f
116
+ 24 Hungarian hu f
117
+ 25 Armenian hy f
118
+ 26 Indonesian id f
119
+ 27 Icelandic is f
120
+ 28 Italian it f
121
+ 29 Japanese ja f
122
+ 30 Georgian ka f
123
+ 31 Central Khmer km f
124
+ 32 Korean ko f
125
+ 33 Latin la f
126
+ 34 Latvian lv f
127
+ 35 Lithuanian lt f
128
+ 36 Malayalam ml f
129
+ 37 Marathi mr f
130
+ 38 Macedonian mk f
131
+ 39 Maltese mt f
132
+ 40 Mongolian mn f
133
+ 41 Maori mi f
134
+ 42 Malay ms f
135
+ 43 Nepali ne f
136
+ 44 Dutch nl f
137
+ 45 Norwegian no f
138
+ 46 Panjabi pa f
139
+ 47 Polish pl f
140
+ 48 Portuguese pt f
141
+ 49 Quechua qu f
142
+ 50 Romanian ro f
143
+ 51 Russian ru f
144
+ 52 Slovak sk f
145
+ 53 Slovenian sl f
146
+ 54 Samoan sm f
147
+ 55 Spanish es f
148
+ 56 Albanian sq f
149
+ 57 Serbian sr f
150
+ 58 Swahili sw f
151
+ 59 Swedish sv f
152
+ 60 Tamil ta f
153
+ 61 Tatar tt f
154
+ 62 Telugu te f
155
+ 63 Thai th f
156
+ 64 Tonga (Tonga Islands) to f
157
+ 65 Turkish tr f
158
+ 66 Ukrainian uk f
159
+ 67 Urdu ur f
160
+ 68 Uzbek uz f
161
+ 69 Vietnamese vi f
162
+ 70 Xhosa xh f
163
+ 71 Chinese zh f
164
+ \.
165
+
166
+
167
+ --
168
+ -- Name: activeadmin_selleo_cms_locales_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
169
+ --
170
+
171
+ SELECT pg_catalog.setval('activeadmin_selleo_cms_locales_id_seq', 71, true);
172
+
173
+
174
+ --
175
+ -- Data for Name: activeadmin_selleo_cms_page_translations; Type: TABLE DATA; Schema: public; Owner: -
176
+ --
177
+
178
+ COPY activeadmin_selleo_cms_page_translations (id, activeadmin_selleo_cms_page_id, locale, title, slug, browser_title, meta_keywords, meta_description, created_at, updated_at) FROM stdin;
179
+ \.
180
+
181
+
182
+ --
183
+ -- Name: activeadmin_selleo_cms_page_translations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
184
+ --
185
+
186
+ SELECT pg_catalog.setval('activeadmin_selleo_cms_page_translations_id_seq', 1, false);
187
+
188
+
189
+ --
190
+ -- Data for Name: activeadmin_selleo_cms_pages; Type: TABLE DATA; Schema: public; Owner: -
191
+ --
192
+
193
+ COPY activeadmin_selleo_cms_pages (id, parent_id, lft, rgt, depth, layout_name, show_in_menu, is_published, published_at, is_link_url, link_url, views, created_at, updated_at, redirect_to_first_sub_page, settings) FROM stdin;
194
+ \.
195
+
196
+
197
+ --
198
+ -- Name: activeadmin_selleo_cms_pages_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
199
+ --
200
+
201
+ SELECT pg_catalog.setval('activeadmin_selleo_cms_pages_id_seq', 1, false);
202
+
203
+
204
+ --
205
+ -- Data for Name: activeadmin_selleo_cms_related_items; Type: TABLE DATA; Schema: public; Owner: -
206
+ --
207
+
208
+ COPY activeadmin_selleo_cms_related_items (id, relatable_id, relatable_type, page_id, related_url, title, created_at, updated_at, "position") FROM stdin;
209
+ \.
210
+
211
+
212
+ --
213
+ -- Name: activeadmin_selleo_cms_related_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
214
+ --
215
+
216
+ SELECT pg_catalog.setval('activeadmin_selleo_cms_related_items_id_seq', 1, false);
217
+
218
+
219
+ --
220
+ -- Data for Name: activeadmin_selleo_cms_section_translations; Type: TABLE DATA; Schema: public; Owner: -
221
+ --
222
+
223
+ COPY activeadmin_selleo_cms_section_translations (id, activeadmin_selleo_cms_section_id, locale, body, created_at, updated_at) FROM stdin;
224
+ \.
225
+
226
+
227
+ --
228
+ -- Name: activeadmin_selleo_cms_section_translations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
229
+ --
230
+
231
+ SELECT pg_catalog.setval('activeadmin_selleo_cms_section_translations_id_seq', 1, false);
232
+
233
+
234
+ --
235
+ -- Data for Name: activeadmin_selleo_cms_sections; Type: TABLE DATA; Schema: public; Owner: -
236
+ --
237
+
238
+ COPY activeadmin_selleo_cms_sections (id, name, sectionable_id, sectionable_type, created_at, updated_at) FROM stdin;
239
+ \.
240
+
241
+
242
+ --
243
+ -- Name: activeadmin_selleo_cms_sections_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
244
+ --
245
+
246
+ SELECT pg_catalog.setval('activeadmin_selleo_cms_sections_id_seq', 1, false);
247
+
248
+
249
+ --
250
+ -- Data for Name: ckeditor_assets; Type: TABLE DATA; Schema: public; Owner: -
251
+ --
252
+
253
+ COPY ckeditor_assets (id, data_file_name, data_content_type, data_file_size, assetable_id, assetable_type, type, width, height, created_at, updated_at) FROM stdin;
254
+ \.
255
+
256
+
257
+ --
258
+ -- Name: ckeditor_assets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
259
+ --
260
+
261
+ SELECT pg_catalog.setval('ckeditor_assets_id_seq', 1, false);
262
+
263
+
264
+ --
265
+ -- Data for Name: translations; Type: TABLE DATA; Schema: public; Owner: -
266
+ --
267
+
268
+ COPY translations (id, locale, key, value, interpolations, is_proc, created_at, updated_at) FROM stdin;
269
+ \.
270
+
271
+
272
+ --
273
+ -- Name: translations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
274
+ --
275
+
276
+ SELECT pg_catalog.setval('translations_id_seq', 1, false);
277
+
278
+
279
+ --
280
+ -- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: -
281
+ --
282
+
283
+ COPY users (id, email, encrypted_password, reset_password_token, reset_password_sent_at, remember_created_at, sign_in_count, current_sign_in_at, last_sign_in_at, current_sign_in_ip, last_sign_in_ip, created_at, updated_at) FROM stdin;
284
+ 1 admin@example.com $2a$04$r3IsKTSuVcwYW3DBCq9ll.JRsnZEdJPGgEKDSawLILDA6innrf6OG \N \N \N 0 \N \N \N \N 2013-07-06 14:57:13.13137 2013-07-06 14:57:13.13137
285
+ \.
286
+
287
+
288
+ --
289
+ -- Name: users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
290
+ --
291
+
292
+ SELECT pg_catalog.setval('users_id_seq', 1, true);
293
+
294
+
295
+ --
296
+ -- PostgreSQL database dump complete
297
+ --
298
+