Commit graph

35 commits

Author SHA1 Message Date
Reinier Balt
d444d80f93 fix #1168 by using a new helper to increate the tab_index automatically
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-05-08 16:40:31 +02:00
Reinier Balt
574aaa024d fix #1120 and further internationalize recurring todos 2011-03-10 13:09:35 +01:00
Reinier Balt
24ef0ced32 fix #1102 add spinner to autocomplete and...
* get public/local variables correct for all js
* get i18n string in toggle_star for todos

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-02-13 12:58:41 +01:00
Reinier Balt
33f68df154 get destroying of actions working 2011-02-03 18:18:39 +01:00
Reinier Balt
ffd4ae1fcd get features running for recurring todos 2011-02-03 18:18:36 +01:00
Reinier Balt
cafa774b4c refactor application.rb further and migrate recurring todos
next: get tests for recurring todos
2011-02-03 18:17:29 +01:00
Reinier Balt
484356fe07 small improvements
render :partial => filename, :object => @object can be written shorter since rails 2.0 like
render :partial => @object or render :partial => @collection
Also form_for is smart bout put and post for update and creation.

it helps watching older railcasts episodes :-)
2011-02-03 18:17:28 +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
Eric Allen
0c161be466 Fix recurring todo autocompleteion
* Enable rich interaction on edit (to trigger autocompleter)
* Don't try to reset autocomplete lists, since they come from the server now

Fixes #1022
2010-04-27 11:17:04 -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
Eric Allen
e43a7945d5 Recurring todos mostly working now 2009-09-13 12:00:28 -04:00
Eric Allen
ce979063c5 Replaced old calendar picker with jQuery UI. 2009-09-06 20:00:19 -04:00
piglop
4e1e18da0f fixed #781:
* added a "show always" radio to the recurring todo forms
* added a show_always flag to recurring todos
* created a migration to convert existing recurring todos where show_from_delta==0
* recurring todos where show_from_delta is 0 are now shown the same day they're due

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-06-03 01:36:20 +08:00
Reinier Balt
0938ffe044 small cleanups 2009-05-04 10:20:40 +02:00
Reinier Balt
37f3f95114 user_time was removed in 1.8devel, so change it to current_user.time 2009-05-04 10:02:23 +02:00
Reinier Balt
c1ff335740 replace all occurrences of Time::today with user_time. Fixes #890 2009-05-03 22:04:45 +02:00
Eric Allen
0fda4506eb Pre-populate default tags from project instead of adding them when a todo is created. Fixes #879. 2009-05-02 17:38:26 -04:00
Reinier Balt
239b38cb15 fix for the two issues in #852
* the end date is prefilled with an incorrect formatted date
* if the radio for ends_on is not selected, but a date is entered, tracks incorrectly behaves as if ends_on was checked
2009-04-01 13:51:36 +02:00
Reinier Balt
a0be7eda2d Merge branch 'fixesgraaff' 2008-12-14 16:49:25 +01:00
bsag
4fb4a98bc8 Merge branch 'master' into clinton/master
* master: (40 commits)
  Updated the manual in HTML, PDF and .tex format.
  Minor updates to the example db.
  set version to 1.7RC
  update version in template
  update changelog
  OpenSearch support.
  update the sample sqlite databases and update sample content sql. Solves #802
  forgot ot change one version to 1.7
  update documentation for 1.7rc release
  No point in changing the name of the OpenID identity column in users table. Use the existing one.
  show recurrence pattern in :title of a recurring todo. Needed slight refactoring to make it happen
  Re-write OpenID code to use new authentication plugin. Tested to work!
  Upgraded to open_id_authentication plugin at 00d8bc7f97 and unpacked ruby-openid gem version 2.1.2.
  remove old compressed js and css from the asset_packager plugin that we don't use anymore
  applied the patches from Jakub to improve the mobile html
  adds test for changing context on a todo in tag view. Resolves #762
  Add testcase where changing the name of a project should be reflected in the default project name. resolves #756
  add testcase for deleting a user. Resolves #734
  implement suggestions for search in #787
  fix failing tests
  ...
2008-12-14 15:08:28 +00:00
Hans de Graaff
27e0852651 Limit description field to known maximum size. 2008-12-14 11:17:07 +01:00
Reinier Balt
c46e5a9e1d show recurrence pattern in :title of a recurring todo. Needed slight refactoring to make it happen 2008-12-08 16:59:10 +01:00
Reinier Balt
198f3240b8 fix several deprecation warnings
truncate wants explicit :length => number and :omission
calling a partial from a js requires to explicitly pass the variable i.e. :todo => @todo instead of rails doing it implicitly
2008-11-30 20:16:57 +01:00
Reinier Balt
5659b8adbb fix #764 where unnecessary space is removed in the recurrence pattern
also fixes the case that a rec todo that has a start date but no end date is not showing the from xx-xx-xxxx on the page
2008-11-29 20:15:49 +01:00
Clinton Forbes
cb7a1182fa Got format correct, but the default date was wrong. Set it to today. 2008-11-29 08:55:51 +11:00
Clinton Forbes
58cf93e1ed Correctly format default 'Start from' date for new recurring items 2008-11-29 08:44:57 +11:00
Eric Allen
3647d79587 Overhaul of Time.now stuff because Time.now is unaware of time zones. Need to use Time.zone.now (Time.now.utc works fine when dealing with the database, since it is *always* in UTC) 2008-09-21 18:13:21 -07:00
Reinier Balt
1d64ca0f34 move nifty js calls to respective pages to reduce js execution a bit (on every page) 2008-09-05 18:01:22 +02:00
Reinier Balt
566cdf8049 fix autocompletion for editing of recurring todos 2008-08-01 16:46:57 +02:00
Reinier Balt
db0f00c9a4 change labels of setting for recurrence period
as discussed on mailinglist
2008-08-01 14:32:25 +02:00
Reinier Balt
6b0a235275 attempt to fix creation of new recurring todo where selector attributes are posted later than other attributes
also fixes some issues when editing an existing rec todo wich handling nil values
2008-07-28 14:06:39 +02:00
Reinier Balt
ed4ee1cc3f fix several issues with recurring todos
* fix case where some fields were not saved
* fix several fields that were not filled with the saved value when editing
* hide storage details of recurring_todo by adding public getters and refactoring view to use them in stead of database fields
2008-07-27 22:13:54 +02:00
Reinier Balt
a981595bce fix error where editing start date or end date for a recurring todo does not show the calendar 2008-07-25 20:39:22 +02:00
Reinier Balt
3dc6b02c17 fixed error where completed container could not be selected because of naming inconsistency 2008-07-23 23:49:10 +02:00
Reinier Balt
8bc41e2cb0 add recurring todos to tracks 2008-07-19 20:27:45 +02:00