Commit graph

516 commits

Author SHA1 Message Date
Reinier Balt
97fae98791 remove has_many_polymorphs from vendor and reference it in environment.rb 2011-02-08 10:26:54 +01:00
Reinier Balt
594162d242 fix #1095: remove old rack and will_paginate and add gem references. Please run rake gems:install 2011-02-08 09:40:54 +01:00
Reinier Balt
ea4f7de813 get cucumber running again 2011-02-04 20:21:08 +01:00
Reinier Balt
76853cff2c fix for mongrel not getting the cookies right and change templates in the i18n locales 2011-02-04 20:11:42 +01:00
Reinier Balt
c94cf5f7ff add workaround for mongrel-rack-cookie bug 2011-02-04 17:09:51 +01:00
Reinier Balt
6443adac78 fix stories_test to run again. Using ActiveRecordStore for session aparently did not work here 2011-02-04 16:23:47 +01:00
Reinier Balt
012a5929e1 rename load_path to autoload_path to remove deprecation warning 2011-02-04 16:23:46 +01:00
Reinier Balt
513734dce0 ran rake rails:update which altered boot.rb 2011-02-04 16:23:45 +01:00
Reinier Balt
632c0e7255 fix all tests 2011-02-03 19:30:48 +01:00
Reinier Balt
97e8602ef9 rebase to master to include i18n changes and fix merge conflicts 2011-02-03 18:19:26 +01:00
Reinier Balt
ab2e51a51a get selenium scenarios running again and add some scenarios for adding todos started 2011-02-03 18:19:19 +01:00
Reinier Balt
a832417c59 migrate toggle_check and destroy and defer and get the functional tests running again 2011-02-03 18:19:17 +01:00
Reinier Balt
f923a40a40 get tag view working for updating todos. Refactored update a lot 2011-02-03 18:18:41 +01:00
Reinier Balt
f90d0d8eb9 fix rspec version because spec-rails now depends on rails3 2011-02-03 18:18:35 +01:00
Reinier Balt
cafa774b4c refactor application.rb further and migrate recurring todos
next: get tests for recurring todos
2011-02-03 18:17:29 +01:00
Reinier Balt
2fa431ef54 finish migration of the feeds page 2011-02-03 18:17:27 +01:00
Reinier Balt
879fbc99e2 major restructuring/refactoring of application.js. finally scratched that itch. Some tests are failing to be fixed later. 2011-02-03 18:17:24 +01:00
Reinier Balt
145c9105dd migrate deleting a note from notes page to jqeury 2011-02-03 18:17:18 +01:00
Reinier Balt
0f525436ff support rake cucumber:selenium_wip to run wip for selenium. rake cucumber:wip will only ron non-selnium wip stories. Furthermore some selenium script migration to cucumber 2011-02-03 18:17:10 +01:00
Reinier Balt
15fdb1e572 migrate creating a new context and refactor some project js to share with context js 2011-02-03 18:17:05 +01:00
Marcus Ilgner
330d6e008c Corrected reference to factory_girl gem 2011-01-30 05:43:50 +08:00
Marcus Ilgner
eb22178b67 Merge branch 'master' of git://github.com/bsag/tracks
Conflicts:
	config/locales/de.yml
	config/locales/en.yml
