Commit graph

85 commits

Author SHA1 Message Date
Reinier Balt
63f389158b update jquery and jquery-ui 2011-05-19 12:20:36 +02:00
Reinier Balt
1372bb110e upgrade jquery to 1.5.2 2011-04-14 14:44:46 +02:00
Reinier Balt
554bc21016 fix #1133 by increasing delay before remotely fetching for autocomplete. Also remove selectFirst jquery plugin since this is now part of jquery itself 2011-04-14 10:49:04 +02:00
Reinier Balt
2d53f0dec2 upgrade to jquery-ui-1.8.11. Fixes #1130 2011-03-26 18:16:15 +01:00
Reinier Balt
b8484e48fe migrate mobile selenium scripts to cucumber
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-02-27 00:04:04 +01:00
Reinier Balt
b53fbc64dc fix #1052 based on the work of Tim Madden. Thanks Tim! 2011-02-26 11:38:39 +01:00
Reinier Balt
e9d92438d6 fix #1109 and do some small optimizations on home page 2011-02-25 23:54:53 +01:00
Reinier Balt
da93b82b2b fix #1115. The datapicker is now passed the current locale to localize the datepicker 2011-02-25 17:10:33 +01:00
Reinier Balt
a3837cc4e3 fix #1113: upgrade jquery to 1.5.1 and jquery-ui to 1.8.10 2011-02-25 15:56:55 +01:00
Reinier Balt
0d28115d18 fix csrf which changed with rails 2.3.11 2011-02-12 16:26:16 +01:00
Reinier Balt
f2760ed7de fix #1101. Most strings were pushed into html attributes. The remaining are generated from the layout into an array 2011-02-09 20:41:34 +01:00
Reinier Balt
e528af30a6 fix #1101. Thank Tim for finding the plugin. Only changed where the js was included 2011-02-09 09:18:14 +01:00
tim madden
1a42f00a0a adds juery.ui autocomplete extension selectFirst to select the first matching entry 2011-02-09 16:11:09 +08:00
Reinier Balt
ef5cb8cd77 rename cached js and css to find them more easily 2011-02-04 20:23:19 +01:00
Reinier Balt
514045e8cb fix failing tests 2011-02-03 22:44:26 +01:00
Reinier Balt
7a74025253 get autocomplete working for tags 2011-02-03 18:19:24 +01:00
Reinier Balt
a832417c59 migrate toggle_check and destroy and defer and get the functional tests running again 2011-02-03 18:19:17 +01:00
Reinier Balt
f923a40a40 get tag view working for updating todos. Refactored update a lot 2011-02-03 18:18:41 +01:00
Reinier Balt
94b5aa2346 fix editing a note from the notes page 2011-02-03 18:17:21 +01:00
Reinier Balt
77e2ff0751 update jquery to latest 1.4.4 2011-02-03 18:17:20 +01:00
Reinier Balt
6416ff112e migrate editing project settings from project page from jrails to jquery 2011-02-03 18:16:52 +01:00
Reinier Balt
c834403340 replace old prototype/jrails code for periodic checks and start work on autocomplete and edit projects
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-02-03 18:16:51 +01:00
Reinier Balt
69c811e365 re-add jQuery plugins and include them in the layouts 2011-02-03 18:16:51 +01:00
Stefan Richter
1c90b90909 fixing some stuff around OpenID:
- adding missing Javascript includes
	- fixing jquery for showing/hiding indentity url field
	- adding identity url field to signup form
	- fixing bug in signup controller
2011-01-24 16:14:56 +08:00
Marcus Ilgner
338d4bb5a6 Added locale selection to preferences
Mostly completed transition to full i18n
Incorporated german translations by Ulf Klose <ulf.klose@gmail.com>
2011-01-16 18:14:07 +01:00
Marcus Ilgner
fd3f69d927 Changed code to support basic i18n.
Added RubyMine configuration and rvm setup to .gitignore.
2010-11-09 16:31:26 +08:00
Reinier Balt
29e007f9c6 update routing and test for authorized access to all tracks pages 2010-07-30 21:06:12 +02:00
Reinier Balt
65ecb7b019 migrated flashobject_helper to swf_fu because the first is not maintained anymore. Fixes #796 2010-07-29 21:41:36 +02:00
Reinier Balt
77933f8908 get rid of spurious <p> that messed up output of functional tests 2010-07-27 23:03:52 +02:00
Reinier Balt
6334a3f7d7 set defaults right when adding a new action on the mobile interface from the context or project page. Fixes #1051.
We need tests for this :-)
2010-07-26 22:09:22 +02: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
205c4e7ed4 Much smarter project note truncation
Fixes #780
2010-04-02 09:46:19 -04:00
Eric Allen
3c82b88720 Replace conditional with rescue's
Closes #1015, although this should really be taken care of by
finishing #1011.
2010-03-25 07:53:34 -04:00
Eric Allen
25f0f3dfd9 JavaScript working for subdir 2010-03-14 16:39:11 -04:00
Eric Allen
a0d12c95e9 No more bundle-fu
Using Rails 2's built-in bundling instead

I believe this closes #978
2010-03-14 16:18:13 -04:00
Eric Allen
3f14a7a8bb Respect user's week start preference
Fixes #1005
2010-03-04 16:42:23 -05:00
Eric Allen
66e9c42033 Smart auto-refresh logic
No longer destroys ongoing edits

Fixes #907
2010-01-17 11:07:21 -08:00
Erik Ordway
07dd842525 remove debuging message 2010-01-12 17:18:11 -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
b3a77270da Get rid of calls to formatted_ helpers
Rails deprecated them to save on memory
2009-12-07 19:11:30 -05:00
Michaël Witrant
686bc5a7c4 added missing ending tags 2009-11-24 19:06:14 +08: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
bb0b602b6c Minor refactoring to fix login 2009-10-18 18:23:33 -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
Eric Allen
d0e6ebd41e Only setup autocomplete if available 2009-10-02 18:35:25 -04:00
Eric Allen
195a58174b auto-fill of default tags & contexts from project 2009-10-02 18:31:53 -04:00
Eric Allen
8f21467b63 Basic autocomplete for projects and contexts 2009-10-01 22:32:12 -04:00
Eric Allen
83b17d2231 Edit-in-place for context name 2009-09-27 22:38:21 -04:00
Eric Allen
a09b55d6b6 New todo form working with Ajax 2009-09-21 22:59:46 -04:00