瀏覽代碼

Added LICENSE Header to all files and Closes #83

Yoginth 7 年之前
父節點
當前提交
9c32ef4b82
共有 100 個文件被更改,包括 595 次插入1 次删除
  1. 6 0
      cmd/admin.go
  2. 6 0
      cmd/cert.go
  3. 6 0
      cmd/cert_stub.go
  4. 6 0
      cmd/cmd.go
  5. 6 0
      cmd/hook.go
  6. 6 0
      cmd/import.go
  7. 6 0
      cmd/serv.go
  8. 6 0
      cmd/web.go
  9. 6 0
      gitote.go
  10. 6 0
      models/access.go
  11. 6 0
      models/action.go
  12. 6 0
      models/admin.go
  13. 6 0
      models/attachment.go
  14. 6 0
      models/comment.go
  15. 6 0
      models/error.go
  16. 6 0
      models/errors/errors.go
  17. 6 0
      models/errors/issue.go
  18. 6 0
      models/errors/login_source.go
  19. 7 1
      models/errors/org.go
  20. 6 0
      models/errors/repo.go
  21. 6 0
      models/errors/two_factor.go
  22. 6 0
      models/errors/user.go
  23. 6 0
      models/errors/user_mail.go
  24. 6 0
      models/errors/webhook.go
  25. 6 0
      models/git_diff.go
  26. 6 0
      models/git_diff_test.go
  27. 6 0
      models/issue.go
  28. 6 0
      models/issue_label.go
  29. 6 0
      models/issue_mail.go
  30. 6 0
      models/login_source.go
  31. 6 0
      models/milestone.go
  32. 6 0
      models/mirror.go
  33. 6 0
      models/mirror_test.go
  34. 6 0
      models/models.go
  35. 6 0
      models/models_sqlite.go
  36. 6 0
      models/models_test.go
  37. 6 0
      models/org.go
  38. 6 0
      models/org_team.go
  39. 6 0
      models/pull.go
  40. 6 0
      models/release.go
  41. 6 0
      models/repo.go
  42. 6 0
      models/repo_branch.go
  43. 6 0
      models/repo_collaboration.go
  44. 6 0
      models/repo_editor.go
  45. 6 0
      models/repo_test.go
  46. 6 0
      models/ssh_key.go
  47. 6 0
      models/ssh_key_test.go
  48. 6 0
      models/token.go
  49. 6 0
      models/two_factor.go
  50. 6 0
      models/update.go
  51. 6 0
      models/user.go
  52. 6 0
      models/user_cache.go
  53. 6 0
      models/user_mail.go
  54. 6 0
      models/webhook.go
  55. 6 0
      models/webhook_discord.go
  56. 6 0
      models/webhook_slack.go
  57. 6 0
      models/wiki.go
  58. 6 0
      pkg/auth/auth.go
  59. 6 0
      pkg/auth/ldap/ldap.go
  60. 6 0
      pkg/auth/pam/pam.go
  61. 6 0
      pkg/auth/pam/pam_stub.go
  62. 6 0
      pkg/avatar/avatar.go
  63. 6 0
      pkg/avatar/avatar_test.go
  64. 6 0
      pkg/context/api.go
  65. 6 0
      pkg/context/api_org.go
  66. 6 0
      pkg/context/auth.go
  67. 6 0
      pkg/context/context.go
  68. 6 0
      pkg/context/org.go
  69. 6 0
      pkg/context/repo.go
  70. 6 0
      pkg/context/user.go
  71. 6 0
      pkg/cron/cron.go
  72. 6 0
      pkg/form/admin.go
  73. 6 0
      pkg/form/auth.go
  74. 6 0
      pkg/form/form.go
  75. 6 0
      pkg/form/org.go
  76. 6 0
      pkg/form/repo.go
  77. 6 0
      pkg/form/user.go
  78. 6 0
      pkg/httplib/httplib.go
  79. 6 0
      pkg/mailer/mail.go
  80. 6 0
      pkg/mailer/mailer.go
  81. 6 0
      pkg/markup/markdown.go
  82. 6 0
      pkg/markup/markdown_test.go
  83. 6 0
      pkg/markup/markup.go
  84. 6 0
      pkg/markup/markup_test.go
  85. 6 0
      pkg/markup/orgmode.go
  86. 6 0
      pkg/markup/sanitizer.go
  87. 6 0
      pkg/markup/sanitizer_test.go
  88. 6 0
      pkg/process/manager.go
  89. 6 0
      pkg/setting/miniwinsvc.go
  90. 6 0
      pkg/setting/setting.go
  91. 6 0
      pkg/ssh/ssh.go
  92. 6 0
      pkg/sync/exclusive_pool.go
  93. 6 0
      pkg/sync/status_pool.go
  94. 6 0
      pkg/sync/unique_queue.go
  95. 6 0
      pkg/template/highlight/highlight.go
  96. 6 0
      pkg/template/template.go
  97. 6 0
      pkg/tool/file.go
  98. 6 0
      pkg/tool/path.go
  99. 6 0
      pkg/tool/path_test.go
  100. 0 0
      pkg/tool/tool.go

