gaku 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1357) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +10 -1
  3. data/.hound.yml +36 -0
  4. data/.rubocop.yml +36 -0
  5. data/.travis.yml +20 -13
  6. data/Gemfile +3 -1
  7. data/LICENSE.md +4 -0
  8. data/README.md +32 -55
  9. data/Rakefile +44 -47
  10. data/VERSION +1 -1
  11. data/admin/Gemfile +3 -3
  12. data/admin/Rakefile +1 -15
  13. data/admin/app/assets/javascripts/gaku/admin.js.coffee +6 -0
  14. data/admin/app/assets/javascripts/gaku/admin/admin.coffee +6 -6
  15. data/admin/app/assets/javascripts/gaku/admin/base.js.coffee +11 -2
  16. data/admin/app/assets/stylesheets/gaku/admin.css +0 -1
  17. data/admin/app/assets/stylesheets/gaku/admin/bootstrap_and_theme.css.scss +16 -1
  18. data/admin/app/controllers/concerns/admin_picture_controller.rb +28 -0
  19. data/admin/app/controllers/gaku/admin/attendance_types_controller.rb +8 -8
  20. data/admin/app/controllers/gaku/admin/badge_types_controller.rb +9 -16
  21. data/admin/app/controllers/gaku/admin/base_controller.rb +1 -1
  22. data/admin/app/controllers/gaku/admin/campuses/addresses_controller.rb +58 -0
  23. data/admin/app/controllers/gaku/admin/campuses/contacts_controller.rb +73 -0
  24. data/admin/app/controllers/gaku/admin/campuses_controller.rb +68 -0
  25. data/admin/app/controllers/gaku/admin/commute_method_types_controller.rb +8 -7
  26. data/admin/app/controllers/gaku/admin/contact_types_controller.rb +7 -7
  27. data/admin/app/controllers/gaku/admin/departments_controller.rb +7 -7
  28. data/admin/app/controllers/gaku/admin/enrollment_statuses_controller.rb +9 -8
  29. data/admin/app/controllers/gaku/admin/grading_method_sets/grading_method_set_items_controller.rb +1 -1
  30. data/admin/app/controllers/gaku/admin/grading_method_sets_controller.rb +11 -11
  31. data/admin/app/controllers/gaku/admin/grading_methods_controller.rb +10 -9
  32. data/admin/app/controllers/gaku/admin/home_controller.rb +11 -0
  33. data/admin/app/controllers/gaku/admin/presets_controller.rb +4 -6
  34. data/admin/app/controllers/gaku/admin/roles_controller.rb +8 -7
  35. data/admin/app/controllers/gaku/admin/school_years/semesters_controller.rb +0 -1
  36. data/admin/app/controllers/gaku/admin/school_years_controller.rb +3 -7
  37. data/admin/app/controllers/gaku/admin/schools/programs_controller.rb +11 -4
  38. data/admin/app/controllers/gaku/admin/schools_controller.rb +82 -79
  39. data/admin/app/controllers/gaku/admin/simple_grade_types_controller.rb +71 -0
  40. data/admin/app/controllers/gaku/admin/specialties_controller.rb +2 -5
  41. data/admin/app/controllers/gaku/admin/states_controller.rb +71 -71
  42. data/admin/app/controllers/gaku/admin/student_review_categories_controller.rb +57 -0
  43. data/admin/app/controllers/gaku/admin/templates_controller.rb +47 -50
  44. data/admin/app/controllers/gaku/admin/users_controller.rb +5 -7
  45. data/admin/app/controllers/gaku/states_controller.rb +2 -0
  46. data/admin/app/helpers/gaku/admin_helper.rb +16 -1
  47. data/admin/app/helpers/gaku/shared_helper.rb +2 -2
  48. data/admin/app/overrides/admin_menu.rb +7 -6
  49. data/admin/app/views/gaku/admin/attendance_types/_attendance_types.html.slim +25 -0
  50. data/admin/app/views/gaku/admin/attendance_types/index.js.erb +1 -0
  51. data/admin/app/views/gaku/admin/attendance_types/index.json.rb +1 -1
  52. data/admin/app/views/gaku/admin/badge_types/_badge_types.html.slim +23 -0
  53. data/admin/app/views/gaku/admin/badge_types/_form.html.slim +1 -1
  54. data/admin/app/views/gaku/admin/badge_types/_modal.html.slim +1 -1
  55. data/admin/app/views/gaku/admin/badge_types/create.js.erb +7 -0
  56. data/admin/app/views/gaku/admin/badge_types/index.js.erb +1 -0
  57. data/admin/app/views/gaku/admin/badge_types/new.js.erb +1 -1
  58. data/admin/app/views/gaku/admin/badge_types/update.js.erb +3 -0
  59. data/admin/app/views/gaku/admin/campuses/_campus.html.slim +4 -0
  60. data/admin/app/views/gaku/admin/campuses/_campuses.html.slim +21 -0
  61. data/admin/app/views/gaku/admin/campuses/_edit_form.html.slim +3 -0
  62. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/_form.html.slim +0 -0
  63. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/_form_fields.html.slim +0 -0
  64. data/admin/app/views/gaku/admin/campuses/addresses/_address.html.slim +6 -0
  65. data/admin/app/views/gaku/admin/campuses/addresses/_address_row_fields.html.slim +4 -0
  66. data/admin/app/views/gaku/admin/campuses/addresses/_addresses.html.slim +23 -0
  67. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/addresses/_fields.html.slim +0 -0
  68. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/addresses/_form.html.slim +0 -0
  69. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/addresses/_form_fields.html.slim +0 -0
  70. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/addresses/_modal.html.slim +0 -0
  71. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/addresses/create.js.erb +0 -0
  72. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/addresses/destroy.js.erb +0 -0
  73. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/addresses/edit.js.erb +0 -0
  74. data/admin/app/views/gaku/admin/campuses/addresses/index.js.erb +1 -0
  75. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/addresses/new.js.erb +0 -0
  76. data/admin/app/views/gaku/admin/campuses/addresses/update.js.erb +4 -0
  77. data/admin/app/views/gaku/admin/campuses/contacts/_contact.html.slim +3 -0
  78. data/admin/app/views/gaku/admin/campuses/contacts/_contacts.html.slim +22 -0
  79. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/contacts/_delete_link.html.slim +0 -0
  80. data/admin/app/views/gaku/admin/campuses/contacts/_fields.html.slim +11 -0
  81. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/contacts/_form.html.slim +0 -0
  82. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/contacts/_form_fields.html.slim +0 -0
  83. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/contacts/_modal.html.slim +0 -0
  84. data/admin/app/views/gaku/admin/campuses/contacts/_primary_field.html.slim +6 -0
  85. data/admin/app/views/gaku/admin/campuses/contacts/create.js.erb +20 -0
  86. data/admin/app/views/gaku/admin/campuses/contacts/destroy.js.erb +8 -0
  87. data/admin/app/views/gaku/admin/campuses/contacts/edit.js.erb +4 -0
  88. data/admin/app/views/gaku/admin/campuses/contacts/index.js.erb +1 -0
  89. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/contacts/make_primary.js.erb +0 -0
  90. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/contacts/new.js.erb +0 -0
  91. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/contacts/soft_delete.js.erb +0 -0
  92. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/contacts/update.js.erb +0 -0
  93. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/create.js.erb +0 -0
  94. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/destroy.js.erb +0 -0
  95. data/admin/app/views/gaku/admin/campuses/edit.html.slim +34 -0
  96. data/admin/app/views/gaku/admin/campuses/edit.js.erb +1 -0
  97. data/admin/app/views/gaku/admin/campuses/index.js.erb +1 -0
  98. data/admin/app/views/gaku/admin/{schools/campuses → campuses}/new.js.erb +0 -0
  99. data/admin/app/views/gaku/admin/campuses/update.js.erb +2 -0
  100. data/admin/app/views/gaku/admin/commute_method_types/_commute_method_types.html.slim +18 -0
  101. data/admin/app/views/gaku/admin/commute_method_types/index.js.erb +1 -0
  102. data/admin/app/views/gaku/admin/contact_types/_contact_types.html.slim +18 -0
  103. data/admin/app/views/gaku/admin/contact_types/index.js.erb +1 -0
  104. data/admin/app/views/gaku/admin/departments/_departments.html.slim +21 -0
  105. data/admin/app/views/gaku/admin/departments/index.js.erb +1 -0
  106. data/admin/app/views/gaku/admin/enrollment_statuses/_enrollment_statuses.html.slim +20 -0
  107. data/admin/app/views/gaku/admin/enrollment_statuses/index.js.erb +1 -0
  108. data/admin/app/views/gaku/admin/grading_method_sets/_fields.html.slim +1 -1
  109. data/admin/app/views/gaku/admin/grading_method_sets/_grading_method_sets.html.slim +24 -0
  110. data/admin/app/views/gaku/admin/grading_method_sets/_show.html.slim +4 -0
  111. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_fields.html.slim +2 -2
  112. data/admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_items.html.slim +1 -1
  113. data/admin/app/views/gaku/admin/grading_method_sets/index.js.erb +1 -0
  114. data/admin/app/views/gaku/admin/grading_method_sets/show.js.erb +1 -0
  115. data/admin/app/views/gaku/admin/grading_methods/_criteria_form_fields.html.slim +19 -0
  116. data/admin/app/views/gaku/admin/grading_methods/_criteria_template.html.slim +11 -0
  117. data/admin/app/views/gaku/admin/grading_methods/_fields.html.slim +1 -1
  118. data/admin/app/views/gaku/admin/grading_methods/_form_fields.html.slim +3 -2
  119. data/admin/app/views/gaku/admin/grading_methods/_grading_methods.html.slim +21 -0
  120. data/admin/app/views/gaku/admin/grading_methods/index.js.erb +1 -0
  121. data/admin/app/views/gaku/admin/home/index.html.slim +5 -0
  122. data/admin/app/views/gaku/admin/presets/_address.html.slim +8 -7
  123. data/admin/app/views/gaku/admin/presets/_chooser_fields.html.slim +1 -1
  124. data/admin/app/views/gaku/admin/presets/_export_formats.html.slim +5 -4
  125. data/admin/app/views/gaku/admin/presets/_fields.html.slim +1 -1
  126. data/admin/app/views/gaku/admin/presets/_grading.html.slim +4 -3
  127. data/admin/app/views/gaku/admin/presets/_locale.html.slim +6 -3
  128. data/admin/app/views/gaku/admin/presets/_names_order.html.slim +1 -1
  129. data/admin/app/views/gaku/admin/presets/_pagination.html.slim +10 -9
  130. data/admin/app/views/gaku/admin/presets/_person.html.slim +3 -2
  131. data/admin/app/views/gaku/admin/presets/_presets.html.slim +19 -0
  132. data/admin/app/views/gaku/admin/presets/_student.html.slim +1 -1
  133. data/admin/app/views/gaku/admin/presets/_tabs.html.slim +2 -3
  134. data/admin/app/views/gaku/admin/presets/edit.js.erb +1 -0
  135. data/admin/app/views/gaku/admin/presets/index.js.erb +1 -0
  136. data/{archive/app/views/gaku/course_groups/recovery.js.erb → admin/app/views/gaku/admin/presets/update.js.erb} +0 -0
  137. data/admin/app/views/gaku/admin/roles/_roles.html.slim +21 -0
  138. data/admin/app/views/gaku/admin/roles/index.js.erb +1 -0
  139. data/admin/app/views/gaku/admin/school_years/_edit_form.html.slim +4 -0
  140. data/admin/app/views/gaku/admin/school_years/_fields.html.slim +1 -2
  141. data/admin/app/views/gaku/admin/school_years/_school_years.html.slim +23 -0
  142. data/admin/app/views/gaku/admin/school_years/edit.html.slim +20 -0
  143. data/admin/app/views/gaku/admin/school_years/edit.js.erb +4 -2
  144. data/admin/app/views/gaku/admin/school_years/index.js.erb +1 -0
  145. data/admin/app/views/gaku/admin/school_years/semesters/_semesters.html.slim +1 -1
  146. data/admin/app/views/gaku/admin/school_years/semesters/index.js.erb +1 -0
  147. data/admin/app/views/gaku/admin/schools/_edit_form.html.slim +3 -0
  148. data/admin/app/views/gaku/admin/schools/_edit_master_form.html.slim +10 -0
  149. data/admin/app/views/gaku/admin/schools/_school.html.slim +4 -2
  150. data/admin/app/views/gaku/admin/schools/_schools.html.slim +26 -0
  151. data/admin/app/views/gaku/admin/schools/_tabs.html.slim +1 -1
  152. data/admin/app/views/gaku/admin/schools/edit.html.slim +37 -14
  153. data/admin/app/views/gaku/admin/schools/edit.js.erb +1 -0
  154. data/admin/app/views/gaku/admin/schools/edit_master.html.slim +36 -16
  155. data/admin/app/views/gaku/admin/schools/index.js.erb +1 -0
  156. data/admin/app/views/gaku/admin/schools/programs/_fields.html.slim +3 -4
  157. data/admin/app/views/gaku/admin/schools/programs/_programs.html.slim +2 -2
  158. data/admin/app/views/gaku/admin/schools/programs/create.js.erb +1 -0
  159. data/admin/app/views/gaku/admin/schools/programs/destroy.js.erb +1 -0
  160. data/admin/app/views/gaku/admin/schools/programs/index.js.erb +1 -0
  161. data/{archive/app/views/gaku/syllabuses/recovery.js.erb → admin/app/views/gaku/admin/schools/update.js.erb} +0 -0
  162. data/admin/app/views/gaku/admin/shared/_ajax_picture.html.slim +8 -0
  163. data/admin/app/views/gaku/admin/shared/_ajax_upload_picture.html.slim +14 -0
  164. data/admin/app/views/gaku/admin/shared/remove_picture.js.erb +3 -0
  165. data/admin/app/views/gaku/admin/shared/set_picture.js.erb +3 -0
  166. data/admin/app/views/gaku/admin/{achievements/simple_grade_types → simple_grade_types}/_fields.html.slim +0 -0
  167. data/admin/app/views/gaku/admin/{achievements/simple_grade_types → simple_grade_types}/_form.html.slim +0 -0
  168. data/admin/app/views/gaku/admin/{achievements/simple_grade_types → simple_grade_types}/_form_fields.html.slim +0 -0
  169. data/admin/app/views/gaku/admin/{achievements/simple_grade_types → simple_grade_types}/_modal.html.slim +0 -0
  170. data/admin/app/views/gaku/admin/{achievements/simple_grade_types → simple_grade_types}/_simple_grade_type.html.slim +0 -0
  171. data/admin/app/views/gaku/admin/simple_grade_types/_simple_grade_types.html.slim +24 -0
  172. data/admin/app/views/gaku/admin/{achievements/simple_grade_types → simple_grade_types}/create.js.erb +0 -0
  173. data/admin/app/views/gaku/admin/{achievements/simple_grade_types → simple_grade_types}/destroy.js.erb +0 -0
  174. data/admin/app/views/gaku/admin/{achievements/simple_grade_types → simple_grade_types}/edit.js.erb +0 -0
  175. data/admin/app/views/gaku/admin/simple_grade_types/index.js.erb +1 -0
  176. data/admin/app/views/gaku/admin/{achievements/simple_grade_types → simple_grade_types}/new.js.erb +0 -0
  177. data/admin/app/views/gaku/admin/{achievements/simple_grade_types → simple_grade_types}/update.js.erb +0 -0
  178. data/admin/app/views/gaku/admin/specialties/_specialties.html.slim +22 -0
  179. data/admin/app/views/gaku/admin/specialties/index.js.erb +1 -0
  180. data/admin/app/views/gaku/admin/states/_country_select_form.html.slim +1 -2
  181. data/admin/app/views/gaku/admin/states/_form_fields.html.slim +1 -1
  182. data/admin/app/views/gaku/admin/states/_states.html.slim +16 -0
  183. data/admin/app/views/gaku/admin/states/index.js.erb +1 -0
  184. data/admin/app/views/gaku/admin/student_review_categories/_form.html.slim +3 -0
  185. data/admin/app/views/gaku/admin/student_review_categories/_form_fields.html.slim +1 -0
  186. data/admin/app/views/gaku/admin/student_review_categories/_modal.html.slim +4 -0
  187. data/admin/app/views/gaku/admin/student_review_categories/_student_review_categories.html.slim +18 -0
  188. data/admin/app/views/gaku/admin/student_review_categories/_student_review_category.html.slim +2 -0
  189. data/admin/app/views/gaku/admin/student_review_categories/_table_fields.html.slim +4 -0
  190. data/admin/app/views/gaku/admin/student_review_categories/create.js.erb +7 -0
  191. data/admin/app/views/gaku/admin/student_review_categories/destroy.js.erb +2 -0
  192. data/admin/app/views/gaku/admin/student_review_categories/edit.js.erb +3 -0
  193. data/admin/app/views/gaku/admin/student_review_categories/index.js.erb +1 -0
  194. data/admin/app/views/gaku/admin/student_review_categories/new.js.erb +3 -0
  195. data/admin/app/views/gaku/admin/student_review_categories/update.js.erb +3 -0
  196. data/admin/app/views/gaku/admin/templates/_fields.html.slim +2 -2
  197. data/admin/app/views/gaku/admin/templates/_form.html.slim +1 -1
  198. data/admin/app/views/gaku/admin/templates/_modal.html.slim +5 -2
  199. data/admin/app/views/gaku/admin/templates/_templates.html.slim +21 -0
  200. data/admin/app/views/gaku/admin/templates/create.js.erb +7 -0
  201. data/admin/app/views/gaku/admin/templates/edit.js.erb +3 -0
  202. data/admin/app/views/gaku/admin/templates/index.js.erb +1 -0
  203. data/admin/app/views/gaku/admin/templates/new.js.erb +3 -0
  204. data/admin/app/views/gaku/admin/templates/update.js.erb +3 -0
  205. data/admin/app/views/gaku/admin/users/_users.html.slim +22 -0
  206. data/admin/app/views/gaku/admin/users/index.js.erb +1 -0
  207. data/admin/app/views/gaku/layouts/admin/index.html.slim +0 -1
  208. data/admin/app/views/gaku/shared/menu/_admin.html.erb +1 -71
  209. data/admin/app/views/gaku/shared/menu/_admin_menu.html.erb +154 -0
  210. data/admin/config/routes.rb +20 -10
  211. data/admin/gaku_admin.gemspec +19 -22
  212. data/admin/lib/gaku/admin.rb +2 -1
  213. data/admin/lib/gaku/admin/engine.rb +3 -5
  214. data/admin/lib/gaku/app_responder.rb +1 -1
  215. data/admin/lib/gaku_admin.rb +1 -1
  216. data/admin/lib/tasks/admin_user.rake +2 -1
  217. data/admin/spec/controllers/gaku/admin/badge_types_controller_spec.rb +32 -33
  218. data/admin/spec/controllers/gaku/admin/departments_controller_spec.rb +6 -9
  219. data/admin/spec/controllers/gaku/admin/grading/grading_method_set_items_controller_spec.rb +35 -23
  220. data/admin/spec/controllers/gaku/admin/grading/grading_method_sets_controller_spec.rb +10 -11
  221. data/admin/spec/controllers/gaku/admin/grading/grading_methods_controller_spec.rb +10 -11
  222. data/admin/spec/controllers/gaku/admin/presets_controller_spec.rb +9 -12
  223. data/admin/spec/controllers/gaku/admin/roles_controller_spec.rb +6 -9
  224. data/admin/spec/controllers/gaku/admin/school_years/school_years_controller_spec.rb +10 -10
  225. data/admin/spec/controllers/gaku/admin/school_years/semesters_controller_spec.rb +11 -3
  226. data/admin/spec/controllers/gaku/admin/schools/campuses/addresses_controller_spec.rb +14 -5
  227. data/admin/spec/controllers/gaku/admin/schools/campuses/campuses_controller_spec.rb +41 -41
  228. data/admin/spec/controllers/gaku/admin/schools/schools_controller_spec.rb +29 -30
  229. data/admin/spec/controllers/gaku/admin/simple_grade_types_controller_spec.rb +168 -0
  230. data/admin/spec/controllers/gaku/admin/specialties_controller_spec.rb +6 -9
  231. data/admin/spec/controllers/gaku/admin/templates_controller_spec.rb +15 -22
  232. data/admin/spec/controllers/gaku/admin/types_and_methods/attendance_types_controller_spec.rb +11 -12
  233. data/admin/spec/controllers/gaku/admin/types_and_methods/commute_method_types_controller_spec.rb +15 -12
  234. data/admin/spec/controllers/gaku/admin/types_and_methods/contact_types_controller_spec.rb +6 -9
  235. data/admin/spec/controllers/gaku/admin/types_and_methods/enrollment_statuses_controller_spec.rb +10 -11
  236. data/admin/spec/controllers/gaku/admin/users_controller_spec.rb +6 -9
  237. data/admin/spec/features/achievements/badge_types_spec.rb +76 -0
  238. data/admin/spec/features/achievements/simple_grade_types_spec.rb +12 -6
  239. data/admin/spec/features/departments_spec.rb +4 -3
  240. data/admin/spec/features/grading/grading_method_set_items_spec.rb +8 -4
  241. data/admin/spec/features/grading/grading_method_sets_spec.rb +9 -4
  242. data/admin/spec/features/grading/grading_methods_spec.rb +17 -13
  243. data/admin/spec/features/presets/address_preset_spec.rb +3 -2
  244. data/admin/spec/features/presets/chooser_fields_preset_spec.rb +3 -2
  245. data/admin/spec/features/presets/export_formats_spec.rb +4 -3
  246. data/admin/spec/features/presets/grading_preset_spec.rb +3 -2
  247. data/admin/spec/features/presets/locale_preset_spec.rb +4 -3
  248. data/admin/spec/features/presets/names_order_preset_spec.rb +3 -3
  249. data/admin/spec/features/presets/pagination_preset_spec.rb +3 -2
  250. data/admin/spec/features/presets/person_preset_spec.rb +3 -2
  251. data/admin/spec/features/presets/time_format_spec.rb +29 -0
  252. data/admin/spec/features/roles_spec.rb +7 -3
  253. data/admin/spec/features/school_years/school_years_spec.rb +22 -25
  254. data/admin/spec/features/school_years/semesters_spec.rb +20 -15
  255. data/admin/spec/features/schools/campuses/addresses_spec.rb +6 -3
  256. data/admin/spec/features/schools/campuses/campuses_spec.rb +13 -18
  257. data/admin/spec/features/schools/campuses/contacts_spec.rb +3 -4
  258. data/admin/spec/features/schools/campuses/picture_spec.rb +30 -12
  259. data/admin/spec/features/schools/picture_spec.rb +36 -12
  260. data/admin/spec/features/schools/programs_spec.rb +19 -15
  261. data/admin/spec/features/schools/school_details_spec.rb +35 -13
  262. data/admin/spec/features/schools/school_levels_spec.rb +14 -31
  263. data/admin/spec/features/schools/schools_spec.rb +7 -10
  264. data/admin/spec/features/specialties_spec.rb +5 -3
  265. data/admin/spec/features/templates_spec.rb +7 -20
  266. data/admin/spec/features/types_and_methods/attendance_types_spec.rb +14 -10
  267. data/admin/spec/features/types_and_methods/commute_method_types_spec.rb +14 -10
  268. data/admin/spec/features/types_and_methods/contact_types_spec.rb +6 -2
  269. data/admin/spec/features/types_and_methods/enrollment_statuses_spec.rb +15 -12
  270. data/admin/spec/features/types_and_methods/states_spec.rb +16 -11
  271. data/admin/spec/features/types_and_methods/student_review_categories_spec.rb +77 -0
  272. data/admin/spec/features/users_spec.rb +6 -4
  273. data/admin/spec/routing/admin/campuses/addresses_routes_spec.rb +56 -0
  274. data/admin/spec/routing/admin/campuses/campuses_routing_spec.rb +80 -0
  275. data/admin/spec/routing/admin/campuses/contacts_routing_spec.rb +56 -0
  276. data/admin/spec/routing/admin/school_years/school_years_routing_spec.rb +1 -3
  277. data/admin/spec/routing/admin/school_years/semesters_routing_spec.rb +1 -2
  278. data/admin/spec/routing/admin/schools/schools_routes_spec.rb +79 -0
  279. data/admin/spec/routing/admin/simple_grade_types_routing_spec.rb +6 -7
  280. data/admin/spec/routing/admin/templates_routing_spec.rb +1 -3
  281. data/admin/spec/support/controllers/shared_examples/allow.rb +1 -1
  282. data/admin/spec/support/features/shared_examples/addresses_spec.rb +9 -20
  283. data/admin/spec/support/features/shared_examples/avatarable_spec.rb +2 -7
  284. data/admin/spec/support/features/shared_examples/contacts_spec.rb +9 -11
  285. data/admin/spec/support/features/uploaded_file.rb +6 -0
  286. data/admin/spec/support/test.txt +1 -0
  287. data/common_gaku_dependencies.rb +10 -0
  288. data/common_gaku_gemspec_mixin.rb +11 -0
  289. data/core/Gemfile +1 -1
  290. data/core/Rakefile +1 -15
  291. data/core/app/controllers/gaku/core_controller.rb +3 -8
  292. data/core/app/decorators/gaku/course_decorator.rb +1 -2
  293. data/core/app/decorators/gaku/guardian_decorator.rb +1 -1
  294. data/core/app/decorators/gaku/person_decorator.rb +8 -12
  295. data/core/app/decorators/gaku/student_decorator.rb +0 -2
  296. data/core/app/decorators/gaku/teacher_decorator.rb +1 -1
  297. data/core/app/models/concerns/addresses.rb +6 -6
  298. data/core/app/models/concerns/contacts.rb +6 -6
  299. data/core/app/models/concerns/enrollmentable.rb +9 -0
  300. data/core/app/models/concerns/gradable.rb +14 -0
  301. data/core/app/models/concerns/notes.rb +1 -2
  302. data/core/app/models/concerns/pagination.rb +1 -2
  303. data/core/app/models/concerns/person.rb +0 -2
  304. data/core/app/models/concerns/picture.rb +1 -3
  305. data/core/app/models/concerns/semesterable.rb +12 -0
  306. data/core/app/models/concerns/student_reviewable.rb +7 -0
  307. data/core/app/models/gaku/ability.rb +2 -4
  308. data/core/app/models/gaku/address.rb +11 -10
  309. data/core/app/models/gaku/admin_ability.rb +0 -1
  310. data/core/app/models/gaku/assignment.rb +0 -2
  311. data/core/app/models/gaku/assignment_score.rb +0 -1
  312. data/core/app/models/gaku/attachment.rb +1 -4
  313. data/core/app/models/gaku/attendance.rb +0 -2
  314. data/core/app/models/gaku/attendance_type.rb +0 -2
  315. data/core/app/models/gaku/badge.rb +0 -2
  316. data/core/app/models/gaku/badge_type.rb +0 -1
  317. data/core/app/models/gaku/class_group.rb +13 -13
  318. data/core/app/models/gaku/commute_method_type.rb +0 -2
  319. data/core/app/models/gaku/contact.rb +6 -36
  320. data/core/app/models/gaku/contact_type.rb +0 -2
  321. data/core/app/models/gaku/country.rb +0 -3
  322. data/core/app/models/gaku/course.rb +11 -25
  323. data/core/app/models/gaku/course_group.rb +0 -2
  324. data/core/app/models/gaku/course_group_enrollment.rb +3 -4
  325. data/core/app/models/gaku/department.rb +0 -2
  326. data/core/app/models/gaku/enrollment.rb +85 -0
  327. data/core/app/models/gaku/enrollment_status.rb +0 -2
  328. data/core/app/models/gaku/exam.rb +17 -22
  329. data/core/app/models/gaku/exam_portion.rb +2 -6
  330. data/core/app/models/gaku/exam_portion_score.rb +0 -2
  331. data/core/app/models/gaku/exam_schedule.rb +0 -1
  332. data/core/app/models/gaku/exam_session.rb +14 -0
  333. data/core/app/models/gaku/exam_syllabus.rb +2 -6
  334. data/core/app/models/gaku/external_school_record.rb +1 -9
  335. data/core/app/models/gaku/extracurricular_activity.rb +1 -2
  336. data/core/app/models/gaku/faculty.rb +0 -2
  337. data/core/app/models/gaku/grading_method.rb +14 -2
  338. data/core/app/models/gaku/grading_method_connector.rb +35 -0
  339. data/core/app/models/gaku/grading_method_set.rb +6 -4
  340. data/core/app/models/gaku/grading_method_set_item.rb +4 -5
  341. data/core/app/models/gaku/guardian.rb +1 -3
  342. data/core/app/models/gaku/install.rb +0 -2
  343. data/core/app/models/gaku/lesson.rb +0 -1
  344. data/core/app/models/gaku/lesson_plan.rb +0 -2
  345. data/core/app/models/gaku/level.rb +0 -2
  346. data/core/app/models/gaku/preset.rb +18 -18
  347. data/core/app/models/gaku/program.rb +0 -2
  348. data/core/app/models/gaku/program_level.rb +0 -2
  349. data/core/app/models/gaku/program_specialty.rb +0 -2
  350. data/core/app/models/gaku/program_syllabus.rb +0 -2
  351. data/core/app/models/gaku/role.rb +0 -2
  352. data/core/app/models/gaku/schedule.rb +0 -1
  353. data/core/app/models/gaku/scholarship_status.rb +0 -2
  354. data/core/app/models/gaku/school.rb +0 -2
  355. data/core/app/models/gaku/school_role.rb +0 -2
  356. data/core/app/models/gaku/school_year.rb +4 -2
  357. data/core/app/models/gaku/semester.rb +21 -6
  358. data/core/app/models/gaku/semester_attendance.rb +14 -0
  359. data/core/app/models/gaku/semester_connector.rb +27 -0
  360. data/core/app/models/gaku/simple_grade.rb +0 -2
  361. data/core/app/models/gaku/simple_grade_type.rb +0 -1
  362. data/core/app/models/gaku/specialty.rb +0 -2
  363. data/core/app/models/gaku/state.rb +0 -3
  364. data/core/app/models/gaku/student.rb +47 -45
  365. data/core/app/models/gaku/student_exam_session.rb +11 -0
  366. data/core/app/models/gaku/student_guardian.rb +0 -2
  367. data/core/app/models/gaku/student_review.rb +11 -0
  368. data/core/app/models/gaku/student_review_category.rb +13 -0
  369. data/core/app/models/gaku/student_specialty.rb +2 -5
  370. data/core/app/models/gaku/syllabus.rb +0 -4
  371. data/core/app/models/gaku/teacher.rb +0 -2
  372. data/core/app/models/gaku/template.rb +7 -9
  373. data/core/app/models/gaku/user.rb +10 -22
  374. data/core/app/models/gaku/user_role.rb +0 -2
  375. data/core/app/services/gaku/contact_creation.rb +49 -0
  376. data/core/app/services/gaku/contact_updation.rb +41 -0
  377. data/core/app/services/gaku/student_selection.rb +57 -0
  378. data/core/app/services/gaku/user_creator.rb +31 -0
  379. data/core/config/initializers/devise.rb +1 -1
  380. data/core/config/initializers/redis.rb +5 -0
  381. data/core/config/routes.rb +5 -10
  382. data/core/core_dependencies.rb +24 -0
  383. data/core/db/default/gaku/attendance_types.rb +14 -16
  384. data/core/db/default/gaku/commute_method_types.rb +2 -4
  385. data/core/db/default/gaku/enrollment_status.rb +3 -3
  386. data/core/db/default/gaku/master_school.rb +7 -6
  387. data/core/db/default/gaku/presets.rb +6 -9
  388. data/core/db/default/gaku/scholarship_statuses.rb +1 -1
  389. data/core/db/migrate/20140128141752_change_grading_methods_arguments_field.rb +5 -0
  390. data/core/db/migrate/20140213113405_create_grading_method_connectors_table.rb +9 -0
  391. data/core/db/migrate/20140304094422_create_gaku_exam_sessions_table.rb +10 -0
  392. data/core/db/migrate/20140304101025_create_gaku_student_exam_session_table.rb +8 -0
  393. data/core/db/migrate/20140325073941_add_time_format_24_to_presets_table.rb +5 -0
  394. data/core/db/migrate/20140408111314_remove_semester_join_tables.rb +6 -0
  395. data/core/db/migrate/20140408111358_create_semester_connectors_table.rb +8 -0
  396. data/core/db/migrate/20140423093155_create_enrollments_table.rb +11 -0
  397. data/core/db/migrate/20140423100114_clean_enrollments_join_models.rb +8 -0
  398. data/core/db/migrate/20140429112725_add_counters_to_enrollmentable.rb +11 -0
  399. data/core/db/migrate/20140604104210_rename_method_to_grading_method.rb +5 -0
  400. data/core/db/migrate/20140604113045_add_default_value_to_curved.rb +5 -0
  401. data/core/db/migrate/20140610091053_add_seat_number_to_enrollments.rb +5 -0
  402. data/core/db/migrate/20140701104700_change_hstore_to_string_criteria.rb +5 -0
  403. data/core/db/migrate/20140715135152_create_semester_attendance_table.rb +16 -0
  404. data/core/db/migrate/20140718105226_create_student_review_categories_table.rb +13 -0
  405. data/core/db/migrate/20140728121353_create_student_review_table.rb +12 -0
  406. data/core/db/seeds.rb +1 -1
  407. data/core/gaku_core.gemspec +12 -16
  408. data/core/lib/gaku/core.rb +2 -1
  409. data/core/lib/gaku/core/engine.rb +7 -5
  410. data/core/lib/gaku/core/url_helpers.rb +1 -1
  411. data/core/lib/gaku/grading/collection/base_method.rb +30 -0
  412. data/core/lib/gaku/grading/collection/calculations.rb +36 -0
  413. data/core/lib/gaku/grading/collection/interval.rb +55 -0
  414. data/core/lib/gaku/grading/collection/ordinal.rb +10 -0
  415. data/core/lib/gaku/grading/collection/percentage.rb +10 -0
  416. data/core/lib/gaku/grading/collection/result.rb +18 -0
  417. data/core/lib/gaku/grading/collection/score.rb +10 -0
  418. data/core/lib/gaku/grading/single/base_method.rb +30 -0
  419. data/core/lib/gaku/grading/single/calculations.rb +42 -0
  420. data/core/lib/gaku/grading/single/interval.rb +7 -0
  421. data/core/lib/gaku/grading/single/ordinal.rb +30 -0
  422. data/core/lib/gaku/grading/single/pass_fail.rb +2 -0
  423. data/core/lib/gaku/grading/single/percentage.rb +26 -0
  424. data/core/lib/gaku/grading/single/ratio.rb +2 -0
  425. data/core/lib/gaku/grading/single/result.rb +18 -0
  426. data/core/lib/gaku/grading/single/score.rb +15 -0
  427. data/core/lib/gaku/migrations.rb +1 -1
  428. data/core/lib/gaku/streamer/sse.rb +5 -5
  429. data/core/lib/gaku/testing/auth_helpers.rb +6 -2
  430. data/core/lib/gaku/testing/common_rake.rb +9 -3
  431. data/core/lib/gaku/testing/controller_helpers.rb +17 -12
  432. data/core/lib/gaku/testing/coverage.rb +1 -1
  433. data/core/lib/gaku/testing/deferred_garbage_collection.rb +3 -3
  434. data/core/lib/gaku/testing/factories/attachment_factory.rb +0 -1
  435. data/core/lib/gaku/testing/factories/attendance_type_factory.rb +1 -1
  436. data/core/lib/gaku/testing/factories/class_group_factory.rb +12 -1
  437. data/core/lib/gaku/testing/factories/contact_creation_factory.rb +18 -0
  438. data/core/lib/gaku/testing/factories/course_enrollment_factory.rb +9 -9
  439. data/core/lib/gaku/testing/factories/course_factory.rb +2 -4
  440. data/core/lib/gaku/testing/factories/course_group_factory.rb +2 -4
  441. data/core/lib/gaku/testing/factories/enrollment_factory.rb +10 -0
  442. data/core/lib/gaku/testing/factories/exam_factory.rb +1 -1
  443. data/core/lib/gaku/testing/factories/exam_portion_factory.rb +2 -4
  444. data/core/lib/gaku/testing/factories/exam_score_factory.rb +1 -1
  445. data/core/lib/gaku/testing/factories/exam_session_factory.rb +14 -0
  446. data/core/lib/gaku/testing/factories/extracurricular_activity_factory.rb +1 -1
  447. data/core/lib/gaku/testing/factories/grading_method_connector_factory.rb +11 -0
  448. data/core/lib/gaku/testing/factories/grading_method_factory.rb +3 -2
  449. data/core/lib/gaku/testing/factories/guardian_factory.rb +2 -4
  450. data/core/lib/gaku/testing/factories/lesson_plan_factory.rb +2 -2
  451. data/core/lib/gaku/testing/factories/preset_factory.rb +7 -7
  452. data/core/lib/gaku/testing/factories/program_factory.rb +0 -1
  453. data/core/lib/gaku/testing/factories/school_factory.rb +3 -3
  454. data/core/lib/gaku/testing/factories/semester_attendance_factory.rb +8 -0
  455. data/core/lib/gaku/testing/factories/semester_connectors_factory.rb +11 -0
  456. data/core/lib/gaku/testing/factories/semester_factory.rb +16 -0
  457. data/core/lib/gaku/testing/factories/simple_grade_type_factory.rb +1 -1
  458. data/core/lib/gaku/testing/factories/state_factory.rb +2 -1
  459. data/core/lib/gaku/testing/factories/student_exam_session_factory.rb +8 -0
  460. data/core/lib/gaku/testing/factories/student_factory.rb +15 -5
  461. data/core/lib/gaku/testing/factories/student_review_category_factory.rb +7 -0
  462. data/core/lib/gaku/testing/factories/student_review_factory.rb +13 -0
  463. data/core/lib/gaku/testing/factories/teacher_factory.rb +1 -1
  464. data/core/lib/gaku/testing/factories/template_factory.rb +5 -7
  465. data/core/lib/gaku/testing/factories/traits.rb +32 -4
  466. data/core/lib/gaku/testing/factories/user_factory.rb +0 -1
  467. data/core/lib/gaku_core.rb +1 -1
  468. data/core/lib/generators/gaku/dummy/dummy_generator.rb +5 -4
  469. data/core/lib/generators/gaku/install/install_generator.rb +16 -14
  470. data/core/lib/tasks/admin_user.rake +2 -1
  471. data/core/spec/lib/gaku/grading/collection/calculations_spec.rb +52 -0
  472. data/core/spec/lib/gaku/grading/collection/interval_spec.rb +56 -0
  473. data/core/spec/lib/gaku/grading/collection/ordinal_spec.rb +36 -0
  474. data/core/spec/lib/gaku/grading/collection/percentage_spec.rb +31 -0
  475. data/core/spec/lib/gaku/grading/collection/result_spec.rb +13 -0
  476. data/core/spec/lib/gaku/grading/collection/score_spec.rb +31 -0
  477. data/core/spec/lib/gaku/grading/single/calculations_spec.rb +88 -0
  478. data/core/spec/lib/gaku/grading/single/ordinal_spec.rb +95 -0
  479. data/core/spec/lib/gaku/grading/single/percentage_spec.rb +52 -0
  480. data/core/spec/lib/gaku/grading/single/result_spec.rb +12 -0
  481. data/core/spec/lib/gaku/grading/single/score_spec.rb +54 -0
  482. data/core/spec/models/address_spec.rb +1 -3
  483. data/core/spec/models/attendance_spec.rb +2 -2
  484. data/core/spec/models/campus_spec.rb +6 -3
  485. data/core/spec/models/class_group_spec.rb +52 -11
  486. data/core/spec/models/contact_spec.rb +10 -3
  487. data/core/spec/models/course_group_enrollment_spec.rb +4 -1
  488. data/core/spec/models/course_spec.rb +28 -30
  489. data/core/spec/models/enrollment_spec.rb +44 -0
  490. data/core/spec/models/exam_portion_score_spec.rb +1 -1
  491. data/core/spec/models/exam_portion_spec.rb +1 -1
  492. data/core/spec/models/exam_session_spec.rb +20 -0
  493. data/core/spec/models/exam_spec.rb +7 -5
  494. data/core/spec/models/external_school_record_spec.rb +4 -5
  495. data/core/spec/models/extracurricular_activity_spec.rb +27 -2
  496. data/core/spec/models/factories_spec.rb +2 -1
  497. data/core/spec/models/grading_method_connector_spec.rb +19 -0
  498. data/core/spec/models/grading_method_set_item_spec.rb +3 -2
  499. data/core/spec/models/grading_method_spec.rb +7 -3
  500. data/core/spec/models/guardian_spec.rb +12 -10
  501. data/core/spec/models/lesson_plan_spec.rb +5 -5
  502. data/core/spec/models/preset_spec.rb +14 -3
  503. data/core/spec/models/school_spec.rb +13 -13
  504. data/core/spec/models/school_year_spec.rb +1 -1
  505. data/core/spec/models/semester_attendance_spec.rb +15 -0
  506. data/core/spec/models/semester_connector_spec.rb +23 -0
  507. data/core/spec/models/semester_spec.rb +37 -7
  508. data/core/spec/models/student_exam_session_spec.rb +16 -0
  509. data/core/spec/models/student_review_category_spec.rb +18 -0
  510. data/core/spec/models/student_review_spec.rb +23 -0
  511. data/core/spec/models/student_spec.rb +94 -65
  512. data/core/spec/models/syllabus_spec.rb +4 -4
  513. data/core/spec/models/teacher_spec.rb +14 -8
  514. data/core/spec/models/user_spec.rb +52 -0
  515. data/core/spec/services/contact_creation_spec.rb +90 -0
  516. data/core/spec/services/contact_updation_spec.rb +78 -0
  517. data/core/spec/services/student_selection_spec.rb +65 -0
  518. data/core/spec/services/user_creator_spec.rb +58 -0
  519. data/core/spec/spec_helper_base.rb +5 -1
  520. data/core/spec/spec_helper_models.rb +3 -2
  521. data/core/spec/support/models/matchers/accept_nested_attributes_for_matcher.rb +14 -10
  522. data/core/spec/support/models/shared_examples/addressable.rb +1 -1
  523. data/core/spec/support/models/shared_examples/enrollmentable.rb +4 -0
  524. data/core/spec/support/models/shared_examples/gradable.rb +4 -0
  525. data/core/spec/support/models/shared_examples/notable.rb +1 -1
  526. data/core/spec/support/models/shared_examples/person.rb +1 -1
  527. data/core/spec/support/models/shared_examples/semesterable.rb +4 -0
  528. data/core/spec/support/models/shared_examples/student_reviewable.rb +3 -0
  529. data/frontend/Gemfile +5 -3
  530. data/frontend/Rakefile +1 -15
  531. data/frontend/app/assets/javascripts/gaku/frontend.js.coffee +8 -1
  532. data/frontend/app/assets/javascripts/gaku/frontend/base.js.coffee +95 -22
  533. data/frontend/app/assets/javascripts/gaku/frontend/class_groups.js.coffee +2 -0
  534. data/frontend/app/assets/javascripts/gaku/frontend/courses.js.coffee +20 -7
  535. data/frontend/app/assets/javascripts/gaku/frontend/exams.js.coffee +3 -1
  536. data/frontend/app/assets/javascripts/gaku/frontend/guardians.js.coffee +14 -0
  537. data/frontend/app/assets/javascripts/gaku/frontend/students.js.coffee +7 -0
  538. data/frontend/app/assets/javascripts/gaku/frontend/syllabuses.js.coffee +0 -14
  539. data/frontend/app/assets/javascripts/gaku/frontend/teachers.js.coffee +2 -0
  540. data/frontend/app/assets/stylesheets/gaku/bootstrap_and_theme.css.scss +10 -1
  541. data/frontend/app/assets/stylesheets/gaku/frontend.css +1 -1
  542. data/frontend/app/controllers/concerns/picture_controller.rb +29 -0
  543. data/frontend/app/controllers/concerns/poly_controller.rb +49 -0
  544. data/frontend/app/controllers/concerns/polymorphic_resource_concern.rb +5 -5
  545. data/frontend/app/controllers/concerns/student_chooser_controller.rb +1 -1
  546. data/frontend/app/controllers/gaku/addresses_controller.rb +12 -4
  547. data/frontend/app/controllers/gaku/attachments_controller.rb +17 -25
  548. data/frontend/app/controllers/gaku/class_groups/enrollments_controller.rb +30 -0
  549. data/frontend/app/controllers/gaku/class_groups/semester_attendances_controller.rb +53 -0
  550. data/frontend/app/controllers/gaku/class_groups/student_reviews_controller.rb +60 -0
  551. data/frontend/app/controllers/gaku/class_groups_controller.rb +20 -12
  552. data/frontend/app/controllers/gaku/contacts_controller.rb +10 -5
  553. data/frontend/app/controllers/gaku/course_groups/course_group_enrollments_controller.rb +10 -1
  554. data/frontend/app/controllers/gaku/course_groups_controller.rb +1 -2
  555. data/frontend/app/controllers/gaku/courses/exams_controller.rb +18 -10
  556. data/frontend/app/controllers/gaku/courses_controller.rb +25 -10
  557. data/frontend/app/controllers/gaku/devise/passwords_controller.rb +1 -1
  558. data/frontend/app/controllers/gaku/devise/registrations_controller.rb +1 -1
  559. data/frontend/app/controllers/gaku/devise/sessions_controller.rb +4 -2
  560. data/frontend/app/controllers/gaku/enrollments_controller.rb +130 -0
  561. data/frontend/app/controllers/gaku/exam_portion_scores_controller.rb +29 -6
  562. data/frontend/app/controllers/gaku/exams/exam_portions_controller.rb +11 -3
  563. data/frontend/app/controllers/gaku/exams/exam_sessions_controller.rb +58 -0
  564. data/frontend/app/controllers/gaku/exams_controller.rb +19 -45
  565. data/frontend/app/controllers/gaku/extracurricular_activities_controller.rb +6 -2
  566. data/frontend/app/controllers/gaku/gaku_controller.rb +11 -0
  567. data/frontend/app/controllers/gaku/grading_method_connectors_controller.rb +109 -0
  568. data/frontend/app/controllers/gaku/guardians_controller.rb +66 -0
  569. data/frontend/app/controllers/gaku/notes_controller.rb +6 -1
  570. data/frontend/app/controllers/gaku/realtime_controller.rb +6 -7
  571. data/frontend/app/controllers/gaku/semester_connectors_controller.rb +66 -0
  572. data/frontend/app/controllers/gaku/student_selection_controller.rb +58 -0
  573. data/frontend/app/controllers/gaku/students/badges_controller.rb +2 -2
  574. data/frontend/app/controllers/gaku/students/class_group_enrollments_controller.rb +24 -16
  575. data/frontend/app/controllers/gaku/students/course_enrollments_controller.rb +21 -19
  576. data/frontend/app/controllers/gaku/students/external_school_records_controller.rb +5 -12
  577. data/frontend/app/controllers/gaku/students/extracurricular_activity_enrollments_controller.rb +53 -0
  578. data/frontend/app/controllers/gaku/students/simple_grades_controller.rb +1 -1
  579. data/frontend/app/controllers/gaku/students_controller.rb +31 -47
  580. data/frontend/app/controllers/gaku/syllabuses/exam_syllabuses_controller.rb +6 -1
  581. data/frontend/app/controllers/gaku/syllabuses/exams_controller.rb +3 -2
  582. data/frontend/app/controllers/gaku/syllabuses_controller.rb +2 -4
  583. data/frontend/app/controllers/gaku/teachers_controller.rb +7 -4
  584. data/frontend/app/helpers/gaku/autocomplete_helper.rb +1 -1
  585. data/frontend/app/helpers/gaku/exam_helper.rb +1 -1
  586. data/frontend/app/helpers/gaku/frontend_helper.rb +23 -7
  587. data/frontend/app/helpers/gaku/person_helper.rb +7 -8
  588. data/frontend/app/helpers/gaku/shared_helper.rb +2 -6
  589. data/frontend/app/helpers/gaku/students_helper.rb +4 -6
  590. data/frontend/app/overrides/frontend_menu.rb +6 -6
  591. data/frontend/app/views/gaku/addresses/_addresses.html.slim +3 -2
  592. data/frontend/app/views/gaku/addresses/_fields.html.slim +3 -4
  593. data/frontend/app/views/gaku/addresses/_form_fields.html.slim +5 -7
  594. data/frontend/app/views/gaku/addresses/_primary_field.html.slim +3 -10
  595. data/frontend/app/views/gaku/addresses/create.js.erb +2 -1
  596. data/frontend/app/views/gaku/addresses/destroy.js.erb +2 -1
  597. data/frontend/app/views/gaku/addresses/index.js.erb +1 -0
  598. data/frontend/app/views/gaku/addresses/show/_address.html.slim +9 -0
  599. data/frontend/app/views/gaku/addresses/show/_addresses.html.slim +19 -0
  600. data/frontend/app/views/gaku/addresses/soft_delete.js.erb +2 -1
  601. data/frontend/app/views/gaku/attachments/_attachment.html.slim +2 -0
  602. data/frontend/app/views/gaku/attachments/_attachments.html.slim +20 -0
  603. data/frontend/app/views/gaku/attachments/_form.html.slim +3 -0
  604. data/frontend/app/views/gaku/{exams/exam_portions/attachments → attachments}/_form_fields.html.slim +0 -0
  605. data/frontend/app/views/gaku/attachments/_modal.html.slim +4 -0
  606. data/frontend/app/views/gaku/attachments/_table_fields.html.slim +9 -0
  607. data/frontend/app/views/gaku/attachments/create.js.erb +8 -0
  608. data/frontend/app/views/gaku/attachments/edit.js.erb +3 -3
  609. data/frontend/app/views/gaku/attachments/new.js.erb +3 -1
  610. data/frontend/app/views/gaku/attachments/update.js.erb +5 -0
  611. data/frontend/app/views/gaku/class_groups/_edit_form.html.slim +9 -0
  612. data/frontend/app/views/gaku/class_groups/edit.html.slim +14 -12
  613. data/frontend/app/views/gaku/class_groups/edit.js.erb +1 -0
  614. data/frontend/app/views/gaku/class_groups/enrollments/_enrollment.html.slim +2 -0
  615. data/frontend/app/views/gaku/class_groups/enrollments/_enrollments.html.slim +21 -0
  616. data/frontend/app/views/gaku/class_groups/enrollments/_form.html.slim +4 -0
  617. data/frontend/app/views/gaku/class_groups/enrollments/_form_fields.html.slim +3 -0
  618. data/frontend/app/views/gaku/class_groups/enrollments/_table_fields.html.slim +5 -0
  619. data/frontend/app/views/gaku/class_groups/enrollments/create.js.erb +11 -0
  620. data/frontend/app/views/gaku/class_groups/enrollments/create_from_selection.js.erb +7 -0
  621. data/frontend/app/views/gaku/class_groups/enrollments/destroy.js.erb +9 -0
  622. data/frontend/app/views/gaku/class_groups/enrollments/index.js.erb +2 -0
  623. data/frontend/app/views/gaku/class_groups/enrollments/new.js.erb +3 -0
  624. data/frontend/app/views/gaku/class_groups/enrollments/sort.js.erb +3 -0
  625. data/frontend/app/views/gaku/class_groups/enrollments/student_selection.js.erb +2 -0
  626. data/frontend/app/views/gaku/class_groups/semester_attendances/_semester_attendances.html.slim +27 -0
  627. data/frontend/app/views/gaku/class_groups/semester_attendances/index.js.erb +1 -0
  628. data/frontend/app/views/gaku/class_groups/student_reviews/_edit_modal.html.slim +4 -0
  629. data/frontend/app/views/gaku/class_groups/student_reviews/_form_fields.html.slim +3 -0
  630. data/frontend/app/views/gaku/class_groups/student_reviews/_new_modal.html.slim +4 -0
  631. data/frontend/app/views/gaku/class_groups/student_reviews/_show_modal.html.slim +11 -0
  632. data/frontend/app/views/gaku/class_groups/student_reviews/create.js.erb +2 -0
  633. data/frontend/app/views/gaku/class_groups/student_reviews/destroy.js.erb +2 -0
  634. data/frontend/app/views/gaku/class_groups/student_reviews/edit.js.erb +5 -0
  635. data/frontend/app/views/gaku/class_groups/student_reviews/index.js.erb +8 -0
  636. data/frontend/app/views/gaku/class_groups/student_reviews/update.js.erb +2 -0
  637. data/{archive/app/views/gaku/class_groups/recovery.js.erb → frontend/app/views/gaku/class_groups/update.js.erb} +0 -0
  638. data/frontend/app/views/gaku/contacts/_contacts.html.slim +2 -2
  639. data/frontend/app/views/gaku/contacts/_fields.html.slim +3 -5
  640. data/frontend/app/views/gaku/contacts/_primary_field.html.slim +3 -11
  641. data/frontend/app/views/gaku/contacts/create.js.erb +2 -1
  642. data/frontend/app/views/gaku/contacts/destroy.js.erb +1 -0
  643. data/frontend/app/views/gaku/contacts/index.js.erb +2 -0
  644. data/frontend/app/views/gaku/contacts/show/_contact.html.slim +7 -0
  645. data/frontend/app/views/gaku/contacts/show/_contacts.html.slim +15 -0
  646. data/frontend/app/views/gaku/contacts/soft_delete.js.erb +1 -1
  647. data/frontend/app/views/gaku/course_groups/_edit_form.html.slim +9 -0
  648. data/frontend/app/views/gaku/course_groups/course_group_enrollments/_courses.html.slim +21 -20
  649. data/frontend/app/views/gaku/course_groups/course_group_enrollments/create.js.erb +1 -0
  650. data/frontend/app/views/gaku/course_groups/course_group_enrollments/destroy.js.erb +1 -0
  651. data/frontend/app/views/gaku/course_groups/course_group_enrollments/index.js.erb +1 -0
  652. data/frontend/app/views/gaku/course_groups/course_group_enrollments/new.js.erb +1 -1
  653. data/frontend/app/views/gaku/course_groups/edit.html.slim +13 -17
  654. data/frontend/app/views/gaku/course_groups/edit.js.erb +1 -0
  655. data/{archive/app/views/gaku/courses/recovery.js.erb → frontend/app/views/gaku/course_groups/update.js.erb} +0 -0
  656. data/frontend/app/views/gaku/courses/_courses.html.slim +1 -1
  657. data/frontend/app/views/gaku/courses/_edit_form.html.slim +9 -0
  658. data/frontend/app/views/gaku/courses/edit.html.slim +23 -12
  659. data/frontend/app/views/gaku/courses/edit.js.erb +1 -0
  660. data/frontend/app/views/gaku/courses/exams/_grading_table_head.html.slim +5 -2
  661. data/frontend/app/views/gaku/courses/exams/_grading_table_student_field.html.slim +5 -1
  662. data/frontend/app/views/gaku/courses/exams/index.js.erb +1 -0
  663. data/{archive/app/views/gaku/exams/recovery.js.erb → frontend/app/views/gaku/courses/update.js.erb} +0 -0
  664. data/frontend/app/views/gaku/enrollments/_enrollment.html.slim +2 -0
  665. data/frontend/app/views/gaku/enrollments/_enrollments.html.slim +19 -0
  666. data/frontend/app/views/gaku/enrollments/_form.html.slim +3 -0
  667. data/frontend/app/views/gaku/enrollments/_form_fields.html.slim +3 -0
  668. data/frontend/app/views/gaku/enrollments/_table_fields.html.slim +3 -0
  669. data/frontend/app/views/gaku/enrollments/create.js.erb +6 -0
  670. data/frontend/app/views/gaku/enrollments/create_from_selection.js.erb +7 -0
  671. data/frontend/app/views/gaku/enrollments/destroy.js.erb +4 -0
  672. data/frontend/app/views/gaku/enrollments/index.js.erb +1 -0
  673. data/frontend/app/views/gaku/enrollments/new.js.erb +3 -0
  674. data/frontend/app/views/gaku/enrollments/student_selection.js.erb +2 -0
  675. data/frontend/app/views/gaku/exams/_edit_form.html.slim +9 -0
  676. data/frontend/app/views/gaku/exams/_exams.html.slim +21 -0
  677. data/frontend/app/views/gaku/exams/_tabs.html.slim +5 -0
  678. data/frontend/app/views/gaku/exams/create.js.erb +1 -0
  679. data/frontend/app/views/gaku/exams/edit.html.slim +22 -12
  680. data/frontend/app/views/gaku/exams/edit.js.erb +1 -0
  681. data/frontend/app/views/gaku/exams/exam_portions/_edit_form.html.slim +14 -0
  682. data/frontend/app/views/gaku/exams/exam_portions/_exam_portion_menu_link.html.slim +1 -0
  683. data/frontend/app/views/gaku/exams/exam_portions/_exam_portions.html.slim +2 -5
  684. data/frontend/app/views/gaku/exams/exam_portions/_table_fields.slim +3 -7
  685. data/frontend/app/views/gaku/exams/exam_portions/_tabs.html.slim +1 -1
  686. data/frontend/app/views/gaku/exams/exam_portions/create.js.erb +4 -0
  687. data/frontend/app/views/gaku/exams/exam_portions/destroy.js.erb +2 -0
  688. data/frontend/app/views/gaku/exams/exam_portions/edit.html.slim +1 -16
  689. data/frontend/app/views/gaku/exams/exam_portions/edit.js.erb +1 -0
  690. data/frontend/app/views/gaku/exams/exam_portions/index.js.erb +1 -0
  691. data/frontend/app/views/gaku/exams/exam_portions/update.js.erb +2 -0
  692. data/frontend/app/views/gaku/exams/exam_sessions/_exam_session.html.slim +2 -0
  693. data/frontend/app/views/gaku/exams/exam_sessions/_exam_sessions.html.slim +20 -0
  694. data/frontend/app/views/gaku/exams/exam_sessions/_form.html.slim +3 -0
  695. data/frontend/app/views/gaku/exams/exam_sessions/_form_fields.html.slim +10 -0
  696. data/frontend/app/views/gaku/exams/exam_sessions/_students.html.slim +1 -0
  697. data/frontend/app/views/gaku/exams/exam_sessions/_table_fields.html.slim +6 -0
  698. data/frontend/app/views/gaku/exams/exam_sessions/_tabs.html.slim +10 -0
  699. data/frontend/app/views/gaku/exams/exam_sessions/create.js.erb +7 -0
  700. data/frontend/app/views/gaku/exams/{exam_portions/attachments/create.js.erb → exam_sessions/destroy.js.erb} +0 -0
  701. data/frontend/app/views/gaku/exams/exam_sessions/edit.html.slim +16 -0
  702. data/frontend/app/views/gaku/exams/exam_sessions/new.js.erb +4 -0
  703. data/frontend/app/views/gaku/exams/exam_sessions/update.js.erb +0 -0
  704. data/frontend/app/views/gaku/exams/export.xls.rb +9 -10
  705. data/frontend/app/views/gaku/exams/index.html.slim +18 -21
  706. data/frontend/app/views/gaku/extracurricular_activities/_edit_form.html.slim +9 -0
  707. data/frontend/app/views/gaku/extracurricular_activities/edit.html.slim +12 -12
  708. data/frontend/app/views/gaku/extracurricular_activities/edit.js.erb +1 -0
  709. data/{archive/app/views/gaku/extracurricular_activities/recovery.js.erb → frontend/app/views/gaku/extracurricular_activities/update.js.erb} +0 -0
  710. data/frontend/app/views/gaku/grading_method_connectors/_form.html.slim +3 -0
  711. data/frontend/app/views/gaku/grading_method_connectors/_form_fields.html.slim +1 -0
  712. data/frontend/app/views/gaku/grading_method_connectors/_grading_method_connector.html.slim +2 -0
  713. data/frontend/app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim +23 -0
  714. data/frontend/app/views/gaku/grading_method_connectors/_set_form.html.slim +6 -0
  715. data/frontend/app/views/gaku/grading_method_connectors/_table_fields.html.slim +4 -0
  716. data/frontend/app/views/gaku/grading_method_connectors/add_set.js.erb +12 -0
  717. data/frontend/app/views/gaku/grading_method_connectors/create.js.erb +10 -0
  718. data/frontend/app/views/gaku/grading_method_connectors/destroy.js.erb +5 -0
  719. data/frontend/app/views/gaku/grading_method_connectors/index.js.erb +1 -0
  720. data/frontend/app/views/gaku/grading_method_connectors/new.js.erb +7 -0
  721. data/frontend/app/views/gaku/grading_method_connectors/new_set.js.erb +6 -0
  722. data/frontend/app/views/gaku/guardians/_delete_modal.html.slim +11 -0
  723. data/frontend/app/views/gaku/guardians/_edit_form.html.slim +10 -0
  724. data/frontend/app/views/gaku/guardians/_form.html.slim +3 -0
  725. data/frontend/app/views/gaku/{students/guardians → guardians}/_form_fields.html.slim +0 -0
  726. data/frontend/app/views/gaku/guardians/_guardian.html.slim +6 -0
  727. data/frontend/app/views/gaku/guardians/_guardians.html.slim +21 -0
  728. data/frontend/app/views/gaku/guardians/create.js.erb +7 -0
  729. data/frontend/app/views/gaku/guardians/destroy.js.erb +2 -0
  730. data/frontend/app/views/gaku/guardians/edit.html.slim +32 -0
  731. data/frontend/app/views/gaku/guardians/edit.js.erb +1 -0
  732. data/frontend/app/views/gaku/guardians/index.js.erb +1 -0
  733. data/frontend/app/views/gaku/{students/guardians → guardians}/new.js.erb +0 -0
  734. data/{archive/app/views/gaku/students → frontend/app/views/gaku/guardians}/recovery.js.erb +0 -0
  735. data/frontend/app/views/gaku/notes/_buttons.html.slim +4 -8
  736. data/frontend/app/views/gaku/notes/_notes.html.slim +3 -5
  737. data/frontend/app/views/gaku/notes/create.js.erb +3 -1
  738. data/frontend/app/views/gaku/notes/destroy.js.erb +2 -1
  739. data/frontend/app/views/gaku/notes/index.js.erb +1 -0
  740. data/frontend/app/views/gaku/notes/show/_notes.html.slim +17 -0
  741. data/frontend/app/views/gaku/semester_connectors/_form.html.slim +4 -0
  742. data/frontend/app/views/gaku/semester_connectors/_form_fields.html.slim +3 -0
  743. data/frontend/app/views/gaku/semester_connectors/_modal.html.slim +4 -0
  744. data/frontend/app/views/gaku/semester_connectors/_semester_connector.html.slim +2 -0
  745. data/frontend/app/views/gaku/semester_connectors/_semester_connectors.html.slim +17 -0
  746. data/frontend/app/views/gaku/semester_connectors/_table_fields.html.slim +4 -0
  747. data/frontend/app/views/gaku/semester_connectors/create.js.erb +8 -0
  748. data/frontend/app/views/gaku/semester_connectors/destroy.js.erb +4 -0
  749. data/frontend/app/views/gaku/semester_connectors/edit.js.erb +3 -0
  750. data/frontend/app/views/gaku/semester_connectors/index.js.erb +1 -0
  751. data/frontend/app/views/gaku/semester_connectors/new.js.erb +4 -0
  752. data/frontend/app/views/gaku/semester_connectors/update.js.erb +3 -0
  753. data/frontend/app/views/gaku/shared/_ajax_picture.html.slim +8 -0
  754. data/frontend/app/views/gaku/shared/_ajax_upload_picture.html.slim +14 -0
  755. data/frontend/app/views/gaku/shared/_delete_modal_without_soft.html.slim +11 -0
  756. data/frontend/app/views/gaku/shared/fields/_attachment_fields.html.slim +4 -5
  757. data/frontend/app/views/gaku/shared/fields/_exam_portion_fields.html.slim +1 -1
  758. data/frontend/app/views/gaku/shared/js/remove_picture.js.erb +3 -0
  759. data/frontend/app/views/gaku/shared/js/set_picture.js.erb +3 -0
  760. data/frontend/app/views/gaku/shared/student_selection/_chooser.html.slim +16 -0
  761. data/frontend/app/views/gaku/shared/student_selection/_modal.html.slim +3 -0
  762. data/frontend/app/views/gaku/states/_no_states_select.html.slim +1 -1
  763. data/frontend/app/views/gaku/states/_states_select.html.slim +1 -1
  764. data/frontend/app/views/gaku/student_selection/_selected_student.html.slim +4 -0
  765. data/frontend/app/views/gaku/student_selection/add.js.erb +3 -0
  766. data/frontend/app/views/gaku/student_selection/clear.js.erb +2 -0
  767. data/frontend/app/views/gaku/student_selection/collection.js.erb +0 -0
  768. data/frontend/app/views/gaku/student_selection/index.js.erb +10 -0
  769. data/frontend/app/views/gaku/student_selection/remove.js.erb +8 -0
  770. data/frontend/app/views/gaku/students/_chooser_widget.html.slim +6 -2
  771. data/frontend/app/views/gaku/students/_edit_form.html.slim +9 -0
  772. data/frontend/app/views/gaku/students/_form_fields.html.slim +4 -7
  773. data/frontend/app/views/gaku/students/_student.html.slim +1 -2
  774. data/frontend/app/views/gaku/students/_student_unit.html.slim +0 -1
  775. data/frontend/app/views/gaku/students/_students.html.slim +5 -3
  776. data/frontend/app/views/gaku/students/_table_fields.html.slim +1 -1
  777. data/frontend/app/views/gaku/students/badges/_badges.html.slim +20 -2
  778. data/frontend/app/views/gaku/students/badges/_edit.html.slim +9 -8
  779. data/frontend/app/views/gaku/students/badges/create.js.erb +2 -7
  780. data/frontend/app/views/gaku/students/badges/destroy.js.erb +2 -4
  781. data/frontend/app/views/gaku/students/badges/edit.js.erb +2 -1
  782. data/frontend/app/views/gaku/students/badges/index.js.erb +1 -3
  783. data/frontend/app/views/gaku/students/badges/new.js.erb +1 -1
  784. data/frontend/app/views/gaku/students/badges/update.js.erb +3 -5
  785. data/frontend/app/views/gaku/students/chosen.js.erb +1 -3
  786. data/frontend/app/views/gaku/students/class_group_enrollments/_class_group_enrollment.html.slim +5 -0
  787. data/frontend/app/views/gaku/students/class_group_enrollments/_class_group_enrollments.html.slim +19 -0
  788. data/frontend/app/views/gaku/students/class_group_enrollments/_form.html.slim +4 -0
  789. data/frontend/app/views/gaku/students/class_group_enrollments/create.js.erb +10 -8
  790. data/frontend/app/views/gaku/students/class_group_enrollments/destroy.js.erb +3 -0
  791. data/frontend/app/views/gaku/students/class_group_enrollments/index.js.erb +1 -0
  792. data/frontend/app/views/gaku/students/class_group_enrollments/new.js.erb +3 -2
  793. data/frontend/app/views/gaku/students/course_enrollments/_course_enrollment.html.slim +3 -4
  794. data/frontend/app/views/gaku/students/course_enrollments/_course_enrollments.html.slim +3 -3
  795. data/frontend/app/views/gaku/students/course_enrollments/_form.html.slim +3 -4
  796. data/frontend/app/views/gaku/students/course_enrollments/create.js.erb +5 -5
  797. data/frontend/app/views/gaku/students/course_enrollments/destroy.js.erb +1 -1
  798. data/frontend/app/views/gaku/students/course_enrollments/index.js.erb +1 -0
  799. data/frontend/app/views/gaku/students/edit.html.slim +65 -35
  800. data/frontend/app/views/gaku/students/edit.js.erb +1 -0
  801. data/frontend/app/views/gaku/students/external_school_records/_external_school_record.html.slim +1 -1
  802. data/frontend/app/views/gaku/students/external_school_records/_external_school_records.html.slim +2 -2
  803. data/frontend/app/views/gaku/students/external_school_records/_fields.html.slim +3 -4
  804. data/frontend/app/views/gaku/students/external_school_records/_form_fields.html.slim +1 -1
  805. data/frontend/app/views/gaku/students/external_school_records/create.js.erb +3 -2
  806. data/frontend/app/views/gaku/students/external_school_records/destroy.js.erb +2 -1
  807. data/frontend/app/views/gaku/students/external_school_records/index.js.erb +1 -0
  808. data/frontend/app/views/gaku/students/external_school_records/update.js.erb +1 -1
  809. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/_extracurricular_activity_enrollment.html.slim +3 -0
  810. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/_extracurricular_activity_enrollments.html.slim +17 -0
  811. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/_form.html.slim +3 -0
  812. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/create.js.erb +9 -0
  813. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/destroy.js.erb +3 -0
  814. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/index.js.erb +1 -0
  815. data/frontend/app/views/gaku/students/extracurricular_activity_enrollments/new.js.erb +3 -0
  816. data/frontend/app/views/gaku/students/index.html.slim +0 -1
  817. data/frontend/app/views/gaku/students/simple_grades/_edit.html.slim +6 -8
  818. data/frontend/app/views/gaku/students/simple_grades/_form_fields.html.slim +7 -3
  819. data/frontend/app/views/gaku/students/simple_grades/_simple_grades.html.slim +21 -2
  820. data/frontend/app/views/gaku/students/simple_grades/create.js.erb +1 -1
  821. data/frontend/app/views/gaku/students/simple_grades/destroy.js.erb +1 -2
  822. data/frontend/app/views/gaku/students/simple_grades/edit.js.erb +5 -3
  823. data/frontend/app/views/gaku/students/simple_grades/index.js.erb +1 -5
  824. data/frontend/app/views/gaku/students/simple_grades/update.js.erb +2 -3
  825. data/frontend/app/views/gaku/students/student_specialties/_edit.html.slim +5 -7
  826. data/frontend/app/views/gaku/students/student_specialties/_student_specialties.html.slim +18 -2
  827. data/frontend/app/views/gaku/students/student_specialties/create.js.erb +3 -3
  828. data/frontend/app/views/gaku/students/student_specialties/destroy.js.erb +1 -1
  829. data/frontend/app/views/gaku/students/student_specialties/edit.js.erb +3 -2
  830. data/frontend/app/views/gaku/students/student_specialties/index.js.erb +1 -5
  831. data/frontend/app/views/gaku/students/student_specialties/update.js.erb +2 -3
  832. data/frontend/app/views/gaku/syllabuses/_edit_form.html.slim +9 -0
  833. data/frontend/app/views/gaku/syllabuses/edit.html.slim +12 -12
  834. data/frontend/app/views/gaku/syllabuses/edit.js.erb +1 -0
  835. data/frontend/app/views/gaku/syllabuses/exam_syllabuses/_form.html.slim +6 -0
  836. data/frontend/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb +3 -3
  837. data/frontend/app/views/gaku/syllabuses/exam_syllabuses/destroy.js.erb +3 -2
  838. data/frontend/app/views/gaku/syllabuses/exam_syllabuses/new.js.erb +8 -0
  839. data/frontend/app/views/gaku/syllabuses/exams/_exams.html.slim +29 -13
  840. data/frontend/app/views/gaku/syllabuses/exams/destroy.js.erb +2 -2
  841. data/frontend/app/views/gaku/syllabuses/exams/index.js.erb +1 -0
  842. data/frontend/app/views/gaku/syllabuses/exams/new.js.erb +5 -0
  843. data/{archive/app/views/gaku/teachers/recovery.js.erb → frontend/app/views/gaku/syllabuses/update.js.erb} +0 -0
  844. data/frontend/app/views/gaku/teachers/_edit_form.html.slim +9 -0
  845. data/frontend/app/views/gaku/teachers/_fields.html.slim +5 -1
  846. data/frontend/app/views/gaku/teachers/_teacher.html.slim +1 -1
  847. data/frontend/app/views/gaku/teachers/_teachers.html.slim +1 -1
  848. data/frontend/app/views/gaku/teachers/edit.html.slim +22 -14
  849. data/frontend/app/views/gaku/teachers/edit.js.erb +1 -0
  850. data/frontend/app/views/gaku/teachers/show.html.slim +6 -8
  851. data/frontend/config/routes.rb +71 -37
  852. data/frontend/gaku_frontend.gemspec +23 -22
  853. data/frontend/lib/gaku/app_responder.rb +1 -1
  854. data/frontend/lib/gaku/frontend.rb +4 -1
  855. data/frontend/lib/gaku/frontend/engine.rb +2 -2
  856. data/frontend/lib/gaku_frontend.rb +1 -1
  857. data/frontend/lib/tasks/admin_user.rake +2 -1
  858. data/frontend/spec/controllers/gaku/addresses_controller_spec.rb +23 -7
  859. data/frontend/spec/controllers/gaku/class_groups/class_groups_controller_spec.rb +11 -6
  860. data/frontend/spec/controllers/gaku/contacts_controller_spec.rb +25 -8
  861. data/frontend/spec/controllers/gaku/course_groups/course_group_enrollments_controller.rb +12 -4
  862. data/frontend/spec/controllers/gaku/course_groups/course_groups_controller_spec.rb +0 -1
  863. data/frontend/spec/controllers/gaku/exams/exam_portions_controller_spec.rb +8 -4
  864. data/frontend/spec/controllers/gaku/exams/exam_sessions_controller_spec.rb +147 -0
  865. data/frontend/spec/controllers/gaku/exams/exams_controller_spec.rb +0 -2
  866. data/frontend/spec/controllers/gaku/extracurricular_activities_controller_spec.rb +66 -35
  867. data/frontend/spec/controllers/gaku/guardians_controller_spec.rb +125 -0
  868. data/frontend/spec/controllers/gaku/student_selection_controller_spec.rb +66 -0
  869. data/frontend/spec/controllers/gaku/students/badges_controller_spec.rb +17 -9
  870. data/frontend/spec/controllers/gaku/students/external_school_records_controller_spec.rb +35 -19
  871. data/frontend/spec/controllers/gaku/students/simple_grades_controller_spec.rb +16 -9
  872. data/frontend/spec/controllers/gaku/students/student_specialties_controller_spec.rb +17 -9
  873. data/frontend/spec/controllers/gaku/students/students_controller_spec.rb +179 -36
  874. data/frontend/spec/controllers/gaku/syllabuses_controller_spec.rb +44 -34
  875. data/frontend/spec/controllers/gaku/teachers_controller_spec.rb +10 -3
  876. data/frontend/spec/features/{change_language_spec.rb → other/change_language_spec.rb} +0 -0
  877. data/frontend/spec/features/other/class_groups/class_groups_spec.rb +96 -0
  878. data/frontend/spec/features/other/class_groups/enrollments_spec.rb +109 -0
  879. data/frontend/spec/features/other/class_groups/notes_spec.rb +32 -0
  880. data/frontend/spec/features/other/class_groups/semester_attendances_spec.rb +52 -0
  881. data/frontend/spec/features/other/class_groups/semester_connectors_spec.rb +106 -0
  882. data/frontend/spec/features/other/class_groups/student_reviews_spec.rb +77 -0
  883. data/frontend/spec/features/other/course_groups/course_groups_spec.rb +75 -0
  884. data/frontend/spec/features/other/course_groups/courses_spec.rb +38 -0
  885. data/frontend/spec/features/other/courses/courses_spec.rb +137 -0
  886. data/frontend/spec/features/other/courses/enrollments_spec.rb +96 -0
  887. data/frontend/spec/features/other/courses/exams_spec.rb +36 -0
  888. data/frontend/spec/features/other/courses/grading_method_connectors_spec.rb +99 -0
  889. data/frontend/spec/features/other/courses/notes_spec.rb +32 -0
  890. data/frontend/spec/features/other/courses/semester_connectors_spec.rb +97 -0
  891. data/frontend/spec/features/other/exams/exam_portions/attachments_spec.rb +90 -0
  892. data/frontend/spec/features/other/exams/exam_portions/exam_portions_spec.rb +86 -0
  893. data/frontend/spec/features/other/exams/exam_sessions_spec.rb +75 -0
  894. data/frontend/spec/features/other/exams/exams_spec.rb +138 -0
  895. data/frontend/spec/features/other/exams/grading_method_connectors_spec.rb +106 -0
  896. data/frontend/spec/features/other/exams/notes_spec.rb +32 -0
  897. data/frontend/spec/features/other/extracurricular_activities/enrollments_spec.rb +84 -0
  898. data/frontend/spec/features/other/extracurricular_activities/extracurricular_activities_spec.rb +66 -0
  899. data/frontend/spec/features/{sign_in_spec.rb → other/sign_in_spec.rb} +0 -0
  900. data/frontend/spec/features/{sign_out_spec.rb → other/sign_out_spec.rb} +0 -0
  901. data/frontend/spec/features/other/sign_up_spec.rb +70 -0
  902. data/frontend/spec/features/other/syllabuses/exams_spec.rb +161 -0
  903. data/frontend/spec/features/other/syllabuses/notes_spec.rb +32 -0
  904. data/frontend/spec/features/{syllabuses → other/syllabuses}/syllabuses_spec.rb +0 -0
  905. data/frontend/spec/features/other/teachers/addresses_spec.rb +62 -0
  906. data/frontend/spec/features/other/teachers/contacts_spec.rb +55 -0
  907. data/frontend/spec/features/other/teachers/notes_spec.rb +34 -0
  908. data/frontend/spec/features/other/teachers/picture_spec.rb +54 -0
  909. data/frontend/spec/features/other/teachers/teachers_spec.rb +81 -0
  910. data/frontend/spec/features/students/addresses_spec.rb +4 -2
  911. data/frontend/spec/features/students/badges_spec.rb +14 -18
  912. data/frontend/spec/features/students/class_group_enrollments_spec.rb +72 -28
  913. data/frontend/spec/features/students/contacts_spec.rb +3 -4
  914. data/frontend/spec/features/students/course_enrollments_spec.rb +43 -20
  915. data/frontend/spec/features/students/external_school_records_spec.rb +5 -6
  916. data/frontend/spec/features/students/extracurricular_activity_enrollments_spec.rb +64 -0
  917. data/frontend/spec/features/students/guardians/addresses_spec.rb +5 -3
  918. data/frontend/spec/features/students/guardians/contacts_spec.rb +5 -10
  919. data/frontend/spec/features/students/guardians/guardians_spec.rb +3 -5
  920. data/frontend/spec/features/students/guardians/picture_spec.rb +41 -8
  921. data/frontend/spec/features/students/notes_spec.rb +2 -4
  922. data/frontend/spec/features/students/picture_spec.rb +39 -8
  923. data/frontend/spec/features/students/preset_spec.rb +44 -48
  924. data/frontend/spec/features/students/simple_grades_spec.rb +12 -17
  925. data/frontend/spec/features/students/student_specialties_spec.rb +12 -18
  926. data/frontend/spec/features/students/students_selection_spec.rb +150 -0
  927. data/frontend/spec/features/students/students_spec.rb +51 -34
  928. data/frontend/spec/requests/class_groups/enrollments_spec.rb +236 -0
  929. data/frontend/spec/requests/courses/enrollments_spec.rb +242 -0
  930. data/frontend/spec/requests/extracurricular_activities/enrollments_spec.rb +258 -0
  931. data/frontend/spec/routing/class_groups/enrollments_routing_spec.rb +55 -0
  932. data/frontend/spec/routing/courses/enrollments_routing_spec.rb +55 -0
  933. data/frontend/spec/routing/extracurricular_activities/enrollments_routing_spec.rb +55 -0
  934. data/frontend/spec/routing/guardians_routing_spec.rb +79 -0
  935. data/frontend/spec/routing/student_routes_spec.rb +1 -7
  936. data/frontend/spec/routing/students/external_school_records_routing_spec.rb +62 -0
  937. data/frontend/spec/routing/students/simple_grades_routes_spec.rb +1 -2
  938. data/frontend/spec/routing/students/student_specialties_routes_spec.rb +1 -2
  939. data/frontend/spec/routing/teachers_routes_spec.rb +75 -0
  940. data/frontend/spec/support/controllers/shared_examples/allow.rb +1 -1
  941. data/frontend/spec/support/features/shared_examples/addresses_spec.rb +13 -15
  942. data/frontend/spec/support/features/shared_examples/avatarable_spec.rb +2 -3
  943. data/frontend/spec/support/features/shared_examples/contacts_spec.rb +2 -4
  944. data/frontend/spec/support/features/shared_examples/course_enrollable_spec.rb +10 -2
  945. data/frontend/spec/support/features/shared_examples/notes_spec.rb +10 -7
  946. data/frontend/spec/support/models/matchers/accept_nested_attributes_for_matcher.rb +36 -33
  947. data/frontend/spec/support/models/shared_examples/addressable.rb +1 -1
  948. data/frontend/spec/support/models/shared_examples/notable.rb +1 -1
  949. data/frontend/spec/support/models/shared_examples/person.rb +1 -1
  950. data/gaku.gemspec +25 -17
  951. data/lib/gaku.rb +1 -2
  952. data/sample/Rakefile +0 -12
  953. data/sample/db/sample/gaku/01_syllabuses.rb +128 -0
  954. data/sample/db/sample/gaku/02_courses.rb +12 -0
  955. data/sample/db/sample/gaku/20-grading_methods.rb +32 -0
  956. data/sample/db/sample/gaku/badge_types.rb +3 -7
  957. data/sample/db/sample/gaku/changes/student_changes.rb +27 -27
  958. data/sample/db/sample/gaku/class_groups.rb +3 -3
  959. data/sample/db/sample/gaku/disposals/address_and_contact_disposals.rb +1 -1
  960. data/sample/db/sample/gaku/disposals/attachment_disposals.rb +15 -7
  961. data/sample/db/sample/gaku/disposals/course_group_disposals.rb +6 -6
  962. data/sample/db/sample/gaku/disposals/exam_disposals.rb +6 -6
  963. data/sample/db/sample/gaku/disposals/student_disposals.rb +8 -8
  964. data/sample/db/sample/gaku/disposals/teacher_disposals.rb +6 -6
  965. data/sample/db/sample/gaku/exams.rb +1 -4
  966. data/sample/db/sample/gaku/extracurricular_activities.rb +1 -4
  967. data/sample/db/sample/gaku/grading_widget.rb +7 -13
  968. data/sample/db/sample/gaku/roles.rb +2 -5
  969. data/sample/db/sample/gaku/schools.rb +22 -0
  970. data/sample/db/sample/gaku/specialties.rb +2 -8
  971. data/sample/db/sample/gaku/students.rb +6 -8
  972. data/sample/db/sample/gaku/teachers.rb +5 -12
  973. data/sample/db/sample/gaku/users.rb +2 -3
  974. data/sample/gaku_sample.gemspec +6 -9
  975. data/sample/lib/shared_sample_data.rb +35 -24
  976. data/testing/Rakefile +6 -10
  977. data/testing/gaku_testing.gemspec +6 -11
  978. data/testing/lib/gaku/testing/env.rb +2 -2
  979. data/testing/lib/gaku/testing/feature_helpers.rb +3 -7
  980. data/testing/lib/gaku/testing/flash_helpers.rb +1 -1
  981. data/testing/lib/gaku/testing/spec_helpers/spec_helper.rb +7 -4
  982. data/testing/lib/gaku/testing/spec_helpers/spec_helper_base.rb +5 -1
  983. data/testing/lib/gaku/testing/spec_helpers/spec_helper_controllers.rb +4 -4
  984. data/testing/lib/gaku/testing/spec_helpers/spec_helper_models.rb +1 -1
  985. data/testing/lib/gaku_testing.rb +1 -1
  986. metadata +494 -459
  987. data/.ruby-gemset +0 -1
  988. data/.ruby-version +0 -1
  989. data/admin/.ruby-gemset +0 -1
  990. data/admin/.ruby-version +0 -1
  991. data/admin/app/controllers/gaku/admin/achievements/simple_grade_types_controller.rb +0 -70
  992. data/admin/app/controllers/gaku/admin/schools/campuses/addresses_controller.rb +0 -64
  993. data/admin/app/controllers/gaku/admin/schools/campuses/contacts_controller.rb +0 -77
  994. data/admin/app/controllers/gaku/admin/schools/campuses_controller.rb +0 -72
  995. data/admin/app/views/gaku/admin/achievements/simple_grade_types/index.html.slim +0 -23
  996. data/admin/app/views/gaku/admin/attendance_types/index.html.slim +0 -24
  997. data/admin/app/views/gaku/admin/badge_types/index.html.slim +0 -22
  998. data/admin/app/views/gaku/admin/commute_method_types/index.html.slim +0 -18
  999. data/admin/app/views/gaku/admin/contact_types/index.html.slim +0 -18
  1000. data/admin/app/views/gaku/admin/departments/index.html.slim +0 -20
  1001. data/admin/app/views/gaku/admin/enrollment_statuses/index.html.slim +0 -21
  1002. data/admin/app/views/gaku/admin/grading_method_sets/index.html.slim +0 -23
  1003. data/admin/app/views/gaku/admin/grading_method_sets/show.html.slim +0 -13
  1004. data/admin/app/views/gaku/admin/grading_methods/index.html.slim +0 -20
  1005. data/admin/app/views/gaku/admin/presets/index.html.slim +0 -16
  1006. data/admin/app/views/gaku/admin/roles/index.html.slim +0 -20
  1007. data/admin/app/views/gaku/admin/school_years/index.html.slim +0 -21
  1008. data/admin/app/views/gaku/admin/school_years/show.html.slim +0 -15
  1009. data/admin/app/views/gaku/admin/schools/campuses/_campus.html.slim +0 -6
  1010. data/admin/app/views/gaku/admin/schools/campuses/_campuses.html.slim +0 -23
  1011. data/admin/app/views/gaku/admin/schools/campuses/_picture.html.slim +0 -8
  1012. data/admin/app/views/gaku/admin/schools/campuses/_show_table.html.slim +0 -10
  1013. data/admin/app/views/gaku/admin/schools/campuses/_tabs.html.slim +0 -15
  1014. data/admin/app/views/gaku/admin/schools/campuses/_upload_picture.html.slim +0 -7
  1015. data/admin/app/views/gaku/admin/schools/campuses/addresses/_address.html.slim +0 -7
  1016. data/admin/app/views/gaku/admin/schools/campuses/addresses/_address_row_fields.html.slim +0 -4
  1017. data/admin/app/views/gaku/admin/schools/campuses/addresses/_addresses.html.slim +0 -24
  1018. data/admin/app/views/gaku/admin/schools/campuses/addresses/update.js.erb +0 -4
  1019. data/admin/app/views/gaku/admin/schools/campuses/contacts/_contact.html.slim +0 -3
  1020. data/admin/app/views/gaku/admin/schools/campuses/contacts/_contacts.html.slim +0 -22
  1021. data/admin/app/views/gaku/admin/schools/campuses/contacts/_fields.html.slim +0 -12
  1022. data/admin/app/views/gaku/admin/schools/campuses/contacts/_primary_field.html.slim +0 -13
  1023. data/admin/app/views/gaku/admin/schools/campuses/contacts/create.js.erb +0 -20
  1024. data/admin/app/views/gaku/admin/schools/campuses/contacts/destroy.js.erb +0 -8
  1025. data/admin/app/views/gaku/admin/schools/campuses/contacts/edit.js.erb +0 -4
  1026. data/admin/app/views/gaku/admin/schools/campuses/edit.html.slim +0 -19
  1027. data/admin/app/views/gaku/admin/schools/campuses/show.html.slim +0 -13
  1028. data/admin/app/views/gaku/admin/schools/index.html.slim +0 -25
  1029. data/admin/app/views/gaku/admin/schools/show.html.slim +0 -13
  1030. data/admin/app/views/gaku/admin/schools/show_master.html.slim +0 -14
  1031. data/admin/app/views/gaku/admin/specialties/index.html.slim +0 -21
  1032. data/admin/app/views/gaku/admin/states/index.html.slim +0 -15
  1033. data/admin/app/views/gaku/admin/templates/edit.html.slim +0 -1
  1034. data/admin/app/views/gaku/admin/templates/index.html.slim +0 -20
  1035. data/admin/app/views/gaku/admin/templates/new.html.slim +0 -1
  1036. data/admin/app/views/gaku/admin/users/index.html.slim +0 -21
  1037. data/admin/config/initializers/client_side_validations.rb +0 -9
  1038. data/admin/spec/controllers/gaku/admin/achievements/simple_grade_types_controller_spec.rb +0 -168
  1039. data/admin/spec/features/badge_types/badge_types_spec.rb +0 -72
  1040. data/admin/spec/routing/admin/schools/admin_school_routes_spec.rb +0 -79
  1041. data/admin/spec/routing/admin/schools/campuses/admin_schools_campus_routes_spec.rb +0 -65
  1042. data/admin/spec/routing/admin/schools/campuses/admin_schools_campuses_address_routes_spec.rb +0 -61
  1043. data/admin/spec/routing/admin/schools/campuses/contacts_routing_spec.rb +0 -61
  1044. data/all_dependencies.rb +0 -23
  1045. data/archive/.rspec +0 -2
  1046. data/archive/.ruby-gemset +0 -1
  1047. data/archive/.ruby-version +0 -1
  1048. data/archive/Gemfile +0 -8
  1049. data/archive/Rakefile +0 -31
  1050. data/archive/app/assets/javascripts/gaku/archive.js.coffee +0 -4
  1051. data/archive/app/assets/stylesheets/gaku/archive.css +0 -5
  1052. data/archive/app/controllers/concerns/trashable_controller.rb +0 -32
  1053. data/archive/app/controllers/gaku/admin/changes/student_address_changes_controller.rb +0 -14
  1054. data/archive/app/controllers/gaku/admin/changes/student_changes_controller.rb +0 -13
  1055. data/archive/app/controllers/gaku/admin/changes/student_contact_changes_controller.rb +0 -13
  1056. data/archive/app/controllers/gaku/admin/disposals_controller.rb +0 -55
  1057. data/archive/app/controllers/gaku/admin/students_controller.rb +0 -22
  1058. data/archive/app/controllers/gaku/class_groups_controller_injector.rb +0 -5
  1059. data/archive/app/controllers/gaku/contacts_controller_injector.rb +0 -21
  1060. data/archive/app/controllers/gaku/course_groups_controller_injector.rb +0 -5
  1061. data/archive/app/controllers/gaku/courses_controller_injector.rb +0 -5
  1062. data/archive/app/controllers/gaku/exams_controller_injector.rb +0 -5
  1063. data/archive/app/controllers/gaku/extracurricular_activities_controller_injector.rb +0 -5
  1064. data/archive/app/controllers/gaku/students_controller_injector.rb +0 -5
  1065. data/archive/app/controllers/gaku/syllabuses_controller_injector.rb +0 -5
  1066. data/archive/app/controllers/gaku/teachers_controller_injector.rb +0 -5
  1067. data/archive/app/models/concerns/trashable.rb +0 -17
  1068. data/archive/app/models/gaku/address_injector.rb +0 -31
  1069. data/archive/app/models/gaku/attachment_injector.rb +0 -5
  1070. data/archive/app/models/gaku/class_group_injector.rb +0 -5
  1071. data/archive/app/models/gaku/contact_injector.rb +0 -34
  1072. data/archive/app/models/gaku/course_group_injector.rb +0 -5
  1073. data/archive/app/models/gaku/course_injector.rb +0 -5
  1074. data/archive/app/models/gaku/exam_injector.rb +0 -5
  1075. data/archive/app/models/gaku/extracurricular_activity_injector.rb +0 -5
  1076. data/archive/app/models/gaku/guardian_injector.rb +0 -5
  1077. data/archive/app/models/gaku/student_injector.rb +0 -16
  1078. data/archive/app/models/gaku/syllabus_injector.rb +0 -5
  1079. data/archive/app/models/gaku/teacher_injector.rb +0 -5
  1080. data/archive/app/models/gaku/versioning/address_version.rb +0 -9
  1081. data/archive/app/models/gaku/versioning/contact_version.rb +0 -7
  1082. data/archive/app/models/gaku/versioning/student_version.rb +0 -47
  1083. data/archive/app/overrides/archive_menu.rb +0 -6
  1084. data/archive/app/views/gaku/addresses/_delete_link.html.slim +0 -1
  1085. data/archive/app/views/gaku/admin/changes/student_address_changes/_change.html.slim +0 -10
  1086. data/archive/app/views/gaku/admin/changes/student_address_changes/_changes.html.slim +0 -19
  1087. data/archive/app/views/gaku/admin/changes/student_address_changes/_deletion.html.slim +0 -9
  1088. data/archive/app/views/gaku/admin/changes/student_address_changes/index.html.slim +0 -11
  1089. data/archive/app/views/gaku/admin/changes/student_changes/_change.html.slim +0 -10
  1090. data/archive/app/views/gaku/admin/changes/student_changes/_changes.html.slim +0 -18
  1091. data/archive/app/views/gaku/admin/changes/student_changes/_deletion.html.slim +0 -9
  1092. data/archive/app/views/gaku/admin/changes/student_changes/index.html.slim +0 -13
  1093. data/archive/app/views/gaku/admin/changes/student_contact_changes/_change.html.slim +0 -10
  1094. data/archive/app/views/gaku/admin/changes/student_contact_changes/_changes.html.slim +0 -19
  1095. data/archive/app/views/gaku/admin/changes/student_contact_changes/_deletion.html.slim +0 -9
  1096. data/archive/app/views/gaku/admin/changes/student_contact_changes/index.html.slim +0 -11
  1097. data/archive/app/views/gaku/admin/disposals/_address.html.slim +0 -12
  1098. data/archive/app/views/gaku/admin/disposals/_addresses.html.slim +0 -17
  1099. data/archive/app/views/gaku/admin/disposals/_contact.html.slim +0 -9
  1100. data/archive/app/views/gaku/admin/disposals/_contacts.html.slim +0 -14
  1101. data/archive/app/views/gaku/admin/disposals/_course_group.html.slim +0 -3
  1102. data/archive/app/views/gaku/admin/disposals/_course_groups.html.slim +0 -12
  1103. data/archive/app/views/gaku/admin/disposals/_exam.html.slim +0 -10
  1104. data/archive/app/views/gaku/admin/disposals/_guardian.html.slim +0 -10
  1105. data/archive/app/views/gaku/admin/disposals/_student.html.slim +0 -10
  1106. data/archive/app/views/gaku/admin/disposals/_tabs.html.slim +0 -17
  1107. data/archive/app/views/gaku/admin/disposals/_teacher.html.slim +0 -10
  1108. data/archive/app/views/gaku/admin/disposals/addresses.html.slim +0 -2
  1109. data/archive/app/views/gaku/admin/disposals/attachments.html.slim +0 -30
  1110. data/archive/app/views/gaku/admin/disposals/contacts.html.slim +0 -2
  1111. data/archive/app/views/gaku/admin/disposals/course_groups.html.slim +0 -12
  1112. data/archive/app/views/gaku/admin/disposals/exams.html.slim +0 -16
  1113. data/archive/app/views/gaku/admin/disposals/guardians.html.slim +0 -16
  1114. data/archive/app/views/gaku/admin/disposals/index.html.slim +0 -1
  1115. data/archive/app/views/gaku/admin/disposals/students.html.slim +0 -16
  1116. data/archive/app/views/gaku/admin/disposals/tabs/_addresses_tabs.html.slim +0 -19
  1117. data/archive/app/views/gaku/admin/disposals/tabs/_contacts_tabs.html.slim +0 -19
  1118. data/archive/app/views/gaku/admin/disposals/teachers.html.slim +0 -16
  1119. data/archive/app/views/gaku/contacts/_delete_link.html.slim +0 -1
  1120. data/archive/app/views/gaku/shared/_delete_link.html.slim +0 -1
  1121. data/archive/app/views/gaku/shared/_delete_modal.html.slim +0 -11
  1122. data/archive/app/views/gaku/shared/menu/_archive.html.erb +0 -1
  1123. data/archive/config/initializers/paper_trail.rb +0 -3
  1124. data/archive/config/routes.rb +0 -67
  1125. data/archive/db/migrate/20131203160531_create_versioning_tables.rb +0 -47
  1126. data/archive/db/migrate/20131203160607_add_deleted_fields.rb +0 -53
  1127. data/archive/gaku_archive.gemspec +0 -28
  1128. data/archive/lib/gaku/archive.rb +0 -13
  1129. data/archive/lib/gaku/archive/engine.rb +0 -22
  1130. data/archive/lib/gaku_archive.rb +0 -1
  1131. data/archive/spec/controllers/gaku/addresses_controller_spec.rb +0 -144
  1132. data/archive/spec/controllers/gaku/admin/disposals_controller_spec.rb +0 -177
  1133. data/archive/spec/controllers/gaku/class_groups_controller_spec.rb +0 -86
  1134. data/archive/spec/controllers/gaku/contacts_controller_spec.rb +0 -133
  1135. data/archive/spec/controllers/gaku/course_groups_controller_spec.rb +0 -86
  1136. data/archive/spec/controllers/gaku/courses_controller_spec.rb +0 -86
  1137. data/archive/spec/controllers/gaku/exams_controller_spec.rb +0 -86
  1138. data/archive/spec/controllers/gaku/extracurricular_activities_controller_spec.rb +0 -85
  1139. data/archive/spec/controllers/gaku/students_controller_spec.rb +0 -72
  1140. data/archive/spec/controllers/gaku/syllabuses_controller_spec.rb +0 -86
  1141. data/archive/spec/controllers/gaku/teachers_controller_spec.rb +0 -86
  1142. data/archive/spec/features/admin/changes_and_deletions/student_addresses_spec.rb +0 -40
  1143. data/archive/spec/features/admin/changes_and_deletions/student_contacts_spec.rb +0 -28
  1144. data/archive/spec/features/admin/changes_and_deletions/students_spec.rb +0 -45
  1145. data/archive/spec/features/admin/disposals/student_disposals_spec.rb +0 -51
  1146. data/archive/spec/features/admin/disposals/teacher_disposals_spec.rb +0 -51
  1147. data/archive/spec/features/students/addresses_spec.rb +0 -29
  1148. data/archive/spec/features/students/contacts_spec.rb +0 -36
  1149. data/archive/spec/features/students/guardians/addresses_spec.rb +0 -32
  1150. data/archive/spec/features/students/guardians/contacts_spec.rb +0 -31
  1151. data/archive/spec/features/students/guardians/guardians_spec.rb +0 -33
  1152. data/archive/spec/features/students/students_spec.rb +0 -36
  1153. data/archive/spec/integration/student_address_versioning_spec.rb +0 -20
  1154. data/archive/spec/integration/student_contact_vesioning_spec.rb +0 -21
  1155. data/archive/spec/integration/student_versioning_spec.rb +0 -91
  1156. data/archive/spec/models/address_spec.rb +0 -64
  1157. data/archive/spec/models/attachment_spec.rb +0 -9
  1158. data/archive/spec/models/class_group_spec.rb +0 -9
  1159. data/archive/spec/models/contact_spec.rb +0 -9
  1160. data/archive/spec/models/course_group_spec.rb +0 -9
  1161. data/archive/spec/models/course_spec.rb +0 -9
  1162. data/archive/spec/models/exam_spec.rb +0 -11
  1163. data/archive/spec/models/extracurricular_activity_spec.rb +0 -9
  1164. data/archive/spec/models/guardian_spec.rb +0 -9
  1165. data/archive/spec/models/student_spec.rb +0 -13
  1166. data/archive/spec/models/syllabus_spec.rb +0 -9
  1167. data/archive/spec/models/teacher_spec.rb +0 -9
  1168. data/archive/spec/routing/student_routes_spec.rb +0 -26
  1169. data/archive/spec/routing/students/guardians_routes_spec.rb +0 -37
  1170. data/archive/spec/spec_helper.rb +0 -5
  1171. data/archive/spec/spec_helper_base.rb +0 -20
  1172. data/archive/spec/spec_helper_controllers.rb +0 -4
  1173. data/archive/spec/spec_helper_models.rb +0 -38
  1174. data/archive/spec/spec_helper_routing.rb +0 -4
  1175. data/archive/spec/support/controllers.rb +0 -3
  1176. data/archive/spec/support/controllers/matchers/have_attributes_matcher.rb +0 -8
  1177. data/archive/spec/support/controllers/shared_examples/allow.rb +0 -10
  1178. data/archive/spec/support/controllers/shared_examples/deny.rb +0 -27
  1179. data/archive/spec/support/features.rb +0 -5
  1180. data/archive/spec/support/features/shared_examples/addresses_spec.rb +0 -22
  1181. data/archive/spec/support/features/shared_examples/contacts_spec.rb +0 -26
  1182. data/archive/spec/support/models/shared_examples/thrashable.rb +0 -6
  1183. data/core/.ruby-gemset +0 -1
  1184. data/core/.ruby-version +0 -1
  1185. data/core/app/models/gaku/class_group_course_enrollment.rb +0 -17
  1186. data/core/app/models/gaku/class_group_enrollment.rb +0 -31
  1187. data/core/app/models/gaku/course_enrollment.rb +0 -23
  1188. data/core/app/models/gaku/disposal.rb +0 -45
  1189. data/core/app/models/gaku/extracurricular_activity_enrollment.rb +0 -15
  1190. data/core/app/models/gaku/semester_class_group.rb +0 -21
  1191. data/core/app/models/gaku/semester_course.rb +0 -21
  1192. data/core/lib/gaku/grading/calculations.rb +0 -279
  1193. data/core/lib/gaku/grading/grade.rb +0 -17
  1194. data/core/lib/gaku/grading/japanese_hs_standard.rb +0 -8
  1195. data/core/lib/gaku/testing/factories/class_group_course_enrollment_factory.rb +0 -8
  1196. data/core/lib/gaku/testing/factories/class_group_enrollment_factory.rb +0 -9
  1197. data/core/lib/gaku/testing/factories/semester_class_group_factory.rb +0 -8
  1198. data/core/lib/gaku/testing/factories/semester_course.rb +0 -8
  1199. data/core/spec/models/class_group_course_enrollment_spec.rb +0 -16
  1200. data/core/spec/models/class_group_enrollment_spec.rb +0 -24
  1201. data/core/spec/models/course_enrollment_spec.rb +0 -16
  1202. data/core/spec/models/extracurricular_activity_enrollment_spec.rb +0 -18
  1203. data/core/spec/models/semester_class_group_spec.rb +0 -17
  1204. data/core/spec/models/semester_course_spec.rb +0 -17
  1205. data/core_dependencies.rb +0 -12
  1206. data/frontend/.ruby-gemset +0 -1
  1207. data/frontend/.ruby-version +0 -1
  1208. data/frontend/app/controllers/concerns/enrollments_controller.rb +0 -83
  1209. data/frontend/app/controllers/gaku/class_group_enrollments_controller.rb +0 -15
  1210. data/frontend/app/controllers/gaku/class_groups/courses_controller.rb +0 -50
  1211. data/frontend/app/controllers/gaku/class_groups/semester_class_groups_controller.rb +0 -63
  1212. data/frontend/app/controllers/gaku/class_groups/students_controller.rb +0 -37
  1213. data/frontend/app/controllers/gaku/course_enrollments_controller.rb +0 -10
  1214. data/frontend/app/controllers/gaku/courses/enrollments_controller.rb +0 -55
  1215. data/frontend/app/controllers/gaku/courses/semester_courses_controller.rb +0 -64
  1216. data/frontend/app/controllers/gaku/exams/exam_portions/attachments_controller.rb +0 -46
  1217. data/frontend/app/controllers/gaku/extracurricular_activities/students_controller.rb +0 -21
  1218. data/frontend/app/controllers/gaku/extracurricular_activity_enrollments_controller.rb +0 -16
  1219. data/frontend/app/controllers/gaku/students/guardians_controller.rb +0 -70
  1220. data/frontend/app/views/gaku/class_groups/_student_chooser_form.html.slim +0 -4
  1221. data/frontend/app/views/gaku/class_groups/_tabs.html.slim +0 -41
  1222. data/frontend/app/views/gaku/class_groups/courses/_course.html.slim +0 -4
  1223. data/frontend/app/views/gaku/class_groups/courses/_courses.html.slim +0 -14
  1224. data/frontend/app/views/gaku/class_groups/courses/_form.html.slim +0 -5
  1225. data/frontend/app/views/gaku/class_groups/courses/create.js.erb +0 -7
  1226. data/frontend/app/views/gaku/class_groups/courses/destroy.js.erb +0 -2
  1227. data/frontend/app/views/gaku/class_groups/courses/new.js.erb +0 -3
  1228. data/frontend/app/views/gaku/class_groups/semester_class_groups/_fields.html.slim +0 -4
  1229. data/frontend/app/views/gaku/class_groups/semester_class_groups/_form.html.slim +0 -4
  1230. data/frontend/app/views/gaku/class_groups/semester_class_groups/_form_fields.html.slim +0 -3
  1231. data/frontend/app/views/gaku/class_groups/semester_class_groups/_modal.html.slim +0 -5
  1232. data/frontend/app/views/gaku/class_groups/semester_class_groups/_semester.html.slim +0 -3
  1233. data/frontend/app/views/gaku/class_groups/semester_class_groups/_semester_modal.html.slim +0 -4
  1234. data/frontend/app/views/gaku/class_groups/semester_class_groups/_semesters.html.slim +0 -13
  1235. data/frontend/app/views/gaku/class_groups/semester_class_groups/create.js.erb +0 -8
  1236. data/frontend/app/views/gaku/class_groups/semester_class_groups/destroy.js.erb +0 -2
  1237. data/frontend/app/views/gaku/class_groups/semester_class_groups/edit.js.erb +0 -3
  1238. data/frontend/app/views/gaku/class_groups/semester_class_groups/new.js.erb +0 -3
  1239. data/frontend/app/views/gaku/class_groups/semester_class_groups/update.js.erb +0 -3
  1240. data/frontend/app/views/gaku/class_groups/student_chooser.js.erb +0 -9
  1241. data/frontend/app/views/gaku/class_groups/students/_student.html.slim +0 -5
  1242. data/frontend/app/views/gaku/class_groups/students/_students.html.slim +0 -14
  1243. data/frontend/app/views/gaku/class_groups/students/destroy.js.erb +0 -2
  1244. data/frontend/app/views/gaku/class_groups/students/enroll_students.js.erb +0 -16
  1245. data/frontend/app/views/gaku/class_groups/students/new.js.erb +0 -3
  1246. data/frontend/app/views/gaku/class_groups/students/without_semester.js.erb +0 -2
  1247. data/frontend/app/views/gaku/courses/_student_chooser_form.html.slim +0 -4
  1248. data/frontend/app/views/gaku/courses/_tabs.html.slim +0 -26
  1249. data/frontend/app/views/gaku/courses/enrollments/_enrolled.html.slim +0 -7
  1250. data/frontend/app/views/gaku/courses/enrollments/_enrollments.html.slim +0 -27
  1251. data/frontend/app/views/gaku/courses/enrollments/_errors_modal.html.slim +0 -11
  1252. data/frontend/app/views/gaku/courses/enrollments/class_groups/_form.html.slim +0 -3
  1253. data/frontend/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb +0 -16
  1254. data/frontend/app/views/gaku/courses/enrollments/class_groups/new.js.erb +0 -4
  1255. data/frontend/app/views/gaku/courses/enrollments/error.js.erb +0 -2
  1256. data/frontend/app/views/gaku/courses/enrollments/students/enroll_students.js.erb +0 -11
  1257. data/frontend/app/views/gaku/courses/semester_courses/_fields.html.slim +0 -4
  1258. data/frontend/app/views/gaku/courses/semester_courses/_form.html.slim +0 -4
  1259. data/frontend/app/views/gaku/courses/semester_courses/_form_fields.html.slim +0 -3
  1260. data/frontend/app/views/gaku/courses/semester_courses/_modal.html.slim +0 -4
  1261. data/frontend/app/views/gaku/courses/semester_courses/_semester_course.html.slim +0 -3
  1262. data/frontend/app/views/gaku/courses/semester_courses/_semester_courses.html.slim +0 -16
  1263. data/frontend/app/views/gaku/courses/semester_courses/create.js.erb +0 -6
  1264. data/frontend/app/views/gaku/courses/semester_courses/destroy.js.erb +0 -3
  1265. data/frontend/app/views/gaku/courses/semester_courses/edit.js.erb +0 -3
  1266. data/frontend/app/views/gaku/courses/semester_courses/new.js.erb +0 -3
  1267. data/frontend/app/views/gaku/courses/semester_courses/update.js.erb +0 -3
  1268. data/frontend/app/views/gaku/courses/student_chooser.js.erb +0 -7
  1269. data/frontend/app/views/gaku/exams/exam_portions/attachments/_attachment.html.slim +0 -2
  1270. data/frontend/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim +0 -20
  1271. data/frontend/app/views/gaku/exams/exam_portions/attachments/_form.html.slim +0 -3
  1272. data/frontend/app/views/gaku/exams/exam_portions/attachments/_modal.html.slim +0 -4
  1273. data/frontend/app/views/gaku/exams/exam_portions/attachments/new.js.erb +0 -3
  1274. data/frontend/app/views/gaku/extracurricular_activities/_student_chooser_form.html.slim +0 -4
  1275. data/frontend/app/views/gaku/extracurricular_activities/_tabs.html.slim +0 -15
  1276. data/frontend/app/views/gaku/extracurricular_activities/student_chooser.js.erb +0 -9
  1277. data/frontend/app/views/gaku/extracurricular_activities/students/_student.html.slim +0 -5
  1278. data/frontend/app/views/gaku/extracurricular_activities/students/_students.html.slim +0 -16
  1279. data/frontend/app/views/gaku/extracurricular_activities/students/destroy.js.erb +0 -3
  1280. data/frontend/app/views/gaku/extracurricular_activities/students/enroll_students.js.erb +0 -11
  1281. data/frontend/app/views/gaku/shared/_external_school_record.html.slim +0 -36
  1282. data/frontend/app/views/gaku/shared/_picture.html.slim +0 -8
  1283. data/frontend/app/views/gaku/shared/_upload_picture.html.slim +0 -7
  1284. data/frontend/app/views/gaku/shared/student/_show.html.slim +0 -12
  1285. data/frontend/app/views/gaku/students/_academic.html.slim +0 -18
  1286. data/frontend/app/views/gaku/students/_personal.html.slim +0 -3
  1287. data/frontend/app/views/gaku/students/_student_chooser_form.html.slim +0 -16
  1288. data/frontend/app/views/gaku/students/_tabs.html.slim +0 -48
  1289. data/frontend/app/views/gaku/students/_tabs_academic.html.slim +0 -40
  1290. data/frontend/app/views/gaku/students/_tabs_personal.html.slim +0 -27
  1291. data/frontend/app/views/gaku/students/badges/_badge_type.html.slim +0 -5
  1292. data/frontend/app/views/gaku/students/badges/_badges_tab.html.slim +0 -8
  1293. data/frontend/app/views/gaku/students/badges/_index.html.slim +0 -20
  1294. data/frontend/app/views/gaku/students/badges/_index_modal.html.slim +0 -4
  1295. data/frontend/app/views/gaku/students/class_group_enrollments/_new_modal.html.slim +0 -28
  1296. data/frontend/app/views/gaku/students/course_enrollments/_errors_modal.html.slim +0 -11
  1297. data/frontend/app/views/gaku/students/course_enrollments/error.js.erb +0 -2
  1298. data/frontend/app/views/gaku/students/guardians/_delete_modal.html.slim +0 -12
  1299. data/frontend/app/views/gaku/students/guardians/_form.html.slim +0 -3
  1300. data/frontend/app/views/gaku/students/guardians/_guardian.html.slim +0 -12
  1301. data/frontend/app/views/gaku/students/guardians/_guardians.html.slim +0 -24
  1302. data/frontend/app/views/gaku/students/guardians/_picture.html.slim +0 -8
  1303. data/frontend/app/views/gaku/students/guardians/_tabs.html.slim +0 -14
  1304. data/frontend/app/views/gaku/students/guardians/_upload_picture.html.slim +0 -7
  1305. data/frontend/app/views/gaku/students/guardians/create.js.erb +0 -7
  1306. data/frontend/app/views/gaku/students/guardians/destroy.js.erb +0 -1
  1307. data/frontend/app/views/gaku/students/guardians/edit.html.slim +0 -21
  1308. data/frontend/app/views/gaku/students/guardians/recovery.js.erb +0 -1
  1309. data/frontend/app/views/gaku/students/guardians/show.html.slim +0 -17
  1310. data/frontend/app/views/gaku/students/show.html.slim +0 -24
  1311. data/frontend/app/views/gaku/students/simple_grades/_index.html.slim +0 -21
  1312. data/frontend/app/views/gaku/students/simple_grades/_index_modal.html.slim +0 -4
  1313. data/frontend/app/views/gaku/students/student_specialties/_index.html.slim +0 -18
  1314. data/frontend/app/views/gaku/students/student_specialties/_index_modal.html.slim +0 -4
  1315. data/frontend/app/views/gaku/syllabuses/_all_exams.html.slim +0 -14
  1316. data/frontend/app/views/gaku/syllabuses/_tabs.html.slim +0 -16
  1317. data/frontend/app/views/gaku/syllabuses/exams/_select_form.html.slim +0 -6
  1318. data/frontend/app/views/gaku/teachers/_tabs.html.slim +0 -20
  1319. data/frontend/config/initializers/client_side_validations.rb +0 -9
  1320. data/frontend/spec/controllers/gaku/class_group_enrollments_controller_spec.rb +0 -62
  1321. data/frontend/spec/controllers/gaku/class_groups/courses_controller_spec.rb +0 -90
  1322. data/frontend/spec/controllers/gaku/class_groups/semesters_controller_spec.rb +0 -90
  1323. data/frontend/spec/controllers/gaku/students/course_enrollments_controller_spec.rb +0 -121
  1324. data/frontend/spec/controllers/gaku/students/guardians_controller_spec.rb +0 -115
  1325. data/frontend/spec/features/class_groups/class_groups_spec.rb +0 -96
  1326. data/frontend/spec/features/class_groups/courses_spec.rb +0 -39
  1327. data/frontend/spec/features/class_groups/notes_spec.rb +0 -32
  1328. data/frontend/spec/features/class_groups/semester_class_groups_spec.rb +0 -96
  1329. data/frontend/spec/features/class_groups/students_spec.rb +0 -90
  1330. data/frontend/spec/features/course_groups/course_groups_spec.rb +0 -76
  1331. data/frontend/spec/features/course_groups/courses_spec.rb +0 -37
  1332. data/frontend/spec/features/courses/courses_spec.rb +0 -108
  1333. data/frontend/spec/features/courses/enrollments/class_groups_spec.rb +0 -81
  1334. data/frontend/spec/features/courses/enrollments/students_spec.rb +0 -75
  1335. data/frontend/spec/features/courses/exams_spec.rb +0 -36
  1336. data/frontend/spec/features/courses/notes_spec.rb +0 -32
  1337. data/frontend/spec/features/courses/semester_courses_spec.rb +0 -108
  1338. data/frontend/spec/features/exams/exam_portions/attachments_spec.rb +0 -101
  1339. data/frontend/spec/features/exams/exam_portions/exam_portions_spec.rb +0 -81
  1340. data/frontend/spec/features/exams/exams_spec.rb +0 -101
  1341. data/frontend/spec/features/exams/notes_spec.rb +0 -32
  1342. data/frontend/spec/features/extracurricular_activities/extracurricular_activities_spec.rb +0 -67
  1343. data/frontend/spec/features/extracurricular_activities/students_spec.rb +0 -164
  1344. data/frontend/spec/features/sign_up_spec.rb +0 -71
  1345. data/frontend/spec/features/syllabuses/exams_spec.rb +0 -161
  1346. data/frontend/spec/features/syllabuses/notes_spec.rb +0 -32
  1347. data/frontend/spec/features/teachers/addresses_spec.rb +0 -60
  1348. data/frontend/spec/features/teachers/contacts_spec.rb +0 -56
  1349. data/frontend/spec/features/teachers/notes_spec.rb +0 -34
  1350. data/frontend/spec/features/teachers/picture_spec.rb +0 -22
  1351. data/frontend/spec/features/teachers/teachers_spec.rb +0 -82
  1352. data/frontend/spec/routing/class_groups/courses_routing_spec.rb +0 -40
  1353. data/frontend/spec/routing/class_groups/students_routing_spec.rb +0 -40
  1354. data/frontend/spec/routing/students/course_enrollments_routes_spec.rb +0 -36
  1355. data/frontend/spec/routing/students/guardians_routes_spec.rb +0 -55
  1356. data/sample/db/sample/gaku/01-syllabuses.rb +0 -130
  1357. data/sample/db/sample/gaku/02-courses.rb +0 -13
