Reinier Balt
c3b3e3ea04
Manual apply fix from 1.7_branch. Preserve database integrity for recurring todos when deleting project or context. Fixes #880 . Fixes #895
2010-04-04 18:20:07 +02:00
Eric Allen
c79d1c964a
Autocomplete lists should be based on "q" parameter
...
If you don't filter server-side, the user sees the full list until
another character is entered.
2010-04-02 13:36:59 -04:00
Eric Allen
9ab69adb38
Dynamically load autocompletes
...
This cuts something like 100ms off of page load times!
Closes #1011
2010-04-02 13:24:21 -04:00
Eric Allen
8b642e6b91
Get rid of auto_complete plugin
...
Using jQuery autocompletion now
2010-03-14 16:48:28 -04:00
Eric Allen
0778284afe
Cleaner form clearing for new recurring todos
...
Just replace the entire HTML to make sure it works right
Fixes #1003 , Fixes #1004
2010-03-06 15:42:20 -05:00
Reinier Balt
c0db9b41b9
add scenario to show bug #972
...
took me a while to figure out that drag_and_drop does not wait for ajax to finish
2010-03-02 11:14:45 +01:00
Reinier Balt
32d18857df
fix a typo. Thanks tknoeller. Fixes #1000
2010-02-22 10:44:10 +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
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