Douwe Maan
c620c40575
Merge branch 'issue_18135' into 'master'
...
Todos sorting dropdown
Implements #18135
![todos_sorting](/uploads/bff76827c421628134dfb8b864e47c74/todos_sorting.png)
- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG ) entry added
- Tests
- [x] Added for this feature/bug
- [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides )
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits )
See merge request !5691
2016-08-19 23:06:30 +00:00
Felipe Artur
37bf35f0bc
Todos sorting dropdown
2016-08-19 16:14:20 -03:00
Ahmad Sherif
4ad028aed4
Rename TodoService#mark_todos_as_done_by_id{,s}
2016-08-18 17:46:24 +02:00
Ahmad Sherif
548da42be5
Implement TodoService#mark_todos_as_done_by_id
...
Follow-up on 52b0c26
2016-08-18 17:46:24 +02:00
Ahmad Sherif
30654fc9c1
Simplify SQL queries of marking a todo as done
2016-08-18 17:46:24 +02:00
Paco Guzman
f8b53ba20b
Recover usage of Todos counter cache
...
We’re being kept up to date the counter data but we’re not using it.
The only thing which is not real if is the number of projects that the
user read changes the number of todos can be stale for some time.
The counters will be sync just after the user receives a new todo or mark any as done
2016-08-12 18:21:36 +02:00
Paco Guzman
244134f9c3
Cache todos pending/done dashboard query counts
2016-07-12 18:57:52 +02:00
Douglas Barbosa Alexandre
2878c99005
Ensure Todos counters doesn't count Todos for projects pending delete
2016-06-17 16:17:43 -03: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
Dmitriy Zaporozhets
253a017b01
Merge branch 'meinac/gitlab-ce-change_deprecated_render_usage'
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-05-18 12:48:23 -05:00
Robert Speicher
085538c2bd
Use the configured Kaminari "per page" default
2016-03-19 17:37:54 -04:00
Douglas Barbosa Alexandre
fb72271e24
Use todo.done without ! in the controller to mark todo as done
2016-03-18 11:00:53 -03:00
Phil Hughes
41c107becc
Mark all as done through AJAX
2016-03-17 13:08:59 +00:00
Phil Hughes
421215e338
Removed the flash success message
...
Removes the group if empty
2016-03-17 12:54:02 +00:00
Jacob Schatz
fa570525db
Adds small AJAX optimistic functionality to todos.
...
Fixes #13656
A good first step and boring solution.
2016-03-17 12:20:14 +00:00
Mehmet Emin İNAÇ
6a0ea605e8
Change deprecated usage of rendering without response body
...
`render nothing: true` has been deprecated.
For more information see [pr](https://github.com/rails/rails/pull/20336 )
2016-03-16 03:16:25 +02:00
Douglas Barbosa Alexandre
28097398c5
Does not raise an error when Todo is already marked as done
2016-02-23 10:43:29 -03:00
Douglas Barbosa Alexandre
f37765efa2
Use before_action instead of before_filter
2016-02-21 12:52:37 -03:00
Douwe Maan
d53ae7f14d
Add "Mark all as done" button
2016-02-20 11:59:19 -08:00
Douglas Barbosa Alexandre
f42b1fa6e5
Fix rubucop offenses
2016-02-20 13:10:37 -02:00
Douglas Barbosa Alexandre
3d52e139b1
Rename Tasks to Todos
2016-02-20 12:39:27 -02:00