@@ -32,4 +32,4 @@ end
32
32
 
33
33
  RSpec.configure do |config|
34
34
  config.include Gaku::Testing::FlashHelpers, type: :feature
35
- end
35
+ end
@@ -7,6 +7,7 @@ require 'database_cleaner'
7
7
  require 'active_record/fixtures'
8
8
  require 'factory_girl_rails'
9
9
  require 'ffaker'
10
+ require 'rspec/retry'
10
11
 
11
12
  require 'gaku/testing/env'
12
13
  require 'gaku/testing/factories'
@@ -15,13 +16,15 @@ require 'gaku/testing/flash_helpers'
15
16
  require 'gaku/testing/auth_helpers'
16
17
  require 'gaku/core/url_helpers'
17
18
 
18
-
19
- #require 'gaku/testing/support/features'
19
+ # require 'gaku/testing/support/features'
20
20
 
21
21
  ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
22
22
 
23
23
  RSpec.configure do |config|
24
24
 
25
+ config.verbose_retry = true
26
+ config.default_retry_count = 3
27
+
25
28
  config.before(:each) do
26
29
  if example.metadata[:js]
27
30
  DatabaseCleaner.strategy = :truncation
@@ -36,12 +39,12 @@ RSpec.configure do |config|
36
39
  DatabaseCleaner.clean
