Compare commits

..

137 Commits

Author SHA1 Message Date
f3cacf1332 Add changelog for v1.11.3 ()
* Add changelog for v1.11.3

* Apply suggestions from code review

Co-Authored-By: John Olheiser <john.olheiser@gmail.com>

* Update CHANGELOG.md

Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com>

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-03-10 17:11:15 +00:00
a15dc93011 cross compile using go 1.13.x () 2020-03-09 21:11:02 +02:00
66b31786d3 Prevent panic in stopwatch () ()
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-03-08 21:14:27 +02:00
931ddfec6d add changelog for v1.10.5 () () 2020-03-08 09:54:23 -05:00
7e0a5b17db Fix bug on pull view when required status check no ci result () () 2020-03-07 17:32:08 +08:00
07688231c2 Changelog for v1.11.2 ()
* Changelog for v1.11.2

* Update CHANGELOG.md

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update CHANGELOG.md

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update CHANGELOG.md

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update CHANGELOG.md

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update CHANGELOG.md

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update CHANGELOG.md

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update CHANGELOG.md

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* as per @jolheiser

* as per @jolheiser x2

* Update CHANGELOG.md

Co-Authored-By: John Olheiser <john.olheiser@gmail.com>

* Update CHANGELOG.md

Co-Authored-By: John Olheiser <john.olheiser@gmail.com>

* another security pr

* another security pr

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2020-03-06 15:38:11 +08:00
21eaeb8418 Issue writers perms can modify issues () ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-03-06 04:42:20 +00:00
9a929ad17f Handle deleted base branch in PR () ()
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-03-05 22:23:34 +02:00
c19ac41b34 Delete dependencies when deleting a repository () ()
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
2020-03-05 13:56:53 +00:00
fd85d31cb4 Ensure executable bit is kept on the web editor () ()
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-03-05 16:55:21 +08:00
c9e4d7a564 Update mergebase in pr checker () () 2020-03-04 18:56:09 -03:00
9990430e32 Build gitea1.11 with go1.13 () 2020-03-03 07:09:27 +00:00
6f5656ab0e Logout POST action () ()
* Change logout to POST

* Update for redirect

* Revert octicon to font

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-03-03 13:54:15 +08:00
e4a876cee1 Admin page for managing user e-mail activation () ()
* Admin page for managing user e-mail activation ()

* Implement mail activation admin panel

* Apply suggestions by @lunny

* Add UI for user activated emails

* Prevent admin from self-deactivate; add modal

Co-authored-by: zeripath <art27@cantab.net>

* Fix pagination options downgrade

Co-authored-by: zeripath <art27@cantab.net>
2020-03-02 17:09:37 -03:00
abb534ba7a Fix migration bug on v96.go () ()
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-03-02 10:32:20 -06:00
65dceb6a40 Fix redirection path if Slack webhook channel is invalid ()
The path to the hook config is already defined by orgRepoCtx
2020-03-02 13:54:07 +02:00
db26f0aca9 head.tmpl og:image picture location () ()
* head.tmpl og:image picture location ()

og:image picture location

* CI.restart()

* CI.restart()

Co-authored-by: FreeCipher <admin@freecipher.com>
2020-03-01 15:33:18 -05:00
76878fd69b Fix 404 after activating secondary email (backport of ) () 2020-03-01 13:27:13 +01:00
3444fa2dd7 Fix appearance of unsigned sha box in view_list () ()
Unfortunately the fix in  was slightly incorrect and placed the
detail box at one level too far out.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-02-29 17:20:32 +02:00
caa2aeaa52 Show Signer in commit lists and add basic trust () ()
Backport 
Backport 

* Show Signer in commit lists and add basic trust ()

Show the avatar of the signer in the commit list pages as we do not
enforce that the signer is an author or committer. This makes it
clearer who has signed the commit.

Also display commits signed by non-members differently from
members and in particular make it clear when a non-member signer
is different from the committer to help reduce the risk of
spoofing.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Fix the signing icon in the  view_list.tmpl page ()

Co-Authored-By: silverwind <me@silverwind.io>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-02-28 14:18:02 -03:00
11300ee582 Fix potential bugs () ()
* use e if it is an option
* potential nil so check err first
* check err first
* m == nil already checked
2020-02-28 00:12:23 -03:00
c6b78c3d31 Org action fixes and form cleanup () ()
* More org fixes

* Move form action query to inputs

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-02-27 19:38:21 -06:00
4c40aa5be9 Use [:space:] instead of \s () ()
Backport 
2020-02-27 19:12:10 +00:00
50f2e90b76 [BugFix] Avoid mailing explicit unwatched () ()
* [BugFix] Avoid mailing explicit unwatched ()
2020-02-27 11:42:51 -06:00
5d11ccc9e1 Handle push rejection message in Merge & Web Editor () ()
Backport 

* Handle push rejection message in Merge

* Fix sanitize, adjust message handling

* Handle push-rejection in webeditor CRUD too

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-02-27 15:37:11 +02:00
93860af542 Fix SQLite concurrency problems by using BEGIN IMMEDIATE () () 2020-02-26 23:30:57 -03:00
7bf5834f2c Show the username as a fallback on feeds if full name is blank ()
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-02-26 20:59:07 -05:00
1fbdd9335f Fix double PR notification from API () ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-02-26 22:39:39 +02:00
e9061a537c Fix admin notices () ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-02-26 11:14:37 -06:00
ed664a9e1d Change admin dashboard to POST () ()
* Change admin dashboard to POST ()

* Add form and convert to POST

* Redirect for flash

* Convert octicons back to fa for 1.11

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-02-25 17:42:43 -06:00
4cb18601ff Change action GETs to POST () ()
* Change action GETs to POST

* submite = submit + smite

* No more # href

* Fix test

* Match other tests

* Explicit csrf

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-02-25 15:08:21 -06:00
3abb25166c Update markbates/goth (backport) ()
Update markbates/goth to v1.61.2
- Fixes a JWT decoding issue in the OpenID provider
- Updates the GitHub provider to use the authorization header for authentication
- Updates the Twitch provider for Twitch's v5 API changes
- Adds the email and is_private_email fields to the Apple provider's GetUser implementation
- Modifies gothic to export a non-collidable context key for setting the Provider in a context.Context
- Adds new scopes to the Spotify provider
- Adds the IDToken from OpenID providers on the user struct
- Make Apple provider's SecretParams public
- Adds support for sign in with Apple, and drops support for Go versions 1.7 and 1.8
- Fixes the Slack provider's FetchURL logic to use the appropriate scope for the info it needs
Signed-off-by: Oscar LÃfwenhamn <oscar.lofwenhamn@cgi.com>
2020-02-24 13:19:25 -05:00
9e6ad64d48 Trigger webhooks on issue label-change via API too () ()
* trigger webhooks with api too

* fix comment

* notify report old too

* CI restart

* restart CI again

* remove duplicated code
2020-02-24 14:30:59 +00:00
b51d7c459e Fix webhook bug () ()
Co-authored-by: techknowlogick <matti@mdranta.net>
2020-02-24 01:48:30 -03:00
d3b6f001fe Various fixes in login sources () ()
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-02-23 22:46:17 +02:00
e938f1d945 Add frontend/backend make targets, fix source release () ()
* Add frontend/backend make targets, fix source release

- Add 'make backend' and 'make frontend' make targets which are used to
  build go and js/css/svg files respectively.

- The 'backend' target can be invoked without requiring Node.js to be
  present on the system if pre-built frontend assets are present like
  in the release source tarballs.

- Fix source releases missing 'dist' folders inside 'node_modules' which
  were erronously excluded from tar.

- Store VERSION in file VERSION for the release tarballs and prefer that
  file over git-derived version.

* fix release task

* fix typo

* fix another typo

Fixes: https://github.com/go-gitea/gitea/issues/10253
2020-02-22 08:51:58 -03:00
7284327a00 Prevent panic on merge to PR () ()
If you attempt to merge to a branch which on a PR there will be a nil pointer error in the pull request checker.

This panic is uncaught and will bring down the gitea server.

This PR adds protection to prevent this.

Co-authored-by: zeripath <art27@cantab.net>
2020-02-21 22:53:32 +00:00
919f3f11e2 update crypto vendors ()
Co-authored-by: @techknowlogick
2020-02-21 11:27:18 -03:00
3cee15e6f9 Ensure only own addresses are updated () () 2020-02-21 10:35:17 -03:00
34e3644ada Fix wrong num closed issues on repository when close issue via commit () ()
Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-02-20 15:52:19 +01:00
14bd120cdc Reading pull attachments should depend on read UnitTypePullRequests () ()
Co-authored-by: zeripath <art27@cantab.net>
2020-02-18 21:02:50 -06:00
3e40f8bebc Set max-width on review-box comment box () ()
Co-authored-by: zeripath <art27@cantab.net>
2020-02-18 18:59:14 -06:00
df5f1d9dca Prevent nil pointer in GetPullRequestCommitStatusState () ()
Backport  

Ensure that pr.HeadRepo is loaded before using it in GetPullRequestCommitStatusState.

Fixes error on merging with successful commit merge statuses.
2020-02-18 20:04:10 +00:00
457ee1ab5a Fix status check enable () ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-02-18 19:34:50 +00:00
4f64688902 Truncate long commit message header () ()
* Truncate long commit message header

* Fix overflow in view commit table

* Use @media less

* Further improvements

* Fix the commit message on small screens

* adjust width of minimal table
2020-02-18 08:51:39 +01:00
117dcf1c02 Set the initial commit status to Success otherwise it will always be Pending () ()
Backport 

The commit status code has a bug whereby setting the initial status to Pending means you can never have the status of Success - it should be set to Success.
2020-02-17 20:50:59 +00:00
4529a262c0 Don't manually replace whitespace during render () ()
* Don't manually replace whitespace during render

For historical reasons Gitea manually alters the urlPrefix and replaces
a whitespace with a +. This Works for URLs, but we're also passing
urlPrefix to git calls and adding the + is breaking the tree path.

Goldmark will automatically convert a white space to the proper %20, so
we should leave the string as is which lets us pass it to git unmodified
and then let Goldmark fix it.

Also fixed separate bug in URLJoin I noticed while testing where it will
silently discard sections of a path that have # in them (possibly
others). We should just escape it first.

Fixes 10156

* Escape elems as well

* Revert "Escape elems as well"

This reverts commit 8bf49596fee6fac4d9da256cd1e90a0ec0183671.

* restart ci

* remove changes to URLJoin

* restart ci

Co-authored-by: techknowlogick <matti@mdranta.net>

Co-authored-by: techknowlogick <matti@mdranta.net>
2020-02-17 19:46:28 +02:00
ff24f81a05 Create Changelog for v1.11.1 release ()
* Create Changelog

* Update CHANGELOG.md

Co-Authored-By: techknowlogick <matti@mdranta.net>

* Include

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-02-17 01:22:39 +02:00
e3cb4f9d0e fix: set explicit POSTGRES_PASSWORD for pgsql on drone CI () 2020-02-16 16:38:54 -05:00
9b7890f1cc v1.10.4 Changelog () ()
* v1.10.4 Changelog

* Add backport identifier for 

* Update CHANGELOG.md entry for 
2020-02-16 16:38:06 -05:00
eb064dfda2 make: add release-sources ()
* make: add release-sources

* make: release-sources exclude .git and make_evidence

* fix: skip exclude MAKE_EVIDENCE_DIR not present in 1.11
2020-02-16 13:23:41 -05:00
f9e66e5a46 Blacklist manifest.json & milestones user () ()
Fix 

Co-authored-by: techknowlogick <matti@mdranta.net>
2020-02-16 13:20:59 +02:00
ef89260cf1 Repo name added to automatically generated commit message when mergin… () ()
* Repo name added to automatically generated commit message when merging pull request

* As per @lunny

Co-authored-by: Shashvat Kedia <sk261@snu.edu.in>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-02-15 21:17:01 +00:00
315d928626 Fix Workerpool deadlock () ()
* Prevent deadlock on boost

* Force a boost in testchannelqueue
2020-02-15 19:28:25 +00:00
5525452bdf Divide GetIssueStats query in smaller chunks () ()
* Divide GetIssueStats query in smaller chunks

* Skip chunking if count is low enough

* Fix lint

* Define maxQueryParameters

* Remove absMaxQueryParameters because of lint

* Restart CI

* Restart CI

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-02-15 19:07:09 +02:00
987cd277f6 Fix reply on code review () ()
Co-authored-by: zeripath <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2020-02-13 11:32:30 +02:00
5cdfde2ebf Stop hanging issue indexer initialisation from preventing shutdown () ()
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-02-12 12:22:10 +02:00
1cd6233cef fix filter label emoji width () () 2020-02-12 00:39:06 +01:00
cb81e39f7a Fix issue sidebar menus having an infinite height () 2020-02-11 22:26:33 +01:00
8efd6b32e2 Fix commit between two commits calculation if there is only last commit () () 2020-02-11 11:10:12 +08:00
c95d9603ea Only check for conflicts/merging if the PR has not been merged in the interim () ()
* Only check for conflicts/merging if the PR has not been merged in the interim ()

* Only check for merging if the PR has not been merged in the interim

* fixup! Only check for merging if the PR has not been merged in the interim

* Try to fix test failure

* Use PR2 not PR1 in tests as PR1 merges automatically

* return already merged error

* enforce locking

* move pullrequest checking to after merge

This might improve the chance that the race does not affect us but does not prevent it.

* Remove minor race with getting merge commit id

move check pr after merge

* Remove unnecessary prepareTestEnv - onGiteaRun does this for us

* Add information about when merging occuring

* More logging

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

* re order

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-02-10 13:09:08 +00:00
9169b39458 Changelog 1.11.0 ()
* Changelog 1.11.0

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Backport snackport

Co-Authored-By: techknowlogick <matti@mdranta.net>

* Update CHANGELOG.md

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-02-10 13:34:30 +02:00
80eb50655a Fix followers and following tabs in profile () () 2020-02-09 21:00:24 +00:00
b16c555541 Fix code-expansion arc-green theme bug () ()
* fix code-expansion theme bug

* working solution without important

* no new color

* the midle
2020-02-08 00:04:03 +01:00
b5b44364e3 Allow emoji on review head comments () ()
Co-authored-by: techknowlogick <matti@mdranta.net>

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-02-07 21:39:24 +01:00
6af58022c8 Prevent double waitgroup decrement () ()
* Prevent double waitgroup decrement

Co-authored-by: zeripath <art27@cantab.net>
2020-02-07 17:12:49 +00:00
e48b460a0a Fix issue/pull link () () 2020-02-07 11:51:23 +08:00
2cd2614eaa Fix push-create SSH bugs () ()
* Attempt to fix push-create SSH bugs

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Fix binding

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Invalid ctx

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-02-05 15:50:06 +01:00
0129e76ef5 Prevent DeleteUser API abuse () ()
* fix & co

* word suggestions from @jolheiser
2020-02-03 19:44:06 +02:00
6896dad675 working part of () ()
Co-authored-by: zeripath <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2020-02-03 11:19:04 +08:00
1ed4323005 Add button to revert SimpleMDE to plain textarea () () 2020-02-01 22:24:58 +02:00
049af0d3d0 Fix branch page pull request title and link error () ()
* Fix branch page pull request title and link error ()
2020-02-01 15:14:56 +00:00
f5727d83dd [BugFix] [API] Pull.API.Convert: Only try to get HeadBranch if HeadRepo exist () () 2020-01-31 20:49:45 -05:00
912ce27421 Update topics repo count when deleting repository () 2020-01-31 08:04:49 +00:00
b3549bb5ec [UI] Show pull icon on pull () () 2020-01-29 20:40:43 +00:00
491cbeca67 Fix milestone API state parameter unhandled () ()
* Fix milestone API state parameter unhandled

