You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

281 lines
8.4 KiB

  1. ---
  2. date: "2016-11-08T16:00:00+02:00"
  3. title: "Documentation"
  4. slug: "documentation"
  5. weight: 10
  6. toc: true
  7. draft: false
  8. ---
  9. # What is Gitea?
  10. Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket or Gitlab. The initial development have been done on [Gogs](http://gogs.io) but we have forked it and named it Gitea. If you want to read more about the reasons why we have done that please read [this](https://blog.gitea.io/2016/12/welcome-to-gitea/) blog post.
  11. ## Purpose
  12. The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. With Go, this can be done with an independent binary distribution across ALL platforms that Go supports, including Linux, macOS and Windows, even on architectures like ARM or PowerPC.
  13. ## Features
  14. - User Dashboard
  15. - Context switcher (organization or current user)
  16. - Activity timeline
  17. - Commits
  18. - Issues
  19. - Pull requests
  20. - Repository creation
  21. - Searchable repository list
  22. - List of your organizations
  23. - A list of mirror repositories
  24. - Issues dashboard
  25. - Context switcher (organization or current user)
  26. - Filter by
  27. - Open
  28. - Closed
  29. - Your repositories
  30. - Assigned issues
  31. - Your issues
  32. - Repository
  33. - Sort by
  34. - Oldest
  35. - Last updated
  36. - Number of comments
  37. - Pull request dashboard
  38. - Same as issue dashboard
  39. - Repository types
  40. - Mirror
  41. - Normal
  42. - Migrated
  43. - Notifications (email and web)
  44. - Read
  45. - Unread
  46. - Pin
  47. - Explore page
  48. - Users
  49. - Repos
  50. - Organizations
  51. - Search
  52. - Custom templates
  53. - Override public files (logo, css, etc)
  54. - CSRF and XSS protection
  55. - HTTPS support
  56. - Set allowed upload sizes and types
  57. - Logging
  58. - Configuration
  59. - Databases
  60. - MySQL
  61. - PostgreSQL
  62. - SQLite3
  63. - MSSQL
  64. - [TiDB](https://github.com/pingcap/tidb) (experimental)
  65. - Configuration file
  66. - See [here](https://github.com/go-gitea/gitea/blob/master/conf/app.ini)
  67. - Admin panel
  68. - Statistics
  69. - Actions
  70. - Delete inactive accounts
  71. - Delete cached repository archives
  72. - Delete repositories records which are missing their files
  73. - Run garbage collection on repositories
  74. - Rewrite SSH keys
  75. - Resync hooks
  76. - Recreate repositories which are missing
  77. - Server status
  78. - Uptime
  79. - Memory
  80. - Current # of goroutines
  81. - And more
  82. - User management
  83. - Search
  84. - Sort
  85. - Last login
  86. - Authentication source
  87. - Maximum repositories
  88. - Disable account
  89. - Admin permissions
  90. - Permission to create git hooks
  91. - Permission to create organizations
  92. - Permission to import repositories
  93. - Organization management
  94. - People
  95. - Teams
  96. - Avatar
  97. - Hooks
  98. - Repository management
  99. - See all repository information and manage repositories
  100. - Authentication sources
  101. - OAuth
  102. - PAM
  103. - LDAP
  104. - SMTP
  105. - Configuration viewer
  106. - Everything in config file
  107. - System notices
  108. - When somthing unexpected happens
  109. - Monitoring
  110. - Current processes
  111. - Cron jobs
  112. - Update mirrors
  113. - Repository health check
  114. - Check repository statstics
  115. - Clean up old archives
  116. - Environment variables
  117. - Command line options
  118. - Multi-language support ([21 languages](https://github.com/go-gitea/gitea/tree/master/options/locale))
  119. - Mail service
  120. - Notifications
  121. - Registration confirmation
  122. - Password reset
  123. - Reverse proxy support
  124. - Includes subpaths
  125. - Users
  126. - Profile
  127. - Name
  128. - Username
  129. - Email
  130. - Website
  131. - Join date
  132. - Followers and following
  133. - Organizations
  134. - Repositories
  135. - Activity
  136. - Starred repositories
  137. - Settings
  138. - Same as profile and more below
  139. - Keep email private
  140. - Avatar
  141. - Gravatar
  142. - Libravatar
  143. - Custom
  144. - Password
  145. - Mutiple email addresses
  146. - SSH Keys
  147. - Connected applications
  148. - Two factor authentication
  149. - Linked OAuth2 sources
  150. - Delete account
  151. - Repositories
  152. - Clone with SSH/HTTP/HTTPS
  153. - Git LFS
  154. - Watch, Star, Fork
  155. - View watchers, stars, and forks
  156. - Code
  157. - Branch browser
  158. - Web based file upload and creation
  159. - Clone urls
  160. - Download
  161. - ZIP
  162. - TAR.GZ
  163. - Web based editor
  164. - Markdown editor
  165. - Plain text editor
  166. - Syntax highlighting
  167. - Diff preview
  168. - Preview
  169. - Choose where to commit to
  170. - View file history
  171. - Delete file
  172. - View raw
  173. - Issues
  174. - Issue templates
  175. - Milestones
  176. - Labels
  177. - Assign issues
  178. - Track time
  179. - Reactions
  180. - Filter
  181. - Open
  182. - Closed
  183. - Assigned person
  184. - Created by you
  185. - Mentioning you
  186. - Sort
  187. - Oldest
  188. - Last updated
  189. - Number of comments
  190. - Search
  191. - Comments
  192. - Attachments
  193. - Pull requests
  194. - Same features as issues
  195. - Commits
  196. - Commit graph
  197. - Commits by branch
  198. - Search
  199. - Search in all branches
  200. - View diff
  201. - View SHA
  202. - View author
  203. - Browse files in commit
  204. - Releases
  205. - Attachments
  206. - Title
  207. - Content
  208. - Delete
  209. - Mark as pre-release
  210. - Choose branch
  211. - Wiki
  212. - Import
  213. - Markdown editor
  214. - Settings
  215. - Options
  216. - Name
  217. - Description
  218. - Private/Public
  219. - Website
  220. - Wiki
  221. - Enabled/disabled
  222. - Internal/external
  223. - Issues
  224. - Enabled/disabled
  225. - Internal/external
  226. - External supports url rewriting for better integration
  227. - Enable/disable pull requests
  228. - Transfer repository
  229. - Delete wiki
  230. - Delete repository
  231. - Collaboration
  232. - Read/write/admin
  233. - Branches
  234. - Default branch
  235. - Branch protection
  236. - Webhooks
  237. - Git hooks
  238. - Deploy keys
  239. ## System Requirements
  240. - A cheap Raspberry Pi is powerful enough for basic functionality.
  241. - 2 CPU cores and 1GB RAM would be the baseline for teamwork.
  242. - Gitea is supposed to be run with a dedicated non-root user account on UNIX systems, no other mode of operation is supported. (**NOTE**: in case you run it with your own user account and the built-in SSH server disabled, Gitea modifies the `~/.ssh/authorized_keys` file so you will **not** be able to interactively log in.)
  243. ## Browser Support
  244. - Please see [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) for specific versions of supported browsers.
  245. - The official support minimal size is **1024*768**, UI may still looks right in smaller size but no promises and fixes.
  246. ## Components
  247. * Web framework: [Macaron](http://go-macaron.com/)
  248. * ORM: [XORM](https://github.com/go-xorm/xorm)
  249. * UI components:
  250. * [Semantic UI](http://semantic-ui.com/)
  251. * [GitHub Octicons](https://octicons.github.com/)
  252. * [Font Awesome](http://fontawesome.io/)
  253. * [DropzoneJS](http://www.dropzonejs.com/)
  254. * [Highlight](https://highlightjs.org/)
  255. * [Clipboard](https://zenorocha.github.io/clipboard.js/)
  256. * [Emojify](https://github.com/Ranks/emojify.js)
  257. * [CodeMirror](https://codemirror.net/)
  258. * [jQuery Date Time Picker](https://github.com/xdan/datetimepicker)
  259. * [jQuery MiniColors](https://github.com/claviska/jquery-minicolors)
  260. * Database drivers:
  261. * [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql)
  262. * [github.com/lib/pq](https://github.com/lib/pq)
  263. * [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
  264. * [github.com/pingcap/tidb](https://github.com/pingcap/tidb)
  265. * [github.com/denisenkom/go-mssqldb](https://github.com/denisenkom/go-mssqldb)
  266. ## Software and Service Support
  267. - [Drone](https://github.com/drone/drone) (CI)