Dmitriy Zaporozhets
2fc236177f
Merge pull request #3801 from holdtotherod/feature/internally-public-projects
...
Internally public projects
2013-05-03 00:00:48 -07:00
Dmitriy Zaporozhets
f40d4e6685
Merge pull request #3597 from amacarthur/fork-pull-request
...
updated fork feature to use gitlab-shell for v5 of gitlab
2013-05-02 23:41:07 -07:00
Angus MacArthur
ec63804831
Made fixes suggested by @randx in pull request
...
See https://github.com/gitlabhq/gitlabhq/pull/3597#discussion-diff-4014638
2013-05-02 16:41:33 -04:00
Stephen Lottermoser and Stephen Lottermoser
4c44c5ef9a
Internally public projects
...
Public projects listed in the public section will be linked to the
actual project's page. Public projects now give any user Guest
permissions to the project, allowing them to download the code, read
and create issues, and view anything else in the project's pages.
Ample access tests have been added to the project_access_spec to
verify correct permissions and behavior on public projects.
- Visitors to the site who are not logged in still cannot view the
project's pages.
- Logged-in users visiting a public project where they are not a team
member can create issues, but not snippets. They can view the projects
code, issues, merge requests, etc, just as if they were a Guest member
of the project.
- Since this is a public project, the user is also granted :download_code
permissions, a permission normally reserved for Reporters, since they
can clone the repo anyways and browse commits and branches locally.
2013-05-02 00:06:59 -07:00
Dmitriy Zaporozhets
693878cf38
Cache repo size inside repo model
2013-04-28 23:04:56 +03:00
Sato Hiroyuki
b36b40ca40
Fix minor bug about line overlap.
2013-04-25 20:53:40 +00:00
Sato Hiroyuki
63b58b9491
Reducing database access.
2013-04-24 15:06:31 +00:00
Dmitriy Zaporozhets
edf41005b2
Add project labels support
2013-04-16 12:45:45 +03:00
Dmitriy Zaporozhets
d74d7c7cfb
Update app code to use Gitlab::Git::Diff
2013-04-15 19:02:05 +03:00
Dmitriy Zaporozhets
6a4a17f339
Remove native git calls from MR. Dump diff as array, not class
2013-04-15 19:01:36 +03:00
Angus MacArthur
ae33fdf297
updated fork feature to use gitlab-shell for v5 of gitlab
2013-04-15 01:54:52 -04:00
Dmitriy Zaporozhets
0ae892007d
Remove Wiki and db table since we use gollum now
2013-04-10 22:20:00 +03:00
Dmitriy Zaporozhets
c610f2da55
fix gollum git instructions. related to #3562
2013-04-10 14:35:44 +03:00
Dmitriy Zaporozhets
0f2798d498
Merge branch 'feature/refactoring_scopes_pr' of https://github.com/Undev/gitlabhq into Undev-feature/refactoring_scopes_pr
...
Conflicts:
db/schema.rb
2013-04-09 20:37:04 +03:00
Dmitriy Zaporozhets
c34288fa27
Override Issue opened scope. Now reopened issues also included
2013-04-09 15:04:31 +03:00
Dmitriy Zaporozhets
f4ae433d90
Increase event title font size on dashboard activity feed
2013-04-06 15:53:35 +03:00
Dmitriy Zaporozhets
cd6280f4fe
Use data[:commits] hash from event to render push info on dashboard
2013-04-05 19:47:45 +03:00
Dmitriy Zaporozhets
25856a47e5
save each notification setting with ajax on change
2013-04-04 22:11:51 +03:00
Dmitriy Zaporozhets
98b7717df7
Remove user decorator
2013-04-04 10:53:39 +03:00
Dmitriy Zaporozhets
568ce1edd7
Fix notes for commits inside MR being squashed in one discussion
2013-04-04 09:58:12 +03:00
Dmitriy Zaporozhets
64fb2c595a
fix not inline comments being hidden cause line_code = ''
2013-04-04 09:50:18 +03:00
Dmitriy Zaporozhets
d9ab7ba6eb
Fixed wrong order of arguments in network graph caused by refactoring
2013-04-03 22:37:07 +03:00
Dmitriy Zaporozhets
3011ac4150
Refactoring and cleanup. Removed unused commit finders
2013-04-03 21:05:10 +03:00
Dmitriy Zaporozhets
9f4fde04f5
Dont show project limit sidebar if user can own 100+ more projects
2013-04-03 18:36:37 +03:00
Andrey Kumanyaev
85e039049c
Fix tests
2013-04-03 07:06:18 +04:00
Andrey Kumanyaev
734d6fcdf0
Perfomance updating Project activity sort
2013-04-03 06:21:04 +04:00
Andrey Kumanyaev
41bbbb6df0
Update model methods
2013-04-03 06:20:52 +04:00
Dmitriy Zaporozhets
03f41e2820
Gitlab::Git::Tree & Blob added
2013-04-02 22:37:20 +03:00
Dmitriy Zaporozhets
5f4445c3d3
store commits for MR as array of hashes
2013-04-02 21:30:36 +03:00
Dmitriy Zaporozhets
af657b0509
reset st_commits before setting new value to prevent error when old st_commits is broken
2013-04-02 11:32:41 +03:00
Dmitriy Zaporozhets
9a26e9a0d6
Dont init repo on every create(:repo)
2013-04-01 17:27:44 +03:00
Dmitriy Zaporozhets
541d899410
Project.repository should never be nil so you can call repository.exists? or repository.empty?
...
Also specify separate project factory for project with filled repo
2013-04-01 16:56:25 +03:00
Dmitriy Zaporozhets
49b024f5f5
Use Gitlab::Git:: for git features across application
2013-04-01 16:04:35 +03:00
Dmitriy Zaporozhets
7bb71bb088
Fix stubbed repo
2013-04-01 09:21:31 +03:00
Dmitriy Zaporozhets
458631c5ba
remove unnecessary Commit.new
2013-03-31 23:58:17 +03:00
Dmitriy Zaporozhets
bbfbff3add
Extend models functionality with old decorator methods. Use Repository model
2013-03-31 23:48:12 +03:00
Dmitriy Zaporozhets
a0bca5b71d
Add Repository model to proxy request to Gitlab::Git::Repositoty and decorate commits with Commit model
2013-03-31 23:45:38 +03:00
Dmitriy Zaporozhets
26323046fd
Decorate Gitlab::Git::Commit with Commit
2013-03-31 19:00:45 +03:00
Dmitriy Zaporozhets
9dc644635f
Fix tests and remove app/models/repository.rb
2013-03-31 18:50:17 +03:00
Dmitriy Zaporozhets
154e54b46e
Remove grit logic from app/
2013-03-31 18:49:58 +03:00
Dmitriy Zaporozhets
71b0f8ea0b
Use existing methods for branch names: Ex use @repository.branch_names instead of @repository.heads.map(&:name)
2013-03-31 17:08:10 +03:00
Dmitriy Zaporozhets
1c5a393c95
Merge pull request #3406 from docwhat/in_projects
...
Fixed UsersProject.in_projects
2013-03-30 15:03:44 -07:00
Dmitriy Zaporozhets
a18ce40943
Revert "First step with rugged"
...
This reverts commit 4524ba20b8 .
2013-03-28 23:01:42 +02:00
Dmitriy Zaporozhets
4524ba20b8
First step with rugged
2013-03-28 21:57:38 +02:00
Dmitriy Zaporozhets
5ad4be295f
remove notify checkboxes from note forms
2013-03-28 15:39:18 +02:00
Dmitriy Zaporozhets
d55ade1686
notification scaffold
2013-03-27 19:04:29 +02:00
Dmitriy Zaporozhets
5f14a6bcf8
annotated
2013-03-27 18:26:37 +02:00
Christian Höltje
b8502cbaee
Fixed UsersProject.in_projects
...
I discovered while trying to use UserTeam#remove_member() that
UsersProject.in_projects was broken. So I wrote test cases to test what
I was trying to do and fixed the underlying problem.
2013-03-26 10:19:55 -04:00
Dmitriy Zaporozhets
4b3950456d
notification level for user
2013-03-26 10:48:07 +02:00
Dmitriy Zaporozhets
9d92433a7c
login with both email or username
2013-03-25 16:10:14 +02:00