From 0216dbdaae900c75b1ffdf007334a12f2849117b Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Tue, 23 Jul 2013 13:50:03 +0200 Subject: [PATCH] =?UTF-8?q?Dokumentation=20hinzugef=C3=BCgt=20annotation?= =?UTF-8?q?=20gem=20installiert=20und=20Dokumentation=20in=20app/doc=20ein?= =?UTF-8?q?gef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gemfile | 1 + Gemfile.lock | 3 + app/doc/Ability.html | 283 +++++++++++++ app/doc/ApplicationController.html | 267 ++++++++++++ app/doc/ApplicationHelper.html | 323 ++++++++++++++ app/doc/Beispiel.html | 197 +++++++++ app/doc/BeispieleController.html | 461 ++++++++++++++++++++ app/doc/BeispieleHelper.html | 176 ++++++++ app/doc/ConfigController.html | 265 ++++++++++++ app/doc/Confirmmailer.html | 182 ++++++++ app/doc/HomeController.html | 259 ++++++++++++ app/doc/Lva.html | 209 ++++++++++ app/doc/LvasController.html | 451 ++++++++++++++++++++ app/doc/Modul.html | 193 +++++++++ app/doc/Modulgruppe.html | 195 +++++++++ app/doc/ModulgruppenController.html | 465 +++++++++++++++++++++ app/doc/ModulgruppenHelper.html | 176 ++++++++ app/doc/ModulsController.html | 470 +++++++++++++++++++++ app/doc/ModulsHelper.html | 176 ++++++++ app/doc/Neuigkeit.html | 194 +++++++++ app/doc/NeuigkeitenController.html | 451 ++++++++++++++++++++ app/doc/PagesHelper.html | 226 ++++++++++ app/doc/Role.html | 193 +++++++++ app/doc/Rubrik.html | 242 +++++++++++ app/doc/RubrikenController.html | 554 +++++++++++++++++++++++++ app/doc/RubrikenHelper.html | 176 ++++++++ app/doc/Semester.html | 194 +++++++++ app/doc/SemestersController.html | 440 ++++++++++++++++++++ app/doc/SemestersHelper.html | 176 ++++++++ app/doc/StudienController.html | 459 ++++++++++++++++++++ app/doc/StudienHelper.html | 176 ++++++++ app/doc/Studium.html | 195 +++++++++ app/doc/StudmodsHelper.html | 176 ++++++++ app/doc/TinymceTextInput.html | 228 ++++++++++ app/doc/User.html | 207 +++++++++ app/doc/UsersController.html | 228 ++++++++++ app/doc/created.rid | 37 ++ app/doc/images/add.png | Bin 0 -> 733 bytes app/doc/images/brick.png | Bin 0 -> 452 bytes app/doc/images/brick_link.png | Bin 0 -> 764 bytes app/doc/images/bug.png | Bin 0 -> 774 bytes app/doc/images/bullet_black.png | Bin 0 -> 211 bytes app/doc/images/bullet_toggle_minus.png | Bin 0 -> 207 bytes app/doc/images/bullet_toggle_plus.png | Bin 0 -> 209 bytes app/doc/images/date.png | Bin 0 -> 626 bytes app/doc/images/delete.png | Bin 0 -> 715 bytes app/doc/images/find.png | Bin 0 -> 659 bytes app/doc/images/loadingAnimation.gif | Bin 0 -> 5886 bytes app/doc/images/macFFBgHack.png | Bin 0 -> 207 bytes app/doc/images/package.png | Bin 0 -> 853 bytes app/doc/images/page_green.png | Bin 0 -> 621 bytes app/doc/images/page_white_text.png | Bin 0 -> 342 bytes app/doc/images/page_white_width.png | Bin 0 -> 309 bytes app/doc/images/plugin.png | Bin 0 -> 591 bytes app/doc/images/ruby.png | Bin 0 -> 592 bytes app/doc/images/tag_blue.png | Bin 0 -> 1880 bytes app/doc/images/tag_green.png | Bin 0 -> 613 bytes app/doc/images/transparent.png | Bin 0 -> 97 bytes app/doc/images/wrench.png | Bin 0 -> 610 bytes app/doc/images/wrench_orange.png | Bin 0 -> 584 bytes app/doc/images/zoom.png | Bin 0 -> 692 bytes app/doc/index.html | 135 ++++++ app/doc/js/darkfish.js | 155 +++++++ app/doc/js/jquery.js | 18 + app/doc/js/navigation.js | 142 +++++++ app/doc/js/search.js | 94 +++++ app/doc/js/search_index.js | 1 + app/doc/js/searcher.js | 228 ++++++++++ app/doc/rdoc.css | 543 ++++++++++++++++++++++++ app/doc/table_of_contents.html | 342 +++++++++++++++ app/models/beispiel.rb | 16 + app/models/lva.rb | 17 +- app/models/modul.rb | 12 + app/models/modulgruppe.rb | 14 + app/models/neuigkeit.rb | 13 + app/models/role.rb | 12 + app/models/rubrik.rb | 12 + app/models/semester.rb | 13 + app/models/studium.rb | 14 + app/models/user.rb | 26 ++ 80 files changed, 11110 insertions(+), 1 deletion(-) create mode 100644 app/doc/Ability.html create mode 100644 app/doc/ApplicationController.html create mode 100644 app/doc/ApplicationHelper.html create mode 100644 app/doc/Beispiel.html create mode 100644 app/doc/BeispieleController.html create mode 100644 app/doc/BeispieleHelper.html create mode 100644 app/doc/ConfigController.html create mode 100644 app/doc/Confirmmailer.html create mode 100644 app/doc/HomeController.html create mode 100644 app/doc/Lva.html create mode 100644 app/doc/LvasController.html create mode 100644 app/doc/Modul.html create mode 100644 app/doc/Modulgruppe.html create mode 100644 app/doc/ModulgruppenController.html create mode 100644 app/doc/ModulgruppenHelper.html create mode 100644 app/doc/ModulsController.html create mode 100644 app/doc/ModulsHelper.html create mode 100644 app/doc/Neuigkeit.html create mode 100644 app/doc/NeuigkeitenController.html create mode 100644 app/doc/PagesHelper.html create mode 100644 app/doc/Role.html create mode 100644 app/doc/Rubrik.html create mode 100644 app/doc/RubrikenController.html create mode 100644 app/doc/RubrikenHelper.html create mode 100644 app/doc/Semester.html create mode 100644 app/doc/SemestersController.html create mode 100644 app/doc/SemestersHelper.html create mode 100644 app/doc/StudienController.html create mode 100644 app/doc/StudienHelper.html create mode 100644 app/doc/Studium.html create mode 100644 app/doc/StudmodsHelper.html create mode 100644 app/doc/TinymceTextInput.html create mode 100644 app/doc/User.html create mode 100644 app/doc/UsersController.html create mode 100644 app/doc/created.rid create mode 100755 app/doc/images/add.png create mode 100644 app/doc/images/brick.png create mode 100644 app/doc/images/brick_link.png create mode 100644 app/doc/images/bug.png create mode 100644 app/doc/images/bullet_black.png create mode 100644 app/doc/images/bullet_toggle_minus.png create mode 100644 app/doc/images/bullet_toggle_plus.png create mode 100644 app/doc/images/date.png create mode 100755 app/doc/images/delete.png create mode 100644 app/doc/images/find.png create mode 100644 app/doc/images/loadingAnimation.gif create mode 100644 app/doc/images/macFFBgHack.png create mode 100644 app/doc/images/package.png create mode 100644 app/doc/images/page_green.png create mode 100644 app/doc/images/page_white_text.png create mode 100644 app/doc/images/page_white_width.png create mode 100644 app/doc/images/plugin.png create mode 100644 app/doc/images/ruby.png create mode 100755 app/doc/images/tag_blue.png create mode 100644 app/doc/images/tag_green.png create mode 100644 app/doc/images/transparent.png create mode 100644 app/doc/images/wrench.png create mode 100644 app/doc/images/wrench_orange.png create mode 100644 app/doc/images/zoom.png create mode 100644 app/doc/index.html create mode 100644 app/doc/js/darkfish.js create mode 100644 app/doc/js/jquery.js create mode 100644 app/doc/js/navigation.js create mode 100644 app/doc/js/search.js create mode 100644 app/doc/js/search_index.js create mode 100644 app/doc/js/searcher.js create mode 100644 app/doc/rdoc.css create mode 100644 app/doc/table_of_contents.html diff --git a/Gemfile b/Gemfile index 19612ae..2cbf68f 100755 --- a/Gemfile +++ b/Gemfile @@ -69,3 +69,4 @@ gem 'haml' #gem 'RedCloth' #gem 'gollum' gem 'awesome_nested_set' +gem 'annotate', ">=2.5.0" diff --git a/Gemfile.lock b/Gemfile.lock index 41200a8..7381438 100755 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -28,6 +28,8 @@ GEM activesupport (3.2.9) i18n (~> 0.6) multi_json (~> 1.0) + annotate (2.5.0) + rake arel (3.0.2) awesome_nested_set (2.1.6) activerecord (>= 3.0.0) @@ -151,6 +153,7 @@ PLATFORMS x86-mingw32 DEPENDENCIES + annotate (>= 2.5.0) awesome_nested_set bootstrap-sass (~> 2.2.0) cancan diff --git a/app/doc/Ability.html b/app/doc/Ability.html new file mode 100644 index 0000000..af4e501 --- /dev/null +++ b/app/doc/Ability.html @@ -0,0 +1,283 @@ + + + + + + +class Ability - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Ability

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Class Methods