37
40
  end
38
41
 
39
-
40
42
  config.use_transactional_fixtures = false
41
43
  config.infer_base_class_for_anonymous_controllers = false
42
44
 
43
45
  config.fixture_path = "#{::Rails.root}/spec/fixtures"
44
46
  config.include FactoryGirl::Syntax::Methods
45
47
  config.include Gaku::Core::UrlHelpers
48
+ config.include HandyControllerHelpers::AllHelpers, type: :request
46
49
 
47
- end
50
+ end
@@ -7,6 +7,10 @@ RSpec.configure do |config|
7
7
  config.mock_with :rspec
8
8
  config.order = 'random'
9
9
 
10
+ config.before(:each) do
11
+ $redis.flushdb
12
+ end
13
+
10
14
  config.before(:all) do
11
15
  DeferredGarbageCollection.start
12
16
  end
@@ -14,4 +18,4 @@ RSpec.configure do |config|
14
18
  config.after(:all) do
15
19
  DeferredGarbageCollection.reconsider
16
20
  end
17
- end
21
+ end
@@ -3,7 +3,7 @@ require_relative 'spec_helper_base'
3
3
  require 'rspec/core'
4
4
  require 'rspec/rails/extensions'
5
5
  require 'rspec/rails/adapters'
6
- #require 'rspec/rails/mocks'
6
+ # require 'rspec/rails/mocks'
7
7
  require 'rspec/rails/view_rendering'
