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
2018-01-31Enable RuboCop Style/RegexpLiteralTakuya Noguchi
2018-01-24Use limit for search count queriesJan Provaznik
Search query is especially slow if a user searches a generic string which matches many records, in such case search can take tens of seconds or time out. To speed up the search query, we search only for first 1000 records, if there is >1000 matching records we just display "1000+" instead of precise total count supposing that with such amount the exact count is not so important for the user. Because for issues even limited search was not fast enough, 2-phase approach is used for issues: first we use simpler/faster query to get all public issues, if this exceeds the limit, we just return the limit. If the amount of matching results is lower than limit, we re-run more complex search query (which includes also confidential issues). Re-running the complex query should be fast enough in such case because the amount of matching issues is lower than limit. Because exact total_count is now limited, this patch also switches to to "prev/next" pagination. Related #40540
2018-01-11Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉
2017-09-07Merge branch '23079-remove-default-scope-in-sortable' into 'master'Douwe Maan
Removes default scope from sortable Closes #23079 See merge request !13558
2017-09-07Removes default scope from sortableTiago Botelho
2017-09-06change collapse to resolve and comments to discussionsAshley Dumaine
2017-09-06Add functionality to collapse outdated diff comments regardless of ↵Ashley Dumaine
discussion resolution
2017-08-14Cache the number of forks of a projectYorick Peterse
The number of forks of a project doesn't change very frequently and running a COUNT(*) every time this information is requested can be quite expensive. We also end up running such a COUNT(*) query at least twice on the homepage of a project. By caching this data and refreshing it when necessary we can reduce project homepage loading times by around 60 milliseconds (based on the timings of https://gitlab.com/gitlab-org/gitlab-ce).
2017-06-21Filter archived project in API v3 only if param presentvanadium23
2017-06-02Enable the Style/PreferredHashMethods copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-31Remove some deprecated methodsToon Claes
To avoid the use of slow queries, remove some deprecated methods and encourage the use of ProjectFinder to find projects.
2017-05-10Enable the Style/TrailingCommaInArguments copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-02Support uploaders for personal snippets commentsJarka Kadlecova
2017-04-06ProjectsFinder should handle more optionsJacopo
Extended ProjectFinder in order to handle the following options: - current_user - which user use - project_ids_relation: int[] - project ids to use - params: - trending: boolean - non_public: boolean - starred: boolean - sort: string - visibility_level: int - tags: string[] - personal: boolean - search: string - non_archived: boolean GroupProjectsFinder now inherits from ProjectsFinder. Changed the code in order to use the new available options.
2017-03-16Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵Rémy Coutable
API routes Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-01Update occurrences of MWBS to MWPSJames Lopez
Rename column in the database Rename fields related to import/export feature Rename API endpoints Rename documentation links Rename the rest of occurrences in the code Replace the images that contain the words "build succeeds" and docs referencing to them Make sure pipeline is green and nothing is missing. updated doc images renamed only_allow_merge_if_build_succeeds in projects and fixed references more updates fix some spec failures fix rubocop offences fix v3 api spec fix MR specs fixed issues with partials fix MR spec fix alignment add missing v3 to v4 doc wip - refactor v3 endpoints fix specs fix a few typos fix project specs copy entities fully to V3 fix entity error more fixes fix failing specs fixed missing entities in V3 API remove comment updated code based on feedback typo fix spec
2017-02-28Merge branch '6073_project_api' into 'master' Sean McGivern
API project create: Make name or path required Closes #6073 See merge request !9416
2017-02-28Backport API to V3Robert Schilling
2017-02-27API project create: Make name or path requiredJarka Kadlecova
2017-02-23Enable Style/MultilineArrayBraceLayoutDouwe Maan
2017-02-23Enable Style/SpaceInsideBracketsDouwe Maan
2017-02-22Remove deprecated `upvotes` and `downvotes` from the notes APIRobert Schilling
2017-02-07Split V3 entities into a separate fileRobert Schilling
2017-01-30Remain V3 endpoint unchangedOswaldo Ferreira