Commit graph

1471 commits

Author SHA1 Message Date
Eric Allen
61eb6aeb6a Vendoring soap4r 2010-02-12 14:56:13 -05: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
25204f5efa migrate deleting from selenium to cucumber
please note there is still a bug in context_steps for editing the name of a context from the context page. But I want to get these change in for a bug report
2010-02-09 23:26:38 +01:00
Reinier Balt
d945d974a7 remove the last rspec story and migrate it to cucumber. Also remove equivalent selenium script 2010-02-09 10:27:59 +01:00
Reinier Balt
8d10deac30 Merge branch 'master' of github.com:bsag/tracks 2010-02-06 22:37:03 +01:00
Reinier Balt
e1c693dfdc get all selenium features to run and fix the badge update for notes 2010-02-06 22:36:13 +01:00
Reinier Balt
dc811c8fc7 Convert to project did not use current_user so new projects were always linked to the user with id 1. 2010-02-05 09:51:50 +01:00
Reinier Balt
c9566047fc change notes controller to enable adding notes through REST api.
see http://www.getontracks.org/forums/viewthread/530/
2010-02-03 17:33:50 +01:00
Reinier Balt
226d902127 consume confirmation dialog when deleting note 2010-02-02 23:43:18 +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
502e60c9a1 Oops..Forgot to revert this little bit of i18n
Fixes #991
2010-01-26 15:50:21 -05:00
Reinier Balt
c3e731e0a3 fix sort order for text feeds. From discussion at http://www.getontracks.org/forums/viewthread/442/ 2010-01-19 11:03:46 +01:00
Eric Allen
7e7106265c Autofocus on todo description 2010-01-17 18:37:43 -08:00
Eric Allen
deafad16c0 Get rid of weird render params
This line caused the page to not get a layout in Rails 2.3.5

Fixes #988
2010-01-17 11:33:35 -08:00
Eric Allen
66e9c42033 Smart auto-refresh logic
No longer destroys ongoing edits

Fixes #907
2010-01-17 11:07:21 -08:00
Eric Allen
f39108d2e7 Better autocomplete updating from RJS
Fixes #981
2010-01-17 10:49:27 -08:00
Eric Allen
761810cf7f Merge branch 'cas' 2010-01-14 09:46:20 -08:00
Reinier Balt
7a92d3559b get all cucumber stories running for default profile 2010-01-13 21:52:04 +01: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
022a94f686 fix test where today and show_from did not have the same timezone and add test for OneNote links inspired by the tests for Mail.app links 2010-01-13 21:17:17 +01:00
Reinier Balt
07ef7ed7a8 this change belongs to previous commit... 2010-01-13 20:47:15 +01:00
Reinier Balt
24a37e217d fix notes page. The change to autolink Mail.app URLs was working only for todo views, not for the notes view. Moved link code to application_helper 2010-01-13 20:45:09 +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
07dd842525 remove debuging message 2010-01-12 17:18:11 -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
c7828185d6 Automatically insert backlink to the message in the Mail.app Apple
Script.
2010-01-10 08:34:10 +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
d8528071f0 AWS caused Rubinius to be sad. Fixed 2009-12-31 21:06:33 -05:00
Eric Allen
bbbb3a1886 First whack at "promote to project" function
Progress on issue #64
2009-12-20 13:36:05 -05:00
Eric Allen
ce3897a2bd Allow predecessor assignment to deferred todos
Fixes #970
2009-12-20 13:27:32 -05:00
Eric Allen
649ea6bf63 Only apply autocomplete to fields not yet enabled
In some cases, double-applying it caused weird behavior. Filtering out fields
that have already been autocomplete-enabled fixes #971 and probably other edge
cases, too.
2009-12-20 13:19:17 -05:00
Eric Allen
9ddd5c5d2a Correct context hiding behavior in tag view
Fixes #952
2009-12-20 13:05:42 -05:00
Erik Ordway
d5c16db975 Rough selenium test files
with good names
2009-12-20 12:01:25 -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
aaf3965004 use correct value 2009-12-18 09:42:05 -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
00d06b7a00 start adding test fixtures 2009-12-18 09:40:12 -05:00
Erik Ordway
b85b3fc081 allow adding users and set new users has having cas as the auth type 2009-12-18 09:40:12 -05:00
Erik Ordway
1621a7bb7d properly insert CAS as another auth method 2009-12-18 09:40:12 -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
0eec884428 More options for date format
Fixes #966
2009-12-16 17:54:29 -05:00
Eric Allen
e17b495b95 Fix annoying test
Waiting for the flash to hide just wastes seconds
2009-12-16 17:43:57 -05:00