8
8
  require 'rspec/rails/example'
9
9
 
@@ -17,12 +17,12 @@ require 'gaku/testing/controller_helpers'
17
17
  require 'gaku/testing/auth_helpers'
18
18
  require 'gaku/core/url_helpers'
19
19
 
20
- #require 'gaku/testing/support/controllers'
20
+ # require 'gaku/testing/support/controllers'
21
21
 
22
22
  ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
23
23
 
24
-
25
24
  RSpec.configure do |config|
25
+
26
26
  config.before(:suite) do
27
27
  DatabaseCleaner.strategy = :transaction
28
28
  DatabaseCleaner.clean_with(:truncation)
@@ -42,4 +42,4 @@ RSpec.configure do |config|
42
42
  config.include Gaku::Core::UrlHelpers
43
43
 
44
44
  config.alias_it_should_behave_like_to :ensures, 'ensures'
45
- end
45
+ end
@@ -35,4 +35,4 @@ RSpec.configure do |config|
35
35
  config.include FactoryGirl::Syntax::Methods
36
36
  config.include Paperclip::Shoulda::Matchers
37
37
 
38
- end
38
+ end
@@ -1 +1 @@
1
- require 'gaku/testing'
1
+ require 'gaku/testing'
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rei Kagetsuki
8
+ - Georgi Tapalilov
8
9
  - Nakaya Yukiharu
9
10
  - Vassil Kalkov
10
- - Georgi Tapalilov
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-02-24 00:00:00.000000000 Z
14
+ date: 2015-02-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: gaku_core
@@ -19,104 +19,90 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.1.1
22
+ version: 0.2.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.1.1
29
+ version: 0.2.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: gaku_admin
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
34
  - - '='
35
35
  - !ruby/object:Gem::Version
36
- version: 0.1.1
36
+ version: 0.2.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 0.1.1
43
+ version: 0.2.0
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: gaku_frontend
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - '='
49
49
  - !ruby/object:Gem::Version
50
- version: 0.1.1
51
- type: :runtime
52
- prerelease: false
53
- version_requirements: !ruby/object:Gem::Requirement
54
- requirements:
55
- - - '='
56
- - !ruby/object:Gem::Version
57
- version: 0.1.1
58
- - !ruby/object:Gem::Dependency
59
- name: gaku_archive
60
- requirement: !ruby/object:Gem::Requirement
61
- requirements:
62
- - - '='
63
- - !ruby/object:Gem::Version
64
- version: 0.1.1
50
+ version: 0.2.0
65
51
  type: :runtime
66
52
  prerelease: false
67
53
  version_requirements: !ruby/object:Gem::Requirement
68
54
  requirements:
69
55
  - - '='
70
56
  - !ruby/object:Gem::Version
71
- version: 0.1.1
57
+ version: 0.2.0
72
58
  - !ruby/object:Gem::Dependency
73
59
  name: gaku_testing
74
60
  requirement: !ruby/object:Gem::Requirement
75
61
  requirements:
76
62
  - - '='
77
63
  - !ruby/object:Gem::Version
78
- version: 0.1.1
64
+ version: 0.2.0
79
65
  type: :runtime
80
66
  prerelease: false
81
67
  version_requirements: !ruby/object:Gem::Requirement
82
68
  requirements:
83
69
  - - '='
84
70
  - !ruby/object:Gem::Version
85
- version: 0.1.1
71
+ version: 0.2.0
86
72
  - !ruby/object:Gem::Dependency
87
73
  name: gaku_sample
88
74
  requirement: !ruby/object:Gem::Requirement
89
75
  requirements:
90
76
  - - '='
91
77
  - !ruby/object:Gem::Version
92
- version: 0.1.1
78
+ version: 0.2.0
93
79
  type: :runtime
94
80
  prerelease: false
95
81
  version_requirements: !ruby/object:Gem::Requirement
96
82
  requirements:
97
83
  - - '='
98
84
  - !ruby/object:Gem::Version
99
- version: 0.1.1
100
- description: It allows for full student management, grading etc. It's bascally what
101
- all student grading tools are with some unique features
102
- email: info@genshin.org
85
+ version: 0.2.0
86
+ description: GAKU Engine is a highly customizable Open Source School Management System.
87
+ It offers extensions to exceed the bounds of a standardized curriculum, and original
88
+ tools to augment the learning experience.It is the engine to drive a more dynamic
89
+ education.
90
+ email: info@gakuengine.com
103
91
  executables: []
104
92
  extensions: []
105
93
  extra_rdoc_files: []
106
94
  files:
107
- - .gitignore
108
- - .rspec
109
- - .ruby-gemset
110
- - .ruby-version
111
- - .travis.yml
95
+ - ".gitignore"
96
+ - ".hound.yml"
97
+ - ".rspec"
98
+ - ".rubocop.yml"
99
+ - ".travis.yml"
112
100
  - Gemfile
113
101
  - LICENSE.md
114
102
  - README.md
115
103
  - Rakefile
116
104
  - VERSION
117
105
  - admin/.rspec
118
- - admin/.ruby-gemset
119
- - admin/.ruby-version
120
106
  - admin/Gemfile
121
107
  - admin/Guardfile
122
108
  - admin/Rakefile
@@ -133,10 +119,13 @@ files:
133
119
  - admin/app/assets/stylesheets/gaku/admin/disposals.css.scss
134
120
  - admin/app/assets/stylesheets/gaku/admin/gaku.css.scss
135
121
  - admin/app/assets/templates/roster.xls
136
- - admin/app/controllers/gaku/admin/achievements/simple_grade_types_controller.rb
122
+ - admin/app/controllers/concerns/admin_picture_controller.rb
137
123
  - admin/app/controllers/gaku/admin/attendance_types_controller.rb
138
124
  - admin/app/controllers/gaku/admin/badge_types_controller.rb
139
125
  - admin/app/controllers/gaku/admin/base_controller.rb
126
+ - admin/app/controllers/gaku/admin/campuses/addresses_controller.rb
127
+ - admin/app/controllers/gaku/admin/campuses/contacts_controller.rb
128
+ - admin/app/controllers/gaku/admin/campuses_controller.rb
140
129
  - admin/app/controllers/gaku/admin/commute_method_types_controller.rb
141
130
  - admin/app/controllers/gaku/admin/contact_types_controller.rb
142
131
  - admin/app/controllers/gaku/admin/departments_controller.rb
@@ -144,17 +133,17 @@ files:
144
133
  - admin/app/controllers/gaku/admin/grading_method_sets/grading_method_set_items_controller.rb
145
134
  - admin/app/controllers/gaku/admin/grading_method_sets_controller.rb
146
135
  - admin/app/controllers/gaku/admin/grading_methods_controller.rb
136
+ - admin/app/controllers/gaku/admin/home_controller.rb
147
137
  - admin/app/controllers/gaku/admin/presets_controller.rb
148
138
  - admin/app/controllers/gaku/admin/roles_controller.rb
149
139
  - admin/app/controllers/gaku/admin/school_years/semesters_controller.rb
150
140
  - admin/app/controllers/gaku/admin/school_years_controller.rb
151
- - admin/app/controllers/gaku/admin/schools/campuses/addresses_controller.rb
152
- - admin/app/controllers/gaku/admin/schools/campuses/contacts_controller.rb
153
- - admin/app/controllers/gaku/admin/schools/campuses_controller.rb
154
141
  - admin/app/controllers/gaku/admin/schools/programs_controller.rb
155
142
  - admin/app/controllers/gaku/admin/schools_controller.rb
143
+ - admin/app/controllers/gaku/admin/simple_grade_types_controller.rb
156
144
  - admin/app/controllers/gaku/admin/specialties_controller.rb
157
145
  - admin/app/controllers/gaku/admin/states_controller.rb
146
+ - admin/app/controllers/gaku/admin/student_review_categories_controller.rb
158
147
  - admin/app/controllers/gaku/admin/system_tools_controller.rb
159
148
  - admin/app/controllers/gaku/admin/templates_controller.rb
160
149
  - admin/app/controllers/gaku/admin/users_controller.rb
@@ -163,18 +152,8 @@ files:
163
152
  - admin/app/helpers/gaku/presets_helper.rb
164
153
  - admin/app/helpers/gaku/shared_helper.rb
165
154
  - admin/app/overrides/admin_menu.rb
