Compare commits

..

46 Commits

Author SHA1 Message Date
8733384e20 Add changelog for 1.5.3 release () () 2018-10-30 22:03:04 -04:00
84829fba82 Update go-macaron/session for RCE-fix. backport of () 2018-10-27 23:19:57 -04:00
31a738b221 1.5.2 changelog () 2018-10-09 10:21:35 -04:00
812c225223 Remove links from topics in edit mode () 2018-10-06 20:11:13 -04:00
33c3cbc968 Detect charset and convert non UTF-8 files for display () ()
* Detect charset and convert non UTF-8 files for display

* Refactor and move function to correct module

* Revert unrelated changes

* More unrelated changes

* Duplicate content for small text to have better encoding detection

* Check if original content is valid before duplicating it
2018-09-30 09:02:16 +08:00
8f29f61a6b Backport: Fix layout of the topics editing form () () 2018-09-29 13:06:11 +03:00
93dcc6caef Fix null pointer dereference in ParseCommitWithSignature () 2018-09-20 22:09:01 +03:00
4176e33148 fix url in discord webhook ()
opening issues generates a webhook to discord that contains
a url to the gitea api. the message title in discord is therefore
referencing to the api instead of the issue itself.
2018-09-18 08:27:02 +03:00
177b46fe77 Backport: fix crippled diff () ()
* fix: Crippled diff ()

* ci

* fix: rebuild styles with v1.5's node_modules
2018-09-14 13:06:38 +02:00
1e51307466 fix bug forget to remove Stopwatch when remove repository ()
fix bug forget to remove Stopwatch when remove repository
2018-09-14 16:09:25 +08:00
c145cb745b Fix bug when repo remained bare if multiple branches pushed () 2018-09-13 13:36:41 +03:00
1a68b3962f backport "Enforce token on api routes ()" () 2018-09-11 10:39:32 -04:00
d918e63bc5 Fix redirect with non-ascii branch names () () 2018-09-07 16:32:46 -04:00
1901f35980 issues api allow pulls and fix () () 2018-09-04 22:13:56 -04:00
745c898561 Fix trimming of markup section names ()
Signed-off-by: Nicolas Lenz <nicolas@eisfunke.com>
2018-09-03 21:43:16 -04:00
38d8b8cf49 1.5.1 Changelog ()
As title
2018-09-03 08:53:34 +08:00
0358a40625 Fix missing release title in webhook () () 2018-08-26 15:07:44 -04:00
99ce0bfcd7 Don't disclose emails of all users when sending out emails ()
Backport ()
2018-08-24 14:37:30 -04:00
3fbcdd9e25 Make sure to reset commit count in the cache on mirror syncing () ()
* Make sure to reset commit count in the cache on mirror syncing

* reset count of commits in all branches
2018-08-23 22:23:21 +08:00
e9def84bf2 Fixed bug where team with admin privelege type doesn't get any unit attached to the team () () 2018-08-21 15:29:25 -04:00
066515429f Improve URL validation for external wiki and external issues () ()
* Improve URL validation for external wiki  and external issues

* Do not allow also localhost address for external URLs
2018-08-17 20:21:20 -04:00
12c04a85f2 Fix failure on creating pull request with assignees () () 2018-08-16 13:46:06 -04:00
a345023d0a Fix incorrect caption of webhook setting () () 2018-08-15 19:06:56 +03:00
052aa54b2b Make cookies HttpOnly and obey COOKIE_SECURE flag () 2018-08-14 16:19:20 -04:00
cbe8a1f0e6 Hide org/create menu item in Dashboard if user has no rights () () 2018-08-13 14:22:15 +03:00
cfe6941905 1.5.0 changelog 2018-08-10 13:16:53 -04:00
eb8c611b1d Site admin could create repos even MAX_CREATION_LIMIT=0 () ()
* site admin could create repos even MAX_CREATION_LIMIT=0

* Optimize if structure
2018-08-09 06:31:57 +03:00
b1eaeeb0cd Backport Remove link to GitHub issues in 404 template () 2018-08-08 16:20:05 -04:00
15a403bf97 Push whitelist now doesn't apply to branch deletion () () 2018-08-08 11:19:13 +03:00
099028681e fix bugs when too many IN variables () () 2018-08-02 14:48:39 -04:00
940e30bcd4 fix panic issue on update avatar email () ()
fix 

