Commit graph

82 commits

Author SHA1 Message Date
Reinier Balt
f2d581d5a4 revert refactoring that created a big performance regression 2011-07-09 17:21:35 +02:00
Reinier Balt
a58e832945 get the done view on a context and a project 2011-07-09 17:21:34 +02:00
Reinier Balt
8546ae5dfa fix test failures after the changes and refactorings 2011-07-09 17:19:12 +02:00
Reinier Balt
559a02d6f1 start on done overview page 2011-07-09 17:19:12 +02:00
Reinier Balt
3116d46820 fix #1132 by moving z-index of topbar to 500+ and the z-index of the todos to 500- 2011-03-26 20:05:56 +01:00
Reinier Balt
898dbe01c6 fix #1125 where rest/xml request were being rejected by the new csrf code of rails 2011-03-26 17:34:54 +01:00
Reinier Balt
00f3a25807 fix #1128 for 2.0 2011-03-12 00:58:32 +01:00
Reinier Balt
36f007a087 clean ups 2011-02-26 14:20:51 +01:00
Reinier Balt
e9d92438d6 fix #1109 and do some small optimizations on home page 2011-02-25 23:54:53 +01:00
Reinier Balt
1f67d2a603 get dependency add/remove from new_action_form running 2011-02-25 14:51:05 +01:00
Reinier Balt
a02f1d2584 migrate dependencies
without functional changes
2011-02-03 18:19:29 +01:00
Reinier Balt
1a821a228f let autocomplete fail gracefully when param is not set 2011-02-03 18:19:21 +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
e13e946295 migrate adding to actions on all pages 2011-02-03 18:18:38 +01:00
Reinier Balt
c834403340 replace old prototype/jrails code for periodic checks and start work on autocomplete and edit projects
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-02-03 18:16:51 +01: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
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
Eric Allen
c79d1c964a Autocomplete lists should be based on "q" parameter
If you don't filter server-side, the user sees the full list until
another character is entered.
2010-04-02 13:36:59 -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
Eric Allen
502e60c9a1 Oops..Forgot to revert this little bit of i18n
Fixes #991
2010-01-26 15:50:21 -05:00
Eric Allen
b87f4cc12e Revert i18n changes
We haven't merged that branch yet to trunk
2010-01-12 17:49:39 -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
Eric Allen
e17c1e1644 Make it possible to run rake gems:install for cas
The hard requires were causing rake to fail before it could even install
the rubycas-client gem. This kind of sucked.
2009-12-18 09:42:06 -05:00
Erik Ordway
094d93cec2 allow calendar access outside of CAS 2009-12-18 09:42:05 -05:00
Erik Ordway
f259924a85 when CAS is switched app functions as normal but does not use any other auth methods. 2009-12-18 09:42:05 -05:00
Erik Ordway
1621a7bb7d properly insert CAS as another auth method 2009-12-18 09:40:12 -05:00
Erik Ordway
f3966cfb2b make cas work 2009-12-18 09:40:11 -05:00
Eric Allen
c459461aa3 Get rid of a deprecation warning 2009-12-07 18:36:10 -05:00
Eric Allen
3c94609583 Ran rake rails:update 2009-12-07 12:43:42 -05:00
Renamed from app/controllers/application.rb (Browse further)