Dmitriy Zaporozhets
e8e9e0f771
Use own abilities for namespace class
2013-06-21 22:44:40 +03:00
Dmitriy Zaporozhets
439f399bec
Remove all team resources except models. Move models to deprecated directory
2013-06-18 21:22:34 +03:00
Dmitriy Zaporozhets
e940fbc7c1
Add UsersGroup relation to be respected by abilities and Project#team
2013-06-18 17:47:52 +03:00
Dmitriy Zaporozhets
81697850eb
create UsersGroup entity. Modify ability to check group owners instead one owner
2013-06-18 17:47:52 +03:00
Dmitriy Zaporozhets
470f9064fa
Merge pull request #4206 from babatakao/authorize_all_teams_to_admin
...
Authorize all teams to admin: fix 500 error on showing team page.
2013-06-06 07:14:50 -07:00
Dmitriy Zaporozhets
3cce570c4c
Allow forking of public projects by authenticated users. Fixes #4152
2013-06-06 14:16:08 +03:00
babatakao
86a262de1a
Authorize all teams to admin: fix 500 error on showing team page.
...
500 error was occured in the following steps:
1. user1 creates new team "team1".
2. Assign team1 to project1.
3. Sign in as admin. This admin is not a member of team1.
4. Open project1 team setting page (/project1/team).
5. Click "team1" link in "Assigned teams" area.
6. 500 error.
Fixed this issue.
2013-06-05 15:41:33 +09:00
Dmitriy Zaporozhets
213e117a52
Fixed ability and modify UI a bit
2013-06-04 18:50:42 +03:00
Dmitriy Zaporozhets
bcc4e4dc7e
Merge branch 'gist' of https://github.com/Andrew8xx8/gitlabhq into Andrew8xx8-gist
...
Conflicts:
Gemfile.lock
app/models/ability.rb
app/models/project.rb
app/views/snippets/_form.html.haml
db/schema.rb
features/steps/shared/paths.rb
spec/factories.rb
spec/models/project_spec.rb
2013-06-04 18:36:22 +03:00
Dmitriy Zaporozhets
de12eba25c
Dont show fork button in personal projects. Point to fork if already forked project
2013-05-08 19:40:31 +03:00
Dmitriy Zaporozhets
2fc236177f
Merge pull request #3801 from holdtotherod/feature/internally-public-projects
...
Internally public projects
2013-05-03 00:00:48 -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
Angus MacArthur
ae33fdf297
updated fork feature to use gitlab-shell for v5 of gitlab
2013-04-15 01:54:52 -04:00
Dmitriy Zaporozhets
850881a2ef
add admin ability to edit project settings from project area
2013-03-25 10:46:57 +02:00
Andrew8xx8
d4543eb5a7
Tests fixed
2013-03-25 11:20:14 +04:00
Andrew8xx8
e90aebe259
Personal snippets controlelr refactored
2013-03-25 02:17:03 +04:00
Andrew8xx8
5b35000f16
Snippets feature refactored. Tests now use spinach
2013-03-24 22:31:14 +04:00
Dmitriy Zaporozhets
92039dd677
Developers can merge MR if target branch is not protected
2013-02-27 20:20:31 +02:00
Dmitriy Zaporozhets
01a7250ba5
Add user to team he creates
2013-02-18 14:35:38 +02:00
Dmitriy Zaporozhets
00e4a479d3
allow/deny user to create group/team
2013-01-25 11:30:49 +02:00
Andrey Kumanyaev and Dmitriy Zaporozhets
7d3efec7d1
Add ability to teams
2013-01-24 22:31:24 +02:00
Dmitriy Zaporozhets
d1e63c7df2
Reporter cant create MR. Show user authorized projects in Admin area
2013-01-21 14:16:48 +02:00
GitLab
232d61d598
Refactor project creation. Added logout link to profile page
2013-01-17 17:35:57 +02:00
Dmitriy Zaporozhets
729088a7af
Owner can enable public mode for project
2013-01-16 16:54:01 +02:00
Dmitriy Zaporozhets
39ba934c0a
REpostiry, Team models
2013-01-03 21:09:18 +02:00
Dmitriy Zaporozhets
d431e43392
Fix few bugs and tests after refactoring ownership logic
2013-01-02 19:32:34 +02:00
Dmitriy Zaporozhets
91995909d9
Fix #2375 . Admin and owner can manage groups
2013-01-02 18:57:02 +02:00
Dmitriy Zaporozhets
e376f31507
Admin can move project to ANY namespace. Updated permissions page
2012-12-04 22:48:24 +02:00
Dmitriy Zaporozhets
2a1c5cdf99
Only owner of current namespace can change project namespace
2012-12-04 22:06:55 +02:00
Dmitriy Zaporozhets
eb3e07a509
Use project owner if no namespace. Restyled team page
2012-11-30 18:26:17 +02:00
Dmitriy Zaporozhets
eb1004f789
Refactor abilities. Added ProjectUpdate context. Fixed few bugs with namespaces
2012-11-29 12:39:03 +02:00
Dmitriy Zaporozhets
f37fa968b2
add ability to change namespace from project edit page
2012-11-24 22:00:30 +02:00
randx
0189ee97ed
Security for online editor. Replace dev_access?, master_access? with can? method usage
2012-10-21 12:12:14 +03:00
Andrey Kumanyaev
df7c52489a
simple refactoring
2012-10-09 04:10:04 +04:00
Nihad Abbasov
841e4fbd08
cosmetical cleanup of models
2012-09-27 02:05:53 -07:00
Dmitriy Zaporozhets
08994f3f60
Merge remote-tracking branch 'origin/merge_button'
...
Conflicts:
app/assets/javascripts/merge_requests.js
db/schema.rb
2012-04-21 12:22:56 +03:00
Dmitriy Zaporozhets
23d950855d
Milestone basic scaffold
2012-04-09 00:28:58 +03:00
Dmitriy Zaporozhets
90748cf724
Merge Button v1 complete
2012-03-30 20:49:34 +03:00
Dmitriy Zaporozhets
8c40aab120
Abilities extended. Resources security improved
2012-02-22 00:31:18 +02:00
Dmitriy Zaporozhets
49d58492f2
Wiki abilities
2012-02-20 21:16:55 +03:00
Valery Sizov
57271da612
Wiki: design fixed
2012-02-19 19:50:13 +02:00
Dmitriy Zaporozhets
4d89322d67
Snippets - fixed after bootstrap
...
Project - restyled show page, removed info page
Repository - restyled show page, added download option
Tags - added download options
2012-02-08 01:00:49 +02:00
Dmitriy Zaporozhets
ccc9bed893
Abilities refactoring
2011-12-15 23:57:46 +02:00
Dmitriy Zaporozhets
6d460aa2d6
merge request entity
2011-11-28 09:39:43 +02:00
Nihad Abbasov
d62200cad4
clean-up code
...
* Remove trailing whitespace
* Converts hard-tabs into two-space soft-tabs
* Remove consecutive blank lines
2011-10-26 18:46:25 +05:00
gitlabhq
783ca89796
security improved
2011-10-17 13:39:03 +03:00
gitlabhq
9265de3d25
snippets are ready
2011-10-17 00:07:10 +03:00
gitlabhq
9ba1224867
init commit
2011-10-09 00:36:38 +03:00