Commit graph

59 commits

Author SHA1 Message Date
Reinier Balt
885ee7d1d1 refactorings for recurring todo model 2012-07-13 00:31:11 +02:00
Reinier Balt
82bb67f518 small refactorings 2012-07-12 13:14:21 +02:00
Michael Witrant
017e1761ca added script to rewrite locales utf8 2012-07-07 11:35:10 +02:00
Reinier Balt
005723cb4f get login, mobile and notes features passing 2012-05-12 13:37:36 +02:00
Reinier Balt
c9d64e6f4b get the first cucumber feature running: calendar 2012-04-30 13:56:42 +02:00
Reinier Balt
96db48dd86 get project integrations and login controller tests running 2012-04-30 13:56:40 +02:00
Reinier Balt
59a4d5ede0 make functional tests for context controller run 2012-04-30 13:56:39 +02:00
Reinier Balt
76340b780c Getting functional tests running. 2012-04-30 13:56:38 +02:00
Reinier Balt
86afd42148 Work in progress: has_many_polymorphs does not work with rails 3.2 because of intrusive changes in rails internals. I think we need to rip out this dependency... 2012-04-30 13:56:34 +02:00
Reinier Balt
a83c8b3f92 initial upgrade to rails 3.2.3 2012-04-30 13:56:33 +02:00
Reinier Balt
1d1031dd55 fix #1280. Thanks Christian and Darian 2012-04-16 13:25:28 +02:00
Reinier Balt
12d8915eda Get all non-cucumber tests passing 2012-04-12 12:47:25 +02:00
Reinier Balt
bb8b5a4c72 store rendered notes of todos in database to avoid costly rendering when you load a page 2012-04-12 11:34:08 +02:00
Reinier Balt
b2e6253b4c restore all associations for tags. All tests are passing 2012-04-11 11:37:22 +02:00
Reinier Balt
b2e34d4694 remove has_many_polymorphs 2012-04-11 11:37:22 +02:00
Reinier Balt
dcb155d90d fix #1271. Don't block an already blocked todo. Create tests for this case 2012-04-08 15:19:42 +02:00
Reinier Balt
d8b5c7d0d2 cleanup old selenium initializer stuff and migrate edit_a_todo 2012-03-19 14:06:33 +01:00
Reinier Balt
4a8fdbabc2 migrate context and context_list features. Drag and drop is still WIP 2012-03-19 14:06:32 +01:00
Reinier Balt
906ff11633 fix failing test and make sure that you can supply 'starred' tag. Refactor todo model 2011-11-16 16:37:04 +01:00
Demian Gemperli
fafbdae079 Logut user after password change, Closes #1047 2011-10-24 21:47:15 +02:00
Stefan Richter
78e3109c91 fixing bug #1187 - dependency is no longer needed 2011-10-06 00:04:59 +02:00
Reinier Balt
d9db33bc0d fix #990 by moving rsel scripts to cucumber and removing selenium-on-rails plugin
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-14 11:29:50 +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
35fe362b93 fix #857 and further refactoring for better done view 2011-07-09 17:21:34 +02:00
Eric Allen
3ac4c5c7d5 Fix creepy RSpec-induced bug 2011-02-28 23:56:18 -08:00
Reinier Balt
52a50b7463 bring back our changes to tagging_extensions to handle empty tags and handle numbers as tags 2011-02-08 22:24:06 +01:00
Reinier Balt
4b4e828aaa regenerate tagging_extentions from has_many_polymorphs plugin 2011-02-08 22:04:05 +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
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
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
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
db5fca6b49 change header for basic authentication using the patch by zcrar70. Fixes #1021 2010-04-19 17:11:31 +02:00
Reinier Balt
6f218901da add rake task to run selenium cucumber features with rake cucumber:selenium
rake cucumber runs all non-selenium stories
rake cucumber:selenium runs all selenium stories
2010-03-08 20:36:55 +01:00
Reinier Balt
ff15b486b1 fix formatting of cucumber task 2010-03-04 17:01:19 +01:00
Eric Allen
761810cf7f Merge branch 'cas' 2010-01-14 09:46:20 -08: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
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
50e80d2673 Update RSpec situation. Should fix #960 2010-01-01 22:39:00 -05:00
Erik Ordway
f3966cfb2b make cas work 2009-12-18 09:40:11 -05:00
Eric Allen
35c9f55553 Forgot one bit of prototype stuff to clean up 2009-09-05 15:23:51 -04:00
Reinier Balt
43440eaf33 add cucumber for integration testing and add a feature for statistics
refactor some stuff to support testing statistisc
2009-04-13 22:26:20 +02:00
Reinier Balt
eb9fc5391c remove old redcloth lib. We now depend on the RedCloth gem which is a lot faster
makes the homepage load a bit faster (10%). Could not freeze the gem because it is platform dependent
2009-03-27 17:41:39 +01:00
Eric Allen
2ee84b8162 Move site-specific configuration out of environment.rb into a YAML file. This allows us to ship environment.rb with Tracks. Fixes #813. 2009-02-01 14:47:05 -05:00
Luke Melia
a1a8260f10 Added an example of capistrano deployment recipes for deploying to a remote web host running Phusion Passenger (aka mod_rails), which is probably the easiest Rails deployment environment to configure. 2009-01-04 17:14:03 -05:00
Reinier Balt
0e68ded56a fix tags and fix tests 2008-12-22 23:26:38 +01:00
Reinier Balt
c618d35d3a first pass at restoring tag functionality 2008-12-22 20:55:32 +01:00