166
- - admin/app/views/gaku/admin/achievements/simple_grade_types/_fields.html.slim
167
- - admin/app/views/gaku/admin/achievements/simple_grade_types/_form.html.slim
168
- - admin/app/views/gaku/admin/achievements/simple_grade_types/_form_fields.html.slim
169
- - admin/app/views/gaku/admin/achievements/simple_grade_types/_modal.html.slim
170
- - admin/app/views/gaku/admin/achievements/simple_grade_types/_simple_grade_type.html.slim
171
- - admin/app/views/gaku/admin/achievements/simple_grade_types/create.js.erb
172
- - admin/app/views/gaku/admin/achievements/simple_grade_types/destroy.js.erb
173
- - admin/app/views/gaku/admin/achievements/simple_grade_types/edit.js.erb
174
- - admin/app/views/gaku/admin/achievements/simple_grade_types/index.html.slim
175
- - admin/app/views/gaku/admin/achievements/simple_grade_types/new.js.erb
176
- - admin/app/views/gaku/admin/achievements/simple_grade_types/update.js.erb
177
155
  - admin/app/views/gaku/admin/attendance_types/_attendance_type.html.slim
156
+ - admin/app/views/gaku/admin/attendance_types/_attendance_types.html.slim
178
157
  - admin/app/views/gaku/admin/attendance_types/_fields.html.slim
179
158
  - admin/app/views/gaku/admin/attendance_types/_form.html.slim
180
159
  - admin/app/views/gaku/admin/attendance_types/_form_fields.html.slim
@@ -182,40 +161,87 @@ files:
182
161
  - admin/app/views/gaku/admin/attendance_types/create.js.erb
183
162
  - admin/app/views/gaku/admin/attendance_types/destroy.js.erb
184
163
  - admin/app/views/gaku/admin/attendance_types/edit.js.erb
185
- - admin/app/views/gaku/admin/attendance_types/index.html.slim
164
+ - admin/app/views/gaku/admin/attendance_types/index.js.erb
186
165
  - admin/app/views/gaku/admin/attendance_types/index.json.rb
187
166
  - admin/app/views/gaku/admin/attendance_types/new.js.erb
188
167
  - admin/app/views/gaku/admin/attendance_types/update.js.erb
189
168
  - admin/app/views/gaku/admin/badge_types/_badge_type.html.slim
169
+ - admin/app/views/gaku/admin/badge_types/_badge_types.html.slim
190
170
  - admin/app/views/gaku/admin/badge_types/_fields.html.slim
191
171
  - admin/app/views/gaku/admin/badge_types/_form.html.slim
192
172
  - admin/app/views/gaku/admin/badge_types/_form_fields.html.slim
193
173
  - admin/app/views/gaku/admin/badge_types/_modal.html.slim
174
+ - admin/app/views/gaku/admin/badge_types/create.js.erb
194
175
  - admin/app/views/gaku/admin/badge_types/destroy.js.erb
195
176
  - admin/app/views/gaku/admin/badge_types/edit.js.erb
196
- - admin/app/views/gaku/admin/badge_types/index.html.slim
177
+ - admin/app/views/gaku/admin/badge_types/index.js.erb
197
178
  - admin/app/views/gaku/admin/badge_types/new.js.erb
179
+ - admin/app/views/gaku/admin/badge_types/update.js.erb
180
+ - admin/app/views/gaku/admin/campuses/_campus.html.slim
181
+ - admin/app/views/gaku/admin/campuses/_campuses.html.slim
182
+ - admin/app/views/gaku/admin/campuses/_edit_form.html.slim
183
+ - admin/app/views/gaku/admin/campuses/_form.html.slim
184
+ - admin/app/views/gaku/admin/campuses/_form_fields.html.slim
185
+ - admin/app/views/gaku/admin/campuses/addresses/_address.html.slim
186
+ - admin/app/views/gaku/admin/campuses/addresses/_address_row_fields.html.slim
187
+ - admin/app/views/gaku/admin/campuses/addresses/_addresses.html.slim
188
+ - admin/app/views/gaku/admin/campuses/addresses/_fields.html.slim
189
+ - admin/app/views/gaku/admin/campuses/addresses/_form.html.slim
190
+ - admin/app/views/gaku/admin/campuses/addresses/_form_fields.html.slim
191
+ - admin/app/views/gaku/admin/campuses/addresses/_modal.html.slim
192
+ - admin/app/views/gaku/admin/campuses/addresses/create.js.erb
193
+ - admin/app/views/gaku/admin/campuses/addresses/destroy.js.erb
194
+ - admin/app/views/gaku/admin/campuses/addresses/edit.js.erb
195
+ - admin/app/views/gaku/admin/campuses/addresses/index.js.erb
196
+ - admin/app/views/gaku/admin/campuses/addresses/new.js.erb
197
+ - admin/app/views/gaku/admin/campuses/addresses/update.js.erb
198
+ - admin/app/views/gaku/admin/campuses/contacts/_contact.html.slim
199
+ - admin/app/views/gaku/admin/campuses/contacts/_contacts.html.slim
200
+ - admin/app/views/gaku/admin/campuses/contacts/_delete_link.html.slim
201
+ - admin/app/views/gaku/admin/campuses/contacts/_fields.html.slim
202
+ - admin/app/views/gaku/admin/campuses/contacts/_form.html.slim
203
+ - admin/app/views/gaku/admin/campuses/contacts/_form_fields.html.slim
204
+ - admin/app/views/gaku/admin/campuses/contacts/_modal.html.slim
205
+ - admin/app/views/gaku/admin/campuses/contacts/_primary_field.html.slim
206
+ - admin/app/views/gaku/admin/campuses/contacts/create.js.erb
207
+ - admin/app/views/gaku/admin/campuses/contacts/destroy.js.erb
208
+ - admin/app/views/gaku/admin/campuses/contacts/edit.js.erb
209
+ - admin/app/views/gaku/admin/campuses/contacts/index.js.erb
210
+ - admin/app/views/gaku/admin/campuses/contacts/make_primary.js.erb
211
+ - admin/app/views/gaku/admin/campuses/contacts/new.js.erb
212
+ - admin/app/views/gaku/admin/campuses/contacts/soft_delete.js.erb
213
+ - admin/app/views/gaku/admin/campuses/contacts/update.js.erb
214
+ - admin/app/views/gaku/admin/campuses/create.js.erb
215
+ - admin/app/views/gaku/admin/campuses/destroy.js.erb
216
+ - admin/app/views/gaku/admin/campuses/edit.html.slim
217
+ - admin/app/views/gaku/admin/campuses/edit.js.erb
218
+ - admin/app/views/gaku/admin/campuses/index.js.erb
219
+ - admin/app/views/gaku/admin/campuses/new.js.erb
220
+ - admin/app/views/gaku/admin/campuses/update.js.erb
198
221
  - admin/app/views/gaku/admin/commute_method_types/_commute_method_type.html.slim
222
+ - admin/app/views/gaku/admin/commute_method_types/_commute_method_types.html.slim
199
223
  - admin/app/views/gaku/admin/commute_method_types/_fields.html.slim
200
224
  - admin/app/views/gaku/admin/commute_method_types/_form.html.slim
201
225
  - admin/app/views/gaku/admin/commute_method_types/_modal.html.slim
202
226
  - admin/app/views/gaku/admin/commute_method_types/create.js.erb
203
227
  - admin/app/views/gaku/admin/commute_method_types/destroy.js.erb
204
228
  - admin/app/views/gaku/admin/commute_method_types/edit.js.erb
205
- - admin/app/views/gaku/admin/commute_method_types/index.html.slim
229
+ - admin/app/views/gaku/admin/commute_method_types/index.js.erb
206
230
  - admin/app/views/gaku/admin/commute_method_types/new.js.erb
207
231
  - admin/app/views/gaku/admin/commute_method_types/update.js.erb
208
232
  - admin/app/views/gaku/admin/contact_types/_contact_type.html.slim
233
+ - admin/app/views/gaku/admin/contact_types/_contact_types.html.slim
209
234
  - admin/app/views/gaku/admin/contact_types/_fields.html.slim
210
235
  - admin/app/views/gaku/admin/contact_types/_form.html.slim
211
236
  - admin/app/views/gaku/admin/contact_types/_modal.html.slim
212
237
  - admin/app/views/gaku/admin/contact_types/create.js.erb
213
238
  - admin/app/views/gaku/admin/contact_types/destroy.js.erb
214
239
  - admin/app/views/gaku/admin/contact_types/edit.js.erb
215
- - admin/app/views/gaku/admin/contact_types/index.html.slim
240
+ - admin/app/views/gaku/admin/contact_types/index.js.erb
216
241
  - admin/app/views/gaku/admin/contact_types/new.js.erb
217
242
  - admin/app/views/gaku/admin/contact_types/update.js.erb
218
243
  - admin/app/views/gaku/admin/departments/_department.html.slim
244
+ - admin/app/views/gaku/admin/departments/_departments.html.slim
219
245
  - admin/app/views/gaku/admin/departments/_form.html.slim
220
246
  - admin/app/views/gaku/admin/departments/_form_fields.html.slim
221
247
  - admin/app/views/gaku/admin/departments/_modal.html.slim
@@ -223,10 +249,11 @@ files:
223
249
  - admin/app/views/gaku/admin/departments/create.js.erb
224
250
  - admin/app/views/gaku/admin/departments/destroy.js.erb
225
251
  - admin/app/views/gaku/admin/departments/edit.js.erb
226
- - admin/app/views/gaku/admin/departments/index.html.slim
252
+ - admin/app/views/gaku/admin/departments/index.js.erb
227
253
  - admin/app/views/gaku/admin/departments/new.js.erb
228
254
  - admin/app/views/gaku/admin/departments/update.js.erb
229
255
  - admin/app/views/gaku/admin/enrollment_statuses/_enrollment_status.html.slim
256
+ - admin/app/views/gaku/admin/enrollment_statuses/_enrollment_statuses.html.slim
230
257
  - admin/app/views/gaku/admin/enrollment_statuses/_fields.html.slim
231
258
  - admin/app/views/gaku/admin/enrollment_statuses/_form.html.slim
232
259
  - admin/app/views/gaku/admin/enrollment_statuses/_form_fields.html.slim
@@ -234,15 +261,17 @@ files:
234
261
  - admin/app/views/gaku/admin/enrollment_statuses/create.js.erb
235
262
  - admin/app/views/gaku/admin/enrollment_statuses/destroy.js.erb
236
263
  - admin/app/views/gaku/admin/enrollment_statuses/edit.js.erb
237
- - admin/app/views/gaku/admin/enrollment_statuses/index.html.slim
264
+ - admin/app/views/gaku/admin/enrollment_statuses/index.js.erb
238
265
  - admin/app/views/gaku/admin/enrollment_statuses/new.js.erb
239
266
  - admin/app/views/gaku/admin/enrollment_statuses/update.js.erb
240
267
  - admin/app/views/gaku/admin/grading_method_sets/_fields.html.slim
241
268
  - admin/app/views/gaku/admin/grading_method_sets/_form.html.slim
242
269
  - admin/app/views/gaku/admin/grading_method_sets/_form_fields.html.slim
243
270
  - admin/app/views/gaku/admin/grading_method_sets/_grading_method_set.html.slim
271
+ - admin/app/views/gaku/admin/grading_method_sets/_grading_method_sets.html.slim
244
272
  - admin/app/views/gaku/admin/grading_method_sets/_make_primary_field.html.slim
245
273
  - admin/app/views/gaku/admin/grading_method_sets/_modal.html.slim
274
+ - admin/app/views/gaku/admin/grading_method_sets/_show.html.slim
246
275
  - admin/app/views/gaku/admin/grading_method_sets/create.js.erb
247
276
  - admin/app/views/gaku/admin/grading_method_sets/destroy.js.erb
248
277
  - admin/app/views/gaku/admin/grading_method_sets/edit.js.erb
@@ -257,22 +286,26 @@ files:
257
286
  - admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/edit.js.erb
258
287
  - admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/new.js.erb
259
288
  - admin/app/views/gaku/admin/grading_method_sets/grading_method_set_items/update.js.erb
260
- - admin/app/views/gaku/admin/grading_method_sets/index.html.slim
289
+ - admin/app/views/gaku/admin/grading_method_sets/index.js.erb
261
290
  - admin/app/views/gaku/admin/grading_method_sets/make_primary.js.erb
262
291
  - admin/app/views/gaku/admin/grading_method_sets/new.js.erb
263
- - admin/app/views/gaku/admin/grading_method_sets/show.html.slim
292
+ - admin/app/views/gaku/admin/grading_method_sets/show.js.erb
264
293
  - admin/app/views/gaku/admin/grading_method_sets/update.js.erb
294
+ - admin/app/views/gaku/admin/grading_methods/_criteria_form_fields.html.slim
295
+ - admin/app/views/gaku/admin/grading_methods/_criteria_template.html.slim
265
296
  - admin/app/views/gaku/admin/grading_methods/_fields.html.slim
266
297
  - admin/app/views/gaku/admin/grading_methods/_form.html.slim
267
298
  - admin/app/views/gaku/admin/grading_methods/_form_fields.html.slim
268
299
  - admin/app/views/gaku/admin/grading_methods/_grading_method.html.slim
300
+ - admin/app/views/gaku/admin/grading_methods/_grading_methods.html.slim
269
301
  - admin/app/views/gaku/admin/grading_methods/_modal.html.slim
270
302
  - admin/app/views/gaku/admin/grading_methods/create.js.erb
271
303
  - admin/app/views/gaku/admin/grading_methods/destroy.js.erb
272
304
  - admin/app/views/gaku/admin/grading_methods/edit.js.erb
273
- - admin/app/views/gaku/admin/grading_methods/index.html.slim
305
+ - admin/app/views/gaku/admin/grading_methods/index.js.erb
274
306
  - admin/app/views/gaku/admin/grading_methods/new.js.erb
275
307
  - admin/app/views/gaku/admin/grading_methods/update.js.erb
308
+ - admin/app/views/gaku/admin/home/index.html.slim
276
309
  - admin/app/views/gaku/admin/presets/_address.html.slim
277
310
  - admin/app/views/gaku/admin/presets/_chooser_fields.html.slim
278
311
  - admin/app/views/gaku/admin/presets/_export_formats.html.slim
@@ -283,31 +316,38 @@ files:
283
316
  - admin/app/views/gaku/admin/presets/_pagination.html.slim
284
317
  - admin/app/views/gaku/admin/presets/_person.html.slim
285
318
  - admin/app/views/gaku/admin/presets/_preset.html.slim
319
+ - admin/app/views/gaku/admin/presets/_presets.html.slim
286
320
  - admin/app/views/gaku/admin/presets/_student.html.slim
287
321
  - admin/app/views/gaku/admin/presets/_tabs.html.slim
288
322
  - admin/app/views/gaku/admin/presets/edit.html.slim
289
- - admin/app/views/gaku/admin/presets/index.html.slim
323
+ - admin/app/views/gaku/admin/presets/edit.js.erb
324
+ - admin/app/views/gaku/admin/presets/index.js.erb
325
+ - admin/app/views/gaku/admin/presets/update.js.erb
290
326
  - admin/app/views/gaku/admin/roles/_fields.html.slim
291
327
  - admin/app/views/gaku/admin/roles/_form.html.slim
292
328
  - admin/app/views/gaku/admin/roles/_form_fields.html.slim
293
329
  - admin/app/views/gaku/admin/roles/_modal.html.slim
294
330
  - admin/app/views/gaku/admin/roles/_role.html.slim
331
+ - admin/app/views/gaku/admin/roles/_roles.html.slim
295
332
  - admin/app/views/gaku/admin/roles/create.js.erb
296
333
  - admin/app/views/gaku/admin/roles/destroy.js.erb
297
334
  - admin/app/views/gaku/admin/roles/edit.js.erb
298
- - admin/app/views/gaku/admin/roles/index.html.slim
335
+ - admin/app/views/gaku/admin/roles/index.js.erb
299
336
  - admin/app/views/gaku/admin/roles/new.js.erb
300
337
  - admin/app/views/gaku/admin/roles/update.js.erb
338
+ - admin/app/views/gaku/admin/school_years/_edit_form.html.slim
301
339
  - admin/app/views/gaku/admin/school_years/_fields.html.slim
302
340
  - admin/app/views/gaku/admin/school_years/_form.html.slim
303
341
  - admin/app/views/gaku/admin/school_years/_form_fields.html.slim
304
342
  - admin/app/views/gaku/admin/school_years/_modal.html.slim
305
343
  - admin/app/views/gaku/admin/school_years/_school_year.html.slim
344
+ - admin/app/views/gaku/admin/school_years/_school_years.html.slim
306
345
  - admin/app/views/gaku/admin/school_years/_show_table.html.slim
307
346
  - admin/app/views/gaku/admin/school_years/create.js.erb
308
347
  - admin/app/views/gaku/admin/school_years/destroy.js.erb
348
+ - admin/app/views/gaku/admin/school_years/edit.html.slim
309
349
  - admin/app/views/gaku/admin/school_years/edit.js.erb
310
- - admin/app/views/gaku/admin/school_years/index.html.slim
350
+ - admin/app/views/gaku/admin/school_years/index.js.erb
311
351
  - admin/app/views/gaku/admin/school_years/new.js.erb
312
352
  - admin/app/views/gaku/admin/school_years/semesters/_fields.html.slim
313
353
  - admin/app/views/gaku/admin/school_years/semesters/_form.html.slim
@@ -318,61 +358,25 @@ files:
318
358
  - admin/app/views/gaku/admin/school_years/semesters/create.js.erb
319
359
  - admin/app/views/gaku/admin/school_years/semesters/destroy.js.erb
320
360
  - admin/app/views/gaku/admin/school_years/semesters/edit.js.erb
361
+ - admin/app/views/gaku/admin/school_years/semesters/index.js.erb
321
362
  - admin/app/views/gaku/admin/school_years/semesters/new.js.erb
322
363
  - admin/app/views/gaku/admin/school_years/semesters/update.js.erb
323
- - admin/app/views/gaku/admin/school_years/show.html.slim
324
364
  - admin/app/views/gaku/admin/school_years/update.js.erb
365
+ - admin/app/views/gaku/admin/schools/_edit_form.html.slim
366
+ - admin/app/views/gaku/admin/schools/_edit_master_form.html.slim
325
367
  - admin/app/views/gaku/admin/schools/_fields.html.slim
326
368
  - admin/app/views/gaku/admin/schools/_form.html.slim
327
369
  - admin/app/views/gaku/admin/schools/_form_fields.html.slim
328
370
  - admin/app/views/gaku/admin/schools/_school.html.slim
371
+ - admin/app/views/gaku/admin/schools/_schools.html.slim
329
372
  - admin/app/views/gaku/admin/schools/_show_table.html.slim
330
373
  - admin/app/views/gaku/admin/schools/_tabs.html.slim
331
- - admin/app/views/gaku/admin/schools/campuses/_campus.html.slim
332
- - admin/app/views/gaku/admin/schools/campuses/_campuses.html.slim
333
- - admin/app/views/gaku/admin/schools/campuses/_form.html.slim
334
- - admin/app/views/gaku/admin/schools/campuses/_form_fields.html.slim
335
- - admin/app/views/gaku/admin/schools/campuses/_picture.html.slim
336
- - admin/app/views/gaku/admin/schools/campuses/_show_table.html.slim
337
- - admin/app/views/gaku/admin/schools/campuses/_tabs.html.slim
338
- - admin/app/views/gaku/admin/schools/campuses/_upload_picture.html.slim
339
- - admin/app/views/gaku/admin/schools/campuses/addresses/_address.html.slim
340
- - admin/app/views/gaku/admin/schools/campuses/addresses/_address_row_fields.html.slim
341
- - admin/app/views/gaku/admin/schools/campuses/addresses/_addresses.html.slim
342
- - admin/app/views/gaku/admin/schools/campuses/addresses/_fields.html.slim
343
- - admin/app/views/gaku/admin/schools/campuses/addresses/_form.html.slim
344
- - admin/app/views/gaku/admin/schools/campuses/addresses/_form_fields.html.slim
345
- - admin/app/views/gaku/admin/schools/campuses/addresses/_modal.html.slim
346
- - admin/app/views/gaku/admin/schools/campuses/addresses/create.js.erb
347
- - admin/app/views/gaku/admin/schools/campuses/addresses/destroy.js.erb
348
- - admin/app/views/gaku/admin/schools/campuses/addresses/edit.js.erb
349
- - admin/app/views/gaku/admin/schools/campuses/addresses/new.js.erb
350
- - admin/app/views/gaku/admin/schools/campuses/addresses/update.js.erb
351
- - admin/app/views/gaku/admin/schools/campuses/contacts/_contact.html.slim
352
- - admin/app/views/gaku/admin/schools/campuses/contacts/_contacts.html.slim
353
- - admin/app/views/gaku/admin/schools/campuses/contacts/_delete_link.html.slim
354
- - admin/app/views/gaku/admin/schools/campuses/contacts/_fields.html.slim
355
- - admin/app/views/gaku/admin/schools/campuses/contacts/_form.html.slim
356
- - admin/app/views/gaku/admin/schools/campuses/contacts/_form_fields.html.slim
357
- - admin/app/views/gaku/admin/schools/campuses/contacts/_modal.html.slim
358
- - admin/app/views/gaku/admin/schools/campuses/contacts/_primary_field.html.slim
359
- - admin/app/views/gaku/admin/schools/campuses/contacts/create.js.erb
360
- - admin/app/views/gaku/admin/schools/campuses/contacts/destroy.js.erb
361
- - admin/app/views/gaku/admin/schools/campuses/contacts/edit.js.erb
362
- - admin/app/views/gaku/admin/schools/campuses/contacts/make_primary.js.erb
363
- - admin/app/views/gaku/admin/schools/campuses/contacts/new.js.erb
364
- - admin/app/views/gaku/admin/schools/campuses/contacts/soft_delete.js.erb
365
- - admin/app/views/gaku/admin/schools/campuses/contacts/update.js.erb
366
- - admin/app/views/gaku/admin/schools/campuses/create.js.erb
367
- - admin/app/views/gaku/admin/schools/campuses/destroy.js.erb
368
- - admin/app/views/gaku/admin/schools/campuses/edit.html.slim
369
- - admin/app/views/gaku/admin/schools/campuses/new.js.erb
370
- - admin/app/views/gaku/admin/schools/campuses/show.html.slim
371
374
  - admin/app/views/gaku/admin/schools/create.js.erb
372
375
  - admin/app/views/gaku/admin/schools/destroy.js.erb
373
376
  - admin/app/views/gaku/admin/schools/edit.html.slim
377
+ - admin/app/views/gaku/admin/schools/edit.js.erb
374
378
  - admin/app/views/gaku/admin/schools/edit_master.html.slim
375
- - admin/app/views/gaku/admin/schools/index.html.slim
379
+ - admin/app/views/gaku/admin/schools/index.js.erb
376
380
  - admin/app/views/gaku/admin/schools/new.js.erb
377
381
  - admin/app/views/gaku/admin/schools/programs/_fields.html.slim
378
382
  - admin/app/views/gaku/admin/schools/programs/_form.html.slim
@@ -383,6 +387,7 @@ files:
383
387
  - admin/app/views/gaku/admin/schools/programs/create.js.erb
384
388
  - admin/app/views/gaku/admin/schools/programs/destroy.js.erb
385
389
  - admin/app/views/gaku/admin/schools/programs/edit.js.erb
390
+ - admin/app/views/gaku/admin/schools/programs/index.js.erb
386
391
  - admin/app/views/gaku/admin/schools/programs/new.js.erb
387
392
  - admin/app/views/gaku/admin/schools/programs/program_levels/_form_fields.html.slim
388
393
  - admin/app/views/gaku/admin/schools/programs/program_levels/_modal.html.slim
@@ -394,19 +399,35 @@ files:
394
399
  - admin/app/views/gaku/admin/schools/programs/show_program_specialties.js.erb
395
400
  - admin/app/views/gaku/admin/schools/programs/show_program_syllabuses.js.erb
396
401
  - admin/app/views/gaku/admin/schools/programs/update.js.erb
397
- - admin/app/views/gaku/admin/schools/show.html.slim
398
- - admin/app/views/gaku/admin/schools/show_master.html.slim
402
+ - admin/app/views/gaku/admin/schools/update.js.erb
403
+ - admin/app/views/gaku/admin/shared/_ajax_picture.html.slim
404
+ - admin/app/views/gaku/admin/shared/_ajax_upload_picture.html.slim
399
405
  - admin/app/views/gaku/admin/shared/_picture.html.slim
400
406
  - admin/app/views/gaku/admin/shared/_upload_picture.html.slim
407
+ - admin/app/views/gaku/admin/shared/remove_picture.js.erb
408
+ - admin/app/views/gaku/admin/shared/set_picture.js.erb
409
+ - admin/app/views/gaku/admin/simple_grade_types/_fields.html.slim
410
+ - admin/app/views/gaku/admin/simple_grade_types/_form.html.slim
411
+ - admin/app/views/gaku/admin/simple_grade_types/_form_fields.html.slim
412
+ - admin/app/views/gaku/admin/simple_grade_types/_modal.html.slim
413
+ - admin/app/views/gaku/admin/simple_grade_types/_simple_grade_type.html.slim
414
+ - admin/app/views/gaku/admin/simple_grade_types/_simple_grade_types.html.slim
415
+ - admin/app/views/gaku/admin/simple_grade_types/create.js.erb
416
+ - admin/app/views/gaku/admin/simple_grade_types/destroy.js.erb
417
+ - admin/app/views/gaku/admin/simple_grade_types/edit.js.erb
418
+ - admin/app/views/gaku/admin/simple_grade_types/index.js.erb
419
+ - admin/app/views/gaku/admin/simple_grade_types/new.js.erb
420
+ - admin/app/views/gaku/admin/simple_grade_types/update.js.erb
401
421
  - admin/app/views/gaku/admin/specialties/_fields.html.slim
402
422
  - admin/app/views/gaku/admin/specialties/_form.html.slim
403
423
  - admin/app/views/gaku/admin/specialties/_form_fields.html.slim
404
424
  - admin/app/views/gaku/admin/specialties/_modal.html.slim
425
+ - admin/app/views/gaku/admin/specialties/_specialties.html.slim
405
426
  - admin/app/views/gaku/admin/specialties/_specialty.html.slim
406
427
  - admin/app/views/gaku/admin/specialties/create.js.erb
407
428
  - admin/app/views/gaku/admin/specialties/destroy.js.erb
408
429
  - admin/app/views/gaku/admin/specialties/edit.js.erb
409
- - admin/app/views/gaku/admin/specialties/index.html.slim
430
+ - admin/app/views/gaku/admin/specialties/index.js.erb
410
431
  - admin/app/views/gaku/admin/specialties/new.js.erb
411
432
  - admin/app/views/gaku/admin/specialties/update.js.erb
412
433
  - admin/app/views/gaku/admin/states/_country_select_form.html.slim
@@ -416,13 +437,26 @@ files:
416
437
  - admin/app/views/gaku/admin/states/_form_fields.html.slim
417
438
  - admin/app/views/gaku/admin/states/_modal.html.slim
418
439
  - admin/app/views/gaku/admin/states/_state.html.slim
440
+ - admin/app/views/gaku/admin/states/_states.html.slim
419
441
  - admin/app/views/gaku/admin/states/country_states.js.erb
420
442
  - admin/app/views/gaku/admin/states/create.js.erb
421
443
  - admin/app/views/gaku/admin/states/destroy.js.erb
422
444
  - admin/app/views/gaku/admin/states/edit.js.erb
423
- - admin/app/views/gaku/admin/states/index.html.slim
445
+ - admin/app/views/gaku/admin/states/index.js.erb
424
446
  - admin/app/views/gaku/admin/states/new.js.erb
425
447
  - admin/app/views/gaku/admin/states/update.js.erb
448
+ - admin/app/views/gaku/admin/student_review_categories/_form.html.slim
449
+ - admin/app/views/gaku/admin/student_review_categories/_form_fields.html.slim
450
+ - admin/app/views/gaku/admin/student_review_categories/_modal.html.slim
451
+ - admin/app/views/gaku/admin/student_review_categories/_student_review_categories.html.slim
452
+ - admin/app/views/gaku/admin/student_review_categories/_student_review_category.html.slim
453
+ - admin/app/views/gaku/admin/student_review_categories/_table_fields.html.slim
454
+ - admin/app/views/gaku/admin/student_review_categories/create.js.erb
455
+ - admin/app/views/gaku/admin/student_review_categories/destroy.js.erb
456
+ - admin/app/views/gaku/admin/student_review_categories/edit.js.erb
457
+ - admin/app/views/gaku/admin/student_review_categories/index.js.erb
458
+ - admin/app/views/gaku/admin/student_review_categories/new.js.erb
459
+ - admin/app/views/gaku/admin/student_review_categories/update.js.erb
426
460
  - admin/app/views/gaku/admin/system_tools/index.html.slim
427
461
  - admin/app/views/gaku/admin/templates/_error_msg.html.slim
428
462
  - admin/app/views/gaku/admin/templates/_fields.html.slim
@@ -430,19 +464,23 @@ files:
430
464
  - admin/app/views/gaku/admin/templates/_form_fields.html.slim
431
465
  - admin/app/views/gaku/admin/templates/_modal.html.slim
432
466
  - admin/app/views/gaku/admin/templates/_template.html.slim
467
+ - admin/app/views/gaku/admin/templates/_templates.html.slim
468
+ - admin/app/views/gaku/admin/templates/create.js.erb
433
469
  - admin/app/views/gaku/admin/templates/destroy.js.erb
434
- - admin/app/views/gaku/admin/templates/edit.html.slim
435
- - admin/app/views/gaku/admin/templates/index.html.slim
436
- - admin/app/views/gaku/admin/templates/new.html.slim
470
+ - admin/app/views/gaku/admin/templates/edit.js.erb
471
+ - admin/app/views/gaku/admin/templates/index.js.erb
472
+ - admin/app/views/gaku/admin/templates/new.js.erb
473
+ - admin/app/views/gaku/admin/templates/update.js.erb
437
474
  - admin/app/views/gaku/admin/users/_fields.html.slim
438
475
  - admin/app/views/gaku/admin/users/_form.html.slim
439
476
  - admin/app/views/gaku/admin/users/_form_fields.html.slim
440
477
  - admin/app/views/gaku/admin/users/_modal.html.slim
441
478
  - admin/app/views/gaku/admin/users/_user.html.slim
479
+ - admin/app/views/gaku/admin/users/_users.html.slim
442
480
  - admin/app/views/gaku/admin/users/create.js.erb
443
481
  - admin/app/views/gaku/admin/users/destroy.js.erb
444
482
  - admin/app/views/gaku/admin/users/edit.js.erb
445
- - admin/app/views/gaku/admin/users/index.html.slim
483
+ - admin/app/views/gaku/admin/users/index.js.erb
446
484
  - admin/app/views/gaku/admin/users/new.js.erb
447
485
  - admin/app/views/gaku/admin/users/update.js.erb
448
486
  - admin/app/views/gaku/layouts/admin/edit.html.slim
@@ -462,12 +500,12 @@ files:
462
500
  - admin/app/views/gaku/shared/_upload_picture.html.slim
463
501
  - admin/app/views/gaku/shared/error.js.erb
464
502
  - admin/app/views/gaku/shared/menu/_admin.html.erb
503
+ - admin/app/views/gaku/shared/menu/_admin_menu.html.erb
465
504
  - admin/app/views/gaku/shared/multi_error.js.erb
466
505
  - admin/app/views/gaku/shared/notice.js.erb
467
506
  - admin/app/views/gaku/states/_no_states_select.html.slim
468
507
  - admin/app/views/gaku/states/_states_select.html.slim
469
508
  - admin/app/views/gaku/states/index.js.erb
470
- - admin/config/initializers/client_side_validations.rb
471
509
  - admin/config/initializers/wrap_parameters.rb
472
510
  - admin/config/routes.rb
473
511
  - admin/gaku_admin.gemspec
@@ -478,7 +516,6 @@ files:
478
516
  - admin/lib/tasks/admin_user.rake
479
517
  - admin/lib/tasks/core.rake
480
518
  - admin/lib/tasks/reset.rake
481
- - admin/spec/controllers/gaku/admin/achievements/simple_grade_types_controller_spec.rb
482
519
  - admin/spec/controllers/gaku/admin/badge_types_controller_spec.rb
483
520
  - admin/spec/controllers/gaku/admin/departments_controller_spec.rb
