Commit graph

67 commits

Author SHA1 Message Date
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
Eric Allen
59b367a711 Todo editing and deletion working beautifully.
Removing UJS caused the home page to stop rendering due to references to
apply_behavior. I had to take care of that before I could proceed at all.

Some Autocomplete stuff has been yanked out and needs to go back in at some point.

Had to replace Protoload with jQuery.blockUI. It's a bit bigger, but oh well.
2009-09-07 16:58:26 -04:00
Eric Allen
07b1dec5f3 Fade flashes in using jQuery 2009-09-06 20:06:55 -04:00
Eric Allen
ce979063c5 Replaced old calendar picker with jQuery UI. 2009-09-06 20:00:19 -04:00
Eric Allen
6b7e5d0eed Re-wrote todo-items.js and got todo uncheck working.
I also discovered that application.js was getting included twice, causing a few issues. Small fix in standard.html.erb took care of it.
2009-09-06 19:41:27 -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
Eric Allen
4c68144c93 Login form working in jQuery 2009-09-05 15:23:57 -04:00
Eric Allen
fac5e7ca83 No more CookieManager since it's dependent on Prototype 2009-09-05 15:23:33 -04:00
Eric Allen
e57e1445b4 Getting rid of last traces of Prototype and old jQuery library. 2009-09-02 10:33:34 -04:00
Reinier Balt
0272f812da Add the ability to integrate your tracks installation as a Gmail Gadget. Code was contributed by GTDify.com. Thanks!
see http://www.getontracks.org/forums/viewthread/434/
2009-08-04 09:54:45 +02:00
Reinier Balt
49e2ee69b8 move loading off js after css. inspired by http://code.google.com/speed/page-speed/ 2009-06-10 16:20:57 +02:00
Reinier Balt
dd5b479c5d fix #584 where the date at the top did not use the users timezone, but the servers timezone
also remove confusing user_time helper
2009-04-07 21:34:15 +02:00
Reinier Balt
480af3a2ab make sure that new/updated todos also get the behavior enabled for toggling notes 2009-03-31 09:56:23 +02:00
Reinier Balt
33e96dd42e move js of template to the bottom of the page and migrate toggle js to jquery
yslow states that loading of page is faster when js is at the bottom
2009-03-30 23:01:17 +02:00
Reinier Balt
8612c1a677 tidy up the templates and the js in them 2009-03-27 17:03:18 +01:00
Reinier Balt
dfffbc78c3 further enhance the context menu and fix showing of context menu on ie 2009-03-24 16:14:35 +01:00
Reinier Balt
3a8ce12fe8 further integrate contact menu and add visual feedback of ajax actions 2009-03-24 16:14:33 +01:00
Reinier Balt
5b31d4cf84 change name of menu item for managing users 2009-03-24 16:14:32 +01:00
Reinier Balt
06c4ea8a8c first pass at adding context menu for todos 2009-03-24 16:14:31 +01:00