+ + +
+ +
+ new(user) + click to toggle source +
+ + +
+ + + + + +
+
# File models/ability.rb, line 3
+  def initialize(user)
+    # Define abilities for the passed in user here. For example:
+    #
+    #   if user.admin?
+    #     can :manage, :all
+    #   else
+    #     can :read, :all
+    #   end
+    # The first argument to `can` is the action you are giving the user permission to do.
+    # If you pass :manage it will apply to every action. Other common actions here are
+    # :read, :create, :update and :destroy.
+    #
+    # The second argument is the resource the user can perform the action on. If you pass
+    # :all it will apply to every resource. Otherwise pass a Ruby class of the resource.
+    #
+    # The third argument is an optional hash of conditions to further filter the objects.
+    # For example, here the user can only update published articles.
+    #
+    #   can :update, Article, :published => true
+    #
+    # See the wiki for details: https://github.com/ryanb/cancan/wiki/Defining-Abilitiescan :manage, :all
+    
+    user ||= User.new # guest user (not logged in)
+    
+    
+    # For Debug allow everything
+    # Remove this line in production environment and for testing user management
+    can :manage, :all     
+    
+    # Rechteverwaltung f�r Studien Modul
+    can :read, Modulgruppe
+    can :manage, Modulgruppe
+
+
+ 
+    # Rechteverwaltung fuer Neuigkeiten
+
+#    can :write, Neuigkeit if user.has_role?("newsmoderator", Neuigkeit.rubrik)
+
+   if user.has_role? "newsadmin"
+      can :addmoderator, Rubrik
+    end    
+
+
+
+  end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/ApplicationController.html b/app/doc/ApplicationController.html new file mode 100644 index 0000000..b8f08ef --- /dev/null +++ b/app/doc/ApplicationController.html @@ -0,0 +1,267 @@ + + + + + + +class ApplicationController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class ApplicationController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Protected Instance Methods

+ + +
+ +
+ default_url_options() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/application_controller.rb, line 15
+def default_url_options
+  {locale: I18n.locale}
+end
+
+ +
+ + + + +
+ + +
+ +
+ set_i18n_locale_from_params() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/application_controller.rb, line 5
+def set_i18n_locale_from_params
+  if params[:locale]
+    if I18n.available_locales.include?(params[:locale].to_sym)
+      I18n.locale=params[:locale].to_sym
+    else
+      flash.now[:notice]= "#{params[:locale]} translation not available"
+      logger.error flash.now[:notice]
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/ApplicationHelper.html b/app/doc/ApplicationHelper.html new file mode 100644 index 0000000..e64727e --- /dev/null +++ b/app/doc/ApplicationHelper.html @@ -0,0 +1,323 @@ + + + + + + +module ApplicationHelper - RDoc Documentation + + + + + + + + + + + + + + + + +
+

module ApplicationHelper

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ current_url(overwrite={}) + click to toggle source +
+ + +
+ + + + + +
+
# File helpers/application_helper.rb, line 2
+def current_url(overwrite={})
+  url_for  :params => params.merge(overwrite).except(:controller,:action)
+end
+
+ +
+ + + + +
+ + +
+ +
+ switch_locale_url(target_locale) + click to toggle source +
+ + +
+ + + + + +
+
# File helpers/application_helper.rb, line 5
+def switch_locale_url(target_locale)
+  current_url({:locale=>target_locale}) .sub "/"+I18n.locale.to_s+"/", "/"+target_locale.to_s+"/"
+ 
+end
+
+ +
+ + + + +
+ + +
+ +
+ toolbar_html(elemente) + click to toggle source +
+ + +
+ + + + + +
+
# File helpers/application_helper.rb, line 9
+ def toolbar_html(elemente)
+   html = ""
+   limiter = " | "
+       elemente.each do |e| 
+               if !e[:icon].nil?
+                       case e[:icon]
+                       when :pencil
+                       text = '<i class="icon-pencil"></i>'.html_safe + e[:text]
+                       when :plus
+                       text ='<i class="icon-plus"></i>'.html_safe+e[:text]
+                       else
+                       text = e[:text]
+                       end
+               else
+                       text =e[:text]
+               end
+               if e[:link].nil? 
+               if !e[:method].nil?
+                       if !e[:confirm].nil?
+                       html = html + link_to(text,e[:path],:confirm=>e[:confirm],:method=>e[:method])
+                       else
+                       html = html + link_to(text,e[:path],:method => e[:method])
+                       end
+               else
+                       if !e[:confirm].nil?
+                       html=html + link_to(text,e[:path],:confirm=>e[:confirm])
+                       else
+                       html= html + link_to(text,e[:path])
+                       end
+
+               end 
+               else
+               html = html + e[:link]
+               end
+               
+               html=html+limiter
+       end
+   raw(html)
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/Beispiel.html b/app/doc/Beispiel.html new file mode 100644 index 0000000..c941e4c --- /dev/null +++ b/app/doc/Beispiel.html @@ -0,0 +1,197 @@ + + + + + + +class Beispiel - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Beispiel

+ +
+ +

Schema Information

+ +

Table name: beispiele

+ +
id                :integer          not null, primary key
+name              :string(255)
+desc              :text
+lva_id            :integer
+created_at        :datetime         not null
+updated_at        :datetime         not null
+file_file_name    :string(255)
+file_content_type :string(255)
+file_file_size    :integer
+file_updated_at   :datetime
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/BeispieleController.html b/app/doc/BeispieleController.html new file mode 100644 index 0000000..525eeb0 --- /dev/null +++ b/app/doc/BeispieleController.html @@ -0,0 +1,461 @@ + + + + + + +class BeispieleController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class BeispieleController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ create() + click to toggle source +
+ + +
+ +

POST /beispiele POST /beispiele.json

+ + + +
+
# File controllers/beispiele_controller.rb, line 42
+def create
+  @beispiel = Beispiel.new(params[:beispiel])
+
+  respond_to do |format|
+    if @beispiel.save
+      format.html { redirect_to @beispiel, notice: 'Beispiel was successfully created.' }
+      format.json { render json: @beispiel, status: :created, location: @beispiel }
+    else
+      format.html { render action: "new" }
+      format.json { render json: @beispiel.errors, status: :unprocessable_entity }
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ destroy() + click to toggle source +
+ + +
+ +

DELETE /beispiele/1 DELETE /beispiele/1.json

+ + + +
+
# File controllers/beispiele_controller.rb, line 74
+def destroy
+  @beispiel = Beispiel.find(params[:id])
+  @beispiel.destroy
+
+  respond_to do |format|
+    format.html { redirect_to beispiele_url }
+    format.json { head :no_content }
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ edit() + click to toggle source +
+ + +
+ +

GET /beispiele/1/edit

+ + + +
+
# File controllers/beispiele_controller.rb, line 36
+def edit
+  @beispiel = Beispiel.find(params[:id])
+end
+
+ +
+ + + + +
+ + +
+ +
+ index() + click to toggle source +
+ + +
+ +

GET /beispiele GET /beispiele.json

+ + + +
+
# File controllers/beispiele_controller.rb, line 4
+def index
+  @beispiele = Beispiel.all
+
+  respond_to do |format|
+    format.html # index.html.erb
+    format.json { render json: @beispiele }
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ new() + click to toggle source +
+ + +
+ +

GET /beispiele/new GET /beispiele/new.json

+ + + +
+
# File controllers/beispiele_controller.rb, line 26
+def new
+  @beispiel = Beispiel.new
+
+  respond_to do |format|
+    format.html # new.html.erb
+    format.json { render json: @beispiel }
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ show() + click to toggle source +
+ + +
+ +

GET /beispiele/1 GET /beispiele/1.json

+ + + +
+
# File controllers/beispiele_controller.rb, line 15
+def show
+  @beispiel = Beispiel.find(params[:id])
+
+  respond_to do |format|
+    format.html # show.html.erb
+    format.json { render json: @beispiel }
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ update() + click to toggle source +
+ + +
+ +

PUT /beispiele/1 PUT /beispiele/1.json

+ + + +
+
# File controllers/beispiele_controller.rb, line 58
+def update
+  @beispiel = Beispiel.find(params[:id])
+
+  respond_to do |format|
+    if @beispiel.update_attributes(params[:beispiel])
+      format.html { redirect_to @beispiel, notice: 'Beispiel was successfully updated.' }
+      format.json { head :no_content }
+    else
+      format.html { render action: "edit" }
+      format.json { render json: @beispiel.errors, status: :unprocessable_entity }
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/BeispieleHelper.html b/app/doc/BeispieleHelper.html new file mode 100644 index 0000000..4e39128 --- /dev/null +++ b/app/doc/BeispieleHelper.html @@ -0,0 +1,176 @@ + + + + + + +module BeispieleHelper - RDoc Documentation + + + + + + + + + + + + + + + + +
+

module BeispieleHelper

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/ConfigController.html b/app/doc/ConfigController.html new file mode 100644 index 0000000..b09d209 --- /dev/null +++ b/app/doc/ConfigController.html @@ -0,0 +1,265 @@ + + + + + + +class ConfigController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class ConfigController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ get_git_update() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/config_controller.rb, line 5
+  def get_git_update
+    g = Git.open(".")
+
+    flash[:notice] ="Test"
+#    flash[:notice] =g.remote("github").fetch
+   redirect_to config_url
+
+  end
+
+ +
+ + + + +
+ + +
+ +
+ index() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/config_controller.rb, line 2
+def index
+  
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/Confirmmailer.html b/app/doc/Confirmmailer.html new file mode 100644 index 0000000..2215c6f --- /dev/null +++ b/app/doc/Confirmmailer.html @@ -0,0 +1,182 @@ + + + + + + +class Confirmmailer - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Confirmmailer

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/HomeController.html b/app/doc/HomeController.html new file mode 100644 index 0000000..99622eb --- /dev/null +++ b/app/doc/HomeController.html @@ -0,0 +1,259 @@ + + + + + + +class HomeController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class HomeController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ dev() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/home_controller.rb, line 4
+def dev
+
+end
+
+ +
+ + + + +
+ + +
+ +
+ index() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/home_controller.rb, line 2
+def index
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/Lva.html b/app/doc/Lva.html new file mode 100644 index 0000000..781473d --- /dev/null +++ b/app/doc/Lva.html @@ -0,0 +1,209 @@ + + + + + + +class Lva - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Lva

+ +
+ +

Schema Information

+ +

Table name: lvas

+ +
id          :integer          not null, primary key
+name        :string(255)
+desc        :text
+ects        :decimal(, )
+lvanr       :string(255)
+stunden     :decimal(, )
+created_at  :datetime         not null
+updated_at  :datetime         not null
+modul_id    :integer
+semester_id :integer
+ +

Information

+
Author +
+

Andreas Stephanides

+
License +
+

GPL

+
+ +

Dieses Model repräsentiert eine LVA. Die notwendigen Informationen können +mit TISS (dem Online System der TU Wien) synchronisiert werden

+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/LvasController.html b/app/doc/LvasController.html new file mode 100644 index 0000000..1456304 --- /dev/null +++ b/app/doc/LvasController.html @@ -0,0 +1,451 @@ + + + + + + +class LvasController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class LvasController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ create() + click to toggle source +
+ + +
+ +

POST /lvas POST /lvas.json