* Fix test
2020-01-29 18:01:44 +02:00
895d92ffe5 Ensure that feeds are appropriately restricted () ()
* Ensure that feeds are appropriately restricted

* Placate golangci-lint
2020-01-28 23:54:09 +02:00
4b11f967bd PRs: Move to use a temporary repo for pushing new prs () ()
* Move to use a temporary repo for pushing new prs
2020-01-28 18:46:59 +00:00
1e73dd2446 Fix wiki raw view on sub path () ()
* Fix wiki raw view on sub path

* Add test for subpath wiki raw file

* Fix bug
2020-01-28 15:10:25 +00:00
315026c2c5 trim whitespace of MilestoneName at creation/rename () () 2020-01-28 16:52:24 +08:00
16dfd9ffbe Sanitize credentials in mirror form () () 2020-01-26 08:16:53 +00:00
16f7b43903 Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch () ()
* fix pull view when head repository or head branch missed and close related pull requests when delete branch

* fix pull view broken when head repository deleted

* close pull requests when head repositories deleted

* Add tests for broken pull request head repository or branch

* fix typo

* ignore special error when close pull request

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-25 17:39:53 +08:00
043febdbc9 Switch to use -f instead of -F for sendmail () ()
Fix 

Co-authored-by: zeripath <art27@cantab.net>
2020-01-24 20:45:53 -05:00
60f91d56f0 Fix check for push on default branch ()
Co-authored-by: techknowlogick <matti@mdranta.net>
2020-01-24 19:56:30 -05:00
16fc15ae6a Fix file rename/copy not supported by indexer () 2020-01-24 18:25:00 -05:00
ef8f6d99f1 Fix regression with tag test running () 2020-01-22 15:49:08 -05:00
4b688135f9 Changelog 1.11.0-rc2 ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-01-22 14:56:55 -05:00
e24861a546 Don't convert ellipsis in markdown () ()
* Don't convert ellipsis

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Formatting

Co-Authored-By: zeripath <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
2020-01-22 16:24:04 +00:00
128cc34344 Fixed repo link in generated comment for cross repository dependency () ()
* fixed link to issue in issue comments after adding/removing a dependency, before links assumed the issue was in the same repository. also changed the format of the displayed issue since the issue will not necessarily be in the same repo

* based on pr comments, changed to use HTMLURL instead of piecing together the issue url, and added an if statement around the issue link display as a nil protection

* only showing repo name in dependency comment if the issue is from another repo

Co-authored-by: Brad Albright <32200834+bhalbright@users.noreply.github.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-01-22 12:54:40 +02:00
f82a805478 Check if diff actually contains sections when rendering () () 2020-01-22 08:02:57 +00:00
0dced15c1a Fix wrong hint when status checking is running on pull request view () ()
* Fix wrong hint when status checking is running on pull request view

* fix lint

* fix test

* fix test

* fix wrong tmpl

* fix import

* rename function name
2020-01-22 08:06:11 +02:00
db9342c854 Fix RocketChat () ()
* Fix RocketChat??

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Don't send attachment for repo create/delete

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Make fmt

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-21 17:24:18 -05:00
79c1d48532 Do not try to recreate ldap user if they are already created () ()
* Do not try to recreate ldap user if they are already created

* just remove autoregister

Co-authored-by: techknowlogick <matti@mdranta.net>

Co-authored-by: techknowlogick <matti@mdranta.net>
2020-01-21 21:17:00 +01:00
05b9864086 Update queue_redis.go () 2020-01-21 20:02:25 +08:00
ff508c9c9b Add option to prevent LDAP from deactivating everything on empty search () ()
* Add option to prevent LDAP from deactivating everything on empty search

* Update options/locale/locale_en-US.ini

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-01-20 21:18:23 +02:00
f96c1a2c79 Fix wrong permissions check when issues/prs shared operations () ()
* Fix wrong permissions check when issues/prs shared operations

* move redirect to the last of the function

* fix swagger

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-20 17:59:33 +02:00
ce756ee89f Check user != nil before checking values () ()
* Check user != nil before checking values

* Handle autoAdmin

Co-authored-by: zeripath <art27@cantab.net>
2020-01-19 22:01:39 -05:00
f2e9d4b851 Allow hyphen in language name () ()
Co-authored-by: techknowlogick <matti@mdranta.net>
2020-01-19 19:23:35 -05:00
e878d743f4 Ensure that 2fa is checked on reset-password () ()
* Ensure that 2fa is checked on reset-password

* Apply suggestions from code review

Co-Authored-By: Lauris BH <lauris@nix.lv>

* Properly manage scratch_code regeneration

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-19 23:21:21 +00:00
3fa14d89a2 [Backport] CI optimisation & add github token env var ()
* ci: use docker image for golangci-lint ()

* ci: re-ordering Drone CI for optimizing time ()

* ci: try re-ordering for optimizing time

* ci: try re-ordering for optimizing time

* ci: try re-ordering for optimizing time

* ci: try re-ordering for optimizing time

* ci: try re-ordering for optimizing time

* ci: try re-ordering for optimizing time

* ci: try offloading mysql8 to arm64

* Revert "ci: try offloading mysql8 to arm64"

This reverts commit c60de5db1cf8b5984c3014a57da6490f06c8d980.

* ci: try offloading pgsql to arm64

* ci: activate ldap on arm64

* ci: test mysql8 in place pgsql arm64

* chore: clean un-needed move

* typo

* ci: revert runnning mysql on arm64

* ci: run compliance on arm

* chore: limit change

* chore: readd maybe need for release fetch-tags

* ci: remove docker-linux-amd64-dry-run

* ci: remove docker-linux-amd64-dry-run

* Revert "ci: remove docker-linux-amd64-dry-run"

This reverts commit 0715f65b11c37869359aaaa5d22901da512e8184.

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>

* ci: use new mssql image ()

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>

* ci: run notify on arm64 ()

* ci: run notify on arm64

Free one jobs on amrd64

* Update .drone.yml

* Update .drone.yml

* Update .drone.yml

Based on: https://github.com/appleboy/drone-discord/blob/master/.drone.yml#L339

* improve trigger

Co-authored-by: techknowlogick <matti@mdranta.net>

* ci: move some integration tests on arm64 ()

* tests: configure github remaining limit + read token ()

* ci: configure remaining github limmit

* prepend with github since package is common to all migrations

* add RefreshRate

* Update github.go

* add missing space

* go fmt

* Read env variable GITHUB_READ_TOKEN for token

* Update .drone.yml

* ci: simplify tag/release by always running coverage ()

* ci: simplify tag/release by always running coverage

* use mod and vendor for unit test coverage

* remove not needed lfs for unit test

* use arm drone agent for docs ()

* run translations pipeline on arm server ()

* add git-check to Makefile

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <matti@mdranta.net>
2020-01-19 23:21:54 +01:00
bcb722daec Make CertFile and KeyFile relative to CustomPath () ()
* Make CertFile and KeyFile relative to CustomPath

The current code will absolute CertFile and KeyFile against the current working directory. This is quite unexpected for users. This code makes relative paths absolute against the CustomPath.

Fix 

* Improve error reporting when reading certificates

* Apply suggestions from code review

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-01-19 19:59:30 +00:00
8add1dfacc Fix issues/pulls dependencies problems () ()
* Fix issues/pulls dependencies problems

* fix swagger and api param name

* fix js
2020-01-19 12:56:57 -05:00
aa6ed1b7c1 Explicitly refer to PR in squash-merge commit message in case of external tracker () ()
* Explicitly refer to PR in squash-merge commit message in case of external tracker

* documentation

Co-authored-by: zeripath <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2020-01-18 22:28:33 +08:00
95cb921097 fix () 2020-01-17 23:31:46 -05:00
6730df9e8c Changelog 1.10.3 () () 2020-01-17 17:02:30 -05:00
b577500a54 Fix markdown anchor links () () 2020-01-17 11:49:50 -05:00
fe46185407 Fix download file wrong content-type () ()
* Fix download file wrong content-type

* change the error text to be more precise

* fix test

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-17 15:11:20 +01:00
69a2a29c33 Fix wrong identify poster on a migrated pull request when submi… () () 2020-01-17 13:38:11 +01:00
f766719895 fix dump non-exist log directory () () 2020-01-17 13:02:41 +08:00
e2ddc42377 Fix compare () ()
Co-authored-by: techknowlogick <matti@mdranta.net>

Co-authored-by: techknowlogick <matti@mdranta.net>
2020-01-17 10:08:28 +08:00
3521177a34 Fix push-to-create () ()
* Fix push-to-create

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Check URL path and service

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Send dummy payload on receive-pack GET

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* The space was actually a NUL byte

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Use real bare repo instead of manufactured payload

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: zeripath <art27@cantab.net>
2020-01-16 07:40:37 +02:00
c8bb0ecf52 Fix missing msteam webhook on organization () () 2020-01-16 03:09:47 +00:00
dbe6136348 Fix missing unlock in uniquequeue () 2020-01-16 01:09:31 +01:00
6d1f7e90cf Fix () Korean locales ()
* backport korean 20-20-01-15 | fix 

* update state 14:43:10 UTC
2020-01-15 11:28:44 -05:00
42663a687c Fix add team on collaborator page when same name as organization () 2020-01-15 14:18:18 +01:00
73c90c26d4 Backport Locales [2020-01-14] ()
* backport state of 2020-01-14

* Apply suggestions from code review

Co-Authored-By: 6543 <6543@obermui.de>

Co-authored-by: zeripath <art27@cantab.net>
2020-01-15 07:03:38 +00:00
c579ad92b5 Fix SimpleMDE quote reply () ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: zeripath <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-01-15 03:23:55 +01:00
602c5da953 Fix () ()
Co-authored-by: zeripath <art27@cantab.net>
2020-01-15 01:41:28 +01:00
1980e59ac2 Fix milestones page ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com>
2020-01-14 23:33:12 +01:00
28508792ba Fix missing updated time on migrated issues and comments () ()
* Fix missing updated time on migrated issues and comments

* Fix testing and missing updated on migrating pullrequest

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-01-14 17:55:03 +01:00
3e23dad075 fix webpack polyfills () ()
webpack polyfills did not work because useBuiltIns: 'entry' expects a
explicit core-js import. Changed it to 'usage' which does not require
these explicit imports and polyfills based on browserslist.

As a result, the built index.js now went from 128kB to 192kB.

Ref: https://babeljs.io/docs/en/babel-preset-env#usebuiltins
2020-01-12 17:43:16 -05:00
b13b9d3dbd Move Errored PRs out of StatusChecking () ()
* Move Errored PRs out of StatusChecking ()

* Set Errored PRs out of StatusChecking

* Ensure that api status is correctly set too

* Update models/pull.go

Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>

Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com>

* Update services/pull/check.go

Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com>
2020-01-12 20:52:40 +01:00
4072f28e60 Make hook status printing configurable with delay () ()
* Delay printing hook statuses until after 1 second

* Move to a 5s delay, wrapped writer structure and add config

* Update cmd/hook.go

* Apply suggestions from code review

* Update cmd/hook.go

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-01-12 18:02:36 +00:00
dbeef6bb02 [BugFix] [API] ​/repos​/issues​/search () ()
* fix

* fix options

* add TEST

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-01-12 10:20:49 +00:00
fec35440db silence fomantic error regarding tabs () ()
Fomantic expects all tabs to have a target element with content as
defined by the data-tab attribute. All our usage of the tab module seems
to use <a> element tabs that link to new pages so these content elements
are never present and fomantic complains about that in the console with
an "Activated tab cannot be found" error. This silences that error.
2020-01-11 23:20:33 -05:00
f8ea50cc7a Remove unused lock () 2020-01-11 19:06:39 +00:00
0e53a16cca Missed q.lock.Unlock() will cause panic () 2020-01-11 17:05:24 +00:00
7eaba6ba8a Never allow an empty password to validate () ()
* Restore IsPasswordSet previous value

