Dmitriy Zaporozhets
3e259ea8bc
Revert "Merge branch 'revert-satellites' into 'master'
"
...
This reverts commit 5daf44b7c8 , reversing
changes made to 2f706fbd23 .
2015-08-11 14:33:31 +02:00
Dmitriy Zaporozhets
24332b7b99
Revert "Make web editor work correctly after switch from satellites"
...
This reverts commit 435f680b89 .
2015-08-11 11:49:29 +02:00
Dmitriy Zaporozhets
9f10943c1a
Revert "Merge branch 'drop-satellites'"
...
This reverts commit 957e849f41 , reversing
changes made to 6b9dbe9f5a .
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-11 10:28:42 +02:00
Dmitriy Zaporozhets
b48b07044b
Merge branch 'master' into drop-satellites
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-04 16:42:36 +02:00
Dmitriy Zaporozhets
f0116f1335
Store commit count in project table
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-07-17 15:22:56 +02:00
Dmitriy Zaporozhets
67ca5a53f6
Build missing cache items in background job after each push
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-07-17 14:50:03 +02:00
Dmitriy Zaporozhets
a87989fb7d
Remove satellites
2015-07-15 15:45:57 +02:00
Robert Speicher and Dmitriy Zaporozhets
2120e2dd95
Replace remaining references to Note.create_cross_reference_note
2015-06-22 12:13:46 +02:00
Stan Hu
d45112258e
Fix post-receive errors on a push when an external issue tracker is configured
...
Closes #1700
Closes #1720
2015-06-12 06:59:27 -07:00
Dmitriy Zaporozhets
435f680b89
Make web editor work correctly after switch from satellites
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-02 12:06:40 +02:00
Stan Hu
03138a3c72
Make the first branch pushed to an empty repository the default HEAD.
...
In an empty repository, pushing a new branch not called "master" would
leave HEAD in an unknown state, causing ambiguity if another branch
were pushed. This could in turn cause a new protected branch to be
created and cause the default branch to change.
* Closes #1561
* Closes #1576
* Closes https://github.com/gitlabhq/gitlabhq/issues/8883
2015-05-05 23:49:30 -07:00
Douwe Maan
0ff778c0f4
Link cross-project cross-reference notes to correct project.
2015-04-24 12:30:36 +02:00
Douwe Maan
27af24c1c9
No longer needed to pass project argument to commit methods.
2015-04-24 12:29:36 +02:00
Douwe Maan
65bb0c3406
Only allow users to cross-reference and close issues they have access to.
2015-04-02 10:57:01 +02:00
Douwe Maan
d9698628d9
Add Commit#author and #committer.
2015-04-02 10:57:01 +02:00
Kamil Trzcinski
5b432e7671
Extend push_tag event to include tag message and last commit
2015-03-21 11:25:27 +01:00
Douwe Maan
a5a5ec970e
Fewer constants, more helpers.
2015-03-19 10:34:04 +01:00
Douwe Maan
f2024b1e06
More consistent method naming.
2015-03-13 16:07:02 +01:00
Douwe Maan
383c56efa1
Use Gitlab::Git helper methods and constants as much as possible.
2015-03-10 13:39:31 +01:00
Hannes Rosenögger
224e104d8d
fix mass SQL statements on initial push
...
This commit disables process_commit_messages()
for the initial push to the default branch.
This fixes the mass SQL statements (~500000) that were executed during
the initial push of the linux kernel for example.
2015-03-09 12:52:45 +01:00
Stan Hu and Douwe Maan
afe5d7d209
Issue #595 : Support Slack notifications upon issue and merge request events
...
1) Adds a DB migration for all services to toggle on push, issue, and merge events.
2) Upon an issue or merge request event, fire service hooks.
3) Slack service supports custom messages for each of these events. Other services
not supported at the moment.
4) Label merge request hooks with their corresponding actions.
2015-03-03 11:14:31 +01:00
Douwe Maan
07d05d2df7
Move all event creation to EventCreateService.
2015-02-13 12:02:58 +01:00
Marco Wessel
c821412e30
indentation
2015-01-25 18:36:11 +01:00
Marco Wessel
aad6ceaef9
Allow configuring protection of the default branch upon first push
2015-01-25 17:09:10 +01:00
Dmitriy Zaporozhets
c5ba87a2fb
Merge pull request #8096 from cirosantilli/regex-to-string
...
Replace regex methods by string ones since faster and more readable
2015-01-15 14:37:11 -08:00
Dmitriy Zaporozhets
3197044512
Refactor push data builder. Moved it to separate class
...
Also execute GitLab CI on creating tag via UI
2015-01-11 23:51:31 -08:00
Ciro Santilli
cd688a6011
Replace regex methods by string ones since faster
...
and more readable.
2014-12-28 23:53:27 +01:00
Dmitriy Zaporozhets
722d80739b
Prevent big amount of sql queries for push service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-11-12 13:59:25 +02:00
Ciro Santilli
c3be1517ae
Factor '0' * 40 blank ref constants
2014-11-03 20:37:08 +01: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
Marin Jankovski
fbc6f95a02
Protect default branch by default.
2014-09-29 15:12:07 +02:00
Dmitriy Zaporozhets
8fae6ad75a
Fix typo in push service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-26 12:45:41 +03:00
Dmitriy Zaporozhets
a932e28ddd
Fix worker error when remove branch
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-26 10:55:39 +03:00
Dmitriy Zaporozhets
87cf5b7055
Fix GitPush service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-26 10:46:48 +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
Dmitriy Zaporozhets
cc77365488
Create services for issue close and reopen
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-02 15:38:24 +03:00
Jason Hollingsworth
29cfd33d94
Add email aliases for users
...
Emails are used to associate commits with users. The emails
are not verified and don't have to be valid email addresses. They
are assigned on a first come, first serve basis.
Notifications are sent when an email is added.
2014-02-13 22:59:39 -06:00
Dmitriy Zaporozhets
cfcf24dce5
Execute project hooks when issue or merge request created
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-04 13:37:17 +02:00
Dmitriy Zaporozhets
02484930e1
Removed Project#discover_default_branch since it not needed any more
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-08 09:22:50 +02:00
Marin Jankovski
9ed59ee9f0
Include project_id in webhook payload.
2013-10-14 12:03:25 +02:00
Dmitriy Zaporozhets
7f65339fff
Fix s500 when press ervice test button
2013-08-28 21:36:09 +03:00
Dmitriy Zaporozhets
79f0858a18
Services and hooks MUST BE executed on branch push!
2013-08-27 13:56:04 +03:00
ash wilson
c8a115c0e3
Link issues from comments and automatically close them
...
Any mention of Issues, MergeRequests, or Commits via GitLab-flavored markdown
references in descriptions, titles, or attached Notes creates a back-reference
Note that links to the original referencer. Furthermore, pushing commits with
commit messages that match a (configurable) regexp to a project's default
branch will close any issues mentioned by GFM in the matched closing phrase.
If accepting a merge request would close any Issues in this way, a banner is
appended to the merge request's main panel to indicate this.
2013-08-25 18:58:41 -04:00
Dmitriy Zaporozhets
5f4445c3d3
store commits for MR as array of hashes
2013-04-02 21:30:36 +03:00
Kevin Lyda
415bade302
Result of misspellings run.
...
Most of these are comments but a few are strings for users.
Might be an idea to run this from time to time:
https://github.com/lyda/misspell-check
It runs mostly clean now.
2013-03-17 19:46:54 +00:00
Dmitriy Zaporozhets
ca9098d898
remove last commit widget, added repo size and owner info on project home page
2013-03-07 11:14:19 +02:00
Dmitriy Zaporozhets
92039dd677
Developers can merge MR if target branch is not protected
2013-02-27 20:20:31 +02:00
Dmitriy Zaporozhets
0cf0487d65
Fix TestHookContext
2013-02-26 23:04:14 +02:00