+ + + +
+
# File controllers/lvas_controller.rb, line 32
+def create
+  @lva = Lva.new(params[:lva])
+
+  respond_to do |format|
+    if @lva.save
+      format.html { redirect_to @lva, notice: 'Lva was successfully created.' }
+    
+    else
+      format.html { render action: "new" }
+    
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ destroy() + click to toggle source +
+ + +
+ +

DELETE /lvas/1 DELETE /lvas/1.json

+ + + +
+
# File controllers/lvas_controller.rb, line 64
+def destroy
+  @lva = Lva.find(params[:id])
+  @lva.destroy
+
+  respond_to do |format|
+    format.html { redirect_to lvas_url }
+ 
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ edit() + click to toggle source +
+ + +
+ +

GET /lvas/1/edit

+ + + +
+
# File controllers/lvas_controller.rb, line 26
+def edit
+  @lva = Lva.find(params[:id])
+end
+
+ +
+ + + + +
+ + +
+ +
+ index() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/lvas_controller.rb, line 4
+def index
+  @lvas = Lva.all
+  
+end
+
+ +
+ + + + +
+ + +
+ +
+ new() + click to toggle source +
+ + +
+ +

GET /lvas/new GET /lvas/new.json

+ + + +
+
# File controllers/lvas_controller.rb, line 18
+def new
+  @lva = Lva.new
+  modul=Modul.find(params[:modul_id])
+  @lva.modul<<modul
+ 
+end
+
+ +
+ + + + +
+ + +
+ +
+ show() + click to toggle source +
+ + +
+ +

GET /lvas/1

+ + + +
+
# File controllers/lvas_controller.rb, line 11
+def show
+  @lva = Lva.find(params[:id])
+  @toolbar_elements<<{:icon=>:pencil,:text =>I18n.t('common.edit'),:path => edit_lva_path(@lva)}
+end
+
+ +
+ + + + +
+ + +
+ +
+ update() + click to toggle source +
+ + +
+ +

PUT /lvas/1 PUT /lvas/1.json

+ + + +
+
# File controllers/lvas_controller.rb, line 48
+def update
+  @lva = Lva.find(params[:id])
+
+  respond_to do |format|
+    if @lva.update_attributes(params[:lva])
+      format.html { redirect_to @lva, notice: 'Lva was successfully updated.' }
+ 
+    else
+      format.html { render action: "edit" }
+
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/Modul.html b/app/doc/Modul.html new file mode 100644 index 0000000..1043ba5 --- /dev/null +++ b/app/doc/Modul.html @@ -0,0 +1,193 @@ + + + + + + +class Modul - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Modul

+ +
+ +

Schema Information

+ +

Table name: moduls

+ +
id         :integer          not null, primary key
+name       :string(255)
+desc       :text
+depend     :text
+created_at :datetime         not null
+updated_at :datetime         not null
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/Modulgruppe.html b/app/doc/Modulgruppe.html new file mode 100644 index 0000000..73a1cee --- /dev/null +++ b/app/doc/Modulgruppe.html @@ -0,0 +1,195 @@ + + + + + + +class Modulgruppe - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Modulgruppe

+ +
+ +

Schema Information

+ +

Table name: modulgruppen

+ +
id         :integer          not null, primary key
+typ        :string(255)
+phase      :integer
+name       :string(255)
+desc       :text
+studium_id :integer
+created_at :datetime         not null
+updated_at :datetime         not null
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/ModulgruppenController.html b/app/doc/ModulgruppenController.html new file mode 100644 index 0000000..643b348 --- /dev/null +++ b/app/doc/ModulgruppenController.html @@ -0,0 +1,465 @@ + + + + + + +class ModulgruppenController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class ModulgruppenController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ create() + click to toggle source +
+ + +
+ +

POST /modulgruppen

+ + + +
+
# File controllers/modulgruppen_controller.rb, line 44
+def create
+  @modulgruppe = Modulgruppe.new(params[:modulgruppe])
+ if !params[:studium_id].nil?
+    @studium=Studium.find(params[:studium_id]) 
+  else
+    @studium=Studium.find(params[:modulgruppe][:studium_id]) 
+ end
+  respond_to do |format|
+    if @modulgruppe.save
+      format.html { redirect_to @modulgruppe, notice: 'Modulgruppe was successfully created.' }
+
+    else
+      format.html { render action: "new" }
+     
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ destroy() + click to toggle source +
+ + +
+ +

DELETE /modulgruppen/1

+ + + +
+
# File controllers/modulgruppen_controller.rb, line 79
+def destroy
+  @modulgruppe = Modulgruppe.find(params[:id])
+  @modulgruppe.destroy
+
+  respond_to do |format|
+    format.html { redirect_to modulgruppen_url }
+
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ edit() + click to toggle source +
+ + +
+ +

GET /modulgruppen/1/edit

+ + + +
+
# File controllers/modulgruppen_controller.rb, line 35
+def edit
+  @modulgruppe = Modulgruppe.find(params[:id])
+  if !params[:studium_id].nil?
+@studium=Studium.find(params[:studium_id])
+end
+end
+
+ +
+ + + + +
+ + +
+ +
+ index() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/modulgruppen_controller.rb, line 6
+ def index
+   @modulgruppen = Modulgruppe.all
+if !params[:studium_id].nil?
+ @studium=Studium.find(params[:studium_id])
+ end
+
+ end
+
+ +
+ + + + +
+ + +
+ +
+ new() + click to toggle source +
+ + +
+ +

GET /modulgruppen/new

+ + + +
+
# File controllers/modulgruppen_controller.rb, line 26
+ def new
+   @modulgruppe = Modulgruppe.new
+if !params[:studium_id].nil?
+ @studium=Studium.find(params[:studium_id])
+ end
+
+ end
+
+ +
+ + + + +
+ + +
+ +
+ show() + click to toggle source +
+ + +
+ +

GET /modulgruppen/1

+ + + +
+
# File controllers/modulgruppen_controller.rb, line 16
+ def show
+   @modulgruppe = Modulgruppe.find(params[:id])
+if !params[:studium_id].nil?
+ @studium=Studium.find(params[:studium_id])
+ end
+
+ end
+
+ +
+ + + + +
+ + +
+ +
+ update() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/modulgruppen_controller.rb, line 63
+def update
+  @modulgruppe = Modulgruppe.find(params[:id])
+
+  respond_to do |format|
+    if @modulgruppe.update_attributes(params[:modulgruppe])
+      format.html { redirect_to @modulgruppe, notice: 'Modulgruppe was successfully updated.' }
+     
+    else
+      format.html { render action: "edit" }
+ 
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/ModulgruppenHelper.html b/app/doc/ModulgruppenHelper.html new file mode 100644 index 0000000..280119c --- /dev/null +++ b/app/doc/ModulgruppenHelper.html @@ -0,0 +1,176 @@ + + + + + + +module ModulgruppenHelper - RDoc Documentation + + + + + + + + + + + + + + + + +
+

module ModulgruppenHelper

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/ModulsController.html b/app/doc/ModulsController.html new file mode 100644 index 0000000..3692ef1 --- /dev/null +++ b/app/doc/ModulsController.html @@ -0,0 +1,470 @@ + + + + + + +class ModulsController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class ModulsController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ create() + click to toggle source +
+ + +
+ +

POST /moduls POST /moduls.json

+ + + +
+
# File controllers/moduls_controller.rb, line 48
+def create
+  @modul = Modul.new(params[:modul])
+ 
+  
+ respond_to do |format|
+   if @modul.save
+      format.html { redirect_to modulgruppe_path(@modul.modulgruppen.first), notice: 'Modul was successfully created.' }
+      format.json { render json: @modul, status: :created, location: @modul }
+   else
+      format.html { render action: "new" }
+      format.json { render json: @modul.errors, status: :unprocessable_entity }
+   end
+   end
+ 
+end
+
+ +
+ + + + +
+ + +
+ +
+ destroy() + click to toggle source +
+ + +
+ +

DELETE /moduls/1 DELETE /moduls/1.json

+ + + +
+
# File controllers/moduls_controller.rb, line 82
+def destroy
+  
+  @modul = Modul.find(params[:id])
+  modulgruppe=@modul.modulgruppen.first
+  @modul.destroy
+
+
+  redirect_to modulgruppe_path(modulgruppe) 
+  
+end
+
+ +
+ + + + +
+ + +
+ +
+ edit() + click to toggle source +
+ + +
+ +

GET /moduls/1/edit

+ + + +
+
# File controllers/moduls_controller.rb, line 39
+def edit
+  @modul = Modul.find(params[:id])
+   if !params[:studium_id].nil?
+@studium=Studium.find(params[:studium_id])
+end
+end
+
+ +
+ + + + +
+ + +
+ +
+ index() + click to toggle source +
+ + +
+ +

GET /moduls GET /moduls.json

+ + + +
+
# File controllers/moduls_controller.rb, line 4
+def index
+ @moduls = Modul.all
+ if !params[:studium_id].nil?
+@studium=Studium.find(params[:studium_id])
+end
+  respond_to do |format|
+    format.html # index.html.erb
+    format.json { render json: @moduls }
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ new() + click to toggle source +
+ + +
+ +

GET /moduls/new GET /moduls/new.json

+ + + +
+
# File controllers/moduls_controller.rb, line 28
+def new
+  @modul = Modul.new
+  modulgruppe=Modulgruppe.find(params[:modulgruppen_id])
+  @modul.modulgruppen<<modulgruppe
+  respond_to do |format|
+    format.html # new.html.erb
+    format.json { render json: @modul }
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ show() + click to toggle source +
+ + +
+ +

GET /moduls/1 GET /moduls/1.json

+ + + +
+
# File controllers/moduls_controller.rb, line 17
+def show
+  @modul = Modul.find(params[:id])
+
+    respond_to do |format|
+    format.html # show.html.erb
+    format.json { render json: @modul }
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ update() + click to toggle source +
+ + +
+ +

PUT /moduls/1 PUT /moduls/1.json

+ + + +
+
# File controllers/moduls_controller.rb, line 66
+def update
+  @modul = Modul.find(params[:id])
+
+  respond_to do |format|
+    if @modul.update_attributes(params[:modul])
+      format.html { redirect_to url_for(@modul), notice: 'Modul was successfully updated.' }
+      format.json { head :no_content }
+    else
+      format.html { render action: "edit" }
+      format.json { render json: @modul.errors, status: :unprocessable_entity }
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/ModulsHelper.html b/app/doc/ModulsHelper.html new file mode 100644 index 0000000..68f1859 --- /dev/null +++ b/app/doc/ModulsHelper.html @@ -0,0 +1,176 @@ + + + + + + +module ModulsHelper - RDoc Documentation + + + + + + + + + + + + + + + + +
+