2011-01-17 16:36:46 +01:00
Ulf Klose
d695635342 small correction in English language file 2011-01-17 03:30:32 +08:00
Ulf Klose
21e6619761 added German language file de.yml 2011-01-17 03:30:32 +08:00
Marcus Ilgner
a7998ba40a Fixes for failed tests 2011-01-16 18:26:00 +01:00
Marcus Ilgner
338d4bb5a6 Added locale selection to preferences
Mostly completed transition to full i18n
Incorporated german translations by Ulf Klose <ulf.klose@gmail.com>
2011-01-16 18:14:07 +01:00
Reinier Balt
5dde6403ea add comment in database template on how to configure rails to use your utf8 database.
If you experience ? where you expect é, uncomment this setting in your database.yml
2011-01-11 05:53:15 +01:00
Reinier Balt
d57bd479f9 fix failing test for some error messages 2010-11-09 15:51:21 +01:00
Reinier Balt
6b36d6eb8f fix failing tests 2010-11-09 10:47:09 +01:00
Marcus Ilgner
fd3f69d927 Changed code to support basic i18n.
Added RubyMine configuration and rvm setup to .gitignore.
2010-11-09 16:31:26 +08:00
Reinier Balt
04faa5d408 correct deleting a line which should be there 2010-11-08 17:29:57 +01:00
Reinier Balt
83a7e38155 add dependency for selenium-client and mongrel for selenium tests
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2010-11-08 17:26:30 +01:00
Reinier Balt
110d3daf95 Fix #969 by implementing a new mobile view for notes.
Did not create tests for it
2010-08-03 22:27:54 +02:00
Reinier Balt
29e007f9c6 update routing and test for authorized access to all tracks pages 2010-07-30 21:06:12 +02:00
Reinier Balt
e2841e31eb finish upgrade of selenium
these were manual cherry-picks of the rails upgrade work.
2010-07-27 23:32:22 +02:00
Reinier Balt
551eab19a5 regenerate cucumber setup 2010-07-27 23:05:23 +02:00
Reinier Balt
111f6059f4 update environment.rb to avoid deprecation warning about session_key 2010-07-27 23:02:40 +02:00
Reinier Balt
fabc15e061 fix #987 where feeds_path returned the mobile url and not the non-mobile one. 2010-05-01 17:32:55 +02:00
Eric Allen
68701adaca Sanitize output well, but entity-ize < and > in notes
Coming from a rich message or API call, notes can contain HTML and it
will render to the browser. Coming from a normal todo creation, though,
all < and > characters will be replaced with the corresponding entities.
This preserves HTML emails, but prevents users from breaking the layout
by entering broken HTML for todo notes.

Closes #765
2010-04-07 10:06:46 -04:00
Eric Allen
9ab69adb38 Dynamically load autocompletes
This cuts something like 100ms off of page load times!

Closes #1011
2010-04-02 13:24:21 -04:00
Reinier Balt
c433661048 the project description could now contain markup, like notes
also configure database_cleaner for selenium features
2010-02-12 12:35:19 +01:00
Reinier Balt
8f349d3b6b set configurations for using cucumber and selenium
if you want to run it, update your database.yml to include cucumber and selenium environments (like in the .tmpl) and run

RAILS_ENV=selenium cucumber -p selenium
2010-02-02 22:52:32 +01:00
Eric Allen
761810cf7f Merge branch 'cas' 2010-01-14 09:46:20 -08:00
Reinier Balt
1fab30ff22 create cucumber profile for stories requiring selenium and stories not requiring selenium (=default) 2010-01-13 21:41:21 +01:00
Reinier Balt
4620349db1 update cucumber 2010-01-13 20:39:28 +01:00
Eric Allen
b87f4cc12e Revert i18n changes
We haven't merged that branch yet to trunk
2010-01-12 17:49:39 -08:00
Eric Allen
f33b747422 Use correct idiom for undefind module 2010-01-12 17:30:51 -08:00
Erik Ordway
901af95c69 clean up debug code and get new user correct 2010-01-12 17:18:01 -08:00
Erik Ordway
5b431ef50a This allows CAS to work side by side with other Auth methods.
This is at least one issue with this

to logout of CAS you need session information but the logout method blows this away so I do the cas log out before the session is killed so the session persistest in rails.  Because I needed to move the CAS before filters into login_cas and out of the application to make it work side by side.   The user will still be logined into tracks even though their CAS session is closed as the session will still be there.

 def logout
    @user.forget_me if logged_in?
    cookies.delete :auth_token
    session['user_id'] = nil
    if ( SITE_CONFIG['authentication_schemes'].include? 'cas')  && session[:cas_user]
      CASClient::Frameworks::Rails::Filter.logout(self)
    else
      reset_session
      notify :notice, "You have been logged out of Tracks."
      redirect_to_login
    end
  end

The other issue I have with this is that:
I could not find a use case for having mixed auth when using CAS. The reason to move to CAS is that all your users use CAS all the time. Even for admin accounts. Moodle is a good example of this in that when you activate CAS the default is that you can now only access moodle via CAS. By allowing mixed auth and self signup you end up with a anyone (the public) being able to sign up for accounts.
2010-01-12 17:17:56 -08:00
Patrice Neff
5299490c83 Linkify message:// URLs in notes. Those links are used by Mail.app on
Mac OS X to link to a mail message by message id.
2010-01-10 08:34:10 +08:00