gaku 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +70 -0
- data/.rspec +4 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +24 -0
- data/Gemfile +1 -0
- data/LICENSE.md +15 -0
- data/README.md +179 -0
- data/Rakefile +99 -0
- data/VERSION +1 -0
- data/core/.gitignore +3 -0
- data/core/.rspec +2 -0
- data/core/.ruby-gemset +1 -0
- data/core/.ruby-version +1 -0
- data/core/Gemfile +2 -0
- data/core/Guardfile +24 -0
- data/core/Rakefile +34 -0
- data/core/app/assets/images/background.jpg +0 -0
- data/core/app/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
- data/core/app/assets/images/bootstrap/glyphicons-halflings.png +0 -0
- data/core/app/assets/images/check.png +0 -0
- data/core/app/assets/images/cross.png +0 -0
- data/core/app/assets/images/dataTables/back_disabled.png +0 -0
- data/core/app/assets/images/dataTables/back_enabled.png +0 -0
- data/core/app/assets/images/dataTables/back_enabled_hover.png +0 -0
- data/core/app/assets/images/dataTables/forward_disabled.png +0 -0
- data/core/app/assets/images/dataTables/forward_enabled.png +0 -0
- data/core/app/assets/images/dataTables/forward_enabled_hover.png +0 -0
- data/core/app/assets/images/dataTables/sort_asc.png +0 -0
- data/core/app/assets/images/dataTables/sort_asc_disabled.png +0 -0
- data/core/app/assets/images/dataTables/sort_both.png +0 -0
- data/core/app/assets/images/dataTables/sort_desc.png +0 -0
- data/core/app/assets/images/dataTables/sort_desc_disabled.png +0 -0
- data/core/app/assets/images/down_arrow.gif +0 -0
- data/core/app/assets/images/elements/highlight.png +0 -0
- data/core/app/assets/images/elements/toolbar1.png +0 -0
- data/core/app/assets/images/favicon.ico +0 -0
- data/core/app/assets/images/gaku-logo.png +0 -0
- data/core/app/assets/images/gakuengine.png +0 -0
- data/core/app/assets/images/gakuengine20.png +0 -0
- data/core/app/assets/images/icon-chair.png +0 -0
- data/core/app/assets/images/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/core/app/assets/images/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/core/app/assets/images/images/ui-bg_glass_20_555555_1x400.png +0 -0
- data/core/app/assets/images/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
- data/core/app/assets/images/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/core/app/assets/images/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/core/app/assets/images/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/core/app/assets/images/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- data/core/app/assets/images/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- data/core/app/assets/images/images/ui-icons_222222_256x240.png +0 -0
- data/core/app/assets/images/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/core/app/assets/images/images/ui-icons_a83300_256x240.png +0 -0
- data/core/app/assets/images/images/ui-icons_cccccc_256x240.png +0 -0
- data/core/app/assets/images/images/ui-icons_ffffff_256x240.png +0 -0
- data/core/app/assets/images/pictures/thumb/missing.png +0 -0
- data/core/app/assets/images/rails.png +0 -0
- data/core/app/assets/images/raw/Logo_GAKUEngine.eps +0 -0
- data/core/app/assets/images/raw/Logo_GAKUEngine.svg +82 -0
- data/core/app/assets/images/raw/gakuengine-logoset.svg +332 -0
- data/core/app/assets/images/tbs-img/glyphicons-halflings-white.png +0 -0
- data/core/app/assets/images/tbs-img/glyphicons-halflings.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_40_111111_1x100.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-bg_inset-hard_55_165e83_1x100.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-bg_inset-soft_55_00a3af_1x100.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-bg_inset-soft_99_00a3af_1x100.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-icons_222222_256x240.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-icons_70f000_256x240.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-icons_ededed_256x240.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-icons_ffcf29_256x240.png +0 -0
- data/core/app/assets/images/themes/gakuengine/images/ui-icons_ffffff_256x240.png +0 -0
- data/core/app/assets/images/tick.png +0 -0
- data/core/app/assets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/core/app/assets/images/up_arrow.gif +0 -0
- data/core/app/assets/javascripts/gaku/admin.coffee +30 -0
- data/core/app/assets/javascripts/gaku/backbone/collections/attendance_types.js.coffee +2 -0
- data/core/app/assets/javascripts/gaku/backbone/collections/courses.js.coffee +2 -0
- data/core/app/assets/javascripts/gaku/backbone/collections/exams.js.coffee +2 -0
- data/core/app/assets/javascripts/gaku/backbone/models/attendance.js.coffee +1 -0
- data/core/app/assets/javascripts/gaku/backbone/models/attendance_type.coffee +1 -0
- data/core/app/assets/javascripts/gaku/backbone/models/calculation.js.coffee +43 -0
- data/core/app/assets/javascripts/gaku/backbone/models/completed.js.coffee +1 -0
- data/core/app/assets/javascripts/gaku/backbone/models/course.js.coffee +2 -0
- data/core/app/assets/javascripts/gaku/backbone/models/exam.js.coffee +1 -0
- data/core/app/assets/javascripts/gaku/backbone/models/exam_attendance.js.coffee +4 -0
- data/core/app/assets/javascripts/gaku/backbone/models/exam_portion_score.js.coffee +18 -0
- data/core/app/assets/javascripts/gaku/backbone/routers/.gitkeep +0 -0
- data/core/app/assets/javascripts/gaku/backbone/routers/exams_router.js.coffee +22 -0
- data/core/app/assets/javascripts/gaku/backbone/templates/.gitkeep +0 -0
- data/core/app/assets/javascripts/gaku/backbone/templates/attendance_chooser.jst.eco +19 -0
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/attendance_show.jst.eco +3 -0
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/exam_calculations.jst.eco +39 -0
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/exam_completion.jst.eco +1 -0
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/exam_score.jst.eco +53 -0
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/exam_table.jst.eco +32 -0
- data/core/app/assets/javascripts/gaku/backbone/templates/tables/exam_user.jst.eco +18 -0
- data/core/app/assets/javascripts/gaku/backbone/views/exam_attendance.js.coffee +51 -0
- data/core/app/assets/javascripts/gaku/backbone/views/exam_attendance_show.js.coffee +6 -0
- data/core/app/assets/javascripts/gaku/backbone/views/exam_calculations.js.coffee +15 -0
- data/core/app/assets/javascripts/gaku/backbone/views/exam_completion.js.coffee +7 -0
- data/core/app/assets/javascripts/gaku/backbone/views/exam_portion_score.js.coffee +8 -0
- data/core/app/assets/javascripts/gaku/backbone/views/exam_score_view.js.coffee +7 -0
- data/core/app/assets/javascripts/gaku/backbone/views/exam_table_view.js.coffee +227 -0
- data/core/app/assets/javascripts/gaku/backbone/views/exam_user_view.js.coffee +8 -0
- data/core/app/assets/javascripts/gaku/class_groups.js.coffee +11 -0
- data/core/app/assets/javascripts/gaku/courses.js.coffee +12 -0
- data/core/app/assets/javascripts/gaku/exams.js.coffee +23 -0
- data/core/app/assets/javascripts/gaku/extracurricular_activities.js.coffee +12 -0
- data/core/app/assets/javascripts/gaku/gaku.js.coffee +174 -0
- data/core/app/assets/javascripts/gaku/gaku_core.js +35 -0
- data/core/app/assets/javascripts/gaku/slide.js.erb +14 -0
- data/core/app/assets/javascripts/gaku/students.js.coffee +36 -0
- data/core/app/assets/javascripts/gaku/syllabuses.js.coffee +26 -0
- data/core/app/assets/javascripts/gaku/teachers.js.coffee +12 -0
- data/core/app/assets/stylesheets/gaku/admin/disposals.css.scss +14 -0
- data/core/app/assets/stylesheets/gaku/class_groups.css.scss +19 -0
- data/core/app/assets/stylesheets/gaku/course_groups.css.scss +14 -0
- data/core/app/assets/stylesheets/gaku/courses.css.scss +19 -0
- data/core/app/assets/stylesheets/gaku/exams.css.scss +72 -0
- data/core/app/assets/stylesheets/gaku/gaku.css.scss +172 -0
- data/core/app/assets/stylesheets/gaku/gaku_core.css +10 -0
- data/core/app/assets/stylesheets/gaku/gaku_import.scss +2 -0
- data/core/app/assets/stylesheets/gaku/students.css.scss +22 -0
- data/core/app/assets/templates/roster.xls +0 -0
- data/core/app/controllers/concerns/enrollments_controller.rb +84 -0
- data/core/app/controllers/concerns/polymorphic_resource_concern.rb +47 -0
- data/core/app/controllers/concerns/student_chooser_controller.rb +52 -0
- data/core/app/controllers/gaku/addresses_controller.rb +105 -0
- data/core/app/controllers/gaku/admin/achievements_controller.rb +64 -0
- data/core/app/controllers/gaku/admin/attendance_types_controller.rb +60 -0
- data/core/app/controllers/gaku/admin/base_controller.rb +40 -0
- data/core/app/controllers/gaku/admin/changes/student_address_changes_controller.rb +14 -0
- data/core/app/controllers/gaku/admin/changes/student_changes_controller.rb +13 -0
- data/core/app/controllers/gaku/admin/changes/student_contact_changes_controller.rb +13 -0
- data/core/app/controllers/gaku/admin/commute_method_types_controller.rb +54 -0
- data/core/app/controllers/gaku/admin/contact_types_controller.rb +55 -0
- data/core/app/controllers/gaku/admin/disposals_controller.rb +82 -0
- data/core/app/controllers/gaku/admin/enrollment_statuses_controller.rb +58 -0
- data/core/app/controllers/gaku/admin/grading_method_sets/grading_method_set_items_controller.rb +70 -0
- data/core/app/controllers/gaku/admin/grading_method_sets_controller.rb +69 -0
- data/core/app/controllers/gaku/admin/grading_methods_controller.rb +58 -0
- data/core/app/controllers/gaku/admin/presets_controller.rb +40 -0
- data/core/app/controllers/gaku/admin/roles_controller.rb +54 -0
- data/core/app/controllers/gaku/admin/school_years/semesters_controller.rb +31 -0
- data/core/app/controllers/gaku/admin/school_years_controller.rb +30 -0
- data/core/app/controllers/gaku/admin/schools/campuses/addresses_controller.rb +53 -0
- data/core/app/controllers/gaku/admin/schools/campuses_controller.rb +46 -0
- data/core/app/controllers/gaku/admin/schools/programs_controller.rb +48 -0
- data/core/app/controllers/gaku/admin/schools_controller.rb +59 -0
- data/core/app/controllers/gaku/admin/specialties_controller.rb +58 -0
- data/core/app/controllers/gaku/admin/states_controller.rb +49 -0
- data/core/app/controllers/gaku/admin/system_tools_controller.rb +8 -0
- data/core/app/controllers/gaku/admin/templates_controller.rb +49 -0
- data/core/app/controllers/gaku/admin/users_controller.rb +82 -0
- data/core/app/controllers/gaku/assignments_controller.rb +15 -0
- data/core/app/controllers/gaku/attachments_controller.rb +88 -0
- data/core/app/controllers/gaku/attendances_controller.rb +29 -0
- data/core/app/controllers/gaku/class_group_enrollments_controller.rb +15 -0
- data/core/app/controllers/gaku/class_groups/courses_controller.rb +44 -0
- data/core/app/controllers/gaku/class_groups/semester_class_groups_controller.rb +38 -0
- data/core/app/controllers/gaku/class_groups/students_controller.rb +43 -0
- data/core/app/controllers/gaku/class_groups_controller.rb +59 -0
- data/core/app/controllers/gaku/contacts_controller.rb +103 -0
- data/core/app/controllers/gaku/course_enrollments_controller.rb +10 -0
- data/core/app/controllers/gaku/course_groups/course_group_enrollments_controller.rb +50 -0
- data/core/app/controllers/gaku/course_groups_controller.rb +81 -0
- data/core/app/controllers/gaku/courses/enrollments_controller.rb +55 -0
- data/core/app/controllers/gaku/courses/semester_courses_controller.rb +37 -0
- data/core/app/controllers/gaku/courses_controller.rb +73 -0
- data/core/app/controllers/gaku/devise/passwords_controller.rb +4 -0
- data/core/app/controllers/gaku/devise/registrations_controller.rb +60 -0
- data/core/app/controllers/gaku/devise/sessions_controller.rb +4 -0
- data/core/app/controllers/gaku/exam_portion_scores_controller.rb +18 -0
- data/core/app/controllers/gaku/exams/exam_portions/attachments_controller.rb +53 -0
- data/core/app/controllers/gaku/exams/exam_portions_controller.rb +55 -0
- data/core/app/controllers/gaku/exams_controller.rb +140 -0
- data/core/app/controllers/gaku/extracurricular_activities/students_controller.rb +55 -0
- data/core/app/controllers/gaku/extracurricular_activities_controller.rb +48 -0
- data/core/app/controllers/gaku/extracurricular_activity_enrollments_controller.rb +10 -0
- data/core/app/controllers/gaku/gaku_controller.rb +93 -0
- data/core/app/controllers/gaku/home_controller.rb +10 -0
- data/core/app/controllers/gaku/notes_controller.rb +72 -0
- data/core/app/controllers/gaku/schedules_controller.rb +11 -0
- data/core/app/controllers/gaku/states_controller.rb +17 -0
- data/core/app/controllers/gaku/students/class_group_enrollments_controller.rb +59 -0
- data/core/app/controllers/gaku/students/course_enrollments_controller.rb +43 -0
- data/core/app/controllers/gaku/students/guardians_controller.rb +85 -0
- data/core/app/controllers/gaku/students/importer_controller.rb +75 -0
- data/core/app/controllers/gaku/students/simple_grades_controller.rb +59 -0
- data/core/app/controllers/gaku/students/student_achievements_controller.rb +49 -0
- data/core/app/controllers/gaku/students/student_specialties_controller.rb +60 -0
- data/core/app/controllers/gaku/students_controller.rb +189 -0
- data/core/app/controllers/gaku/syllabuses/assignments_controller.rb +20 -0
- data/core/app/controllers/gaku/syllabuses/exam_syllabuses_controller.rb +38 -0
- data/core/app/controllers/gaku/syllabuses/exams_controller.rb +53 -0
- data/core/app/controllers/gaku/syllabuses/importer_controller.rb +19 -0
- data/core/app/controllers/gaku/syllabuses_controller.rb +45 -0
- data/core/app/controllers/gaku/teachers_controller.rb +113 -0
- data/core/app/decorators/gaku/guardian_decorator.rb +6 -0
- data/core/app/decorators/gaku/person_decorator.rb +63 -0
- data/core/app/decorators/gaku/student_decorator.rb +29 -0
- data/core/app/decorators/gaku/teacher_decorator.rb +6 -0
- data/core/app/helpers/gaku/autocomplete_helper.rb +31 -0
- data/core/app/helpers/gaku/count_helper.rb +13 -0
- data/core/app/helpers/gaku/flash_helper.rb +16 -0
- data/core/app/helpers/gaku/gaku_helper.rb +138 -0
- data/core/app/helpers/gaku/icon_helper.rb +26 -0
- data/core/app/helpers/gaku/person_helper.rb +55 -0
- data/core/app/helpers/gaku/presets_helper.rb +41 -0
- data/core/app/helpers/gaku/sort_helper.rb +17 -0
- data/core/app/helpers/gaku/student_chooser_helper.rb +12 -0
- data/core/app/helpers/gaku/students_helper.rb +42 -0
- data/core/app/helpers/gaku/translations_helper.rb +181 -0
- data/core/app/models/concerns/addresses.rb +17 -0
- data/core/app/models/concerns/contacts.rb +17 -0
- data/core/app/models/concerns/notes.rb +8 -0
- data/core/app/models/concerns/person.rb +18 -0
- data/core/app/models/concerns/picture.rb +9 -0
- data/core/app/models/concerns/trashable.rb +17 -0
- data/core/app/models/gaku/ability.rb +59 -0
- data/core/app/models/gaku/achievement.rb +17 -0
- data/core/app/models/gaku/address.rb +107 -0
- data/core/app/models/gaku/admin_ability.rb +21 -0
- data/core/app/models/gaku/assignment.rb +15 -0
- data/core/app/models/gaku/assignment_score.rb +13 -0
- data/core/app/models/gaku/attachment.rb +21 -0
- data/core/app/models/gaku/attendance.rb +16 -0
- data/core/app/models/gaku/attendance_type.rb +15 -0
- data/core/app/models/gaku/campus.rb +18 -0
- data/core/app/models/gaku/class_group.rb +27 -0
- data/core/app/models/gaku/class_group_course_enrollment.rb +17 -0
- data/core/app/models/gaku/class_group_enrollment.rb +30 -0
- data/core/app/models/gaku/commute_method_type.rb +15 -0
- data/core/app/models/gaku/contact.rb +107 -0
- data/core/app/models/gaku/contact_type.rb +13 -0
- data/core/app/models/gaku/country.rb +22 -0
- data/core/app/models/gaku/course.rb +57 -0
- data/core/app/models/gaku/course_enrollment.rb +17 -0
- data/core/app/models/gaku/course_group.rb +16 -0
- data/core/app/models/gaku/course_group_enrollment.rb +16 -0
- data/core/app/models/gaku/enrollment_status.rb +25 -0
- data/core/app/models/gaku/exam.rb +109 -0
- data/core/app/models/gaku/exam_portion.rb +86 -0
- data/core/app/models/gaku/exam_portion_score.rb +12 -0
- data/core/app/models/gaku/exam_schedule.rb +10 -0
- data/core/app/models/gaku/exam_score.rb +9 -0
- data/core/app/models/gaku/exam_syllabus.rb +17 -0
- data/core/app/models/gaku/external_school_record.rb +15 -0
- data/core/app/models/gaku/extracurricular_activity.rb +14 -0
- data/core/app/models/gaku/extracurricular_activity_enrollment.rb +15 -0
- data/core/app/models/gaku/faculty.rb +12 -0
- data/core/app/models/gaku/grading_method.rb +18 -0
- data/core/app/models/gaku/grading_method_set.rb +31 -0
- data/core/app/models/gaku/grading_method_set_item.rb +32 -0
- data/core/app/models/gaku/guardian.rb +22 -0
- data/core/app/models/gaku/import_file.rb +5 -0
- data/core/app/models/gaku/install.rb +8 -0
- data/core/app/models/gaku/lesson.rb +9 -0
- data/core/app/models/gaku/lesson_plan.rb +13 -0
- data/core/app/models/gaku/level.rb +16 -0
- data/core/app/models/gaku/note.rb +7 -0
- data/core/app/models/gaku/preset.rb +75 -0
- data/core/app/models/gaku/program.rb +27 -0
- data/core/app/models/gaku/program_level.rb +10 -0
- data/core/app/models/gaku/program_specialty.rb +10 -0
- data/core/app/models/gaku/program_syllabus.rb +11 -0
- data/core/app/models/gaku/role.rb +14 -0
- data/core/app/models/gaku/schedule.rb +5 -0
- data/core/app/models/gaku/scholarship_status.rb +15 -0
- data/core/app/models/gaku/school.rb +48 -0
- data/core/app/models/gaku/school_role.rb +13 -0
- data/core/app/models/gaku/school_year.rb +18 -0
- data/core/app/models/gaku/semester.rb +37 -0
- data/core/app/models/gaku/semester_class_group.rb +21 -0
- data/core/app/models/gaku/semester_course.rb +21 -0
- data/core/app/models/gaku/simple_grade.rb +14 -0
- data/core/app/models/gaku/specialty.rb +17 -0
- data/core/app/models/gaku/state.rb +35 -0
- data/core/app/models/gaku/student.rb +94 -0
- data/core/app/models/gaku/student_achievement.rb +10 -0
- data/core/app/models/gaku/student_guardian.rb +8 -0
- data/core/app/models/gaku/student_specialty.rb +19 -0
- data/core/app/models/gaku/syllabus.rb +22 -0
- data/core/app/models/gaku/teacher.rb +9 -0
- data/core/app/models/gaku/template.rb +20 -0
- data/core/app/models/gaku/user.rb +46 -0
- data/core/app/models/gaku/user_role.rb +8 -0
- data/core/app/models/gaku/versioning/address_version.rb +9 -0
- data/core/app/models/gaku/versioning/contact_version.rb +7 -0
- data/core/app/models/gaku/versioning/student_version.rb +54 -0
- data/core/app/views/gaku/addresses/_address.html.slim +5 -0
- data/core/app/views/gaku/addresses/_addresses.html.slim +27 -0
- data/core/app/views/gaku/addresses/_fields.html.slim +14 -0
- data/core/app/views/gaku/addresses/_form.html.slim +3 -0
- data/core/app/views/gaku/addresses/_form_fields.html.slim +26 -0
- data/core/app/views/gaku/addresses/_modal.html.slim +6 -0
- data/core/app/views/gaku/addresses/_primary_field.html.slim +13 -0
- data/core/app/views/gaku/addresses/create.js.erb +12 -0
- data/core/app/views/gaku/addresses/destroy.js.erb +8 -0
- data/core/app/views/gaku/addresses/edit.js.erb +4 -0
- data/core/app/views/gaku/addresses/make_primary.js.erb +7 -0
- data/core/app/views/gaku/addresses/new.js.erb +4 -0
- data/core/app/views/gaku/addresses/recovery.js.erb +1 -0
- data/core/app/views/gaku/addresses/soft_delete.js.erb +8 -0
- data/core/app/views/gaku/addresses/update.js.erb +5 -0
- data/core/app/views/gaku/admin/achievements/_achievement.html.slim +2 -0
- data/core/app/views/gaku/admin/achievements/_fields.html.slim +7 -0
- data/core/app/views/gaku/admin/achievements/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/achievements/_form_fields.html.slim +4 -0
- data/core/app/views/gaku/admin/achievements/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/achievements/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/achievements/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/achievements/index.html.slim +22 -0
- data/core/app/views/gaku/admin/achievements/new.js.erb +3 -0
- data/core/app/views/gaku/admin/attendance_types/_attendance_type.html.slim +2 -0
- data/core/app/views/gaku/admin/attendance_types/_fields.html.slim +9 -0
- data/core/app/views/gaku/admin/attendance_types/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/attendance_types/_form_fields.html.slim +6 -0
- data/core/app/views/gaku/admin/attendance_types/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/attendance_types/create.js.erb +7 -0
- data/core/app/views/gaku/admin/attendance_types/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/attendance_types/edit.js.erb +4 -0
- data/core/app/views/gaku/admin/attendance_types/index.html.slim +24 -0
- data/core/app/views/gaku/admin/attendance_types/index.json.rb +1 -0
- data/core/app/views/gaku/admin/attendance_types/new.js.erb +4 -0
- data/core/app/views/gaku/admin/attendance_types/update.js.erb +4 -0
- data/core/app/views/gaku/admin/changes/student_address_changes/_change.html.slim +10 -0
- data/core/app/views/gaku/admin/changes/student_address_changes/_changes.html.slim +19 -0
- data/core/app/views/gaku/admin/changes/student_address_changes/_deletion.html.slim +9 -0
- data/core/app/views/gaku/admin/changes/student_address_changes/index.html.slim +11 -0
- data/core/app/views/gaku/admin/changes/student_changes/_change.html.slim +10 -0
- data/core/app/views/gaku/admin/changes/student_changes/_changes.html.slim +18 -0
- data/core/app/views/gaku/admin/changes/student_changes/_deletion.html.slim +9 -0
- data/core/app/views/gaku/admin/changes/student_changes/index.html.slim +13 -0
- data/core/app/views/gaku/admin/changes/student_contact_changes/_change.html.slim +10 -0
- data/core/app/views/gaku/admin/changes/student_contact_changes/_changes.html.slim +19 -0
- data/core/app/views/gaku/admin/changes/student_contact_changes/_deletion.html.slim +9 -0
- data/core/app/views/gaku/admin/changes/student_contact_changes/index.html.slim +11 -0
- data/core/app/views/gaku/admin/commute_method_types/_commute_method_type.html.slim +2 -0
- data/core/app/views/gaku/admin/commute_method_types/_fields.html.slim +4 -0
- data/core/app/views/gaku/admin/commute_method_types/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/commute_method_types/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/commute_method_types/create.js.erb +7 -0
- data/core/app/views/gaku/admin/commute_method_types/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/commute_method_types/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/commute_method_types/index.html.slim +18 -0
- data/core/app/views/gaku/admin/commute_method_types/new.js.erb +3 -0
- data/core/app/views/gaku/admin/commute_method_types/update.js.erb +3 -0
- data/core/app/views/gaku/admin/contact_types/_contact_type.html.slim +2 -0
- data/core/app/views/gaku/admin/contact_types/_fields.html.slim +4 -0
- data/core/app/views/gaku/admin/contact_types/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/contact_types/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/contact_types/create.js.erb +7 -0
- data/core/app/views/gaku/admin/contact_types/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/contact_types/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/contact_types/index.html.slim +18 -0
- data/core/app/views/gaku/admin/contact_types/new.js.erb +3 -0
- data/core/app/views/gaku/admin/contact_types/update.js.erb +3 -0
- data/core/app/views/gaku/admin/disposals/_address.html.slim +12 -0
- data/core/app/views/gaku/admin/disposals/_addresses.html.slim +17 -0
- data/core/app/views/gaku/admin/disposals/_contact.html.slim +9 -0
- data/core/app/views/gaku/admin/disposals/_contacts.html.slim +14 -0
- data/core/app/views/gaku/admin/disposals/_course_group.html.slim +3 -0
- data/core/app/views/gaku/admin/disposals/_course_groups.html.slim +12 -0
- data/core/app/views/gaku/admin/disposals/_exam.html.slim +10 -0
- data/core/app/views/gaku/admin/disposals/_guardian.html.slim +10 -0
- data/core/app/views/gaku/admin/disposals/_student.html.slim +10 -0
- data/core/app/views/gaku/admin/disposals/_tabs.html.slim +17 -0
- data/core/app/views/gaku/admin/disposals/_teacher.html.slim +10 -0
- data/core/app/views/gaku/admin/disposals/addresses.html.slim +2 -0
- data/core/app/views/gaku/admin/disposals/attachments.html.slim +30 -0
- data/core/app/views/gaku/admin/disposals/contacts.html.slim +2 -0
- data/core/app/views/gaku/admin/disposals/course_groups.html.slim +12 -0
- data/core/app/views/gaku/admin/disposals/exams.html.slim +16 -0
- data/core/app/views/gaku/admin/disposals/guardians.html.slim +16 -0
- data/core/app/views/gaku/admin/disposals/index.html.slim +1 -0
- data/core/app/views/gaku/admin/disposals/students.html.slim +16 -0
- data/core/app/views/gaku/admin/disposals/tabs/_addresses_tabs.html.slim +19 -0
- data/core/app/views/gaku/admin/disposals/tabs/_contacts_tabs.html.slim +19 -0
- data/core/app/views/gaku/admin/disposals/teachers.html.slim +16 -0
- data/core/app/views/gaku/admin/enrollment_statuses/_enrollment_status.html.slim +2 -0
- data/core/app/views/gaku/admin/enrollment_statuses/_fields.html.slim +6 -0
- data/core/app/views/gaku/admin/enrollment_statuses/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/enrollment_statuses/_form_fields.html.slim +3 -0
- data/core/app/views/gaku/admin/enrollment_statuses/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/enrollment_statuses/create.js.erb +7 -0
- data/core/app/views/gaku/admin/enrollment_statuses/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/enrollment_statuses/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/enrollment_statuses/index.html.slim +21 -0
- data/core/app/views/gaku/admin/enrollment_statuses/new.js.erb +3 -0
- data/core/app/views/gaku/admin/enrollment_statuses/update.js.erb +4 -0
- data/core/app/views/gaku/admin/grading_method_sets/_fields.html.slim +9 -0
- data/core/app/views/gaku/admin/grading_method_sets/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/grading_method_sets/_form_fields.html.slim +4 -0
- data/core/app/views/gaku/admin/grading_method_sets/_grading_method_set.html.slim +4 -0
- data/core/app/views/gaku/admin/grading_method_sets/_make_primary_field.html.slim +4 -0
- data/core/app/views/gaku/admin/grading_method_sets/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/grading_method_sets/create.js.erb +7 -0
- data/core/app/views/gaku/admin/grading_method_sets/destroy.js.erb +7 -0
- data/core/app/views/gaku/admin/grading_method_sets/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_fields.html.slim +9 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form_fields.html.slim +1 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_item.html.slim +4 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_items.html.slim +23 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/create.js.erb +7 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/new.js.erb +3 -0
- data/core/app/views/gaku/admin/grading_method_sets/grading_method_set_items/update.js.erb +3 -0
- data/core/app/views/gaku/admin/grading_method_sets/index.html.slim +23 -0
- data/core/app/views/gaku/admin/grading_method_sets/make_primary.js.erb +6 -0
- data/core/app/views/gaku/admin/grading_method_sets/new.js.erb +3 -0
- data/core/app/views/gaku/admin/grading_method_sets/show.html.slim +13 -0
- data/core/app/views/gaku/admin/grading_method_sets/update.js.erb +3 -0
- data/core/app/views/gaku/admin/grading_methods/_fields.html.slim +6 -0
- data/core/app/views/gaku/admin/grading_methods/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/grading_methods/_form_fields.html.slim +3 -0
- data/core/app/views/gaku/admin/grading_methods/_grading_method.html.slim +2 -0
- data/core/app/views/gaku/admin/grading_methods/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/grading_methods/create.js.erb +7 -0
- data/core/app/views/gaku/admin/grading_methods/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/grading_methods/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/grading_methods/index.html.slim +20 -0
- data/core/app/views/gaku/admin/grading_methods/new.js.erb +3 -0
- data/core/app/views/gaku/admin/grading_methods/update.js.erb +3 -0
- data/core/app/views/gaku/admin/presets/defaults.html.slim +50 -0
- data/core/app/views/gaku/admin/presets/grading.html.slim +12 -0
- data/core/app/views/gaku/admin/presets/locale.html.slim +10 -0
- data/core/app/views/gaku/admin/presets/names.html.slim +20 -0
- data/core/app/views/gaku/admin/presets/output_formats.html.slim +19 -0
- data/core/app/views/gaku/admin/presets/pagination.html.slim +19 -0
- data/core/app/views/gaku/admin/presets/students.html.slim +21 -0
- data/core/app/views/gaku/admin/roles/_fields.html.slim +5 -0
- data/core/app/views/gaku/admin/roles/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/roles/_form_fields.html.slim +1 -0
- data/core/app/views/gaku/admin/roles/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/roles/_role.html.slim +2 -0
- data/core/app/views/gaku/admin/roles/create.js.erb +7 -0
- data/core/app/views/gaku/admin/roles/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/roles/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/roles/index.html.slim +20 -0
- data/core/app/views/gaku/admin/roles/new.js.erb +3 -0
- data/core/app/views/gaku/admin/roles/update.js.erb +3 -0
- data/core/app/views/gaku/admin/school_years/_fields.html.slim +7 -0
- data/core/app/views/gaku/admin/school_years/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/school_years/_form_fields.html.slim +5 -0
- data/core/app/views/gaku/admin/school_years/_modal.html.slim +7 -0
- data/core/app/views/gaku/admin/school_years/_school_year.html.slim +3 -0
- data/core/app/views/gaku/admin/school_years/_show_table.html.slim +10 -0
- data/core/app/views/gaku/admin/school_years/create.js.erb +10 -0
- data/core/app/views/gaku/admin/school_years/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/school_years/edit.js.erb +5 -0
- data/core/app/views/gaku/admin/school_years/index.html.slim +21 -0
- data/core/app/views/gaku/admin/school_years/new.js.erb +5 -0
- data/core/app/views/gaku/admin/school_years/semesters/_fields.html.slim +7 -0
- data/core/app/views/gaku/admin/school_years/semesters/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/school_years/semesters/_form_fields.html.slim +5 -0
- data/core/app/views/gaku/admin/school_years/semesters/_modal.html.slim +7 -0
- data/core/app/views/gaku/admin/school_years/semesters/_semester.html.slim +3 -0
- data/core/app/views/gaku/admin/school_years/semesters/_semesters.html.slim +22 -0
- data/core/app/views/gaku/admin/school_years/semesters/create.js.erb +10 -0
- data/core/app/views/gaku/admin/school_years/semesters/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/school_years/semesters/edit.js.erb +6 -0
- data/core/app/views/gaku/admin/school_years/semesters/new.js.erb +5 -0
- data/core/app/views/gaku/admin/school_years/semesters/update.js.erb +8 -0
- data/core/app/views/gaku/admin/school_years/show.html.slim +15 -0
- data/core/app/views/gaku/admin/school_years/update.js.erb +8 -0
- data/core/app/views/gaku/admin/schools/_fields.html.slim +9 -0
- data/core/app/views/gaku/admin/schools/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/schools/_form_fields.html.slim +25 -0
- data/core/app/views/gaku/admin/schools/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/schools/_school.html.slim +2 -0
- data/core/app/views/gaku/admin/schools/_school_unit.html.slim +6 -0
- data/core/app/views/gaku/admin/schools/_show_table.html.slim +35 -0
- data/core/app/views/gaku/admin/schools/campuses/_campus.html.slim +7 -0
- data/core/app/views/gaku/admin/schools/campuses/_campus_unit.html.slim +6 -0
- data/core/app/views/gaku/admin/schools/campuses/_campuses.html.slim +20 -0
- data/core/app/views/gaku/admin/schools/campuses/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/schools/campuses/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/schools/campuses/_picture.html.slim +10 -0
- data/core/app/views/gaku/admin/schools/campuses/_show_table.html.slim +10 -0
- data/core/app/views/gaku/admin/schools/campuses/_upload_picture.html.slim +7 -0
- data/core/app/views/gaku/admin/schools/campuses/addresses/_address.html.slim +6 -0
- data/core/app/views/gaku/admin/schools/campuses/addresses/_address_row_fields.html.slim +4 -0
- data/core/app/views/gaku/admin/schools/campuses/addresses/_addresses.html.slim +24 -0
- data/core/app/views/gaku/admin/schools/campuses/addresses/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/schools/campuses/addresses/_modal.html.slim +7 -0
- data/core/app/views/gaku/admin/schools/campuses/addresses/create.js.erb +6 -0
- data/core/app/views/gaku/admin/schools/campuses/addresses/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/schools/campuses/addresses/edit.js.erb +4 -0
- data/core/app/views/gaku/admin/schools/campuses/addresses/new.js.erb +4 -0
- data/core/app/views/gaku/admin/schools/campuses/addresses/update.js.erb +4 -0
- data/core/app/views/gaku/admin/schools/campuses/create.js.erb +7 -0
- data/core/app/views/gaku/admin/schools/campuses/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/schools/campuses/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/campuses/new.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/campuses/show.html.slim +21 -0
- data/core/app/views/gaku/admin/schools/campuses/update.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/create.js.erb +7 -0
- data/core/app/views/gaku/admin/schools/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/schools/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/edit_master.html.slim +17 -0
- data/core/app/views/gaku/admin/schools/index.html.slim +29 -0
- data/core/app/views/gaku/admin/schools/new.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/programs/_fields.html.slim +9 -0
- data/core/app/views/gaku/admin/schools/programs/_form.html.slim +20 -0
- data/core/app/views/gaku/admin/schools/programs/_form_fields.html.slim +6 -0
- data/core/app/views/gaku/admin/schools/programs/_modal.html.slim +5 -0
- data/core/app/views/gaku/admin/schools/programs/_program.html.slim +2 -0
- data/core/app/views/gaku/admin/schools/programs/_programs.html.slim +25 -0
- data/core/app/views/gaku/admin/schools/programs/create.js.erb +7 -0
- data/core/app/views/gaku/admin/schools/programs/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/schools/programs/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/programs/new.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/programs/program_levels/_form_fields.html.slim +8 -0
- data/core/app/views/gaku/admin/schools/programs/program_levels/_modal.html.slim +10 -0
- data/core/app/views/gaku/admin/schools/programs/program_specialties/_form_fields.html.slim +7 -0
- data/core/app/views/gaku/admin/schools/programs/program_specialties/_modal.html.slim +10 -0
- data/core/app/views/gaku/admin/schools/programs/program_syllabuses/_form_fields.html.slim +6 -0
- data/core/app/views/gaku/admin/schools/programs/program_syllabuses/_modal.html.slim +10 -0
- data/core/app/views/gaku/admin/schools/programs/show_program_levels.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/programs/show_program_specialties.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/programs/show_program_syllabuses.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/programs/update.js.erb +3 -0
- data/core/app/views/gaku/admin/schools/show.html.slim +26 -0
- data/core/app/views/gaku/admin/schools/update.js.erb +7 -0
- data/core/app/views/gaku/admin/shared/_picture.html.slim +10 -0
- data/core/app/views/gaku/admin/shared/_upload_picture.html.slim +7 -0
- data/core/app/views/gaku/admin/specialties/_fields.html.slim +6 -0
- data/core/app/views/gaku/admin/specialties/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/specialties/_form_fields.html.slim +3 -0
- data/core/app/views/gaku/admin/specialties/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/specialties/_specialty.html.slim +2 -0
- data/core/app/views/gaku/admin/specialties/create.js.erb +7 -0
- data/core/app/views/gaku/admin/specialties/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/specialties/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/specialties/index.html.slim +20 -0
- data/core/app/views/gaku/admin/specialties/new.js.erb +3 -0
- data/core/app/views/gaku/admin/specialties/update.js.erb +3 -0
- data/core/app/views/gaku/admin/states/_country_select_form.html.slim +4 -0
- data/core/app/views/gaku/admin/states/_country_table.html.slim +11 -0
- data/core/app/views/gaku/admin/states/_fields.html.slim +8 -0
- data/core/app/views/gaku/admin/states/_form.html.slim +4 -0
- data/core/app/views/gaku/admin/states/_form_fields.html.slim +14 -0
- data/core/app/views/gaku/admin/states/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/states/_state.html.slim +2 -0
- data/core/app/views/gaku/admin/states/country_states.js.erb +1 -0
- data/core/app/views/gaku/admin/states/create.js.erb +7 -0
- data/core/app/views/gaku/admin/states/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/states/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/states/index.html.slim +15 -0
- data/core/app/views/gaku/admin/states/new.js.erb +3 -0
- data/core/app/views/gaku/admin/states/update.js.erb +3 -0
- data/core/app/views/gaku/admin/system_tools/index.html.slim +1 -0
- data/core/app/views/gaku/admin/templates/_fields.html.slim +8 -0
- data/core/app/views/gaku/admin/templates/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/templates/_form_fields.html.slim +4 -0
- data/core/app/views/gaku/admin/templates/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/templates/_template.html.slim +2 -0
- data/core/app/views/gaku/admin/templates/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/templates/edit.js.erb +4 -0
- data/core/app/views/gaku/admin/templates/index.html.slim +20 -0
- data/core/app/views/gaku/admin/templates/new.js.erb +3 -0
- data/core/app/views/gaku/admin/users/_fields.html.slim +5 -0
- data/core/app/views/gaku/admin/users/_form.html.slim +3 -0
- data/core/app/views/gaku/admin/users/_form_fields.html.slim +14 -0
- data/core/app/views/gaku/admin/users/_modal.html.slim +6 -0
- data/core/app/views/gaku/admin/users/_user.html.slim +2 -0
- data/core/app/views/gaku/admin/users/create.js.erb +7 -0
- data/core/app/views/gaku/admin/users/destroy.js.erb +2 -0
- data/core/app/views/gaku/admin/users/edit.js.erb +3 -0
- data/core/app/views/gaku/admin/users/index.html.slim +21 -0
- data/core/app/views/gaku/admin/users/new.js.erb +3 -0
- data/core/app/views/gaku/admin/users/update.js.erb +4 -0
- data/core/app/views/gaku/attachments/destroy.js.erb +1 -0
- data/core/app/views/gaku/attachments/edit.js.erb +3 -0
- data/core/app/views/gaku/attachments/new.js.erb +1 -0
- data/core/app/views/gaku/attachments/recover_attachment.js.erb +1 -0
- data/core/app/views/gaku/attachments/soft_delete.js.erb +3 -0
- data/core/app/views/gaku/class_groups/_class_group.html.slim +7 -0
- data/core/app/views/gaku/class_groups/_class_group_modal.html.slim +7 -0
- data/core/app/views/gaku/class_groups/_class_group_unit.html.slim +5 -0
- data/core/app/views/gaku/class_groups/_class_groups.html.slim +25 -0
- data/core/app/views/gaku/class_groups/_form.html.slim +8 -0
- data/core/app/views/gaku/class_groups/_form_fields.html.slim +6 -0
- data/core/app/views/gaku/class_groups/_tabs.html.slim +32 -0
- data/core/app/views/gaku/class_groups/courses/_course.html.slim +4 -0
- data/core/app/views/gaku/class_groups/courses/_courses.html.slim +19 -0
- data/core/app/views/gaku/class_groups/courses/_form.html.slim +5 -0
- data/core/app/views/gaku/class_groups/courses/create.js.erb +8 -0
- data/core/app/views/gaku/class_groups/courses/destroy.js.erb +3 -0
- data/core/app/views/gaku/class_groups/courses/new.js.erb +3 -0
- data/core/app/views/gaku/class_groups/create.js.erb +6 -0
- data/core/app/views/gaku/class_groups/destroy.js.erb +6 -0
- data/core/app/views/gaku/class_groups/edit.js.erb +3 -0
- data/core/app/views/gaku/class_groups/index.html.slim +14 -0
- data/core/app/views/gaku/class_groups/new.js.erb +3 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/_fields.html.slim +4 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/_form.html.slim +4 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/_form_fields.html.slim +3 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/_modal.html.slim +5 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/_semester.html.slim +3 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/_semester_modal.html.slim +6 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/_semesters.html.slim +19 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/create.js.erb +6 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/destroy.js.erb +3 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/edit.js.erb +3 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/new.js.erb +3 -0
- data/core/app/views/gaku/class_groups/semester_class_groups/update.js.erb +3 -0
- data/core/app/views/gaku/class_groups/show.html.slim +25 -0
- data/core/app/views/gaku/class_groups/student_chooser.js.erb +2 -0
- data/core/app/views/gaku/class_groups/students/_student.html.slim +5 -0
- data/core/app/views/gaku/class_groups/students/_students.html.slim +19 -0
- data/core/app/views/gaku/class_groups/students/destroy.js.erb +3 -0
- data/core/app/views/gaku/class_groups/students/enroll_students.js.erb +11 -0
- data/core/app/views/gaku/class_groups/students/new.js.erb +3 -0
- data/core/app/views/gaku/class_groups/update.js.erb +8 -0
- data/core/app/views/gaku/contacts/_contact.html.slim +5 -0
- data/core/app/views/gaku/contacts/_contacts.html.slim +24 -0
- data/core/app/views/gaku/contacts/_fields.html.slim +13 -0
- data/core/app/views/gaku/contacts/_form.html.slim +4 -0
- data/core/app/views/gaku/contacts/_form_fields.html.slim +14 -0
- data/core/app/views/gaku/contacts/_modal.html.slim +6 -0
- data/core/app/views/gaku/contacts/_primary_field.html.slim +13 -0
- data/core/app/views/gaku/contacts/create.js.erb +21 -0
- data/core/app/views/gaku/contacts/destroy.js.erb +9 -0
- data/core/app/views/gaku/contacts/edit.js.erb +4 -0
- data/core/app/views/gaku/contacts/make_primary.js.erb +6 -0
- data/core/app/views/gaku/contacts/new.js.erb +3 -0
- data/core/app/views/gaku/contacts/recovery.js.erb +1 -0
- data/core/app/views/gaku/contacts/soft_delete.js.erb +8 -0
- data/core/app/views/gaku/contacts/update.js.erb +14 -0
- data/core/app/views/gaku/course_groups/_course_group.html.slim +3 -0
- data/core/app/views/gaku/course_groups/_course_group_unit.html.slim +4 -0
- data/core/app/views/gaku/course_groups/_course_groups.html.slim +7 -0
- data/core/app/views/gaku/course_groups/_delete_confirm.html.slim +11 -0
- data/core/app/views/gaku/course_groups/_fields.html.slim +1 -0
- data/core/app/views/gaku/course_groups/_form.html.slim +3 -0
- data/core/app/views/gaku/course_groups/_form_fields.html.slim +1 -0
- data/core/app/views/gaku/course_groups/_modal.html.slim +6 -0
- data/core/app/views/gaku/course_groups/course_group_enrollments/_course.html.slim +4 -0
- data/core/app/views/gaku/course_groups/course_group_enrollments/_courses.html.slim +23 -0
- data/core/app/views/gaku/course_groups/course_group_enrollments/_form.html.slim +4 -0
- data/core/app/views/gaku/course_groups/course_group_enrollments/create.js.erb +7 -0
- data/core/app/views/gaku/course_groups/course_group_enrollments/destroy.js.erb +2 -0
- data/core/app/views/gaku/course_groups/course_group_enrollments/new.js.erb +3 -0
- data/core/app/views/gaku/course_groups/create.js.erb +10 -0
- data/core/app/views/gaku/course_groups/destroy.js.erb +2 -0
- data/core/app/views/gaku/course_groups/edit.js.erb +3 -0
- data/core/app/views/gaku/course_groups/index.html.slim +15 -0
- data/core/app/views/gaku/course_groups/index.js.erb +1 -0
- data/core/app/views/gaku/course_groups/new.js.erb +3 -0
- data/core/app/views/gaku/course_groups/recovery.js.erb +2 -0
- data/core/app/views/gaku/course_groups/show.html.slim +30 -0
- data/core/app/views/gaku/course_groups/update.js.erb +7 -0
- data/core/app/views/gaku/courses/_course.html.slim +2 -0
- data/core/app/views/gaku/courses/_course_unit.html.slim +5 -0
- data/core/app/views/gaku/courses/_courses.html.slim +27 -0
- data/core/app/views/gaku/courses/_form.html.slim +7 -0
- data/core/app/views/gaku/courses/_form_fields.html.slim +4 -0
- data/core/app/views/gaku/courses/_modal.html.slim +6 -0
- data/core/app/views/gaku/courses/_tabs.html.slim +25 -0
- data/core/app/views/gaku/courses/assignments/_assignments.html.slim +2 -0
- data/core/app/views/gaku/courses/create.js.erb +7 -0
- data/core/app/views/gaku/courses/destroy.js.erb +7 -0
- data/core/app/views/gaku/courses/edit.js.erb +4 -0
- data/core/app/views/gaku/courses/enrollments/_enrolled.html.slim +7 -0
- data/core/app/views/gaku/courses/enrollments/_enrollments.html.slim +29 -0
- data/core/app/views/gaku/courses/enrollments/_errors_modal.html.slim +11 -0
- data/core/app/views/gaku/courses/enrollments/class_groups/_form.html.slim +3 -0
- data/core/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb +16 -0
- data/core/app/views/gaku/courses/enrollments/class_groups/new.js.erb +4 -0
- data/core/app/views/gaku/courses/enrollments/error.js.erb +2 -0
- data/core/app/views/gaku/courses/enrollments/students/enroll_students.js.erb +11 -0
- data/core/app/views/gaku/courses/exams/_exam.html.slim +5 -0
- data/core/app/views/gaku/courses/exams/_exams.html.slim +14 -0
- data/core/app/views/gaku/courses/index.html.slim +14 -0
- data/core/app/views/gaku/courses/new.js.erb +3 -0
- data/core/app/views/gaku/courses/semester_courses/_fields.html.slim +4 -0
- data/core/app/views/gaku/courses/semester_courses/_form.html.slim +4 -0
- data/core/app/views/gaku/courses/semester_courses/_form_fields.html.slim +3 -0
- data/core/app/views/gaku/courses/semester_courses/_modal.html.slim +6 -0
- data/core/app/views/gaku/courses/semester_courses/_semester_course.html.slim +3 -0
- data/core/app/views/gaku/courses/semester_courses/_semester_courses.html.slim +18 -0
- data/core/app/views/gaku/courses/semester_courses/create.js.erb +6 -0
- data/core/app/views/gaku/courses/semester_courses/destroy.js.erb +3 -0
- data/core/app/views/gaku/courses/semester_courses/edit.js.erb +3 -0
- data/core/app/views/gaku/courses/semester_courses/new.js.erb +3 -0
- data/core/app/views/gaku/courses/semester_courses/update.js.erb +3 -0
- data/core/app/views/gaku/courses/show.html.slim +32 -0
- data/core/app/views/gaku/courses/student_chooser.js.erb +2 -0
- data/core/app/views/gaku/courses/update.js.erb +16 -0
- data/core/app/views/gaku/devise/confirmations/new.html.slim +9 -0
- data/core/app/views/gaku/devise/mailer/confirmation_instructions.html.slim +4 -0
- data/core/app/views/gaku/devise/mailer/reset_password_instructions.html.slim +6 -0
- data/core/app/views/gaku/devise/mailer/unlock_instructions.html.slim +5 -0
- data/core/app/views/gaku/devise/passwords/edit.html.slim +14 -0
- data/core/app/views/gaku/devise/passwords/new.html.slim +8 -0
- data/core/app/views/gaku/devise/registrations/edit.html.slim +31 -0
- data/core/app/views/gaku/devise/registrations/new.html.slim +29 -0
- data/core/app/views/gaku/devise/registrations/set_up_admin_account.html.slim +27 -0
- data/core/app/views/gaku/devise/sessions/new.html.slim +27 -0
- data/core/app/views/gaku/devise/shared/_links.html.erb +25 -0
- data/core/app/views/gaku/devise/unlocks/new.html.slim +9 -0
- data/core/app/views/gaku/exam_divisions/_form.html.erb +29 -0
- data/core/app/views/gaku/exam_divisions/edit.html.erb +6 -0
- data/core/app/views/gaku/exam_divisions/index.html.erb +27 -0
- data/core/app/views/gaku/exam_divisions/new.html.erb +5 -0
- data/core/app/views/gaku/exam_divisions/show.html.erb +20 -0
- data/core/app/views/gaku/exams/_exam.html.slim +2 -0
- data/core/app/views/gaku/exams/_fields.html.slim +8 -0
- data/core/app/views/gaku/exams/_form.html.slim +19 -0
- data/core/app/views/gaku/exams/_form_fields.html.slim +13 -0
- data/core/app/views/gaku/exams/_modal.html.slim +6 -0
- data/core/app/views/gaku/exams/_show_table.html.slim +15 -0
- data/core/app/views/gaku/exams/_weight_check_widget.html.slim +20 -0
- data/core/app/views/gaku/exams/create.js.erb +6 -0
- data/core/app/views/gaku/exams/destroy.js.erb +2 -0
- data/core/app/views/gaku/exams/edit.js +3 -0
- data/core/app/views/gaku/exams/exam_portions/_custom_exam_portion_error.html.slim +4 -0
- data/core/app/views/gaku/exams/exam_portions/_exam_portion.html.slim +3 -0
- data/core/app/views/gaku/exams/exam_portions/_exam_portion_unit.html.slim +3 -0
- data/core/app/views/gaku/exams/exam_portions/_exam_portion_weight_td.html.slim +3 -0
- data/core/app/views/gaku/exams/exam_portions/_exam_portions.html.slim +14 -0
- data/core/app/views/gaku/exams/exam_portions/_form.html.slim +3 -0
- data/core/app/views/gaku/exams/exam_portions/_modal.html.slim +8 -0
- data/core/app/views/gaku/exams/exam_portions/_show_table.html.slim +12 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/_attachment.html.slim +2 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim +23 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/_form.html.slim +6 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/_form_fields.html.slim +3 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/_modal.html.slim +6 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/create.js.erb +0 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/create.js.erb~HEAD +0 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/create.js.erb~HEAD_0 +0 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/create.js.erb~kagetsuki_master +0 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/create.js.erb~kagetsuki_master_0 +0 -0
- data/core/app/views/gaku/exams/exam_portions/attachments/new.js.erb +3 -0
- data/core/app/views/gaku/exams/exam_portions/create.js.erb +48 -0
- data/core/app/views/gaku/exams/exam_portions/destroy.js.erb +8 -0
- data/core/app/views/gaku/exams/exam_portions/edit.js.erb +3 -0
- data/core/app/views/gaku/exams/exam_portions/new.js.erb +3 -0
- data/core/app/views/gaku/exams/exam_portions/show.html.slim +8 -0
- data/core/app/views/gaku/exams/exam_portions/update.js.erb +27 -0
- data/core/app/views/gaku/exams/export.xls.rb +67 -0
- data/core/app/views/gaku/exams/grading.html.slim +34 -0
- data/core/app/views/gaku/exams/index.html.slim +21 -0
- data/core/app/views/gaku/exams/new.js.erb +3 -0
- data/core/app/views/gaku/exams/recovery.js.erb +1 -0
- data/core/app/views/gaku/exams/show.html.slim +33 -0
- data/core/app/views/gaku/exams/update.js.erb +5 -0
- data/core/app/views/gaku/extracurricular_activities/_extracurricular_activities.html.slim +9 -0
- data/core/app/views/gaku/extracurricular_activities/_extracurricular_activity.html.slim +6 -0
- data/core/app/views/gaku/extracurricular_activities/_fields.html.slim +1 -0
- data/core/app/views/gaku/extracurricular_activities/_form.html.slim +3 -0
- data/core/app/views/gaku/extracurricular_activities/_form_fields.html.slim +3 -0
- data/core/app/views/gaku/extracurricular_activities/_modal.html.slim +7 -0
- data/core/app/views/gaku/extracurricular_activities/_tabs.html.slim +14 -0
- data/core/app/views/gaku/extracurricular_activities/create.js.erb +6 -0
- data/core/app/views/gaku/extracurricular_activities/destroy.js.erb +2 -0
- data/core/app/views/gaku/extracurricular_activities/edit.js.erb +3 -0
- data/core/app/views/gaku/extracurricular_activities/index.html.slim +14 -0
- data/core/app/views/gaku/extracurricular_activities/index.js.erb +2 -0
- data/core/app/views/gaku/extracurricular_activities/new.js.erb +3 -0
- data/core/app/views/gaku/extracurricular_activities/show.html.slim +20 -0
- data/core/app/views/gaku/extracurricular_activities/student_chooser.js.erb +2 -0
- data/core/app/views/gaku/extracurricular_activities/students/_student.html.slim +5 -0
- data/core/app/views/gaku/extracurricular_activities/students/_students.html.slim +19 -0
- data/core/app/views/gaku/extracurricular_activities/students/destroy.js.erb +3 -0
- data/core/app/views/gaku/extracurricular_activities/students/enroll_students.js.erb +11 -0
- data/core/app/views/gaku/extracurricular_activities/update.js.erb +6 -0
- data/core/app/views/gaku/home/_user_info.html.slim +7 -0
- data/core/app/views/gaku/home/_user_menu.html.slim +2 -0
- data/core/app/views/gaku/home/index.html.slim +13 -0
- data/core/app/views/gaku/layouts/admin/index.html.slim +15 -0
- data/core/app/views/gaku/layouts/edit.html.slim +9 -0
- data/core/app/views/gaku/layouts/gaku.html.slim +23 -0
- data/core/app/views/gaku/layouts/index.html.slim +14 -0
- data/core/app/views/gaku/layouts/show.html.slim +10 -0
- data/core/app/views/gaku/notes/_buttons.html.slim +5 -0
- data/core/app/views/gaku/notes/_fields.html.slim +2 -0
- data/core/app/views/gaku/notes/_form.html.slim +6 -0
- data/core/app/views/gaku/notes/_form_fields.html.slim +6 -0
- data/core/app/views/gaku/notes/_modal.html.slim +6 -0
- data/core/app/views/gaku/notes/_note.html.slim +4 -0
- data/core/app/views/gaku/notes/_notes.html.slim +19 -0
- data/core/app/views/gaku/notes/_show_modal.html.slim +4 -0
- data/core/app/views/gaku/notes/create.js.erb +11 -0
- data/core/app/views/gaku/notes/destroy.js.erb +4 -0
- data/core/app/views/gaku/notes/edit.js.erb +3 -0
- data/core/app/views/gaku/notes/new.js.erb +3 -0
- data/core/app/views/gaku/notes/show.js.erb +3 -0
- data/core/app/views/gaku/notes/update.js.erb +4 -0
- data/core/app/views/gaku/shared/_delete_modal.html.slim +7 -0
- data/core/app/views/gaku/shared/_delete_modal_remote.html.slim +7 -0
- data/core/app/views/gaku/shared/_errors.html.slim +6 -0
- data/core/app/views/gaku/shared/_external_school_record.html.slim +36 -0
- data/core/app/views/gaku/shared/_flash.html.slim +4 -0
- data/core/app/views/gaku/shared/_language_bar.html.slim +8 -0
- data/core/app/views/gaku/shared/_login_widget.html.slim +27 -0
- data/core/app/views/gaku/shared/_manage_buttons.html.slim +4 -0
- data/core/app/views/gaku/shared/_menubar.html.slim +8 -0
- data/core/app/views/gaku/shared/_modal_config.html.slim +37 -0
- data/core/app/views/gaku/shared/_multi_errors.html.slim +6 -0
- data/core/app/views/gaku/shared/_picture.html.slim +12 -0
- data/core/app/views/gaku/shared/_upload_picture.html.slim +7 -0
- data/core/app/views/gaku/shared/error.js.erb +2 -0
- data/core/app/views/gaku/shared/fields/_address_fields.html.slim +7 -0
- data/core/app/views/gaku/shared/fields/_attachment_fields.html.slim +10 -0
- data/core/app/views/gaku/shared/fields/_class_group_fields.html.slim +3 -0
- data/core/app/views/gaku/shared/fields/_course_fields.html.slim +4 -0
- data/core/app/views/gaku/shared/fields/_course_show_fields.html.slim +3 -0
- data/core/app/views/gaku/shared/fields/_exam_portion_fields.html.slim +8 -0
- data/core/app/views/gaku/shared/fields/_person_edit_table.html.slim +7 -0
- data/core/app/views/gaku/shared/fields/_person_fields.html.slim +4 -0
- data/core/app/views/gaku/shared/fields/_person_show_table.html.slim +3 -0
- data/core/app/views/gaku/shared/fields/_semester_fields.html.slim +1 -0
- data/core/app/views/gaku/shared/fields/_student_fields.html.slim +22 -0
- data/core/app/views/gaku/shared/fields/_syllabus_fields.html.slim +5 -0
- data/core/app/views/gaku/shared/form_fields/_exam_portion_form_fields.html.slim +15 -0
- data/core/app/views/gaku/shared/form_fields/_person_form_fields.html.slim +16 -0
- data/core/app/views/gaku/shared/menu/_admin.html.erb +104 -0
- data/core/app/views/gaku/shared/menu/_global.html.erb +26 -0
- data/core/app/views/gaku/shared/multi_error.js.erb +2 -0
- data/core/app/views/gaku/shared/notice.js.erb +2 -0
- data/core/app/views/gaku/shared/student/_academic.html.slim +18 -0
- data/core/app/views/gaku/shared/student/_edit.html.slim +20 -0
- data/core/app/views/gaku/shared/student/_personal.html.slim +6 -0
- data/core/app/views/gaku/shared/student/_show.html.slim +14 -0
- data/core/app/views/gaku/shared/student/_show_table.html.slim +51 -0
- data/core/app/views/gaku/shared/student/_tabs.html.slim +36 -0
- data/core/app/views/gaku/shared/student_chooser/_chooser.html.slim +36 -0
- data/core/app/views/gaku/shared/student_chooser/_class_group.html.slim +5 -0
- data/core/app/views/gaku/shared/student_chooser/_course.html.slim +5 -0
- data/core/app/views/gaku/shared/student_chooser/_extracurricular_activity.html.slim +5 -0
- data/core/app/views/gaku/shared/student_chooser/_modal.html.slim +4 -0
- data/core/app/views/gaku/shared/student_chooser/_student.html.slim +18 -0
- data/core/app/views/gaku/states/_no_states_select.html.slim +1 -0
- data/core/app/views/gaku/states/_states_select.html.slim +1 -0
- data/core/app/views/gaku/states/index.js.erb +5 -0
- data/core/app/views/gaku/students/_delete_modal.html.slim +5 -0
- data/core/app/views/gaku/students/_form.html.slim +3 -0
- data/core/app/views/gaku/students/_form_fields.html.slim +19 -0
- data/core/app/views/gaku/students/_modal.html.slim +6 -0
- data/core/app/views/gaku/students/_student.html.slim +6 -0
- data/core/app/views/gaku/students/_student_unit.html.slim +5 -0
- data/core/app/views/gaku/students/_students.html.slim +17 -0
- data/core/app/views/gaku/students/class_group_enrollments/_new_modal.html.slim +28 -0
- data/core/app/views/gaku/students/class_group_enrollments/create.js.erb +11 -0
- data/core/app/views/gaku/students/class_group_enrollments/new.js.erb +2 -0
- data/core/app/views/gaku/students/commute_methods/_commute_method.html.slim +6 -0
- data/core/app/views/gaku/students/commute_methods/_modal.html.slim +6 -0
- data/core/app/views/gaku/students/commute_methods/create.js.erb +3 -0
- data/core/app/views/gaku/students/commute_methods/edit.js.erb +5 -0
- data/core/app/views/gaku/students/commute_methods/new.js.erb +4 -0
- data/core/app/views/gaku/students/commute_methods/update.js.erb +3 -0
- data/core/app/views/gaku/students/course_enrollments/_course_enrollment.html.slim +5 -0
- data/core/app/views/gaku/students/course_enrollments/_course_enrollment_unit.html.slim +3 -0
- data/core/app/views/gaku/students/course_enrollments/_course_enrollments.html.slim +21 -0
- data/core/app/views/gaku/students/course_enrollments/_errors_modal.html.slim +11 -0
- data/core/app/views/gaku/students/course_enrollments/_form.html.slim +5 -0
- data/core/app/views/gaku/students/course_enrollments/create.js.erb +10 -0
- data/core/app/views/gaku/students/course_enrollments/destroy.js.erb +3 -0
- data/core/app/views/gaku/students/course_enrollments/error.js.erb +2 -0
- data/core/app/views/gaku/students/course_enrollments/new.js.erb +3 -0
- data/core/app/views/gaku/students/create.js.erb +8 -0
- data/core/app/views/gaku/students/destroy.js.erb +2 -0
- data/core/app/views/gaku/students/edit.html.slim +9 -0
- data/core/app/views/gaku/students/edit.js.erb +3 -0
- data/core/app/views/gaku/students/guardians/_edit_table.html.slim +9 -0
- data/core/app/views/gaku/students/guardians/_form.html.slim +3 -0
- data/core/app/views/gaku/students/guardians/_form_fields.html.slim +4 -0
- data/core/app/views/gaku/students/guardians/_guardian.html.slim +2 -0
- data/core/app/views/gaku/students/guardians/_guardian_unit.html.slim +12 -0
- data/core/app/views/gaku/students/guardians/_guardians.html.slim +26 -0
- data/core/app/views/gaku/students/guardians/_modal.html.slim +7 -0
- data/core/app/views/gaku/students/guardians/_picture.html.slim +12 -0
- data/core/app/views/gaku/students/guardians/_show_table.html.slim +13 -0
- data/core/app/views/gaku/students/guardians/_tabs.html.slim +15 -0
- data/core/app/views/gaku/students/guardians/_upload_picture.html.slim +7 -0
- data/core/app/views/gaku/students/guardians/create.js.erb +7 -0
- data/core/app/views/gaku/students/guardians/destroy.js.erb +4 -0
- data/core/app/views/gaku/students/guardians/edit.html.slim +7 -0
- data/core/app/views/gaku/students/guardians/edit.js.erb +3 -0
- data/core/app/views/gaku/students/guardians/new.js.erb +3 -0
- data/core/app/views/gaku/students/guardians/recovery.js.erb +1 -0
- data/core/app/views/gaku/students/guardians/show.html.slim +14 -0
- data/core/app/views/gaku/students/guardians/update.js.erb +4 -0
- data/core/app/views/gaku/students/importer/index.html.slim +26 -0
- data/core/app/views/gaku/students/importer/roster_import_preview.html.slim +4 -0
- data/core/app/views/gaku/students/index.html.slim +16 -0
- data/core/app/views/gaku/students/index.js.erb +13 -0
- data/core/app/views/gaku/students/index.pdf.thinreports +17 -0
- data/core/app/views/gaku/students/new.js.erb +3 -0
- data/core/app/views/gaku/students/recovery.js.erb +1 -0
- data/core/app/views/gaku/students/search/_address.html.slim +36 -0
- data/core/app/views/gaku/students/search/_extended.slim +134 -0
- data/core/app/views/gaku/students/search/_form.html.slim +25 -0
- data/core/app/views/gaku/students/search/_student.html.slim +24 -0
- data/core/app/views/gaku/students/show.html.slim +1 -0
- data/core/app/views/gaku/students/show.pdf.thinreports +8 -0
- data/core/app/views/gaku/students/simple_grades/_edit.html.slim +8 -0
- data/core/app/views/gaku/students/simple_grades/_fields.html.slim +6 -0
- data/core/app/views/gaku/students/simple_grades/_form.html.slim +6 -0
- data/core/app/views/gaku/students/simple_grades/_form_fields.html.slim +3 -0
- data/core/app/views/gaku/students/simple_grades/_index.html.slim +19 -0
- data/core/app/views/gaku/students/simple_grades/_index_modal.html.slim +4 -0
- data/core/app/views/gaku/students/simple_grades/_simple_grade.html.slim +3 -0
- data/core/app/views/gaku/students/simple_grades/_simple_grades.html.slim +2 -0
- data/core/app/views/gaku/students/simple_grades/create.js.erb +10 -0
- data/core/app/views/gaku/students/simple_grades/destroy.js.erb +4 -0
- data/core/app/views/gaku/students/simple_grades/edit.js.erb +2 -0
- data/core/app/views/gaku/students/simple_grades/index.js.erb +5 -0
- data/core/app/views/gaku/students/simple_grades/new.js.erb +3 -0
- data/core/app/views/gaku/students/simple_grades/update.js.erb +4 -0
- data/core/app/views/gaku/students/student_achievements/_achievements_tab.html.slim +12 -0
- data/core/app/views/gaku/students/student_achievements/_edit.html.slim +8 -0
- data/core/app/views/gaku/students/student_achievements/_fields.html.slim +8 -0
- data/core/app/views/gaku/students/student_achievements/_form.html.slim +6 -0
- data/core/app/views/gaku/students/student_achievements/_form_fields.html.slim +1 -0
- data/core/app/views/gaku/students/student_achievements/_index.html.slim +20 -0
- data/core/app/views/gaku/students/student_achievements/_index_modal.html.slim +4 -0
- data/core/app/views/gaku/students/student_achievements/_student_achievement.html.slim +3 -0
- data/core/app/views/gaku/students/student_achievements/_student_achievements.html.slim +2 -0
- data/core/app/views/gaku/students/student_achievements/create.js.erb +10 -0
- data/core/app/views/gaku/students/student_achievements/destroy.js.erb +4 -0
- data/core/app/views/gaku/students/student_achievements/edit.js.erb +2 -0
- data/core/app/views/gaku/students/student_achievements/index.js.erb +3 -0
- data/core/app/views/gaku/students/student_achievements/new.js.erb +3 -0
- data/core/app/views/gaku/students/student_achievements/update.js.erb +5 -0
- data/core/app/views/gaku/students/student_specialties/_edit.html.slim +8 -0
- data/core/app/views/gaku/students/student_specialties/_fields.html.slim +5 -0
- data/core/app/views/gaku/students/student_specialties/_form.html.slim +6 -0
- data/core/app/views/gaku/students/student_specialties/_form_fields.html.slim +2 -0
- data/core/app/views/gaku/students/student_specialties/_index.html.slim +18 -0
- data/core/app/views/gaku/students/student_specialties/_index_modal.html.slim +4 -0
- data/core/app/views/gaku/students/student_specialties/_specialties_list.html.slim +0 -0
- data/core/app/views/gaku/students/student_specialties/_student_specialties.html.slim +2 -0
- data/core/app/views/gaku/students/student_specialties/_student_specialty.html.slim +3 -0
- data/core/app/views/gaku/students/student_specialties/create.js.erb +11 -0
- data/core/app/views/gaku/students/student_specialties/destroy.js.erb +5 -0
- data/core/app/views/gaku/students/student_specialties/edit.js.erb +2 -0
- data/core/app/views/gaku/students/student_specialties/index.js.erb +5 -0
- data/core/app/views/gaku/students/student_specialties/new.js.erb +3 -0
- data/core/app/views/gaku/students/student_specialties/update.js.erb +4 -0
- data/core/app/views/gaku/students/update.js.erb +3 -0
- data/core/app/views/gaku/syllabuses/_form.html.slim +3 -0
- data/core/app/views/gaku/syllabuses/_form_fields.html.slim +10 -0
- data/core/app/views/gaku/syllabuses/_modal.html.slim +7 -0
- data/core/app/views/gaku/syllabuses/_syllabus.html.slim +2 -0
- data/core/app/views/gaku/syllabuses/_syllabus_fields.html.slim +5 -0
- data/core/app/views/gaku/syllabuses/_syllabuses.html.slim +11 -0
- data/core/app/views/gaku/syllabuses/assignments/_assignment.html.slim +9 -0
- data/core/app/views/gaku/syllabuses/assignments/_assignments.html.slim +19 -0
- data/core/app/views/gaku/syllabuses/assignments/_form.html.slim +17 -0
- data/core/app/views/gaku/syllabuses/assignments/create.js.erb +7 -0
- data/core/app/views/gaku/syllabuses/create.js.erb +6 -0
- data/core/app/views/gaku/syllabuses/destroy.js.erb +2 -0
- data/core/app/views/gaku/syllabuses/edit.js.erb +3 -0
- data/core/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb +11 -0
- data/core/app/views/gaku/syllabuses/exam_syllabuses/destroy.js.erb +6 -0
- data/core/app/views/gaku/syllabuses/exams/_exam.html.slim +4 -0
- data/core/app/views/gaku/syllabuses/exams/_exams.html.slim +16 -0
- data/core/app/views/gaku/syllabuses/exams/_fields.html.slim +9 -0
- data/core/app/views/gaku/syllabuses/exams/_form.html.slim +15 -0
- data/core/app/views/gaku/syllabuses/exams/_form_fields.html.slim +10 -0
- data/core/app/views/gaku/syllabuses/exams/_modal.html.slim +6 -0
- data/core/app/views/gaku/syllabuses/exams/_select_form.html.slim +6 -0
- data/core/app/views/gaku/syllabuses/exams/create.js.erb +10 -0
- data/core/app/views/gaku/syllabuses/exams/destroy.js.erb +2 -0
- data/core/app/views/gaku/syllabuses/exams/edit.js.erb +3 -0
- data/core/app/views/gaku/syllabuses/exams/new.js.erb +3 -0
- data/core/app/views/gaku/syllabuses/exams/update.js.erb +4 -0
- data/core/app/views/gaku/syllabuses/importer/index.html.slim +14 -0
- data/core/app/views/gaku/syllabuses/index.html.slim +14 -0
- data/core/app/views/gaku/syllabuses/new.js.erb +3 -0
- data/core/app/views/gaku/syllabuses/show.html.slim +59 -0
- data/core/app/views/gaku/syllabuses/update.js.erb +4 -0
- data/core/app/views/gaku/teachers/_delete_modal.html.slim +5 -0
- data/core/app/views/gaku/teachers/_edit_table.html.slim +5 -0
- data/core/app/views/gaku/teachers/_fields.html.slim +1 -0
- data/core/app/views/gaku/teachers/_form.html.slim +3 -0
- data/core/app/views/gaku/teachers/_form_fields.html.slim +1 -0
- data/core/app/views/gaku/teachers/_modal.html.slim +6 -0
- data/core/app/views/gaku/teachers/_show_table.html.slim +7 -0
- data/core/app/views/gaku/teachers/_tabs.html.slim +21 -0
- data/core/app/views/gaku/teachers/_teacher.html.slim +6 -0
- data/core/app/views/gaku/teachers/_teacher_unit.html.slim +4 -0
- data/core/app/views/gaku/teachers/_teachers.html.slim +11 -0
- data/core/app/views/gaku/teachers/create.js.erb +8 -0
- data/core/app/views/gaku/teachers/destroy.js.erb +2 -0
- data/core/app/views/gaku/teachers/edit.html.slim +23 -0
- data/core/app/views/gaku/teachers/edit.js.erb +3 -0
- data/core/app/views/gaku/teachers/index.html.slim +16 -0
- data/core/app/views/gaku/teachers/index.js.erb +2 -0
- data/core/app/views/gaku/teachers/new.js.erb +3 -0
- data/core/app/views/gaku/teachers/recovery.js.erb +1 -0
- data/core/app/views/gaku/teachers/show.html.slim +14 -0
- data/core/app/views/gaku/teachers/update.js.erb +4 -0
- data/core/app/views/kaminari/_first_page.html.erb +11 -0
- data/core/app/views/kaminari/_gap.html.erb +8 -0
- data/core/app/views/kaminari/_last_page.html.erb +11 -0
- data/core/app/views/kaminari/_next_page.html.erb +11 -0
- data/core/app/views/kaminari/_page.html.erb +12 -0
- data/core/app/views/kaminari/_paginator.html.erb +25 -0
- data/core/app/views/kaminari/_prev_page.html.erb +11 -0
- data/core/app/workers/gaku/importers/students/roster_worker.rb +18 -0
- data/core/app/workers/gaku/importers/students/school_station_zaikousei_worker.rb +15 -0
- data/core/config/initializers/active_record.rb +41 -0
- data/core/config/initializers/client_side_validations.rb +9 -0
- data/core/config/initializers/devise.rb +213 -0
- data/core/config/initializers/i18n.rb +26 -0
- data/core/config/initializers/inflections.rb +19 -0
- data/core/config/initializers/kaminari_config.rb +10 -0
- data/core/config/initializers/locale.rb +2 -0
- data/core/config/initializers/mime_types.rb +1 -0
- data/core/config/initializers/paper_trail.rb +3 -0
- data/core/config/initializers/ruby_template_handler.rb +1 -0
- data/core/config/initializers/sidekiq.rb +6 -0
- data/core/config/initializers/translation_missing.rb +11 -0
- data/core/config/initializers/wrap_parameters.rb +14 -0
- data/core/config/routes.rb +321 -0
- data/core/db/default/gaku/attendance_types.rb +77 -0
- data/core/db/default/gaku/commute_method_types.rb +29 -0
- data/core/db/default/gaku/contact_types.yml +20 -0
- data/core/db/default/gaku/countries.yml +1357 -0
- data/core/db/default/gaku/enrollment_status.rb +37 -0
- data/core/db/default/gaku/master_school.rb +6 -0
- data/core/db/default/gaku/roles.yml +2 -0
- data/core/db/default/gaku/scholarship_statuses.rb +19 -0
- data/core/db/default/gaku/states.yml +494 -0
- data/core/db/migrate/20120202111850_gaku_core.rb +771 -0
- data/core/db/schema.rb +481 -0
- data/core/db/seeds.rb +5 -0
- data/core/gaku_core.gemspec +71 -0
- data/core/lib/gaku/app_responder.rb +6 -0
- data/core/lib/gaku/class_name_detector.rb +23 -0
- data/core/lib/gaku/core.rb +45 -0
- data/core/lib/gaku/core/console_colors.rb +22 -0
- data/core/lib/gaku/core/engine.rb +45 -0
- data/core/lib/gaku/core/url_helpers.rb +5 -0
- data/core/lib/gaku/core/version.rb +5 -0
- data/core/lib/gaku/exporters/roster_exporter.rb +36 -0
- data/core/lib/gaku/grading/calculations.rb +279 -0
- data/core/lib/gaku/grading/grade.rb +17 -0
- data/core/lib/gaku/grading/japanese_hs_standard.rb +8 -0
- data/core/lib/gaku/importers/key_mapper.rb +19 -0
- data/core/lib/gaku/importers/logger.rb +10 -0
- data/core/lib/gaku/importers/students/guardians.rb +89 -0
- data/core/lib/gaku/importers/students/personal_information.rb +65 -0
- data/core/lib/gaku/importers/students/roster.rb +50 -0
- data/core/lib/gaku/importers/students/roster_to_student.rb +67 -0
- data/core/lib/gaku/importers/students/school_station_zaikousei.rb +109 -0
- data/core/lib/gaku/importers/students/student_identity.rb +17 -0
- data/core/lib/gaku/testing/auth_helpers.rb +25 -0
- data/core/lib/gaku/testing/common_rake.rb +27 -0
- data/core/lib/gaku/testing/controller_helpers.rb +100 -0
- data/core/lib/gaku/testing/env.rb +10 -0
- data/core/lib/gaku/testing/factories.rb +5 -0
- data/core/lib/gaku/testing/factories/achievement_factory.rb +12 -0
- data/core/lib/gaku/testing/factories/address_factory.rb +22 -0
- data/core/lib/gaku/testing/factories/assignment_factory.rb +11 -0
- data/core/lib/gaku/testing/factories/assignment_score_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/attachment_factory.rb +15 -0
- data/core/lib/gaku/testing/factories/attendance_factory.rb +11 -0
- data/core/lib/gaku/testing/factories/attendance_type_factory.rb +14 -0
- data/core/lib/gaku/testing/factories/campus_factory.rb +15 -0
- data/core/lib/gaku/testing/factories/class_group_enrollment_factory.rb +9 -0
- data/core/lib/gaku/testing/factories/class_group_factory.rb +18 -0
- data/core/lib/gaku/testing/factories/commute_method_type_factory.rb +11 -0
- data/core/lib/gaku/testing/factories/contact_factory.rb +19 -0
- data/core/lib/gaku/testing/factories/contact_type_factory.rb +11 -0
- data/core/lib/gaku/testing/factories/country_factory.rb +11 -0
- data/core/lib/gaku/testing/factories/course_enrollment_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/course_factory.rb +7 -0
- data/core/lib/gaku/testing/factories/course_group_enrollment_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/course_group_factory.rb +7 -0
- data/core/lib/gaku/testing/factories/enrollment_status_factory.rb +28 -0
- data/core/lib/gaku/testing/factories/exam_factory.rb +20 -0
- data/core/lib/gaku/testing/factories/exam_portion_factory.rb +11 -0
- data/core/lib/gaku/testing/factories/exam_portion_score_factory.rb +9 -0
- data/core/lib/gaku/testing/factories/exam_schedule_factory.rb +9 -0
- data/core/lib/gaku/testing/factories/exam_score_factory.rb +9 -0
- data/core/lib/gaku/testing/factories/extracurricular_activity_factory.rb +7 -0
- data/core/lib/gaku/testing/factories/faculty_factory.rb +6 -0
- data/core/lib/gaku/testing/factories/grading_method_factory.rb +13 -0
- data/core/lib/gaku/testing/factories/grading_method_set_factory.rb +11 -0
- data/core/lib/gaku/testing/factories/grading_method_set_item_factory.rb +12 -0
- data/core/lib/gaku/testing/factories/guardian_factory.rb +10 -0
- data/core/lib/gaku/testing/factories/import_file_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/lesson_factory.rb +7 -0
- data/core/lib/gaku/testing/factories/lesson_plan_factory.rb +9 -0
- data/core/lib/gaku/testing/factories/level_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/note_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/program_factory.rb +39 -0
- data/core/lib/gaku/testing/factories/program_level_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/program_specialty.rb +8 -0
- data/core/lib/gaku/testing/factories/program_syllabus_factory.rb +9 -0
- data/core/lib/gaku/testing/factories/role_factory.rb +43 -0
- data/core/lib/gaku/testing/factories/schedule_factory.rb +9 -0
- data/core/lib/gaku/testing/factories/scholarship_status_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/school_factory.rb +28 -0
- data/core/lib/gaku/testing/factories/school_role_factory.rb +7 -0
- data/core/lib/gaku/testing/factories/school_year_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/semester_class_group_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/semester_course.rb +8 -0
- data/core/lib/gaku/testing/factories/semester_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/simple_grade_factory.rb +10 -0
- data/core/lib/gaku/testing/factories/specialty_factory.rb +13 -0
- data/core/lib/gaku/testing/factories/state_factory.rb +13 -0
- data/core/lib/gaku/testing/factories/student_achievement_factory.rb +8 -0
- data/core/lib/gaku/testing/factories/student_factory.rb +51 -0
- data/core/lib/gaku/testing/factories/student_specialty_factory.rb +9 -0
- data/core/lib/gaku/testing/factories/syllabus_factory.rb +16 -0
- data/core/lib/gaku/testing/factories/teacher_factory.rb +15 -0
- data/core/lib/gaku/testing/factories/template_factory.rb +11 -0
- data/core/lib/gaku/testing/factories/traits.rb +68 -0
- data/core/lib/gaku/testing/factories/user_factory.rb +42 -0
- data/core/lib/gaku/testing/factories/user_role_factory.rb +8 -0
- data/core/lib/gaku/testing/flash_helpers.rb +35 -0
- data/core/lib/gaku/testing/request_helpers.rb +207 -0
- data/core/lib/gaku_core.rb +1 -0
- data/core/lib/generators/gaku/dummy/dummy_generator.rb +102 -0
- data/core/lib/generators/gaku/dummy/templates/rails/application.rb +10 -0
- data/core/lib/generators/gaku/dummy/templates/rails/boot.rb +6 -0
- data/core/lib/generators/gaku/dummy/templates/rails/database.yml +15 -0
- data/core/lib/generators/gaku/dummy/templates/rails/routes.rb +3 -0
- data/core/lib/generators/gaku/dummy/templates/rails/script/rails +7 -0
- data/core/lib/generators/gaku/install/install_generator.rb +162 -0
- data/core/lib/generators/gaku/install/templates/Procfile +2 -0
- data/core/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/all.js +14 -0
- data/core/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/all.css +12 -0
- data/core/lib/generators/gaku/install/templates/config/sidekiq.yml +8 -0
- data/core/lib/tasks/admin_user.rake +104 -0
- data/core/lib/tasks/core.rake +65 -0
- data/core/lib/tasks/reset.rake +37 -0
- data/core/log/.gitkeep +0 -0
- data/core/script/rails +9 -0
- data/core/spec/controllers/gaku/addresses_controller_spec.rb +262 -0
- data/core/spec/controllers/gaku/admin/achievements_controller_spec.rb +139 -0
- data/core/spec/controllers/gaku/admin/disposals_controller_spec.rb +177 -0
- data/core/spec/controllers/gaku/admin/grading/grading_method_set_items_controller_spec.rb +165 -0
- data/core/spec/controllers/gaku/admin/grading/grading_method_sets_controller_spec.rb +183 -0
- data/core/spec/controllers/gaku/admin/grading/grading_methods_controller_spec.rb +154 -0
- data/core/spec/controllers/gaku/admin/presets_controller_spec.rb +44 -0
- data/core/spec/controllers/gaku/admin/roles_controller_spec.rb +154 -0
- data/core/spec/controllers/gaku/admin/schools/campuses/campuses_controller_spec.rb +94 -0
- data/core/spec/controllers/gaku/admin/schools/schools_controller_spec.rb +129 -0
- data/core/spec/controllers/gaku/admin/specialties_controller_spec.rb +154 -0
- data/core/spec/controllers/gaku/admin/templates_controller_spec.rb +118 -0
- data/core/spec/controllers/gaku/admin/types_and_methods/attendance_types_controller_spec.rb +176 -0
- data/core/spec/controllers/gaku/admin/types_and_methods/commute_method_types_controller_spec.rb +154 -0
- data/core/spec/controllers/gaku/admin/types_and_methods/contact_types_controller_spec.rb +154 -0
- data/core/spec/controllers/gaku/admin/types_and_methods/enrollment_statuses_controller_spec.rb +153 -0
- data/core/spec/controllers/gaku/admin/users_controller_spec.rb +154 -0
- data/core/spec/controllers/gaku/class_group_enrollments_controller_spec.rb +62 -0
- data/core/spec/controllers/gaku/class_groups/class_groups_controller_spec.rb +129 -0
- data/core/spec/controllers/gaku/contacts_controller_spec.rb +179 -0
- data/core/spec/controllers/gaku/course_groups/course_groups_controller_spec.rb +75 -0
- data/core/spec/controllers/gaku/courses/courses_controller_spec.rb +79 -0
- data/core/spec/controllers/gaku/exams/exams_controller_spec.rb +156 -0
- data/core/spec/controllers/gaku/students/guardians_controller_spec.rb +62 -0
- data/core/spec/controllers/gaku/students/students_controller_spec.rb +243 -0
- data/core/spec/controllers/gaku/syllabuses/syllabuses_controller_spec.rb +92 -0
- data/core/spec/controllers/gaku/teachers_controller_spec.rb +190 -0
- data/core/spec/coverage/.last_run.json +5 -0
- data/core/spec/coverage/.resultset.json +103 -0
- data/core/spec/integration/importers/roster_spec.rb +41 -0
- data/core/spec/integration/student_address_versioning_spec.rb +20 -0
- data/core/spec/integration/student_contact_vesioning_spec.rb +21 -0
- data/core/spec/integration/student_versioning_spec.rb +93 -0
- data/core/spec/models/achievement_spec.rb +21 -0
- data/core/spec/models/address_spec.rb +162 -0
- data/core/spec/models/assignment_score_spec.rb +19 -0
- data/core/spec/models/assignment_spec.rb +19 -0
- data/core/spec/models/attachment_spec.rb +24 -0
- data/core/spec/models/attendance_spec.rb +21 -0
- data/core/spec/models/attendance_type_spec.rb +19 -0
- data/core/spec/models/campus_spec.rb +68 -0
- data/core/spec/models/class_group_course_enrollment_spec.rb +16 -0
- data/core/spec/models/class_group_enrollment_spec.rb +24 -0
- data/core/spec/models/class_group_spec.rb +50 -0
- data/core/spec/models/commute_method_type_spec.rb +19 -0
- data/core/spec/models/contact_spec.rb +28 -0
- data/core/spec/models/contact_type_spec.rb +18 -0
- data/core/spec/models/country_spec.rb +20 -0
- data/core/spec/models/course_enrollment_spec.rb +16 -0
- data/core/spec/models/course_group_enrollment_spec.rb +16 -0
- data/core/spec/models/course_group_spec.rb +23 -0
- data/core/spec/models/course_spec.rb +88 -0
- data/core/spec/models/enrollment_status_spec.rb +23 -0
- data/core/spec/models/exam_portion_score_spec.rb +16 -0
- data/core/spec/models/exam_portion_spec.rb +46 -0
- data/core/spec/models/exam_schedule_spec.rb +17 -0
- data/core/spec/models/exam_score_spec.rb +15 -0
- data/core/spec/models/exam_spec.rb +78 -0
- data/core/spec/models/exam_syllabus_spec.rb +16 -0
- data/core/spec/models/external_school_record_spec.rb +18 -0
- data/core/spec/models/extracurricular_activity_enrollment_spec.rb +18 -0
- data/core/spec/models/extracurricular_activity_spec.rb +19 -0
- data/core/spec/models/factories_spec.rb +11 -0
- data/core/spec/models/faculty_spec.rb +17 -0
- data/core/spec/models/grading_method_set_item_spec.rb +19 -0
- data/core/spec/models/grading_method_set_spec.rb +33 -0
- data/core/spec/models/grading_method_spec.rb +23 -0
- data/core/spec/models/guardian_spec.rb +65 -0
- data/core/spec/models/import_file_spec.rb +9 -0
- data/core/spec/models/lesson_plan_spec.rb +43 -0
- data/core/spec/models/lesson_spec.rb +14 -0
- data/core/spec/models/level_spec.rb +21 -0
- data/core/spec/models/note_spec.rb +14 -0
- data/core/spec/models/preset_spec.rb +10 -0
- data/core/spec/models/program_level_spec.rb +15 -0
- data/core/spec/models/program_spec.rb +34 -0
- data/core/spec/models/program_specialty_spec.rb +15 -0
- data/core/spec/models/program_syllabus_spec.rb +17 -0
- data/core/spec/models/role_spec.rb +20 -0
- data/core/spec/models/scholarship_status_spec.rb +19 -0
- data/core/spec/models/school_role_spec.rb +19 -0
- data/core/spec/models/school_spec.rb +21 -0
- data/core/spec/models/school_year_spec.rb +20 -0
- data/core/spec/models/semester_class_group_spec.rb +17 -0
- data/core/spec/models/semester_course_spec.rb +17 -0
- data/core/spec/models/semester_spec.rb +43 -0
- data/core/spec/models/simple_grade_spec.rb +15 -0
- data/core/spec/models/specialty_spec.rb +22 -0
- data/core/spec/models/state_spec.rb +26 -0
- data/core/spec/models/student_achievement_spec.rb +15 -0
- data/core/spec/models/student_guardian_spec.rb +10 -0
- data/core/spec/models/student_spec.rb +158 -0
- data/core/spec/models/student_speciality_spec.rb +15 -0
- data/core/spec/models/syllabus_spec.rb +70 -0
- data/core/spec/models/teacher_spec.rb +80 -0
- data/core/spec/models/template_spec.rb +19 -0
- data/core/spec/models/user_role_spec.rb +10 -0
- data/core/spec/models/user_spec.rb +16 -0
- data/core/spec/requests/admin/achievements/achievements_spec.rb +73 -0
- data/core/spec/requests/admin/changes_and_deletions/student_addresses_spec.rb +40 -0
- data/core/spec/requests/admin/changes_and_deletions/student_contacts_spec.rb +28 -0
- data/core/spec/requests/admin/changes_and_deletions/students_spec.rb +47 -0
- data/core/spec/requests/admin/disposals/student_disposals_spec.rb +50 -0
- data/core/spec/requests/admin/disposals/teacher_disposals_spec.rb +50 -0
- data/core/spec/requests/admin/grading/grading_method_set_items_spec.rb +86 -0
- data/core/spec/requests/admin/grading/grading_method_sets_spec.rb +118 -0
- data/core/spec/requests/admin/grading/grading_methods_spec.rb +74 -0
- data/core/spec/requests/admin/presets/defaults_preset_spec.rb +21 -0
- data/core/spec/requests/admin/presets/grading_preset_spec.rb +22 -0
- data/core/spec/requests/admin/presets/locale_preset_spec.rb +22 -0
- data/core/spec/requests/admin/presets/names_preset_spec.rb +21 -0
- data/core/spec/requests/admin/presets/output_formats_spec.rb +30 -0
- data/core/spec/requests/admin/presets/pagination_preset_spec.rb +23 -0
- data/core/spec/requests/admin/presets/student_preset_spec.rb +28 -0
- data/core/spec/requests/admin/roles_spec.rb +86 -0
- data/core/spec/requests/admin/school_years/school_years_spec.rb +125 -0
- data/core/spec/requests/admin/school_years/semesters_spec.rb +167 -0
- data/core/spec/requests/admin/schools/campuses/addresses_spec.rb +116 -0
- data/core/spec/requests/admin/schools/campuses/campuses_spec.rb +90 -0
- data/core/spec/requests/admin/schools/campuses/contacts_spec.rb +61 -0
- data/core/spec/requests/admin/schools/campuses/picture_spec.rb +19 -0
- data/core/spec/requests/admin/schools/picture_spec.rb +21 -0
- data/core/spec/requests/admin/schools/programs_spec.rb +125 -0
- data/core/spec/requests/admin/schools/school_details_spec.rb +22 -0
- data/core/spec/requests/admin/schools/school_levels_spec.rb +82 -0
- data/core/spec/requests/admin/schools/schools_spec.rb +138 -0
- data/core/spec/requests/admin/specialties_spec.rb +73 -0
- data/core/spec/requests/admin/system_tools/backup_spec.rb +7 -0
- data/core/spec/requests/admin/templates_spec.rb +97 -0
- data/core/spec/requests/admin/types_and_methods/attendance_types_spec.rb +80 -0
- data/core/spec/requests/admin/types_and_methods/commute_method_types_spec.rb +75 -0
- data/core/spec/requests/admin/types_and_methods/contact_types_spec.rb +74 -0
- data/core/spec/requests/admin/types_and_methods/enrollment_statuses_spec.rb +75 -0
- data/core/spec/requests/admin/types_and_methods/states_spec.rb +110 -0
- data/core/spec/requests/admin/users_spec.rb +91 -0
- data/core/spec/requests/change_language_spec.rb +25 -0
- data/core/spec/requests/class_groups/class_groups_spec.rb +171 -0
- data/core/spec/requests/class_groups/courses_spec.rb +40 -0
- data/core/spec/requests/class_groups/notes_spec.rb +37 -0
- data/core/spec/requests/class_groups/semester_class_groups_spec.rb +111 -0
- data/core/spec/requests/class_groups/students_spec.rb +92 -0
- data/core/spec/requests/course_groups/course_groups_spec.rb +122 -0
- data/core/spec/requests/course_groups/courses_spec.rb +38 -0
- data/core/spec/requests/courses/courses_spec.rb +167 -0
- data/core/spec/requests/courses/enrollments/class_groups_spec.rb +86 -0
- data/core/spec/requests/courses/enrollments/students_spec.rb +63 -0
- data/core/spec/requests/courses/exams_spec.rb +36 -0
- data/core/spec/requests/courses/notes_spec.rb +35 -0
- data/core/spec/requests/courses/semester_courses_spec.rb +119 -0
- data/core/spec/requests/exams/exam_portions/attachments_spec.rb +147 -0
- data/core/spec/requests/exams/exam_portions/exam_portions_spec.rb +113 -0
- data/core/spec/requests/exams/exams_spec.rb +141 -0
- data/core/spec/requests/exams/notes_spec.rb +35 -0
- data/core/spec/requests/extracurricular_activities/extracurricular_activities_spec.rb +87 -0
- data/core/spec/requests/extracurricular_activities/students_spec.rb +120 -0
- data/core/spec/requests/sign_in_spec.rb +78 -0
- data/core/spec/requests/sign_out_spec.rb +16 -0
- data/core/spec/requests/sign_up_spec.rb +75 -0
- data/core/spec/requests/students/achievements_spec.rb +82 -0
- data/core/spec/requests/students/addresses_spec.rb +61 -0
- data/core/spec/requests/students/class_group_enrollments_spec.rb +47 -0
- data/core/spec/requests/students/commute_methods_spec.rb +22 -0
- data/core/spec/requests/students/contacts_spec.rb +60 -0
- data/core/spec/requests/students/course_enrollments_spec.rb +39 -0
- data/core/spec/requests/students/enrollment_status_spec.rb +22 -0
- data/core/spec/requests/students/guardians/addresses_spec.rb +65 -0
- data/core/spec/requests/students/guardians/contacts_spec.rb +67 -0
- data/core/spec/requests/students/guardians/guardians_spec.rb +89 -0
- data/core/spec/requests/students/guardians/picture_spec.rb +23 -0
- data/core/spec/requests/students/import_export.rb +37 -0
- data/core/spec/requests/students/notes_spec.rb +37 -0
- data/core/spec/requests/students/picture_spec.rb +21 -0
- data/core/spec/requests/students/scholarship_status_spec.rb +22 -0
- data/core/spec/requests/students/simple_grades_spec.rb +85 -0
- data/core/spec/requests/students/specialties_spec.rb +91 -0
- data/core/spec/requests/students/students_spec.rb +127 -0
- data/core/spec/requests/syllabuses/exams_spec.rb +168 -0
- data/core/spec/requests/syllabuses/notes_spec.rb +35 -0
- data/core/spec/requests/syllabuses/syllabuses_spec.rb +143 -0
- data/core/spec/requests/teachers/addresses_spec.rb +60 -0
- data/core/spec/requests/teachers/contacts_spec.rb +64 -0
- data/core/spec/requests/teachers/notes_spec.rb +39 -0
- data/core/spec/requests/teachers/picture_spec.rb +21 -0
- data/core/spec/requests/teachers/teachers_spec.rb +114 -0
- data/core/spec/routing/student_routes_spec.rb +73 -0
- data/core/spec/spec_helper.rb +86 -0
- data/core/spec/support/120x120.jpg +0 -0
- data/core/spec/support/accept_nested_attributes_for_matcher.rb +39 -0
- data/core/spec/support/deferred_garbage_collection.rb +20 -0
- data/core/spec/support/have_attributes_matcher.rb +8 -0
- data/core/spec/support/requests/avatarable_spec.rb +16 -0
- data/core/spec/support/requests/course_enrollable_spec.rb +72 -0
- data/core/spec/support/requests/shared_addresses_spec.rb +171 -0
- data/core/spec/support/requests/shared_contacts_spec.rb +117 -0
- data/core/spec/support/requests/shared_notes_spec.rb +82 -0
- data/core/spec/support/sample_roster.ods +0 -0
- data/core/spec/support/sample_roster.xls +0 -0
- data/core/spec/support/shared_examples/addressable.rb +3 -0
- data/core/spec/support/shared_examples/allow.rb +10 -0
- data/core/spec/support/shared_examples/avatarable.rb +3 -0
- data/core/spec/support/shared_examples/contactable.rb +3 -0
- data/core/spec/support/shared_examples/deny.rb +27 -0
- data/core/spec/support/shared_examples/notable.rb +3 -0
- data/core/spec/support/shared_examples/person.rb +4 -0
- data/core/spec/support/shared_examples/thrashable.rb +6 -0
- data/core/spec/workers/roster_spec.rb +13 -0
- data/core/vendor/assets/javascripts/backbone.js +1431 -0
- data/core/vendor/assets/javascripts/tablefix.js.coffee +109 -0
- data/doc/authorized_service_providers/Genshin/genshin_okazaki_office.geojson +13 -0
- data/gaku.gemspec +26 -0
- data/gaku_dependencies.rb +33 -0
- data/lib/gaku.rb +2 -0
- data/sample/Rakefile +16 -0
- data/sample/db/sample/gaku/achievements.rb +12 -0
- data/sample/db/sample/gaku/changes/student_changes.rb +35 -0
- data/sample/db/sample/gaku/class_groups.rb +22 -0
- data/sample/db/sample/gaku/course_groups.rb +7 -0
- data/sample/db/sample/gaku/courses.rb +9 -0
- data/sample/db/sample/gaku/disposals/address_and_contact_disposals.rb +26 -0
- data/sample/db/sample/gaku/disposals/attachment_disposals.rb +9 -0
- data/sample/db/sample/gaku/disposals/course_group_disposals.rb +8 -0
- data/sample/db/sample/gaku/disposals/exam_disposals.rb +8 -0
- data/sample/db/sample/gaku/disposals/student_disposals.rb +10 -0
- data/sample/db/sample/gaku/disposals/teacher_disposals.rb +8 -0
- data/sample/db/sample/gaku/exams.rb +14 -0
- data/sample/db/sample/gaku/extracurricular_activities.rb +7 -0
- data/sample/db/sample/gaku/grading_widget.rb +31 -0
- data/sample/db/sample/gaku/images/120x120.jpg +0 -0
- data/sample/db/sample/gaku/roles.rb +9 -0
- data/sample/db/sample/gaku/specialties.rb +10 -0
- data/sample/db/sample/gaku/students.rb +22 -0
- data/sample/db/sample/gaku/syllabuses.rb +130 -0
- data/sample/db/sample/gaku/teachers.rb +31 -0
- data/sample/db/sample/gaku/users.rb +59 -0
- data/sample/gaku_sample.gemspec +24 -0
- data/sample/lib/gaku_sample.rb +10 -0
- data/sample/lib/sample_counters.rb +23 -0
- data/sample/lib/shared_sample_data.rb +108 -0
- data/sample/lib/tasks/sample.rake +73 -0
- metadata +1468 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c62b7a0bad0b0421791bf0522b4d26994c96f086
|
4
|
+
data.tar.gz: 2c3d59ec5c13c1d6f16750dcd14f994fc271b58c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: eacd8170e31b8e687a47fce41df04bb88d3c8ca7476953a1f672526fd8fd5248c0f04e0b348146b009a9b716625054f5a289d179530fcab669e53041a29b842b
|
7
|
+
data.tar.gz: efcc6854ed4c3fbb040ecb05265ff957243e4b3efa1cc8e860ef4d538e126536e09a58a22d5d15780ed560ca3c4c9e409bf0a4dbde96da71e2f5e5f3cba79620
|
data/.gitignore
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile ~/.gitignore_global
|
6
|
+
|
7
|
+
# Ignore bundler config
|
8
|
+
/.bundle
|
9
|
+
|
10
|
+
# Ignore the default SQLite database.
|
11
|
+
/db/*.sqlite3
|
12
|
+
db/test.sqlite3-journal
|
13
|
+
|
14
|
+
# Ignore all logfiles and tempfiles.
|
15
|
+
/log/*.log
|
16
|
+
/tmp
|
17
|
+
**/tmp
|
18
|
+
|
19
|
+
# Wijmo Complete files (may need the purchase of a license - not for distrobution)
|
20
|
+
/app/assets/images/images/wijeditor
|
21
|
+
/app/assets/images/images/wijrating
|
22
|
+
/app/assets/images/images/waiting.gif
|
23
|
+
/app/assets/javascripts/jquery.wijmo-complete.all.2.0.0.min.js
|
24
|
+
/app/assets/stylesheets/jquery.wijmo-complete.2.0.0.css
|
25
|
+
/app/assets/stylesheets/jquery.wijmo-complete.all.2.0.0.min.css
|
26
|
+
|
27
|
+
public/assets
|
28
|
+
|
29
|
+
\#*
|
30
|
+
**/*.db
|
31
|
+
**/*.log
|
32
|
+
*~
|
33
|
+
.#*
|
34
|
+
*.swn
|
35
|
+
|
36
|
+
.DS_Store
|
37
|
+
.idea
|
38
|
+
.project
|
39
|
+
nbproject
|
40
|
+
*.sublime-project
|
41
|
+
*.sublime-workspace
|
42
|
+
|
43
|
+
/core/spec/dummy
|
44
|
+
**/spec/dummy
|
45
|
+
.sass_cache
|
46
|
+
*/.sass-cache
|
47
|
+
*.swp
|
48
|
+
*.swo
|
49
|
+
*.orig
|
50
|
+
.~lock.*#
|
51
|
+
.rvmrc
|
52
|
+
.yardoc/**
|
53
|
+
|
54
|
+
# Paperclip attachments
|
55
|
+
public/system/*
|
56
|
+
|
57
|
+
routes.txt
|
58
|
+
|
59
|
+
elasticsearch*
|
60
|
+
|
61
|
+
Gemfile.lock
|
62
|
+
*/Gemfile.lock
|
63
|
+
*/core/Gemfile.lock
|
64
|
+
|
65
|
+
.localeapp
|
66
|
+
locales/
|
67
|
+
.localeapp.localeapp
|
68
|
+
|
69
|
+
core/coverage
|
70
|
+
locales/
|
data/.rspec
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
gaku
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.0.0
|
data/.travis.yml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
before_script:
|
2
|
+
- sh -e /etc/init.d/xvfb start
|
3
|
+
- export DISPLAY=:99.0
|
4
|
+
- psql -c 'create database gaku_test;' -U postgres
|
5
|
+
bundler_args: --without development production
|
6
|
+
env:
|
7
|
+
- GEM=core DB=postgres
|
8
|
+
before_install:
|
9
|
+
- gem install bundler --pre
|
10
|
+
- cd $GEM; export BUNDLE_GEMFILE="`pwd`/Gemfile"
|
11
|
+
script:
|
12
|
+
- bundle exec rake test_app
|
13
|
+
- SELENIUM=1 I18N=1 bundle exec rspec
|
14
|
+
|
15
|
+
notifications:
|
16
|
+
email:
|
17
|
+
- false
|
18
|
+
irc:
|
19
|
+
use_notice: true
|
20
|
+
skip_join: true
|
21
|
+
channels:
|
22
|
+
- "irc.freenode.org#gaku"
|
23
|
+
rvm:
|
24
|
+
- 2.0.0
|
data/Gemfile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
eval(File.read(File.dirname(__FILE__) + '/gaku_dependencies.rb'))
|
data/LICENSE.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
GAKU Engine is Copyright 2012 Genshin Souzou Kabushiki Kaisha of Aichi Japan
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
This software is dual licensed under the GNU GPL version 3 and the AGPL version 3.
|
5
|
+
The full text of these licenses can be found here:
|
6
|
+
https://gnu.org/licenses/gpl.html
|
7
|
+
https://gnu.org/licenses/agpl.html
|
8
|
+
|
9
|
+
Alternative licenses can be granted upon consultation.
|
10
|
+
Please contact info@genshin.org for details.
|
11
|
+
|
12
|
+
Some of the included sources were derived from the Spree project.
|
13
|
+
These portions are Copyright Spree Commerce Inc as per the following statement:
|
14
|
+
Copyright (c) 2007-2012, Spree Commerce, Inc. and other contributors
|
15
|
+
All rights reserved.
|
data/README.md
ADDED
@@ -0,0 +1,179 @@
|
|
1
|
+
[![Build Status](https://travis-ci.org/Genshin/gaku.png)](https://travis-ci.org/Genshin/gaku)
|
2
|
+
[![Code Climate](https://codeclimate.com/github/Genshin/gaku.png)](https://codeclimate.com/github/Genshin/gaku)
|
3
|
+
[![Coverage Status](https://coveralls.io/repos/Genshin/gaku/badge.png?branch=master)](https://coveralls.io/r/Genshin/gaku?branch=master)
|
4
|
+
|
5
|
+
GAKU Engine [学園陣]
|
6
|
+
====================
|
7
|
+
GAKU Engine, or just "GAKU" for short is the "Genshin Academic Karte Unification Engine". The gaku character 「学」 means "Learning", so saying GAKU Engine is roughly equivilent to saying "Learning Engine".
|
8
|
+
|
9
|
+
GAKU is a modular, extendable, Open Source school and student management system built on Rails.
|
10
|
+
GAKU is currently under heavy development.
|
11
|
+
-------------------------------------------------------------------------------
|
12
|
+
We do not currently recommend anyone use it in a production environment.
|
13
|
+
|
14
|
+
|
15
|
+
Full details on the name
|
16
|
+
------------------------
|
17
|
+
The kanji for "learning" is 学[gaku]. So literally GAKU Engine alone means "Learning Engine". The full Japanese name further uses "ateji" to make the name into 学園陣, which is broken down into 学園[gakuen] "academic" and 陣[jin] "encampment/battle formation". Either way it's always read the same, so take your pick of the meaning: "Learning Engine" or "Academic Encampment".
|
18
|
+
|
19
|
+
For the English we also chose to treat GAKU as an acronym, which can be seen above. You know, because using confusing acronyms makes stuff cooler.
|
20
|
+
|
21
|
+
License
|
22
|
+
-------
|
23
|
+
This software is dual licensed under the GNU GPL version 3 and the AGPL version 3. Separate licenses are available upon consultation. Please contact info@genshin.org for details.
|
24
|
+
|
25
|
+
What does it do?
|
26
|
+
----------------
|
27
|
+
It allows for full student management, grading etc. It's bascally what all student grading tools are but it's unique in that:
|
28
|
+
|
29
|
+
* It's completely Open Source, licensed under the GPL3.
|
30
|
+
* It only uses Free Open Source components and does not rely on a licensed back end - so you don't need to worry about the BSA suing you. (See note #2)
|
31
|
+
* It's Rails based, so it's easily extendable and runs on everything.
|
32
|
+
* It does not require a special client to use. Any web browser will do. Special clients can be developed, and one for students will eventually be created [for use on smart phones].
|
33
|
+
* It will feature a full set of "social" interfaces for students. Students will be able to check their grades, assignments, download notes and printouts, communicate with teachers and staff and share links and information. These features can be enabled or disabled and can be easily regulated by staff.
|
34
|
+
* It is multi-locale. Generated reports and paperwork will be formatted appropriately for your schools country of operation (if paperwork for your contry is not available yet please file an issue and we will see about adding it).
|
35
|
+
|
36
|
+
Demo
|
37
|
+
----
|
38
|
+
http://demo.gakuengine.com/
|
39
|
+
|
40
|
+
user: admin, pass: 123456
|
41
|
+
|
42
|
+
Requirements
|
43
|
+
------------
|
44
|
+
* ruby >= 2.0.0
|
45
|
+
* postgresql
|
46
|
+
* redis
|
47
|
+
|
48
|
+
|
49
|
+
Installation
|
50
|
+
------------
|
51
|
+
|
52
|
+
You have 2 choices:
|
53
|
+
|
54
|
+
### Simple
|
55
|
+
|
56
|
+
Get [gaku\_base\_app](http://github.com/kalkov/gaku_base_app) and follow the instructions.
|
57
|
+
|
58
|
+
### Custom
|
59
|
+
|
60
|
+
Create a new Rails application:
|
61
|
+
|
62
|
+
$ gem install rails -v 4.0.0
|
63
|
+
$ rails _4.0.0_ new my_app
|
64
|
+
|
65
|
+
|
66
|
+
Then add GAKU to your Gemfile.
|
67
|
+
|
68
|
+
```ruby
|
69
|
+
gem 'gaku', github: 'Genshin/gaku'
|
70
|
+
```
|
71
|
+
|
72
|
+
Install dependencies:
|
73
|
+
|
74
|
+
$ bundle
|
75
|
+
|
76
|
+
Create the database:
|
77
|
+
|
78
|
+
$ rake db:create:all
|
79
|
+
|
80
|
+
Run the install generator to copy migrations, initializers, run seed data...
|
81
|
+
|
82
|
+
$ rails g gaku:install
|
83
|
+
|
84
|
+
Sample Data
|
85
|
+
-----------
|
86
|
+
If you want to populate sample data:
|
87
|
+
|
88
|
+
$ rake gaku:sample:load
|
89
|
+
|
90
|
+
Defaults:
|
91
|
+
user: admin pass: 123456
|
92
|
+
|
93
|
+
|
94
|
+
Run
|
95
|
+
---
|
96
|
+
|
97
|
+
$ rails s
|
98
|
+
|
99
|
+
|
100
|
+
Check http://localhost:3000
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
Testing
|
105
|
+
-------
|
106
|
+
|
107
|
+
Change to core engine:
|
108
|
+
|
109
|
+
$ cd core
|
110
|
+
|
111
|
+
Recreate test_app:
|
112
|
+
|
113
|
+
$ bundle exec rake test_app
|
114
|
+
|
115
|
+
Run specs using Selenium:
|
116
|
+
|
117
|
+
$ rspec
|
118
|
+
|
119
|
+
|
120
|
+
Development
|
121
|
+
-----------
|
122
|
+
|
123
|
+
### Status
|
124
|
+
|
125
|
+
Development continuing is contigent upon receiving proper initial funding. Currently what you see here is a very rought demo which is being refined as time permits. Failure to acquire funds will not end the project but may inhibit its progress.
|
126
|
+
If you would like to participate in development or if you are a school and would like to see GAKU Engine developed (we will offer services for free to everyone who funds development) plese contact Genshin Souzou K.K. at info@genshin.org
|
127
|
+
|
128
|
+
Pull requests are very welcome! Please try to follow these simple rules if applicable:
|
129
|
+
|
130
|
+
Separate branch:
|
131
|
+
|
132
|
+
* Please create a feature branch for every separate change you make.
|
133
|
+
* Open a pull-request early for any new features to get feedback.
|
134
|
+
* Make sure your patches are well tested. All specs must pass.
|
135
|
+
* Follow Bozhidar Batsov's style guides: [ruby-style-guide](http://github.com/bbatsov/ruby-style-guide) and [rails-style-guide](https://github.com/bbatsov/rails-style-guide).
|
136
|
+
* Run [rubocop](http://github.com/bbatsov/rubocop) to ensure no style guide issues.
|
137
|
+
|
138
|
+
Master branch:
|
139
|
+
|
140
|
+
* Commit directly onto the master branch only for typos, improvements to the readme and documentation.
|
141
|
+
|
142
|
+
### Project Lead
|
143
|
+
|
144
|
+
[Rei Kagetsuki](http://github.com/Kagetsuki) ([@kagetsuki0](http://twitter.com/kagetsuki0))
|
145
|
+
|
146
|
+
### Core Team
|
147
|
+
|
148
|
+
* [Vassil Kalkov](http://github.com/kalkov) ([@versicolor](http://twitter.com/versicolor), [blog](http://kalkov.github.io))
|
149
|
+
* [Georgi Tapalilov](http://github.com/tapalilov)
|
150
|
+
* [Yukiharu Nakaya](http://github.com/snowsunny)
|
151
|
+
|
152
|
+
### Inactive/Previously Involved Core Members
|
153
|
+
* [Radoslav Georgiev](http://github.com/absolu7)
|
154
|
+
* [Marta Kostova](http://github.com/martakostova)
|
155
|
+
|
156
|
+
### Contributors
|
157
|
+
|
158
|
+
[https://github.com/Genshin/gaku/contributors](http://github.com/Genshin/gaku/contributors)
|
159
|
+
|
160
|
+
Support
|
161
|
+
=======
|
162
|
+
|
163
|
+
irc: { server: 'irc.freenode.org', port: 6667, channel: 'gaku' }
|
164
|
+
|
165
|
+
Notes
|
166
|
+
-----
|
167
|
+
1. Schools can use it for free - though ideally we want schools to hire developers on maintenance contracts so the software can be improved and schools don't need to worry about the system being poorly maintained by untrained internal staff.
|
168
|
+
2. Part of the reason GAKU was created was to eliminate dependence on commercial licenses from certain companies.
|
169
|
+
- These licenses are expensive, and many school management systems are built on and rely on them.
|
170
|
+
- The problem is some companies have created organizations that actively go after schools for license infringement.
|
171
|
+
- Though unrelated to GAKU Engine core, we recommend switching to OSS software on school workstations as well, such as LibreOffice, GIMP, InkScape, GNU/Linux (we love Ubuntu and Debian), etc. This will reduce cost and eliminate the risk of having bad licenses.
|
172
|
+
|
173
|
+
|
174
|
+
Full Naming History
|
175
|
+
-------------------
|
176
|
+
GAKU Engine is primarily being developed by the Genshin Souzou organization in Japan. It is also being developed in Ruby/Rails, in which using Japanese names is a common practice. So we chose to use the character for "learning", which is 学 - read "gaku".
|
177
|
+
But "gaku" alone in Japanese isn't a very good name for a software project. So we added "Engine" because it's also a common Rails naming construct and because adding the word "Engine" to something makes it sound all powerful and cool.
|
178
|
+
So now the name was literally "Learning Engine". We decided to take that one step further and create a fully Japanized name using a practice called "ateji". It just so happens the word for "academic" is 学園[gakuen]. Now all we had left is "jin", which we chose the character 陣, which means "encampment" (like a strategic or battle formation).
|
179
|
+
To further make things all cool and confusing we made GAKU into an acronym in English. The debate continues as to weather G should remain "Genshin" or should be changed to GNU, but for now just assume the G in Genshin to be synonymous with GNU.
|
data/Rakefile
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'rubygems/package_task'
|
3
|
+
require 'thor/group'
|
4
|
+
require File.expand_path('../core/lib/generators/gaku/install/install_generator', __FILE__)
|
5
|
+
begin
|
6
|
+
require 'gaku/testing/common_rake'
|
7
|
+
rescue LoadError
|
8
|
+
raise "Could not find gaku/testing/common_rake. You need to run this command using Bundler."
|
9
|
+
exit
|
10
|
+
end
|
11
|
+
|
12
|
+
task :default => :all_specs
|
13
|
+
|
14
|
+
spec = eval(File.read('gaku.gemspec'))
|
15
|
+
Gem::PackageTask.new(spec) do |pkg|
|
16
|
+
pkg.gem_spec = spec
|
17
|
+
end
|
18
|
+
|
19
|
+
desc "Run specs for all engines"
|
20
|
+
task :all_specs do
|
21
|
+
%w( core ).each do |engine|
|
22
|
+
ENV['LIB_NAME'] = File.join('gaku', engine)
|
23
|
+
cmd = "cd #{engine} && bundle exec rspec"; puts cmd; system cmd
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
desc "Generates a dummy app for testing for every GAKU engine"
|
28
|
+
task :test_app do
|
29
|
+
%w(core).each do |engine|
|
30
|
+
ENV['LIB_NAME'] = File.join('gaku', engine)
|
31
|
+
ENV['DUMMY_PATH'] = File.expand_path("../#{engine}/spec/dummy", __FILE__)
|
32
|
+
Rake::Task['common:test_app'].execute
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
desc "clean the whole repository by removing all the generated files"
|
37
|
+
task :clean do
|
38
|
+
puts "Deleting pkg directory.."
|
39
|
+
FileUtils.rm_rf("pkg")
|
40
|
+
|
41
|
+
%w( core sample ).each do |gem_name|
|
42
|
+
puts "Cleaning #{gem_name}:"
|
43
|
+
puts " Deleting #{gem_name}/Gemfile"
|
44
|
+
FileUtils.rm_f("#{gem_name}/Gemfile")
|
45
|
+
puts " Deleting #{gem_name}/pkg"
|
46
|
+
FileUtils.rm_rf("#{gem_name}/pkg")
|
47
|
+
puts " Deleting #{gem_name}'s dummy application"
|
48
|
+
Dir.chdir("#{gem_name}/spec") do
|
49
|
+
FileUtils.rm_rf("dummy")
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
namespace :gem do
|
55
|
+
desc "run rake gem for all gems"
|
56
|
+
task :build do
|
57
|
+
%w( core sample ).each do |gem_name|
|
58
|
+
puts "########################### #{gem_name} #########################"
|
59
|
+
puts "Deleting #{gem_name}/pkg"
|
60
|
+
FileUtils.rm_rf("#{gem_name}/pkg")
|
61
|
+
cmd = "cd #{gem_name} && bundle exec rake gem"; puts cmd; system cmd
|
62
|
+
end
|
63
|
+
puts "Deleting pkg directory"
|
64
|
+
FileUtils.rm_rf("pkg")
|
65
|
+
cmd = "bundle exec rake gem"; puts cmd; system cmd
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
namespace :gem do
|
70
|
+
desc "run gem install for all gems"
|
71
|
+
task :install do
|
72
|
+
version = File.read(File.expand_path("../VERSION", __FILE__)).strip
|
73
|
+
|
74
|
+
%w( core sample ).each do |gem_name|
|
75
|
+
puts "########################### #{gem_name} #########################"
|
76
|
+
puts "Deleting #{gem_name}/pkg"
|
77
|
+
FileUtils.rm_rf("#{gem_name}/pkg")
|
78
|
+
cmd = "cd #{gem_name} && bundle exec rake gem"; puts cmd; system cmd
|
79
|
+
cmd = "cd #{gem_name}/pkg && gem install gaku_#{gem_name}-#{version}.gem"; puts cmd; system cmd
|
80
|
+
end
|
81
|
+
puts "Deleting pkg directory"
|
82
|
+
FileUtils.rm_rf("pkg")
|
83
|
+
cmd = "bundle exec rake gem"; puts cmd; system cmd
|
84
|
+
cmd = "gem install pkg/gaku-#{version}.gem"; puts cmd; system cmd
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
namespace :gem do
|
89
|
+
desc "Release all gems to gemcutter. Package gaku components, then push gaku"
|
90
|
+
task :release do
|
91
|
+
version = File.read(File.expand_path("../VERSION", __FILE__)).strip
|
92
|
+
|
93
|
+
%w( core sample ).each do |gem_name|
|
94
|
+
puts "########################### #{gem_name} #########################"
|
95
|
+
cmd = "cd #{gem_name}/pkg && gem push gaku_#{gem_name}-#{version}.gem"; puts cmd; system cmd
|
96
|
+
end
|
97
|
+
cmd = "gem push pkg/gaku-#{version}.gem"; puts cmd; system cmd
|
98
|
+
end
|
99
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.1
|
data/core/.gitignore
ADDED
data/core/.rspec
ADDED
data/core/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
gaku
|
data/core/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.0.0
|
data/core/Gemfile
ADDED
data/core/Guardfile
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
guard 'rspec', :version => 2, :spec_paths => %w(spec),
|
2
|
+
:cli => (File.read('.rspec').split("\n").join(' ') if File.exists?('.rspec')) do
|
3
|
+
watch(%r{^spec/.+_spec\.rb$})
|
4
|
+
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
5
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
6
|
+
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/requests/#{m[1]}_spec.rb"] }
|
7
|
+
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
|
8
|
+
watch("spec/spec_helper.rb") { "spec" }
|
9
|
+
watch("config/routes.rb")
|
10
|
+
watch("app/controllers/application_controller.rb") { "spec/controllers" }
|
11
|
+
# Capybara request specs
|
12
|
+
watch(%r{^app/views/(.+)/.*\.(erb|haml|slim)$}) { |m| "spec/requests/#{m[1]}_spec.rb" }
|
13
|
+
watch(%r{^app/assets/javascripts/(.+)/.*\.(js|coffee|erb)$}) { |m| "spec/requests/#{m[1]}_spec.rb" }
|
14
|
+
end
|
15
|
+
|
16
|
+
guard 'bundler' do
|
17
|
+
watch('Gemfile')
|
18
|
+
watch(/^.+\.gemspec/)
|
19
|
+
end
|
20
|
+
|
21
|
+
guard :rubocop do
|
22
|
+
watch(%r{.+\.rb$})
|
23
|
+
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
24
|
+
end
|