module ModulsHelper

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/Neuigkeit.html b/app/doc/Neuigkeit.html new file mode 100644 index 0000000..62ea076 --- /dev/null +++ b/app/doc/Neuigkeit.html @@ -0,0 +1,194 @@ + + + + + + +class Neuigkeit - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Neuigkeit

+ +
+ +

Schema Information

+ +

Table name: neuigkeiten

+ +
id         :integer          not null, primary key
+title      :string(255)
+text       :text
+datum      :datetime
+rubrik_id  :integer
+created_at :datetime         not null
+updated_at :datetime         not null
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/NeuigkeitenController.html b/app/doc/NeuigkeitenController.html new file mode 100644 index 0000000..6a66070 --- /dev/null +++ b/app/doc/NeuigkeitenController.html @@ -0,0 +1,451 @@ + + + + + + +class NeuigkeitenController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class NeuigkeitenController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ create() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/neuigkeiten_controller.rb, line 26
+def create
+  @neuigkeit = Neuigkeit.new(params[:neuigkeit])
+
+  respond_to do |format|
+    if @neuigkeit.save
+      format.html { redirect_to @neuigkeit, notice: 'Neuigkeit was successfully created.' }
+   
+    else
+      format.html { render action: "new" }
+
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ destroy() + click to toggle source +
+ + +
+ +

DELETE /neuigkeiten/1 DELETE /neuigkeiten/1.json

+ + + +
+
# File controllers/neuigkeiten_controller.rb, line 57
+def destroy
+  @neuigkeit = Neuigkeit.find(params[:id])
+  @neuigkeit.destroy
+
+  respond_to do |format|
+    format.html { redirect_to neuigkeiten_url }
+
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ edit() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/neuigkeiten_controller.rb, line 22
+def edit
+  @neuigkeit = Neuigkeit.find(params[:id])
+end
+
+ +
+ + + + +
+ + +
+ +
+ index() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/neuigkeiten_controller.rb, line 3
+def index
+  @neuigkeiten = Neuigkeit.all
+end
+
+ +
+ + + + +
+ + +
+ +
+ new() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/neuigkeiten_controller.rb, line 15
+ def new
+   @neuigkeit = Neuigkeit.new
+   @rubrik=Rubrik.find(params[:rubrik_id])
+   @neuigkeit.rubrik=@rubrik
+end
+
+ +
+ + + + +
+ + +
+ +
+ show() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/neuigkeiten_controller.rb, line 8
+def show
+  @neuigkeit = Neuigkeit.find(params[:id])
+  if can? :edit, @neuigkeit
+      @toolbar_elements << {:text=>I18n.t('common.edit'),:path=>edit_neuigkeit_path(@neuigkeit),:icon=>:pencil}
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ update() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/neuigkeiten_controller.rb, line 41
+def update
+  @neuigkeit = Neuigkeit.find(params[:id])
+
+  respond_to do |format|
+    if @neuigkeit.update_attributes(params[:neuigkeit])
+      format.html { redirect_to @neuigkeit, notice: 'Neuigkeit was successfully updated.' }
+
+    else
+      format.html { render action: "edit" }
+
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/PagesHelper.html b/app/doc/PagesHelper.html new file mode 100644 index 0000000..9bc618d --- /dev/null +++ b/app/doc/PagesHelper.html @@ -0,0 +1,226 @@ + + + + + + +module PagesHelper - RDoc Documentation + + + + + + + + + + + + + + + + +
+

module PagesHelper

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ breadcrumbs(page) + click to toggle source +
+ + +
+ + + + + + + +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/Role.html b/app/doc/Role.html new file mode 100644 index 0000000..9450dba --- /dev/null +++ b/app/doc/Role.html @@ -0,0 +1,193 @@ + + + + + + +class Role - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Role

+ +
+ +

Schema Information

+ +

Table name: roles

+ +
id            :integer          not null, primary key
+name          :string(255)
+resource_id   :integer
+resource_type :string(255)
+created_at    :datetime         not null
+updated_at    :datetime         not null
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/Rubrik.html b/app/doc/Rubrik.html new file mode 100644 index 0000000..ca26cb5 --- /dev/null +++ b/app/doc/Rubrik.html @@ -0,0 +1,242 @@ + + + + + + +class Rubrik - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Rubrik

+ +
+ +

Schema Information

+ +

Table name: rubriken

+ +
id         :integer          not null, primary key
+name       :string(255)
+desc       :text
+prio       :integer
+created_at :datetime         not null
+updated_at :datetime         not null
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ moderator() + click to toggle source +
+ + +
+ + + + + +
+
# File models/rubrik.rb, line 17
+def moderator
+   u=User.with_role(:newsmoderator).first
+   if !u.nil? 
+     u.id
+   end
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/RubrikenController.html b/app/doc/RubrikenController.html new file mode 100644 index 0000000..c2f6939 --- /dev/null +++ b/app/doc/RubrikenController.html @@ -0,0 +1,554 @@ + + + + + + +class RubrikenController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class RubrikenController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ addmoderator() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/rubriken_controller.rb, line 36
+def addmoderator
+  @rubrik = Rubrik.find(params[:id])
+  if can? :addmoderator, @rubrik
+    if params[:moderator].nil?
+      current_user.add_role(:newsmoderator,@rubrik)
+    else
+      User.find(params[:moderator]).add_role(:newsmoderator, @rubrik)
+    end
+    
+    response_notice= I18n.t("rubrik/moderatoradded")
+  else
+    response_notice= I18n.t("rubrik/moderatoraddnorights")
+  end
+  respond_to do |format|
+    format.html { redirect_to @rubrik,:notice => response_notice }
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ alle_verwalten() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/rubriken_controller.rb, line 70
+def alle_verwalten
+@rubriken =Rubrik.all
+end
+
+ +
+ + + + +
+ + +
+ +
+ create() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/rubriken_controller.rb, line 24
+def create
+  @rubrik = Rubrik.new(params[:rubrik])
+
+  respond_to do |format|
+    if @rubrik.save
+      format.html { redirect_to @rubrik, notice: 'Rubrik was successfully created.' }      
+    else
+      format.html { render action: "new" }
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ destroy() + click to toggle source +
+ + +
+ +

DELETE /rubriken/1 DELETE /rubriken/1.json

+ + + +
+
# File controllers/rubriken_controller.rb, line 75
+def destroy
+  @rubrik = Rubrik.find(params[:id])
+  @rubrik.destroy
+  redirect_to rubriken_url
+end
+
+ +
+ + + + +
+ + +
+ +
+ edit() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/rubriken_controller.rb, line 19
+def edit
+  @rubrik = Rubrik.find(params[:id])
+end
+
+ +
+ + + + +
+ + +
+ +
+ index() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/rubriken_controller.rb, line 3
+def index
+  @rubriken = Rubrik.all
+ 
+end
+
+ +
+ + + + +
+ + +
+ +
+ new() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/rubriken_controller.rb, line 14
+def new
+  @rubrik = Rubrik.new
+ 
+end
+
+ +
+ + + + +
+ + +
+ +
+ show() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/rubriken_controller.rb, line 9
+def show
+  @rubrik = Rubrik.find(params[:id])
+  @moderatoren=User.with_role(:newsmoderator,@rubrik)
+end
+
+ +
+ + + + +
+ + +
+ +
+ update() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/rubriken_controller.rb, line 53
+def update
+  @rubrik = Rubrik.find(params[:id])
+
+  respond_to do |format|
+    if @rubrik.update_attributes(params[:rubrik])
+      format.html { redirect_to @rubrik, notice: 'Rubrik was successfully updated.' }
+      format.json { head :no_content }
+    else
+      format.html { render action: "edit" }
+      format.json { render json: @rubrik.errors, status: :unprocessable_entity }
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ verwalten() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/rubriken_controller.rb, line 66
+def verwalten
+@rubrik = Rubrik.find(params[:id])
+@moderatoren=User.with_role(:newsmoderator,@rubrik)
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/RubrikenHelper.html b/app/doc/RubrikenHelper.html new file mode 100644 index 0000000..6a1a66c --- /dev/null +++ b/app/doc/RubrikenHelper.html @@ -0,0 +1,176 @@ + + + + + + +module RubrikenHelper - RDoc Documentation + + + + + + + + + + + + + + + + +
+

module RubrikenHelper

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/Semester.html b/app/doc/Semester.html new file mode 100644 index 0000000..ad59a8b --- /dev/null +++ b/app/doc/Semester.html @@ -0,0 +1,194 @@ + + + + + + +class Semester - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Semester

+ +
+ +

Schema Information

+ +

Table name: semesters

+ +
id         :integer          not null, primary key
+name       :string(255)
+nummer     :integer
+studium_id :integer
+ssws       :string(255)
+created_at :datetime         not null
+updated_at :datetime         not null
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/SemestersController.html b/app/doc/SemestersController.html new file mode 100644 index 0000000..aeec6e0 --- /dev/null +++ b/app/doc/SemestersController.html @@ -0,0 +1,440 @@ + + + + + + +class SemestersController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class SemestersController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ create() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/semesters_controller.rb, line 21
+def create
+  @semester = Semester.new(params[:semester])
+
+  respond_to do |format|
+    if @semester.save
+      format.html { redirect_to @semester, notice: 'Semester was successfully created.' }
+    else
+      format.html { render action: "new" }
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ destroy() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/semesters_controller.rb, line 45
+  def destroy
+    @semester = Semester.find(params[:id])
+    @semester.destroy
+redirect_to semester_url
+    
+  end
+
+ +
+ + + + +
+ + +
+ +
+ edit() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/semesters_controller.rb, line 17
+def edit
+  @semester = Semester.find(params[:id])
+end
+
+ +
+ + + + +
+ + +
+ +
+ index() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/semesters_controller.rb, line 3
+def index
+  @semesters = Semester.all
+end
+
+ +
+ + + + +
+ + +
+ +
+ new() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/semesters_controller.rb, line 13
+def new
+  @semester = Semester.new
+end
+
+ +
+ + + + +
+ + +
+ +
+ show() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/semesters_controller.rb, line 8
+def show
+  @semester = Semester.find(params[:id])
+
+end
+
+ +
+ + + + +
+ + +
+ +
+ update() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/semesters_controller.rb, line 33
+def update
+  @semester = Semester.find(params[:id])
+
+  respond_to do |format|
+    if @semester.update_attributes(params[:semester])
+      format.html { redirect_to @semester, notice: 'Semester was successfully updated.' } 
+    else
+      format.html { render action: "edit" }     
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/SemestersHelper.html b/app/doc/SemestersHelper.html new file mode 100644 index 0000000..74e1134 --- /dev/null +++ b/app/doc/SemestersHelper.html @@ -0,0 +1,176 @@ + + + + + + +module SemestersHelper - RDoc Documentation + + + + + + + + + + + + + + + + +
+

