Matt Rogers
506f3f991a
Convert render :nothing => true to head :ok
...
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:06:38 -05:00
Matt Rogers
5805c511bb
Convert render :text to render :body
...
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:03:35 -05:00
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
ed3bca22a4
Remove 'project_hidden' state
...
Compute it using project/context state
Notable change:
todo.hidden? now also returns true if the todo is completed
2016-04-16 09:27:33 +02:00
Reinier Balt
ddd9c07d3b
Fasterer: Use &:symbol is faster
...
Calling argumentless methods within blocks is slower than using
symbol to proc.
2015-08-19 14:48:31 +02:00
Carsten Otto
dfe8735c0d
rename repeating -> recurring, repeat -> recurrence
2015-02-10 16:25:27 +01:00
Matt Rogers
aa41e20e46
Remove trailing whitespace and tabs
2014-08-14 21:05:05 -05:00
Mindaugas Mozūras
962b4fa5c9
Use respond_to { |format| format.any } to reduce duplication
2013-09-13 14:58:28 +03:00
Reinier Balt
4a485558e2
Merge branch 'master' into rails4
...
Conflicts:
Gemfile.lock
config/routes.rb
2013-06-17 09:25:02 +02:00
Reinier Balt
0a57a68a87
Project and context view can now be grouped by context and project (using view menu)
2013-06-11 11:12:21 +02:00
Reinier Balt
671f64b419
move to strong_parameters of rails4.
2013-05-27 12:44:31 +02:00
Reinier Balt
cdfb65d529
remove duplication of all_done_todos and done_todos in project and context container
2013-05-11 10:38:34 +02:00
Dan Rice
b1f54e68b8
Use default context sort order when returning autocomplete
...
Fixes #1403
2013-03-25 12:20:50 +02:00
Reinier Balt
85fc82d494
refactor done todos view and tests
2013-03-18 12:36:40 +01:00
Reinier Balt
22b371ef8c
do a big refactor of rendering collections of todos for home page, tag page, project page, context page
2013-03-18 12:36:40 +01:00
Reinier Balt
2719cb87c7
use state machine from controller and handle exception
2013-03-02 14:52:21 +01:00
Reinier Balt
4df340bd7b
add ui for changing state of context to closed. This fixes #645
2013-03-01 16:22:30 +01:00
Reinier Balt
1e7e925c39
fix failing test
2013-03-01 16:22:29 +01:00
Reinier Balt
1e84adc91b
get tests running and fix editing context state
2013-03-01 16:22:29 +01:00
Reinier Balt
c61d0cbdb7
fix #1395 and speedup context.autocomplete a lot
2013-02-18 16:44:46 +01:00
Matt Rogers
4d2f25ab20
Refactor the fetching of done todos
...
Move the get_done_today, get_done_this_week, and get_done_this month
methods into their own class in lib/tracks and use the new class in the
context, project, and todo controllers.
This removes the complexity from the application controller, silos it
off, and slightly reduces the complexity of the other controllers so
that they don't have to duplicate as much code.
The tradeoff here is that the code that was moved out into its own class
was also duplicated in the todos controller due to a different use case
that I didn't see before. This is still an improvement however and so
I'm ok with going back and tackling the extra complexity added to
TodoController at a later date.
2012-11-27 23:07:46 -06:00
Reinier Balt
8a8dc47ab8
Try the cache_digests gem for Tracks
...
cache_digests will be part of Rails 4
2012-09-02 15:13:28 +02:00
Reinier Balt
10b6a9ea69
fix ordering of completed todos in context view
2012-08-12 11:27:37 +02:00
Reinier Balt
bd8498f39c
fix #1287 . Fix various small bugs and some small improvements
2012-06-29 16:48:30 +02:00
Reinier Balt
436cc862d6
fix text feeds
2012-05-20 05:46:52 +02:00
Reinier Balt
005723cb4f
get login, mobile and notes features passing
2012-05-12 13:37:36 +02:00
Reinier Balt
7bce774daa
get context list scenario passing
2012-05-01 09:39:53 +02:00
Reinier Balt
c9d64e6f4b
get the first cucumber feature running: calendar
2012-04-30 13:56:42 +02:00
Reinier Balt
63175c115b
all non-cucumber tests are passing
2012-04-30 13:56:41 +02:00
Reinier Balt
59a4d5ede0
make functional tests for context controller run
2012-04-30 13:56:39 +02:00
Reinier Balt
e964769553
home page is restored, so is context view
2012-04-30 13:56:37 +02:00
Reinier Balt
033afda0e1
fix #1195 . Update all autocompleters for more sane order of returned items
2012-04-09 12:48:40 +02:00
Reinier Balt
7435b1ba93
Update and add scenario's for testing interaction with new deferred container on context page and fix regressions
2012-03-23 20:39:04 +01:00
Reinier Balt
dd957f0feb
fix #1255 . Context view now has seperate container for pending and deferred todos
2012-03-23 14:04:55 +01:00
Sebastian Fischmeister
37ded2a7f8
Fix: the context view doesn't show pending or due todos
2012-02-20 21:56:36 -05:00
Reinier Balt
601736de2d
add done view to tag pages and add more tests
2011-07-09 17:21:36 +02:00
Reinier Balt
5496b84642
add cucumber scenarios for the new done pages
2011-07-09 17:21:35 +02:00
Reinier Balt
f2d581d5a4
revert refactoring that created a big performance regression
2011-07-09 17:21:35 +02:00
Reinier Balt
a58e832945
get the done view on a context and a project
2011-07-09 17:21:34 +02:00
Reinier Balt
35fe362b93
fix #857 and further refactoring for better done view
2011-07-09 17:21:34 +02:00
Reinier Balt
8546ae5dfa
fix test failures after the changes and refactorings
2011-07-09 17:19:12 +02:00
Reinier Balt
01057af684
start modifying done view and do some refactoring
2011-07-09 17:19:11 +02:00
Reinier Balt
a797b83f86
fix #1173 and fix #1175 where renaming a project or context to an existing name using REST will fail with status 406
2011-06-10 23:30:51 +02:00
Reinier Balt
6d66406d8c
fix #1103 . The xml output contained an unintended empty context
2011-02-11 16:18:59 +01:00
Reinier Balt
e13e946295
migrate adding to actions on all pages
2011-02-03 18:18:38 +01:00
Reinier Balt
0e81706fee
fix last functional and integration tests after merge and jquery changes
2011-02-03 18:17:13 +01:00
Reinier Balt
fb39d841a7
migrate editing a context and refactor project with it
2011-02-03 18:17:08 +01:00
Reinier Balt
e52a8609c7
migrate deleting of contexts
2011-02-03 18:17:06 +01:00
Reinier Balt
15fdb1e572
migrate creating a new context and refactor some project js to share with context js
2011-02-03 18:17:05 +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