Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-05Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc32GitLab Bot
2020-08-20Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-06-18Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot
2019-11-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-10Add controller concern for paginated collectionsMarkus Koller
We had similar code in a few places to redirect to the last page if the given page number is out of range. This unifies the handling in a new controller concern and adds usage of it in all snippet listings.
2019-07-04Change 'Todo' to 'To Do'Christie Lenneville
Currently, we label items to be done as "Todo." This is grammatically incorrect and (therefore) confusing—especially to our Spanish-speaking users for whom "todo" has a specific and unrelated meaning. We should use "To Do" and always use it as singular (not "To Dos"). Updates to wording in a few places per MR (ee) discussion Updating locale/gitlab.pot Updates to wording in a few places per MR (ee) discussion Updating locale/gitlab.pot
2019-06-24Rename Todos.with_api_entity_associations to with_entity_associationsStan Hu
Since this scope is used in both the controller and the API, we rename it to make it clear that it's used for both.
2019-06-24Eliminate N+1 queries in Dashboard::TodosControllerStan Hu
This appears to bring down the number of SQL queries on GitLab.com for my Todos page from 672 to 100. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/43042
2019-03-27Externalize strings in projects controllersMartin Wortschack
- concerns - dashboard - groups - import
2018-11-29Merge branch 'security-private-group' into 'master'Cindy Pallares
[master] Fixed read private group names See merge request gitlab/gitlabhq!2589
2018-09-23Enable more frozen string in app/controllers/gfyoung
Enables frozen string for the following: * app/controllers/dashboard/**/*.rb * app/controllers/explore/**/*.rb * app/controllers/google_api/**/*.rb * app/controllers/groups/**/*.rb * app/controllers/import/**/*.rb * app/controllers/instance_statistics/**/*.rb * app/controllers/ldap/**/*.rb * app/controllers/oauth/**/*.rb * app/controllers/profiles/**/*.rb Partially addresses #47424.
2018-09-11Disable existing offenses for the CodeReuse copsYorick Peterse
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
2018-08-02Revert "Revert "Merge branch 'ee-5481-epic-todos' into 'master'""Jarka Kadlecová
This reverts commit 8717c7dad9b5a8fa21ec9a652c54718a6b4c2175.
2018-07-11Revert "Merge branch 'ee-5481-epic-todos' into 'master'"Jarka Kadlecová
This reverts commit 4d9a3f42f1fd3be21555e19872b7121cca65015e, reversing changes made to ecf9c145f6e4d170cd059df88743393d9e63c489.
2018-07-03[backend] Addressed review commentsJan Provaznik
* Group filtering now includes also issues/MRs from subgroups/subprojects * fixed due_date * Also DRYed todo controller specs
2018-04-08[Rails5] Add `safe_params` helperblackst0ne
Rails 5.0 requires to explicitly permit attributes when building a URL using current `params` object. The `safe_params` helper allows developers to just call `safe_params.merge(...)` instead of manually adding `permit` to every call. https://github.com/rails/rails/pull/20868
2017-11-09Fix access to the final page of todosSean McGivern
The todos page limit is 20, and both that and a user's pending todo count are integers. Using integer division means that the result's floor will be taken, defeating the point of the later call to `#ceil`. So we need to convert one side of the division to a float first, otherwise the last page won't be treated as available.
2017-10-04Save a query on the todos index pageSean McGivern
When there are no filters, we can get the total todos count from the cached count on the user object, instead of performing a DB query. This query takes about 80ms for me on GitLab.com.
2017-08-03Avoid plucking Todo ids and use sub-queries insteadToon Claes
TodoService should not call `.select(&:id)` on todos, because this is bad performance. So instead use sub-queries, which will result in a single SQL query to the database. https://docs.gitlab.com/ee/development/sql.html#plucking-ids
2017-07-20Merge branch '33303-404-for-unauthorized-project' into 'security-9-3'Sean McGivern
[9.3 security fix] Renders 404 if given project is not readable by the user on Todos dashboard See merge request !2118
2017-06-10Test todos_count_format helper at the correct level to improve speedRobert Speicher
Instead of an integration test that creates 101 Todo records to test a simple view helper, just unit test the helper.
2017-06-07Add a rubocop rule to check if a method 'redirect_to' is used without ↵blackst0ne
explicitly set 'status' in 'destroy' actions of controllers
2017-04-29Revert "Merge branch 'tc-no-todo-service-select' into 'master'"Stan Hu
This reverts merge request !10845
2017-04-27Avoid plucking Todo ids and use sub-queries insteadToon Claes
TodoService should not call `.select(&:id)` on todos, because this is bad performance. So instead use sub-queries, which will result in a single SQL query to the database. https://docs.gitlab.com/ee/development/sql.html#plucking-ids
2017-04-06Merge branch 'open-redirect-host-fix' into 'security' Sean McGivern
Fix for three open redirect vulns using redirect_to url_for(params.merge))) See merge request !2082
2017-03-21Revert "Merge branch '29534-todos-performance' into 'master'"Sean McGivern
This reverts merge request !10076
2017-03-20Todos performance: Include associations in FinderJarka Kadlecova
2017-03-16Add 'Undo mark all as done' to TodosJacopo
Added the ability to 'Undo mark all as done' todos marked as complete with 'Mark all as done' in the 'Todo' tab of the Todo dashboard. The operation undos only the todo previously marked as done with the 'Mark al as done' button.
2017-02-22fixes delimiter removes when todo marked as doneNur Rony
2017-02-21change todos counter position & format ( for large counts )mhasbini
2017-02-18Todo done clicking is kind of unusable.Jacopo
The Done button will change to an Undo button and the line item will be greyed out. Bold links will be unbolded. The user can undo the task by clicking the Undo button.
2016-12-23applies url_for so that we dont lose filters when redirectingTiago Botelho
2016-12-22adds specs for respective behaviourTiago Botelho
2016-12-22Prevent empty pagination when list is not emptyTiago Botelho
2016-08-20Merge branch 'issue_18135' into 'master' Douwe Maan
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-19Todos sorting dropdownFelipe Artur
2016-08-18Rename TodoService#mark_todos_as_done_by_id{,s}Ahmad Sherif
2016-08-18Implement TodoService#mark_todos_as_done_by_idAhmad Sherif
Follow-up on 52b0c26
2016-08-18Simplify SQL queries of marking a todo as doneAhmad Sherif
2016-08-12Recover usage of Todos counter cachePaco Guzman
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-07-12Cache todos pending/done dashboard query countsPaco Guzman
2016-06-17Ensure Todos counters doesn't count Todos for projects pending deleteDouglas Barbosa Alexandre
2016-06-17Cache todo counters (pending/done)Paco Guzman
- 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-05-18Merge branch 'meinac/gitlab-ce-change_deprecated_render_usage'Dmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-20Use the configured Kaminari "per page" defaultRobert Speicher
2016-03-18Use todo.done without ! in the controller to mark todo as doneDouglas Barbosa Alexandre
2016-03-17Mark all as done through AJAXPhil Hughes