back port PR for release/v1.5,  refer to 
2018-08-01 21:34:57 +08:00
5a7830e0e8 Fix incorrect MergeWhitelistTeamIDs check in CanUserMerge function () () 2018-07-27 22:11:53 +03:00
dae065ea68 Fix out-of-transaction query in removeOrgUser () () 2018-07-27 08:57:49 -04:00
40bbc7320c Add 1.5.0-rc2 changelog () 2018-07-21 20:06:06 +03:00
5da301bb70 Prevent html entity escaping () () 2018-07-20 18:39:40 -04:00
3e191935c8 Fix column droping for MSSQL that need new transaction for that () () 2018-07-20 15:27:30 -04:00
8a639ade58 Update xorm to latest version and fix correct user table referencing in sql () () 2018-07-20 21:48:15 +03:00
88d791013b add valid for lfs oid () () 2018-07-20 19:36:56 +03:00
b37ca4a6ff backport: Redirect to correct page after using scratch token () 2018-07-19 17:15:12 -04:00
678834883e Fix drone git@next plugin Gitea version display when building tag () () 2018-07-12 11:40:50 -04:00
1965eaf96e Disable swagger validation while it is not fixed in upstream () () 2018-07-12 19:49:40 +08:00
c784ac53ba Replace src with raw to fix image paths ()
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-07-07 00:44:16 +02:00
85f3966338 Fixes repo membership check in API () ()
Untested, since I can't compile (yet).
2018-07-05 23:34:31 +03:00
f096e69e0a Add default merge options when adding new repository () () 2018-07-05 16:12:09 +02:00
768b41adba fix repository last updated time update when delete a user who watched the repo () () 2018-07-05 08:46:13 +02:00
155caa8e0a Check that repositories can only be migrated to own user or organizations () ()
* Repositories can only migrated to own user or organizations

* Add check for organization that user does not belong to

