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
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
Erik Ordway
aaf3965004
use correct value
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
Eric Allen
21de49c87a
Show context on un-hidden successor. Fixes #964
...
Added another todo fixture, which broke some assertions that I had to fix
2009-12-16 17:42:42 -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
b3a77270da
Get rid of calls to formatted_ helpers
...
Rails deprecated them to save on memory
2009-12-07 19:11:30 -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
c4ef04af4d
Forgot to put back rich interaction there
2009-11-29 21:12:00 -05:00
Eric Allen
71b0e188c1
Autocompletion for predecessors working
2009-11-29 20:34:38 -05:00
Eric Allen
d0a5f6b731
Fix rendering of successors, drag and drop
2009-11-29 20:00:54 -05:00
Eric Allen
34aeb83891
Merge branch 'deps'
2009-11-26 02:04:54 -05:00
Michaël Witrant
686bc5a7c4
added missing ending tags
2009-11-24 19:06:14 +08:00
Eric Allen
d14d09559e
Ticket #300 : Improved ajax behavior
...
Conflicts:
app/views/todos/create.js.rjs
app/views/todos/update.js.rjs
2009-11-10 22:17:00 -05:00
Henrik Bohre
061e20bf7d
#300 : Ajax gui updates when removing dependency
2009-11-10 22:15:43 -05:00
Henrik Bohre
1eb6f0f8dd
#300 : Added tooltip and improved look on remove dependency button
2009-11-10 22:15:38 -05:00
Henrik Bohre
496321b209
#300 : Improved visual feedback when pending actions are activated
2009-11-10 22:15:29 -05:00
Eric Allen
0276dce8e2
Ticket #923 : Added Reinier's patch for removing dependencies from successor block.
...
Conflicts:
app/helpers/todos_helper.rb
2009-11-10 22:15:16 -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
c5df6b66b1
#300 : Improved display of tickler items after DnD action
2009-11-10 22:09: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
Henrik Bohre
4f69683f9b
#300 : Added mockup remove successor icon after description
2009-11-10 22:07:04 -05:00
Henrik Bohre
0fbed3e00e
#300 : Displays successors recursively without folding icon
2009-11-10 22:06:59 -05:00
Henrik Bohre
90d77f37cb
#300 : Displays successors recursively
2009-11-10 22:06:54 -05:00
Henrik Bohre
08d24a1b8f
#300 : Added some visual feedback when hovering over drop target
2009-11-10 22:06:47 -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
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
6d97bca57f
Bug #300 : Displays pending state and successor information
...
Pending state is displayed in the date_span. Successor information is displayed in the tooltip of a successor icon placed after the action description.
Conflicts:
app/helpers/todos_helper.rb
public/javascripts/application.js
2009-11-04 22:45:02 -05:00
Eric Allen
2bf48a15cb
Bug #300 : Added infrastructure for collapsible dependency block, similar to todo notes.
...
Conflicts:
app/views/layouts/standard.html.erb
public/javascripts/application.js
2009-11-04 22:43:21 -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
Eric Allen
74fcaf407c
Bug #300 : check_toggle.js working for Tag view
...
Conflicts:
app/helpers/todos_helper.rb
2009-11-04 22:37:33 -05:00
Henrik Bohre
381db782a0
#300 : Added pending items to tag view
2009-11-04 22:33:11 -05:00
Henrik Bohre
a02b2cc184
#300 : Home view working when completing/undoing todos
...
Updated toggle_check.js.rjs to handle DOM manipulation for the Home page.
2009-11-04 22:33:06 -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
5b1acce71e
#300 : Added pending items to deferred block in project view
2009-11-04 22:30:54 -05:00
Eric Allen
7ef91403f1
Eliminate all last traces of apply_behavior
2009-11-04 22:06:24 -05:00
Eric Allen
686086dcdf
Initial attempt to resolve dateFormat issue
...
Translating from strftime format to jQuery UI's format on the fly on every
page render. That kind of sucks, but it works. I think I have enough
translations here to cover everybody, but possibly not.
2009-10-30 15:37:40 -04:00
Eric Allen
c1dfeaf0f2
Deleting the last todo should hide a context
2009-10-30 15:20:06 -04:00
Eric Allen
93c6151ca7
Focus on first text input to skip hidden inputs
2009-10-30 15:02:42 -04:00
Eric Allen
7eb29194c3
Update sidebar when project status is changed
2009-10-21 14:55:18 -04:00
Eric Allen
a04d31677a
Fix project name so edit works properly
...
Previously, the first in-place edit of a project name had a bunch of whitespace.
2009-10-18 18:40:36 -04:00
Eric Allen
bb0b602b6c
Minor refactoring to fix login
2009-10-18 18:23:33 -04:00
Eric Allen
f9d37d1d90
Simplify some stuff thanks to live()
2009-10-17 00:03:12 -04:00
Eric Allen
67e88acacc
Cleaning up Prototype remnants and refactoring
...
Moved some stuff, like Nifty Corners, into application.js to speed things up.
2009-10-16 23:52:52 -04:00
Eric Allen
01e4cdb178
Tag autocomplete
2009-10-16 19:23:11 -04:00