├── public ├── favicon.ico ├── blank_iframe.html ├── demo │ ├── demo.jpg │ ├── freehub.mp4 │ └── summary.html ├── images │ ├── rails.png │ ├── body_bg.png │ ├── ey-logo.gif │ ├── spinner.gif │ ├── footer_bg.png │ ├── tag_yellow.png │ ├── design │ │ ├── Person.png │ │ ├── Visits.png │ │ ├── home_started.png │ │ ├── freehub_profile1.jpg │ │ └── freehub_profile2.jpg │ └── calendar_date_select │ │ └── calendar.gif ├── javascripts │ ├── calendar_date_select │ │ ├── locale │ │ │ ├── fi.js │ │ │ └── pl.js │ │ ├── format_euro_24hr.js │ │ ├── format_italian.js │ │ ├── format_american.js │ │ ├── format_finnish.js │ │ ├── format_db.js │ │ └── format_hyphen_ampm.js │ └── application.js ├── robots.txt ├── stylesheets │ ├── reset-min.css │ ├── tags.css │ ├── people.css │ └── scaffold.css ├── 422.html ├── 404.html ├── 500.html └── maintenance.html ├── .ruby-gemset ├── .ruby-version ├── log └── .gitignore ├── vendor └── plugins │ ├── userstamp │ ├── TODO │ ├── doc │ │ ├── created.rid │ │ ├── index.html │ │ ├── classes │ │ │ ├── UserstampTest.src │ │ │ │ ├── M000001.html │ │ │ │ ├── M000002.html │ │ │ │ ├── M000011.html │ │ │ │ ├── M000006.html │ │ │ │ ├── M000007.html │ │ │ │ ├── M000003.html │ │ │ │ ├── M000005.html │ │ │ │ └── M000004.html │ │ │ └── ActiveRecord │ │ │ │ ├── Base.src │ │ │ │ ├── M000016.html │ │ │ │ └── M000015.html │ │ │ │ └── Userstamp.src │ │ │ │ ├── M000013.html │ │ │ │ └── M000012.html │ │ ├── fr_file_index.html │ │ └── fr_class_index.html │ ├── CHANGELOG │ ├── test │ │ ├── fixtures │ │ │ ├── customers.yml │ │ │ ├── posts.yml │ │ │ ├── users.yml │ │ │ ├── entries.yml │ │ │ └── mysql.sql │ │ ├── connection.rb │ │ └── abstract_unit.rb │ └── init.rb │ ├── restful_authentication │ ├── install.rb │ ├── generators │ │ └── authenticated │ │ │ ├── USAGE │ │ │ └── templates │ │ │ ├── helper.rb │ │ │ ├── model_helper.rb │ │ │ ├── activation.html.erb │ │ │ ├── signup_notification.html.erb │ │ │ ├── observer.rb │ │ │ ├── login.html.erb │ │ │ ├── authenticated_test_helper.rb │ │ │ ├── signup.html.erb │ │ │ ├── mailer_test.rb │ │ │ ├── mailer.rb │ │ │ ├── fixtures.yml │ │ │ ├── migration.rb │ │ │ └── controller.rb │ ├── Rakefile │ ├── lib │ │ └── restful_authentication │ │ │ └── rails_commands.rb │ └── README │ ├── blue-ridge │ ├── vendor │ │ ├── js.jar │ │ ├── README │ │ ├── smoke.stub.js │ │ ├── screw.mocking.js │ │ ├── jquery.fn.js │ │ ├── LICENSE-Smoke │ │ ├── LICENSE-Screw.Unit │ │ ├── screw.events.js │ │ └── smoke.core.js │ ├── generators │ │ ├── blue_ridge │ │ │ ├── templates │ │ │ │ ├── spec_helper.js │ │ │ │ ├── application_spec.js │ │ │ │ └── application.html │ │ │ └── blue_ridge_generator.rb │ │ └── javascript_spec │ │ │ ├── templates │ │ │ ├── javascript_spec.js.erb │ │ │ └── fixture.html.erb │ │ │ └── javascript_spec_generator.rb │ ├── spec │ │ ├── javascripts │ │ │ ├── spec_helper.js │ │ │ ├── smoke │ │ │ │ ├── stub_spec.js │ │ │ │ └── screw_integration_spec.js │ │ │ └── fixtures │ │ │ │ ├── smoke │ │ │ │ ├── core.html │ │ │ │ ├── mock.html │ │ │ │ ├── stub.html │ │ │ │ └── screw_integration.html │ │ │ │ ├── screw.unit │ │ │ │ ├── screw.print.html │ │ │ │ ├── screw.behaviors.html │ │ │ │ └── screw.matchers.html │ │ │ │ ├── blue_ridge_browser.html │ │ │ │ └── blue_ridge_command_line.html │ │ └── rubies │ │ │ └── spec_helper.rb │ ├── Rakefile │ ├── lib │ │ ├── shell.js │ │ ├── consoleReportForRake.js │ │ └── blue_ridge.rb │ ├── CONTRIBUTORS │ ├── LICENSE │ └── tasks │ │ └── javascript_testing_tasks.rake │ ├── paginating_find │ ├── test_app │ │ ├── app │ │ │ └── controllers │ │ │ │ └── application.rb │ │ ├── test │ │ │ ├── fixtures │ │ │ │ ├── authors.yml │ │ │ │ ├── edits.yml │ │ │ │ ├── articles.yml │ │ │ │ └── models.rb │ │ │ ├── unit │ │ │ │ ├── abstract_test.rb │ │ │ │ └── group_test.rb │ │ │ └── test_helper.rb │ │ ├── script │ │ │ ├── console │ │ │ └── breakpointer │ │ ├── config │ │ │ ├── database.yml │ │ │ ├── environments │ │ │ │ └── test.rb │ │ │ ├── routes.rb │ │ │ └── boot.rb │ │ ├── Rakefile │ │ └── db │ │ │ └── schema.rb │ ├── init.rb │ └── lib │ │ └── paging_helper.rb │ ├── auto_complete │ ├── init.rb │ ├── Rakefile │ ├── README │ └── lib │ │ └── auto_complete.rb │ └── haml │ └── init.rb ├── .dockerignore ├── app ├── helpers │ ├── reports_helper.rb │ ├── sessions_helper.rb │ ├── visits_helper.rb │ ├── services_helper.rb │ ├── organizations_helper.rb │ ├── users_helper.rb │ ├── people_helper.rb │ ├── notes_helper.rb │ ├── url_helper.rb │ └── application_helper.rb ├── controllers │ ├── layout_controller.rb │ ├── tags_controller.rb │ ├── taggings_controller.rb │ ├── sessions_controller.rb │ └── application_controller.rb ├── views │ ├── user_mailer │ │ ├── activation.html.erb │ │ ├── reset_password.html.erb │ │ ├── signup_notification.html.erb │ │ └── forgot_password.html.erb │ ├── users │ │ ├── edit.html.haml │ │ ├── new.html.haml │ │ ├── show.html.haml │ │ ├── forgot.html.haml │ │ ├── reset.html.haml │ │ ├── _form.html.haml │ │ └── index.html.haml │ ├── organizations │ │ ├── edit.html.haml │ │ ├── show.html.haml │ │ ├── _form.html.haml │ │ └── new.html.haml │ ├── services │ │ ├── new.html.haml │ │ ├── edit.html.haml │ │ ├── show.html.haml │ │ ├── _form.html.haml │ │ └── index.html.haml │ ├── visits │ │ ├── new.html.haml │ │ ├── show.html.haml │ │ ├── _form.html.haml │ │ ├── edit.html.haml │ │ ├── _person_search.html.haml │ │ ├── index.html.haml │ │ └── day.html.haml │ ├── notes │ │ ├── new.html.haml │ │ ├── show.html.haml │ │ ├── edit.html.haml │ │ └── index.html.haml │ ├── people │ │ ├── new.html.haml │ │ └── edit.html.haml │ ├── sessions │ │ └── new.html.haml │ ├── reports │ │ ├── index.html.haml │ │ └── visits.html.haml │ ├── taggings │ │ └── _index.html.haml │ └── tags │ │ └── show.html.haml └── models │ ├── user_observer.rb │ ├── service_type.rb │ ├── role.rb │ ├── user_mailer.rb │ └── note.rb ├── .gitignore ├── script ├── about ├── plugin ├── runner ├── server ├── console ├── destroy ├── generate ├── dbconsole ├── process │ ├── reaper │ ├── spawner │ └── inspector └── performance │ ├── profiler │ ├── request │ └── benchmarker ├── lib ├── tag.rb ├── tagging.rb ├── tasks │ ├── freehub.rake │ └── hoptoad_notifier_tasks.rake ├── authenticated_test_helper.rb ├── activerecord_extensions.rb ├── legacy_models.rb └── named_scope_extensions.rb ├── config ├── initializers │ ├── custom_titlecase.rb │ ├── hoptoad.rb │ ├── mime_types.rb │ ├── inflections.rb │ ├── backtrace_silencers.rb │ ├── utf8_params.rb │ ├── session_store.rb │ └── new_rails_defaults.rb ├── locales │ └── en.yml ├── database.yml ├── preinitializer.rb └── environments │ ├── development.rb │ ├── staging.rb │ ├── test.rb │ └── production.rb ├── doc └── README_FOR_APP ├── db ├── migrate │ ├── 010_add_person_year_of_birth.rb │ ├── 008_add_organization_location.rb │ ├── 20100626223127_visits_arrived_at.rb │ ├── 009_add_visit_staff_member.rb │ ├── 001_create_organizations.rb │ ├── 005_create_roles.rb │ ├── 002_create_users.rb │ ├── 007_create_notes.rb │ ├── 20100611221211_acts_as_taggable_on_migration.rb │ ├── 004_create_visits.rb │ ├── 006_create_services.rb │ └── 003_create_people.rb └── seeds.rb ├── test ├── fixtures │ ├── tags.yml │ ├── taggings.yml │ ├── roles.yml │ ├── organizations.yml │ ├── visits.yml │ ├── notes.yml │ └── services.yml ├── unit │ ├── note_test.rb │ ├── service_type_test.rb │ ├── role_test.rb │ ├── user_mailer_test.rb │ └── organization_test.rb ├── javascript │ └── spec_helper.js ├── functional │ ├── tags_controller_test.rb │ └── notes_controller_test.rb └── test_helper.rb ├── Rakefile ├── docker-compose.yaml ├── LICENSE ├── README.rdoc ├── Gemfile ├── flexbox.html ├── flexbox.css ├── Dockerfile └── Gemfile.lock /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.ruby-gemset: -------------------------------------------------------------------------------- 1 | freehub 2 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 1.9.3-p551 2 | -------------------------------------------------------------------------------- /log/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | -------------------------------------------------------------------------------- /vendor/plugins/userstamp/TODO: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .git* 2 | log/* 3 | tmp/* 4 | -------------------------------------------------------------------------------- /app/helpers/reports_helper.rb: -------------------------------------------------------------------------------- 1 | module ReportsHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/sessions_helper.rb: -------------------------------------------------------------------------------- 1 | module SessionsHelper 2 | end -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | tmp/ 2 | .idea 3 | *.iml 4 | .generators 5 | .rakeTasks -------------------------------------------------------------------------------- /app/helpers/visits_helper.rb: -------------------------------------------------------------------------------- 1 | module VisitsHelper 2 | 3 | end 4 | -------------------------------------------------------------------------------- /app/helpers/services_helper.rb: -------------------------------------------------------------------------------- 1 | module ServicesHelper 2 | 3 | end 4 | -------------------------------------------------------------------------------- /vendor/plugins/userstamp/doc/created.rid: -------------------------------------------------------------------------------- 1 | Sat Jan 21 17:08:50 MST 2006 2 | -------------------------------------------------------------------------------- /app/helpers/organizations_helper.rb: -------------------------------------------------------------------------------- 1 | module OrganizationsHelper 2 | 3 | end 4 | -------------------------------------------------------------------------------- /public/blank_iframe.html: -------------------------------------------------------------------------------- 1 | 2 |
-------------------------------------------------------------------------------- /public/demo/demo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/demo/demo.jpg -------------------------------------------------------------------------------- /vendor/plugins/userstamp/CHANGELOG: -------------------------------------------------------------------------------- 1 | 2 | 1.0 (01-18-2006) 3 | * Initial Release 4 | -------------------------------------------------------------------------------- /public/demo/freehub.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/demo/freehub.mp4 -------------------------------------------------------------------------------- /public/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/rails.png -------------------------------------------------------------------------------- /public/images/body_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/body_bg.png -------------------------------------------------------------------------------- /public/images/ey-logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/ey-logo.gif -------------------------------------------------------------------------------- /public/images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/spinner.gif -------------------------------------------------------------------------------- /public/images/footer_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/footer_bg.png -------------------------------------------------------------------------------- /public/images/tag_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/tag_yellow.png -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/install.rb: -------------------------------------------------------------------------------- 1 | puts IO.read(File.join(File.dirname(__FILE__), 'README')) -------------------------------------------------------------------------------- /vendor/plugins/userstamp/test/fixtures/customers.yml: -------------------------------------------------------------------------------- 1 | first_customer: 2 | id: 1 3 | name: Customer One -------------------------------------------------------------------------------- /public/images/design/Person.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/design/Person.png -------------------------------------------------------------------------------- /public/images/design/Visits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/design/Visits.png -------------------------------------------------------------------------------- /script/about: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/about' 4 | -------------------------------------------------------------------------------- /script/plugin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/plugin' 4 | -------------------------------------------------------------------------------- /script/runner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/runner' 4 | -------------------------------------------------------------------------------- /script/server: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/server' 4 | -------------------------------------------------------------------------------- /app/controllers/layout_controller.rb: -------------------------------------------------------------------------------- 1 | class LayoutController < ApplicationController 2 | 3 | def grid 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /public/images/design/home_started.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/design/home_started.png -------------------------------------------------------------------------------- /script/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/console' 4 | -------------------------------------------------------------------------------- /script/destroy: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/destroy' 4 | -------------------------------------------------------------------------------- /script/generate: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/generate' 4 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/USAGE: -------------------------------------------------------------------------------- 1 | ./script/generate authenticated USERMODEL CONTROLLERNAME -------------------------------------------------------------------------------- /public/images/design/freehub_profile1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/design/freehub_profile1.jpg -------------------------------------------------------------------------------- /public/images/design/freehub_profile2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/design/freehub_profile2.jpg -------------------------------------------------------------------------------- /vendor/plugins/blue-ridge/vendor/js.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/vendor/plugins/blue-ridge/vendor/js.jar -------------------------------------------------------------------------------- /vendor/plugins/paginating_find/test_app/app/controllers/application.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | end -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/templates/helper.rb: -------------------------------------------------------------------------------- 1 | module <%= controller_class_name %>Helper 2 | end -------------------------------------------------------------------------------- /lib/tag.rb: -------------------------------------------------------------------------------- 1 | # Only here to get rake db:fixtures:load to work. Do not use for any other purpose. 2 | class Tag < ActsAsTaggableOn::Tag; end -------------------------------------------------------------------------------- /script/dbconsole: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.expand_path('../../config/boot', __FILE__) 3 | require 'commands/dbconsole' 4 | -------------------------------------------------------------------------------- /app/views/user_mailer/activation.html.erb: -------------------------------------------------------------------------------- 1 | <%= @user.login %>, welcome to Freehub! 2 | 3 | Your account has been activated. 4 | 5 | <%= @url %> -------------------------------------------------------------------------------- /script/process/reaper: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/reaper' 4 | -------------------------------------------------------------------------------- /script/process/spawner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/spawner' 4 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/templates/model_helper.rb: -------------------------------------------------------------------------------- 1 | module <%= model_controller_class_name %>Helper 2 | end -------------------------------------------------------------------------------- /config/initializers/custom_titlecase.rb: -------------------------------------------------------------------------------- 1 | class String 2 | def custom_titlecase 3 | self.gsub(/\b\w/) { |w| w.upcase } 4 | end 5 | end -------------------------------------------------------------------------------- /lib/tagging.rb: -------------------------------------------------------------------------------- 1 | # Only here to get rake db:fixtures:load to work. Do not use for any other purpose. 2 | class Tagging < ActsAsTaggableOn::Tagging; end -------------------------------------------------------------------------------- /public/images/calendar_date_select/calendar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/images/calendar_date_select/calendar.gif -------------------------------------------------------------------------------- /script/process/inspector: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/inspector' 4 | -------------------------------------------------------------------------------- /vendor/plugins/auto_complete/init.rb: -------------------------------------------------------------------------------- 1 | ActionController::Base.send :include, AutoComplete 2 | ActionController::Base.helper AutoCompleteMacrosHelper -------------------------------------------------------------------------------- /vendor/plugins/paginating_find/init.rb: -------------------------------------------------------------------------------- 1 | ActiveRecord::Base.send(:include, PaginatingFind) 2 | ActionView::Base.send(:include, PaginatingFind::Helpers) -------------------------------------------------------------------------------- /script/performance/profiler: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/profiler' 4 | -------------------------------------------------------------------------------- /script/performance/request: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/request' 4 | -------------------------------------------------------------------------------- /vendor/plugins/userstamp/test/fixtures/posts.yml: -------------------------------------------------------------------------------- 1 | first_post: 2 | id: 1 3 | name: Post One 4 | 5 | second_post: 6 | id: 2 7 | name: Post Two -------------------------------------------------------------------------------- /public/javascripts/calendar_date_select/locale/fi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asalant/freehub/HEAD/public/javascripts/calendar_date_select/locale/fi.js -------------------------------------------------------------------------------- /vendor/plugins/blue-ridge/generators/blue_ridge/templates/spec_helper.js: -------------------------------------------------------------------------------- 1 | // Use this file to require common dependencies or to setup useful test functions. -------------------------------------------------------------------------------- /vendor/plugins/paginating_find/test_app/test/fixtures/authors.yml: -------------------------------------------------------------------------------- 1 | alex: 2 | id: 1 3 | name: Alex Wolfe 4 | 5 | sam: 6 | id: 2 7 | name: Sam I Am -------------------------------------------------------------------------------- /vendor/plugins/userstamp/test/fixtures/users.yml: -------------------------------------------------------------------------------- 1 | first_user: 2 | id: 1 3 | name: Tester One 4 | 5 | second_user: 6 | id: 2 7 | name: Tester Two -------------------------------------------------------------------------------- /app/views/user_mailer/reset_password.html.erb: -------------------------------------------------------------------------------- 1 | Password reset successfully for: 2 | 3 | Login: <%= @user.login %> 4 | Email: <%= @user.email %> 5 | 6 | 7 | -------------------------------------------------------------------------------- /script/performance/benchmarker: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/benchmarker' 4 | -------------------------------------------------------------------------------- /vendor/plugins/paginating_find/test_app/script/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/console' -------------------------------------------------------------------------------- /vendor/plugins/paginating_find/test_app/script/breakpointer: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/breakpointer' -------------------------------------------------------------------------------- /config/initializers/hoptoad.rb: -------------------------------------------------------------------------------- 1 | require 'hoptoad_notifier/rails' 2 | HoptoadNotifier.configure do |config| 3 | config.api_key = '19dac31e381a2814509b2c4955a9f0b3' 4 | end 5 | -------------------------------------------------------------------------------- /vendor/plugins/paginating_find/test_app/config/database.yml: -------------------------------------------------------------------------------- 1 | test: 2 | adapter: mysql 3 | database: paginating_find_test 4 | username: root 5 | password: 6 | host: localhost 7 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/templates/activation.html.erb: -------------------------------------------------------------------------------- 1 | <%%= @<%= file_name %>.login %>, your account has been activated. You may now start adding your plugins: 2 | 3 | <%%= @url %> -------------------------------------------------------------------------------- /app/views/user_mailer/signup_notification.html.erb: -------------------------------------------------------------------------------- 1 | Your account has been created. 2 | 3 | Username: <%= @user.login %> 4 | Password: <%= @user.password %> 5 | 6 | Visit this url to activate your account: 7 | 8 | <%= @url %> -------------------------------------------------------------------------------- /doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /app/views/users/edit.html.haml: -------------------------------------------------------------------------------- 1 | %div.flex-column 2 | 3 | %h1 Editing user 4 | =error_messages_for :user 5 | -form_for @user do |f| 6 | %ul 7 | = render :partial => 'users/form', :object => f 8 | %li= f.submit 'Update' 9 | -------------------------------------------------------------------------------- /app/views/users/new.html.haml: -------------------------------------------------------------------------------- 1 | %div.flex-column 2 | 3 | %h1 New user 4 | =error_messages_for :user 5 | -form_for @user do |f| 6 | %ul 7 | = render :partial => 'users/form', :object => f 8 | %li= f.submit 'Sign Up' 9 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- 1 | # Sample localization file for English. Add more files in this directory for other locales. 2 | # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. 3 | 4 | en: 5 | hello: "Hello world" -------------------------------------------------------------------------------- /lib/tasks/freehub.rake: -------------------------------------------------------------------------------- 1 | namespace :models do 2 | desc "Updates model and fixture annotations with database fields" 3 | task :annotate do 4 | system 'annotate --delete' 5 | system 'annotate --position before --exclude tests' 6 | end 7 | end -------------------------------------------------------------------------------- /vendor/plugins/blue-ridge/vendor/README: -------------------------------------------------------------------------------- 1 | env.rhino.js: 2 | * Version: 1.2.0.6 3 | * Modifications: removed the Env.js header log message 4 | 5 | js.jar: 6 | * Version: (not sure) 7 | * Origin: pulled from the "rhino" directory from env.js (v1.2.0.2) 8 | -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /vendor/plugins/userstamp/test/fixtures/entries.yml: -------------------------------------------------------------------------------- 1 | first_entry: 2 | id: 1 3 | name: Entry One 4 | created_by: 1 5 | updated_by: 1 6 | 7 | second_entry: 8 | id: 2 9 | name: Entry Two 10 | created_by: 2 11 | updated_by: 2 -------------------------------------------------------------------------------- /db/migrate/010_add_person_year_of_birth.rb: -------------------------------------------------------------------------------- 1 | class AddPersonYearOfBirth < ActiveRecord::Migration 2 | def self.up 3 | add_column :people, :yob, :integer 4 | end 5 | 6 | def self.down 7 | remove_column :people, :yob 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /test/fixtures/tags.yml: -------------------------------------------------------------------------------- 1 | key_holder: 2 | name: key holder 3 | 4 | board_member: 5 | name: board member 6 | 7 | youth: 8 | name: youth 9 | 10 | mom: 11 | name: mom 12 | 13 | mechanic: 14 | name: mechanic 15 | 16 | church: 17 | name: church -------------------------------------------------------------------------------- /vendor/plugins/userstamp/init.rb: -------------------------------------------------------------------------------- 1 | # plugin init file for rails 2 | # this file will be picked up by rails automatically and 3 | # add the userstamp extensions to rails 4 | 5 | require 'userstamp' 6 | 7 | ActiveRecord::Base.send(:include, ActiveRecord::Userstamp) -------------------------------------------------------------------------------- /vendor/plugins/paginating_find/test_app/test/fixtures/edits.yml: -------------------------------------------------------------------------------- 1 | new_idea: 2 | id: 1 3 | text: I have a new idea 4 | author_id: 1 5 | article_id: 1 6 | 7 | remove_para: 8 | id: 2 9 | text: Remove paragraph 2 10 | author_id: 2 11 | article_id: 1 -------------------------------------------------------------------------------- /db/migrate/008_add_organization_location.rb: -------------------------------------------------------------------------------- 1 | class AddOrganizationLocation < ActiveRecord::Migration 2 | def self.up 3 | add_column :organizations, :location, :string 4 | end 5 | 6 | def self.down 7 | remove_column :organizations, :location 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /db/migrate/20100626223127_visits_arrived_at.rb: -------------------------------------------------------------------------------- 1 | class VisitsArrivedAt < ActiveRecord::Migration 2 | def self.up 3 | rename_column :visits, :datetime, :arrived_at 4 | end 5 | 6 | def self.down 7 | rename_column :visits, :arrived_at, :datetime 8 | end 9 | end 10 | 11 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/templates/signup_notification.html.erb: -------------------------------------------------------------------------------- 1 | Your account has been created. 2 | 3 | Username: <%%= @<%= file_name %>.login %> 4 | Password: <%%= @<%= file_name %>.password %> 5 | 6 | Visit this url to activate your account: 7 | 8 | <%%= @url %> -------------------------------------------------------------------------------- /app/views/user_mailer/forgot_password.html.erb: -------------------------------------------------------------------------------- 1 | Request to reset password received for: 2 | 3 | Login: <%= @user.login %> 4 | Email: <%= @user.email %> 5 | 6 | Visit this url to choose a new password: 7 | 8 | <%= @url %> 9 | 10 | (Your password will remain the same if no action is taken.) 11 | 12 | -------------------------------------------------------------------------------- /app/views/organizations/edit.html.haml: -------------------------------------------------------------------------------- 1 | %div.flex-column 2 | %h1 #{link_to @organization.name, @organization} : Edit 3 | 4 | =error_messages_for :organization 5 | -form_for @organization do |f| 6 | %ul 7 | = render :partial => 'form', :object => f 8 | %li 9 | =f.submit 'Update' 10 | -------------------------------------------------------------------------------- /app/controllers/tags_controller.rb: -------------------------------------------------------------------------------- 1 | class TagsController < ApplicationController 2 | 3 | permit "admin or (manager of :organization)" 4 | 5 | def show 6 | @tag = ActsAsTaggableOn::Tag.find(params[:id]) 7 | @people = Person.for_organization(@organization).tagged_with(@tag.name).paginate(params) 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /db/migrate/009_add_visit_staff_member.rb: -------------------------------------------------------------------------------- 1 | class AddVisitStaffMember < ActiveRecord::Migration 2 | def self.up 3 | add_column :visits, :staff, :boolean 4 | add_column :visits, :member, :boolean 5 | end 6 | 7 | def self.down 8 | remove_column :visits, :staff 9 | remove_column :visits, :member 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /public/javascripts/calendar_date_select/locale/pl.js: -------------------------------------------------------------------------------- 1 | Date.weekdays = $w('P W Ś C P S N'); 2 | Date.months = $w('Styczeń Luty Marzec Kwiecień Maj Czerwiec Lipiec Sierpień Wrzesień Październik Listopad Grudzień'); 3 | 4 | Date.first_day_of_week = 1 5 | 6 | _translations = { 7 | "OK": "OK", 8 | "Now": "Teraz", 9 | "Today": "Dziś" 10 | } -------------------------------------------------------------------------------- /test/unit/note_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class NoteTest < ActiveSupport::TestCase 4 | def test_for_person 5 | assert_equal 4, Note.for_person(people(:mary)).size 6 | assert_equal 4, Note.count_for_person(people(:mary)) 7 | assert_equal 2, Note.for_person(people(:mary), :limit => 2).size 8 | end 9 | end 10 | 11 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require(File.join(File.dirname(__FILE__), 'config', 'boot')) 5 | 6 | require 'rake' 7 | require 'rake/testtask' 8 | require 'rdoc/task' 9 | 10 | require 'tasks/rails' 11 | -------------------------------------------------------------------------------- /vendor/plugins/paginating_find/test_app/test/unit/abstract_test.rb: -------------------------------------------------------------------------------- 1 | 2 | $:.unshift(File.dirname(__FILE__) + '/../../../lib') 3 | require 'paginating_find' 4 | require 'test_helper' 5 | require File.join(File.dirname(__FILE__), '/../fixtures/models') 6 | load(File.dirname(__FILE__) + "/../../db/schema.rb") 7 | load(File.dirname(__FILE__) + "/../../../init.rb") 8 | -------------------------------------------------------------------------------- /vendor/plugins/blue-ridge/spec/javascripts/spec_helper.js: -------------------------------------------------------------------------------- 1 | function fixture(element) { 2 | $('').append(element).appendTo("body"); 3 | } 4 | 5 | function teardownFixtures() { 6 | $("#fixtures").remove(); 7 | } 8 | 9 | function createDescribeDiv(name){ 10 | return $('').append('