* Allow admin to migrate repositories for other users
2018-07-05 01:18:06 +02:00
7891 changed files with 1410642 additions and 636266 deletions
.air.toml.changelog.yml.drone.yml.editorconfig.eslintrc.gitattributes
.gitea
.github
.gitignore.golangci.yml.ignore.npmrc.stylelintrcBSDmakefileCHANGELOG.mdCONTRIBUTING.mdDockerfileDockerfile.rootlessGopkg.lockGopkg.tomlMAINTAINERSMakefileREADME.mdREADME_ZH.mdSECURITY.md
assets
build.go
build
cmd
contrib
custom/conf
docker
docs
.editorconfig.gitignoreDockerfileMakefileREADME.mdREADME_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.en-us.mdhelp.fr-fr.mdhelp.zh-cn.mdhelp.zh-tw.md
help
installation
packages.en-us.md
packages
translation.de-de.mdtranslation.en-us.mdtranslation.zh-tw.md
translation
upgrade
usage.zh-cn.mdusage.zh-tw.md
usage
page
docker
layouts
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_fork_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.gobare_repo_test.gobenchmarks_test.gobranches_test.gochange_default_branch_test.gocmd_keys_test.gocompare_test.gocors_test.gocreate_no_session_test.gocsrf_test.godelete_user_test.godownload_test.godump_restore_test.goeditor_test.goempty_repo_test.goeventsource_test.goexplore_repos_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
user13/repo11.git
user2
commits_search_test.git
git_hooks_test.git
glob.git
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.gointernal_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_compare_test.gopull_create_test.gopull_merge_test.gopull_review_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.goversion_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.goconsistency.go
db
error.goerror_oauth2.goexternal_login_user.gofixture_generation.gofixture_test.go
fixtures
foreignreference
git
git_diff.gogit_diff_test.gogpg_key.gogpg_key_test.gograph.gograph_test.gohelper.goissue.goissue_assignees.goissue_assignees_test.goissue_comment.goissue_comment_test.goissue_indexer.goissue_label.goissue_label_test.goissue_list.goissue_list_test.goissue_mail.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.go
issues
lfs.golfs_lock.gologin_source.gomail.gomain_test.gomigrate.gomigrate_test.go
migrations
fixtures
migrations.gomigrations_test.gotestlogger_test.gov100.gov101.gov102.gov103.gov104.gov105.gov106.gov107.gov108.gov109.gov110.gov111.gov112.gov113.gov114.gov115.gov116.gov117.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.gov72.gov73.gov74.gov75.gov76.gov77.gov78.gov79.gov80.gov81.gov82.gov83.gov84.gov85.gov86.gov87.gov88.gov89.gov90.gov91.gov92.gov93.gov94.gov95.gov96.gov97.gov98.gov99.go
models.gomodels_sqlite.gomodels_test.gomodels_tidb.gonotification.gonotification_test.gooauth2.goorg.goorg_team.goorg_team_test.goorg_test.go
organization
packages
perm
project
pull.go
pull
pull_test.gorelease.gorepo.go
repo
repo_activity.gorepo_branch.gorepo_collaboration.gorepo_collaboration_test.gorepo_editor.gorepo_indexer.gorepo_issue.gorepo_list.gorepo_list_test.gorepo_mirror.gorepo_redirect.gorepo_redirect_test.gorepo_test.gorepo_transfer.gorepo_transfer_test.gorepo_unit.gorepo_watch.gorepo_watch_test.gossh_key.gossh_key_test.gostar.gostar_test.gostatistic.gostatus.gostatus_test.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.gowebhook.go
webhook
webhook_dingtalk.gowebhook_discord.gowebhook_slack.gowebhook_test.gowiki.gowiki_test.go
modules
activitypub
analyze
appstate
auth
avatar
base
cache
charset
container
context
convert
cron
csv
doctor
emoji
eventsource
generate
git
README.mdbatch_reader.goblame.goblame_test.goblob.goblob_gogit.goblob_nogogit.goblob_test.gocommand.gocommand_race_test.gocommand_test.gocommit.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_gogit.goparse_gogit_test.goparse_nogogit.goparse_nogogit_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
HEADconfigdescription
info
logs
HEAD
refs/heads
objects
0b
11
15
18
21
28
2e
30
34
37
38
3a
50
59
5c
62
64
6c
6f
7e
80
82
83
8d
95
98
9c
a4
b1
b7
c8
ca
d0
e2
f1
fe
pulls
refs
repo2_empty
repo3_notes
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
mailer
markup
metrics
migration
minwinsvc
nosql
notification
options
packages
paginator
password
pprof
private
process
proxy
public
queue
recaptcha
references
regexplru
repository
search
secret
session
setting
ssh
storage
structs
svg
sync
templates
test
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util
validation
web
options
gitignore
license
0BSD389-exceptionAALADSLAFL-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-2.0Autoconf-exception-3.0BSD-1-ClauseBSD-2-ClauseBSD-2-Clause-FreeBSDBSD-2-Clause-NetBSDBSD-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.1BaekmukBahyphBarrBeerwareBison-exception-2.2BitTorrent-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.0CLISP-exception-2.0CNRI-JythonCNRI-PythonCNRI-Python-GPL-CompatibleCOIL-1.0CPAL-1.0CPL-1.0CPOL-1.02CUA-OPL-1.0CalderaClArtisticClasspath-exception-2.0Community-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-AACFLTK-exceptionFSFAPFSFULFSFULLRFTLFairFrameworx-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.0NCSANIST-PDNIST-PD-fallbackNLOD-1.0NLOD-2.0NLPLNOSLNPL-1.0NPL-1.1NPOSL-3.0NRLNTPNTP-0NaumenNet-SNMPNetCDFNewsletrNokiaNokia-Qt-exception-1.1NowebO-UDA-1.0OCCT-PLOCCT-exception-1.0OCLC-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.1curldiffmarkeCos-exception-2.0eGenixetalab-2.0freertos-exception-2.0gSOAP-1.3bgnu-javamail-exceptiongnuploti2p-gpl-java-exceptioniMatixlibpng-2.0libselinux-1.0libtiffmpich2mplusopenvpn-openssl-exceptionpsfragpsutilsu-boot-exception-2.0xinetdxppzlib-acknowledgement
locale
package-lock.jsonpackage.json
public
css
img
apple-touch-icon.png
auth
avatar_default.png
emoji
failed.pngfavicon.icofavicon.pngfavicon.svgfeishu.pnggitea-lg.pnggitea-safari.svggitea-sm.pnggitea.svgloading.pnglogo.pnglogo.svgmatrix.svgmsteams.pngopenid-16x16.pngpackagist.pngrepo_default.pngslack.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
js
less
swagger.v1.json
vendor
VERSIONS
assets
librejs.html
plugins
clipboard
codemirror
.gitattributes.gitignore.npmignore.travis.ymlLICENSE
addon/mode
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
jade
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
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.min.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.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
gitgraph
highlight
jquery.areyousure
jquery.datetimepicker
jquery.minicolors
jquery
pdfjs
build
web
cmaps
78-EUC-H.bcmap78-EUC-V.bcmap78-H.bcmap78-RKSJ-H.bcmap78-RKSJ-V.bcmap78-V.bcmap78ms-RKSJ-H.bcmap78ms-RKSJ-V.bcmap83pv-RKSJ-H.bcmap90ms-RKSJ-H.bcmap90ms-RKSJ-V.bcmap90msp-RKSJ-H.bcmap90msp-RKSJ-V.bcmap90pv-RKSJ-H.bcmap90pv-RKSJ-V.bcmapAdd-H.bcmapAdd-RKSJ-H.bcmapAdd-RKSJ-V.bcmapAdd-V.bcmapAdobe-CNS1-0.bcmapAdobe-CNS1-1.bcmapAdobe-CNS1-2.bcmapAdobe-CNS1-3.bcmapAdobe-CNS1-4.bcmapAdobe-CNS1-5.bcmapAdobe-CNS1-6.bcmapAdobe-CNS1-UCS2.bcmapAdobe-GB1-0.bcmapAdobe-GB1-1.bcmapAdobe-GB1-2.bcmapAdobe-GB1-3.bcmapAdobe-GB1-4.bcmapAdobe-GB1-5.bcmapAdobe-GB1-UCS2.bcmapAdobe-Japan1-0.bcmapAdobe-Japan1-1.bcmapAdobe-Japan1-2.bcmapAdobe-Japan1-3.bcmapAdobe-Japan1-4.bcmapAdobe-Japan1-5.bcmapAdobe-Japan1-6.bcmapAdobe-Japan1-UCS2.bcmapAdobe-Korea1-0.bcmapAdobe-Korea1-1.bcmapAdobe-Korea1-2.bcmapAdobe-Korea1-UCS2.bcmapB5-H.bcmapB5-V.bcmapB5pc-H.bcmapB5pc-V.bcmapCNS-EUC-H.bcmapCNS-EUC-V.bcmapCNS1-H.bcmapCNS1-V.bcmapCNS2-H.bcmapCNS2-V.bcmapETHK-B5-H.bcmapETHK-B5-V.bcmapETen-B5-H.bcmapETen-B5-V.bcmapETenms-B5-H.bcmapETenms-B5-V.bcmapEUC-H.bcmapEUC-V.bcmapExt-H.bcmapExt-RKSJ-H.bcmapExt-RKSJ-V.bcmapExt-V.bcmapGB-EUC-H.bcmapGB-EUC-V.bcmapGB-H.bcmapGB-V.bcmapGBK-EUC-H.bcmapGBK-EUC-V.bcmapGBK2K-H.bcmapGBK2K-V.bcmapGBKp-EUC-H.bcmapGBKp-EUC-V.bcmapGBT-EUC-H.bcmapGBT-EUC-V.bcmapGBT-H.bcmapGBT-V.bcmapGBTpc-EUC-H.bcmapGBTpc-EUC-V.bcmapGBpc-EUC-H.bcmapGBpc-EUC-V.bcmapH.bcmapHKdla-B5-H.bcmapHKdla-B5-V.bcmapHKdlb-B5-H.bcmapHKdlb-B5-V.bcmapHKgccs-B5-H.bcmapHKgccs-B5-V.bcmapHKm314-B5-H.bcmapHKm314-B5-V.bcmapHKm471-B5-H.bcmapHKm471-B5-V.bcmapHKscs-B5-H.bcmapHKscs-B5-V.bcmapHankaku.bcmapHiragana.bcmapKSC-EUC-H.bcmapKSC-EUC-V.bcmapKSC-H.bcmapKSC-Johab-H.bcmapKSC-Johab-V.bcmapKSC-V.bcmapKSCms-UHC-H.bcmapKSCms-UHC-HW-H.bcmapKSCms-UHC-HW-V.bcmapKSCms-UHC-V.bcmapKSCpc-EUC-H.bcmapKSCpc-EUC-V.bcmapKatakana.bcmapLICENSENWP-H.bcmapNWP-V.bcmapRKSJ-H.bcmapRKSJ-V.bcmapRoman.bcmapUniCNS-UCS2-H.bcmapUniCNS-UCS2-V.bcmapUniCNS-UTF16-H.bcmapUniCNS-UTF16-V.bcmapUniCNS-UTF32-H.bcmapUniCNS-UTF32-V.bcmapUniCNS-UTF8-H.bcmapUniCNS-UTF8-V.bcmapUniGB-UCS2-H.bcmapUniGB-UCS2-V.bcmapUniGB-UTF16-H.bcmapUniGB-UTF16-V.bcmapUniGB-UTF32-H.bcmapUniGB-UTF32-V.bcmapUniGB-UTF8-H.bcmapUniGB-UTF8-V.bcmapUniJIS-UCS2-H.bcmapUniJIS-UCS2-HW-H.bcmapUniJIS-UCS2-HW-V.bcmapUniJIS-UCS2-V.bcmapUniJIS-UTF16-H.bcmapUniJIS-UTF16-V.bcmapUniJIS-UTF32-H.bcmapUniJIS-UTF32-V.bcmapUniJIS-UTF8-H.bcmapUniJIS-UTF8-V.bcmapUniJIS2004-UTF16-H.bcmapUniJIS2004-UTF16-V.bcmapUniJIS2004-UTF32-H.bcmapUniJIS2004-UTF32-V.bcmapUniJIS2004-UTF8-H.bcmapUniJIS2004-UTF8-V.bcmapUniJISPro-UCS2-HW-V.bcmapUniJISPro-UCS2-V.bcmapUniJISPro-UTF8-V.bcmapUniJISX0213-UTF32-H.bcmapUniJISX0213-UTF32-V.bcmapUniJISX02132004-UTF32-H.bcmapUniJISX02132004-UTF32-V.bcmapUniKS-UCS2-H.bcmapUniKS-UCS2-V.bcmapUniKS-UTF16-H.bcmapUniKS-UTF16-V.bcmapUniKS-UTF32-H.bcmapUniKS-UTF32-V.bcmapUniKS-UTF8-H.bcmapUniKS-UTF8-V.bcmapV.bcmapWP-Symbol.bcmap
compatibility.jscompressed.tracemonkey-pldi-09.pdfdebugger.js
images
locale
ach
af
ak
an
ar
as
ast
az
be
bg
bn-BD
bn-IN
br
brx
bs
ca
cak
crh
cs
csb
cy
da
de
el
en-CA
en-GB
en-US
en-ZA
eo
es-AR
es-CL
es-ES
es-MX
et
eu
fa
ff
fi
fr
fy-NL
ga-IE
gd
gl
gn
gu-IN
he
hi-IN
hr
hsb
hto
hu
hy-AM
ia
id
is
it
ja
ka
kab
kk
km
kn
ko
kok
ks
ku
lg
lij
lo
locale.properties
lt
ltg
lv
mai
meh
mk
ml
mn
mr
ms
my
nb-NO
ne-NP
nl
nn-NO
nso
oc
or
pa-IN
pl
pt-BR
pt-PT
rm
ro
ru
rw
sah
sat
si
sk
sl
son
sq
sr
sv-SE
sw
ta-LK
ta
te
th
tl
tn
tr
tsz
uk
ur
uz
vi
wo
xh
zam
zh-CN
zh-TW
zu
viewer.cssviewer.htmlviewer.jsviewer.js.map
semantic
simplemde
tribute
u2f
vue
routers
admin
api
common
dev
home.goinit.goinstall.go
install
org
private
repo
routes
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
custom
explore
home.tmplinstall.tmpl
mail
org
package
post-install.tmpl
repo
activity.tmplbare.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
packages.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.tmpl
swagger
user
tools
vendor
code.gitea.io
github.com
PuerkitoBio/goquery
RoaringBitmap/roaring
Smerity/govarint
Unknwon
andybalholm/cascadia
blevesearch
bleve
LICENSE
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
go-porterstemmer
segment
boltdb/bolt
boombuler/barcode
bradfitz/gomemcache
chaseadamsio/goorgeous
coreos
couchbase/vellum
davecgh/go-spew
denisenkom/go-mssqldb
dgrijalva/jwt-go
edsrzf/mmap-go
elazarl/go-bindata-assetfs
ethantkoenig/rupture
facebookgo
glycerine/go-unsnap-stream
go-macaron
go-sql-driver/mysql
go-xorm
gogits
golang
gorilla
issue9/identicon
jaytaylor/html2text
juju/errors
kballard/go-shellquote
keybase/go-crypto
klauspost
lafriks/xormstore
lib/pq
lunny/dingtalk_webhook
markbates/goth
mattn/go-sqlite3
mcuadros/go-version
microcosm-cc/bluemonday
mrjones/oauth
mschoch/smat
msteinert/pam
nfnt/resize
ngaut
petar/GoLLRB
philhofer/fwd
pingcap
go-hbase
go-themis
tidb
Godeps/_workspace/src/github.com
boltdb/bolt
go-sql-driver/mysql
golang/snappy
juju/errors
ngaut/log
peterh/liner
rcrowley/go-metrics
twinj/uuid
LICENSES
ast
bootstrap.go
column
context
ddl
domain
driver.go
evaluator
executor
infoschema
inspectkv
kv
meta
model
mysql
optimizer
parser
perfschema
privilege
session.go
sessionctx
store
structure
table
terror
tidb.go
util
pmezard/go-difflib
pquerna/otp
russross/blackfriday
satori/go.uuid
sergi/go-diff
LICENSE.txt
diffmatchpatch
shurcooL/sanitized_anchor_name
steveyen/gtreap
stretchr/testify
syndtr/goleveldb
tinylib/msgp
tstranex/u2f
twinj/uuid
ugorji/go
urfave/cli
willf/bitset
yohcop/openid-go
golang.org/x
crypto
net
oauth2
sync
sys
AUTHORSCONTRIBUTORSLICENSEPATENTS
unix
asm.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_linux_386.sasm_linux_amd64.sasm_linux_arm.sasm_linux_arm64.sasm_linux_mips64x.sasm_linux_ppc64x.sasm_linux_s390x.sasm_netbsd_386.sasm_netbsd_amd64.sasm_netbsd_arm.sasm_openbsd_386.sasm_openbsd_amd64.sasm_solaris_amd64.sbluetooth_linux.goconstants.goenv_unix.goenv_unset.goflock.goflock_linux_32bit.gogccgo.gogccgo_c.cgccgo_linux_amd64.gomkpost.gorace.gorace0.gosockcmsg_linux.gosockcmsg_unix.gostr.gosyscall.gosyscall_bsd.gosyscall_darwin.gosyscall_darwin_386.gosyscall_darwin_amd64.gosyscall_darwin_arm.gosyscall_darwin_arm64.gosyscall_dragonfly.gosyscall_dragonfly_amd64.gosyscall_freebsd.gosyscall_freebsd_386.gosyscall_freebsd_amd64.gosyscall_freebsd_arm.gosyscall_linux.gosyscall_linux_386.gosyscall_linux_amd64.gosyscall_linux_arm.gosyscall_linux_arm64.gosyscall_linux_mips64x.gosyscall_linux_ppc64x.gosyscall_linux_s390x.gosyscall_netbsd.gosyscall_netbsd_386.gosyscall_netbsd_amd64.gosyscall_netbsd_arm.gosyscall_no_getwd.gosyscall_openbsd.gosyscall_openbsd_386.gosyscall_openbsd_amd64.gosyscall_solaris.gosyscall_solaris_amd64.gosyscall_unix.gotypes_darwin.gotypes_dragonfly.gotypes_freebsd.gotypes_linux.gotypes_netbsd.gotypes_openbsd.gotypes_solaris.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_linux_386.gozerrors_linux_amd64.gozerrors_linux_arm.gozerrors_linux_arm64.gozerrors_linux_mips64.gozerrors_linux_mips64le.gozerrors_linux_ppc64.gozerrors_linux_ppc64le.gozerrors_linux_s390x.gozerrors_netbsd_386.gozerrors_netbsd_amd64.gozerrors_netbsd_arm.gozerrors_openbsd_386.gozerrors_openbsd_amd64.gozerrors_solaris_amd64.gozsyscall_darwin_386.gozsyscall_darwin_amd64.gozsyscall_darwin_arm.gozsyscall_darwin_arm64.gozsyscall_dragonfly_amd64.gozsyscall_freebsd_386.gozsyscall_freebsd_amd64.gozsyscall_freebsd_arm.gozsyscall_linux_386.gozsyscall_linux_amd64.gozsyscall_linux_arm.gozsyscall_linux_arm64.gozsyscall_linux_mips64.gozsyscall_linux_mips64le.gozsyscall_linux_ppc64.gozsyscall_linux_ppc64le.gozsyscall_linux_s390x.gozsyscall_netbsd_386.gozsyscall_netbsd_amd64.gozsyscall_netbsd_arm.gozsyscall_openbsd_386.gozsyscall_openbsd_amd64.gozsyscall_solaris_amd64.gozsysctl_openbsd.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_linux_386.gozsysnum_linux_amd64.gozsysnum_linux_arm.gozsysnum_linux_arm64.gozsysnum_linux_mips64.gozsysnum_linux_mips64le.gozsysnum_linux_ppc64.gozsysnum_linux_ppc64le.gozsysnum_linux_s390x.gozsysnum_netbsd_386.gozsysnum_netbsd_amd64.gozsysnum_netbsd_arm.gozsysnum_openbsd_386.gozsysnum_openbsd_amd64.gozsysnum_solaris_amd64.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_linux_386.goztypes_linux_amd64.goztypes_linux_arm.goztypes_linux_arm64.goztypes_linux_mips64.goztypes_linux_mips64le.goztypes_linux_ppc64.goztypes_linux_ppc64le.goztypes_linux_s390x.goztypes_netbsd_386.goztypes_netbsd_amd64.goztypes_netbsd_arm.goztypes_openbsd_386.goztypes_openbsd_amd64.goztypes_solaris_amd64.go
windows
text
gopkg.in
strk.kbt.io/projects/go/libravatar
web_src
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,68 +1,44 @@
# config for changelog tool
# source: https://gitea.com/gitea/changelog
# The full repository name
repo: go-gitea/gitea
# Service type (gitea or github)
service: github
# Base URL for Gitea instance if using gitea service type (optional)
# Default: https://gitea.com
base-url:
# Changelog groups and which labeled PRs to add to each group
groups:
-
-
name: BREAKING
labels:
- kind/breaking
-
name: SECURITY
labels:
- kind/security
-
name: FEDERATION
labels:
- theme/federation
-
name: FEATURES
-
name: FEATURE
labels:
- kind/feature
-
name: API
name: BUGFIXES
labels:
- kind/api
-
name: ENHANCEMENTS
- kind/bug
-
name: ENHANCEMENT
labels:
- kind/enhancement
- kind/refactor
- kind/ui
-
name: BUGFIXES
name: SECURITY
labels:
- kind/bug
-
- kind/security
-
name: TESTING
labels:
- kind/testing
-
-
name: TRANSLATION
labels:
- kind/translation
-
-
name: BUILD
labels:
- kind/build
- kind/lint
-
-
name: DOCS
labels:
- kind/docs
-
-
name: MISC
default: true
# regex indicating which labels to skip for the changelog
skip-labels: skip-changelog|backport\/.+
default: true

