Rémy Coutable
9f218fc184
Improve and finish the fallback to the In-Reply-To and References header for the reply-by-email feature
...
A few things to note:
- The IncomingEmail feature is now enabled even without a
correctly-formatted sub-address
- Message-ID for new thread mail are kept the same so that subsequent
notifications to this thread are grouped in the thread by the email
service that receives the notification
(i.e. In-Reply-To of the answer == Message-ID of the first thread message)
- To maximize our chance to be able to retrieve the reply key, we look
for it in the In-Reply-To header and the References header
- The pattern for the fallback reply message id is "reply-[key]@[gitlab_host]"
- Improve docs thanks to Axil
2016-03-25 13:05:15 +01:00
Douwe Maan
7ae573c75a
Bump Git version requirement to 2.7.3
2016-03-15 23:22:05 +01:00
Douwe Maan
e1baa48584
Fix gitlab:incoming_email:check task.
2016-02-29 11:04:40 +01:00
Marin Jankovski
f317d5fcb9
Merge branch 'uploads-700' into 'master'
...
Restrict permissions on public/uploads
Based on https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/631
See merge request !2764
2016-02-23 15:12:20 +00:00
Achilleas Pipinellis
e5f9c4460f
Remove remaining sqlite method call
2016-02-17 20:34:54 +02:00
Achilleas Pipinellis
f8036ec910
Remove sqlite check in raketask
2016-02-10 16:54:15 +02:00
Achilleas Pipinellis
a1a6f3cc73
Simplify permissions creation
...
[ci skip]
2016-02-10 16:52:02 +02:00
Achilleas Pipinellis
751ae14081
Restrict permissions on public/uploads
2016-02-09 11:35:19 +02:00
Stan Hu
e57b506222
Suggest prefacing find command with sudo when base permissions are wrong
...
Closes #5872
2016-01-05 05:30:01 -08:00
Robert Speicher
28a8d0b5db
Merge branch 'add_user_repo_integrity_rake_task' into 'master'
...
Add user repository integrity check rake task
Corrupt repositories and stuck lock files can cause weird issues in
GitLab. Often we know which user is having these problems and then we
have to go hunt down which repository is causing it. Several times
recently that involved me running queries in the rails console to get
an array of projects and then writing a quick Ruby script to loop
through and run `git fsck`. This last time I also had to check for the
existence of `config.lock` and ref lock files.
This rake task will eliminate all of those steps and allow an admin to
simply specify a username.
I also added the lock file checks to the existing `gitlab:repo:check`
task which goes through all projects.
See merge request !2080
2015-12-15 18:36:28 +00:00
Drew Blessing
f8bf6c4b2c
[ci skip] Add user repository integrity check rake task
2015-12-14 15:27:14 -06:00
Stan Hu
9c5d8079a3
Bump Redis requirement to 2.8 for Sidekiq 4 requirements
...
Closes #3649
[ci skip]
2015-12-12 07:51:50 -08:00
Robert Speicher
d09d62b6b8
Replace all usages of git command with configurable binary path
...
Closes #3311
2015-11-03 17:11:09 -05:00
Benny Schimmer
d02a467d64
Fix regex in redis version check
2015-10-19 22:14:22 +02:00
Douwe Maan
712d17684b
Make Reply by email easier to configure
2015-10-13 13:10:49 +02:00
Achilleas Pipinellis
110e90c855
Skip check_initd_configured_correctly on omnibus installs
...
This was causing the task `gitlab-rake gitlab:incoming_email:check`
to fail.
2015-09-22 22:56:49 +03:00
Douwe Maan
ee028d9d60
Rename reply_by_email to incoming_email to prepare for the future.
2015-09-21 10:35:37 +02:00
Marin Jankovski
8bd419d9c8
Merge branch 'upgrade-redis-required-check' into 'master'
...
Upgrade Redis requirement check to 2.4.0 per https://github.com/mperham/sidekiq/pull/957
Closes #2222
Closes #2445
See merge request !1251
2015-09-07 07:39:58 +00:00
Stan Hu
fd6eba34eb
Use File.join to prevent extra slash in help message from appearing. Before:
...
```
Try fixing it:
sudo -u git -H /opt/gitlab/embedded/service/gitlab-shell//bin/create-hooks
```
2015-09-06 07:41:23 -07:00
Stan Hu
30039dae63
Upgrade Redis requirement check to 2.4.0 per https://github.com/mperham/sidekiq/pull/957
...
Closes #2222
Closes #2445
2015-09-06 00:35:16 -07:00
Robert Speicher
f0bdf7f810
Merge branch 'reply-by-email' into 'master'
...
Reply by email
Fixes #1360 .
It's far from done, but _it works_.
See merge request !1173
2015-08-22 00:00:08 +00:00
Douwe Maan
0366655311
Fix check task for development.
2015-08-21 15:06:04 -07:00
Douwe Maan
50baa1fdd1
Add development section to doc.
2015-08-21 15:03:16 -07:00
Jacob Vosmaer
bd78e1a2e9
Merge pull request #9535 from bbodenmiller/patch-3
...
check upload dir permissions
2015-08-21 14:30:58 +02:00
Douwe Maan
41ed60c21a
Fix MailRoom running check.
2015-08-20 14:09:37 -07:00
Douwe Maan
123af78561
Add gitlab:reply_by_email:check rake task.
2015-08-20 14:03:04 -07:00
Dmitriy Zaporozhets
4a0fa27017
Merge branch 'master' into remove-satellites
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-17 11:41:53 +02:00
Ben Bodenmiller
ea9b8fe5f1
check uploads dir
...
Detect issues with uploads dir, e.g. permission and ownership issues
with the users uploads dir. This helps troubleshoot and correct
gitlab-org/omnibus-gitlab#311 . Fixes gitlabhq#7500, gitlabhq#7052.
Related to gitlabhq#6281.
2015-08-16 16:57:15 -07:00
Robert Speicher
33c818d2d8
Require Ruby 2.1.0 in gitlab:app:check task
...
[ci skip]
2015-08-15 20:04:52 -04:00
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
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
Stan Hu
ee17102848
Check that hooks directory exists before attempting to call realpath
...
Closes #2121
2015-07-30 06:53:23 -07:00
Dmitriy Zaporozhets
a87989fb7d
Remove satellites
2015-07-15 15:45:57 +02:00
Dmitriy Zaporozhets
b8f12d1917
Replace GITLAB with GitLab in rake task descriptions
2015-06-23 16:52:40 +02:00
Marin Jankovski
7044d649a3
Add autocrlf back to installation docs, add a check for it.
2015-06-03 15:42:22 +02:00
Marin Jankovski
5f7d6c7d74
Remove gitlab:env:check task.
2015-06-03 11:26:57 +02:00
Dmitriy Zaporozhets
317ed1fa90
Revert "Allow to configure smtp and sendmail in gitlab.yml"
2015-05-06 17:39:18 +03:00
Jakub Jirutka
b4be7aed77
Allow to configure smtp and sendmail in gitlab.yml
2015-05-06 13:15:33 +02:00
tonic
2e34b7aab5
fix redis 3.0.0
2015-04-25 21:46:10 +08:00
Vinnie Okada
acd80bdc2d
Add new rake task
...
Add a task that checks repository integrity with `git fsck`.
2015-04-15 22:22:20 -06:00
Zeger-Jan van de Weg
67f55d9b25
Let the server fix unconfigured git
2015-03-16 16:28:20 +01:00
Dmitriy Zaporozhets
ae7e380632
Add active users to gitlab:check
2015-03-10 12:03:04 -07:00
Marin Jankovski
18d9172edc
Use a different name of the method to check if sanitize is enabled in check task.
2014-12-22 10:03:52 +01:00
Robert Schilling
f7f56e4a0b
Merge pull request #8256 from cirosantilli/rm-unused-has_gitlab_shell3
...
Remove unused has_gitlab_shell3? method
2014-12-21 10:15:34 +01:00
Ciro Santilli
586590d20e
Remove unused has_gitlab_shell3? method
2014-11-05 17:24:20 +01:00
Ciro Santilli
f36db59d97
Factor GITLAB_SHELL_VERSION get method
2014-11-05 17:16:04 +01:00
Dmitriy Zaporozhets
05f19392b7
Make gitlab ldap check work for old and new syntax
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-22 11:11:18 +03:00
Dmitriy Zaporozhets
da21b9e7d0
Fix rake gitlab:ldap:check
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-21 18:26:40 +03:00
Dmitriy Zaporozhets
8bff9a4098
Merge branch 'refator-members-logic' of https://dev.gitlab.org/dzaporozhets/gitlabhq into 7-4-pre
2014-09-17 21:31:41 +03:00