Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is web-app for school which allow you to use all advantages of automation in web (university project).
Ruby JavaScript CSS CoffeeScript
Tree: fd9d71b4eb

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
lib
log
public
script
spec
vendor
.autotest
.gitignore
.rspec
Capfile
Gemfile
Gemfile.lock
Guardfile
README.markdown
Rakefile
config.ru

README.markdown

E-school project.


Class head

  • Creating events for class_head's class.

School head

  • Creating/editing timetables.
  • Creating/editing parents.
  • Creating/editing orders.
  • Now he can filter users by class.
  • Creating/editing classes (class code, date of creating, and class head for this class).
    • NOTICE! If you choose pupils for one class and these pupils were already in other class then they'll be only in this class!
  • Creating/editing subjects.
  • Choosing subjects for teachers.
  • Creating/editing pupils.
  • Creating/editing class heads.

Teacher

  • Can log-in.

Admin

  • Admin now can update user login/pass.
  • Now we can also add teacher phones.
  • Added new method to show error messages of User, Teacher, Teacher education.
  • Now we can also fill forms of teacher education.
  • Date validation - format dd.mm.yyyy and date existance. Checking via method of controller (i didn't find good method for that).
  • Keep data in forms even if user did some mistakes. Added for that some tests.
  • Added russian error messages for creation of User. All errors in schoolhead popup as flash message. and contains russian words. For translation words i use locale, it set as :en (default).
  • Added password and login generation (for class head). Plus some tests for that.
  • Redirect admin from root of site to his list of users.
  • Redirect admin after signing-in to his page.
  • Added links (with active states) in admin toolbar.
  • Added beginner signing in.
  • Added rights to view admin page only by admin.

Other

  • New rake:db tasks.
  • Switched to PostgreSQL.
  • Added password encryption/decryption in User table.
  • Updated to Rails 3.2
  • Libraries updated.

Bugs

  • Если у учителя выбрать предметы для класса, потом классу создать расписание, а потом убрать эти предметы у класса, то на странице редактирования расписания вылазит ошибка.

TODO

  • Rewrite admin controller.
  • Remove choosing sex by default for all controller which use that.
Something went wrong with that request. Please try again.