Matt Rogers
60ae4f6f5f
Convert before_filter to before_action
...
`before_filter` has been removed in future versions of rails.
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 12:55:27 -05:00
Carsten Otto
5ffaf98c7b
show 0-0 instead of 1-0 if no project/action exists
...
limit maximum to actual number of projects/actions
2015-05-14 12:53:24 +02:00
Carsten Otto
296b8135a1
make code of completed projects and completed recurring actions more similar
2015-05-13 23:46:35 +02:00
Carsten Otto
d480569629
occurence -> occurrence
2015-02-10 15:49:13 +01:00
Carsten Otto
705f307bfb
fix typos
2015-02-09 23:24:19 +01:00
Matt Rogers
aa41e20e46
Remove trailing whitespace and tabs
2014-08-14 21:05:05 -05:00
Dan Rice
9b92306252
Return a valid RecurringTodo after creation error
...
Fixes #1463
2014-06-19 01:17:15 -04:00
Reinier Balt
b23338eaa2
fix updating of recurring todo and create a form helper for filling the recurring todo edit
...
form
2014-03-31 09:43:39 +02:00
Reinier Balt
776a046465
move mapping of form attributes to model attributes from pattern to builder to make
...
pattern independent of form
2014-03-31 09:43:39 +02:00
Reinier Balt
1f36c27af8
small cleanups
2014-03-31 09:43:39 +02:00
Reinier Balt
c2c67f1640
use new model to handle updating of recurring todos
2014-03-31 09:43:39 +02:00
Reinier Balt
00af159be7
remove unused code and refactor builder to remove duplication
2014-03-31 09:43:39 +02:00
Reinier Balt
78c07d52b7
Start major refactoring of recurring_todos. Started with creating new recurring todos.
...
All current and new tests pass
2014-03-31 09:43:39 +02:00
Reinier Balt
e2eb31cfcc
Merge pull request #206 from mmozuras/refactor_unless_blanks_into_presents
...
Refactor unless blanks into presents
2013-09-13 06:08:16 -07:00
Mindaugas Mozūras
25e764b21a
Refactor "unless blank?" into "if present?"
2013-09-13 15:40:09 +03:00
Mindaugas Mozūras
a97848f0ba
Refactor negative blank? into present?
2013-09-13 15:19:25 +03:00
Reinier Balt
4ca6114b76
weekly days were not getting through to the update of a recurring weekly todo
2013-09-05 20:18:14 +02:00
Reinier Balt
3ef55f3b17
Hopfully fix #1434 by updating selectors first. Same fix as #1431 but now for update
...
Conflicts:
app/controllers/recurring_todos_controller.rb
2013-09-05 20:13:28 +02:00
Reinier Balt
d64f6e003e
Merge branch 'master' into rails4
...
Conflicts:
Gemfile.lock
2013-06-21 10:20:36 +02:00
Reinier Balt
64d3e802f2
fix #1406 . fix #1431 . set recurring_period first before setting other attributes
2013-06-19 16:42:35 +02:00
Reinier Balt
671f64b419
move to strong_parameters of rails4.
2013-05-27 12:44:31 +02:00
Matt Rogers & Katrina Owen
a1b270699d
Extract creation of todos from recurrings todos
2013-04-25 20:45:14 -05:00
Reinier Balt
48e47fc009
remove dynamic finders from cucumber scenarios
2013-02-27 20:02:01 +01:00
Reinier Balt
583664be36
remove some dynamic finders (they are deprecated for rails4) and add test for untested method of context.rb
2013-02-25 10:21:04 +01:00
Reinier Balt
63175c115b
all non-cucumber tests are passing
2012-04-30 13:56:41 +02:00
Reinier Balt
fd433d76d8
fix all upgrade warnings from the rails_upgrade plugin
2012-04-30 13:56:38 +02:00
Reinier Balt
6aa8b8d2f9
replace new repeating todo form with jquery dialog. And some refactoring
2011-11-17 17:07:55 +01:00
Reinier Balt
6e97541ab3
make sure toggle_check and deleting of todos, recurring_todos and projects work in the new done views
2011-07-09 17:21:36 +02:00
Reinier Balt
35f947ec57
add done views to projects and recurring todos
2011-07-09 17:21:35 +02:00
Reinier Balt
574aaa024d
fix #1120 and further internationalize recurring todos
2011-03-10 13:09:35 +01:00
Reinier Balt
33f68df154
get destroying of actions working
2011-02-03 18:18:39 +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
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
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
195a58174b
auto-fill of default tags & contexts from project
2009-10-02 18:31:53 -04: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
d41c369f09
fix error in last patch
...
seems that our test suite does not test updating recurring todos
2009-02-05 22:41:37 +01:00
Reinier Balt
b8fd942eb4
small cleanups
2009-02-05 21:55:33 +01:00
Reinier Balt
c618d35d3a
first pass at restoring tag functionality
2008-12-22 20:55:32 +01:00
Reinier Balt
9147fb887c
refactor conditional finds to use named_scopes
...
also use updated_at in calendar feed
2008-11-29 15:35:17 +01:00
Reinier Balt
4a98ee5669
several fixes to recurring todos and adds some named_scopes
...
fixes case where unmarking a complete todo which belongs to a recurring pattern results in two todos that both keep on recurring. With this fix a new todo will only be created when there are no active todos left belonging to that recurring pattern
fixes tests that failed because of previous commits
adds some named_scopes, inspired by http://railscasts.com/episodes/108
2008-11-28 16:39:50 +01:00
Reinier Balt
8d6267f92f
fix #754 by parsing dates using the format set in the preferences of the user
...
Thanks Claus for reporting this
2008-08-18 17:14:34 +02:00
Reinier Balt
545b4e5c50
add title to recurring todos page and fix for #737
2008-08-01 14:19:37 +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
0018a718a8
fix small typo in comment
2008-07-25 20:45:39 +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
8bc41e2cb0
add recurring todos to tracks
2008-07-19 20:27:45 +02:00