Commit graph

9 commits

Author SHA1 Message Date
Paco Guzman
244134f9c3 Cache todos pending/done dashboard query counts 2016-07-12 18:57:52 +02:00
Douwe Maan
b218e82b5c Merge branch 'issuable-todo-improvements'
# Conflicts:
#	app/controllers/projects/todos_controller.rb
2016-06-18 00:42:36 +02:00
Paco Guzman
f6bfa46daa Cache todo counters (pending/done)
- As todos are created/updated inside the TodoService
we repopulate the cache just there for both pending/done todos
- Todos as mark as done from the TodosController we update cache
there too
- All the added methods are kept in the User class for cohesion
2016-06-17 19:04:36 +02:00
Phil Hughes
851a088365 Removed todo from JSON response
Frontend doesnt use it
2016-06-17 09:17:09 +01:00
Phil Hughes
b56965c5bb Correctly checks if user is logged in when adding todo 2016-06-17 09:06:00 +01:00
Phil Hughes
85fab13eba Improved manual todos
Based on feedback from !4502
2016-06-17 09:01:03 +01:00
Phil Hughes
16970d07e8 Returns created todos to control rather than re-query 2016-06-14 08:36:07 +01:00
Phil Hughes
330e913681 Uses update URL to update the status of a todo 2016-06-14 08:36:07 +01:00
Phil Hughes
20d382a891 Moved todo creation over to project todos controller 2016-06-14 08:36:07 +01:00