484
521
  - admin/spec/controllers/gaku/admin/grading/grading_method_set_items_controller_spec.rb
@@ -491,6 +528,7 @@ files:
491
528
  - admin/spec/controllers/gaku/admin/schools/campuses/addresses_controller_spec.rb
492
529
  - admin/spec/controllers/gaku/admin/schools/campuses/campuses_controller_spec.rb
493
530
  - admin/spec/controllers/gaku/admin/schools/schools_controller_spec.rb
531
+ - admin/spec/controllers/gaku/admin/simple_grade_types_controller_spec.rb
494
532
  - admin/spec/controllers/gaku/admin/specialties_controller_spec.rb
495
533
  - admin/spec/controllers/gaku/admin/templates_controller_spec.rb
496
534
  - admin/spec/controllers/gaku/admin/types_and_methods/attendance_types_controller_spec.rb
@@ -498,8 +536,8 @@ files:
498
536
  - admin/spec/controllers/gaku/admin/types_and_methods/contact_types_controller_spec.rb
499
537
  - admin/spec/controllers/gaku/admin/types_and_methods/enrollment_statuses_controller_spec.rb
500
538
  - admin/spec/controllers/gaku/admin/users_controller_spec.rb
539
+ - admin/spec/features/achievements/badge_types_spec.rb
501
540
  - admin/spec/features/achievements/simple_grade_types_spec.rb
502
- - admin/spec/features/badge_types/badge_types_spec.rb
503
541
  - admin/spec/features/departments_spec.rb
504
542
  - admin/spec/features/grading/grading_method_set_items_spec.rb
505
543
  - admin/spec/features/grading/grading_method_sets_spec.rb
@@ -512,6 +550,7 @@ files:
512
550
  - admin/spec/features/presets/names_order_preset_spec.rb
513
551
  - admin/spec/features/presets/pagination_preset_spec.rb
514
552
  - admin/spec/features/presets/person_preset_spec.rb
553
+ - admin/spec/features/presets/time_format_spec.rb
515
554
  - admin/spec/features/roles_spec.rb
516
555
  - admin/spec/features/school_years/school_years_spec.rb
517
556
  - admin/spec/features/school_years/semesters_spec.rb
@@ -532,13 +571,14 @@ files:
532
571
  - admin/spec/features/types_and_methods/contact_types_spec.rb
533
572
  - admin/spec/features/types_and_methods/enrollment_statuses_spec.rb
534
573
  - admin/spec/features/types_and_methods/states_spec.rb
574
+ - admin/spec/features/types_and_methods/student_review_categories_spec.rb
535
575
  - admin/spec/features/users_spec.rb
576
+ - admin/spec/routing/admin/campuses/addresses_routes_spec.rb
577
+ - admin/spec/routing/admin/campuses/campuses_routing_spec.rb
578
+ - admin/spec/routing/admin/campuses/contacts_routing_spec.rb
536
579
  - admin/spec/routing/admin/school_years/school_years_routing_spec.rb
537
580
  - admin/spec/routing/admin/school_years/semesters_routing_spec.rb
538
- - admin/spec/routing/admin/schools/admin_school_routes_spec.rb
539
- - admin/spec/routing/admin/schools/campuses/admin_schools_campus_routes_spec.rb
540
- - admin/spec/routing/admin/schools/campuses/admin_schools_campuses_address_routes_spec.rb
541
- - admin/spec/routing/admin/schools/campuses/contacts_routing_spec.rb
581
+ - admin/spec/routing/admin/schools/schools_routes_spec.rb
542
582
  - admin/spec/routing/admin/simple_grade_types_routing_spec.rb
543
583
  - admin/spec/routing/admin/templates_routing_spec.rb
544
584
  - admin/spec/spec_helper.rb
@@ -551,157 +591,12 @@ files:
551
591
  - admin/spec/support/features/shared_examples/addresses_spec.rb
552
592
  - admin/spec/support/features/shared_examples/avatarable_spec.rb
553
593
  - admin/spec/support/features/shared_examples/contacts_spec.rb
594
+ - admin/spec/support/features/uploaded_file.rb
554
595
  - admin/spec/support/sample_roster.ods
555
- - all_dependencies.rb
556
- - archive/.rspec
557
- - archive/.ruby-gemset
558
- - archive/.ruby-version
559
- - archive/Gemfile
560
- - archive/Rakefile
561
- - archive/app/assets/javascripts/gaku/archive.js.coffee
562
- - archive/app/assets/stylesheets/gaku/archive.css
563
- - archive/app/controllers/concerns/trashable_controller.rb
564
- - archive/app/controllers/gaku/admin/changes/student_address_changes_controller.rb
565
- - archive/app/controllers/gaku/admin/changes/student_changes_controller.rb
566
- - archive/app/controllers/gaku/admin/changes/student_contact_changes_controller.rb
567
- - archive/app/controllers/gaku/admin/disposals_controller.rb
568
- - archive/app/controllers/gaku/admin/students_controller.rb
569
- - archive/app/controllers/gaku/class_groups_controller_injector.rb
570
- - archive/app/controllers/gaku/contacts_controller_injector.rb
571
- - archive/app/controllers/gaku/course_groups_controller_injector.rb
572
- - archive/app/controllers/gaku/courses_controller_injector.rb
573
- - archive/app/controllers/gaku/exams_controller_injector.rb
574
- - archive/app/controllers/gaku/extracurricular_activities_controller_injector.rb
575
- - archive/app/controllers/gaku/students_controller_injector.rb
576
- - archive/app/controllers/gaku/syllabuses_controller_injector.rb
577
- - archive/app/controllers/gaku/teachers_controller_injector.rb
578
- - archive/app/models/concerns/trashable.rb
579
- - archive/app/models/gaku/address_injector.rb
580
- - archive/app/models/gaku/attachment_injector.rb
581
- - archive/app/models/gaku/class_group_injector.rb
582
- - archive/app/models/gaku/contact_injector.rb
583
- - archive/app/models/gaku/course_group_injector.rb
584
- - archive/app/models/gaku/course_injector.rb
585
- - archive/app/models/gaku/exam_injector.rb
586
- - archive/app/models/gaku/extracurricular_activity_injector.rb
587
- - archive/app/models/gaku/guardian_injector.rb
588
- - archive/app/models/gaku/student_injector.rb
589
- - archive/app/models/gaku/syllabus_injector.rb
590
- - archive/app/models/gaku/teacher_injector.rb
591
- - archive/app/models/gaku/versioning/address_version.rb
592
- - archive/app/models/gaku/versioning/contact_version.rb
593
- - archive/app/models/gaku/versioning/student_version.rb
594
- - archive/app/overrides/archive_menu.rb
595
- - archive/app/views/gaku/addresses/_delete_link.html.slim
596
- - archive/app/views/gaku/admin/changes/student_address_changes/_change.html.slim
597
- - archive/app/views/gaku/admin/changes/student_address_changes/_changes.html.slim
598
- - archive/app/views/gaku/admin/changes/student_address_changes/_deletion.html.slim
599
- - archive/app/views/gaku/admin/changes/student_address_changes/index.html.slim
600
- - archive/app/views/gaku/admin/changes/student_changes/_change.html.slim
601
- - archive/app/views/gaku/admin/changes/student_changes/_changes.html.slim
602
- - archive/app/views/gaku/admin/changes/student_changes/_deletion.html.slim
603
- - archive/app/views/gaku/admin/changes/student_changes/index.html.slim
604
- - archive/app/views/gaku/admin/changes/student_contact_changes/_change.html.slim
605
- - archive/app/views/gaku/admin/changes/student_contact_changes/_changes.html.slim
606
- - archive/app/views/gaku/admin/changes/student_contact_changes/_deletion.html.slim
607
- - archive/app/views/gaku/admin/changes/student_contact_changes/index.html.slim
608
- - archive/app/views/gaku/admin/disposals/_address.html.slim
609
- - archive/app/views/gaku/admin/disposals/_addresses.html.slim
610
- - archive/app/views/gaku/admin/disposals/_contact.html.slim
611
- - archive/app/views/gaku/admin/disposals/_contacts.html.slim
612
- - archive/app/views/gaku/admin/disposals/_course_group.html.slim
613
- - archive/app/views/gaku/admin/disposals/_course_groups.html.slim
614
- - archive/app/views/gaku/admin/disposals/_exam.html.slim
615
- - archive/app/views/gaku/admin/disposals/_guardian.html.slim
616
- - archive/app/views/gaku/admin/disposals/_student.html.slim
617
- - archive/app/views/gaku/admin/disposals/_tabs.html.slim
618
- - archive/app/views/gaku/admin/disposals/_teacher.html.slim
619
- - archive/app/views/gaku/admin/disposals/addresses.html.slim
620
- - archive/app/views/gaku/admin/disposals/attachments.html.slim
621
- - archive/app/views/gaku/admin/disposals/contacts.html.slim
622
- - archive/app/views/gaku/admin/disposals/course_groups.html.slim
623
- - archive/app/views/gaku/admin/disposals/exams.html.slim
624
- - archive/app/views/gaku/admin/disposals/guardians.html.slim
625
- - archive/app/views/gaku/admin/disposals/index.html.slim
626
- - archive/app/views/gaku/admin/disposals/students.html.slim
627
- - archive/app/views/gaku/admin/disposals/tabs/_addresses_tabs.html.slim
628
- - archive/app/views/gaku/admin/disposals/tabs/_contacts_tabs.html.slim
629
- - archive/app/views/gaku/admin/disposals/teachers.html.slim
630
- - archive/app/views/gaku/class_groups/recovery.js.erb
631
- - archive/app/views/gaku/contacts/_delete_link.html.slim
632
- - archive/app/views/gaku/course_groups/recovery.js.erb
633
- - archive/app/views/gaku/courses/recovery.js.erb
634
- - archive/app/views/gaku/exams/recovery.js.erb
635
- - archive/app/views/gaku/extracurricular_activities/recovery.js.erb
636
- - archive/app/views/gaku/shared/_delete_link.html.slim
637
- - archive/app/views/gaku/shared/_delete_modal.html.slim
638
- - archive/app/views/gaku/shared/menu/_archive.html.erb
639
- - archive/app/views/gaku/students/recovery.js.erb
640
- - archive/app/views/gaku/syllabuses/recovery.js.erb
641
- - archive/app/views/gaku/teachers/recovery.js.erb
642
- - archive/config/initializers/paper_trail.rb
643
- - archive/config/routes.rb
644
- - archive/db/migrate/20131203160531_create_versioning_tables.rb
645
- - archive/db/migrate/20131203160607_add_deleted_fields.rb
646
- - archive/gaku_archive.gemspec
647
- - archive/lib/gaku/archive.rb
648
- - archive/lib/gaku/archive/engine.rb
649
- - archive/lib/gaku_archive.rb
650
- - archive/spec/controllers/gaku/addresses_controller_spec.rb
651
- - archive/spec/controllers/gaku/admin/disposals_controller_spec.rb
652
- - archive/spec/controllers/gaku/class_groups_controller_spec.rb
653
- - archive/spec/controllers/gaku/contacts_controller_spec.rb
654
- - archive/spec/controllers/gaku/course_groups_controller_spec.rb
655
- - archive/spec/controllers/gaku/courses_controller_spec.rb
656
- - archive/spec/controllers/gaku/exams_controller_spec.rb
657
- - archive/spec/controllers/gaku/extracurricular_activities_controller_spec.rb
658
- - archive/spec/controllers/gaku/students_controller_spec.rb
659
- - archive/spec/controllers/gaku/syllabuses_controller_spec.rb
660
- - archive/spec/controllers/gaku/teachers_controller_spec.rb
661
- - archive/spec/features/admin/changes_and_deletions/student_addresses_spec.rb
662
- - archive/spec/features/admin/changes_and_deletions/student_contacts_spec.rb
663
- - archive/spec/features/admin/changes_and_deletions/students_spec.rb
664
- - archive/spec/features/admin/disposals/student_disposals_spec.rb
665
- - archive/spec/features/admin/disposals/teacher_disposals_spec.rb
666
- - archive/spec/features/students/addresses_spec.rb
667
- - archive/spec/features/students/contacts_spec.rb
668
- - archive/spec/features/students/guardians/addresses_spec.rb
669
- - archive/spec/features/students/guardians/contacts_spec.rb
670
- - archive/spec/features/students/guardians/guardians_spec.rb
671
- - archive/spec/features/students/students_spec.rb
672
- - archive/spec/integration/student_address_versioning_spec.rb
673
- - archive/spec/integration/student_contact_vesioning_spec.rb
674
- - archive/spec/integration/student_versioning_spec.rb
675
- - archive/spec/models/address_spec.rb
676
- - archive/spec/models/attachment_spec.rb
677
- - archive/spec/models/class_group_spec.rb
678
- - archive/spec/models/contact_spec.rb
679
- - archive/spec/models/course_group_spec.rb
680
- - archive/spec/models/course_spec.rb
681
- - archive/spec/models/exam_spec.rb
682
- - archive/spec/models/extracurricular_activity_spec.rb
683
- - archive/spec/models/guardian_spec.rb
684
- - archive/spec/models/student_spec.rb
685
- - archive/spec/models/syllabus_spec.rb
686
- - archive/spec/models/teacher_spec.rb
687
- - archive/spec/routing/student_routes_spec.rb
688
- - archive/spec/routing/students/guardians_routes_spec.rb
689
- - archive/spec/spec_helper.rb
690
- - archive/spec/spec_helper_base.rb
691
- - archive/spec/spec_helper_controllers.rb
692
- - archive/spec/spec_helper_models.rb
693
- - archive/spec/spec_helper_routing.rb
694
- - archive/spec/support/controllers.rb
695
- - archive/spec/support/controllers/matchers/have_attributes_matcher.rb
696
- - archive/spec/support/controllers/shared_examples/allow.rb
697
- - archive/spec/support/controllers/shared_examples/deny.rb
698
- - archive/spec/support/features.rb
699
- - archive/spec/support/features/shared_examples/addresses_spec.rb
700
- - archive/spec/support/features/shared_examples/contacts_spec.rb
701
- - archive/spec/support/models/shared_examples/thrashable.rb
596
+ - admin/spec/support/test.txt
597
+ - common_gaku_dependencies.rb
598
+ - common_gaku_gemspec_mixin.rb
702
599
  - core/.rspec
703
- - core/.ruby-gemset
704
- - core/.ruby-version
705
600
  - core/Gemfile
706
601
  - core/Guardfile
707
602
  - core/Rakefile
@@ -762,10 +657,14 @@ files:
762
657
  - core/app/decorators/gaku/teacher_decorator.rb
763
658
  - core/app/models/concerns/addresses.rb
764
659
  - core/app/models/concerns/contacts.rb
660
+ - core/app/models/concerns/enrollmentable.rb
661
+ - core/app/models/concerns/gradable.rb
765
662
  - core/app/models/concerns/notes.rb
766
663
  - core/app/models/concerns/pagination.rb
767
664
  - core/app/models/concerns/person.rb
768
665
  - core/app/models/concerns/picture.rb
666
+ - core/app/models/concerns/semesterable.rb
667
+ - core/app/models/concerns/student_reviewable.rb
769
668
  - core/app/models/gaku/ability.rb
770
669
  - core/app/models/gaku/address.rb
771
670
  - core/app/models/gaku/admin_ability.rb
@@ -778,30 +677,28 @@ files:
778
677
  - core/app/models/gaku/badge_type.rb
779
678
  - core/app/models/gaku/campus.rb
780
679
  - core/app/models/gaku/class_group.rb
781
- - core/app/models/gaku/class_group_course_enrollment.rb
782
- - core/app/models/gaku/class_group_enrollment.rb
783
680
  - core/app/models/gaku/commute_method_type.rb
784
681
  - core/app/models/gaku/contact.rb
785
682
  - core/app/models/gaku/contact_type.rb
786
683
  - core/app/models/gaku/country.rb
787
684
  - core/app/models/gaku/course.rb
788
- - core/app/models/gaku/course_enrollment.rb
789
685
  - core/app/models/gaku/course_group.rb
790
686
  - core/app/models/gaku/course_group_enrollment.rb
791
687
  - core/app/models/gaku/department.rb
792
- - core/app/models/gaku/disposal.rb
688
+ - core/app/models/gaku/enrollment.rb
793
689
  - core/app/models/gaku/enrollment_status.rb
794
690
  - core/app/models/gaku/exam.rb
795
691
  - core/app/models/gaku/exam_portion.rb
796
692
  - core/app/models/gaku/exam_portion_score.rb
797
693
  - core/app/models/gaku/exam_schedule.rb
798
694
  - core/app/models/gaku/exam_score.rb
695
+ - core/app/models/gaku/exam_session.rb
799
696
  - core/app/models/gaku/exam_syllabus.rb
800
697
  - core/app/models/gaku/external_school_record.rb
801
698
  - core/app/models/gaku/extracurricular_activity.rb
802
- - core/app/models/gaku/extracurricular_activity_enrollment.rb
803
699
  - core/app/models/gaku/faculty.rb
804
700
  - core/app/models/gaku/grading_method.rb
701
+ - core/app/models/gaku/grading_method_connector.rb
805
702
  - core/app/models/gaku/grading_method_set.rb
806
703
  - core/app/models/gaku/grading_method_set_item.rb
807
704
  - core/app/models/gaku/guardian.rb
@@ -822,20 +719,27 @@ files:
822
719
  - core/app/models/gaku/school_role.rb
823
720
  - core/app/models/gaku/school_year.rb
824
721
  - core/app/models/gaku/semester.rb
825
- - core/app/models/gaku/semester_class_group.rb
826
- - core/app/models/gaku/semester_course.rb
722
+ - core/app/models/gaku/semester_attendance.rb
723
+ - core/app/models/gaku/semester_connector.rb
827
724
  - core/app/models/gaku/simple_grade.rb
828
725
  - core/app/models/gaku/simple_grade_type.rb
829
726
  - core/app/models/gaku/specialty.rb
830
727
  - core/app/models/gaku/state.rb
831
728
  - core/app/models/gaku/student.rb
729
+ - core/app/models/gaku/student_exam_session.rb
832
730
  - core/app/models/gaku/student_guardian.rb
731
+ - core/app/models/gaku/student_review.rb
732
+ - core/app/models/gaku/student_review_category.rb
833
733
  - core/app/models/gaku/student_specialty.rb
834
734
  - core/app/models/gaku/syllabus.rb
835
735
  - core/app/models/gaku/teacher.rb
836
736
  - core/app/models/gaku/template.rb
837
737
  - core/app/models/gaku/user.rb
838
738
  - core/app/models/gaku/user_role.rb
739
+ - core/app/services/gaku/contact_creation.rb
740
+ - core/app/services/gaku/contact_updation.rb
741
+ - core/app/services/gaku/student_selection.rb
742
+ - core/app/services/gaku/user_creator.rb
839
743
  - core/app/views/gaku/admin/grading_methods/_arguments_form_fields.html.slim
840
744
  - core/app/views/gaku/admin/grading_methods/_arguments_template.html.slim
841
745
  - core/app/views/gaku/shared/menu/_global.html.erb
@@ -845,6 +749,7 @@ files:
845
749
  - core/config/initializers/inflections.rb
846
750
  - core/config/initializers/kaminari.rb
847
751
  - core/config/initializers/locale.rb
752
+ - core/config/initializers/redis.rb
848
753
  - core/config/initializers/translation_missing.rb
849
754
  - core/config/locales/bg.yml
850
755
  - core/config/locales/en.yml
@@ -852,6 +757,7 @@ files:
852
757
  - core/config/locales/pt-BR.yml
853
758
  - core/config/locales/zh-CN.yml
854
759
  - core/config/routes.rb
760
+ - core/core_dependencies.rb
855
761
  - core/db/default/gaku/attendance_types.rb
856
762
  - core/db/default/gaku/commute_method_types.rb
857
763
  - core/db/default/gaku/contact_types.yml
@@ -866,9 +772,26 @@ files:
866
772
  - core/db/migrate/20120202111850_presets.rb
867
773
  - core/db/migrate/20131014065028_translations.rb
868
774
  - core/db/migrate/20131025073352_gaku_core.rb
775
+ - core/db/migrate/20140128141752_change_grading_methods_arguments_field.rb
869
776
  - core/db/migrate/20140130182100_change_fields_external_school_record.rb
870
777
  - core/db/migrate/20140131113337_create_student_configs.rb
871
778
  - core/db/migrate/20140207093618_drop_student_configs.rb
779
+ - core/db/migrate/20140213113405_create_grading_method_connectors_table.rb
780
+ - core/db/migrate/20140304094422_create_gaku_exam_sessions_table.rb
781
+ - core/db/migrate/20140304101025_create_gaku_student_exam_session_table.rb
782
+ - core/db/migrate/20140325073941_add_time_format_24_to_presets_table.rb
783
+ - core/db/migrate/20140408111314_remove_semester_join_tables.rb
784
+ - core/db/migrate/20140408111358_create_semester_connectors_table.rb
785
+ - core/db/migrate/20140423093155_create_enrollments_table.rb
786
+ - core/db/migrate/20140423100114_clean_enrollments_join_models.rb
787
+ - core/db/migrate/20140429112725_add_counters_to_enrollmentable.rb
788
+ - core/db/migrate/20140604104210_rename_method_to_grading_method.rb
789
+ - core/db/migrate/20140604113045_add_default_value_to_curved.rb
790
+ - core/db/migrate/20140610091053_add_seat_number_to_enrollments.rb
791
+ - core/db/migrate/20140701104700_change_hstore_to_string_criteria.rb
792
+ - core/db/migrate/20140715135152_create_semester_attendance_table.rb
793
+ - core/db/migrate/20140718105226_create_student_review_categories_table.rb
794
+ - core/db/migrate/20140728121353_create_student_review_table.rb
872
795
  - core/db/schema.rb
873
796
  - core/db/seeds.rb
874
797
  - core/gaku_core.gemspec
@@ -877,9 +800,22 @@ files:
877
800
  - core/lib/gaku/core/console_colors.rb
878
801
  - core/lib/gaku/core/engine.rb
879
802
  - core/lib/gaku/core/url_helpers.rb
880
- - core/lib/gaku/grading/calculations.rb
881
- - core/lib/gaku/grading/grade.rb
882
- - core/lib/gaku/grading/japanese_hs_standard.rb
803
+ - core/lib/gaku/grading/collection/base_method.rb
804
+ - core/lib/gaku/grading/collection/calculations.rb
805
+ - core/lib/gaku/grading/collection/interval.rb
806
+ - core/lib/gaku/grading/collection/ordinal.rb
807
+ - core/lib/gaku/grading/collection/percentage.rb
808
+ - core/lib/gaku/grading/collection/result.rb
809
+ - core/lib/gaku/grading/collection/score.rb
810
+ - core/lib/gaku/grading/single/base_method.rb
811
+ - core/lib/gaku/grading/single/calculations.rb
812
+ - core/lib/gaku/grading/single/interval.rb
813
+ - core/lib/gaku/grading/single/ordinal.rb
814
+ - core/lib/gaku/grading/single/pass_fail.rb
815
+ - core/lib/gaku/grading/single/percentage.rb
816
+ - core/lib/gaku/grading/single/ratio.rb
817
+ - core/lib/gaku/grading/single/result.rb
818
+ - core/lib/gaku/grading/single/score.rb
883
819
  - core/lib/gaku/migrations.rb
884
820
  - core/lib/gaku/streamer/sse.rb
885
821
  - core/lib/gaku/testing/auth_helpers.rb
@@ -897,10 +833,9 @@ files:
897
833
  - core/lib/gaku/testing/factories/badge_factory.rb
898
834
  - core/lib/gaku/testing/factories/badge_type_factory.rb
899
835
  - core/lib/gaku/testing/factories/campus_factory.rb
900
- - core/lib/gaku/testing/factories/class_group_course_enrollment_factory.rb
901
- - core/lib/gaku/testing/factories/class_group_enrollment_factory.rb
902
836
  - core/lib/gaku/testing/factories/class_group_factory.rb
903
837
  - core/lib/gaku/testing/factories/commute_method_type_factory.rb
838
+ - core/lib/gaku/testing/factories/contact_creation_factory.rb
904
839
  - core/lib/gaku/testing/factories/contact_factory.rb
905
840
  - core/lib/gaku/testing/factories/contact_type_factory.rb
906
841
  - core/lib/gaku/testing/factories/country_factory.rb
@@ -909,15 +844,18 @@ files:
909
844
  - core/lib/gaku/testing/factories/course_group_enrollment_factory.rb
910
845
  - core/lib/gaku/testing/factories/course_group_factory.rb
911
846
  - core/lib/gaku/testing/factories/department_factory.rb
847
+ - core/lib/gaku/testing/factories/enrollment_factory.rb
912
848
  - core/lib/gaku/testing/factories/enrollment_status_factory.rb
913
849
  - core/lib/gaku/testing/factories/exam_factory.rb
914
850
  - core/lib/gaku/testing/factories/exam_portion_factory.rb
915
851
  - core/lib/gaku/testing/factories/exam_portion_score_factory.rb
916
852
  - core/lib/gaku/testing/factories/exam_schedule_factory.rb
917
853
  - core/lib/gaku/testing/factories/exam_score_factory.rb
854
+ - core/lib/gaku/testing/factories/exam_session_factory.rb
918
855
  - core/lib/gaku/testing/factories/external_school_record_factory.rb
919
856
  - core/lib/gaku/testing/factories/extracurricular_activity_factory.rb
920
857
  - core/lib/gaku/testing/factories/faculty_factory.rb
858
+ - core/lib/gaku/testing/factories/grading_method_connector_factory.rb
921
859
  - core/lib/gaku/testing/factories/grading_method_factory.rb
922
860
  - core/lib/gaku/testing/factories/grading_method_set_factory.rb
923
861
  - core/lib/gaku/testing/factories/grading_method_set_item_factory.rb
@@ -937,14 +875,17 @@ files:
937
875
  - core/lib/gaku/testing/factories/school_factory.rb
938
876
  - core/lib/gaku/testing/factories/school_role_factory.rb
939
877
  - core/lib/gaku/testing/factories/school_year_factory.rb
940
- - core/lib/gaku/testing/factories/semester_class_group_factory.rb
941
- - core/lib/gaku/testing/factories/semester_course.rb
878
+ - core/lib/gaku/testing/factories/semester_attendance_factory.rb
879
+ - core/lib/gaku/testing/factories/semester_connectors_factory.rb
942
880
  - core/lib/gaku/testing/factories/semester_factory.rb
943
881
  - core/lib/gaku/testing/factories/simple_grade_factory.rb
944
882
  - core/lib/gaku/testing/factories/simple_grade_type_factory.rb
945
883
  - core/lib/gaku/testing/factories/specialty_factory.rb
946
884
  - core/lib/gaku/testing/factories/state_factory.rb
885
+ - core/lib/gaku/testing/factories/student_exam_session_factory.rb
947
886
  - core/lib/gaku/testing/factories/student_factory.rb
887
+ - core/lib/gaku/testing/factories/student_review_category_factory.rb
888
+ - core/lib/gaku/testing/factories/student_review_factory.rb
948
889
  - core/lib/gaku/testing/factories/student_specialty_factory.rb
949
890
  - core/lib/gaku/testing/factories/syllabus_factory.rb
950
891
  - core/lib/gaku/testing/factories/teacher_factory.rb
@@ -969,6 +910,17 @@ files:
969
910
  - core/lib/tasks/admin_user.rake
970
911
  - core/lib/tasks/core.rake
971
912
  - core/lib/tasks/reset.rake
913
+ - core/spec/lib/gaku/grading/collection/calculations_spec.rb
914
+ - core/spec/lib/gaku/grading/collection/interval_spec.rb
915
+ - core/spec/lib/gaku/grading/collection/ordinal_spec.rb
916
+ - core/spec/lib/gaku/grading/collection/percentage_spec.rb
917
+ - core/spec/lib/gaku/grading/collection/result_spec.rb
918
+ - core/spec/lib/gaku/grading/collection/score_spec.rb
919
+ - core/spec/lib/gaku/grading/single/calculations_spec.rb
920
+ - core/spec/lib/gaku/grading/single/ordinal_spec.rb
921
+ - core/spec/lib/gaku/grading/single/percentage_spec.rb
922
+ - core/spec/lib/gaku/grading/single/result_spec.rb
923
+ - core/spec/lib/gaku/grading/single/score_spec.rb
972
924
  - core/spec/models/address_spec.rb
973
925
  - core/spec/models/assignment_score_spec.rb
974
926
  - core/spec/models/assignment_spec.rb
@@ -978,30 +930,29 @@ files:
978
930
  - core/spec/models/badge_spec.rb
979
931
  - core/spec/models/badge_type_spec.rb
980
932
  - core/spec/models/campus_spec.rb
981
- - core/spec/models/class_group_course_enrollment_spec.rb
982
- - core/spec/models/class_group_enrollment_spec.rb
983
933
  - core/spec/models/class_group_spec.rb
984
934
  - core/spec/models/commute_method_type_spec.rb
985
935
  - core/spec/models/contact_spec.rb
986
936
  - core/spec/models/contact_type_spec.rb
987
937
  - core/spec/models/country_spec.rb
988
- - core/spec/models/course_enrollment_spec.rb
989
938
  - core/spec/models/course_group_enrollment_spec.rb
990
939
  - core/spec/models/course_group_spec.rb
991
940
  - core/spec/models/course_spec.rb
992
941
  - core/spec/models/department_spec.rb
942
+ - core/spec/models/enrollment_spec.rb
993
943
  - core/spec/models/enrollment_status_spec.rb
994
944
  - core/spec/models/exam_portion_score_spec.rb
995
945
  - core/spec/models/exam_portion_spec.rb
996
946
  - core/spec/models/exam_schedule_spec.rb
997
947
  - core/spec/models/exam_score_spec.rb
948
+ - core/spec/models/exam_session_spec.rb
998
949
  - core/spec/models/exam_spec.rb
999
950
  - core/spec/models/exam_syllabus_spec.rb
1000
951
  - core/spec/models/external_school_record_spec.rb
1001
- - core/spec/models/extracurricular_activity_enrollment_spec.rb
1002
952
  - core/spec/models/extracurricular_activity_spec.rb
1003
953
  - core/spec/models/factories_spec.rb
1004
954
  - core/spec/models/faculty_spec.rb
955
+ - core/spec/models/grading_method_connector_spec.rb
1005
956
  - core/spec/models/grading_method_set_item_spec.rb
1006
957
  - core/spec/models/grading_method_set_spec.rb
1007
958
  - core/spec/models/grading_method_spec.rb
@@ -1020,14 +971,17 @@ files:
1020
971
  - core/spec/models/school_role_spec.rb
1021
972
  - core/spec/models/school_spec.rb
1022
973
  - core/spec/models/school_year_spec.rb
1023
- - core/spec/models/semester_class_group_spec.rb
1024
- - core/spec/models/semester_course_spec.rb
974
+ - core/spec/models/semester_attendance_spec.rb
975
+ - core/spec/models/semester_connector_spec.rb
1025
976
  - core/spec/models/semester_spec.rb
1026
977
  - core/spec/models/simple_grade_spec.rb
1027
978
  - core/spec/models/simple_grade_type_spec.rb
1028
979
  - core/spec/models/specialty_spec.rb
1029
980
  - core/spec/models/state_spec.rb
981
+ - core/spec/models/student_exam_session_spec.rb
1030
982
  - core/spec/models/student_guardian_spec.rb
983
+ - core/spec/models/student_review_category_spec.rb
984
+ - core/spec/models/student_review_spec.rb
1031
985
  - core/spec/models/student_spec.rb
1032
986
  - core/spec/models/student_speciality_spec.rb
1033
987
  - core/spec/models/syllabus_spec.rb
@@ -1035,6 +989,10 @@ files:
1035
989
  - core/spec/models/template_spec.rb
1036
990
  - core/spec/models/user_role_spec.rb
1037
991
  - core/spec/models/user_spec.rb
992
+ - core/spec/services/contact_creation_spec.rb
993
+ - core/spec/services/contact_updation_spec.rb
994
+ - core/spec/services/student_selection_spec.rb
995
+ - core/spec/services/user_creator_spec.rb
1038
996
  - core/spec/spec_helper_base.rb
