Commit graph

76 commits

Author SHA1 Message Date
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
Eric Allen
e844b5aa5b ActionWebService requires soap4r 2010-01-01 22:39:05 -05:00
Eric Allen
50e80d2673 Update RSpec situation. Should fix #960 2010-01-01 22:39:00 -05: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
31b173ae5b Use rubycas-client gem and require if cas is enabled 2009-12-18 09:40:11 -05:00
Erik Ordway
18219d17f1 set CAS values in environment.rb
set fake values in site.yml.tmpl
2009-12-18 09:40:11 -05:00
Erik Ordway
f3966cfb2b make cas work 2009-12-18 09:40:11 -05:00
Eric Allen
d1fc119e2d We no longer need this fix
In fact, it breaks things now

All tests passing.
2009-12-08 12:56:00 -05:00
Eric Allen
6181d42072 A few tweaks to get tests running 2009-12-07 18:29:57 -05:00
Eric Allen
804d59c542 Install ActionWebService ported to Rails 2.3 2009-12-07 18:07:09 -05:00
Eric Allen
3c94609583 Ran rake rails:update 2009-12-07 12:43:42 -05:00
Michaël Witrant
c679593d1e fixed url parsing when they contain a slash in query string 2009-11-24 19:06:13 +08:00
Eric Allen
47873fb323 Get rid of UJS plugin (finally)! 2009-09-07 16:12:53 -04:00
Eric Allen
35c9f55553 Forgot one bit of prototype stuff to clean up 2009-09-05 15:23:51 -04:00
Reinier Balt
bf6b873d7c allows onenote urls as links in notes field. Fixes #901. One can add other protocols that are filtered too 2009-08-04 13:09:08 +02:00
Reinier Balt
9b2757d8b0 The gadget does not need authorization. 2009-08-04 10:27:20 +02:00
Reinier Balt
7a7862221d get tests running again with zentest >= 4.0.0 2009-06-02 21:22:50 +02:00
Reinier Balt
2073f84cd8 update cucumber and refactor some of the stories
inspired by the railscasts about cucumber. Also fix a problem with ZenTest on case sensitive platforms
2009-05-22 23:14:40 +02:00
Reinier Balt
0a23405d4b fix #897. The dependency on rspec added to environment.rb. Rake always loads the rspec task from /lib/tasks, so the gem is required for all environments.
this is ugly :-(
2009-05-13 22:10:15 +02:00
Reinier Balt
b990f8a015 make project settings editable from the project page
We're using the edit form instead of several separate fields to edit settings
2009-04-18 23:50:12 +02: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
058079a0a7 remove rspec rspec-rails and webrat frozen gem and add them using config.gem 2009-04-13 22:23:32 +02:00
Reinier Balt
015dc84f3b add config.gem lines for test so rake gems works for setting up test environment 2009-04-10 16:39:59 +02:00
Reinier Balt
c6b6bd97b9 set logger for openid to default logger. The openid gem defaults logging to STDERR which could lead to write errors on some restricted hosting providers
see discussion at http://www.getontracks.org/forums/viewthread/367/
2009-04-08 09:23:28 +02:00
Reinier Balt
f4f2573f98 manually applied patch from Chris Erway to enable open signups for people hosting Tracks 2009-03-31 22:32:29 +02:00
Taybin Rutkin
b1256ab6e9 add site.yml support to deploy.rb-example
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-04-01 03:57:39 +08:00
Eric Allen
dbeb793214 Support dispatching emailed-in todos based on To: field as well as From: field. Setting configured in site.yml. 2009-03-29 19:44:43 -04: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
Reinier Balt
68522d11fb set version number for development tree 2009-03-01 17:10:46 +01:00
Reinier Balt
157c13d4c4 bump version numbers to 1.7 2009-02-26 20:45:21 +01:00
Reinier Balt
a1547531eb bump version to 1.7rc2 2009-02-05 19:40:48 +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
Eric Allen
b97fc2d958 Fixed failing integration tests by using MemoryStore instead of CookieStore for tests. See http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/5519ca7fd4dde3c1. Wohooo passing tests! 2009-01-26 12:36:12 -05:00
bsag
3d6789ceb9 Merge branch 'master' into 1.7_branch
* master:
  Corrected the information about setting up the doc/manual submodule.
  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.
  Update footer links for new website location
  Change mobile login form to post to proper URL for OpenID login. Resolves #810.
  Fix failing specs
  Don't re-generate remember token if we already have one. This should allow you to stay logged in on two devices at the same time. Closes #812.
2009-01-05 18:52:09 +00: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
bsag
e54f296dfe Merge branch 'master' into 1.7_branch
* master:
  Changed Tracks version in environment.rb.tmpl to 1.7. Fixes #808.
2008-12-26 15:32:05 +00:00
bsag
94cd8dc077 Changed Tracks version in environment.rb.tmpl to 1.7. Fixes #808. 2008-12-26 14:15:37 +00:00
Reinier Balt
1ac810d149 sorry, misspelled extensions 2008-12-23 11:48:57 +01:00
Reinier Balt
d5b35a0fed sorry, misspelled extensions 2008-12-23 11:46:14 +01:00
Reinier Balt
3f3ee31bb0 update environment.rb.tmpl with last update of has_many_polymorphs for tagging 2008-12-22 23:30:18 +01:00
Reinier Balt
44e371b118 add has_many_polymorphs to config.gem in environment.rb.tmpl 2008-12-22 16:53:24 +01:00