Recently I installed GitLab for my Company (a dockerized Container based on sameersbn/gitlab). When my users (authenticated with CAS) are trying to create their accounts they are getting email confirmation message. (which I do not have configured GitLab to send)
Now my question is I want to disable the email confirmation feature.
What file do I have to configure in the gitlab?
I don't want to change the users.rb file if possible.
Which options do I have to change this behaviour.
it seems that there is really no option (searched the offical gitlab forum, github, etc) ended setting up the smtp settings, so gitlab can send those confirmation emails.
Related
I have a fresh installation of GitLab 15.7.2. When a new user is created, it sends a notification E-Mail via SMTP to that user, saying The Administrator created an account for you. Now you are a member of the company GitLab application.
How can I change the company name GitLab application ?
After a little research, I realized that we cannot change Gitlab's email notifications.
In addition, this sentence does not mean the name of your company, it just says that you have been added to your company's Gatilab
I'm creating a separate app for users to visualize GitLab issues without needing access to GitLab. We are using python-gitlab to retrieve the issue data for display on this separate site. Users will create new issues by clicking a button that opens up an email configured with the project's Service Desk email.
This all works great so far. BUT, we need to get the issue-specific email address in order to provide an option for users to add a comment via this separate app. According to the documentation, the issue email address is readily available on the issue itself -- https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#copy-issue-email-address.
Is there a way to retrieve this issue-specific email via the GitLab API?
This information is available in the GET request of a project. The information on how to do this is on the API Documentation.
If the service_desk_enabled key is true, there will be an email address in the service_desk_address key. This will reflect the value in the settings of the project.
If you haven't changed any defaults, this looks like the email address is made up of:
"contact-project+"
project group name + "-"
project name + "-"
Project ID + "-"
"issue-#incoming.gitlab.com"
That way, if it's not available in the request but the setting is enabled, you should be able to build it
I have set up a gitlab project and we authenticate via ldap.
I set up our repo and assumed that everyone who authenticated via ldap would be able to access it but that does not seem to be the case. I am having to add each user individually.
The project is now set to public but that has not helped.
Is there a way to bulk add users to a project in gitlab?
I found the issue.
Apparently my licence had not gone through so I was using a basic version which does not support this!
I want to setup a gitlab instance for internal use. Since the instance can only be reached over a local network I haven't setup the email setup. Unfortunately gitlab still wants to sent new users confirmation emails with a temporary password, but they never receive this email.
Is there a way to configure gitlab so that it doesn't send these confirmation mails? I already tried to set email_enabled: false in gitlab.yml but it didn't work.
Update:
It should work without me having to interfere manually in the signup process.
Admin can confirm user manually!
Login gitlab with admin account and create a new user (Mini), ignore password.
Admin area ---> users ---> edit Mini user ---> set password.
User Mini can login gitlab.
I think GitLab takes security seriously and from what I have seen so far, it looks like either your users need to confirm their accounts or an admin has to confirm manually.
I'm using gitlab 7.4.3
I want to create a user to sync a git repo with gitlab periodically. It's actually a git-svn checkout of a svn tree, so I plan to in cron run 'git svn fetch' and 'git push gitlab' every few minutes.
But I don't want this actively to show up as my activity. So I want to create a user, something like 'svnbot', and do the pushing as that user.
My problem is that I cannot create a user because I already have a user, and gitlab is requiring email addresses to be unique.
Ideally the user would have the same email as my account, so that any email it would receive goes to me. Also, having no email address at all would also be fine for my purposes. I don't want the email to leave the local domain, so I can't just put in a gmail account, and my email server doesn't support the "+" trick.
I have admin rights to the gitlab server, but not to the email servers, and I would prefer to not have to bother the email admins with this problem.
I'm guessing you need to contact your email admins. You can almost certainly get by with having them create an alias for your email account, e.g. 'gitlab-svn-bot#example.com'.