Kaynağa Gözat

Remove gitote.in broken links and Closes #49

Yoginth 6 yıl önce
ebeveyn
işleme
06dbaaf20a

+ 1 - 5
CONTRIBUTING.md

@@ -13,16 +13,12 @@ Depends on the situation, you will:
 
 ### Bug Report
 
-If you find something you consider a bug, please create an issue on [Gitote](https://gitote.in/gitote/gitote/issues).
+If you find something you consider a bug, please create an issue on [GitLab](https://gitlab.com/gitote/gitote/issues).
 
 ### Feature Request
 
 There is no standard form of making a feature request. Just try to describe the feature as clearly as possible, because team members may not have experience with the functionality you're talking about.
 
-### Pull Request
-
-Please read detailed information on [Wiki](https://gitote.in/gitote/gitote/wiki/Contributing).
-
 ## Code of conduct
 
 As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

+ 0 - 19
docs/DEVTO.md

@@ -1,19 +0,0 @@
-Hello Everyone!
-
-# Git + Rem(ote) = Gitote ❤️
-
-#### Software version control made simple!
-
-Welcome to the [gitote](https://gitote.in). We are so excited to have you. With your help, we can build out Gitote to be more stable and better serve our platform.
-
-#### What is Gitote
-
-Gitote is an **open source** end-to-end software development platform with built-in version control, issue tracking, code review, and more, it is an alternative to **GitHub**, **GitLab**, **Bitbucket** and many more!
-
-#### Tech Stack
-
-{% link https://dev.to/gitote/the-gitote--tech-stack-148a %}
-
-**Platform:** https://gitote.in
-**Source Code:** https://gitote.in/gitote/gitote
-

+ 1 - 6
docs/STACK.md

@@ -12,7 +12,7 @@
 
 #### Infra/Services
 
-- [Gitote](https://gitote.in) - VCS
+- [GitLab](https://gitlab.com/gitote/gitote) - VCS
 - [DigitalOcean](https://m.do.co/c/1ddec8d50826) - Hosting
 - [Ubuntu 18.10 x64](https://www.ubuntu.com/) - Operating System
 - [NGINX](https://www.nginx.com/) - Server
@@ -23,8 +23,3 @@
 - [jsDelivr](https://www.jsdelivr.com/) - Static Assets CDN
 - [Gravatar](https://gravatar.com/) - Globally Recognized Avatar
 - [Heroku Toolbelt](https://blog.heroku.com/the_heroku_toolbelt) - For development(one-click launch)
-
-#### Ops
-
-- [OteBot](https://gitote.in/gitote/otebot)
-- [Discord](https://discord.gg/wEUXMJp)

+ 2 - 2
pkg/context/api.go

@@ -21,13 +21,13 @@ import (
 type APIContext struct {
 	*Context // TODO: Reduce to only needed fields instead of full shadow
 
-	// Base URL for the version of API endpoints, e.g. https://gitote.in/api/v1
+	// Base URL for the version of API endpoints, e.g. https://gitote.example.com/api/v1
 	BaseURL string
 	Org     *APIOrganization
 }
 
 // DocURL api doc url
-const DocURL = "https://dev.gitote.in"
+const DocURL = "https://gitlab.com/gitote/gitote/tree/master/docs/API"
 
 // Error responses error message to client with given message.
 // If status is 500, also it prints error to log.

+ 0 - 66
public/robots.txt

@@ -1,66 +0,0 @@
-# If you would like to crawl Gitote contact us at me@yoginth.com.
-
-#
-#
-#              _____
-#             |     |
-#             | | | |
-#             |_____|
-#       ____ ___|_|___ ____
-#      ()___)         ()___)
-#      // /|           |\ \\
-#     // / |           | \ \\
-#    (___) |___________| (___)
-#    (___)   (_______)   (___)
-#    (___)     (___)     (___)
-#    (___)      |_|      (___)
-#    (___)  ___/___\___   | |
-#     | |  |           |  | |
-#     | |  |___________| /___\ 
-#    /___\  |||     ||| //   \\
-#   //   \\ |||     ||| \\   //
-#   \\   // |||     |||  \\ //
-#    \\ // ()__)   (__()
-#          ///       \\\ 
-#         ///         \\\ 
-#       _///___     ___\\\_
-#      |_______|   |_______|
-#
-#
-#
-
-User-agent: Googlebot
-Allow: /humans.txt
-Allow: /
-Allow: /login
-Allow: /join
-Allow: /*/*/src/master
-Disallow: /api/*
-Disallow: /admin
-Disallow: /avatars
-Disallow: /user
-Disallow: /pulls
-Disallow: /issues
-Disallow: /repo
-Disallow: /org
-Disallow: /sitemap
-Disallow: /reset_password
-Disallow: /*/*/forks
-Disallow: /*/*/stars
-Disallow: /*/*/pulls
-Disallow: /*/*/archive
-Disallow: /*/*/settings
-Disallow: /*/*/raw/*
-Disallow: /*/*/wiki/_new
-Disallow: /*/*/wiki/*/_edit
-Disallow: /*/*/commit
-Disallow: /*/*/src/*
-Disallow: /*/*/_edit
-Disallow: /*/*/issues/new
-Disallow: /*/*/issues?
-Disallow: /*/*/compare
-
-Sitemap: https://gitote.in/sitemap
-Sitemap: https://gitote.in/sitemap/users
-Sitemap: https://gitote.in/sitemap/orgs
-Sitemap: https://gitote.in/sitemap/repos

+ 5 - 5
script/conf/prod

@@ -1,7 +1,7 @@
 server {
     client_max_body_size 4g;
     server_tokens off;
-    server_name gitote.in;
+    server_name gitote.example.com;
 
     proxy_set_header X-Real-IP  $remote_addr; # pass on real client IP
 
@@ -22,19 +22,19 @@ server {
     listen 443 ssl; # managed by Certbot
     ssl_certificate /etc/certs/fullchain.pem;
     ssl_certificate_key /etc/certs/privkey.pem;
-    #ssl_certificate /etc/letsencrypt/live/gitote.in/fullchain.pem; # managed by Certbot
-    #ssl_certificate_key /etc/letsencrypt/live/gitote.in/privkey.pem; # managed by Certbot
+    #ssl_certificate /etc/letsencrypt/live/gitote.example.com/fullchain.pem; # managed by Certbot
+    #ssl_certificate_key /etc/letsencrypt/live/gitote.example.com/privkey.pem; # managed by Certbot
     #include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
     #ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
 
 }
 
 server {
-    if ($host = gitote.in) {
+    if ($host = gitote.example.com) {
         return 301 https://$host$request_uri;
     } # managed by Certbot
     
-    server_name gitote.in;
+    server_name gitote.example.com;
     listen 80;
     return 404; # managed by Certbot
 }

+ 2 - 2
script/deploy

@@ -19,5 +19,5 @@ sudo systemctl restart gitote
 echo "Deploy ended at…"
 date "+%H:%M:%S"
 
-echo "==> App is successfully deployed to Digitalcean server"
-echo "==> https://gitote.in"
+echo "==> App is successfully deployed to the server"
+echo "==> https://gitote.example.com"

+ 1 - 1
templates/admin/dashboard.tmpl

@@ -10,7 +10,7 @@
 				</h4>
 				<div class="ui attached segment">
 					<h3>
-						Gitote - <a href="https://gitote.in/gitote/gitote/commits/master">{{AppVer}}</a>
+						Gitote - <a href="https://gitlab.com/gitote/gitote/commits/master">{{AppVer}}</a>
 						<br/>
 						API - <a href="{{AppURL}}api/{{APIVer}}/users/gitote">{{APIVer}}</a>
 						<br/>

+ 2 - 2
templates/install.tmpl

@@ -86,7 +86,7 @@
 					</div>
 					<div class="inline required field">
 						<label for="domain">{{.i18n.Tr "install.domain"}}</label>
-						<input id="domain" name="domain" value="{{.domain}}" placeholder="e.g. gitote.in" required>
+						<input id="domain" name="domain" value="{{.domain}}" placeholder="e.g. gitote.example.com" required>
 						<span class="help">{{.i18n.Tr "install.domain_helper"}}</span>
 					</div>
 					<div class="inline required field">
@@ -107,7 +107,7 @@
 					</div>
 					<div class="inline required field">
 						<label for="app_url">{{.i18n.Tr "install.app_url"}}</label>
-						<input id="app_url" name="app_url" value="{{.app_url}}" placeholder="e.g. https://gitote.in" required>
+						<input id="app_url" name="app_url" value="{{.app_url}}" placeholder="e.g. https://gitote.example.com" required>
 						<span class="help">{{.i18n.Tr "install.app_url_helper"}}</span>
 					</div>
 					<div class="inline required field">

+ 6 - 7
templates/pages/contribute.tmpl

@@ -53,7 +53,7 @@
 
         <p class="pages-small">
             Instances of abusive, harassing, or otherwise unacceptable behavior can be reported by emailing 
-            <code class="code">contact@gitote.in</code>.
+            <code class="code">me@yoginth.com</code>.
         </p>
         
         <p class="pages-small">
@@ -66,19 +66,18 @@
         </center>
 
         <p class="pages-small">
-            These instructions are for development of <a href="https://gitote.in">Gitote.in</a> specifically. Please 
-            note that use of the Gitote Development Kit is currently experimental on Windows and macOS. Linux is recommended 
-            for the best contribution experience.
+            These instructions are for development of Gitote specifically. Please note that use of the Gitote Development Kit 
+            is currently experimental on Windows and macOS. Linux is recommended for the best contribution experience.
         </p>
         <ol>
             <li class="pages-small">
-                Read Gitote Development Kit</a>, see the <a href="https://gitote.in/gitote/gitote/src/master/docs/GDK.md">GDK README</a> 
+                Read Gitote Development Kit</a>, see the <a href="https://gitlab.com/gitote/gitote/blob/master/docs/GDK.md">GDK README</a> 
                 for instructions on setting it up and.                
             </li> 
             
             <li class="pages-small">Fork the Gitote project.</li> 
             <li class="pages-small">
-                Choose an issue to work on. * You can find easy issues by <a href="https://gitote.in/gitote/gitote/issues?labels=13"> looking at issues labeled Accepting Pull Requests</a>
+                Choose an issue to work on. * You can find easy issues by <a href="https://gitlab.com/gitote/gitote/issues?label_name%5B%5D=Accepting+Merge+Requests"> looking at issues labeled Accepting Merge Requests</a>
 
                 <ul> 
                     <li class="pages-small">
@@ -103,7 +102,7 @@
             <li class="pages-small">Get your changes merged!</li>
         </ol> 
         <p class="pages-small">
-            For more information, please see the <a href="https://developers.gitote.in">Developer Documentation.</a>
+            For more information, please see the <a href="https://gitlab.com/gitote/docs">Developer Documentation.</a>
         </p>
     </div>
     {{template "base/footer" .}}

+ 1 - 1
templates/pages/security.tmpl

@@ -10,7 +10,7 @@
         </center>
 
         <p class="pages-small">
-            Found a vulnerability in our systems? Shoot us an email at <code class="code-content">security@gitote.in</code>. You'll hear back 
+            Found a vulnerability in our systems? Shoot us an email at <code class="code-content">me@yoginth.com</code>. You'll hear back 
             from us within two weeks at the latest, and we'll let you know a few things:          
         </p>
 

+ 0 - 1
templates/user/dashboard/dashboard.tmpl

@@ -24,7 +24,6 @@
 					<div class="three wide column">
 						<div class="ui link list">
 							<a class="item" href="{{AppURL}}about">About</a>
-							<a class="item" href="https://give.gitote.in">Donate</a>
 						</div>
 					</div>
 					<div class="three wide column">

+ 1 - 1
templates/user/settings/security.tmpl

@@ -23,7 +23,7 @@
 				{{if .TwoFactor}}
 					<br>
 					<p>{{.i18n.Tr "settings.two_factor_view_recovery_codes" AppSubURL "/user/settings/security/two_factor_recovery_codes" | Safe}}</p>
-					<p>{{.i18n.Tr "settings.two_factor_http" AppSubURL "/user/settings/applications" "https://{token}@gitote.in/user/repo.git" | Safe}}</p>
+					<p>{{.i18n.Tr "settings.two_factor_http" AppSubURL "/user/settings/applications" "https://{token}@gitote.example.com/user/repo.git" | Safe}}</p>
 				{{end}}
 			</div>
 		</div>