1039
997
  - core/spec/spec_helper_models.rb
1040
998
  - core/spec/support/120x120.jpg
@@ -1042,15 +1000,16 @@ files:
1042
1000
  - core/spec/support/models/shared_examples/addressable.rb
1043
1001
  - core/spec/support/models/shared_examples/avatarable.rb
1044
1002
  - core/spec/support/models/shared_examples/contactable.rb
1003
+ - core/spec/support/models/shared_examples/enrollmentable.rb
1004
+ - core/spec/support/models/shared_examples/gradable.rb
1045
1005
  - core/spec/support/models/shared_examples/notable.rb
1046
1006
  - core/spec/support/models/shared_examples/person.rb
1007
+ - core/spec/support/models/shared_examples/semesterable.rb
1008
+ - core/spec/support/models/shared_examples/student_reviewable.rb
1047
1009
  - core/spec/support/sample_roster.ods
1048
- - core_dependencies.rb
1049
1010
  - doc/authorized_service_providers/Genshin/genshin_okazaki_office.geojson
1050
1011
  - frontend/.gitignore
1051
1012
  - frontend/.rspec
1052
- - frontend/.ruby-gemset
1053
- - frontend/.ruby-version
1054
1013
  - frontend/Gemfile
1055
1014
  - frontend/Guardfile
1056
1015
  - frontend/Rakefile
@@ -1064,6 +1023,7 @@ files:
1064
1023
  - frontend/app/assets/javascripts/gaku/frontend/courses.js.coffee
1065
1024
  - frontend/app/assets/javascripts/gaku/frontend/exams.js.coffee
1066
1025
  - frontend/app/assets/javascripts/gaku/frontend/extracurricular_activities.js.coffee
1026
+ - frontend/app/assets/javascripts/gaku/frontend/guardians.js.coffee
1067
1027
  - frontend/app/assets/javascripts/gaku/frontend/slide.js.erb
1068
1028
  - frontend/app/assets/javascripts/gaku/frontend/students.js.coffee
1069
1029
  - frontend/app/assets/javascripts/gaku/frontend/syllabuses.js.coffee
@@ -1077,46 +1037,46 @@ files:
1077
1037
  - frontend/app/assets/stylesheets/gaku/frontend/gaku.css.scss
1078
1038
  - frontend/app/assets/stylesheets/gaku/frontend/students.css.scss
1079
1039
  - frontend/app/assets/templates/roster.xls
1080
- - frontend/app/controllers/concerns/enrollments_controller.rb
1040
+ - frontend/app/controllers/concerns/picture_controller.rb
1041
+ - frontend/app/controllers/concerns/poly_controller.rb
1081
1042
  - frontend/app/controllers/concerns/polymorphic_resource_concern.rb
1082
1043
  - frontend/app/controllers/concerns/student_chooser_controller.rb
1083
1044
  - frontend/app/controllers/gaku/addresses_controller.rb
1084
1045
  - frontend/app/controllers/gaku/attachments_controller.rb
1085
1046
  - frontend/app/controllers/gaku/attendances_controller.rb
1086
- - frontend/app/controllers/gaku/class_group_enrollments_controller.rb
1087
- - frontend/app/controllers/gaku/class_groups/courses_controller.rb
1088
- - frontend/app/controllers/gaku/class_groups/semester_class_groups_controller.rb
1089
- - frontend/app/controllers/gaku/class_groups/students_controller.rb
1047
+ - frontend/app/controllers/gaku/class_groups/enrollments_controller.rb
1048
+ - frontend/app/controllers/gaku/class_groups/semester_attendances_controller.rb
1049
+ - frontend/app/controllers/gaku/class_groups/student_reviews_controller.rb
1090
1050
  - frontend/app/controllers/gaku/class_groups_controller.rb
1091
1051
  - frontend/app/controllers/gaku/contacts_controller.rb
1092
- - frontend/app/controllers/gaku/course_enrollments_controller.rb
1093
1052
  - frontend/app/controllers/gaku/course_groups/course_group_enrollments_controller.rb
1094
1053
  - frontend/app/controllers/gaku/course_groups_controller.rb
1095
- - frontend/app/controllers/gaku/courses/enrollments_controller.rb
1096
1054
  - frontend/app/controllers/gaku/courses/exams_controller.rb
1097
- - frontend/app/controllers/gaku/courses/semester_courses_controller.rb
1098
1055
  - frontend/app/controllers/gaku/courses_controller.rb
1099
1056
  - frontend/app/controllers/gaku/devise/passwords_controller.rb
1100
1057
  - frontend/app/controllers/gaku/devise/registrations_controller.rb
1101
1058
  - frontend/app/controllers/gaku/devise/sessions_controller.rb
1059
+ - frontend/app/controllers/gaku/enrollments_controller.rb
1102
1060
  - frontend/app/controllers/gaku/exam_portion_scores_controller.rb
1103
- - frontend/app/controllers/gaku/exams/exam_portions/attachments_controller.rb
1104
1061
  - frontend/app/controllers/gaku/exams/exam_portions_controller.rb
1062
+ - frontend/app/controllers/gaku/exams/exam_sessions_controller.rb
1105
1063
  - frontend/app/controllers/gaku/exams_controller.rb
1106
- - frontend/app/controllers/gaku/extracurricular_activities/students_controller.rb
1107
1064
  - frontend/app/controllers/gaku/extracurricular_activities_controller.rb
1108
- - frontend/app/controllers/gaku/extracurricular_activity_enrollments_controller.rb
1109
1065
  - frontend/app/controllers/gaku/gaku_controller.rb
1066
+ - frontend/app/controllers/gaku/grading_method_connectors_controller.rb
1067
+ - frontend/app/controllers/gaku/guardians_controller.rb
1110
1068
  - frontend/app/controllers/gaku/home_controller.rb
1111
1069
  - frontend/app/controllers/gaku/notes_controller.rb
1112
1070
  - frontend/app/controllers/gaku/realtime_controller.rb
1113
1071
  - frontend/app/controllers/gaku/search_controller.rb
1072
+ - frontend/app/controllers/gaku/semester_connectors_controller.rb
1114
1073
  - frontend/app/controllers/gaku/states_controller.rb
1074
+ - frontend/app/controllers/gaku/student_selection_controller.rb
1115
1075
  - frontend/app/controllers/gaku/students/badges_controller.rb
1116
1076
  - frontend/app/controllers/gaku/students/class_group_enrollments_controller.rb
1117
1077
  - frontend/app/controllers/gaku/students/course_enrollments_controller.rb
1118
1078
  - frontend/app/controllers/gaku/students/external_school_records_controller.rb
1119
- - frontend/app/controllers/gaku/students/guardians_controller.rb
1079
+ - frontend/app/controllers/gaku/students/extracurricular_activity_enrollments_controller.rb
1120
1080
  - frontend/app/controllers/gaku/students/simple_grades_controller.rb
1121
1081
  - frontend/app/controllers/gaku/students/student_specialties_controller.rb
1122
1082
  - frontend/app/controllers/gaku/students_controller.rb
@@ -1144,58 +1104,68 @@ files:
1144
1104
  - frontend/app/views/gaku/addresses/create.js.erb
1145
1105
  - frontend/app/views/gaku/addresses/destroy.js.erb
1146
1106
  - frontend/app/views/gaku/addresses/edit.js.erb
1107
+ - frontend/app/views/gaku/addresses/index.js.erb
1147
1108
  - frontend/app/views/gaku/addresses/make_primary.js.erb
1148
1109
  - frontend/app/views/gaku/addresses/new.js.erb
1149
1110
  - frontend/app/views/gaku/addresses/recovery.js.erb
1111
+ - frontend/app/views/gaku/addresses/show/_address.html.slim
1112
+ - frontend/app/views/gaku/addresses/show/_addresses.html.slim
1150
1113
  - frontend/app/views/gaku/addresses/soft_delete.js.erb
1151
1114
  - frontend/app/views/gaku/addresses/update.js.erb
1115
+ - frontend/app/views/gaku/attachments/_attachment.html.slim
1116
+ - frontend/app/views/gaku/attachments/_attachments.html.slim
1117
+ - frontend/app/views/gaku/attachments/_form.html.slim
1118
+ - frontend/app/views/gaku/attachments/_form_fields.html.slim
1119
+ - frontend/app/views/gaku/attachments/_modal.html.slim
1120
+ - frontend/app/views/gaku/attachments/_table_fields.html.slim
1121
+ - frontend/app/views/gaku/attachments/create.js.erb
1152
1122
  - frontend/app/views/gaku/attachments/destroy.js.erb
1153
1123
  - frontend/app/views/gaku/attachments/edit.js.erb
1154
1124
  - frontend/app/views/gaku/attachments/new.js.erb
1155
1125
  - frontend/app/views/gaku/attachments/recovery.js.erb
1156
1126
  - frontend/app/views/gaku/attachments/soft_delete.js.erb
1127
+ - frontend/app/views/gaku/attachments/update.js.erb
1157
1128
  - frontend/app/views/gaku/class_groups/_class_group.html.slim
1158
1129
  - frontend/app/views/gaku/class_groups/_class_groups.html.slim
1159
1130
  - frontend/app/views/gaku/class_groups/_class_groups_with_semester.html.slim
1131
+ - frontend/app/views/gaku/class_groups/_edit_form.html.slim
1160
1132
  - frontend/app/views/gaku/class_groups/_fields.html.slim
1161
1133
  - frontend/app/views/gaku/class_groups/_form.html.slim
1162
1134
  - frontend/app/views/gaku/class_groups/_form_fields.html.slim
1163
- - frontend/app/views/gaku/class_groups/_student_chooser_form.html.slim
1164
- - frontend/app/views/gaku/class_groups/_tabs.html.slim
1165
1135
  - frontend/app/views/gaku/class_groups/advanced_search.js.erb
1166
- - frontend/app/views/gaku/class_groups/courses/_course.html.slim
1167
- - frontend/app/views/gaku/class_groups/courses/_courses.html.slim
1168
- - frontend/app/views/gaku/class_groups/courses/_form.html.slim
1169
- - frontend/app/views/gaku/class_groups/courses/create.js.erb
1170
- - frontend/app/views/gaku/class_groups/courses/destroy.js.erb
1171
- - frontend/app/views/gaku/class_groups/courses/new.js.erb
1172
1136
  - frontend/app/views/gaku/class_groups/create.js.erb
1173
1137
  - frontend/app/views/gaku/class_groups/destroy.js.erb
1174
1138
  - frontend/app/views/gaku/class_groups/edit.html.slim
1139
+ - frontend/app/views/gaku/class_groups/edit.js.erb
1140
+ - frontend/app/views/gaku/class_groups/enrollments/_enrollment.html.slim
1141
+ - frontend/app/views/gaku/class_groups/enrollments/_enrollments.html.slim
1142
+ - frontend/app/views/gaku/class_groups/enrollments/_form.html.slim
1143
+ - frontend/app/views/gaku/class_groups/enrollments/_form_fields.html.slim
1144
+ - frontend/app/views/gaku/class_groups/enrollments/_table_fields.html.slim
1145
+ - frontend/app/views/gaku/class_groups/enrollments/create.js.erb
1146
+ - frontend/app/views/gaku/class_groups/enrollments/create_from_selection.js.erb
1147
+ - frontend/app/views/gaku/class_groups/enrollments/destroy.js.erb
1148
+ - frontend/app/views/gaku/class_groups/enrollments/index.js.erb
1149
+ - frontend/app/views/gaku/class_groups/enrollments/new.js.erb
1150
+ - frontend/app/views/gaku/class_groups/enrollments/sort.js.erb
1151
+ - frontend/app/views/gaku/class_groups/enrollments/student_selection.js.erb
1175
1152
  - frontend/app/views/gaku/class_groups/index.html.slim
1176
1153
  - frontend/app/views/gaku/class_groups/new.js.erb
1177
1154
  - frontend/app/views/gaku/class_groups/search/_form.html.slim
1178
1155
  - frontend/app/views/gaku/class_groups/search/_semester_form.html.slim
1179
1156
  - frontend/app/views/gaku/class_groups/semester_advanced_search.js.erb
1180
- - frontend/app/views/gaku/class_groups/semester_class_groups/_fields.html.slim
1181
- - frontend/app/views/gaku/class_groups/semester_class_groups/_form.html.slim
1182
- - frontend/app/views/gaku/class_groups/semester_class_groups/_form_fields.html.slim
1183
- - frontend/app/views/gaku/class_groups/semester_class_groups/_modal.html.slim
1184
- - frontend/app/views/gaku/class_groups/semester_class_groups/_semester.html.slim
1185
- - frontend/app/views/gaku/class_groups/semester_class_groups/_semester_modal.html.slim
1186
- - frontend/app/views/gaku/class_groups/semester_class_groups/_semesters.html.slim
1187
- - frontend/app/views/gaku/class_groups/semester_class_groups/create.js.erb
1188
- - frontend/app/views/gaku/class_groups/semester_class_groups/destroy.js.erb
1189
- - frontend/app/views/gaku/class_groups/semester_class_groups/edit.js.erb
1190
- - frontend/app/views/gaku/class_groups/semester_class_groups/new.js.erb
1191
- - frontend/app/views/gaku/class_groups/semester_class_groups/update.js.erb
1192
- - frontend/app/views/gaku/class_groups/student_chooser.js.erb
1193
- - frontend/app/views/gaku/class_groups/students/_student.html.slim
1194
- - frontend/app/views/gaku/class_groups/students/_students.html.slim
1195
- - frontend/app/views/gaku/class_groups/students/destroy.js.erb
1196
- - frontend/app/views/gaku/class_groups/students/enroll_students.js.erb
1197
- - frontend/app/views/gaku/class_groups/students/new.js.erb
1198
- - frontend/app/views/gaku/class_groups/students/without_semester.js.erb
1157
+ - frontend/app/views/gaku/class_groups/semester_attendances/_semester_attendances.html.slim
1158
+ - frontend/app/views/gaku/class_groups/semester_attendances/index.js.erb
1159
+ - frontend/app/views/gaku/class_groups/student_reviews/_edit_modal.html.slim
1160
+ - frontend/app/views/gaku/class_groups/student_reviews/_form_fields.html.slim
1161
+ - frontend/app/views/gaku/class_groups/student_reviews/_new_modal.html.slim
1162
+ - frontend/app/views/gaku/class_groups/student_reviews/_show_modal.html.slim
1163
+ - frontend/app/views/gaku/class_groups/student_reviews/create.js.erb
1164
+ - frontend/app/views/gaku/class_groups/student_reviews/destroy.js.erb
1165
+ - frontend/app/views/gaku/class_groups/student_reviews/edit.js.erb
1166
+ - frontend/app/views/gaku/class_groups/student_reviews/index.js.erb
1167
+ - frontend/app/views/gaku/class_groups/student_reviews/update.js.erb
1168
+ - frontend/app/views/gaku/class_groups/update.js.erb
1199
1169
  - frontend/app/views/gaku/class_groups/with_semester.html.slim
1200
1170
  - frontend/app/views/gaku/class_groups/with_semester.js.erb
1201
1171
  - frontend/app/views/gaku/class_groups/without_semester.html.slim
@@ -1211,13 +1181,17 @@ files:
1211
1181
  - frontend/app/views/gaku/contacts/create.js.erb
1212
1182
  - frontend/app/views/gaku/contacts/destroy.js.erb
1213
1183
  - frontend/app/views/gaku/contacts/edit.js.erb
1184
+ - frontend/app/views/gaku/contacts/index.js.erb
1214
1185
  - frontend/app/views/gaku/contacts/make_primary.js.erb
1215
1186
  - frontend/app/views/gaku/contacts/new.js.erb
1216
1187
  - frontend/app/views/gaku/contacts/recovery.js.erb
1188
+ - frontend/app/views/gaku/contacts/show/_contact.html.slim
1189
+ - frontend/app/views/gaku/contacts/show/_contacts.html.slim
1217
1190
  - frontend/app/views/gaku/contacts/soft_delete.js.erb
1218
1191
  - frontend/app/views/gaku/contacts/update.js.erb
1219
1192
  - frontend/app/views/gaku/course_groups/_course_group.html.slim
1220
1193
  - frontend/app/views/gaku/course_groups/_course_groups.html.slim
1194
+ - frontend/app/views/gaku/course_groups/_edit_form.html.slim
1221
1195
  - frontend/app/views/gaku/course_groups/_fields.html.slim
1222
1196
  - frontend/app/views/gaku/course_groups/_form.html.slim
1223
1197
  - frontend/app/views/gaku/course_groups/_form_fields.html.slim
@@ -1226,49 +1200,34 @@ files:
1226
1200
  - frontend/app/views/gaku/course_groups/course_group_enrollments/_form.html.slim
1227
1201
  - frontend/app/views/gaku/course_groups/course_group_enrollments/create.js.erb
1228
1202
  - frontend/app/views/gaku/course_groups/course_group_enrollments/destroy.js.erb
1203
+ - frontend/app/views/gaku/course_groups/course_group_enrollments/index.js.erb
1229
1204
  - frontend/app/views/gaku/course_groups/course_group_enrollments/new.js.erb
1230
1205
  - frontend/app/views/gaku/course_groups/create.js.erb
1231
1206
  - frontend/app/views/gaku/course_groups/destroy.js.erb
1232
1207
  - frontend/app/views/gaku/course_groups/edit.html.slim
1208
+ - frontend/app/views/gaku/course_groups/edit.js.erb
1233
1209
  - frontend/app/views/gaku/course_groups/index.html.slim
1234
1210
  - frontend/app/views/gaku/course_groups/new.js.erb
1211
+ - frontend/app/views/gaku/course_groups/update.js.erb
1235
1212
  - frontend/app/views/gaku/courses/_course.html.slim
1236
1213
  - frontend/app/views/gaku/courses/_courses.html.slim
1214
+ - frontend/app/views/gaku/courses/_edit_form.html.slim
1237
1215
  - frontend/app/views/gaku/courses/_form.html.slim
1238
1216
  - frontend/app/views/gaku/courses/_form_fields.html.slim
1239
- - frontend/app/views/gaku/courses/_student_chooser_form.html.slim
1240
- - frontend/app/views/gaku/courses/_tabs.html.slim
1241
1217
  - frontend/app/views/gaku/courses/create.js.erb
1242
1218
  - frontend/app/views/gaku/courses/destroy.js.erb
1243
1219
  - frontend/app/views/gaku/courses/edit.html.slim
1244
- - frontend/app/views/gaku/courses/enrollments/_enrolled.html.slim
1245
- - frontend/app/views/gaku/courses/enrollments/_enrollments.html.slim
1246
- - frontend/app/views/gaku/courses/enrollments/_errors_modal.html.slim
1247
- - frontend/app/views/gaku/courses/enrollments/class_groups/_form.html.slim
1248
- - frontend/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb
1249
- - frontend/app/views/gaku/courses/enrollments/class_groups/new.js.erb
1250
- - frontend/app/views/gaku/courses/enrollments/error.js.erb
1251
- - frontend/app/views/gaku/courses/enrollments/students/enroll_students.js.erb
1220
+ - frontend/app/views/gaku/courses/edit.js.erb
1252
1221
  - frontend/app/views/gaku/courses/exams/_exam.html.slim
1253
1222
  - frontend/app/views/gaku/courses/exams/_exam_portion_head.html.slim
1254
1223
  - frontend/app/views/gaku/courses/exams/_exams.html.slim
1255
1224
  - frontend/app/views/gaku/courses/exams/_grading_table_head.html.slim
1256
1225
  - frontend/app/views/gaku/courses/exams/_grading_table_student_field.html.slim
1257
1226
  - frontend/app/views/gaku/courses/exams/grading.html.slim
1227
+ - frontend/app/views/gaku/courses/exams/index.js.erb
1258
1228
  - frontend/app/views/gaku/courses/index.html.slim
1259
1229
  - frontend/app/views/gaku/courses/new.js.erb
1260
- - frontend/app/views/gaku/courses/semester_courses/_fields.html.slim
1261
- - frontend/app/views/gaku/courses/semester_courses/_form.html.slim
1262
- - frontend/app/views/gaku/courses/semester_courses/_form_fields.html.slim
1263
- - frontend/app/views/gaku/courses/semester_courses/_modal.html.slim
1264
- - frontend/app/views/gaku/courses/semester_courses/_semester_course.html.slim
1265
- - frontend/app/views/gaku/courses/semester_courses/_semester_courses.html.slim
1266
- - frontend/app/views/gaku/courses/semester_courses/create.js.erb
1267
- - frontend/app/views/gaku/courses/semester_courses/destroy.js.erb
1268
- - frontend/app/views/gaku/courses/semester_courses/edit.js.erb
1269
- - frontend/app/views/gaku/courses/semester_courses/new.js.erb
1270
- - frontend/app/views/gaku/courses/semester_courses/update.js.erb
1271
- - frontend/app/views/gaku/courses/student_chooser.js.erb
1230
+ - frontend/app/views/gaku/courses/update.js.erb
1272
1231
  - frontend/app/views/gaku/devise/confirmations/new.html.slim
1273
1232
  - frontend/app/views/gaku/devise/mailer/confirmation_instructions.html.slim
1274
1233
  - frontend/app/views/gaku/devise/mailer/reset_password_instructions.html.slim
@@ -1281,12 +1240,25 @@ files:
1281
1240
  - frontend/app/views/gaku/devise/sessions/new.html.slim
1282
1241
  - frontend/app/views/gaku/devise/shared/_links.html.erb
1283
1242
  - frontend/app/views/gaku/devise/unlocks/new.html.slim
1243
+ - frontend/app/views/gaku/enrollments/_enrollment.html.slim
1244
+ - frontend/app/views/gaku/enrollments/_enrollments.html.slim
1245
+ - frontend/app/views/gaku/enrollments/_form.html.slim
1246
+ - frontend/app/views/gaku/enrollments/_form_fields.html.slim
1247
+ - frontend/app/views/gaku/enrollments/_table_fields.html.slim
1248
+ - frontend/app/views/gaku/enrollments/create.js.erb
1249
+ - frontend/app/views/gaku/enrollments/create_from_selection.js.erb
1250
+ - frontend/app/views/gaku/enrollments/destroy.js.erb
1251
+ - frontend/app/views/gaku/enrollments/index.js.erb
1252
+ - frontend/app/views/gaku/enrollments/new.js.erb
1253
+ - frontend/app/views/gaku/enrollments/student_selection.js.erb
1284
1254
  - frontend/app/views/gaku/exam_divisions/_form.html.erb
1285
1255
  - frontend/app/views/gaku/exam_divisions/edit.html.erb
1286
1256
  - frontend/app/views/gaku/exam_divisions/index.html.erb
1287
1257
  - frontend/app/views/gaku/exam_divisions/new.html.erb
1288
1258
  - frontend/app/views/gaku/exam_divisions/show.html.erb
1259
+ - frontend/app/views/gaku/exams/_edit_form.html.slim
1289
1260
  - frontend/app/views/gaku/exams/_exam.html.slim
1261
+ - frontend/app/views/gaku/exams/_exams.html.slim
1290
1262
  - frontend/app/views/gaku/exams/_form.html.slim
1291
1263
  - frontend/app/views/gaku/exams/_form_fields.html.slim
1292
1264
  - frontend/app/views/gaku/exams/_table_fields.html.slim
@@ -1295,46 +1267,78 @@ files:
1295
1267
  - frontend/app/views/gaku/exams/create.js.erb
1296
1268
  - frontend/app/views/gaku/exams/destroy.js.erb
1297
1269
  - frontend/app/views/gaku/exams/edit.html.slim
1270
+ - frontend/app/views/gaku/exams/edit.js.erb
1298
1271
  - frontend/app/views/gaku/exams/exam_portions/_custom_exam_portion_error.html.slim
1272
+ - frontend/app/views/gaku/exams/exam_portions/_edit_form.html.slim
1299
1273
  - frontend/app/views/gaku/exams/exam_portions/_exam_portion.html.slim
1274
+ - frontend/app/views/gaku/exams/exam_portions/_exam_portion_menu_link.html.slim
1300
1275
  - frontend/app/views/gaku/exams/exam_portions/_exam_portion_weight_td.html.slim
1301
1276
  - frontend/app/views/gaku/exams/exam_portions/_exam_portions.html.slim
1302
1277
  - frontend/app/views/gaku/exams/exam_portions/_form.html.slim
1303
1278
  - frontend/app/views/gaku/exams/exam_portions/_table_fields.slim
1304
1279
  - frontend/app/views/gaku/exams/exam_portions/_tabs.html.slim
1305
- - frontend/app/views/gaku/exams/exam_portions/attachments/_attachment.html.slim
1306
- - frontend/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim
1307
- - frontend/app/views/gaku/exams/exam_portions/attachments/_form.html.slim
1308
- - frontend/app/views/gaku/exams/exam_portions/attachments/_form_fields.html.slim
1309
- - frontend/app/views/gaku/exams/exam_portions/attachments/_modal.html.slim
1310
- - frontend/app/views/gaku/exams/exam_portions/attachments/create.js.erb
1311
- - frontend/app/views/gaku/exams/exam_portions/attachments/new.js.erb
1312
1280
  - frontend/app/views/gaku/exams/exam_portions/create.js.erb
1313
1281
  - frontend/app/views/gaku/exams/exam_portions/destroy.js.erb
1314
1282
  - frontend/app/views/gaku/exams/exam_portions/edit.html.slim
1283
+ - frontend/app/views/gaku/exams/exam_portions/edit.js.erb
1284
+ - frontend/app/views/gaku/exams/exam_portions/index.js.erb
1315
1285
  - frontend/app/views/gaku/exams/exam_portions/new.js.erb
1316
1286
  - frontend/app/views/gaku/exams/exam_portions/show.html.slim
1287
+ - frontend/app/views/gaku/exams/exam_portions/update.js.erb
1288
+ - frontend/app/views/gaku/exams/exam_sessions/_exam_session.html.slim
1289
+ - frontend/app/views/gaku/exams/exam_sessions/_exam_sessions.html.slim
1290
+ - frontend/app/views/gaku/exams/exam_sessions/_form.html.slim
1291
+ - frontend/app/views/gaku/exams/exam_sessions/_form_fields.html.slim
1292
+ - frontend/app/views/gaku/exams/exam_sessions/_students.html.slim
1293
+ - frontend/app/views/gaku/exams/exam_sessions/_table_fields.html.slim
1294
+ - frontend/app/views/gaku/exams/exam_sessions/_tabs.html.slim
1295
+ - frontend/app/views/gaku/exams/exam_sessions/create.js.erb
1296
+ - frontend/app/views/gaku/exams/exam_sessions/destroy.js.erb
1297
+ - frontend/app/views/gaku/exams/exam_sessions/edit.html.slim
1298
+ - frontend/app/views/gaku/exams/exam_sessions/new.js.erb
1299
+ - frontend/app/views/gaku/exams/exam_sessions/update.js.erb
1317
1300
  - frontend/app/views/gaku/exams/export.xls.rb
1318
1301
  - frontend/app/views/gaku/exams/index.html.slim
1319
1302
  - frontend/app/views/gaku/exams/new.js.erb
1320
1303
  - frontend/app/views/gaku/exams/show.html.slim
1304
+ - frontend/app/views/gaku/extracurricular_activities/_edit_form.html.slim
1321
1305
  - frontend/app/views/gaku/extracurricular_activities/_extracurricular_activities.html.slim
1322
1306
  - frontend/app/views/gaku/extracurricular_activities/_extracurricular_activity.html.slim
1323
1307
  - frontend/app/views/gaku/extracurricular_activities/_fields.html.slim
1324
1308
  - frontend/app/views/gaku/extracurricular_activities/_form.html.slim
1325
1309
  - frontend/app/views/gaku/extracurricular_activities/_form_fields.html.slim
1326
- - frontend/app/views/gaku/extracurricular_activities/_student_chooser_form.html.slim
1327
- - frontend/app/views/gaku/extracurricular_activities/_tabs.html.slim
1328
1310
  - frontend/app/views/gaku/extracurricular_activities/create.js.erb
1329
1311
  - frontend/app/views/gaku/extracurricular_activities/destroy.js.erb
1330
1312
  - frontend/app/views/gaku/extracurricular_activities/edit.html.slim
1313
+ - frontend/app/views/gaku/extracurricular_activities/edit.js.erb
1331
1314
  - frontend/app/views/gaku/extracurricular_activities/index.html.slim
1332
1315
  - frontend/app/views/gaku/extracurricular_activities/new.js.erb
1333
- - frontend/app/views/gaku/extracurricular_activities/student_chooser.js.erb
1334
- - frontend/app/views/gaku/extracurricular_activities/students/_student.html.slim
1335
- - frontend/app/views/gaku/extracurricular_activities/students/_students.html.slim
1336
- - frontend/app/views/gaku/extracurricular_activities/students/destroy.js.erb
1337
- - frontend/app/views/gaku/extracurricular_activities/students/enroll_students.js.erb
1316
+ - frontend/app/views/gaku/extracurricular_activities/update.js.erb
1317
+ - frontend/app/views/gaku/grading_method_connectors/_form.html.slim
1318
+ - frontend/app/views/gaku/grading_method_connectors/_form_fields.html.slim
1319
+ - frontend/app/views/gaku/grading_method_connectors/_grading_method_connector.html.slim
1320
+ - frontend/app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
1321
+ - frontend/app/views/gaku/grading_method_connectors/_set_form.html.slim
1322
+ - frontend/app/views/gaku/grading_method_connectors/_table_fields.html.slim
1323
+ - frontend/app/views/gaku/grading_method_connectors/add_set.js.erb
1324
+ - frontend/app/views/gaku/grading_method_connectors/create.js.erb
1325
+ - frontend/app/views/gaku/grading_method_connectors/destroy.js.erb
1326
+ - frontend/app/views/gaku/grading_method_connectors/index.js.erb
1327
+ - frontend/app/views/gaku/grading_method_connectors/new.js.erb
1328
+ - frontend/app/views/gaku/grading_method_connectors/new_set.js.erb
1329
+ - frontend/app/views/gaku/guardians/_delete_modal.html.slim
1330
+ - frontend/app/views/gaku/guardians/_edit_form.html.slim
1331
+ - frontend/app/views/gaku/guardians/_form.html.slim
1332
+ - frontend/app/views/gaku/guardians/_form_fields.html.slim
1333
+ - frontend/app/views/gaku/guardians/_guardian.html.slim
1334
+ - frontend/app/views/gaku/guardians/_guardians.html.slim
1335
+ - frontend/app/views/gaku/guardians/create.js.erb
1336
+ - frontend/app/views/gaku/guardians/destroy.js.erb
1337
+ - frontend/app/views/gaku/guardians/edit.html.slim
1338
+ - frontend/app/views/gaku/guardians/edit.js.erb
1339
+ - frontend/app/views/gaku/guardians/index.js.erb
1340
+ - frontend/app/views/gaku/guardians/new.js.erb
1341
+ - frontend/app/views/gaku/guardians/recovery.js.erb
1338
1342
  - frontend/app/views/gaku/home/_user_info.html.slim
1339
1343
  - frontend/app/views/gaku/home/_user_menu.html.slim
1340
1344
  - frontend/app/views/gaku/home/index.html.slim
@@ -1354,13 +1358,29 @@ files:
1354
1358
  - frontend/app/views/gaku/notes/create.js.erb
1355
1359
  - frontend/app/views/gaku/notes/destroy.js.erb
1356
1360
  - frontend/app/views/gaku/notes/edit.js.erb
1361
+ - frontend/app/views/gaku/notes/index.js.erb
1357
1362
  - frontend/app/views/gaku/notes/new.js.erb
1358
1363
  - frontend/app/views/gaku/notes/show.js.erb
1364
+ - frontend/app/views/gaku/notes/show/_notes.html.slim
1359
1365
  - frontend/app/views/gaku/notes/update.js.erb