* Update models/user.go

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-11 16:27:03 +02:00
ff16099c6d Don't attempt to close issue if already closed () 2020-01-11 01:42:11 -05:00
a516a7ba0f Load milestone in API PR list () () 2020-01-10 22:58:03 -05:00
11bce6fd3d eliminate horizontal scroll caused by footer ()
Co-authored-by: zeripath <art27@cantab.net>
2020-01-10 08:45:59 +08:00
3fb906dc02 remove google font call () () 2020-01-09 16:40:57 -05:00
3a00a690c9 Prevent redirect to Host () () 2020-01-09 16:37:37 -05:00
a2b7cc1bb1 Fix nil reference in repo generation () ()
* Fix nil reference

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Tighten

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-01-09 16:50:21 +00:00
04a77b1f42 Add HTML URL to API Issues () ()
* Add HTML URL to API Issues

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Swagger

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-09 08:07:21 +02:00
f523372d07 Add PR review webhook to Telegram () ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
2020-01-08 21:42:28 +02:00
e39c238ef4 fix () 2020-01-08 17:32:25 +01:00
9147 changed files with 1982071 additions and 426902 deletions
.air.toml.changelog.yml.drone.yml.editorconfig.eslintignore.eslintrc.gitattributes
.gitea
.github
.gitignore.golangci.yml.ignore.npmrc.revive.toml.stylelintrcCHANGELOG.mdCONTRIBUTING.mdDockerfileDockerfile.rootlessMAINTAINERSMakefileREADME.mdREADME_ZH.mdSECURITY.md
assets
build.go
build
cmd
contrib
custom/conf
docker
docs
.editorconfigMakefileREADME_ZH.md
assets/js
config.yaml
content
doc
advanced.zh-tw.md
advanced
developers.en-us.mddevelopers.zh-cn.mddevelopers.zh-tw.md
developers
features
help.zh-tw.md
help
installation
packages.en-us.md
packages
translation.de-de.mdtranslation.en-us.mdtranslation.zh-tw.md
translation
upgrade
usage.zh-tw.md
usage
page
layouts/shortcodes
static
go.modgo.sum
integrations
README.mdREADME_ZH.mdadmin_user_test.goapi_admin_org_test.goapi_admin_test.goapi_branch_test.goapi_comment_test.goapi_gpg_keys_test.goapi_helper_for_declarative_test.goapi_httpsig_test.goapi_issue_label_test.goapi_issue_milestone_test.goapi_issue_reaction_test.goapi_issue_stopwatch_test.goapi_issue_subscription_test.goapi_issue_test.goapi_issue_tracked_time_test.goapi_keys_test.goapi_nodeinfo_test.goapi_notification_test.goapi_oauth2_apps_test.goapi_org_test.goapi_packages_composer_test.goapi_packages_conan_test.goapi_packages_container_test.goapi_packages_generic_test.goapi_packages_helm_test.goapi_packages_maven_test.goapi_packages_npm_test.goapi_packages_nuget_test.goapi_packages_pypi_test.goapi_packages_rubygems_test.goapi_packages_test.goapi_private_serv_test.goapi_pull_commits_test.goapi_pull_review_test.goapi_pull_test.goapi_releases_test.goapi_repo_archive_test.goapi_repo_collaborator_test.goapi_repo_edit_test.goapi_repo_file_create_test.goapi_repo_file_delete_test.goapi_repo_file_get_test.goapi_repo_file_helpers.goapi_repo_file_update_test.goapi_repo_get_contents_list_test.goapi_repo_get_contents_test.goapi_repo_git_blobs_test.goapi_repo_git_commits_test.goapi_repo_git_hook_test.goapi_repo_git_notes_test.goapi_repo_git_ref_test.goapi_repo_git_tags_test.goapi_repo_git_trees_test.goapi_repo_languages_test.goapi_repo_lfs_locks_test.goapi_repo_lfs_migrate_test.goapi_repo_lfs_test.goapi_repo_raw_test.goapi_repo_tags_test.goapi_repo_teams_test.goapi_repo_test.goapi_repo_topic_test.goapi_settings_test.goapi_team_test.goapi_team_user_test.goapi_token_test.goapi_user_email_test.goapi_user_heatmap_test.goapi_user_org_perm_test.goapi_user_orgs_test.goapi_user_search_test.goapi_wiki_test.goattachment_test.goauth_ldap_test.gobenchmarks_test.gobranches_test.gochange_default_branch_test.gocmd_keys_test.gocompare_test.gocreate_no_session_test.gocsrf_test.godelete_user_test.godownload_test.godump_restore_test.goeditor_test.goempty_repo_test.goeventsource_test.gogit_clone_wiki_test.gogit_helper_for_declarative_test.gogit_smart_http_test.gogit_test.go
gitea-repositories-meta
limited_org
migration/lfs-test.git
org26
privated_org
user12/repo10.git/hooks
user13/repo11.git/hooks
user2
commits_search_test.git/hooks
git_hooks_test.git/hooks
glob.git/hooks
repo1.git
repo1.wiki.git
repo15.git/hooks
repo16.git/hooks
repo2.git
repo20.git/hooks
utf8.git
user27
user3/repo3.git
user30/empty.git
user5/repo4.git
goget_test.gogpg_git_test.gohtml_helper.gointegration_test.goissue_test.golfs_getobject_test.golfs_local_endpoint_test.golinks_test.gomigrate_test.go
migration-test
mirror_pull_test.gomirror_push_test.gomssql.ini.tmplmysql.ini.tmplmysql8.ini.tmplnonascii_branches_test.gooauth_test.goorg_count_test.goorg_test.gopgsql.ini.tmplprivate-testing.keyprivateactivity_test.gopull_create_test.gopull_merge_test.gopull_status_test.gopull_update_test.gorelease_test.gorename_branch_test.gorepo_activity_test.gorepo_branch_test.gorepo_commits_search_test.gorepo_commits_test.gorepo_fork_test.gorepo_generate_test.gorepo_migrate_test.gorepo_search_test.gorepo_tag_test.gorepo_test.gorepo_topic_test.gorepo_watch_test.gorepofiles_delete_test.gorepofiles_update_test.gosetting_test.gosignin_test.gosignout_test.gosignup_test.gosqlite.inisqlite.ini.tmplssh_key_test.gotestlogger.gotimetracking_test.gouser_avatar_test.gouser_test.goview_test.gowebfinger_test.goxss_test.go
jest.config.jsmain.go
models
access.goaccess_test.goaction.goaction_list.goaction_test.goadmin.go
admin
admin_test.go
appstate
asymkey
attachment.goattachment_test.go
auth
avatars
branches.gobranches_test.gocommit_status.gocommit_status_test.goconsistency.gocontext.goconvert.go
db
error.goerror_oauth2.goexternal_login_user.gofixture_generation.gofixture_test.go
fixtures
foreignreference
git
gpg_key.gogpg_key_test.gohelper.gohelper_directory.gohelper_environment.goissue.goissue_assignees.goissue_assignees_test.goissue_comment.goissue_comment_list.goissue_comment_test.goissue_dependency.goissue_dependency_test.goissue_label.goissue_label_test.goissue_list.goissue_list_test.goissue_lock.goissue_milestone.goissue_milestone_test.goissue_reaction.goissue_reaction_test.goissue_stopwatch.goissue_stopwatch_test.goissue_test.goissue_tracked_time.goissue_tracked_time_test.goissue_user.goissue_user_test.goissue_watch.goissue_watch_test.goissue_xref.goissue_xref_test.go
issues
lfs.golfs_lock.golog.gologin_source.gomain_test.gomigrate.gomigrate_test.go
migrations
fixtures
migrations.gomigrations_test.gotestlogger_test.gov100.gov102.gov104.gov105.gov107.gov110.gov111.gov112.gov114.gov115.gov116.gov118.gov119.gov120.gov121.gov122.gov123.gov124.gov125.gov126.gov127.gov128.gov129.gov13.gov130.gov131.gov132.gov133.gov134.gov135.gov136.gov137.gov138.gov139.gov14.gov140.gov141.gov142.gov143.gov144.gov145.gov146.gov147.gov148.gov149.gov15.gov150.gov151.gov152.gov153.gov154.gov155.gov156.gov157.gov158.gov159.gov16.gov160.gov161.gov162.gov163.gov164.gov165.gov166.gov167.gov168.gov169.gov17.gov170.gov171.gov172.gov173.gov174.gov175.gov176.gov176_test.gov177.gov177_test.gov178.gov179.gov18.gov180.gov181.gov181_test.gov182.gov182_test.gov183.gov184.gov185.gov186.gov187.gov188.gov189.gov189_test.gov19.gov190.gov191.gov192.gov193.gov193_test.gov194.gov195.gov195_test.gov196.gov197.gov198.gov199.gov20.gov200.gov201.gov202.gov203.gov204.gov205.gov206.gov207.gov208.gov209.gov21.gov210.gov210_test.gov211.gov212.gov213.gov214.gov215.gov216.gov217.gov218.gov219.gov22.gov220.gov221.gov221_test.gov222.gov223.gov23.gov24.gov25.gov26.gov27.gov28.gov29.gov30.gov31.gov32.gov33.gov34.gov35.gov36.gov37.gov38.gov39.gov40.gov41.gov45.gov46.gov47.gov48.gov49.gov50.gov51.gov52.gov53.gov54.gov55.gov56.gov57.gov58.gov59.gov60.gov61.gov62.gov63.gov64.gov65.gov66.gov67.gov68.gov69.gov70.gov71.gov76.gov79.gov81.gov82.gov85.gov88.gov92.gov96.gov99.go
models.gomodels_test.gonotification.gonotification_test.gooauth2.gooauth2_application.gooauth2_application_test.goorg.goorg_team.goorg_team_test.goorg_test.go
organization
packages
perm
project
pull.go
pull
pull_list.gopull_sign.gopull_test.gorelease.gorepo.go
repo
repo_activity.gorepo_branch.gorepo_collaboration.gorepo_collaboration_test.gorepo_generate.gorepo_generate_test.gorepo_indexer.gorepo_issue.gorepo_list.gorepo_list_test.gorepo_mirror.gorepo_permission.gorepo_permission_test.gorepo_redirect.gorepo_redirect_test.gorepo_sign.gorepo_test.gorepo_transfer.gorepo_transfer_test.gorepo_unit.gorepo_watch.gorepo_watch_test.goreview.goreview_test.gossh_key.gossh_key_test.gostar.gostar_test.gostatistic.gotask.gotest_fixtures.gotoken.gotoken_test.gotopic.gotopic_test.gotwofactor.gou2f.gou2f_test.gounit.go
unit
unit_tests.go
unittest
update.goupdate_test.goupload.gouser.go
user
user_follow.gouser_follow_test.gouser_heatmap.gouser_heatmap_test.gouser_mail.gouser_mail_test.gouser_openid.gouser_openid_test.gouser_test.gouserlist.gouserlist_test.gowebhook.go
webhook
webhook_test.gowiki.gowiki_test.go
modules
activitypub
analyze
appstate
auth
avatar
base
cache
charset
container
context
convert
cron
csv
doctor
emoji
eventsource
generate
git
batch_reader.goblame.goblame_test.goblob.goblob_gogit.goblob_nogogit.goblob_test.gocache.gocommand.gocommand_race_test.gocommand_test.gocommit.gocommit_archive.gocommit_convert_gogit.gocommit_info.gocommit_info_gogit.gocommit_info_nogogit.gocommit_info_test.gocommit_reader.gocommit_test.godiff.godiff_test.goerror.go
foreachref
git.gogit_test.gohook.golast_commit_cache.golast_commit_cache_gogit.golast_commit_cache_nogogit.golfs.golog_name_status.gonotes.gonotes_gogit.gonotes_nogogit.gonotes_test.goparse.goparse_gogit.goparse_gogit_test.goparse_nogogit.goparse_nogogit_test.goparse_test.go
pipeline
ref.goremote.gorepo.gorepo_archive.gorepo_attribute.gorepo_attribute_test.gorepo_base.gorepo_base_gogit.gorepo_base_nogogit.gorepo_blame.gorepo_blob.gorepo_blob_gogit.gorepo_blob_nogogit.gorepo_blob_test.gorepo_branch.gorepo_branch_gogit.gorepo_branch_nogogit.gorepo_branch_test.gorepo_commit.gorepo_commit_gogit.gorepo_commit_nogogit.gorepo_commit_test.gorepo_commitgraph.gorepo_commitgraph_gogit.gorepo_compare.gorepo_compare_test.gorepo_gpg.gorepo_index.gorepo_language_stats.gorepo_language_stats_gogit.gorepo_language_stats_nogogit.gorepo_language_stats_test.gorepo_object.gorepo_ref.gorepo_ref_gogit.gorepo_ref_nogogit.gorepo_ref_test.gorepo_stats.gorepo_stats_test.gorepo_tag.gorepo_tag_gogit.gorepo_tag_nogogit.gorepo_tag_test.gorepo_test.gorepo_tree.gorepo_tree_gogit.gorepo_tree_nogogit.gosha1.gosha1_gogit.gosha1_nogogit.gosignature.gosignature_gogit.gosignature_nogogit.gosubmodule.gosubmodule_test.gotag.gotag_test.go
tests/repos
language_stats_repo
repo1_bare
repo2_empty/hooks
repo4_commitsbetween
repo5_pulls
tree.gotree_blob.gotree_blob_gogit.gotree_blob_nogogit.gotree_entry.gotree_entry_gogit.gotree_entry_mode.gotree_entry_nogogit.gotree_entry_test.gotree_gogit.gotree_nogogit.go
url
utils.goutils_test.go
gitgraph
graceful
hcaptcha
highlight
hostmatcher
httpcache
httplib
indexer
json
lfs
log
markup
metrics
migration
migrations
nosql
notification
options
packages
paginator
password
pprof
private
process
proxy
public
queue
recaptcha
references
regexplru
repofiles
repository
secret
session
setting
ssh
storage
structs
svg
sync
task
templates
test
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util
validation
web
webhook
options
gitignore
license
0BSDAALADSLAFL-1.1AFL-1.2AFL-2.0AFL-2.1AFL-3.0AGPL-1.0-onlyAGPL-1.0-or-laterAGPL-3.0-onlyAGPL-3.0-or-laterAMDPLPAAMLAMPASANTLR-PDANTLR-PD-fallbackAPAFMLAPL-1.0APSL-1.0APSL-1.1APSL-1.2APSL-2.0AbstylesAdobe-2006Adobe-GlyphAfmparseAladdinApache-1.0Apache-1.1Apache-2.0App-s2pArphic-1999Artistic-1.0Artistic-1.0-PerlArtistic-1.0-cl8Artistic-2.0Autoconf-exception-3.0BSD-1-ClauseBSD-2-ClauseBSD-2-Clause-PatentBSD-2-Clause-ViewsBSD-3-ClauseBSD-3-Clause-AttributionBSD-3-Clause-ClearBSD-3-Clause-LBNLBSD-3-Clause-ModificationBSD-3-Clause-No-Military-LicenseBSD-3-Clause-No-Nuclear-LicenseBSD-3-Clause-No-Nuclear-License-2014BSD-3-Clause-No-Nuclear-WarrantyBSD-3-Clause-Open-MPIBSD-4-ClauseBSD-4-Clause-ShortenedBSD-4-Clause-UCBSD-ProtectionBSD-Source-CodeBSL-1.0BUSL-1.1BaekmukBahyphBarrBeerwareBitTorrent-1.0BitTorrent-1.1Bitstream-VeraBlueOak-1.0.0Bootloader-exceptionBorceuxC-UDA-1.0CAL-1.0CAL-1.0-Combined-Work-ExceptionCATOSL-1.1CC-BY-1.0CC-BY-2.0CC-BY-2.5-AUCC-BY-3.0CC-BY-3.0-ATCC-BY-3.0-DECC-BY-3.0-NLCC-BY-3.0-USCC-BY-4.0CC-BY-NC-1.0CC-BY-NC-2.0CC-BY-NC-3.0CC-BY-NC-3.0-DECC-BY-NC-4.0CC-BY-NC-ND-1.0CC-BY-NC-ND-2.0CC-BY-NC-ND-3.0CC-BY-NC-ND-3.0-DECC-BY-NC-ND-3.0-IGOCC-BY-NC-ND-4.0CC-BY-NC-SA-1.0CC-BY-NC-SA-2.0CC-BY-NC-SA-2.0-FRCC-BY-NC-SA-2.0-UKCC-BY-NC-SA-3.0CC-BY-NC-SA-3.0-DECC-BY-NC-SA-3.0-IGOCC-BY-NC-SA-4.0CC-BY-ND-1.0CC-BY-ND-2.0CC-BY-ND-3.0CC-BY-ND-3.0-DECC-BY-ND-4.0CC-BY-SA-1.0CC-BY-SA-2.0CC-BY-SA-2.0-UKCC-BY-SA-2.1-JPCC-BY-SA-3.0CC-BY-SA-3.0-ATCC-BY-SA-3.0-DECC-BY-SA-4.0CC-PDDCCC0-1.0CDDL-1.0CDDL-1.1CDL-1.0CDLA-Permissive-1.0CDLA-Permissive-2.0CDLA-Sharing-1.0CECILL-1.0CECILL-1.1CECILL-2.0CECILL-2.1CECILL-BCECILL-CCERN-OHL-1.1CERN-OHL-1.2CERN-OHL-P-2.0CERN-OHL-S-2.0CERN-OHL-W-2.0CNRI-JythonCNRI-PythonCNRI-Python-GPL-CompatibleCOIL-1.0CPAL-1.0CPL-1.0CPOL-1.02CUA-OPL-1.0CalderaClArtisticCommunity-Spec-1.0Condor-1.1CrosswordCrystalStackerCubeD-FSL-1.0DL-DE-BY-2.0DOCDRL-1.0DSDPDigiRule-FOSS-exceptionDotseqnECL-1.0ECL-2.0EFL-1.0EFL-2.0EPICSEPL-1.0EPL-2.0EUDatagridEUPL-1.0EUPL-1.1EUPL-1.2Elastic-2.0EntessaErlPL-1.1EurosymFDK-AACFSFAPFSFULFSFULLRFTLFairFrameworx-1.0FreeBSD-DOCFreeImageGCC-exception-2.0GCC-exception-3.1GDGFDL-1.1-invariants-onlyGFDL-1.1-invariants-or-laterGFDL-1.1-no-invariants-onlyGFDL-1.1-no-invariants-or-laterGFDL-1.1-onlyGFDL-1.1-or-laterGFDL-1.2-invariants-onlyGFDL-1.2-invariants-or-laterGFDL-1.2-no-invariants-onlyGFDL-1.2-no-invariants-or-laterGFDL-1.2-onlyGFDL-1.2-or-laterGFDL-1.3-invariants-onlyGFDL-1.3-invariants-or-laterGFDL-1.3-no-invariants-onlyGFDL-1.3-no-invariants-or-laterGFDL-1.3-onlyGFDL-1.3-or-laterGL2PSGLWTPLGPL-1.0-onlyGPL-1.0-or-laterGPL-2.0-onlyGPL-2.0-or-laterGPL-3.0-linking-exceptionGPL-3.0-linking-source-exceptionGPL-3.0-onlyGPL-3.0-or-laterGPL-CC-1.0GiftwareGlideGlulxeHPNDHPND-sell-variantHTMLTIDYHaskellReportHippocratic-2.1IBM-pibsICUIJGIPAIPL-1.0ISCImageMagickImlib2Info-ZIPIntelIntel-ACPIInterbase-1.0JPNICJSONJamJasPer-2.0KiCad-libraries-exceptionLAL-1.2LAL-1.3LGPL-2.0-onlyLGPL-2.0-or-laterLGPL-2.1-onlyLGPL-2.1-or-laterLGPL-3.0-linking-exceptionLGPL-3.0-onlyLGPL-3.0-or-laterLGPLLRLLVM-exceptionLPL-1.0LPL-1.02LPPL-1.0LPPL-1.1LPPL-1.2LPPL-1.3aLPPL-1.3cLZMA-exceptionLatex2eLeptonicaLiLiQ-P-1.1LiLiQ-R-1.1LiLiQ-Rplus-1.1LibpngLinux-OpenIBLinux-man-pages-copyleftLinux-syscall-noteMITMIT-0MIT-CMUMIT-Modern-VariantMIT-advertisingMIT-ennaMIT-fehMIT-open-groupMITNFAMPL-1.0MPL-1.1MPL-2.0MPL-2.0-no-copyleft-exceptionMS-PLMS-RLMTLLMakeIndexMirOSMotosotoMulanPSL-1.0MulanPSL-2.0MulticsMupNAIST-2003NASA-1.3NBPL-1.0NCGL-UK-2.0NCSANGPLNIST-PDNIST-PD-fallbackNLOD-1.0NLOD-2.0NLPLNOSLNPL-1.0NPL-1.1NPOSL-3.0NRLNTPNTP-0NaumenNet-SNMPNetCDFNewsletrNokiaNokia-Qt-exception-1.1NowebO-UDA-1.0OCCT-PLOCLC-2.0OCaml-LGPL-linking-exceptionODC-By-1.0ODbL-1.0OFL-1.0OFL-1.0-RFNOFL-1.0-no-RFNOFL-1.1OFL-1.1-RFNOFL-1.1-no-RFNOGC-1.0OGDL-Taiwan-1.0OGL-Canada-2.0OGL-UK-1.0OGL-UK-2.0OGL-UK-3.0OGTSLOLDAP-1.1OLDAP-1.2OLDAP-1.3OLDAP-1.4OLDAP-2.0OLDAP-2.0.1OLDAP-2.1OLDAP-2.2OLDAP-2.2.1OLDAP-2.2.2OLDAP-2.3OLDAP-2.4OLDAP-2.7OMLOPL-1.0OPUBL-1.0OSET-PL-2.1OSL-1.0OSL-1.1OSL-2.0OSL-2.1OSL-3.0OpenJDK-assembly-exception-1.0OpenSSLPDDL-1.0PHP-3.0PHP-3.01PS-or-PDF-font-exception-20170817PSF-2.0Parity-6.0.0Parity-7.0.0PlexusPolyForm-Noncommercial-1.0.0PolyForm-Small-Business-1.0.0PostgreSQLPython-2.0QPL-1.0QhullQt-GPL-exception-1.0Qt-LGPL-exception-1.1Qwt-exception-1.0RHeCos-1.1RPL-1.1RPSL-1.0RSA-MDRSCPLRdiscRubySAX-PDSCEASGI-B-1.0SGI-B-1.1SGI-B-2.0SHL-0.51SHL-2.0SHL-2.1SISSLSISSL-1.2SMLNJSMPPLSNIASPL-1.0SSH-OpenSSHSSH-shortSSPL-1.0SWLSaxpathSchemeReportSendmailSendmail-8.23SimPL-2.0SleepycatSpencer-86Spencer-94Spencer-99SugarCRM-1.1.3Swift-exceptionTAPR-OHL-1.0TCLTCP-wrappersTMateTORQUE-1.1TOSLTU-Berlin-1.0TU-Berlin-2.0UCL-1.0UPL-1.0Unicode-DFS-2015Unicode-DFS-2016Unicode-TOUUniversal-FOSS-exception-1.0UnlicenseVOSTROMVSL-1.0Verbatim-man-pagesVimW3CW3C-19980720W3C-20150513WTFPLWatcom-1.0WsuipaWxWindows-exception-3.1X11X11-distribute-modifications-variantXFree86-1.1XSkatXeroxXnetYPL-1.0YPL-1.1ZPL-1.1ZPL-2.0ZPL-2.1ZedZend-2.0Zimbra-1.3Zimbra-1.4Zlibblessingcopyleft-next-0.3.0copyleft-next-0.3.1curldiffmarkdvipdfmeGenixetalab-2.0freertos-exception-2.0gSOAP-1.3bgnu-javamail-exceptiongnuploti2p-gpl-java-exceptioniMatixlibpng-2.0libselinux-1.0libtiffmpich2mpluspsfragpsutilsu-boot-exception-2.0xinetdxppzlib-acknowledgement
locale
package-lock.jsonpackage.json
public
img
apple-touch-icon.png
auth
avatar_default.png
emoji
failed.pngfavicon.icofavicon.pngfavicon.svgfeishu.pnggitea-192.pnggitea-512.pnggitea-lg.pnggitea-safari.svggitea-sm.pnggitea.svgloading.pnglogo.pnglogo.svgmatrix.svgmsteams.pngpackagist.pngrepo_default.png
svg
fontawesome-openid.svgfontawesome-windows.svggitea-codebase.svggitea-composer.svggitea-conan.svggitea-double-chevron-left.svggitea-double-chevron-right.svggitea-git.svggitea-gitbucket.svggitea-gitea.svggitea-github.svggitea-gitlab.svggitea-gogs.svggitea-helm.svggitea-join.svggitea-lock-cog.svggitea-lock.svggitea-maven.svggitea-npm.svggitea-nuget.svggitea-onedev.svggitea-python.svggitea-rubygems.svggitea-split.svggitea-unlock.svggitea-vscode.svggitea-whitespace.svgmaterial-invert-colors.svgmaterial-palette.svgocticon-accessibility.svgocticon-alert.svgocticon-apps.svgocticon-archive.svgocticon-arrow-both.svgocticon-arrow-down.svgocticon-arrow-left.svgocticon-arrow-right.svgocticon-arrow-switch.svgocticon-arrow-up.svgocticon-beaker.svgocticon-bell-fill.svgocticon-bell-slash.svgocticon-bell.svgocticon-blocked.svgocticon-bold.svgocticon-book.svgocticon-bookmark-slash.svgocticon-bookmark.svgocticon-briefcase.svgocticon-broadcast.svgocticon-browser.svgocticon-bug.svgocticon-calendar.svgocticon-check-circle-fill.svgocticon-check-circle.svgocticon-check.svgocticon-checklist.svgocticon-chevron-down.svgocticon-chevron-left.svgocticon-chevron-right.svgocticon-chevron-up.svgocticon-circle-slash.svgocticon-circle.svgocticon-clock.svgocticon-cloud-offline.svgocticon-cloud.svgocticon-code-of-conduct.svgocticon-code-review.svgocticon-code-square.svgocticon-code.svgocticon-codescan-checkmark.svgocticon-codescan.svgocticon-codespaces.svgocticon-columns.svgocticon-comment-discussion.svgocticon-comment.svgocticon-container.svgocticon-copy.svgocticon-cpu.svgocticon-credit-card.svgocticon-cross-reference.svgocticon-dash.svgocticon-database.svgocticon-dependabot.svgocticon-desktop-download.svgocticon-device-camera-video.svgocticon-device-camera.svgocticon-device-desktop.svgocticon-device-mobile.svgocticon-diamond.svgocticon-diff-added.svgocticon-diff-ignored.svgocticon-diff-modified.svgocticon-diff-removed.svgocticon-diff-renamed.svgocticon-diff.svgocticon-dot-fill.svgocticon-dot.svgocticon-download.svgocticon-duplicate.svgocticon-ellipsis.svgocticon-eye-closed.svgocticon-eye.svgocticon-feed-discussion.svgocticon-feed-forked.svgocticon-feed-heart.svgocticon-feed-merged.svgocticon-feed-person.svgocticon-feed-repo.svgocticon-feed-rocket.svgocticon-feed-star.svgocticon-feed-tag.svgocticon-feed-trophy.svgocticon-file-added.svgocticon-file-badge.svgocticon-file-binary.svgocticon-file-code.svgocticon-file-diff.svgocticon-file-directory-fill.svgocticon-file-directory-open-fill.svgocticon-file-directory.svgocticon-file-moved.svgocticon-file-removed.svgocticon-file-submodule.svgocticon-file-symlink-file.svgocticon-file-zip.svgocticon-file.svgocticon-filter.svgocticon-flame.svgocticon-fold-down.svgocticon-fold-up.svgocticon-fold.svgocticon-gear.svgocticon-gift.svgocticon-git-branch.svgocticon-git-commit.svgocticon-git-compare.svgocticon-git-merge.svgocticon-git-pull-request-closed.svgocticon-git-pull-request-draft.svgocticon-git-pull-request.svgocticon-globe.svgocticon-grabber.svgocticon-graph.svgocticon-hash.svgocticon-heading.svgocticon-heart-fill.svgocticon-heart.svgocticon-history.svgocticon-home.svgocticon-horizontal-rule.svgocticon-hourglass.svgocticon-hubot.svgocticon-id-badge.svgocticon-image.svgocticon-inbox.svgocticon-infinity.svgocticon-info.svgocticon-issue-closed.svgocticon-issue-draft.svgocticon-issue-opened.svgocticon-issue-reopened.svgocticon-italic.svgocticon-iterations.svgocticon-kebab-horizontal.svgocticon-key-asterisk.svgocticon-key.svgocticon-law.svgocticon-light-bulb.svgocticon-link-external.svgocticon-link.svgocticon-list-ordered.svgocticon-list-unordered.svgocticon-location.svgocticon-lock.svgocticon-log.svgocticon-logo-gist.svgocticon-logo-github.svgocticon-mail.svgocticon-mark-github.svgocticon-markdown.svgocticon-megaphone.svgocticon-mention.svgocticon-meter.svgocticon-milestone.svgocticon-mirror.svgocticon-moon.svgocticon-mortar-board.svgocticon-multi-select.svgocticon-mute.svgocticon-no-entry.svgocticon-north-star.svgocticon-note.svgocticon-number.svgocticon-organization.svgocticon-package-dependencies.svgocticon-package-dependents.svgocticon-package.svgocticon-paintbrush.svgocticon-paper-airplane.svgocticon-paste.svgocticon-pencil.svgocticon-people.svgocticon-person-add.svgocticon-person-fill.svgocticon-person.svgocticon-pin.svgocticon-play.svgocticon-plug.svgocticon-plus-circle.svgocticon-plus.svgocticon-project.svgocticon-pulse.svgocticon-question.svgocticon-quote.svgocticon-reply.svgocticon-repo-clone.svgocticon-repo-deleted.svgocticon-repo-forked.svgocticon-repo-locked.svgocticon-repo-pull.svgocticon-repo-push.svgocticon-repo-template.svgocticon-repo.svgocticon-report.svgocticon-rocket.svgocticon-rows.svgocticon-rss.svgocticon-ruby.svgocticon-screen-full.svgocticon-screen-normal.svgocticon-search.svgocticon-server.svgocticon-share-android.svgocticon-share.svgocticon-shield-check.svgocticon-shield-lock.svgocticon-shield-x.svgocticon-shield.svgocticon-sidebar-collapse.svgocticon-sidebar-expand.svgocticon-sign-in.svgocticon-sign-out.svgocticon-single-select.svgocticon-skip.svgocticon-sliders.svgocticon-smiley.svgocticon-sort-asc.svgocticon-sort-desc.svgocticon-square-fill.svgocticon-square.svgocticon-squirrel.svgocticon-stack.svgocticon-star-fill.svgocticon-star.svgocticon-stop.svgocticon-stopwatch.svgocticon-strikethrough.svgocticon-sun.svgocticon-sync.svgocticon-tab-external.svgocticon-table.svgocticon-tag.svgocticon-tasklist.svgocticon-telescope-fill.svgocticon-telescope.svgocticon-terminal.svgocticon-three-bars.svgocticon-thumbsdown.svgocticon-thumbsup.svgocticon-tools.svgocticon-trash.svgocticon-triangle-down.svgocticon-triangle-left.svgocticon-triangle-right.svgocticon-triangle-up.svgocticon-trophy.svgocticon-typography.svgocticon-unfold.svgocticon-unlock.svgocticon-unmute.svgocticon-unverified.svgocticon-upload.svgocticon-verified.svgocticon-versions.svgocticon-video.svgocticon-webhook.svgocticon-workflow.svgocticon-x-circle-fill.svgocticon-x-circle.svgocticon-x.svgocticon-zap.svg
telegram.pngwechatwork.png
vendor
VERSIONS
assets
librejs.html
plugins
clipboard
codemirror
.gitattributes.gitignore.npmignore.travis.ymlLICENSE
addon
mode
apl
asciiarmor
asn.1
asterisk
brainfuck
clike
clojure
cmake
cobol
coffeescript
commonlisp
crystal
css
cypher
d
dart
diff
django
dockerfile
dtd
dylan
ebnf
ecl
eiffel
elm
erlang
factor
fcl
forth
fortran
gas
gfm
gherkin
go
groovy
haml
handlebars
haskell-literate
haskell
haxe
htmlembedded
htmlmixed
http
idl
index.html
javascript
jinja2
jsx
julia
livescript
lua
markdown
mathematica
mbox
meta.js
mirc
mllike
modelica
mscgen
mumps
nginx
nsis
ntriples
octave
oz
pascal
pegjs
perl
php
pig
powershell
properties
protobuf
pug
puppet
python
q
r
rpm
rst
ruby
rust
sas
sass
scheme
shell
sieve
slim
smalltalk
smarty
solr
soy
sparql
spreadsheet
sql
stex
stylus
swift
tcl
textile
tiddlywiki
tiki
toml
tornado
troff
ttcn-cfg
ttcn
turtle
twig
vb
vbscript
velocity
verilog
vhdl
vue
webidl
xml
xquery
yacas
yaml-frontmatter
yaml
z80
cssrelpreload
dropzone
emojify
LICENSEemojify.custom.js
images
+1.png-1.png100.png1234.png8ball.pnga.pngab.pngabc.pngabcd.pngaccept.pngaerial_tramway.pngairplane.pngalarm_clock.pngalien.pngambulance.pnganchor.pngangel.pnganger.pngangry.pnganguished.pngant.pngapple.pngaquarius.pngaries.pngarrow_backward.pngarrow_double_down.pngarrow_double_up.pngarrow_down.pngarrow_down_small.pngarrow_forward.pngarrow_heading_down.pngarrow_heading_up.pngarrow_left.pngarrow_lower_left.pngarrow_lower_right.pngarrow_right.pngarrow_right_hook.pngarrow_up.pngarrow_up_down.pngarrow_up_small.pngarrow_upper_left.pngarrow_upper_right.pngarrows_clockwise.pngarrows_counterclockwise.pngart.pngarticulated_lorry.pngastonished.pngatm.pngb.pngbaby.pngbaby_bottle.pngbaby_chick.pngbaby_symbol.pngback.pngbaggage_claim.pngballoon.pngballot_box_with_check.pngbamboo.pngbanana.pngbangbang.pngbank.pngbar_chart.pngbarber.pngbaseball.pngbasketball.pngbath.pngbathtub.pngbattery.pngbear.pngbee.pngbeer.pngbeers.pngbeetle.pngbeginner.pngbell.pngbento.pngbicyclist.pngbike.pngbikini.pngbird.pngbirthday.pngblack_circle.pngblack_joker.pngblack_medium_small_square.pngblack_medium_square.pngblack_nib.pngblack_small_square.pngblack_square.pngblack_square_button.pngblossom.pngblowfish.pngblue_book.pngblue_car.pngblue_heart.pngblush.pngboar.pngboat.pngbomb.pngbook.pngbookmark.pngbookmark_tabs.pngbooks.pngboom.pngboot.pngbouquet.pngbow.pngbowling.pngbowtie.pngboy.pngbread.pngbride_with_veil.pngbridge_at_night.pngbriefcase.pngbroken_heart.pngbug.pngbulb.pngbullettrain_front.pngbullettrain_side.pngbus.pngbusstop.pngbust_in_silhouette.pngbusts_in_silhouette.pngcactus.pngcake.pngcalendar.pngcalling.pngcamel.pngcamera.pngcancer.pngcandy.pngcapital_abcd.pngcapricorn.pngcar.pngcard_index.pngcarousel_horse.pngcat.pngcat2.pngcd.pngchart.pngchart_with_downwards_trend.pngchart_with_upwards_trend.pngcheckered_flag.pngcherries.pngcherry_blossom.pngchestnut.pngchicken.pngchildren_crossing.pngchocolate_bar.pngchristmas_tree.pngchurch.pngcinema.pngcircus_tent.pngcity_sunrise.pngcity_sunset.pngcl.pngclap.pngclapper.pngclipboard.pngclock1.pngclock10.pngclock1030.pngclock11.pngclock1130.pngclock12.pngclock1230.pngclock130.pngclock2.pngclock230.pngclock3.pngclock330.pngclock4.pngclock430.pngclock5.pngclock530.pngclock6.pngclock630.pngclock7.pngclock730.pngclock8.pngclock830.pngclock9.pngclock930.pngclosed_book.pngclosed_lock_with_key.pngclosed_umbrella.pngcloud.pngclubs.pngcn.pngcocktail.pngcoffee.pngcold_sweat.pngcollision.pngcomputer.pngconfetti_ball.pngconfounded.pngconfused.pngcongratulations.pngconstruction.pngconstruction_worker.pngconvenience_store.pngcookie.pngcool.pngcop.pngcopyright.pngcorn.pngcouple.pngcouple_with_heart.pngcouplekiss.pngcow.pngcow2.pngcredit_card.pngcrescent_moon.pngcrocodile.pngcrossed_flags.pngcrown.pngcry.pngcrying_cat_face.pngcrystal_ball.pngcupid.pngcurly_loop.pngcurrency_exchange.pngcurry.pngcustard.pngcustoms.pngcyclone.pngdancer.pngdancers.pngdango.pngdart.pngdash.pngdate.pngde.pngdeciduous_tree.pngdepartment_store.pngdiamond_shape_with_a_dot_inside.pngdiamonds.pngdisappointed.pngdisappointed_relieved.pngdizzy.pngdizzy_face.pngdo_not_litter.pngdog.pngdog2.pngdollar.pngdolls.pngdolphin.pngdonut.pngdoor.pngdoughnut.pngdragon.pngdragon_face.pngdress.pngdromedary_camel.pngdroplet.pngdvd.pnge-mail.pngear.pngear_of_rice.pngearth_africa.pngearth_americas.pngearth_asia.pngegg.pngeggplant.pngeight.pngeight_pointed_black_star.pngeight_spoked_asterisk.pngelectric_plug.pngelephant.pngemail.pngend.pngenvelope.pnges.pngeuro.pngeuropean_castle.pngeuropean_post_office.pngevergreen_tree.pngexclamation.pngexpressionless.pngeyeglasses.pngeyes.pngfacepunch.pngfactory.pngfallen_leaf.pngfamily.pngfast_forward.pngfax.pngfearful.pngfeelsgood.pngfeet.pngferris_wheel.pngfile_folder.pngfinnadie.pngfire.pngfire_engine.pngfireworks.pngfirst_quarter_moon.pngfirst_quarter_moon_with_face.pngfish.pngfish_cake.pngfishing_pole_and_fish.pngfist.pngfive.pngflags.pngflashlight.pngfloppy_disk.pngflower_playing_cards.pngflushed.pngfoggy.pngfootball.pngfork_and_knife.pngfountain.pngfour.pngfour_leaf_clover.pngfr.pngfree.pngfried_shrimp.pngfries.pngfrog.pngfrowning.pngfu.pngfuelpump.pngfull_moon.pngfull_moon_with_face.pnggame_die.pnggb.pnggem.pnggemini.pngghost.pnggift.pnggift_heart.pnggirl.pnggitea.pngglobe_with_meridians.pnggoat.pnggoberserk.pnggodmode.pnggolf.pnggrapes.pnggreen_apple.pnggreen_book.pnggreen_heart.pnggrey_exclamation.pnggrey_question.pnggrimacing.pnggrin.pnggrinning.pngguardsman.pngguitar.pnggun.pnghaircut.pnghamburger.pnghammer.pnghamster.pnghand.pnghandbag.pnghankey.pnghash.pnghatched_chick.pnghatching_chick.pngheadphones.pnghear_no_evil.pngheart.pngheart_decoration.pngheart_eyes.pngheart_eyes_cat.pngheartbeat.pngheartpulse.pnghearts.pngheavy_check_mark.pngheavy_division_sign.pngheavy_dollar_sign.pngheavy_exclamation_mark.pngheavy_minus_sign.pngheavy_multiplication_x.pngheavy_plus_sign.pnghelicopter.pngherb.pnghibiscus.pnghigh_brightness.pnghigh_heel.pnghocho.pnghoney_pot.pnghoneybee.pnghorse.pnghorse_racing.pnghospital.pnghotel.pnghotsprings.pnghourglass.pnghourglass_flowing_sand.pnghouse.pnghouse_with_garden.pnghurtrealbad.pnghushed.pngice_cream.pngicecream.pngid.pngideograph_advantage.pngimp.pnginbox_tray.pngincoming_envelope.pnginformation_desk_person.pnginformation_source.pnginnocent.pnginterrobang.pngiphone.pngit.pngizakaya_lantern.pngjack_o_lantern.pngjapan.pngjapanese_castle.pngjapanese_goblin.pngjapanese_ogre.pngjeans.pngjoy.pngjoy_cat.pngjp.pngkey.pngkeycap_ten.pngkimono.pngkiss.pngkissing.pngkissing_cat.pngkissing_closed_eyes.pngkissing_face.pngkissing_heart.pngkissing_smiling_eyes.pngkoala.pngkoko.pngkr.pnglarge_blue_circle.pnglarge_blue_diamond.pnglarge_orange_diamond.pnglast_quarter_moon.pnglast_quarter_moon_with_face.pnglaughing.pngleaves.pngledger.pngleft_luggage.pngleft_right_arrow.pngleftwards_arrow_with_hook.pnglemon.pngleo.pngleopard.pnglibra.pnglight_rail.pnglink.pnglips.pnglipstick.pnglock.pnglock_with_ink_pen.pnglollipop.pngloop.pngloudspeaker.pnglove_hotel.pnglove_letter.pnglow_brightness.pngm.pngmag.pngmag_right.pngmahjong.pngmailbox.pngmailbox_closed.pngmailbox_with_mail.pngmailbox_with_no_mail.pngman.pngman_with_gua_pi_mao.pngman_with_turban.pngmans_shoe.pngmaple_leaf.pngmask.pngmassage.pngmeat_on_bone.pngmega.pngmelon.pngmemo.pngmens.pngmetal.pngmetro.pngmicrophone.pngmicroscope.pngmilky_way.pngminibus.pngminidisc.pngmobile_phone_off.pngmoney_with_wings.pngmoneybag.pngmonkey.pngmonkey_face.pngmonorail.pngmortar_board.pngmount_fuji.pngmountain_bicyclist.pngmountain_cableway.pngmountain_railway.pngmouse.pngmouse2.pngmovie_camera.pngmoyai.pngmuscle.pngmushroom.pngmusical_keyboard.pngmusical_note.pngmusical_score.pngmute.pngnail_care.pngname_badge.pngneckbeard.pngnecktie.pngnegative_squared_cross_mark.pngneutral_face.pngnew.pngnew_moon.pngnew_moon_with_face.pngnewspaper.pngng.pngnine.pngno_bell.pngno_bicycles.pngno_entry.pngno_entry_sign.pngno_good.pngno_mobile_phones.pngno_mouth.pngno_pedestrians.pngno_smoking.pngnon-potable_water.pngnose.pngnotebook.pngnotebook_with_decorative_cover.pngnotes.pngnut_and_bolt.pngo.pngo2.pngocean.pngoctocat.pngoctopus.pngoden.pngoffice.pngok.pngok_hand.pngok_woman.pngolder_man.pngolder_woman.pngon.pngoncoming_automobile.pngoncoming_bus.pngoncoming_police_car.pngoncoming_taxi.pngone.pngopen_file_folder.pngopen_hands.pngopen_mouth.pngophiuchus.pngorange_book.pngoutbox_tray.pngox.pngpackage.pngpage_facing_up.pngpage_with_curl.pngpager.pngpalm_tree.pngpanda_face.pngpaperclip.pngparking.pngpart_alternation_mark.pngpartly_sunny.pngpassport_control.pngpaw_prints.pngpeach.pngpear.pngpencil.pngpencil2.pngpenguin.pngpensive.pngperforming_arts.pngpersevere.pngperson_frowning.pngperson_with_blond_hair.pngperson_with_pouting_face.pngphone.pngpig.pngpig2.pngpig_nose.pngpill.pngpineapple.pngpisces.pngpizza.pngplus1.pngpoint_down.pngpoint_left.pngpoint_right.pngpoint_up.pngpoint_up_2.pngpolice_car.pngpoodle.pngpoop.pngpost_office.pngpostal_horn.pngpostbox.pngpotable_water.pngpouch.pngpoultry_leg.pngpound.pngpouting_cat.pngpray.pngprincess.pngpunch.pngpurple_heart.pngpurse.pngpushpin.pngput_litter_in_its_place.pngquestion.pngrabbit.pngrabbit2.pngracehorse.pngradio.pngradio_button.pngrage.pngrage1.pngrage2.pngrage3.pngrage4.pngrailway_car.pngrainbow.pngraised_hand.pngraised_hands.pngraising_hand.pngram.pngramen.pngrat.pngrecycle.pngred_car.pngred_circle.pngregistered.pngrelaxed.pngrelieved.pngrepeat.pngrepeat_one.pngrestroom.pngrevolving_hearts.pngrewind.pngribbon.pngrice.pngrice_ball.pngrice_cracker.pngrice_scene.pngring.pngrocket.pngroller_coaster.pngrooster.pngrose.pngrotating_light.pnground_pushpin.pngrowboat.pngru.pngrugby_football.pngrunner.pngrunning.pngrunning_shirt_with_sash.pngsa.pngsagittarius.pngsailboat.pngsake.pngsandal.pngsanta.pngsatellite.pngsatisfied.pngsaxophone.pngschool.pngschool_satchel.pngscissors.pngscorpius.pngscream.pngscream_cat.pngscroll.pngseat.pngsecret.pngsee_no_evil.pngseedling.pngseven.pngshaved_ice.pngsheep.pngshell.pngship.pngshipit.pngshirt.pngshit.pngshoe.pngshower.pngsignal_strength.pngsix.pngsix_pointed_star.pngski.pngskull.pngsleeping.pngsleepy.pngslot_machine.pngsmall_blue_diamond.pngsmall_orange_diamond.pngsmall_red_triangle.pngsmall_red_triangle_down.pngsmile.pngsmile_cat.pngsmiley.pngsmiley_cat.pngsmiling_imp.pngsmirk.pngsmirk_cat.pngsmoking.pngsnail.pngsnake.pngsnowboarder.pngsnowflake.pngsnowman.pngsob.pngsoccer.pngsoon.pngsos.pngsound.pngspace_invader.pngspades.pngspaghetti.pngsparkle.pngsparkler.pngsparkles.pngsparkling_heart.pngspeak_no_evil.pngspeaker.pngspeech_balloon.pngspeedboat.pngsquirrel.pngstar.pngstar2.pngstars.pngstation.pngstatue_of_liberty.pngsteam_locomotive.pngstew.pngstraight_ruler.pngstrawberry.pngstuck_out_tongue.pngstuck_out_tongue_closed_eyes.pngstuck_out_tongue_winking_eye.pngsun_with_face.pngsunflower.pngsunglasses.pngsunny.pngsunrise.pngsunrise_over_mountains.pngsurfer.pngsushi.pngsuspect.pngsuspension_railway.pngsweat.pngsweat_drops.pngsweat_smile.pngsweet_potato.pngswimmer.pngsymbols.pngsyringe.pngtada.pngtanabata_tree.pngtangerine.pngtaurus.pngtaxi.pngtea.pngtelephone.pngtelephone_receiver.pngtelescope.pngtennis.pngtent.pngthought_balloon.pngthree.pngthumbsdown.pngthumbsup.pngticket.pngtiger.pngtiger2.pngtired_face.pngtm.pngtoilet.pngtokyo_tower.pngtomato.pngtongue.pngtop.pngtophat.pngtractor.pngtraffic_light.pngtrain.pngtrain2.pngtram.pngtriangular_flag_on_post.pngtriangular_ruler.pngtrident.pngtriumph.pngtrolleybus.pngtrollface.pngtrophy.pngtropical_drink.pngtropical_fish.pngtruck.pngtrumpet.pngtshirt.pngtulip.pngturtle.pngtv.pngtwisted_rightwards_arrows.pngtwo.pngtwo_hearts.pngtwo_men_holding_hands.pngtwo_women_holding_hands.pngu5272.pngu5408.pngu55b6.pngu6307.pngu6708.pngu6709.pngu6e80.pngu7121.pngu7533.pngu7981.pngu7a7a.pnguk.pngumbrella.pngunamused.pngunderage.pngunlock.pngup.pngus.pngv.pngvertical_traffic_light.pngvhs.pngvibration_mode.pngvideo_camera.pngvideo_game.pngviolin.pngvirgo.pngvolcano.pngvs.pngwalking.pngwaning_crescent_moon.pngwaning_gibbous_moon.pngwarning.pngwatch.pngwater_buffalo.pngwatermelon.pngwave.pngwavy_dash.pngwaxing_crescent_moon.pngwaxing_gibbous_moon.pngwc.pngweary.pngwedding.pngwhale.pngwhale2.pngwheelchair.pngwhite_check_mark.pngwhite_circle.pngwhite_flower.pngwhite_large_square.pngwhite_medium_small_square.pngwhite_medium_square.pngwhite_small_square.pngwhite_square_button.pngwind_chime.pngwine_glass.pngwink.pngwolf.pngwoman.pngwomans_clothes.pngwomans_hat.pngwomens.pngworried.pngwrench.pngx.pngyellow_heart.pngyen.pngyum.pngzap.pngzero.pngzzz.png
fomantic
highlight
jquery-migrate
jquery.areyousure
jquery.datetimepicker
jquery.minicolors
jquery
moment
promise-polyfill
simplemde
tribute
u2f
vue-calendar-heatmap
vue
routers
admin
api
common
dev
home.goinit.goinstall.go
install
metrics.go
org
private
repo
routes
swagger_json.go
user
utils
web
scripts
services
agit
asymkey
attachment
auth
automerge
comments
context
cron
externalaccount
forms
gitdiff
issue
lfs
mailer
migrations
mirror
org
packages
pull
release
repository
task
user
webhook
wiki
snap
templates
admin
api/packages/pypi
base
explore
home.tmplinstall.tmpl
mail
org
package
post-install.tmpl
pwa
repo
activity.tmplblame.tmpl
branch
branch_dropdown.tmplclone_buttons.tmplclone_script.tmplcommit_page.tmplcommit_status.tmplcommit_statuses.tmplcommits.tmplcommits_list.tmplcommits_list_small.tmplcommits_table.tmplcreate.tmpl
diff
editor
empty.tmpl
find
forks.tmplgraph.tmpl
graph
header.tmplhome.tmplicon.tmpl
issue
migrate.tmpl
migrate
migrating.tmplpackages.tmpl
projects
pulls
release
search.tmpl
settings
shabox_badge.tmplsub_menu.tmplunicode_escape_prompt.tmplupload.tmpluser_cards.tmplview_file.tmplview_list.tmplwatchers.tmpl
wiki
shared
status
swagger
user
tools.go
tools
vendor
cloud.google.com/go
LICENSE
compute/metadata
gitea.com
github.com
BurntSushi/toml
PuerkitoBio
RoaringBitmap/roaring
andybalholm/cascadia
anmitsu/go-shlex
asaskevich/govalidator
beorn7/perks
blevesearch
bleve
.gitignore.travis.ymlCONTRIBUTING.mdLICENSEREADME.md
analysis
config.goconfig_app.goconfig_disk.godoc.go
document
error.go
geo
index.go
index
index_alias.goindex_alias_impl.goindex_impl.goindex_meta.goindex_stats.gomapping.go
mapping
numeric
query.go
registry
search.go
search
size
go-porterstemmer
segment
boombuler/barcode
bradfitz/gomemcache
couchbase
couchbaselabs/go-couchbase
davecgh/go-spew
denisenkom/go-mssqldb
dgrijalva/jwt-go
editorconfig/editorconfig-core-go/v2
edsrzf/mmap-go
emirpasic/gods
etcd-io/bbolt
ethantkoenig/rupture
fsnotify/fsnotify
gliderlabs/ssh
glycerine/go-unsnap-stream
go-openapi
analysis
errors
inflect
jsonpointer
jsonreference
loads
runtime
spec
strfmt
swag
validate
go-redis/redis
go-sql-driver/mysql
go-stack/stack
go-swagger/go-swagger
gobwas/glob
gogs
golang-sql/civil
golang
google
gorilla
hashicorp/hcl
issue9/identicon
jaytaylor/html2text
jbenet/go-context
jessevdk/go-flags
kballard/go-shellquote
kevinburke/ssh_config
keybase/go-crypto
klauspost/compress
kr
lafriks/xormstore
lib/pq
lunny
magiconair/properties
mailru/easyjson
markbates/goth
mattn
matttproud/golang_protobuf_extensions
mcuadros/go-version
microcosm-cc/bluemonday
mitchellh
mrjones/oauth
mschoch/smat
msteinert/pam
nfnt/resize
niklasfasching/go-org
oliamb/cutter
pelletier/go-toml
philhofer/fwd
pkg/errors
pmezard/go-difflib
pquerna/otp
prometheus
quasoft/websspi
satori/go.uuid
sergi/go-diff
shurcooL
siddontang/go-snappy
spf13
src-d/gcfg
steveyen/gtreap
stretchr/testify
syndtr/goleveldb
tinylib/msgp
toqueteos/webbrowser
tstranex/u2f
unknwon
urfave/cli
willf/bitset
xanzy/ssh-agent
yohcop/openid-go
yuin/goldmark
go.mongodb.org/mongo-driver
golang.org/x
crypto
AUTHORSCONTRIBUTORSLICENSEPATENTS
acme
argon2
bcrypt
blake2b
blowfish
cast5
chacha20
curve25519
ed25519
internal/subtle
md4
openpgp
pbkdf2
poly1305
scrypt
ssh
net
oauth2
sys
AUTHORSCONTRIBUTORSLICENSEPATENTS
cpu
unix
.gitignoreREADME.mdaffinity_linux.goaliases.goasm_aix_ppc64.sasm_darwin_386.sasm_darwin_amd64.sasm_darwin_arm.sasm_darwin_arm64.sasm_dragonfly_amd64.sasm_freebsd_386.sasm_freebsd_amd64.sasm_freebsd_arm.sasm_freebsd_arm64.sasm_linux_386.sasm_linux_amd64.sasm_linux_arm.sasm_linux_arm64.sasm_linux_mips64x.sasm_linux_mipsx.sasm_linux_ppc64x.sasm_linux_riscv64.sasm_linux_s390x.sasm_netbsd_386.sasm_netbsd_amd64.sasm_netbsd_arm.sasm_netbsd_arm64.sasm_openbsd_386.sasm_openbsd_amd64.sasm_openbsd_arm.sasm_openbsd_arm64.sasm_solaris_amd64.sbluetooth_linux.gocap_freebsd.goconstants.godev_aix_ppc.godev_aix_ppc64.godev_darwin.godev_dragonfly.godev_freebsd.godev_linux.godev_netbsd.godev_openbsd.godirent.goendian_big.goendian_little.goenv_unix.goerrors_freebsd_386.goerrors_freebsd_amd64.goerrors_freebsd_arm.gofcntl.gofcntl_darwin.gofcntl_linux_32bit.gofdset.gogccgo.gogccgo_c.cgccgo_linux_amd64.goioctl.gomkall.shmkerrors.shpagesize_unix.gopledge_openbsd.gorace.gorace0.goreaddirent_getdents.goreaddirent_getdirentries.gosockcmsg_dragonfly.gosockcmsg_linux.gosockcmsg_unix.gosockcmsg_unix_other.gostr.gosyscall.gosyscall_aix.gosyscall_aix_ppc.gosyscall_aix_ppc64.gosyscall_bsd.gosyscall_darwin.1_12.gosyscall_darwin.1_13.gosyscall_darwin.gosyscall_darwin_386.1_11.gosyscall_darwin_386.gosyscall_darwin_amd64.1_11.gosyscall_darwin_amd64.gosyscall_darwin_arm.1_11.gosyscall_darwin_arm.gosyscall_darwin_arm64.1_11.gosyscall_darwin_arm64.gosyscall_darwin_libSystem.gosyscall_dragonfly.gosyscall_dragonfly_amd64.gosyscall_freebsd.gosyscall_freebsd_386.gosyscall_freebsd_amd64.gosyscall_freebsd_arm.gosyscall_freebsd_arm64.gosyscall_linux.gosyscall_linux_386.gosyscall_linux_amd64.gosyscall_linux_amd64_gc.gosyscall_linux_arm.gosyscall_linux_arm64.gosyscall_linux_gc.gosyscall_linux_gc_386.gosyscall_linux_gccgo_386.gosyscall_linux_gccgo_arm.gosyscall_linux_mips64x.gosyscall_linux_mipsx.gosyscall_linux_ppc64x.gosyscall_linux_riscv64.gosyscall_linux_s390x.gosyscall_linux_sparc64.gosyscall_netbsd.gosyscall_netbsd_386.gosyscall_netbsd_amd64.gosyscall_netbsd_arm.gosyscall_netbsd_arm64.gosyscall_openbsd.gosyscall_openbsd_386.gosyscall_openbsd_amd64.gosyscall_openbsd_arm.gosyscall_openbsd_arm64.gosyscall_solaris.gosyscall_solaris_amd64.gosyscall_unix.gosyscall_unix_gc.gosyscall_unix_gc_ppc64x.gotimestruct.gounveil_openbsd.goxattr_bsd.gozerrors_aix_ppc.gozerrors_aix_ppc64.gozerrors_darwin_386.gozerrors_darwin_amd64.gozerrors_darwin_arm.gozerrors_darwin_arm64.gozerrors_dragonfly_amd64.gozerrors_freebsd_386.gozerrors_freebsd_amd64.gozerrors_freebsd_arm.gozerrors_freebsd_arm64.gozerrors_linux_386.gozerrors_linux_amd64.gozerrors_linux_arm.gozerrors_linux_arm64.gozerrors_linux_mips.gozerrors_linux_mips64.gozerrors_linux_mips64le.gozerrors_linux_mipsle.gozerrors_linux_ppc64.gozerrors_linux_ppc64le.gozerrors_linux_riscv64.gozerrors_linux_s390x.gozerrors_linux_sparc64.gozerrors_netbsd_386.gozerrors_netbsd_amd64.gozerrors_netbsd_arm.gozerrors_netbsd_arm64.gozerrors_openbsd_386.gozerrors_openbsd_amd64.gozerrors_openbsd_arm.gozerrors_openbsd_arm64.gozerrors_solaris_amd64.gozptrace_armnn_linux.gozptrace_linux_arm64.gozptrace_mipsnn_linux.gozptrace_mipsnnle_linux.gozptrace_x86_linux.gozsyscall_aix_ppc.gozsyscall_aix_ppc64.gozsyscall_aix_ppc64_gc.gozsyscall_aix_ppc64_gccgo.gozsyscall_darwin_386.1_11.gozsyscall_darwin_386.1_13.gozsyscall_darwin_386.1_13.szsyscall_darwin_386.gozsyscall_darwin_386.szsyscall_darwin_amd64.1_11.gozsyscall_darwin_amd64.1_13.gozsyscall_darwin_amd64.1_13.szsyscall_darwin_amd64.gozsyscall_darwin_amd64.szsyscall_darwin_arm.1_11.gozsyscall_darwin_arm.1_13.gozsyscall_darwin_arm.1_13.szsyscall_darwin_arm.gozsyscall_darwin_arm.szsyscall_darwin_arm64.1_11.gozsyscall_darwin_arm64.1_13.gozsyscall_darwin_arm64.1_13.szsyscall_darwin_arm64.gozsyscall_darwin_arm64.szsyscall_dragonfly_amd64.gozsyscall_freebsd_386.gozsyscall_freebsd_amd64.gozsyscall_freebsd_arm.gozsyscall_freebsd_arm64.gozsyscall_linux_386.gozsyscall_linux_amd64.gozsyscall_linux_arm.gozsyscall_linux_arm64.gozsyscall_linux_mips.gozsyscall_linux_mips64.gozsyscall_linux_mips64le.gozsyscall_linux_mipsle.gozsyscall_linux_ppc64.gozsyscall_linux_ppc64le.gozsyscall_linux_riscv64.gozsyscall_linux_s390x.gozsyscall_linux_sparc64.gozsyscall_netbsd_386.gozsyscall_netbsd_amd64.gozsyscall_netbsd_arm.gozsyscall_netbsd_arm64.gozsyscall_openbsd_386.gozsyscall_openbsd_amd64.gozsyscall_openbsd_arm.gozsyscall_openbsd_arm64.gozsyscall_solaris_amd64.gozsysctl_openbsd_386.gozsysctl_openbsd_amd64.gozsysctl_openbsd_arm.gozsysctl_openbsd_arm64.gozsysnum_darwin_386.gozsysnum_darwin_amd64.gozsysnum_darwin_arm.gozsysnum_darwin_arm64.gozsysnum_dragonfly_amd64.gozsysnum_freebsd_386.gozsysnum_freebsd_amd64.gozsysnum_freebsd_arm.gozsysnum_freebsd_arm64.gozsysnum_linux_386.gozsysnum_linux_amd64.gozsysnum_linux_arm.gozsysnum_linux_arm64.gozsysnum_linux_mips.gozsysnum_linux_mips64.gozsysnum_linux_mips64le.gozsysnum_linux_mipsle.gozsysnum_linux_ppc64.gozsysnum_linux_ppc64le.gozsysnum_linux_riscv64.gozsysnum_linux_s390x.gozsysnum_linux_sparc64.gozsysnum_netbsd_386.gozsysnum_netbsd_amd64.gozsysnum_netbsd_arm.gozsysnum_netbsd_arm64.gozsysnum_openbsd_386.gozsysnum_openbsd_amd64.gozsysnum_openbsd_arm.gozsysnum_openbsd_arm64.goztypes_aix_ppc.goztypes_aix_ppc64.goztypes_darwin_386.goztypes_darwin_amd64.goztypes_darwin_arm.goztypes_darwin_arm64.goztypes_dragonfly_amd64.goztypes_freebsd_386.goztypes_freebsd_amd64.goztypes_freebsd_arm.goztypes_freebsd_arm64.goztypes_linux_386.goztypes_linux_amd64.goztypes_linux_arm.goztypes_linux_arm64.goztypes_linux_mips.goztypes_linux_mips64.goztypes_linux_mips64le.goztypes_linux_mipsle.goztypes_linux_ppc64.goztypes_linux_ppc64le.goztypes_linux_riscv64.goztypes_linux_s390x.goztypes_linux_sparc64.goztypes_netbsd_386.goztypes_netbsd_amd64.goztypes_netbsd_arm.goztypes_netbsd_arm64.goztypes_openbsd_386.goztypes_openbsd_amd64.goztypes_openbsd_arm.goztypes_openbsd_arm64.goztypes_solaris_amd64.go
windows
text
tools
google.golang.org/appengine
gopkg.in
alexcesaro/quotedprintable.v3
asn1-ber.v1
gomail.v2
ini.v1
ldap.v3
src-d
go-billy.v4
go-git.v4
.gitignore.travis.ymlCODE_OF_CONDUCT.mdCOMPATIBILITY.mdCONTRIBUTING.mdDCOLICENSEMAINTAINERSMakefileREADME.mdappveyor.ymlblame.gocommon.go
config
doc.gogo.modgo.sum
internal
object_walker.gooptions.go
plumbing
cache
error.go
filemode
format
hash.gomemory.goobject.go
object
protocol/packp
reference.gorevision.go
revlist
storer
transport
prune.goreferences.goremote.gorepository.gostatus.go
storage
submodule.go
utils
worktree.goworktree_bsd.goworktree_commit.goworktree_linux.goworktree_status.goworktree_unix_other.goworktree_windows.go
testfixtures.v2
warnings.v0
yaml.v2
modules.txt
mvdan.cc/xurls/v2
strk.kbt.io/projects/go/libravatar
xorm.io
builder
core
xorm
web_src
css
fomantic
js
less
svg
webpack.config.js

