basic usermanagement and various fixes
commit75acea5046941068347de12a41d3d2f361ff6f59
authorpqauvsum <pqauvsum@posteo.cz>
Sun, 11 Jan 2015 14:47:15 +0000 (11 09:47 -0500)
committerpqauvsum <pqauvsum@posteo.cz>
Sun, 11 Jan 2015 14:47:15 +0000 (11 09:47 -0500)
tree64dc23a93ae1d146a11c18260f56b604b73c6b3d
parent511e7f5d011a876c5b912dec116154f7d8fdd153
basic usermanagement and various fixes
- added basic usermanagement (more when implementing permissions)
- fixed deprecation warnings in rails 4.2.0, needed in upcomming rails 5
- BUGFIX: fallback to most recent datayear if current year has no figure data
- layout: scale textarea to fieldset width (make this global?)
- layout: shorten long stock urls, shorten very long filenames
- layout: show precise number of shares held after execute
23 files changed:
gui/app/assets/stylesheets/application.css
gui/app/assets/stylesheets/blog.css
gui/app/assets/stylesheets/objects/stock.css
gui/app/controllers/figures_controller.rb
gui/app/controllers/objects/user_controller.rb [new file with mode: 0644]
gui/app/controllers/objects_controller.rb
gui/app/controllers/sessions_controller.rb
gui/app/controllers/users_controller.rb [deleted file]
gui/app/models/position.rb
gui/app/models/user.rb
gui/app/views/documents/_filelist.html.erb
gui/app/views/objects/stock/index.html.erb
gui/app/views/objects/user/index.html.erb [new file with mode: 0644]
gui/app/views/positions/show.html.erb
gui/config/environments/test.rb
gui/config/routes.rb
gui/db/migrate/20150102181840_drop_retired_user_password.rb [new file with mode: 0644]
gui/db/schema.rb
gui/db/seeds.rb
gui/db/structure.sql
gui/lib/smr/figures.rb
gui/test/fixtures/user.yml
gui/test/integration/admin_session_test.rb