module SemestersHelper

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/StudienController.html b/app/doc/StudienController.html new file mode 100644 index 0000000..23718b8 --- /dev/null +++ b/app/doc/StudienController.html @@ -0,0 +1,459 @@ + + + + + + +class StudienController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class StudienController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ create() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/studien_controller.rb, line 44
+def create
+  @studium = Studium.new(params[:studium])
+  respond_to do |format|
+    if @studium.save
+      format.html { redirect_to url_for(@studium), notice: 'Studium was successfully created.' }
+    else
+      format.html { render action: "new" }
+    end
+  end
+end
+
+ +
+ + + + +
+ + +
+ +
+ destroy() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/studien_controller.rb, line 68
+def destroy
+      @studium = Studium.find(params[:id])
+      @studium.destroy
+      redirect_to studien_url
+end
+
+ +
+ + + + +
+ + +
+ +
+ edit() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/studien_controller.rb, line 38
+def edit
+  @studium = Studium.find(params[:id])
+      @toolbar_elements=[{:text => I18n.t('studien.anzeigen') , :path => url_for(@studium) }]
+      @toolbar_elements<<{:text =>I18n.t('studien.allestudien'),:path=>studien_path(@studium)}
+end
+
+ +
+ + + + +
+ + +
+ +
+ index() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/studien_controller.rb, line 5
+ def index
+   @studien = Studium.all
+   @toolbar_elements<<{:icon =>:plus, :text=> I18n.t('studien.new') ,:path=>new_studium_path }
+end
+
+ +
+ + + + +
+ + +
+ +
+ new() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/studien_controller.rb, line 34
+def new
+  @studium = Studium.new
+end
+
+ +
+ + + + +
+ + +
+ +
+ show() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/studien_controller.rb, line 10
+ def show
+   @studium= Studium.find(params[:id])
+   @studienphasen=[]
+   [1, 2 ,3].each do |ph| 
+       modulgruppen_phase=@studium.modulgruppen.where(:phase=>ph)
+       if modulgruppen_phase.count==1 
+               opts={:width=>12, :slice=>1}
+       elsif modulgruppen_phase.count <= 4 
+               opts={:width=>6, :slice=>2}
+       else 
+               opts={:width=>4, :slice=>3}
+       end  
+       modulgruppen =[]
+       modulgruppen_phase.each_slice(opts[:slice]) do |s| 
+       modulgruppen<<s 
+       end
+       @studienphasen << {:modulgruppen=>modulgruppen, :phase => ph}.merge(opts)
+   end    
+   @toolbar_elements=[{:icon =>:plus ,:text=> I18n.t('studien.new') , :path => new_studium_modulgruppe_path(@studium) }]
+   @toolbar_elements<<{:icon=>:pencil,:text =>I18n.t('common.edit'),:path => edit_studium_path(@studium)}
+   @toolbar_elements<<{:text=> I18n.t('common.delete'),:path => studium_path(@studium), :method=> :delete,:confirm=>"Sure?" }
+end
+
+ +
+ + + + +
+ + +
+ +
+ update() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/studien_controller.rb, line 56
+def update
+  @studium = Studium.find(params[:id])
+  
+    if @studium.update_attributes(params[:studium])
+       redirect_to url_for(@studium), notice: 'Studium was successfully updated.' 
+    else
+       render action: "edit" 
+
+    end
+  
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/StudienHelper.html b/app/doc/StudienHelper.html new file mode 100644 index 0000000..8245d40 --- /dev/null +++ b/app/doc/StudienHelper.html @@ -0,0 +1,176 @@ + + + + + + +module StudienHelper - RDoc Documentation + + + + + + + + + + + + + + + + +
+

module StudienHelper

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/Studium.html b/app/doc/Studium.html new file mode 100644 index 0000000..295a4c2 --- /dev/null +++ b/app/doc/Studium.html @@ -0,0 +1,195 @@ + + + + + + +class Studium - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class Studium

+ +
+ +

Schema Information

+ +

Table name: studien

+ +
id         :integer          not null, primary key
+zahl       :string(255)
+name       :string(255)
+shortdesc  :text
+desc       :text
+typ        :string(255)
+created_at :datetime         not null
+updated_at :datetime         not null
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/StudmodsHelper.html b/app/doc/StudmodsHelper.html new file mode 100644 index 0000000..04f37bf --- /dev/null +++ b/app/doc/StudmodsHelper.html @@ -0,0 +1,176 @@ + + + + + + +module StudmodsHelper - RDoc Documentation + + + + + + + + + + + + + + + + +
+

module StudmodsHelper

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/TinymceTextInput.html b/app/doc/TinymceTextInput.html new file mode 100644 index 0000000..60df6fd --- /dev/null +++ b/app/doc/TinymceTextInput.html @@ -0,0 +1,228 @@ + + + + + + +class TinymceTextInput - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class TinymceTextInput

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ input_html_options() + click to toggle source +
+ + +
+ + + + + +
+
# File inputs/tinymce_text_input.rb, line 2
+def input_html_options
+        super.merge(:class => "tinymce")
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/User.html b/app/doc/User.html new file mode 100644 index 0000000..0cad416 --- /dev/null +++ b/app/doc/User.html @@ -0,0 +1,207 @@ + + + + + + +class User - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class User

+ +
+ +

Schema Information

+ +

Table name: users

+ +
id                     :integer          not null, primary key
+email                  :string(255)      default(""), not null
+encrypted_password     :string(255)      default(""), not null
+reset_password_token   :string(255)
+reset_password_sent_at :datetime
+remember_created_at    :datetime
+sign_in_count          :integer          default(0)
+current_sign_in_at     :datetime
+last_sign_in_at        :datetime
+current_sign_in_ip     :string(255)
+last_sign_in_ip        :string(255)
+confirmation_token     :string(255)
+confirmed_at           :datetime
+confirmation_sent_at   :datetime
+unconfirmed_email      :string(255)
+failed_attempts        :integer          default(0)
+unlock_token           :string(255)
+locked_at              :datetime
+created_at             :datetime         not null
+updated_at             :datetime         not null
+ +
+ + + + +
+ + + + + + + + + + +
+ +
+ + + + diff --git a/app/doc/UsersController.html b/app/doc/UsersController.html new file mode 100644 index 0000000..39b68e2 --- /dev/null +++ b/app/doc/UsersController.html @@ -0,0 +1,228 @@ + + + + + + +class UsersController - RDoc Documentation + + + + + + + + + + + + + + + + +
+

class UsersController

+ +
+ +
+ + + + +
+ + + + + + + + + + +
+

Public Instance Methods