@ -1,10 +0,0 @@
root = "."
tmp_dir = ".air"
[build]
cmd = "make backend"
bin = "gitea"
include_ext = ["go", "tmpl"]
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"]
include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"]
exclude_regex = ["_test.go$"]

@ -1,6 +1,3 @@
# config for changelog tool
# source: https://gitea.com/gitea/changelog
# The full repository name
repo: go-gitea/gitea
@ -17,32 +14,24 @@ groups:
name: BREAKING
labels:
- kind/breaking
-
name: FEATURE
labels:
- kind/feature
-
name: SECURITY
labels:
- kind/security
-
name: FEDERATION
name: BUGFIXES
labels:
- theme/federation
- kind/bug
-
name: FEATURES
labels:
- kind/feature
-
name: API
labels:
- kind/api
-
name: ENHANCEMENTS
name: ENHANCEMENT
labels:
- kind/enhancement
- kind/refactor
- kind/ui
-
name: BUGFIXES
labels:
- kind/bug
-
name: TESTING
labels:

1146
.drone.yml

File diff suppressed because it is too large Load Diff

@ -1,31 +1,31 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
[*.go]
indent_style = tab
indent_size = 8
[*.{tmpl,html}]
indent_style = tab
indent_size = 4
[*.less]
indent_style = space
indent_size = 4
[*.{yml,json}]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{go,tmpl,html}]
indent_style = tab
[templates/custom/*.tmpl]
insert_final_newline = false
[templates/swagger/v1_json.tmpl]
indent_style = space
[templates/user/auth/oidc_wellknown.tmpl]
[*.js]
indent_style = space
indent_size = 2
[Makefile]
indent_style = tab
[*.svg]
insert_final_newline = false
[*.md]
trim_trailing_whitespace = false

1
.eslintignore Normal file

@ -0,0 +1 @@
/web_src/js/semanticDropdown.js

500
.eslintrc

File diff suppressed because it is too large Load Diff

14
.gitattributes vendored

@ -1,9 +1,7 @@
* text=auto eol=lf
*.tmpl linguist-language=Handlebars
/.eslintrc linguist-language=YAML
/.stylelintrc linguist-language=YAML
/public/vendor/** -text -eol linguist-vendored
/vendor/** -text -eol linguist-vendored
/web_src/fomantic/build/** linguist-generated
/web_src/js/vendor/** -text -eol linguist-vendored
Dockerfile.* linguist-language=Dockerfile
conf/* linguist-vendored
docker/* linguist-vendored
options/* linguist-vendored
public/* linguist-vendored
scripts/* linguist-vendored
templates/* linguist-vendored

@ -1,42 +0,0 @@
<!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue -->
<!--
1. Please speak English, this is the language all maintainers can speak and write.
2. Please ask questions or configuration/deploy problems on our Discord
server (https://discord.gg/gitea) or forum (https://discourse.gitea.io).
3. Please take a moment to check that your issue doesn't already exist.
4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq)
5. Please give all relevant information below for bug reports, because
incomplete details will be handled as an invalid report.
-->
- Gitea version (or commit ref):
- Git version:
- Operating system:
<!-- Please include information on whether you built gitea yourself, used one of our downloads or are using some other package -->
<!-- Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. --->
<!-- If you are using a package or systemd tell us what distribution you are using -->
- Database (use `[x]`):
- [ ] PostgreSQL
- [ ] MySQL
- [ ] MSSQL
- [ ] SQLite
- Can you reproduce the bug at https://try.gitea.io:
- [ ] Yes (provide example URL)
- [ ] No
- Log gist:
<!-- It really is important to provide pertinent logs -->
<!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems -->
<!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini -->
## Description
<!-- If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please
disable the proxy/CDN fully and connect to gitea directly to confirm
the issue still persists without those services. -->
...
## Screenshots
<!-- **If this issue involves the Web Interface, please include a screenshot** -->

1
.github/FUNDING.yml vendored

@ -1,2 +1 @@
open_collective: gitea
custom: https://www.bountysource.com/teams/gitea

@ -1,94 +0,0 @@
name: Bug Report
description: Found something you weren't expecting? Report it here!
labels: kind/bug
body:
- type: markdown
attributes:
value: |
NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue.
- type: markdown
attributes:
value: |
1. Please speak English, this is the language all maintainers can speak and write.
2. Please ask questions or configuration/deploy problems on our Discord
server (https://discord.gg/gitea) or forum (https://discourse.gitea.io).
3. Make sure you are using the latest release and
take a moment to check that your issue hasn't been reported before.
4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq)
5. Please give all relevant information below for bug reports, because
incomplete details will be handled as an invalid report.
6. In particular it's really important to provide pertinent logs. You must give us DEBUG level logs.
Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems
In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini
- type: textarea
id: description
attributes:
label: Description
description: |
Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see below)
If you are using a proxy or a CDN (e.g. Cloudflare) in front of Gitea, please disable the proxy/CDN fully and access Gitea directly to confirm the issue still persists without those services.
- type: input
id: gitea-ver
attributes:
label: Gitea Version
description: Gitea version (or commit reference) of your instance
validations:
required: true
- type: dropdown
id: can-reproduce
attributes:
label: Can you reproduce the bug on the Gitea demo site?
description: |
If so, please provide a URL in the Description field
URL of Gitea demo: https://try.gitea.io
options:
- "Yes"
- "No"
validations:
required: true
- type: markdown
attributes:
value: |
It's really important to provide pertinent logs
Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems
In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini
- type: input
id: logs
attributes:
label: Log Gist
description: Please provide a gist URL of your logs, with any sensitive information (e.g. API keys) removed/hidden
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If this issue involves the Web Interface, please provide one or more screenshots
- type: input
id: git-ver
attributes:
label: Git Version
description: The version of git running on the server
- type: input
id: os-ver
attributes:
label: Operating System
description: The operating system you are using to run Gitea
- type: textarea
id: run-info
attributes:
label: How are you running Gitea?
description: |
Please include information on whether you built Gitea yourself, used one of our downloads, are using https://try.gitea.io or are using some other package
Please also tell us how you are running Gitea, e.g. if it is being run from docker, a command-line, systemd etc.
If you are using a package or systemd tell us what distribution you are using
validations:
required: true
- type: dropdown
id: database
attributes:
label: Database
description: What database system are you running?
options:
- PostgreSQL
- MySQL
- MSSQL
- SQLite

@ -1,17 +0,0 @@
blank_issues_enabled: false
contact_links:
- name: Security Concern
url: https://tinyurl.com/security-gitea
about: For security concerns, please send a mail to security@gitea.io instead of opening a public issue.
- name: Discord Server
url: https://discord.gg/Gitea
about: Please ask questions and discuss configuration or deployment problems here.
- name: Discourse Forum
url: https://discourse.gitea.io
about: Questions and configuration or deployment problems can also be discussed on our forum.
- name: Frequently Asked Questions
url: https://docs.gitea.io/en-us/faq
about: Please check if your question isn't mentioned here.
- name: Crowdin Translations
url: https://crowdin.com/project/gitea
about: Translations are managed here.

@ -1,24 +0,0 @@
name: Feature Request
description: Got an idea for a feature that Gitea doesn't have currently? Submit your idea here!
labels: ["kind/feature", "kind/proposal"]
body:
- type: markdown
attributes:
value: |
1. Please speak English, this is the language all maintainers can speak and write.
2. Please ask questions or configuration/deploy problems on our Discord
server (https://discord.gg/gitea) or forum (https://discourse.gitea.io).
3. Please take a moment to check that your feature hasn't already been suggested.
- type: textarea
id: description
attributes:
label: Feature Description
placeholder: |
I think it would be great if Gitea had...
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If you can, provide screenshots of an implementation on another site e.g. GitHub

@ -1,66 +0,0 @@
name: Web Interface Bug Report
description: Something doesn't look quite as it should? Report it here!
labels: ["kind/bug", "kind/ui"]
body:
- type: markdown
attributes:
value: |
NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue.
- type: markdown
attributes:
value: |
1. Please speak English, this is the language all maintainers can speak and write.
2. Please ask questions or configuration/deploy problems on our Discord
server (https://discord.gg/gitea) or forum (https://discourse.gitea.io).
3. Please take a moment to check that your issue doesn't already exist.
4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq)
5. Please give all relevant information below for bug reports, because
incomplete details will be handled as an invalid report.
6. In particular it's really important to provide pertinent logs. If you are certain that this is a javascript
error, show us the javascript console. If the error appears to relate to Gitea the server you must also give us
DEBUG level logs. (See https://docs.gitea.io/en-us/logging-configuration/#debugging-problems)
- type: textarea
id: description
attributes:
label: Description
description: |
Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see below)
If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please disable the proxy/CDN fully and connect to gitea directly to confirm the issue still persists without those services.
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Please provide at least 1 screenshot showing the issue.
validations:
required: true
- type: input
id: gitea-ver
attributes:
label: Gitea Version
description: Gitea version (or commit reference) your instance is running
validations:
required: true
- type: dropdown
id: can-reproduce
attributes:
label: Can you reproduce the bug on the Gitea demo site?
description: |
If so, please provide a URL in the Description field
URL of Gitea demo: https://try.gitea.io
options:
- "Yes"
- "No"
validations:
required: true
- type: input
id: os-ver
attributes:
label: Operating System
description: The operating system you are using to access Gitea
- type: input
id: browser-ver
attributes:
label: Browser Version
description: The browser and version that you are using to access Gitea
validations:
required: true

33
.github/issue_template.md vendored Normal file

@ -0,0 +1,33 @@
<!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue -->
<!--
1. Please speak English, this is the language all maintainers can speak and write.
2. Please ask questions or configuration/deploy problems on our Discord
server (https://discord.gg/gitea) or forum (https://discourse.gitea.io).
3. Please take a moment to check that your issue doesn't already exist.
4. Please give all relevant information below for bug reports, because
incomplete details will be handled as an invalid report.
-->
- Gitea version (or commit ref):
- Git version:
- Operating system:
- Database (use `[x]`):
- [ ] PostgreSQL
- [ ] MySQL
- [ ] MSSQL
- [ ] SQLite
- Can you reproduce the bug at https://try.gitea.io:
- [ ] Yes (provide example URL)
- [ ] No
- [ ] Not relevant
- Log gist:
## Description
...
## Screenshots
<!-- **If this issue involves the Web Interface, please include a screenshot** -->

23
.github/lock.yml vendored

@ -1,23 +0,0 @@
# Configuration for Lock Threads - https://github.com/dessant/lock-threads-app
# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 60
# Skip issues and pull requests created before a given timestamp. Timestamp must
# follow ISO 8601 (`YYYY-MM-DD`). `false` is disabled
skipCreatedBefore: false
# Issues and pull requests with these labels will be ignored.
exemptLabels: []
# Label to add before locking, such as `outdated`. `false` is disabled
lockLabel: false
# Comment to post before locking.
lockComment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs and link to relevant comments in this thread.
# Assign `resolved` as the reason for locking. Set to `false` to disable
setLockReason: true

@ -1,9 +1,7 @@
<!--
Please check the following:
1. Make sure you are targeting the `main` branch, pull requests on release branches are only allowed for bug fixes.
2. Read contributing guidelines: https://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md
1. Make sure you are targeting the `master` branch, pull requests on release branches are only allowed for bug fixes.
2. Read contributing guidelines: https://github.com/go-gitea/gitea/blob/master/CONTRIBUTING.md
3. Describe what your pull request does and which issue you're targeting (if any)
-->
**You MUST delete the content above including this line before posting, otherwise your pull request will be invalid.**

9
.github/stale.yml vendored

@ -27,11 +27,9 @@ staleLabel: stale
# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had recent activity.
I am here to help clear issues left open even if solved or waiting for more insight.
This issue will be closed if no further activity occurs during the next 2 weeks.
If the issue is still valid just add a comment to keep it alive.
Thank you for your contributions.
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you
for your contributions.
# Comment to post when closing a stale Issue or Pull Request.
closeComment: >
@ -52,3 +50,4 @@ pulls:
closeComment: >
This pull request has been automatically closed because of inactivity.
You can re-open it if needed.

40
.gitignore vendored

@ -9,8 +9,6 @@ _test
# IntelliJ
.idea
# Goland's output filename can not be set manually
/go_build_*
# MS VSCode
.vscode
@ -34,31 +32,21 @@ _testmain.go
*coverage.out
coverage.all
cpu.out
/modules/migration/bindata.go
/modules/migration/bindata.go.hash
/modules/options/bindata.go
/modules/options/bindata.go.hash
/modules/public/bindata.go
/modules/public/bindata.go.hash
/modules/templates/bindata.go
/modules/templates/bindata.go.hash
*.db
*.log
/gitea
/gitea-vet
/debug
/integrations.test
/bin
/dist
/custom/*
!/custom/conf
/custom/conf/*
!/custom/conf/app.example.ini
/custom
/data
/indexers
/log
@ -73,35 +61,15 @@ cpu.out
/integrations/indexers-pgsql
/integrations/indexers-sqlite
/integrations/indexers-mssql
/integrations/sqlite.ini
/integrations/mysql.ini
/integrations/mysql8.ini
/integrations/pgsql.ini
/integrations/mssql.ini
/node_modules
/yarn.lock
/yarn-error.log
/npm-debug.log*
/public/js
/public/serviceworker.js
/public/css
/public/fonts
/public/img/webpack
/vendor
/web_src/fomantic/node_modules
/web_src/fomantic/build/*
!/web_src/fomantic/build/semantic.js
!/web_src/fomantic/build/semantic.css
!/web_src/fomantic/build/themes
/web_src/fomantic/build/themes/*
!/web_src/fomantic/build/themes/default
/web_src/fomantic/build/themes/default/assets/*
!/web_src/fomantic/build/themes/default/assets/fonts
/web_src/fomantic/build/themes/default/assets/fonts/*
!/web_src/fomantic/build/themes/default/assets/fonts/icons.woff2
!/web_src/fomantic/build/themes/default/assets/fonts/outline-icons.woff2
/VERSION
/.air
# Snapcraft
snap/.snapcraft/
@ -112,9 +80,3 @@ prime/
*.snap-build
*_source.tar.bz2
.DS_Store
# Make evidence files
/.make_evidence
# Manpage
/man

@ -9,72 +9,24 @@ linters:
- unused
- structcheck
- varcheck
- golint
- dupl
#- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
- gofmt
- misspell
- gocritic
- bidichk
- ineffassign
- revive
- gofumpt
- depguard
enable-all: false
disable-all: true
fast: false
run:
go: 1.18
timeout: 10m
skip-dirs:
- node_modules
- public
- web_src
timeout: 3m
linters-settings:
gocritic:
disabled-checks:
- ifElseChain
- singleCaseSwitch # Every time this occurred in the code, there was no other way.
revive:
ignore-generated-header: false
severity: warning
confidence: 0.8
errorCode: 1
warningCode: 1
rules:
- name: blank-imports
- name: context-as-argument
- name: context-keys-type
- name: dot-imports
- name: error-return
- name: error-strings
- name: error-naming
- name: exported
- name: if-return
- name: increment-decrement
- name: var-naming
- name: var-declaration
- name: package-comments
- name: range
- name: receiver-naming
- name: time-naming
- name: unexported-return
- name: indent-error-flow
- name: errorf
- name: duplicated-imports
- name: modifies-value-receiver
gofumpt:
extra-rules: true
lang-version: "1.18"
depguard:
# TODO: use depguard to replace import checks in gitea-vet
list-type: denylist
# Check the list against standard lib.
include-go-root: true
packages-with-error-message:
- encoding/json: "use gitea's modules/json instead of encoding/json"
- github.com/unknwon/com: "use gitea's util and replacements"
- singleCaseSwitch # Every time this occured in the code, there was no other way.
issues:
exclude-rules:
@ -118,6 +70,9 @@ issues:
- path: modules/log/
linters:
- errcheck
- path: routers/routes/routes.go
linters:
- dupl
- path: routers/api/v1/repo/issue_subscription.go
linters:
- dupl
@ -140,25 +95,3 @@ issues:
- linters:
- misspell
text: '`Unknwon` is a misspelling of `Unknown`'
- path: models/update.go
linters:
- unused
- path: cmd/dump.go
linters:
- dupl
- path: services/webhook/webhook.go
linters:
- structcheck
- text: "commentFormatting: put a space between `//` and comment text"
linters:
- gocritic
- text: "exitAfterDefer:"
linters:
- gocritic
- path: modules/graceful/manager_windows.go
linters:
- staticcheck
text: "svc.IsAnInteractiveSession is deprecated: Use IsWindowsService instead."
- path: models/user/openid.go
linters:
- golint

@ -1,8 +1,5 @@
*.min.css
*.min.js
/vendor
/public/vendor
/modules/options/bindata.go
/modules/public/bindata.go
/modules/templates/bindata.go
/public/vendor/plugins
/vendor
node_modules

4
.npmrc

@ -1,5 +1 @@
audit=false
fund=false
update-notifier=false
package-lock=true
save-exact=true

25
.revive.toml Normal file

@ -0,0 +1,25 @@
ignoreGeneratedHeader = false
severity = "warning"
confidence = 0.8
errorCode = 1
warningCode = 1
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.error-naming]
[rule.exported]
[rule.if-return]
[rule.increment-decrement]
[rule.var-naming]
[rule.var-declaration]
[rule.package-comments]
[rule.range]
[rule.receiver-naming]
[rule.time-naming]
[rule.unexported-return]
[rule.indent-error-flow]
[rule.errorf]

@ -1,32 +1,11 @@
extends: stylelint-config-standard
overrides:
- files: ["**/*.less"]
customSyntax: postcss-less
rules:
alpha-value-notation: null
at-rule-empty-line-before: null
block-closing-brace-empty-line-before: null
color-function-notation: null
color-hex-length: null
comment-empty-line-before: null
declaration-block-no-redundant-longhand-properties: null
declaration-block-single-line-max-declarations: null
declaration-empty-line-before: null
function-no-unknown: null
hue-degree-notation: null
indentation: 2
max-line-length: null
indentation: 4
no-descending-specificity: null
no-invalid-position-at-import-rule: null
number-leading-zero: never
number-max-precision: null
property-no-vendor-prefix: null
rule-empty-line-before: null
selector-class-pattern: null
selector-id-pattern: null
selector-pseudo-element-colon-notation: double
shorthand-property-no-redundant-values: true
string-quotes: null
value-no-vendor-prefix: null
selector-pseudo-element-colon-notation: null

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,13 +1,14 @@
###################################
#Build stage
FROM golang:1.18-alpine3.16 AS build-env
FROM golang:1.13-alpine3.11 AS build-env
ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
ARG GITEA_VERSION
ARG TAGS="sqlite sqlite_unlock_notify"
ENV TAGS "bindata timetzdata $TAGS"
ARG CGO_EXTRA_CFLAGS
ENV TAGS "bindata $TAGS"
#Build deps
RUN apk --no-cache add build-base git nodejs npm
@ -18,12 +19,9 @@ WORKDIR ${GOPATH}/src/code.gitea.io/gitea
#Checkout version if set
RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
&& make clean-all build
&& make clean build
# Begin env-to-ini build
RUN go build contrib/environment-to-ini/environment-to-ini.go
FROM alpine:3.16
FROM alpine:3.11
LABEL maintainer="maintainers@gitea.io"
EXPOSE 22 3000
@ -39,7 +37,7 @@ RUN apk --no-cache add \
s6 \
sqlite \
su-exec \
gnupg
tzdata
RUN addgroup \
-S -g 1000 \
@ -51,7 +49,7 @@ RUN addgroup \
-u 1000 \
-G git \
git && \
echo "git:*" | chpasswd -e
echo "git:$(dd if=/dev/urandom bs=24 count=1 status=none | base64)" | chpasswd
ENV USER git
ENV GITEA_CUSTOM /data/gitea
@ -63,6 +61,4 @@ CMD ["/bin/s6-svscan", "/etc/s6"]
COPY docker/root /
COPY --from=build-env /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea
COPY --from=build-env /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini
RUN chmod 755 /usr/bin/entrypoint /app/gitea/gitea /usr/local/bin/gitea /usr/local/bin/environment-to-ini
RUN chmod 755 /etc/s6/gitea/* /etc/s6/openssh/* /etc/s6/.s6-svscan/*
RUN ln -s /app/gitea/gitea /usr/local/bin/gitea

@ -1,73 +0,0 @@
#Build stage
FROM golang:1.18-alpine3.16 AS build-env
ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
ARG GITEA_VERSION
ARG TAGS="sqlite sqlite_unlock_notify"
ENV TAGS "bindata timetzdata $TAGS"
ARG CGO_EXTRA_CFLAGS
#Build deps
RUN apk --no-cache add build-base git nodejs npm
#Setup repo
COPY . ${GOPATH}/src/code.gitea.io/gitea
WORKDIR ${GOPATH}/src/code.gitea.io/gitea
#Checkout version if set
RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
&& make clean-all build
# Begin env-to-ini build
RUN go build contrib/environment-to-ini/environment-to-ini.go
FROM alpine:3.16
LABEL maintainer="maintainers@gitea.io"
EXPOSE 2222 3000
RUN apk --no-cache add \
bash \
ca-certificates \
gettext \
git \
curl \
gnupg
RUN addgroup \
-S -g 1000 \
git && \
adduser \
-S -H -D \
-h /var/lib/gitea/git \
-s /bin/bash \
-u 1000 \
-G git \
git
RUN mkdir -p /var/lib/gitea /etc/gitea
RUN chown git:git /var/lib/gitea /etc/gitea
COPY docker/rootless /
COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea
COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini
RUN chmod 755 /usr/local/bin/docker-entrypoint.sh /usr/local/bin/docker-setup.sh /app/gitea/gitea /usr/local/bin/gitea /usr/local/bin/environment-to-ini
#git:git
USER 1000:1000
ENV GITEA_WORK_DIR /var/lib/gitea
ENV GITEA_CUSTOM /var/lib/gitea/custom
ENV GITEA_TEMP /tmp/gitea
ENV TMPDIR /tmp/gitea
#TODO add to docs the ability to define the ini to load (usefull to test and revert a config)
ENV GITEA_APP_INI /etc/gitea/app.ini
ENV HOME "/var/lib/gitea/git"
VOLUME ["/var/lib/gitea", "/etc/gitea"]
WORKDIR /var/lib/gitea
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD []

@ -1,4 +1,5 @@
Alexey Makhov <amakhov@avito.ru> (@makhov)
Andrey Nering <andrey.nering@gmail.com> (@andreynering)
Bo-Yi Wu <appleboy.tw@gmail.com> (@appleboy)
Ethan Koenig <ethantkoenig@gmail.com> (@ethantkoenig)
Kees de Vries <bouwko@gmail.com> (@Bwko)
@ -35,15 +36,3 @@ Mura Li <typeless@ctli.io> (@typeless)
6543 <6543@obermui.de> (@6543)
jaqra <jaqra@hotmail.com> (@jaqra)
David Svantesson <davidsvantesson@gmail.com> (@davidsvantesson)
a1012112796 <1012112796@qq.com> (@a1012112796)
Karl Heinz Marbaise <kama@soebes.de> (@khmarbaise)
Norwin Roosen <git@nroo.de> (@noerw)
Kyle Dumont <kdumontnu@gmail.com> (@kdumontnu)
Patrick Schratz <patrick.schratz@gmail.com> (@pat-s)
Janis Estelmann <admin@oldschoolhack.me> (@KN4CK3R)
Steven Kriegler <sk.bunsenbrenner@gmail.com> (@justusbunsi)
Jimmy Praet <jimmy.praet@telenet.be> (@jpraet)
Leon Hofmeister <dev.lh@web.de> (@delvh)
Gusted <williamzijl7@hotmail.com) (@Gusted)
silentcode <silentcode@senga.org> (@silentcodeg)
Wim <wim@42.be> (@42wim)

747
Makefile

File diff suppressed because it is too large Load Diff

@ -1,52 +1,18 @@
<p align="center">
<a href="https://gitea.io/">
<img alt="Gitea" src="https://raw.githubusercontent.com/go-gitea/gitea/main/public/img/gitea.svg" width="220"/>
</a>
</p>
<h1 align="center">Gitea - Git with a cup of tea</h1>
[简体中文](README_ZH.md)
<p align="center">
<a href="https://drone.gitea.io/go-gitea/gitea" title="Build Status">
<img src="https://drone.gitea.io/api/badges/go-gitea/gitea/status.svg?ref=refs/heads/main">
</a>
<a href="https://discord.gg/Gitea" title="Join the Discord chat at https://discord.gg/Gitea">
<img src="https://img.shields.io/discord/322538954119184384.svg">
</a>
<a href="https://codecov.io/gh/go-gitea/gitea" title="Codecov">
<img src="https://codecov.io/gh/go-gitea/gitea/branch/main/graph/badge.svg">
</a>
<a href="https://goreportcard.com/report/code.gitea.io/gitea" title="Go Report Card">
<img src="https://goreportcard.com/badge/code.gitea.io/gitea">
</a>
<a href="https://godoc.org/code.gitea.io/gitea" title="GoDoc">
<img src="https://godoc.org/code.gitea.io/gitea?status.svg">
</a>
<a href="https://github.com/go-gitea/gitea/releases/latest" title="GitHub release">
<img src="https://img.shields.io/github/release/go-gitea/gitea.svg">
</a>
<a href="https://www.codetriage.com/go-gitea/gitea" title="Help Contribute to Open Source">
<img src="https://www.codetriage.com/go-gitea/gitea/badges/users.svg">
</a>
<a href="https://opencollective.com/gitea" title="Become a backer/sponsor of gitea">
<img src="https://opencollective.com/gitea/tiers/backers/badge.svg?label=backers&color=brightgreen">
</a>
<a href="https://opensource.org/licenses/MIT" title="License: MIT">
<img src="https://img.shields.io/badge/License-MIT-blue.svg">
</a>
<a href="https://crowdin.com/project/gitea" title="Crowdin">
<img src="https://badges.crowdin.net/gitea/localized.svg">
</a>
<a href="https://www.tickgit.com/browse?repo=github.com/go-gitea/gitea&branch=main" title="TODOs">
<img src="https://badgen.net/https/api.tickgit.com/badgen/github.com/go-gitea/gitea/main">
</a>
<a href="https://www.bountysource.com/teams/gitea" title="Bountysource">
<img src="https://img.shields.io/bountysource/team/gitea/activity">
</a>
</p>
<h1> <img src="https://raw.githubusercontent.com/go-gitea/gitea/master/public/img/gitea-192.png" alt="logo" width="30" height="30"> Gitea - Git with a cup of tea</h1>
<p align="center">
<a href="README_ZH.md">View the chinese version of this document</a>
</p>
[![Build Status](https://drone.gitea.io/api/badges/go-gitea/gitea/status.svg)](https://drone.gitea.io/go-gitea/gitea)
[![Join the Discord chat at https://discord.gg/NsatcWJ](https://img.shields.io/discord/322538954119184384.svg)](https://discord.gg/NsatcWJ)
[![](https://images.microbadger.com/badges/image/gitea/gitea.svg)](https://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com")
[![codecov](https://codecov.io/gh/go-gitea/gitea/branch/master/graph/badge.svg)](https://codecov.io/gh/go-gitea/gitea)
[![Go Report Card](https://goreportcard.com/badge/code.gitea.io/gitea)](https://goreportcard.com/report/code.gitea.io/gitea)
[![GoDoc](https://godoc.org/code.gitea.io/gitea?status.svg)](https://godoc.org/code.gitea.io/gitea)
[![GitHub release](https://img.shields.io/github/release/go-gitea/gitea.svg)](https://github.com/go-gitea/gitea/releases/latest)
[![Help Contribute to Open Source](https://www.codetriage.com/go-gitea/gitea/badges/users.svg)](https://www.codetriage.com/go-gitea/gitea)
[![Become a backer/sponsor of gitea](https://opencollective.com/gitea/tiers/backers/badge.svg?label=backers&color=brightgreen)](https://opencollective.com/gitea)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Crowdin](https://badges.crowdin.net/gitea/localized.svg)](https://crowdin.com/project/gitea)
## Purpose
@ -67,18 +33,14 @@ From the root of the source tree, run:
TAGS="bindata" make build
or if SQLite support is required:
TAGS="bindata sqlite sqlite_unlock_notify" make build
The `build` target is split into two sub-targets:
- `make backend` which requires [Go Stable](https://go.dev/dl/), required version is defined in [go.mod](/go.mod).
- `make frontend` which requires [Node.js LTS](https://nodejs.org/en/download/) or greater and Internet connectivity to download npm dependencies.
- `make backend` which requires [Go 1.11](https://golang.org/dl/) or greater.
- `make frontend` which requires [Node.js 10.0.0](https://nodejs.org/en/download/) or greater.
When building from the official source tarballs which include pre-built frontend files, the `frontend` target will not be triggered, making it possible to build without Node.js and Internet connectivity.
If pre-built frontend files are present it is possible to only build the backend:
Parallelism (`make -j <num>`) is not supported.
TAGS="bindata" make backend
More info: https://docs.gitea.io/en-us/install-from-source/
@ -98,24 +60,13 @@ NOTES:
1. **YOU MUST READ THE [CONTRIBUTORS GUIDE](CONTRIBUTING.md) BEFORE STARTING TO WORK ON A PULL REQUEST.**
2. If you have found a vulnerability in the project, please write privately to **security@gitea.io**. Thanks!
## Translating
Translations are done through Crowdin. If you want to translate to a new language ask one of the managers in the Crowdin project to add a new language there.
You can also just create an issue for adding a language or ask on discord on the #translation channel. If you need context or find some translation issues, you can leave a comment on the string or ask on Discord. For general translation questions there is a section in the docs. Currently a bit empty but we hope fo fill it as questions pop up.
https://docs.gitea.io/en-us/translation-guidelines/
[![Crowdin](https://badges.crowdin.net/gitea/localized.svg)](https://crowdin.com/project/gitea)
## Further information
For more information and instructions about how to install Gitea, please look at our [documentation](https://docs.gitea.io/en-us/).
If you have questions that are not covered by the documentation, you can get in contact with us on our [Discord server](https://discord.gg/Gitea) or create a post in the [discourse forum](https://discourse.gitea.io/).
We maintain a list of Gitea-related projects at [gitea/awesome-gitea](https://gitea.com/gitea/awesome-gitea).
The hugo-based documentation theme is hosted at [gitea/theme](https://gitea.com/gitea/theme).
The official Gitea CLI is developed at [gitea/tea](https://gitea.com/gitea/tea).
For more information and instructions about how to install Gitea, please look
at our [documentation](https://docs.gitea.io/en-us/). If you have questions
that are not covered by the documentation, you can get in contact with us on
our [Discord server](https://discord.gg/NsatcWJ),
or [forum](https://discourse.gitea.io/)!
## Authors
@ -157,7 +108,7 @@ We're [working on it](https://github.com/go-gitea/gitea/issues/1029).
## License
This project is licensed under the MIT License.
See the [LICENSE](https://github.com/go-gitea/gitea/blob/main/LICENSE) file
See the [LICENSE](https://github.com/go-gitea/gitea/blob/master/LICENSE) file
for the full license text.
## Screenshots

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