1366
+ - frontend/app/views/gaku/semester_connectors/_form.html.slim
1367
+ - frontend/app/views/gaku/semester_connectors/_form_fields.html.slim
1368
+ - frontend/app/views/gaku/semester_connectors/_modal.html.slim
1369
+ - frontend/app/views/gaku/semester_connectors/_semester_connector.html.slim
1370
+ - frontend/app/views/gaku/semester_connectors/_semester_connectors.html.slim
1371
+ - frontend/app/views/gaku/semester_connectors/_table_fields.html.slim
1372
+ - frontend/app/views/gaku/semester_connectors/create.js.erb
1373
+ - frontend/app/views/gaku/semester_connectors/destroy.js.erb
1374
+ - frontend/app/views/gaku/semester_connectors/edit.js.erb
1375
+ - frontend/app/views/gaku/semester_connectors/index.js.erb
1376
+ - frontend/app/views/gaku/semester_connectors/new.js.erb
1377
+ - frontend/app/views/gaku/semester_connectors/update.js.erb
1378
+ - frontend/app/views/gaku/shared/_ajax_picture.html.slim
1379
+ - frontend/app/views/gaku/shared/_ajax_upload_picture.html.slim
1360
1380
  - frontend/app/views/gaku/shared/_delete_link.html.slim
1361
1381
  - frontend/app/views/gaku/shared/_delete_modal.html.slim
1382
+ - frontend/app/views/gaku/shared/_delete_modal_without_soft.html.slim
1362
1383
  - frontend/app/views/gaku/shared/_errors.html.slim
1363
- - frontend/app/views/gaku/shared/_external_school_record.html.slim
1364
1384
  - frontend/app/views/gaku/shared/_flash.html.slim
1365
1385
  - frontend/app/views/gaku/shared/_language_bar.html.slim
1366
1386
  - frontend/app/views/gaku/shared/_login_widget.html.slim
@@ -1368,8 +1388,6 @@ files:
1368
1388
  - frontend/app/views/gaku/shared/_menubar.html.slim
1369
1389
  - frontend/app/views/gaku/shared/_modal_config.html.slim
1370
1390
  - frontend/app/views/gaku/shared/_multi_errors.html.slim
1371
- - frontend/app/views/gaku/shared/_picture.html.slim
1372
- - frontend/app/views/gaku/shared/_upload_picture.html.slim
1373
1391
  - frontend/app/views/gaku/shared/error.js.erb
1374
1392
  - frontend/app/views/gaku/shared/fields/_address_and_contact_show_table.html.slim
1375
1393
  - frontend/app/views/gaku/shared/fields/_attachment_fields.html.slim
@@ -1381,42 +1399,42 @@ files:
1381
1399
  - frontend/app/views/gaku/shared/fields/_semester_fields.html.slim
1382
1400
  - frontend/app/views/gaku/shared/form_fields/_exam_portion_form_fields.html.slim
1383
1401
  - frontend/app/views/gaku/shared/form_fields/_person_form_fields.html.slim
1402
+ - frontend/app/views/gaku/shared/js/remove_picture.js.erb
1403
+ - frontend/app/views/gaku/shared/js/set_picture.js.erb
1384
1404
  - frontend/app/views/gaku/shared/menu/_frontend.html.erb
1385
1405
  - frontend/app/views/gaku/shared/multi_error.js.erb
1386
1406
  - frontend/app/views/gaku/shared/notice.js.erb
1387
1407
  - frontend/app/views/gaku/shared/overrides/students/_import_link.html.slim
1388
1408
  - frontend/app/views/gaku/shared/overrides/syllabuses/_import_link.html.slim
1389
- - frontend/app/views/gaku/shared/student/_show.html.slim
1390
1409
  - frontend/app/views/gaku/shared/student_chooser/_chooser.html.slim
1391
1410
  - frontend/app/views/gaku/shared/student_chooser/_chooser_widget.html.slim
1392
1411
  - frontend/app/views/gaku/shared/student_chooser/_modal.html.slim
1412
+ - frontend/app/views/gaku/shared/student_selection/_chooser.html.slim
1413
+ - frontend/app/views/gaku/shared/student_selection/_modal.html.slim
1393
1414
  - frontend/app/views/gaku/states/_no_states_select.html.slim
1394
1415
  - frontend/app/views/gaku/states/_states_select.html.slim
1395
1416
  - frontend/app/views/gaku/states/index.js.erb
1396
- - frontend/app/views/gaku/students/_academic.html.slim
1417
+ - frontend/app/views/gaku/student_selection/_selected_student.html.slim
1418
+ - frontend/app/views/gaku/student_selection/add.js.erb
1419
+ - frontend/app/views/gaku/student_selection/clear.js.erb
1420
+ - frontend/app/views/gaku/student_selection/collection.js.erb
1421
+ - frontend/app/views/gaku/student_selection/index.js.erb
1422
+ - frontend/app/views/gaku/student_selection/remove.js.erb
1397
1423
  - frontend/app/views/gaku/students/_chooser_widget.html.slim
1424
+ - frontend/app/views/gaku/students/_edit_form.html.slim
1398
1425
  - frontend/app/views/gaku/students/_form.html.slim
1399
1426
  - frontend/app/views/gaku/students/_form_fields.html.slim
1400
- - frontend/app/views/gaku/students/_personal.html.slim
1401
1427
  - frontend/app/views/gaku/students/_student.html.slim
1402
- - frontend/app/views/gaku/students/_student_chooser_form.html.slim
1403
1428
  - frontend/app/views/gaku/students/_student_unit.html.slim
1404
1429
  - frontend/app/views/gaku/students/_students.html.slim
1405
1430
  - frontend/app/views/gaku/students/_table_fields.html.slim
1406
- - frontend/app/views/gaku/students/_tabs.html.slim
1407
- - frontend/app/views/gaku/students/_tabs_academic.html.slim
1408
- - frontend/app/views/gaku/students/_tabs_personal.html.slim
1409
1431
  - frontend/app/views/gaku/students/advanced_search.js.erb
1410
1432
  - frontend/app/views/gaku/students/badges/_badge.html.slim
1411
- - frontend/app/views/gaku/students/badges/_badge_type.html.slim
1412
1433
  - frontend/app/views/gaku/students/badges/_badges.html.slim
1413
- - frontend/app/views/gaku/students/badges/_badges_tab.html.slim
1414
1434
  - frontend/app/views/gaku/students/badges/_edit.html.slim
1415
1435
  - frontend/app/views/gaku/students/badges/_fields.html.slim
1416
1436
  - frontend/app/views/gaku/students/badges/_form.html.slim
1417
1437
  - frontend/app/views/gaku/students/badges/_form_fields.html.slim
1418
- - frontend/app/views/gaku/students/badges/_index.html.slim
1419
- - frontend/app/views/gaku/students/badges/_index_modal.html.slim
1420
1438
  - frontend/app/views/gaku/students/badges/create.js.erb
1421
1439
  - frontend/app/views/gaku/students/badges/destroy.js.erb
1422
1440
  - frontend/app/views/gaku/students/badges/edit.js.erb
@@ -1424,20 +1442,24 @@ files:
1424
1442
  - frontend/app/views/gaku/students/badges/new.js.erb
1425
1443
  - frontend/app/views/gaku/students/badges/update.js.erb
1426
1444
  - frontend/app/views/gaku/students/chosen.js.erb
1427
- - frontend/app/views/gaku/students/class_group_enrollments/_new_modal.html.slim
1445
+ - frontend/app/views/gaku/students/class_group_enrollments/_class_group_enrollment.html.slim
1446
+ - frontend/app/views/gaku/students/class_group_enrollments/_class_group_enrollments.html.slim
1447
+ - frontend/app/views/gaku/students/class_group_enrollments/_form.html.slim
1428
1448
  - frontend/app/views/gaku/students/class_group_enrollments/create.js.erb
1449
+ - frontend/app/views/gaku/students/class_group_enrollments/destroy.js.erb
1450
+ - frontend/app/views/gaku/students/class_group_enrollments/index.js.erb
1429
1451
  - frontend/app/views/gaku/students/class_group_enrollments/new.js.erb
1430
1452
  - frontend/app/views/gaku/students/course_enrollments/_course_enrollment.html.slim
1431
1453
  - frontend/app/views/gaku/students/course_enrollments/_course_enrollments.html.slim
1432
- - frontend/app/views/gaku/students/course_enrollments/_errors_modal.html.slim
1433
1454
  - frontend/app/views/gaku/students/course_enrollments/_form.html.slim
1434
1455
  - frontend/app/views/gaku/students/course_enrollments/create.js.erb
1435
1456
  - frontend/app/views/gaku/students/course_enrollments/destroy.js.erb
1436
- - frontend/app/views/gaku/students/course_enrollments/error.js.erb
1457
+ - frontend/app/views/gaku/students/course_enrollments/index.js.erb
1437
1458
  - frontend/app/views/gaku/students/course_enrollments/new.js.erb
1438
1459
  - frontend/app/views/gaku/students/create.js.erb
1439
1460
  - frontend/app/views/gaku/students/destroy.js.erb
1440
1461
  - frontend/app/views/gaku/students/edit.html.slim
1462
+ - frontend/app/views/gaku/students/edit.js.erb
1441
1463
  - frontend/app/views/gaku/students/external_school_records/_external_school_record.html.slim
1442
1464
  - frontend/app/views/gaku/students/external_school_records/_external_school_records.html.slim
1443
1465
  - frontend/app/views/gaku/students/external_school_records/_fields.html.slim
@@ -1447,22 +1469,16 @@ files:
1447
1469
  - frontend/app/views/gaku/students/external_school_records/create.js.erb
1448
1470
  - frontend/app/views/gaku/students/external_school_records/destroy.js.erb
1449
1471
  - frontend/app/views/gaku/students/external_school_records/edit.js.erb
1472
+ - frontend/app/views/gaku/students/external_school_records/index.js.erb
1450
1473
  - frontend/app/views/gaku/students/external_school_records/new.js.erb
1451
1474
  - frontend/app/views/gaku/students/external_school_records/update.js.erb
1452
- - frontend/app/views/gaku/students/guardians/_delete_modal.html.slim
1453
- - frontend/app/views/gaku/students/guardians/_form.html.slim
1454
- - frontend/app/views/gaku/students/guardians/_form_fields.html.slim
1455
- - frontend/app/views/gaku/students/guardians/_guardian.html.slim
1456
- - frontend/app/views/gaku/students/guardians/_guardians.html.slim
1457
- - frontend/app/views/gaku/students/guardians/_picture.html.slim
1458
- - frontend/app/views/gaku/students/guardians/_tabs.html.slim
1459
- - frontend/app/views/gaku/students/guardians/_upload_picture.html.slim
1460
- - frontend/app/views/gaku/students/guardians/create.js.erb
1461
- - frontend/app/views/gaku/students/guardians/destroy.js.erb
1462
- - frontend/app/views/gaku/students/guardians/edit.html.slim
1463
- - frontend/app/views/gaku/students/guardians/new.js.erb
1464
- - frontend/app/views/gaku/students/guardians/recovery.js.erb
1465
- - frontend/app/views/gaku/students/guardians/show.html.slim
1475
+ - frontend/app/views/gaku/students/extracurricular_activity_enrollments/_extracurricular_activity_enrollment.html.slim
1476
+ - frontend/app/views/gaku/students/extracurricular_activity_enrollments/_extracurricular_activity_enrollments.html.slim
1477
+ - frontend/app/views/gaku/students/extracurricular_activity_enrollments/_form.html.slim
1478
+ - frontend/app/views/gaku/students/extracurricular_activity_enrollments/create.js.erb
1479
+ - frontend/app/views/gaku/students/extracurricular_activity_enrollments/destroy.js.erb
1480
+ - frontend/app/views/gaku/students/extracurricular_activity_enrollments/index.js.erb
1481
+ - frontend/app/views/gaku/students/extracurricular_activity_enrollments/new.js.erb
1466
1482
  - frontend/app/views/gaku/students/importer/index.html.slim
1467
1483
  - frontend/app/views/gaku/students/index.html.slim
1468
1484
  - frontend/app/views/gaku/students/index.js.erb
@@ -1474,13 +1490,10 @@ files:
1474
1490
  - frontend/app/views/gaku/students/search/_extended.slim
1475
1491
  - frontend/app/views/gaku/students/search/_form.html.slim
1476
1492
  - frontend/app/views/gaku/students/search/_student.html.slim
1477
- - frontend/app/views/gaku/students/show.html.slim
1478
1493
  - frontend/app/views/gaku/students/simple_grades/_edit.html.slim
1479
1494
  - frontend/app/views/gaku/students/simple_grades/_fields.html.slim
1480
1495
  - frontend/app/views/gaku/students/simple_grades/_form.html.slim
1481
1496
  - frontend/app/views/gaku/students/simple_grades/_form_fields.html.slim
1482
- - frontend/app/views/gaku/students/simple_grades/_index.html.slim
1483
- - frontend/app/views/gaku/students/simple_grades/_index_modal.html.slim
1484
1497
  - frontend/app/views/gaku/students/simple_grades/_simple_grade.html.slim
1485
1498
  - frontend/app/views/gaku/students/simple_grades/_simple_grades.html.slim
1486
1499
  - frontend/app/views/gaku/students/simple_grades/create.js.erb
@@ -1493,8 +1506,6 @@ files:
1493
1506
  - frontend/app/views/gaku/students/student_specialties/_fields.html.slim
1494
1507
  - frontend/app/views/gaku/students/student_specialties/_form.html.slim
1495
1508
  - frontend/app/views/gaku/students/student_specialties/_form_fields.html.slim
1496
- - frontend/app/views/gaku/students/student_specialties/_index.html.slim
1497
- - frontend/app/views/gaku/students/student_specialties/_index_modal.html.slim
1498
1509
  - frontend/app/views/gaku/students/student_specialties/_student_specialties.html.slim
1499
1510
  - frontend/app/views/gaku/students/student_specialties/_student_specialty.html.slim
1500
1511
  - frontend/app/views/gaku/students/student_specialties/create.js.erb
@@ -1503,42 +1514,46 @@ files:
1503
1514
  - frontend/app/views/gaku/students/student_specialties/index.js.erb
1504
1515
  - frontend/app/views/gaku/students/student_specialties/new.js.erb
1505
1516
  - frontend/app/views/gaku/students/student_specialties/update.js.erb
1506
- - frontend/app/views/gaku/syllabuses/_all_exams.html.slim
1517
+ - frontend/app/views/gaku/syllabuses/_edit_form.html.slim
1507
1518
  - frontend/app/views/gaku/syllabuses/_fields.html.slim
1508
1519
  - frontend/app/views/gaku/syllabuses/_form.html.slim
1509
1520
  - frontend/app/views/gaku/syllabuses/_form_fields.html.slim
1510
1521
  - frontend/app/views/gaku/syllabuses/_syllabus.html.slim
1511
1522
  - frontend/app/views/gaku/syllabuses/_syllabuses.html.slim
1512
- - frontend/app/views/gaku/syllabuses/_tabs.html.slim
1513
1523
  - frontend/app/views/gaku/syllabuses/create.js.erb
1514
1524
  - frontend/app/views/gaku/syllabuses/destroy.js.erb
1515
1525
  - frontend/app/views/gaku/syllabuses/edit.html.slim
1526
+ - frontend/app/views/gaku/syllabuses/edit.js.erb
1527
+ - frontend/app/views/gaku/syllabuses/exam_syllabuses/_form.html.slim
1516
1528
  - frontend/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb
1517
1529
  - frontend/app/views/gaku/syllabuses/exam_syllabuses/destroy.js.erb
1530
+ - frontend/app/views/gaku/syllabuses/exam_syllabuses/new.js.erb
1518
1531
  - frontend/app/views/gaku/syllabuses/exams/_exam.html.slim
1519
1532
  - frontend/app/views/gaku/syllabuses/exams/_exams.html.slim
1520
1533
  - frontend/app/views/gaku/syllabuses/exams/_fields.html.slim
1521
1534
  - frontend/app/views/gaku/syllabuses/exams/_form.html.slim
1522
1535
  - frontend/app/views/gaku/syllabuses/exams/_form_fields.html.slim
1523
1536
  - frontend/app/views/gaku/syllabuses/exams/_modal.html.slim
1524
- - frontend/app/views/gaku/syllabuses/exams/_select_form.html.slim
1525
1537
  - frontend/app/views/gaku/syllabuses/exams/create.js.erb
1526
1538
  - frontend/app/views/gaku/syllabuses/exams/destroy.js.erb
1527
1539
  - frontend/app/views/gaku/syllabuses/exams/edit.js.erb
1540
+ - frontend/app/views/gaku/syllabuses/exams/index.js.erb
1528
1541
  - frontend/app/views/gaku/syllabuses/exams/new.js.erb
1529
1542
  - frontend/app/views/gaku/syllabuses/exams/update.js.erb
1530
1543
  - frontend/app/views/gaku/syllabuses/importer/index.html.slim
1531
1544
  - frontend/app/views/gaku/syllabuses/index.html.slim
1532
1545
  - frontend/app/views/gaku/syllabuses/new.js.erb
1546
+ - frontend/app/views/gaku/syllabuses/update.js.erb
1547
+ - frontend/app/views/gaku/teachers/_edit_form.html.slim
1533
1548
  - frontend/app/views/gaku/teachers/_fields.html.slim
1534
1549
  - frontend/app/views/gaku/teachers/_form.html.slim
1535
1550
  - frontend/app/views/gaku/teachers/_form_fields.html.slim
1536
- - frontend/app/views/gaku/teachers/_tabs.html.slim
1537
1551
  - frontend/app/views/gaku/teachers/_teacher.html.slim
1538
1552
  - frontend/app/views/gaku/teachers/_teachers.html.slim
1539
1553
  - frontend/app/views/gaku/teachers/create.js.erb
1540
1554
  - frontend/app/views/gaku/teachers/destroy.js.erb
1541
1555
  - frontend/app/views/gaku/teachers/edit.html.slim
1556
+ - frontend/app/views/gaku/teachers/edit.js.erb
1542
1557
  - frontend/app/views/gaku/teachers/index.html.slim
1543
1558
  - frontend/app/views/gaku/teachers/new.js.erb
1544
1559
  - frontend/app/views/gaku/teachers/show.html.slim
@@ -1549,7 +1564,6 @@ files:
1549
1564
  - frontend/app/views/kaminari/_page.html.erb
1550
1565
  - frontend/app/views/kaminari/_paginator.html.erb
1551
1566
  - frontend/app/views/kaminari/_prev_page.html.erb
1552
- - frontend/config/initializers/client_side_validations.rb
1553
1567
  - frontend/config/initializers/wrap_parameters.rb
1554
1568
  - frontend/config/routes.rb
1555
1569
  - frontend/coverage/.last_run.json
@@ -1564,22 +1578,20 @@ files:
1564
1578
  - frontend/lib/tasks/core.rake
1565
1579
  - frontend/lib/tasks/reset.rake
1566
1580
  - frontend/spec/controllers/gaku/addresses_controller_spec.rb
1567
- - frontend/spec/controllers/gaku/class_group_enrollments_controller_spec.rb
1568
1581
  - frontend/spec/controllers/gaku/class_groups/class_groups_controller_spec.rb
1569
- - frontend/spec/controllers/gaku/class_groups/courses_controller_spec.rb
1570
- - frontend/spec/controllers/gaku/class_groups/semesters_controller_spec.rb
1571
1582
  - frontend/spec/controllers/gaku/contacts_controller_spec.rb
1572
1583
  - frontend/spec/controllers/gaku/course_groups/course_group_enrollments_controller.rb
1573
1584
  - frontend/spec/controllers/gaku/course_groups/course_groups_controller_spec.rb
1574
1585
  - frontend/spec/controllers/gaku/courses/courses_controller_spec.rb
1575
1586
  - frontend/spec/controllers/gaku/exams/exam_portions_controller_spec.rb
1587
+ - frontend/spec/controllers/gaku/exams/exam_sessions_controller_spec.rb
1576
1588
  - frontend/spec/controllers/gaku/exams/exams_controller_spec.rb
1577
1589
  - frontend/spec/controllers/gaku/extracurricular_activities_controller_spec.rb
1590
+ - frontend/spec/controllers/gaku/guardians_controller_spec.rb
1578
1591
  - frontend/spec/controllers/gaku/notes_controller_spec.rb
1592
+ - frontend/spec/controllers/gaku/student_selection_controller_spec.rb
1579
1593
  - frontend/spec/controllers/gaku/students/badges_controller_spec.rb
1580
- - frontend/spec/controllers/gaku/students/course_enrollments_controller_spec.rb
1581
1594
  - frontend/spec/controllers/gaku/students/external_school_records_controller_spec.rb
1582
- - frontend/spec/controllers/gaku/students/guardians_controller_spec.rb
1583
1595
  - frontend/spec/controllers/gaku/students/simple_grades_controller_spec.rb
1584
1596
  - frontend/spec/controllers/gaku/students/student_specialties_controller_spec.rb
1585
1597
  - frontend/spec/controllers/gaku/students/students_controller_spec.rb
@@ -1587,29 +1599,40 @@ files:
1587
1599
  - frontend/spec/controllers/gaku/teachers_controller_spec.rb
1588
1600
  - frontend/spec/coverage/.last_run.json
1589
1601
  - frontend/spec/coverage/.resultset.json
1590
- - frontend/spec/features/change_language_spec.rb
1591
- - frontend/spec/features/class_groups/class_groups_spec.rb
1592
- - frontend/spec/features/class_groups/courses_spec.rb
1593
- - frontend/spec/features/class_groups/notes_spec.rb
1594
- - frontend/spec/features/class_groups/semester_class_groups_spec.rb
1595
- - frontend/spec/features/class_groups/students_spec.rb
1596
- - frontend/spec/features/course_groups/course_groups_spec.rb
1597
- - frontend/spec/features/course_groups/courses_spec.rb
1598
- - frontend/spec/features/courses/courses_spec.rb
1599
- - frontend/spec/features/courses/enrollments/class_groups_spec.rb
1600
- - frontend/spec/features/courses/enrollments/students_spec.rb
1601
- - frontend/spec/features/courses/exams_spec.rb
1602
- - frontend/spec/features/courses/notes_spec.rb
1603
- - frontend/spec/features/courses/semester_courses_spec.rb
1604
- - frontend/spec/features/exams/exam_portions/attachments_spec.rb
1605
- - frontend/spec/features/exams/exam_portions/exam_portions_spec.rb
1606
- - frontend/spec/features/exams/exams_spec.rb
1607
- - frontend/spec/features/exams/notes_spec.rb
1608
- - frontend/spec/features/extracurricular_activities/extracurricular_activities_spec.rb
1609
- - frontend/spec/features/extracurricular_activities/students_spec.rb
1610
- - frontend/spec/features/sign_in_spec.rb
1611
- - frontend/spec/features/sign_out_spec.rb
1612
- - frontend/spec/features/sign_up_spec.rb
1602
+ - frontend/spec/features/other/change_language_spec.rb
1603
+ - frontend/spec/features/other/class_groups/class_groups_spec.rb
1604
+ - frontend/spec/features/other/class_groups/enrollments_spec.rb
1605
+ - frontend/spec/features/other/class_groups/notes_spec.rb
1606
+ - frontend/spec/features/other/class_groups/semester_attendances_spec.rb
1607
+ - frontend/spec/features/other/class_groups/semester_connectors_spec.rb
1608
+ - frontend/spec/features/other/class_groups/student_reviews_spec.rb
1609
+ - frontend/spec/features/other/course_groups/course_groups_spec.rb
1610
+ - frontend/spec/features/other/course_groups/courses_spec.rb
1611
+ - frontend/spec/features/other/courses/courses_spec.rb
1612
+ - frontend/spec/features/other/courses/enrollments_spec.rb
1613
+ - frontend/spec/features/other/courses/exams_spec.rb
1614
+ - frontend/spec/features/other/courses/grading_method_connectors_spec.rb
1615
+ - frontend/spec/features/other/courses/notes_spec.rb
1616
+ - frontend/spec/features/other/courses/semester_connectors_spec.rb
1617
+ - frontend/spec/features/other/exams/exam_portions/attachments_spec.rb
1618
+ - frontend/spec/features/other/exams/exam_portions/exam_portions_spec.rb
1619
+ - frontend/spec/features/other/exams/exam_sessions_spec.rb
1620
+ - frontend/spec/features/other/exams/exams_spec.rb
1621
+ - frontend/spec/features/other/exams/grading_method_connectors_spec.rb
1622
+ - frontend/spec/features/other/exams/notes_spec.rb
1623
+ - frontend/spec/features/other/extracurricular_activities/enrollments_spec.rb
1624
+ - frontend/spec/features/other/extracurricular_activities/extracurricular_activities_spec.rb
1625
+ - frontend/spec/features/other/sign_in_spec.rb
1626
+ - frontend/spec/features/other/sign_out_spec.rb
1627
+ - frontend/spec/features/other/sign_up_spec.rb
1628
+ - frontend/spec/features/other/syllabuses/exams_spec.rb
1629
+ - frontend/spec/features/other/syllabuses/notes_spec.rb
1630
+ - frontend/spec/features/other/syllabuses/syllabuses_spec.rb
1631
+ - frontend/spec/features/other/teachers/addresses_spec.rb
1632
+ - frontend/spec/features/other/teachers/contacts_spec.rb
1633
+ - frontend/spec/features/other/teachers/notes_spec.rb
1634
+ - frontend/spec/features/other/teachers/picture_spec.rb
1635
+ - frontend/spec/features/other/teachers/teachers_spec.rb
1613
1636
  - frontend/spec/features/students/addresses_spec.rb
1614
1637
  - frontend/spec/features/students/badges_spec.rb
1615
1638
  - frontend/spec/features/students/class_group_enrollments_spec.rb
@@ -1618,6 +1641,7 @@ files:
1618
1641
  - frontend/spec/features/students/course_enrollments_spec.rb
1619
1642
  - frontend/spec/features/students/enrollment_status_spec.rb
1620
1643
  - frontend/spec/features/students/external_school_records_spec.rb
1644
+ - frontend/spec/features/students/extracurricular_activity_enrollments_spec.rb
1621
1645
  - frontend/spec/features/students/guardians/addresses_spec.rb
1622
1646
  - frontend/spec/features/students/guardians/contacts_spec.rb
1623
1647
  - frontend/spec/features/students/guardians/guardians_spec.rb
@@ -1628,23 +1652,21 @@ files:
1628
1652
  - frontend/spec/features/students/scholarship_status_spec.rb
1629
1653
  - frontend/spec/features/students/simple_grades_spec.rb
1630
1654
  - frontend/spec/features/students/student_specialties_spec.rb
1655
+ - frontend/spec/features/students/students_selection_spec.rb
1631
1656
  - frontend/spec/features/students/students_spec.rb
1632
- - frontend/spec/features/syllabuses/exams_spec.rb
1633
- - frontend/spec/features/syllabuses/notes_spec.rb
1634
- - frontend/spec/features/syllabuses/syllabuses_spec.rb
1635
- - frontend/spec/features/teachers/addresses_spec.rb
1636
- - frontend/spec/features/teachers/contacts_spec.rb
1637
- - frontend/spec/features/teachers/notes_spec.rb
1638
- - frontend/spec/features/teachers/picture_spec.rb
1639
- - frontend/spec/features/teachers/teachers_spec.rb
1640
- - frontend/spec/routing/class_groups/courses_routing_spec.rb
1641
- - frontend/spec/routing/class_groups/students_routing_spec.rb
1657
+ - frontend/spec/requests/class_groups/enrollments_spec.rb
1658
+ - frontend/spec/requests/courses/enrollments_spec.rb
1659
+ - frontend/spec/requests/extracurricular_activities/enrollments_spec.rb
1660
+ - frontend/spec/routing/class_groups/enrollments_routing_spec.rb
1661
+ - frontend/spec/routing/courses/enrollments_routing_spec.rb
1662
+ - frontend/spec/routing/extracurricular_activities/enrollments_routing_spec.rb
1663
+ - frontend/spec/routing/guardians_routing_spec.rb
1642
1664
  - frontend/spec/routing/student_routes_spec.rb
1643
1665
  - frontend/spec/routing/students/badges_routes_spec.rb
1644
- - frontend/spec/routing/students/course_enrollments_routes_spec.rb
1645
- - frontend/spec/routing/students/guardians_routes_spec.rb
1666
+ - frontend/spec/routing/students/external_school_records_routing_spec.rb
1646
1667
  - frontend/spec/routing/students/simple_grades_routes_spec.rb
1647
1668
  - frontend/spec/routing/students/student_specialties_routes_spec.rb
1669
+ - frontend/spec/routing/teachers_routes_spec.rb
1648
1670
  - frontend/spec/spec_helper.rb
1649
1671
  - frontend/spec/spec_helper_controllers.rb
1650
1672
  - frontend/spec/spec_helper_routing.rb
@@ -1667,8 +1689,9 @@ files:
1667
1689
  - gaku.gemspec
1668
1690
  - lib/gaku.rb
1669
1691
  - sample/Rakefile
1670
- - sample/db/sample/gaku/01-syllabuses.rb
1671
- - sample/db/sample/gaku/02-courses.rb
1692
+ - sample/db/sample/gaku/01_syllabuses.rb
1693
+ - sample/db/sample/gaku/02_courses.rb
1694
+ - sample/db/sample/gaku/20-grading_methods.rb
1672
1695
  - sample/db/sample/gaku/badge_types.rb
1673
1696
  - sample/db/sample/gaku/changes/student_changes.rb
1674
1697
  - sample/db/sample/gaku/class_groups.rb
@@ -1684,6 +1707,7 @@ files:
1684
1707
  - sample/db/sample/gaku/grading_widget.rb
1685
1708
  - sample/db/sample/gaku/images/120x120.jpg
1686
1709
  - sample/db/sample/gaku/roles.rb
1710
+ - sample/db/sample/gaku/schools.rb
1687
1711
  - sample/db/sample/gaku/specialties.rb
1688
1712
  - sample/db/sample/gaku/students.rb
1689
1713
  - sample/db/sample/gaku/teachers.rb
@@ -1706,29 +1730,40 @@ files:
1706
1730
  - testing/lib/gaku/testing/spec_helpers/spec_helper_models.rb
1707
1731
  - testing/lib/gaku/testing/spec_helpers/spec_helper_routing.rb
1708
1732
  - testing/lib/gaku_testing.rb
1709
- homepage: http://github.com/Genshin/gaku
1710
- licenses: []
1733
+ homepage: http://www.gakuengine.com
1734
+ licenses:
1735
+ - GPL-3.0
1736
+ - AGPL-3.0
1711
1737
  metadata: {}
1712
- post_install_message: Thanks for installing Gaku!
1738
+ post_install_message: |
1739
+ ╔═════════════════════════╼
1740
+ ║⚙学 GAKU Engine [学エンジン] V.0.2.0
1741
+ ╟─────────────────────────╼
1742
+ ║©2014 幻信創造株式会社 [Phantom Creation Inc.]
1743
+ ║http://www.gakuengine.com
1744
+ ╟─────────────────────────╼
1745
+ ║Thank you for installing GAKU Engine!
1746
+ ║GAKU Engine is Open Source [GPL/AGPL] Software.
1747
+ ╚═════════════════════════╼
1713
1748
  rdoc_options: []
1714
1749
  require_paths:
1715
1750
  - lib
1716
1751
  required_ruby_version: !ruby/object:Gem::Requirement
1717
1752
  requirements:
1718
- - - ~>
1753
+ - - ">="
1719
1754
  - !ruby/object:Gem::Version
1720
- version: 2.0.0
1755
+ version: 2.1.3
1721
1756
  required_rubygems_version: !ruby/object:Gem::Requirement
1722
1757
  requirements:
1723
- - - '>='
1758
+ - - ">="
1724
1759
  - !ruby/object:Gem::Version
1725
1760
  version: '0'
1726
1761
  requirements:
1727
1762
  - postgresql
1728
1763
  - postgresql-contrib
1729
1764
  rubyforge_project:
1730
- rubygems_version: 2.1.11
1765
+ rubygems_version: 2.4.5
1731
1766
  signing_key:
1732
1767
  specification_version: 4
1733
- summary: GAKU is a student/assignment focused student and school management system
1768
+ summary: GAKU Engine - Dynamic Open Source School Management
1734
1769
  test_files: []