summaryrefslogtreecommitdiff
path: root/app/models/network
Commit message (Collapse)AuthorAgeFilesLines
* Fix Gitaly n+1 in NetworkController#showAndrew Newdigate2018-03-061-6/+1
|
* Remove allow_n_plus_1 block from Network::Graphfix/remove-allow-n-plus-1-from-network-graphAhmad Sherif2018-02-131-5/+2
| | | | | Closes #37436 Closes gitaly#998
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
|
* Detect n+1 issues involving GitalyAndrew Newdigate2017-09-191-2/+5
|
* replace `is_overlap?` with `overlap?`Maxim Rydkin2017-08-291-2/+2
|
* Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelistsRobert Speicher2017-08-141-1/+1
| | | | | An upcoming update to rubocop-gitlab-security added additional violations.
* Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-copRémy Coutable2017-08-091-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove Gitlab::Git::Repository#find_allJacob Vosmaer2017-06-271-1/+1
|
* Fix ordering of commits in the network graph.Timothy Andrew2017-04-271-1/+2
| | | | | | | | | | | | | | | - We upgraded `rugged` to 0.25.1.1 in !10286 for %9.1 - Prior to this upgrade, the default sort order for commits returned by `Gitlab::Git::Repository#find_commits` was `Rugged::SORT_DATE`, which the graph relied on. - While upgrading `rugged`, the MR also changed this default to `Rugged::SORT_NONE`, which broke commit ordering in the graph. - This commit adds an option to `Gitlab::Git::Repository#find_commits` to sort by date, and changes the graph builder `Network::Graph` so it explictly requests the `:date` sort order
* Revert "Enable Style/DotPosition"Douwe Maan2017-02-232-8/+8
| | | | | | | | | | | | | | | This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
* Revert "Prefer leading style for Style/DotPosition"Douwe Maan2017-02-232-8/+8
| | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
* Prefer leading style for Style/DotPositionDouwe Maan2017-02-232-8/+8
|
* Fix code for copsDouwe Maan2017-02-231-5/+6
|
* Enable Style/ConditionalAssignmentDouwe Maan2017-02-231-3/+3
|
* Enable Style/DotPositionDouwe Maan2017-02-232-8/+8
|
* Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741Rydkin Maxim2016-12-161-2/+2
|
* Enable Style/SpaceAfterComma Rubocop coprubocop/enable-space-after-copsGrzegorz Bizon2016-06-291-2/+2
|
* Merge branch 'style/enable-semicolon-rubocop-cop' into 'master' Robert Speicher2016-06-011-1/+1
|\ | | | | | | | | | | | | | | | | Enable Style/Semicolon rubocop style cop Don't use semicolons to terminate expressions. See #17478. See merge request !4351
| * Enable Style/Semicolon rubocop style copstyle/enable-semicolon-rubocop-copGrzegorz Bizon2016-06-011-1/+1
| | | | | | | | See #17478
* | Enable Style/For rubocop coprubocop/enable-style-for-copGrzegorz Bizon2016-06-011-3/+3
|/ | | | | | Do not use for, unless you know exactly why. See #17478
* Merge branch 'rubocop/enable-space-before-comma-cop' into 'master' Robert Speicher2016-05-301-3/+10
|\ | | | | | | | | | | | | | | | | Enable Style/SpaceBeforeComma rubocop cop No spaces before commas. See #17478 See merge request !4360
| * Enable Style/SpaceBeforeComma rubocop coprubocop/enable-space-before-comma-copGrzegorz Bizon2016-05-301-3/+10
| | | | | | | | | | | | No spaces before commas. See #17478
* | Merge branch 'style/enable-multiline-if-then-rubocop-cop' into 'master' Robert Speicher2016-05-301-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Enable Style/MultilineIfThen rubocop cop Do not use then for multi-line if. See #7478. See merge request !4353
| * | Enable Style/MultilineIfThen rubocop copstyle/enable-multiline-if-then-rubocop-copGrzegorz Bizon2016-05-301-5/+5
| |/ | | | | | | | | | | Do not use then for multi-line if. See #7478.
* | Enable Style/WhileUntilDo rubocop style copstyle/enable-while-until-do-rubocop-style-copGrzegorz Bizon2016-05-301-1/+1
|/ | | | See #17478
* Enable Style/InfiniteLoop Rubocop copcomplexity/rubocop-style-loopGrzegorz Bizon2016-05-231-1/+1
|
* Merge pull request #7999 from cirosantilli/append-inplaceDmitriy Zaporozhets2015-01-211-1/+1
|\ | | | | Append in place for strings and arrays [failure unrelated]
| * Append in place for strings and arraysCiro Santilli2015-01-011-1/+1
| |
* | Fix various typosSteven Burgart2015-01-181-1/+1
|/ | | | | | | | | | | | | | | signe-in -> signed-in go_to_gihub_for_permissions -> go_to_github_for_permissions descendand -> descendant behavour -> behaviour recepient_email -> recipient_email generate_fingerpint -> generate_fingerprint dependes -> depends Cant't -> Can't wisit -> visit notifcation -> notification sufficent_scope -> sufficient_scope? levet -> level
* Add parenthesis to function def with arguments.Ciro Santilli2014-10-031-1/+1
|
* Remove parent spacing. Fixes #7505Yvo van Beek2014-09-061-6/+0
|
* Remove grit requireDmitriy Zaporozhets2013-09-301-2/+0
|
* Remove the dependancy of grit from class Network::GraphHiroyuki Sato2013-08-202-32/+8
|
* Fix typosJohannes Schleifenbaum2013-07-291-2/+2
|
* Fix postgres error when displaying network graph.Sato Hiroyuki2013-06-021-1/+1
| | | | fix #4149
* Enable to filter graph by refSato Hiroyuki2013-05-131-2/+5
|
* Fix minor bug about line overlap.Sato Hiroyuki2013-04-251-1/+1
|
* Reducing database access.Sato Hiroyuki2013-04-241-1/+10
|
* Fixed wrong order of arguments in network graph caused by refactoringDmitriy Zaporozhets2013-04-031-1/+1
|
* Refactoring and cleanup. Removed unused commit findersDmitriy Zaporozhets2013-04-031-13/+10
|
* Remove grit logic from app/Dmitriy Zaporozhets2013-03-311-1/+1
|
* Rotating graph orientation.Sato Hiroyuki2013-03-201-25/+14
|
* Fix timeout error while showing the very large repo like git repo.Sato Hiroyuki2013-03-191-4/+21
|
* Refactor: removing duplicate code.Sato Hiroyuki2013-03-191-10/+14
|
* Refactor: Removing the duplicated code.Sato Hiroyuki2013-03-072-47/+39
|
* Refactor: change the map hash from a local variable to private variable.Sato Hiroyuki2013-03-071-34/+31
|
* Refacor: removing the times array, because that is same with @commits array.Sato Hiroyuki2013-03-071-21/+31
|
* Refactor: clean up models.Sato Hiroyuki2013-03-072-27/+20
| | | | | | | | | * Network::Commit ** Removing unnecessary accessors. ** Removing add_refs methods. * Network::Graph ** Removing unnecessary accessors. ** The 3 times loop of commits don't need.
* Refactor: rename module and class names.Sato Hiroyuki2013-03-072-0/+323
* Module: Graph -> Network * Class: JsonBuilder -> Graph