+ 6 - 0
cmd/admin.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package cmd
 
 import (

+ 6 - 0
cmd/cert.go

@@ -1,5 +1,11 @@
 // +build cert
 
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package cmd
 
 import (

+ 6 - 0
cmd/cert_stub.go

@@ -1,5 +1,11 @@
 // +build !cert
 
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package cmd
 
 import (

+ 6 - 0
cmd/cmd.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package cmd
 
 import (

+ 6 - 0
cmd/hook.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package cmd
 
 import (

+ 6 - 0
cmd/import.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package cmd
 
 import (

+ 6 - 0
cmd/serv.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package cmd
 
 import (

+ 6 - 0
cmd/web.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package cmd
 
 import (

+ 6 - 0
gitote.go

@@ -1,5 +1,11 @@
 // +build go1.7
 
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 /*
 
    _____ _ _        _

+ 6 - 0
models/access.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/action.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/admin.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/attachment.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/comment.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/error.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/errors/errors.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package errors
 
 import "errors"

+ 6 - 0
models/errors/issue.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package errors
 
 import "fmt"

+ 6 - 0
models/errors/login_source.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package errors
 
 import "fmt"

+ 7 - 1
models/errors/org.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package errors
 
 import "fmt"
@@ -14,4 +20,4 @@ func IsTeamNotExist(err error) bool {
 
 func (err TeamNotExist) Error() string {
 	return fmt.Sprintf("team does not exist [team_id: %d, name: %s]", err.TeamID, err.Name)
-}
+}

+ 6 - 0
models/errors/repo.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package errors
 
 import "fmt"

+ 6 - 0
models/errors/two_factor.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package errors
 
 import "fmt"

+ 6 - 0
models/errors/user.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package errors
 
 import "fmt"

+ 6 - 0
models/errors/user_mail.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package errors
 
 import "fmt"

+ 6 - 0
models/errors/webhook.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package errors
 
 import "fmt"

+ 6 - 0
models/git_diff.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/git_diff_test.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/issue.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/issue_label.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/issue_mail.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/login_source.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/milestone.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/mirror.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/mirror_test.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/models.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/models_sqlite.go

@@ -1,5 +1,11 @@
 // +build sqlite
 
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/models_test.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/org.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/org_team.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/pull.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/release.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/repo.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/repo_branch.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/repo_collaboration.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/repo_editor.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/repo_test.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models_test
 
 import (

+ 6 - 0
models/ssh_key.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/ssh_key_test.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/token.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/two_factor.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/update.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/user.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/user_cache.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 // MailResendCacheKey returns key used for cache mail resend.

+ 6 - 0
models/user_mail.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/webhook.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/webhook_discord.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/webhook_slack.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
models/wiki.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package models
 
 import (

+ 6 - 0
pkg/auth/auth.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package auth
 
 import (

+ 6 - 0
pkg/auth/ldap/ldap.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 // Package ldap provide functions & structure to query a LDAP ldap directory
 // For now, it's mainly tested again an MS Active Directory service, see README.md for more information
 package ldap

+ 6 - 0
pkg/auth/pam/pam.go

@@ -1,5 +1,11 @@
 // +build pam
 
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package pam
 
 import (

+ 6 - 0
pkg/auth/pam/pam_stub.go

@@ -1,5 +1,11 @@
 // +build !pam
 
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package pam
 
 import (

+ 6 - 0
pkg/avatar/avatar.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package avatar
 
 import (

+ 6 - 0
pkg/avatar/avatar_test.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package avatar
 
 import (

+ 6 - 0
pkg/context/api.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package context
 
 import (

+ 6 - 0
pkg/context/api_org.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package context
 
 import (

+ 6 - 0
pkg/context/auth.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package context
 
 import (

+ 6 - 0
pkg/context/context.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package context
 
 import (

+ 6 - 0
pkg/context/org.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package context
 
 import (

+ 6 - 0
pkg/context/repo.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package context
 
 import (

+ 6 - 0
pkg/context/user.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package context
 
 import (

+ 6 - 0
pkg/cron/cron.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package cron
 
 import (

+ 6 - 0
pkg/form/admin.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package form
 
 import (

+ 6 - 0
pkg/form/auth.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package form
 
 import (

+ 6 - 0
pkg/form/form.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package form
 
 import (

+ 6 - 0
pkg/form/org.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package form
 
 import (

+ 6 - 0
pkg/form/repo.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package form
 
 import (

+ 6 - 0
pkg/form/user.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package form
 
 import (

+ 6 - 0
pkg/httplib/httplib.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package httplib
 
 import (

+ 6 - 0
pkg/mailer/mail.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package mailer
 
 import (

+ 6 - 0
pkg/mailer/mailer.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package mailer
 
 import (

+ 6 - 0
pkg/markup/markdown.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package markup
 
 import (

+ 6 - 0
pkg/markup/markdown_test.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package markup_test
 
 import (

+ 6 - 0
pkg/markup/markup.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package markup
 
 import (

+ 6 - 0
pkg/markup/markup_test.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package markup_test
 
 import (

+ 6 - 0
pkg/markup/orgmode.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package markup
 
 import (

+ 6 - 0
pkg/markup/sanitizer.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package markup
 
 import (

+ 6 - 0
pkg/markup/sanitizer_test.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package markup_test
 
 import (

+ 6 - 0
pkg/process/manager.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package process
 
 import (

+ 6 - 0
pkg/setting/miniwinsvc.go

@@ -1,5 +1,11 @@
 // +build miniwinsvc
 
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package setting
 
 import (

+ 6 - 0
pkg/setting/setting.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package setting
 
 import (

+ 6 - 0
pkg/ssh/ssh.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package ssh
 
 import (

+ 6 - 0
pkg/sync/exclusive_pool.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package sync
 
 import (

+ 6 - 0
pkg/sync/status_pool.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package sync
 
 import (

+ 6 - 0
pkg/sync/unique_queue.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package sync
 
 import (

+ 6 - 0
pkg/template/highlight/highlight.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package highlight
 
 import (

+ 6 - 0
pkg/template/template.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package template
 
 import (

+ 6 - 0
pkg/tool/file.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package tool
 
 import (

+ 6 - 0
pkg/tool/path.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package tool
 
 // IsSameSiteURLPath returns true if the URL path belongs to the same site, false otherwise.

+ 6 - 0
pkg/tool/path_test.go

@@ -1,3 +1,9 @@
+// Copyright 2015 The Gogs Authors. All rights reserved.
+// Copyright 2018 Gitote. All rights reserved.
+//
+// This source code is licensed under the MIT license found in the
+// LICENSE file in the root directory of this source tree.
+
 package tool
 
 import (

+ 0 - 0
pkg/tool/tool.go


Some files were not shown because too many files changed in this diff