Marin Jankovski
42fb42aed4
Merge branch 'master' into developer_can_push_to_protected_branches_option
...
Conflicts:
db/schema.rb
2014-12-29 09:30:55 +01:00
Marin Jankovski
1c089a8561
Use shorter search for protected branch status.
2014-12-29 09:04:31 +01:00
Dmitriy Zaporozhets
803ca9e8cc
Merge pull request #7957 from cirosantilli/rm-unused-project-code
...
Remove unused Project#code function [failure unrelated]
2014-12-28 22:15:43 +02:00
Marin Jankovski
61b4214e94
Allow regular code push for developers if the protected branch allows it.
2014-12-26 09:35:49 +01:00
Jason Lippert
1fa19401e9
Teamcity interaction using 8.1 rest api
2014-12-23 12:38:25 -05:00
Dmitriy Zaporozhets
0d5265bbec
Execute project services asynchronously
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-07 12:29:37 +02:00
Dmitriy Zaporozhets
9d93729313
Move projects import to separate resource. Add bare repo creation to repository controller
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-11-30 00:50:25 +02:00
Dmitriy Zaporozhets
674cbe939c
Dont allow project creation without repository
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-11-29 21:34:18 +02:00
Dmitriy Zaporozhets
2139e3519b
Refactor merge request refresh logic on push
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-11-11 16:49:26 +02:00
Dmitriy Zaporozhets
ccd842c3a7
Prevent post-receive error when push to project with dead forks
...
If project has open merge request from fork and this fork was removed
before merge request was closed it cause exception during push
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-11-11 14:52:30 +02:00
Drew Blessing
776bca07cd
Add Atlassian Bamboo service
2014-10-28 05:20:36 -05:00
Dmitriy Zaporozhets
5ed7c20150
Prevent 500 error when filter projects with push in admin area
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-20 17:22:39 +03:00
Keith Pitt
4c7da578f2
Merge branch 'master' into buildbox-service
...
Conflicts:
app/models/project.rb
2014-10-08 16:33:53 +08:00
Keith Pitt
76594d474c
Added support for Buildbox
2014-10-08 16:30:04 +08:00
Ciro Santilli
d927499894
Remove unused Project#code function.
2014-10-04 10:54:00 +02:00
Sullivan SENECHAL
d1fa3b336d
Add Pushover service integration
...
That introduce select field type for services options.
2014-10-03 13:54:37 +02:00
Dmitriy Zaporozhets
03b44916ba
Merge pull request #7754 from Bugagazavr/hooks
...
More information in merge request hook
2014-10-03 13:37:19 +03:00
Ciro Santilli
2e9f5de868
Add parenthesis to function def with arguments.
2014-10-03 09:18:46 +02:00
Kirill Zaitsev
1c9d2e39c1
Hook attributes
2014-10-02 12:58:02 +04:00
Dmitriy Zaporozhets
16d530b7b0
Sort projects in search autocomplete by amount of stars. Most popular go first
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-25 19:41:49 +03:00
Dmitriy Zaporozhets
a5d23ae3c8
Fix MR commenting system when new commits pushed
...
This conmmit fixes wierd behaviour when you see wrong comments about new
commits in merge requests.
Short explanation of a bug:
When you push new commits to project we updated `project.merge_requests`
with comment about push. But `project.merge_requests` includes also
merge requests from forks to origin project. So when you push to master
branch it commented on all merge requests from forks to origin where
source_branch was `master`
2014-09-23 14:20:21 +03:00
Dmitriy Zaporozhets
8210d81381
Replace old references of users_project & users_group
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-14 19:51:54 +03:00
Dmitriy Zaporozhets
b0b05aa28d
Add comment to merge request when new push happens
...
It allows track when user added new commits to existing merge request
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-05 16:56:36 +03:00
jubianchi and jubianchi
0ac4a933ff
Filters issues by labels via API
2014-09-04 14:41:31 +02:00
Dmitriy Zaporozhets
8b00d01c67
Search by issue/mr title and description
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-27 12:47:30 +03:00
Dmitriy Zaporozhets
92deb451da
Annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-25 12:25:02 +03:00
Robert Schilling
9284038dbe
Add, delete labels via API
2014-08-13 12:28:19 +02:00
Dmitriy Zaporozhets
43d570e0ce
Fix 500 error when rename repository. Fixes #1473
2014-07-31 15:39:28 +03:00
Dmitriy Zaporozhets
d45a6b2941
Migrate issue/mr labels from act_as_taggable to own labels
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-29 19:19:26 +03:00
Dmitriy Zaporozhets
6fb9badcae
Replace project labels with tags to prevent name conflict with GitLab labels
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-29 18:23:18 +03:00
Dmitriy Zaporozhets
420ba2119b
Move star button to sidebar. Add counter to forks too
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-24 22:14:12 +03:00
Ciro Santilli
9b5c7a4d60
Add star count, view logic, more tests.
2014-07-17 22:47:16 +02:00
Ciro Santilli
714f7201d3
Add project stars.
2014-07-17 22:47:16 +02:00
Dmitriy Zaporozhets
d8f4c363d6
Merge pull request #7175 from jvanbaarsen/always-call-hooks
...
Call every service, even if one fails
2014-07-04 17:09:00 +03:00
Dmitriy Zaporozhets
d35a99e6cb
Merge pull request #7204 from cirosantilli/user-validation-msg
...
Fix username validation message to match regexp.
2014-07-02 09:57:14 +03:00
Dmitriy Zaporozhets
f3b31c4c5b
Merge pull request #6629 from sykano/fix-project-limit-for-groups
...
fix for project creation: group projects don't count towards user's project limit
2014-07-02 09:56:24 +03:00
Dmitriy Zaporozhets
4967c08786
Fix signup and project visibility
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-30 16:43:32 +03:00
Dmitriy Zaporozhets
8fee5a0572
Make app works with strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 23:24:17 +03:00
Ciro Santilli
b1c40e8151
Fix username validation message to match regexp.
...
Also used for project, group and web ui new file names.
2014-06-26 13:31:34 +02:00
Dmitriy Zaporozhets
1dab15940d
Remove protected_atrributes gem and start moving to strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 14:30:07 +03:00
Jeroen van Baarsen
e364a852af
Call every service, even if one fails
...
When one service fails, we dont want to have all of them failing. This
fixes this problem by catching all the errors, and writing them to the
error log.
Fixes : #5803
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2014-06-22 14:48:31 +02:00
Dmitriy Zaporozhets
d74bf464d3
Postgres requires not-null value for boolean field
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-15 09:40:24 +03:00
Dmitriy Zaporozhets
1355ede49d
Wipe wall notes feature
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 14:24:54 +03:00
Dmitriy Zaporozhets
0fdce4a52b
Refactor some search scopes to prevent wierd behaviour and PG::Error issues
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-05 20:37:35 +03:00
Daniel Aquino
be85d1d2b2
project: ci_service should only catch ci services
...
ci_service should return true if a ci service is enabled. Currently
it's checking for any service being enabled instead of only services in
the ci category.
2014-06-03 11:46:47 -04:00
Dmitriy Zaporozhets
aea79b8035
Add ability rule for creating project in namespace
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-28 19:03:01 +03:00
Dmitriy Zaporozhets
a18ae13e98
Backport CI service refactoring from EE
...
It allows easier contribution of different CI services
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-28 11:35:43 +03:00
Drew Blessing
5f25cdfe19
Implement Merge Request Labels
2014-05-13 06:41:36 -05:00
Dmitriy Zaporozhets
c608a5dcea
Add sort dropdown for admin projects page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-02 17:02:57 +03:00
Dmitriy Zaporozhets
d10b34a685
Save repository size to projects table
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-02 16:05:08 +03:00