1775
.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
[*.go]
indent_style = tab
indent_size = 8
[*.{tmpl,html}]
indent_style = tab
indent_size = 4
[*.{less}]
indent_style = space
indent_size = 4
[*.{yml}]
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 = 4
[Makefile]
indent_style = tab
[*.svg]
insert_final_newline = false
[*.md]
trim_trailing_whitespace = false

513
.eslintrc

File diff suppressed because it is too large Load Diff

15
.gitattributes vendored

@ -1,9 +1,6 @@
* 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** -->

2
.github/FUNDING.yml vendored

@ -1,2 +0,0 @@
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

31
.github/issue_template.md vendored Normal file

@ -0,0 +1,31 @@
<!--
1. Please speak English, this is the language all of us can speak and write.
2. Please ask questions or configuration/deploy problems on our Discord
server (https://discord.gg/NsatcWJ) 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.**

54
.github/stale.yml vendored

@ -1,54 +0,0 @@
# Configuration for probot-stale - https://github.com/probot/stale
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 60
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 14
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- status/blocked
- kind/security
- lgtm/done
- reviewed/confirmed
- priority/critical
- kind/proposal
# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false
# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false
# Label to use when marking as stale
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.
# Comment to post when closing a stale Issue or Pull Request.
closeComment: >
This issue has been automatically closed because of inactivity.
You can re-open it if needed.
# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 1
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
pulls:
daysUntilStale: 60
daysUntilClose: 60
markComment: >
This pull request 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 months. Thank you
for your contributions.
closeComment: >
This pull request has been automatically closed because of inactivity.
You can re-open it if needed.

53
.gitignore vendored

@ -9,12 +9,9 @@ _test
# IntelliJ
.idea
# Goland's output filename can not be set manually
/go_build_*
# MS VSCode
.vscode
__debug_bin
# Architecture specific extensions/prefixes
*.[568vq]
@ -34,74 +31,35 @@ _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
/public/img/avatar
/integrations/gitea-integration-mysql
/integrations/gitea-integration-mysql8
/integrations/gitea-integration-pgsql
/integrations/gitea-integration-sqlite
/integrations/gitea-integration-mssql
/integrations/indexers-mysql
/integrations/indexers-mysql8
/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/
@ -111,10 +69,3 @@ prime/
*.snap
*.snap-build
*_source.tar.bz2
.DS_Store
# Make evidence files
/.make_evidence
# Manpage
/man

@ -1,164 +0,0 @@
linters:
enable:
- gosimple
- deadcode
- typecheck
- govet
- errcheck
- staticcheck
- unused
- structcheck
- varcheck
- 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
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"
issues:
exclude-rules:
# Exclude some linters from running on tests files.
- path: _test\.go
linters:
- gocyclo
- errcheck
- dupl
- gosec
- unparam
- staticcheck
- path: models/migrations/v
linters:
- gocyclo
- errcheck
- dupl
- gosec
- linters:
- dupl
text: "webhook"
- linters:
- gocritic
text: "`ID' should not be capitalized"
- path: modules/templates/helper.go
linters:
- gocritic
- linters:
- unused
- deadcode
text: "swagger"
- path: contrib/pr/checkout.go
linters:
- errcheck
- path: models/issue.go
linters:
- errcheck
- path: models/migrations/
linters:
- errcheck
- path: modules/log/
linters:
- errcheck
- path: routers/api/v1/repo/issue_subscription.go
linters:
- dupl
- path: routers/repo/view.go
linters:
- dupl
- path: models/migrations/
linters:
- unused
- linters:
- staticcheck
text: "argument x is overwritten before first use"
- path: modules/httplib/httplib.go
linters:
- staticcheck
# Enabling this would require refactoring the methods and how they are called.
- path: models/issue_comment_list.go
linters:
- dupl
- 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 +0,0 @@
*.min.css
*.min.js
/modules/options/bindata.go
/modules/public/bindata.go
/modules/templates/bindata.go
/public/vendor/plugins
/vendor
node_modules

5
.npmrc

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

@ -1,32 +0,0 @@
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
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

@ -1,51 +0,0 @@
# GNU makefile proxy script for BSD make
# Written and maintained by Mahmoud Al-Qudsi <mqudsi@neosmart.net>
# Copyright NeoSmart Technologies <https://neosmart.net/> 2014-2018
# Obtain updates from <https://github.com/neosmart/gmake-proxy>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
JARG =
GMAKE = "gmake"
#When gmake is called from another make instance, -w is automatically added
#which causes extraneous messages about directory changes to be emitted.
#--no-print-directory silences these messages.
GARGS = "--no-print-directory"
.if "$(.MAKE.JOBS)" != ""
JARG = -j$(.MAKE.JOBS)
.endif
#by default bmake will cd into ./obj first
.OBJDIR: ./
.PHONY: FRC
$(.TARGETS): FRC
$(GMAKE) $(GARGS) $(.TARGETS:S,.DONE,,) $(JARG)
.DONE .DEFAULT: .SILENT
$(GMAKE) $(GARGS) $(.TARGETS:S,.DONE,,) $(JARG)
.ERROR: .SILENT
if ! which $(GMAKE) > /dev/null; then \
echo "GNU Make is required!"; \
fi

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,16 +1,14 @@
#Build stage
FROM golang:1.18-alpine3.16 AS build-env
ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
###################################
#Build stage
FROM golang:1.10-alpine3.7 AS build-env
ARG GITEA_VERSION
ARG TAGS="sqlite sqlite_unlock_notify"
ENV TAGS "bindata timetzdata $TAGS"
ARG CGO_EXTRA_CFLAGS
ARG TAGS="sqlite"
ENV TAGS "bindata $TAGS"
#Build deps
RUN apk --no-cache add build-base git nodejs npm
RUN apk --no-cache add build-base git
#Setup repo
COPY . ${GOPATH}/src/code.gitea.io/gitea
@ -18,12 +16,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 generate build
# Begin env-to-ini build
RUN go build contrib/environment-to-ini/environment-to-ini.go
FROM alpine:3.16
FROM alpine:3.7
LABEL maintainer="maintainers@gitea.io"
EXPOSE 22 3000
@ -39,7 +34,7 @@ RUN apk --no-cache add \
s6 \
sqlite \
su-exec \
gnupg
tzdata
RUN addgroup \
-S -g 1000 \
@ -51,7 +46,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
@ -61,8 +56,5 @@ VOLUME ["/data"]
ENTRYPOINT ["/usr/bin/entrypoint"]
CMD ["/bin/s6-svscan", "/etc/s6"]
COPY docker/root /
COPY docker /
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/*

@ -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 []

883
Gopkg.lock generated Normal file

File diff suppressed because it is too large Load Diff

106
Gopkg.toml Normal file

@ -0,0 +1,106 @@
ignored = ["google.golang.org/appengine*"]
[prune]
go-tests = true
unused-packages = true
non-go = true
[[constraint]]
branch = "master"
name = "code.gitea.io/git"
[[constraint]]
branch = "master"
name = "code.gitea.io/sdk"
[[constraint]]
revision = "9f005a07e0d31d45e6656d241bb5c0f2efd4bc94"
name = "golang.org/x/crypto"
[[constraint]]
revision = "a646d33e2ee3172a661fc09bca23bb4889a41bc8"
name = "golang.org/x/sys"
[[constraint]]
revision = "2bf8f2a19ec09c670e931282edfe6567f6be21c9"
name = "golang.org/x/text"
[[constraint]]
revision = "f2499483f923065a842d38eb4c7f1927e6fc6e6d"
name = "golang.org/x/net"
[[constraint]]
#version = "v1.0.0"
revision = "33197485abe227dcb254644cf5081c9a3c281669"
name = "github.com/pingcap/tidb"
[[override]]
name = "github.com/go-xorm/xorm"
#version = "0.6.5"
revision = "ad69f7d8f0861a29438154bb0a20b60501298480"
[[override]]
name = "github.com/gorilla/mux"
revision = "757bef944d0f21880861c2dd9c871ca543023cba"
[[constraint]]
name = "github.com/gorilla/context"
version = "1.1.1"
[[constraint]]
name = "github.com/lafriks/xormstore"
version = "1.0.0"
[[constraint]]
branch = "master"
name = "github.com/lunny/dingtalk_webhook"
[[constraint]]
name = "github.com/markbates/goth"
version = "1.45.5"
[[constraint]]
branch = "master"
name = "github.com/mcuadros/go-version"
[[constraint]]
branch = "master"
name = "github.com/russross/blackfriday"
[[constraint]]
branch = "master"
name = "github.com/tstranex/u2f"
[[constraint]]
name = "gopkg.in/editorconfig/editorconfig-core-go.v1"
version = "1.2.0"
[[constraint]]
branch = "v2"
name = "gopkg.in/gomail.v2"
[[constraint]]
name = "gopkg.in/ini.v1"
version = "1.31.1"
[[constraint]]
name = "gopkg.in/ldap.v2"
version = "2.4.1"
[[constraint]]
name = "gopkg.in/macaron.v1"
version = "1.2.4"
[[constraint]]
name = "gopkg.in/testfixtures.v2"
version = "2.0.0"
[[override]]
name = "github.com/boltdb/bolt"
revision = "ccd680d8c1a0179ac3d68f692b01e1a1589cbfc7"
source = "github.com/go-gitea/bolt"
[[override]]
revision = "c10ba270aa0bf8b8c1c986e103859c67a9103061"
name = "golang.org/x/oauth2"

@ -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)
@ -18,32 +19,8 @@ Lauris Bukšis-Haberkorns <lauris@nix.lv> (@lafriks)
Jonas Östanbäck <jonas.ostanback@gmail.com> (@cez81)
David Schneiderbauer <dschneiderbauer@gmail.com> (@daviian)
Peter Žeby <morlinest@gmail.com> (@morlinest)
Matti Ranta <techknowlogick@gitea.io> (@techknowlogick)
Jonas Franz <info@jonasfranz.software> (@jonasfranz)
Matti Ranta <matti@mdranta.net> (@techknowlogick)
Michael Lustfield <mtecknology@debian.org> (@MTecknology)
Jonas Franz <info@jonasfranz.software> (@JonasFranzDEV)
Flynn Lufmons <fluf@warpmail.net> (@flufmonster)
Alexey Terentyev <axifnx@gmail.com> (@axifive)
Lanre Adelowo <yo@lanre.wtf> (@adelowo)
Konrad Langenberg <k@knt.li> (@kolaente)
He-Long Zhang <outman99@hotmail.com> (@BetaCat0)
Andrew Thornton <art27@cantab.net> (@zeripath)
John Olheiser <john.olheiser@gmail.com> (@jolheiser)
Richard Mahn <rich.mahn@unfoldingword.org> (@richmahn)
Mrsdizzie <info@mrsdizzie.com> (@mrsdizzie)
silverwind <me@silverwind.io> (@silverwind)
Gary Kim <gary@garykim.dev> (@gary-kim)
Guillermo Prandi <gitea.maint@mailfilter.com.ar> (@guillep2k)
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)

845
Makefile

File diff suppressed because it is too large Load Diff

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