Eric Allen
502e60c9a1
Oops..Forgot to revert this little bit of i18n
...
Fixes #991
2010-01-26 15:50:21 -05: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
761810cf7f
Merge branch 'cas'
2010-01-14 09:46:20 -08: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
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
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
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
f3966cfb2b
make cas work
2009-12-18 09:40:11 -05:00
Eric Allen
18dfe4dbfb
Missed some formatted_ helpers not covered by tests
...
Selenium tests now passing completely
2009-12-07 23:16:21 -05:00
Eric Allen
c459461aa3
Get rid of a deprecation warning
2009-12-07 18:36:10 -05:00
Eric Allen
e41ed7424f
No need for these session calls now
...
Sessions are lazy loaded, so if you don't use them they're effectively off.
2009-12-07 18:30:13 -05:00
Eric Allen
3c94609583
Ran rake rails:update
2009-12-07 12:43:42 -05:00
Eric Allen
9fa5ead8de
Fixed another edge case that Luis caught
...
Thanks for testing!
2009-12-01 23:39:07 -05:00
Eric Allen
71b0e188c1
Autocompletion for predecessors working
2009-11-29 20:34:38 -05:00
Henrik Bohre
93a914fdb3
#300 : Disambiguation of predecessors by using project and context names
2009-11-10 22:15:47 -05:00
Henrik Bohre
54dc1ad047
#923 : Applied Reinier's patch for reducing DB access on predecessor autocomplete.
2009-11-10 22:13:57 -05:00
Henrik Bohre
1f9b77faf4
#300 : Displays pending todos in tickler
2009-11-10 22:13:53 -05:00
Eric Allen
8e57b4670a
Ticket #300 : Improved GUI updates.
...
Conflicts:
app/views/todos/create.js.rjs
app/views/todos/update.js.rjs
2009-11-10 22:13:43 -05:00
Henrik Bohre
0664761a8f
#300 : Fixed bug that broke validation on create
2009-11-10 22:13:03 -05:00
Eric Allen
cb76ecd866
Ticket #300 : Correctly activates/blocks dependent todos from mobile view also.
...
Conflicts:
app/views/todos/toggle_check.js.rjs
2009-11-10 22:10:52 -05:00
Henrik Bohre
406ce7ff2c
#923 : Applied make-toggle-work-after-drag-and-drop.diff patch from Reinier.
2009-11-10 22:09:46 -05:00
Eric Allen
1f45497a52
Ticket #923 : Filtering on active or pending todos in pred. auto completer.
...
Conflicts:
app/controllers/todos_controller.rb
2009-11-10 22:08:28 -05:00
Henrik Bohre
c543eb3659
#300 : Fixes changes that broke drag and drop
2009-11-10 22:07:13 -05:00
Henrik Bohre
cc9746371c
#300 : First shot at validation of dependencies
...
Implemented by deferring save of dependencies until after saving (and validating) the todo, as described by Andrew Timberlake on http://www.ruby-forum.com/topic/175552 .
2009-11-10 22:07:08 -05:00
Henrik Bohre
00e063a0a2
#300 : Implemented basic drag and drop dependency support.
...
Dragging an action onto another action creates a dependency to that action.
2009-11-10 22:06:42 -05:00
Henrik Bohre
fe066e3bcb
#300 : Added infrastructure for drag and drop dependency creation
2009-11-10 22:06:36 -05:00
Henrik Bohre
c8b442cc41
#300 : Referential integrity maintained when deleting todos which are part in a dependency relationship
2009-11-10 22:06:29 -05:00
Eric Allen
1f556a4f0a
Bug #300 : Actions can be created with dependencies through the add_new_item_form
...
Still lacks error checking for circular dependencies and other validation.
Also, javascript for displaying the new item is broken.
Conflicts:
app/views/layouts/standard.html.erb
2009-11-04 22:45:38 -05:00
Eric Allen
42cbe52224
Bug #300 : First shot at dependency entry in edit form
...
Limitations:
* No javascript update of dependency changes.
* No resolution for duplicate descriptions.
Conflicts:
app/views/todos/_edit_form.rhtml
2009-11-04 22:40:03 -05:00
Henrik Bohre
381db782a0
#300 : Added pending items to tag view
2009-11-04 22:33:11 -05:00
Eric Allen
101df3fb6b
Simple dependency handling working on project page.
...
The database contains actions with dependencies.
Please rename to tracks-17-blank.db or update database path accordingly.
Conflicts:
app/views/todos/toggle_check.js.rjs
2009-11-04 22:32:44 -05:00
Henrik Bohre
cb4ed7ff7f
#300 : Updated projects and todos controllers to use Todo dependencies.
2009-11-04 22:32:04 -05:00
Eric Allen
45d9ab60bf
Merge branch 'jquery' of epall/tracks
...
This concludes the transition from Prototype to
jQuery throughout Tracks. Closes #944 .
2009-11-04 22:13:45 -05:00
Eric Allen
7eb29194c3
Update sidebar when project status is changed
2009-10-21 14:55:18 -04:00
Eric Allen
bfc6189611
Project default tags
2009-10-16 19:23:03 -04:00
Eric Allen
550a0e4955
Fix context state change
2009-10-07 11:33:48 -04:00
Eric Allen
acad0596be
WIP: contexts page mostly working
2009-10-02 19:45:49 -04:00
Eric Allen
195a58174b
auto-fill of default tags & contexts from project
2009-10-02 18:31:53 -04:00
Eric Allen
586b46661a
Projects page completely working now
2009-09-25 20:15:34 -04:00
Eric Allen
f25ee06c49
Committing Ben's patch for #868 .
...
Fixes #868 .
I wish I could write a spec for it, but RSpec isn't behaving well with partials.
2009-09-19 19:53:35 -04:00
Eric Allen
f9e6540ed2
Star toggling and todo checking working
...
Todo unchecking is still buggy, but needs a bunch more work to make it happen.
Also added some useful globals to the standard layout for later access by application.js.
2009-09-05 15:24:03 -04:00
Reinier Balt
ee831d19ca
put location from POST in response, not just in location header. Thanks Luis for the patch
2009-08-11 08:53:08 +02:00
Reinier Balt
37a45313a0
fixes #929 where editing a newly added todo on the tag view would cause an error
...
because tag_name was not passed around
2009-08-04 13:54:19 +02:00