Dmitriy Zaporozhets
2c796a1785
Cache project branches and tags into variables
2015-03-21 13:44:11 -07:00
Dmitriy Zaporozhets
d03d636304
Merge branch 'changelog-link' into 'master'
...
Add changelog, license and contribution guide links to project sidebar.
If the version is known, the "Version: 7.9.0pre" button links to the changelog, otherwise a "View changelog" button is shown.
![Screen_Shot_2015-03-18_at_14.22.29](https://dev.gitlab.org/gitlab/gitlabhq/uploads/747acc018ec9a188098e0f0bc4e91cc3/Screen_Shot_2015-03-18_at_14.22.29.png )
See merge request !1708
2015-03-18 18:02:39 +00:00
Douwe Maan
b1b8261f56
Add license and contribution guide links to project sidebar.
2015-03-18 16:17:43 +01:00
Douwe Maan
6581aea3bf
Link project version to changelog if there is one.
2015-03-18 14:08:26 +01:00
Douwe Maan
88f9ed3d19
Move finding of contributing file from tree to repository.
2015-03-18 14:08:26 +01:00
Hannes Rosenögger
9e5738b007
Extend the commit calendar to show the actual commits for a date
2015-03-18 08:42:42 +01:00
Douwe Maan
f96dc6295a
Everything from gitlab_git is already UTF-8.
2015-03-13 13:49:27 +01:00
Stan Hu
b26ab0ceeb
This MR extends the commit calendar so it searches for commits made with every email address the user has associated with his account.
...
This fixes one of the problems mentioned in gitlab-org/gitlab-ce#1162 and makes the behavior of the commit calendar as described in the profile.
"All email addresses will be used to identify your commits."
2015-03-09 21:43:54 -07:00
Hannes Rosenögger
10212c01fd
Count commits in branches as well in the commit calendar
2015-03-03 15:31:05 +01:00
Dmitriy Zaporozhets
1511506f72
Fix git syntax issue
2015-02-25 15:17:20 -08:00
Robert Speicher
4eafc18843
Refactor Repository to use new RepositoryCache class
...
Abstracts away the lower-level implementation details from the
Repository model.
2015-01-29 13:03:47 -05:00
Dmitriy Zaporozhets
a9288e554e
Cleanup and make contribution calendar faster
2015-01-29 00:53:43 -08:00
Hannes Rosenögger
792ced2f41
Add a commit calendar to the user profile
2015-01-29 01:25:26 +01:00
Hannes Rosenögger
8243eb3f0e
Show tags in commit view
2015-01-17 19:22:35 +01:00
Dmitriy Zaporozhets
daa55f31d8
Dont raise exception when wrong commit id passed
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-10-10 15:58:11 +03:00
Dmitriy Zaporozhets
adc84bf8b4
Merge pull request #7906 from mr-vinn/fix-graph-log
...
Replace Gitlab::Git::GitStats
2014-09-30 12:19:05 +03:00
Dmitriy Zaporozhets
e145f46a93
Fix contributors api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-30 11:56:48 +03:00
Vinnie Okada
31abf76840
Replace Gitlab::Git::GitStats
...
The `GitStats` class has been removed from gitlab_git, so parse commits
directly in `Repository#graph_log`.
2014-09-29 22:58:21 -05:00
Jacob Vosmaer
51f8352dca
Keep tmp/repositories during clean-up
2014-09-29 17:02:45 +02:00
Dmitriy Zaporozhets
88b1e0ffcd
Faster branch contains detection for commit
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-29 16:40:13 +03:00
Dmitriy Zaporozhets
44bc5fe5d6
Improve commits data loading on Tree page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-29 14:40:36 +03:00
Dmitriy Zaporozhets
20e0c9b132
Rewrite graphs feature
...
* remove commits stats page (will be replaced by graphs)
* remove additions/deletions from graph because of bad performance
* keep graph logic in gitlab
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-26 18:04:41 +03:00
Dmitriy Zaporozhets
3a106cbcd3
Fix graphs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-25 15:06:41 +03:00
Dmitriy Zaporozhets
b13c1469a3
Rollback diff drop and set default commit id to HEAD
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-25 12:46:30 +03:00
Sean Edge
468b2e8e0b
Added annotated tags. Updated tag haml file and call to gitlab-shell. Updated API for annotated tags. Added tests for API. Strip leading/trailing whitespace from message, if present. Update CHANGELOG.
2014-09-04 09:47:20 -04:00
Dmitriy Zaporozhets
ddd238eff8
Revert "history for files follows after rename"
...
This reverts commit a547356133
.
Because grit does not respect offset setting when follow: true which
cause invalid commit history for file
2014-08-11 13:00:37 +03:00
Dmitriy Zaporozhets
42d4ed3a40
Merge pull request #7417 from woita/follow-history-for-files
...
history for files follows after rename
2014-08-11 12:41:00 +03:00
Walter Kreilinger
a547356133
history for files follows after rename
2014-08-02 03:54:39 +02:00
Dmitriy Zaporozhets
2a6fc1c5de
Repository#path_to_repo should always return absolute path
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-31 20:12:49 +03:00
Dmitriy Zaporozhets
ddaa493ef3
Improve MR building
...
* fix 500 error when no parent for initial commit
* fix link from diff files to wrong commit
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-28 20:54:40 +03:00
Steven Mok
69dc5461c3
Fix timeout error when preparing git graph.
2014-07-18 23:03:23 +08:00
Dmitriy Zaporozhets
767bd78081
Use Contributor class instead of hash
2014-07-02 15:09:06 +03:00
Dmitriy Zaporozhets
5a88873e5c
Move API contributors logic to repository model
2014-07-02 14:43:23 +03:00
Dmitriy Zaporozhets
af7e77984c
Show VERSION information on project sidebar
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-25 12:07:06 +03:00
Dmitriy Zaporozhets
7ed935b676
Use gitlab_git to get commit_count in repo. It allows get commits count for git repos with 100k+ commits
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-11 23:13:31 +03:00
Corey Hinshaw
62e523f4f4
Project commit count respects default branch. Closes #299
2014-06-03 11:22:29 -04:00
Dmitriy Zaporozhets
695fd3cf2c
Move protected branches to Project settings
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-05-23 14:25:55 +03:00
Marin Jankovski
b2959c4102
Remove archives older than 2 hours.
2014-04-09 15:09:11 +02:00
Dmitriy Zaporozhets
a1e5d4e8b5
Merge pull request #6382 from jvanbaarsen/contribution-guide-link
...
Contribution guide link
2014-02-26 18:22:22 +02:00
Dmitriy Zaporozhets
05c5b77070
Fix submodules 500 error
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-24 13:22:00 +02:00
Jeroen van Baarsen
bb35c2d36f
Added the contribution guide notice
...
This is shown at the creation of new issues and new merge requests, when
the repository has a contribution guide file.
2014-02-22 16:37:10 +01:00
Dmitriy Zaporozhets
ddbe978041
Complete api files CRUD
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-18 12:27:02 +02:00
Dmitriy Zaporozhets
9a3d665919
Show last commit for Blob#show
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-10 21:46:46 +02:00
Dmitriy Zaporozhets
bed05a1381
Fix submodule_helper specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-10 13:02:26 +02:00
Dmitriy Zaporozhets
55572c4e86
Repository#blob_at_branch
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-05 11:39:55 +02:00
Dmitriy Zaporozhets
97a4d8aea4
Improve code according to new gitlab_git
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-04 14:46:15 +02:00
Dmitriy Zaporozhets
ca7e4a948b
Use new tags/branches from gitlab_git
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-03 18:13:24 +02:00
Dmitriy Zaporozhets
81fe86b427
README link from project home page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-29 13:52:10 +02:00
Dmitriy Zaporozhets
a7d3e2b9b6
Fix recent branches order. Added counters
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-15 09:18:06 +02:00
Dmitriy Zaporozhets
9d14c5137a
Project#default_branch use repo HEAD instead of DB value now
...
Drop default_branch field from projects table
Use repository.root_ref as value for defautl_branch method
Fixes issue with default_branch and HEAD getting out of sync
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-06 18:45:39 +02:00