+ + +
+ +
+ index() + click to toggle source +
+ + +
+ + + + + +
+
# File controllers/users_controller.rb, line 2
+def index 
+@users = User.all
+end
+
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + diff --git a/app/doc/created.rid b/app/doc/created.rid new file mode 100644 index 0000000..55e1a29 --- /dev/null +++ b/app/doc/created.rid @@ -0,0 +1,37 @@ +Tue, 23 Jul 2013 13:44:11 +0200 +./controllers/studien_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./controllers/rubriken_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./controllers/users_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./controllers/config_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./controllers/application_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./controllers/lvas_controller.rb Mon, 22 Jul 2013 19:15:05 +0200 +./controllers/moduls_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./controllers/semesters_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./controllers/home_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./controllers/modulgruppen_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./controllers/beispiele_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./controllers/neuigkeiten_controller.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/studien_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/pages_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/rubriken_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/moduls_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/modulgruppen_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/studmods_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/semesters_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/beispiele_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/application_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/lvas_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./helpers/neuigkeiten_helper.rb Mon, 22 Jul 2013 16:40:55 +0200 +./models/modulgruppe.rb Tue, 23 Jul 2013 13:25:47 +0200 +./models/role.rb Tue, 23 Jul 2013 13:25:48 +0200 +./models/beispiel.rb Tue, 23 Jul 2013 13:25:48 +0200 +./models/neuigkeit.rb Tue, 23 Jul 2013 13:25:48 +0200 +./models/modul.rb Tue, 23 Jul 2013 13:25:48 +0200 +./models/ability.rb Mon, 22 Jul 2013 16:40:55 +0200 +./models/rubrik.rb Tue, 23 Jul 2013 13:25:48 +0200 +./models/lva.rb Tue, 23 Jul 2013 13:44:06 +0200 +./models/semester.rb Tue, 23 Jul 2013 13:25:48 +0200 +./models/studium.rb Tue, 23 Jul 2013 13:25:49 +0200 +./models/user.rb Tue, 23 Jul 2013 13:25:49 +0200 +./mailers/confirmmailer.rb Mon, 22 Jul 2013 16:40:55 +0200 +./inputs/tinymce_text_input.rb Mon, 22 Jul 2013 16:40:55 +0200 diff --git a/app/doc/images/add.png b/app/doc/images/add.png new file mode 100755 index 0000000000000000000000000000000000000000..6332fefea4be19eeadf211b0b202b272e8564898 GIT binary patch literal 733 zcmV<30wVp1P)9VHk(~TedF+gQSL8D5xnVSSWAVY>J9b+m>@{iq7_KE}go~11+5s4;8hc+i0Xa zI1j@EX5!S+Me6HNqKzU5YQwL;-W5$p%ZMKMeR<%zp69-~?<4?8|C8S?bklXr4v&Ov zb&06v2|-x?qB`90yn>Qi%Sh2^G4n)$ZdyvTPf9}1)_buUT7>`e2G&2VU@~Bb(o+Mz zi4)>IxlSY${Dj4k={-9RzU^W5g9|2V5RZ2ZulL9s2xQbZ@r6eP9Ra5u(s|C0Nj#&4>wTSkb?%#=9?@ z^oxDy-O@tyN{L@by(WWvQ3%CyEu8x{+#Jb4-h&K9Owi)2pgg+heWDyked|3R$$kL@A z#sp1v-r+=G4B8D6DqsDH0@7OztA7aT9qc1Py{()w`m``?Y0&gi2=ROcc-9+nU^I6< zT=e_Y=vSnG@?3Ue{BW5ONFttcE!R-R_W4O01|0-|K-YNXLo2`4Qv z`r1LxR6#yf3FB%T95gJnaKKivA~Z}S9A(ZxEDK}O3T04USJ P00000NkvXXu0mjf^IS-S literal 0 HcmV?d00001 diff --git a/app/doc/images/brick.png b/app/doc/images/brick.png new file mode 100644 index 0000000000000000000000000000000000000000..7851cf34c946e5667221e3478668503eb1cd733f GIT binary patch literal 452 zcmV;#0XzPQP)Pdwe5?6tW?r-ok|b$oDQj8FV%kZPq;(MWOV8?8;<)(iP}>hNMU> z7fbz%jjlr7h8uuoQ~J6}n}@Y@PdTk=)PxO{%7zmL?dchpZX*~n;I{!C>*(8cU;q(~ zAS%Po_@naEU!xidrBXD?;hN|x^%W|Ij)0y*r5vi|?W&Fub(NqJ@z0o=O&SR3v>A``^efOSo-hEdApp;^Jd;9y!%1UfzX6Bh- z%-mbG|0Na{7Ruai_Y+DEb1s+b!*9k%Q!whMxjtZKA*?o;i1g&jy0@( zaU=-@d-h+o%gal6JRXEXA&L3`d2 z%jIxzZ~*p9O-;EJp_Ds0If38rM<5W8ic~K>FOK&2_p!CLg^i63OioVb6k$)zWHLx3 z5;!|M!}<9+#QSi1dRlbEcxPt^;cysUuU8@%3}RwpLRIGG<|IKnoyP6$Eh3SKw7a*r zSDXP=IYc&YZf;7@?fCe($^l9ORaJ3wbAx0uiC8QqRr$2t-Cfy8%XCI3B%pxJW>XdM zw~zPt_s}#A@pxQ5Ly)4szaMtH9lgE1SXx@b+S(fW`ub$fYPE8J7#bSNDzme*Ub07{ zQKV8SjEs!%0@v5ql8ggm!@$6Rbi^E8vBqpRM-}l+@5OSMrl+TWj*gC^qoV@>u{fQb zov5v?g~?>X@bEC&+uLPaQ&Ypn-y~^mZA}+f(&2EFH8eE%dU|@ENpN*_1-)L6_4Rc* zFuq@`IjX9vp1QiaK9ZojyZhnQURP99d=u;%37VRkpwsD4U0sd3x;hEQB&e^i|3QN0 z=H|Os1fRqaw!?#igLmS4HE!G3*ce(`TF} zlgUq0Q544c8(ae&UR$8ps&snq6^bPY3v3xAmMW74Di$h~GCH6E3TaYs2#6A<7K*gC z777H71_Wa;(dfp+g-drPCSWu)#PInZi72LJ;o?i~$-U=y&UbQ89Dul3%3P+Axkzc* zbH-y;QF=hR{qLItf%ci2_&e5wNo0gnVatG?ul6Zw=o$I9Ljfn*ic3`U?>IfEim3g{ zujU&$-hy6wn;w(xme|zJm;lWJxtTFfM)q0`kX!Vu0+d${$}LCddK1<^htTe-fUYL3 zB`SdNsZD>RgvLj1<^@h6_+cDRK2Brcr2~>%$*5S)hyV33PV^teac3%|4lz@8p4?)5 z?t5o^?q+%^%)Yygo~I^U4VR!bTnWuE35hcWrfCDR3q+sxJ79e7Fg`&)RCqLA^2^y^ z0laVfadW90_Fz8Brm|r47sB^u1VgI>kanj)Z4`zMSfHlm8>CwXa$JVM`$2RrmZB-3 zN10m-!;BvH*Br3V8t`DH7m`jf#2upVDXl{5ff18_pzCPK1Zu$$CKKvd8FGeFf)+K<|x33pc7P&S#3GZT4mEw;nr(Ze*F z3&*?-4U-lm*#tber5 z%S_ceqB`b3ko6r~BbvDwdohTvP(3a(pq{x#T$yQsu#OKwEe}KuH^Mh@nxg_(Nw136 zq#a^3xNBke)In+!?qk3%4wB69{pF`Tzg`07*qoM6N<$ Eg55P&8UO$Q literal 0 HcmV?d00001 diff --git a/app/doc/images/bullet_black.png b/app/doc/images/bullet_black.png new file mode 100644 index 0000000000000000000000000000000000000000..57619706d10d9736b1849a83f2c5694fbe09c53b GIT binary patch literal 211 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^zbpD<_bdI{u9mbgZg z1m~xflqVLYGB~E>C#5QQ<|d}62BjvZR2H60wE-$h^>lFz(Kw&{<9vg>5sw~gS5O!4 zr|{HuUFIBKiQyL}eBJ-L{`UVT|6_O~L{G%N{Wbre{kQtZ_0LvEhC#5QQ<|d}62BjvZR2H60wE-$h^mK6y(Kw&{<9vg>(S^W+6Zii9 z|Nhthr~iNb*Z!}6uiN$Dz5neG3a-`baBX8yz1H+_;eX)`ni0%X8XBDc-`=Ph(Uan2 zYsR{H!kvIN--9isvHznRsC#5QQ<|d}62BjvZR2H60wE-$h_H=O!(Kw&{<9vg>(S^W+6Zii9 z|Nhthr~iNb*Z!}6uiN$Dz5neG3a-`baBX8yz4q@v|B?28{s)#N@CGn3@%_y|zAV9T z66e<&B4?b6oF&azg|C(V&1ZbI_D}pL`}(^FT2yXwG1Ph~$Q@h8mJYOz!PC{xWt~$( F699+YQR)By literal 0 HcmV?d00001 diff --git a/app/doc/images/date.png b/app/doc/images/date.png new file mode 100644 index 0000000000000000000000000000000000000000..783c83357fdf90a1c7c024358e1d768b5c09c135 GIT binary patch literal 626 zcmV-&0*(ENP)5OC%H;f`~O(q$Q#t2<^v$A>fbmv%e#dKTwK=Ku{5lS|}<-`a#7b zzTCOnnT>at)D}AMFuOZ5&%EqFN(lyumd$2ASF6=;nM~%2?gqc@U=#|4PqkX@EBo-9 z7pD#bO_RUa>*faM`8;MYfVi$JnB-zcBFc6gjl$d!bF98Q!!!(Z1_R~P?e!pt#6CHJ9S&n_n&@=9 z%GP;!@Co4c*at+6vNz7o(6en^Q1%qHrc;1)9IRaz-$@S$Z-qdC^ds3X0NvQH;KS)D z-dh&rW&@X;1cS(45z)J&BVt+tv&GMVJ%!EiW) zLBGZW)#Z+gl-Lih&?>X3SS-S#ujQ;9JRXmIB7X)8`d6ETj)D#Q2+$s|<_b7-B9Xvq zwNfqlEp%y3$uY`h{Y$(Gn5@}sqEsq95lpAkFO5dyBmP6^H-51G4J|rN2Ujt<`2YX_ M07*qoM6N<$fC4}Mrzlg<+1Y8PEBfUp0jJpx4B>@E+cy3`^(Gw`Mf+2&yxZm<$to~Vpgvg&QKNR z_f#1(r6svZt%iF?s+n<8X?B&!h3g9Dbb8_=MX}!;HiQSAh`bp^WMl~Z-44teO7W_Y zV4thSL{h;rJY7!l3%5J4H1!tIzB`Dv+YxO(haWeausGZYkI8^hWj6mzo=L0{%;yxzh{5!Htr?51 zvG|W62MzC8BZ76hRpCyO2zOn<%e)K>NHge!-~)Ap33OdWw6hsLYbCxGNt0%wk_2z7 zfyYvXheSG)5HRK1VB~%mq7Dmurw#bi@hEcOr3&G1ZiF*$M=&9nB#VNf&Q^r$4G5kp zTURh&s)E0%5&hyVD}sp<72~zmAY`Y(9aqO6CXF%=zFHGzO-A&I(pE}v70YQxCPJ{Y z4L+?5-crdLn3ZRPEs!A4ehEY3ZRpL~w9>@aMN+{F4dI@v&>(QDHQum!mG~E^$OS8l z!7?%Uwib*ROP67Hw`ika)gX-(8Ia`-u_IEhxG7U<13kSsMW+$lbb2dUMm5p6pa}cjgA+U$^mJ^AjD?&bdi)8~y+Q002ovPDHLkV1g8IMc@Dc literal 0 HcmV?d00001 diff --git a/app/doc/images/find.png b/app/doc/images/find.png new file mode 100644 index 0000000000000000000000000000000000000000..1547479646722bda4647df52cf3e8bc9b77428c6 GIT binary patch literal 659 zcmV;E0&M+>P)IO9T&v~?D!=C@G6X*U1@h2}>2WE%HrrsjTfQsh6N9%SR25A5rkWp0g zzi;-6|3HJE;58sAyX1e@^d7EwiKQLb00%dp|5+t<{|l;G!D3eSuFDma zRCxr2MVY_`ELgLXqo}ssqp5E;*r|opZT~&|!~VN?1^mw`Yxp0VmiIp*r|Ey~#AW|W zTBd;IxVd?%*x1<_!3Ip2yP9Rn!u1aqt=siKx4a3At0%7dKV|u@|9wlg|7x7R;eT!K z{QuFp&Huxb3&AdAW?^~2z`(!^HUQ{cR*=op7H|BYU0VMi3A-|5H&#ol!zs_8lnTUg(&PtE($2Dhdk=&(F^R z|KGZGj(DV`tD_*NsU$2QNCCXqf9n(sfdh~LzJJdCa}5CGoUI+JZJBOCDz({abl~fE zw*5kfzVoR6cNi2r#C!ZEH0O;NW@rIh| zlqsqSSs9s#;sV;-@|>77A1W_O_DV`91Pq4Kz`Z(PaO&pn=GOMkuU$ROkc5GuVd!Y* zcn`UMYkYq7V07o@rsi~>-ziMLT zG+?a49zQWzia{TFcs{FKj#dh}e#z5@`O3omC>ELXboP2cR7WT?J@&ao#fn-I;sJ*F zD;=5p9?%y~V{F{q4^{|Zlt~d?*Ve!iWj&E%8@h^*gN$V29v5mAsN{O(ULD=kFMd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0gj> zt+;DN~K1pX*UvM(B(Di$9F6+&eT z#bhNzlMA>q^N?j+@1IqnYvK};_)_77Ts{!elaGqJg{uwb(1mX6u=pkfLJYkfX+`v! zOm>eolNV>Nz$A&W8YqkN#cU|#i6j>Ox+Eu4*8Myq{Eq?u*kn+nT zQ@k8?r`Isov^UI2=T{#K~skC)fRP-aj zcrJyQmQ!u>p5&{_zp7xOM(Q%smb6M%g6o4s^>A8#L41?8Ox^e7CM$W~*3!e8F7P`S zK9!26tqJVBt`?fLxM^Gf`xAacdcbz&)u<6pKM?qA_ms76BOQWg0Le^W#?SMIT$jE7 zyw1!lG*$#k#iqZyl9~L_CjIwBb}$%9+e2Vw!1@$nfpvj1y2o4hJabo7^;(V}>++Tz z{|NtdydBeFpKnv*Vg9BTu3P)+)3J?9`*6t|c{b*k>-L!PvY`#5^i1^XCnxh zky})0T&rp6 zJFwUVv-;Dzt2_z1)}rtpHBQH#<-`N0%%UP1TF^VNx2@~Zh_4nbMMxj7zeHTrB&q)a Dl)1NK literal 0 HcmV?d00001 diff --git a/app/doc/images/macFFBgHack.png b/app/doc/images/macFFBgHack.png new file mode 100644 index 0000000000000000000000000000000000000000..c6473b324ee1dae1faaacc0826639833f551116c GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^k|4~%1|*NXY)uAIEX7WqAsj$Z!;#Vf4nJ za0`Jjl>Qs8<JF;+Fd5q0wCR k?u=~bH}2*0f`J3~k>FVdQ&MBb@0BAfpf&c&j literal 0 HcmV?d00001 diff --git a/app/doc/images/package.png b/app/doc/images/package.png new file mode 100644 index 0000000000000000000000000000000000000000..da3c2a2d74bab159ba0f65d7db601768258afcb2 GIT binary patch literal 853 zcmV-b1FHOqP)5TQ^(M5v$(QKVE?W+9X! z*o}&~6c?_FreF)9NJB7b5Nbn{G0n4+%uJhR9(V5R|NFTpb|HgjefT!tIhLx@DR+N) zV+fHiR5Yt19}k|KnCsND{tH-`IMJ)3AE?OtyZ4>Un|6(d%h#JK`i&a7^xW9>`yBy` zS4SOHeOpC7$?hH5-#7Rswiue_8Ju*2N@$58=a#2OTA3png`w3v->gWif7t%e$ z$NLVS!tFT#8WL|Wa&K~+{%4P2cRfwesYV1_!F=3OaRVHl(>=`%&{x*s30c}#CNE@&;ItrAv!f!)Oy$Q9t$uS=(sD$-J{T*^(8Eez1E-l3}} zPrfHZ1`qsIFe&gipuL8-IZbo2Yg{lFGKs?ZZWcOaOdk*3`5T;$?AjbG1#`B510Er^h2)2r3Y{!8_2Gj=$KzuN5 zaErtW8W_Y2iJJjY)5pmTVJoPJYpanPOEuYHclM^C1F>${hFRpdi8a<2H|Xudf78bm(zwJ9`K%6I?q*Ua~ fW9JvIbn5*B+_J)rUMBs>00000NkvXXu0mjfH&TkY literal 0 HcmV?d00001 diff --git a/app/doc/images/page_green.png b/app/doc/images/page_green.png new file mode 100644 index 0000000000000000000000000000000000000000..de8e003f9fb8752c09e7f3655d5d8664b5c62fc3 GIT binary patch literal 621 zcmV-z0+RiSP)QqUjAtB;_Vvt6}AS_5YgM`Uqu`yva+H8^=4U$e4gHb}u zAQ2N{V3A%pO|?Pv?tb6z=jC}SiRa$G^v3q?*6XcYz$p|cq{uLj@#~Fi`J(>5{@&&N zy%T^+;>8cXx%|o77anP?&W1?1A(>-T49z9pyeCl@7YI+Si zKti7=B~``}TImz(G{0PnlQA3P#MAd}sorMjkP!50B7$nAkU^%#nl{Q9lW0@}9fE-> zN(q7tRuiC_T1r|BBtVBTlQ2+70$Rf;eF`Z;lx46Cpu-rEgb)EBKq(b^W8l<^We(`D z43?0=01z<3G6+UUv6`CsWCk6^93!#+<;ws7007{zS3k2k9-zZKFO~(k`>s0y006+1 zgF_jyIhsL-`FMf~JL~C=cV75(CrJ|q;MVO961G=O zm9d)YpJg5g(4i_HKL75eSE}mq$Y}r}hyVdcV~p>6a}oXr80q`oj%+s700000NkvXX Hu0mjfPs|!l literal 0 HcmV?d00001 diff --git a/app/doc/images/page_white_text.png b/app/doc/images/page_white_text.png new file mode 100644 index 0000000000000000000000000000000000000000..813f712f726c935f9adf8d2f2dd0d7683791ef11 GIT binary patch literal 342 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^zbpD<_bdI{u9mbgZg z1m~xflqVLYGB~E>C#5QQ<|d}62BjvZR2H60wE-%6;pyTSA|c6o&@eC9QG)Hj&ExYL zO&oVL^)+cM^qd@ApywS>pwx0H@RDN}hq;7mU-SKczYQ-hnrr=;iDAQMZQ+*g=YOM= z!QlMQEn7FbaD->uKAYgo_j9)W&$$zS*W9}m(ey0q$&7l-XEWO0Y(9M=SnhLbwy;d>@~SY$Ku*0xPvIOQeV1x7u_z-2-X>_74(yfh7C znXL|3GZ+d2`3re2hs?MKC#5QQ<|d}62BjvZR2H60wE-$R?&;zfqH(@;q9b3Efq-lM(nr^( z=EYR73-9e)UYMWsXy%?aZsD68Yyv^2$~6QgEcljw%kx>O(f-gQ?@fOOx3A-0+Qw?O zRx~W)kn~Qe2d6f9nMG#g9Q04Mk==M~N!Dglvxk!fgVh#w@ZV$IY1+Xc`d{d2UcaP~ zfWp)_Ivqj}l2SPy^9ZWy6rG9Yx4v67_uA&&9|XA~5-#3)W3%em1peD8RWH^#O%XoM zxMPud%}GTj#~*+7JMxTd!`{^Q+>(D3*|@KV`*G2;{QnANOxu1$r2xIe;OXk;vd$@? F2>@zac~<}c literal 0 HcmV?d00001 diff --git a/app/doc/images/plugin.png b/app/doc/images/plugin.png new file mode 100644 index 0000000000000000000000000000000000000000..6187b15aec001b7080b51a5f944f07591f26cc15 GIT binary patch literal 591 zcmV-V0eEcNHZMNv|IbJ-M`( zKwWL~opzjJe^WpCmV9E;(0&ut2;4va_(#>M8)>9$R5viQnf(Nkh~VM$y>J(jqb$cj z+nL1Nm|mV)Gm|9MnHf*7Ja4OEAQz__^LRKOLEwqpiGV^^A*T=#&inGm-62Xs;dnSp zKj&H9T*boh2i)W+(n27l!C)>fq|L%VB1i ziC4p;NwV_}ZjW7$LRW#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Uo_;BLiOXzcE z&4PS2TBWSC=hsw0og;z#(mly@Ed2E1E$_VDaM?kloE4ob2XK&K;OS~-nhIGlA4~UZrJu6*|}wi#TT?|yWUH+_&n($t0xta zBwTzSfE)uAw*L0>+`pTps}L-$jIP5Q_E$Am+l|{XfsKr0Vi~`Em?SJQ#0y)8vsxb1 zMdxJl^){_CDwI^}>)Pw${G?Ajc@P}x{Fvhoi0jbY^427?KPmoA_G)sqK}u$2(79Xg zC%}xm5JDcrsm5^vQEQpGEdJDc^yfuNAlqV1pZQVkOSceV<|{=|=@?=o4i_1RFUZth zC7cu<6%V3dVCI}P6DL4iUgTc@&(nXY)ox}HZ z(a#EgiNj%{kjRLL2t?{m_aKN`{5-&u+HAtQ-Qq#@!I@<(M+B3i@|g=LY6 z90tpW!JuMn_Lcy1q7g&LUSuLE3XS}K#P^nHVUmL`L)dbP| z0bt(+Cp#M-bH!LM*DzJ0Lfn;eTBV@|JvGSgpdoc1RhhV>(G-2(vE|>MrVgA9+?+0m4OzUqbT>-U-jg|v zLZMntq`r?fy1UCMh>z2Koi1SL-~N2ZrIf+dZW|;SWszsde}Dl!HOMc1Fa>K9)e&RI z)A?aK zcviCdKDUg_%#u7YAE`A`Y3$(P4&m^@fEWAvjAwVmRWeUnmkrxA;E!fKoc{9Vi=lvFL}KmoS;g* zdjL?Y!VHUFq63aLj6VZE+tHts?Z1pFkiO9^k*5pGpFpU&5#5G4ATd{t>a&9zKBVB9=Ns^HFU|DTGH8C+Xr2UqOU`Zxe)!|%j4=-QojGePq)pRGe;!f)Czk!u3vP_Jxu8(e6 zf4Q`F$Qio2Jw@N*E@k?c`+Sw}AYQjkT+x)OAe6eq(AT!iRuksKQn%Ao_Ac1T-p#Js I_CnHs0qX}mlmGw# literal 0 HcmV?d00001 diff --git a/app/doc/images/tag_green.png b/app/doc/images/tag_green.png new file mode 100644 index 0000000000000000000000000000000000000000..83ec984bd73364134da0f98d27a800c5d3264180 GIT binary patch literal 613 zcmV-r0-F7aP)^5T)AZ%#@G{_P{NCN^P z(J0zvSn~SSm(Ur);-M~8^*;61*VRI`T1BN&LAhK;sZ>I-SVW;vfUfJv=ko^ugnc0x zhJodBxe>iyk3%w<%wC8holUJ4(iv>tL{`DQt zPOsyUbO_Cmc&*iHkqbm3ku`|GcC^OhF>jj9W*GkH;^g!iUVpib_h*=@udp4h(P+e*zL_~ZmJjh(y^BxULwq>9zXoYE8sq{#pN~U0C6!8vY)5N2 z9P*}mw}7X$O^qTtJef1ACWvJT9^wt-)Zh0r~j#0bT`f;-zv6 z^Tmw22!%rMcs!TaUX<-8s;X-B`+Xbo+_uWuFa z1yIPc?DTrQ7KvRhmt*TG|L=EYQ=LqFX;=Lp`4}jx6BE-@00000NkvXXu0mjf=s_29 literal 0 HcmV?d00001 diff --git a/app/doc/images/transparent.png b/app/doc/images/transparent.png new file mode 100644 index 0000000000000000000000000000000000000000..d665e179efd797451084235f105425247fea0a14 GIT binary patch literal 97 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!D3?x-;bCrM;bAV5X>;M1%mmiTn0pv241o;Is pI6S+N2ITN~x;Tb#$R;N!@B(=T42&&nK2`x)44$rjF6*2UngG277DE64 literal 0 HcmV?d00001 diff --git a/app/doc/images/wrench.png b/app/doc/images/wrench.png new file mode 100644 index 0000000000000000000000000000000000000000..5c8213fef5ab969f03189d4367e32e597e38bd7f GIT binary patch literal 610 zcmV-o0-gPdP)^jb z4`0v}DG1te)wmeb(>p90leRz?_mO+^JKy=v&2<29Od6?F%9%(c8los#f*@G`-%W&* z$)uBj2i@u-@SgX}gtyWPe6d*|w6h%R? zScK2#Yn%$sum0cy>90DmY*i{1XqpClEtktsRTZ)lCUe z<FogV^*tm>8*AlX za4oiR!&85LrobG57qUHUX#{>Vz(RHpB5|@>9O6N$jqB8>%($0wxE5R3)b>Y~xtCo$ zCgEk&A?_#IxHdN)9tqre^o{ho4{?hmPuf@^@I3-wncaRd%|~O3xbrKY=&TiwPYkJroM{;WUQTuMY8vpg}f4o)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ff --git a/app/doc/js/darkfish.js b/app/doc/js/darkfish.js new file mode 100644 index 0000000..f26fd45 --- /dev/null +++ b/app/doc/js/darkfish.js @@ -0,0 +1,155 @@ +/** + * + * Darkfish Page Functions + * $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $ + * + * Author: Michael Granger + * + */ + +/* Provide console simulation for firebug-less environments */ +if (!("console" in window) || !("firebug" in console)) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", + "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; + + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +}; + + +/** + * Unwrap the first element that matches the given @expr@ from the targets and return them. + */ +$.fn.unwrap = function( expr ) { + return this.each( function() { + $(this).parents( expr ).eq( 0 ).after( this ).remove(); + }); +}; + + +function showSource( e ) { + var target = e.target; + var codeSections = $(target). + parents('.method-detail'). + find('.method-source-code'); + + $(target). + parents('.method-detail'). + find('.method-source-code'). + slideToggle(); +}; + +function hookSourceViews() { + $('.method-heading').click( showSource ); +}; + +function toggleDebuggingSection() { + $('.debugging-section').slideToggle(); +}; + +function hookDebuggingToggle() { + $('#debugging-toggle img').click( toggleDebuggingSection ); +}; + +function hookTableOfContentsToggle() { + $('.indexpage li .toc-toggle').each( function() { + $(this).click( function() { + $(this).toggleClass('open'); + }); + + var section = $(this).next(); + + $(this).click( function() { + section.slideToggle(); + }); + }); +} + +function hookSearch() { + var input = $('#search-field').eq(0); + var result = $('#search-results').eq(0); + $(result).show(); + + var search_section = $('#search-section').get(0); + $(search_section).show(); + + var search = new Search(search_data, input, result); + + search.renderItem = function(result) { + var li = document.createElement('li'); + var html = ''; + + // TODO add relative path to + + + + + + + + + + +

Table of Contents - RDoc Documentation

+ + +

Classes/Modules

+ + +

Methods

+ + + + + diff --git a/app/models/beispiel.rb b/app/models/beispiel.rb index 584d0ba..13f0764 100755 --- a/app/models/beispiel.rb +++ b/app/models/beispiel.rb @@ -1,3 +1,19 @@ +# == Schema Information +# +# Table name: beispiele +# +# id :integer not null, primary key +# name :string(255) +# desc :text +# lva_id :integer +# created_at :datetime not null +# updated_at :datetime not null +# file_file_name :string(255) +# file_content_type :string(255) +# file_file_size :integer +# file_updated_at :datetime +# + class Beispiel < ActiveRecord::Base has_paper_trail attr_accessible :desc, :name, :file, :lva_id diff --git a/app/models/lva.rb b/app/models/lva.rb index 7a452d4..83839b9 100755 --- a/app/models/lva.rb +++ b/app/models/lva.rb @@ -1,4 +1,19 @@ -## +# == Schema Information +# +# Table name: lvas +# +# id :integer not null, primary key +# name :string(255) +# desc :text +# ects :decimal(, ) +# lvanr :string(255) +# stunden :decimal(, ) +# created_at :datetime not null +# updated_at :datetime not null +# modul_id :integer +# semester_id :integer +# +# == Information # Author:: Andreas Stephanides # License:: GPL # Dieses Model repräsentiert eine LVA. Die notwendigen Informationen können mit TISS (dem Online System der TU Wien) synchronisiert werden diff --git a/app/models/modul.rb b/app/models/modul.rb index 40b0b95..84fcfca 100755 --- a/app/models/modul.rb +++ b/app/models/modul.rb @@ -1,3 +1,15 @@ +# == Schema Information +# +# Table name: moduls +# +# id :integer not null, primary key +# name :string(255) +# desc :text +# depend :text +# created_at :datetime not null +# updated_at :datetime not null +# + class Modul < ActiveRecord::Base attr_accessible :desc,:name, :depend, :studium_id, :modulgruppe_ids diff --git a/app/models/modulgruppe.rb b/app/models/modulgruppe.rb index 7f21489..8875645 100755 --- a/app/models/modulgruppe.rb +++ b/app/models/modulgruppe.rb @@ -1,3 +1,17 @@ +# == Schema Information +# +# Table name: modulgruppen +# +# id :integer not null, primary key +# typ :string(255) +# phase :integer +# name :string(255) +# desc :text +# studium_id :integer +# created_at :datetime not null +# updated_at :datetime not null +# + class Modulgruppe < ActiveRecord::Base attr_accessible :name, :phase, :typ,:desc, :studium_id belongs_to :studium, :foreign_key => "studium_id" diff --git a/app/models/neuigkeit.rb b/app/models/neuigkeit.rb index c03e526..5f41df6 100755 --- a/app/models/neuigkeit.rb +++ b/app/models/neuigkeit.rb @@ -1,3 +1,16 @@ +# == Schema Information +# +# Table name: neuigkeiten +# +# id :integer not null, primary key +# title :string(255) +# text :text +# datum :datetime +# rubrik_id :integer +# created_at :datetime not null +# updated_at :datetime not null +# + class Neuigkeit < ActiveRecord::Base attr_accessible :datum, :text, :title, :rubrik_id belongs_to :author, :class_name =>'User' diff --git a/app/models/role.rb b/app/models/role.rb index 145baa7..8da866d 100755 --- a/app/models/role.rb +++ b/app/models/role.rb @@ -1,3 +1,15 @@ +# == Schema Information +# +# Table name: roles +# +# id :integer not null, primary key +# name :string(255) +# resource_id :integer +# resource_type :string(255) +# created_at :datetime not null +# updated_at :datetime not null +# + class Role < ActiveRecord::Base has_and_belongs_to_many :users, :join_table => :users_roles belongs_to :resource, :polymorphic => true diff --git a/app/models/rubrik.rb b/app/models/rubrik.rb index b0122bd..99b150c 100755 --- a/app/models/rubrik.rb +++ b/app/models/rubrik.rb @@ -1,3 +1,15 @@ +# == Schema Information +# +# Table name: rubriken +# +# id :integer not null, primary key +# name :string(255) +# desc :text +# prio :integer +# created_at :datetime not null +# updated_at :datetime not null +# + class Rubrik < ActiveRecord::Base attr_accessible :desc, :name, :prio has_many :neuigkeiten, :class_name => "Neuigkeit" diff --git a/app/models/semester.rb b/app/models/semester.rb index 13cb02d..ca866b6 100755 --- a/app/models/semester.rb +++ b/app/models/semester.rb @@ -1,3 +1,16 @@ +# == Schema Information +# +# Table name: semesters +# +# id :integer not null, primary key +# name :string(255) +# nummer :integer +# studium_id :integer +# ssws :string(255) +# created_at :datetime not null +# updated_at :datetime not null +# + class Semester < ActiveRecord::Base has_and_belongs_to_many :lvas attr_accessible :name, :nummer, :ss, :ws diff --git a/app/models/studium.rb b/app/models/studium.rb index 7411b30..0788bb6 100755 --- a/app/models/studium.rb +++ b/app/models/studium.rb @@ -1,3 +1,17 @@ +# == Schema Information +# +# Table name: studien +# +# id :integer not null, primary key +# zahl :string(255) +# name :string(255) +# shortdesc :text +# desc :text +# typ :string(255) +# created_at :datetime not null +# updated_at :datetime not null +# + class Studium < ActiveRecord::Base attr_accessible :desc, :name, :typ, :zahl has_many :modulgruppen, inverse_of: :studium, :class_name => "Modulgruppe" diff --git a/app/models/user.rb b/app/models/user.rb index 673b7d6..3995a3d 100755 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,3 +1,29 @@ +# == Schema Information +# +# Table name: users +# +# id :integer not null, primary key +# email :string(255) default(""), not null +# encrypted_password :string(255) default(""), not null +# reset_password_token :string(255) +# reset_password_sent_at :datetime +# remember_created_at :datetime +# sign_in_count :integer default(0) +# current_sign_in_at :datetime +# last_sign_in_at :datetime +# current_sign_in_ip :string(255) +# last_sign_in_ip :string(255) +# confirmation_token :string(255) +# confirmed_at :datetime +# confirmation_sent_at :datetime +# unconfirmed_email :string(255) +# failed_attempts :integer default(0) +# unlock_token :string(255) +# locked_at :datetime +# created_at :datetime not null +# updated_at :datetime not null +# + class User < ActiveRecord::Base rolify # Include default devise modules. Others available are: