Tags: KN4CK3R/gitea
Tags
Changelog * SECURITY * Sanitize and Escape refs in git backend (go-gitea#21464) (go-gitea#21463) * Bump `golang.org/x/text` (go-gitea#21412) (go-gitea#21413) * Update bluemonday (go-gitea#21281) (go-gitea#21287) * ENHANCEMENTS * Fix empty container layer history and UI (go-gitea#21251) (go-gitea#21278) * Use en-US as fallback when using other default language (go-gitea#21200) (go-gitea#21256) * Make the vscode clone link respect transport protocol (go-gitea#20557) (go-gitea#21128) * BUGFIXES * Do DB update after merge in hammer context (go-gitea#21401) (go-gitea#21416) * Add Num{Issues,Pulls} stats checks (go-gitea#21404) (go-gitea#21414) * Stop logging CheckPath returns error: context canceled (go-gitea#21064) (go-gitea#21405) * Parse OAuth Authorization header when request omits client secret (go-gitea#21351) (go-gitea#21374) * Ignore port for loopback redirect URIs (go-gitea#21293) (go-gitea#21373) * Set SemverCompatible to false for Conan packages (go-gitea#21275) (go-gitea#21366) * Tag list should include draft releases with existing tags (go-gitea#21263) (go-gitea#21365) * Fix linked account translation (go-gitea#21331) (go-gitea#21334) * Make NuGet service index publicly accessible (go-gitea#21242) (go-gitea#21277) * Foreign ID conflicts if ID is 0 for each item (go-gitea#21271) (go-gitea#21272) * Use absolute links in feeds (go-gitea#21229) (go-gitea#21265) * Prevent invalid behavior for file reviewing when loading more files (go-gitea#21230) (go-gitea#21234) * Respect `REQUIRE_SIGNIN_VIEW` for packages (go-gitea#20873) (go-gitea#21232) * Treat git object mode 40755 as directory (go-gitea#21195) (go-gitea#21218) * Allow uppercase ASCII alphabet in PyPI package names (go-gitea#21095) (go-gitea#21217) * Fix limited user cannot view himself's profile (go-gitea#21212) * Fix template bug of admin monitor (go-gitea#21209) * Fix reaction of issues (go-gitea#21185) (go-gitea#21196) * Fix CSV diff for added/deleted files (go-gitea#21189) (go-gitea#21193) * Fix pagination limit parameter problem (go-gitea#21111) * TESTING * Fix missing m.Run() in TestMain (go-gitea#21341) * BUILD * Use Go 1.19 fmt for Gitea 1.17, sync emoji data (go-gitea#21239)
* SECURITY * Double check CloneURL is acceptable (go-gitea#20869) (go-gitea#20892) * Add more checks in migration code (go-gitea#21011) (go-gitea#21050) * ENHANCEMENTS * Fix hard-coded timeout and error panic in API archive download endpoint (go-gitea#20925) (go-gitea#21051) * Improve arc-green code theme (go-gitea#21039) (go-gitea#21042) * Enable contenthash in filename for dynamic assets (go-gitea#20813) (go-gitea#20932) * Don't open new page for ext wiki on same repository (go-gitea#20725) (go-gitea#20910) * Disable doctor logging on panic (go-gitea#20847) (go-gitea#20898) * Remove calls to load Mirrors in user.Dashboard (go-gitea#20855) (go-gitea#20897) * Update codemirror to 5.65.8 (go-gitea#20875) * Rework repo buttons (go-gitea#20602, go-gitea#20718) (go-gitea#20719) * BUGFIXES * Ensure delete user deletes all comments (go-gitea#21067) (go-gitea#21068) * Delete unreferenced packages when deleting a package version (go-gitea#20977) (go-gitea#21060) * Redirect if user does not exist on admin pages (go-gitea#20981) (go-gitea#21059) * Set uploadpack.allowFilter etc on gitea serv to enable partial clones with ssh (go-gitea#20902) (go-gitea#21058) * Fix 500 on time in timeline API (go-gitea#21052) (go-gitea#21057) * Fill the specified ref in webhook test payload (go-gitea#20961) (go-gitea#21055) * Add another index for Action table on postgres (go-gitea#21033) (go-gitea#21054) * Fix broken insecureskipverify handling in redis connection uris (go-gitea#20967) (go-gitea#21053) * Add Dev, Peer and Optional dependencies to npm PackageMetadataVersion (go-gitea#21017) (go-gitea#21044) * Do not add links to Posters or Assignees with ID < 0 (go-gitea#20577) (go-gitea#21037) * Fix modified due date message (go-gitea#20388) (go-gitea#21032) * Fix missed sort bug (go-gitea#21006) * Fix input.value attr for RequiredClaimName/Value (go-gitea#20946) (go-gitea#21001) * Change review buttons to icons to make space for text (go-gitea#20934) (go-gitea#20978) * Fix download archiver of a commit (go-gitea#20962) (go-gitea#20971) * Return 404 NotFound if requested attachment does not exist (go-gitea#20886) (go-gitea#20941) * Set no-tags in git fetch on compare (go-gitea#20893) (go-gitea#20936) * Allow multiple metadata files for Maven packages (go-gitea#20674) (go-gitea#20916) * Increase Content field size of gpg_key and public_key to MEDIUMTEXT (go-gitea#20896) (go-gitea#20911) * Fix mirror address setting not working (go-gitea#20850) (go-gitea#20904) * Fix push mirror address backend get error Address cause setting page display error (go-gitea#20593) (go-gitea#20901) * Fix panic when an invalid oauth2 name is passed (go-gitea#20820) (go-gitea#20900) * In PushMirrorsIterate and MirrorsIterate if limit is negative do not set it (go-gitea#20837) (go-gitea#20899) * Ensure that graceful start-up is informed of unused SSH listener (go-gitea#20877) (go-gitea#20888) * Pad GPG Key ID with preceding zeroes (go-gitea#20878) (go-gitea#20885) * Fix SQL Query for `SearchTeam` (go-gitea#20844) (go-gitea#20872) * Fix the mode of custom dir to 0700 in docker-rootless (go-gitea#20861) (go-gitea#20867) * Fix UI mis-align for PR commit history (go-gitea#20845) (go-gitea#20859)
* SECURITY * Correctly escape within tribute.js (go-gitea#20831) (go-gitea#20832) * ENHANCEMENTS * Add support for NuGet API keys (go-gitea#20721) (go-gitea#20734) * Display project in issue list (go-gitea#20583) * Add disable download source configuration (go-gitea#20548) (go-gitea#20579) * Add username check to doctor (go-gitea#20140) (go-gitea#20671) * Enable Wire 2 for Internal SSH Server (go-gitea#20616) (go-gitea#20617) * BUGFIXES * Use the total issue count for UI (go-gitea#20785) (go-gitea#20827) * Add proxy host into allow list (go-gitea#20798) (go-gitea#20819) * Add missing translation for queue flush workers (go-gitea#20791) (go-gitea#20792) * Improve comment header for mobile (go-gitea#20781) (go-gitea#20789) * Fix git.Init for doctor sub-command (go-gitea#20782) (go-gitea#20783) * Check webhooks slice length before calling xorm (go-gitea#20642) (go-gitea#20768) * Remove manual rollback for failed generated repositories (go-gitea#20639) (go-gitea#20762) * Use correct field name in npm template (go-gitea#20675) (go-gitea#20760) * Keep download count on Container tag overwrite (go-gitea#20728) (go-gitea#20735) * Fix v220 migration to be compatible for MSSQL 2008 r2 (go-gitea#20702) (go-gitea#20707) * Use request timeout for git service rpc (go-gitea#20689) (go-gitea#20693) * Send correct NuGet status codes (go-gitea#20647) (go-gitea#20677) * Use correct context to get package content (go-gitea#20673) (go-gitea#20676) * Fix the JS error "EventSource is not defined" caused by some non-standard browsers (go-gitea#20584) (go-gitea#20663) * Add default commit messages to PR for squash merge (go-gitea#20618) (go-gitea#20645) * Fix package upload for files >32mb (go-gitea#20622) (go-gitea#20635) * Fix the new-line copy-paste for rendered code (go-gitea#20612) * Clean up and fix clone button script (go-gitea#20415 & go-gitea#20600) (go-gitea#20599) * Fix default merge style (go-gitea#20564) (go-gitea#20565) * Add repository condition for issue count (go-gitea#20454) (go-gitea#20496) * Make branch icon stand out more (go-gitea#20726) (go-gitea#20774) * Fix loading button with invalid form (go-gitea#20754) (go-gitea#20759) * Fix SecToTime edge-cases (go-gitea#20610) (go-gitea#20611) * Executable check always returns true for windows (go-gitea#20637) (go-gitea#20835) * Check issue labels slice length before calling xorm Insert (go-gitea#20655) (go-gitea#20836) * Fix owners cannot create organization repos bug (go-gitea#20841) (go-gitea#20854) * Prevent 500 is head repo does not have PullRequest unit in IsUserAllowedToUpdate (go-gitea#20839) (go-gitea#20848)
v1.17.0 * BREAKING * Require go1.18 for Gitea 1.17 (go-gitea#19918) * Make AppDataPath absolute against the AppWorkPath if it is not (go-gitea#19815) * Nuke the incorrect permission report on /api/v1/notifications (go-gitea#19761) * Refactor git module, make Gitea use internal git config (go-gitea#19732) * Remove `RequireHighlightJS` field, update plantuml example. (go-gitea#19615) * Increase minimal required git version to 2.0 (go-gitea#19577) * Add a directory prefix `gitea-src-VERSION` to release-tar-file (go-gitea#19396) * Use "main" as default branch name (go-gitea#19354) * Make cron task no notice on success (go-gitea#19221) * Add pam account authorization check (go-gitea#19040) * Show messages for users if the ROOT_URL is wrong, show JavaScript errors (go-gitea#18971) * Refactor mirror code & fix StartToMirror (go-gitea#18904) * Remove deprecated SSH ciphers from default (go-gitea#18697) * Add the possibility to allow the user to have a favicon which differs from the main logo (go-gitea#18542) * Update reserved usernames list (go-gitea#18438) * Support custom ACME provider (go-gitea#18340) * Change initial TrustModel to committer (go-gitea#18335) * Update HTTP status codes (go-gitea#18063) * Upgrade Alpine from 3.13 to 3.15 (go-gitea#18050) * Restrict email address validation (go-gitea#17688) * Refactor Router Logger (go-gitea#17308) * SECURITY * Use git.HOME_PATH for Git HOME directory (go-gitea#20114) (go-gitea#20293) * Add write check for creating Commit Statuses (go-gitea#20332) (go-gitea#20333) * Remove deprecated SSH ciphers from default (go-gitea#18697) * FEDERATION * Return statistic information for nodeinfo (go-gitea#19561) * Add Webfinger endpoint (go-gitea#19462) * Store the foreign ID of issues during migration (go-gitea#18446) * FEATURES * Automatically render wiki TOC (go-gitea#19873) * Adding button to link accounts from user settings (go-gitea#19792) * Allow set default merge style while creating repo (go-gitea#19751) * Auto merge pull requests when all checks succeeded (go-gitea#9307 & go-gitea#19648) * Improve reviewing PR UX (go-gitea#19612) * Add support for rendering console output with colors (go-gitea#19497) * Add Helm Chart registry (go-gitea#19406) * Add Goroutine stack inspector to admin/monitor (go-gitea#19207) * RSS/Atom support for Orgs & Repos (go-gitea#17714 & go-gitea#19055) * Add button for issue deletion (go-gitea#19032) * Allow to mark files in a PR as viewed (go-gitea#19007) * Add Index to comment for migrations and mirroring (go-gitea#18806) * Add health check endpoint (go-gitea#18465) * Add packagist webhook (go-gitea#18224) * Add "Allow edits from maintainer" feature (go-gitea#18002) * Add apply-patch, basic revert and cherry-pick functionality (go-gitea#17902) * Add Package Registry (go-gitea#16510) * Add LDAP group sync to Teams (go-gitea#16299) * Pause queues (go-gitea#15928) * Added auto-save whitespace behavior if it changed manually (go-gitea#15566) * Find files in repo (go-gitea#15028) * Provide configuration to allow camo-media proxying (go-gitea#12802) * API * Add endpoint to serve blob or LFS file content (go-gitea#19689) * Add endpoint to check if team has repo access (go-gitea#19540) * More commit info (go-gitea#19252) * Allow to create file on empty repo (go-gitea#19224) * Allow removing issues (go-gitea#18879) * Add endpoint to query collaborators permission for a repository (go-gitea#18761) * Return primary language and repository language stats API URL (go-gitea#18396) * Implement http signatures support for the API (go-gitea#17565) * ENHANCEMENTS * Make notification bell more prominent on mobile (go-gitea#20108, go-gitea#20236, go-gitea#20251) (go-gitea#20269) * Adjust max-widths for the repository file table (go-gitea#20243) (go-gitea#20247) * Display full name (go-gitea#20171) (go-gitea#20246) * Add dbconsistency checks for Stopwatches (go-gitea#20010) * Add fetch.writeCommitGraph to gitconfig (go-gitea#20006) * Add fgprof pprof profiler (go-gitea#20005) * Move agit dependency (go-gitea#19998) * Empty log queue on flush and close (go-gitea#19994) * Remove tab/TabName usage where it's not needed (go-gitea#19973) * Improve file header on mobile (go-gitea#19945) * Move issues related files into models/issues (go-gitea#19931) * Add breaking email restrictions checker in doctor (go-gitea#19903) * Improve UX on modal for deleting an access token (go-gitea#19894) * Add alt text to logo (go-gitea#19892) * Move some code into models/git (go-gitea#19879) * Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (go-gitea#19861) * Make user profile image show full image on mobile (go-gitea#19840) * Replace blue button and label classes with primary (go-gitea#19763) * Remove fomantic progress module (go-gitea#19760) * Allows repo search to match against "owner/repo" pattern strings (go-gitea#19754) * Move org functions (go-gitea#19753) * Move almost all functions' parameter db.Engine to context.Context (go-gitea#19748) * Show source/target branches on PR's list (go-gitea#19747) * Use http.StatusTemporaryRedirect(307) when serve avatar directly (go-gitea#19739) * Add doctor orphan check for orphaned pull requests without an existing base repo (go-gitea#19731) * Make Ctrl+Enter (quick submit) work for issue comment and wiki editor (go-gitea#19729) * Update go-chi/cache to utilize Ping() (go-gitea#19719) * Improve commit list/view on mobile (go-gitea#19712) * Move some repository related code into sub package (go-gitea#19711) * Use a better OlderThan for DeleteInactiveUsers (go-gitea#19693) * Introduce eslint-plugin-jquery (go-gitea#19690) * Tidy up `<head>` template (go-gitea#19678) * Calculate filename hash only once (go-gitea#19654) * Simplify `IsVendor` (go-gitea#19626) * Add "Reference" section to Issue view sidebar (go-gitea#19609) * Only set CanColorStdout / CanColorStderr to true if the stdout/stderr is a terminal (go-gitea#19581) * Use for a repo action one database transaction (go-gitea#19576) * Simplify loops to copy (go-gitea#19569) * Added X-Mailer header to outgoing emails (go-gitea#19562) * use middleware to open gitRepo (go-gitea#19559) * Mute link in diff header (go-gitea#19556) * Improve UI on mobile (go-gitea#19546) * Fix Pull Request comment filename word breaks (go-gitea#19535) * Permalink files In PR diff (go-gitea#19534) * PullService lock via pullID (go-gitea#19520) * Make repository file list useable on mobile (go-gitea#19515) * more context for models (go-gitea#19511) * Refactor readme file renderer (go-gitea#19502) * By default force vertical tabs on mobile (go-gitea#19486) * Github style following followers (go-gitea#19482) * Improve action table indices (go-gitea#19472) * Use horizontal tabs for repo header on mobile (go-gitea#19468) * pass gitRepo down since its used for main repo and wiki (go-gitea#19461) * Admin should not delete himself (go-gitea#19423) * Use queue instead of memory queue in webhook send service (go-gitea#19390) * Simplify the code to get issue count (go-gitea#19380) * Add commit status popup to issuelist (go-gitea#19375) * Add RSS Feed buttons to Repo, User and Org pages (go-gitea#19370) * Add logic to switch between source/rendered on Markdown (go-gitea#19356) * Move some helper files out of models (go-gitea#19355) * Move access and repo permission to models/perm/access (go-gitea#19350) * Disallow selecting the text of buttons (go-gitea#19330) * Allow custom redirect for landing page (go-gitea#19324) * Remove dependent on session auth for api/v1 routers (go-gitea#19321) * Never use /api/v1 from Gitea UI Pages (go-gitea#19318) * Remove legacy unmaintained packages, refactor to support change default locale (go-gitea#19308) * Move milestone to models/issues/ (go-gitea#19278) * Configure OpenSSH log level via Environment in Docker (go-gitea#19274) * Move reaction to models/issues/ (go-gitea#19264) * Make git.OpenRepository accept Context (go-gitea#19260) * Move some issue methods as functions (go-gitea#19255) * Show last cron messages on monitor page (go-gitea#19223) * New cron task: delete old system notices (go-gitea#19219) * Add Redis Sentinel Authentication Support (go-gitea#19213) * Add auto logging of goroutine pid label (go-gitea#19212) * Set OpenGraph title to DisplayName in profile pages (go-gitea#19206) * Add pprof labels in processes and for lifecycles (go-gitea#19202) * Let web and API routes have different auth methods group (go-gitea#19168) * Move init repository related functions to modules (go-gitea#19159) * Feeds: render markdown to html (go-gitea#19058) * Allow users to self-request a PR review (go-gitea#19030) * Allow render HTML with css/js external links (go-gitea#19017) * Fix script compatiable with OpenWrt (go-gitea#19000) * Support ignore all santize for external renderer (go-gitea#18984) * Add note to GPG key response if user has no keys (go-gitea#18961) * Improve Stopwatch behavior (go-gitea#18930) * Improve mirror iterator (go-gitea#18928) * Uncapitalize errors (go-gitea#18915) * Prevent Stats Indexer reporting error if repo dir missing (go-gitea#18870) * Refactor SecToTime() function (go-gitea#18863) * Replace deprecated String.prototype.substr() with String.prototype.slice() (go-gitea#18796) * Move deletebeans into models/db (go-gitea#18781) * Fix display time of milestones (go-gitea#18753) * Add config option to disable "Update branch by rebase" (go-gitea#18745) * Display template path of current page in dev mode (go-gitea#18717) * Add number in queue status to monitor page (go-gitea#18712) * Change git.cmd to RunWithContext (go-gitea#18693) * Refactor i18n, use Locale to provide i18n/translation related functions (go-gitea#18648) * Delete old git.NewCommand() and use it as git.NewCommandContext() (go-gitea#18552) * Move organization related structs into sub package (go-gitea#18518) * Warn at startup if the provided `SCRIPT_TYPE` is not on the PATH (go-gitea#18467) * Use `CryptoRandomBytes` instead of `CryptoRandomString` (go-gitea#18439) * Use explicit jQuery import, remove unused eslint globals (go-gitea#18435) * Allow to filter repositories by language in explore, user and organization repositories lists (go-gitea#18430) * Use base32 for 2FA scratch token (go-gitea#18384) * Unexport var git.GlobalCommandArgs (go-gitea#18376) * Don't underline commit status icon on hover (go-gitea#18372) * Always use git command but not os.Command (go-gitea#18363) * Switch to non-deprecation setting (go-gitea#18358) * Set the LastModified header for raw files (go-gitea#18356) * Refactor jwt.StandardClaims to RegisteredClaims (go-gitea#18344) * Enable deprecation error for v1.17.0 (go-gitea#18341) * Refactor httplib (go-gitea#18338) * Limit max-height of CodeMirror editors for issue comment and wiki (go-gitea#18271) * Validate migration files (go-gitea#18203) * Format with gofumpt (go-gitea#18184) * Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (go-gitea#18177) * Prettify number of issues (go-gitea#17760) * Add a "admin user generate-access-token" subcommand (go-gitea#17722) * Custom regexp external issues (go-gitea#17624) * Add smtp password to install page (go-gitea#17564) * Add config options to hide issue events (go-gitea#17414) * Prevent double click new issue/pull/comment button (go-gitea#16157) * Show issue assignee on project board (go-gitea#15232) * BUGFIXES * WebAuthn CredentialID field needs to be increased in size (go-gitea#20530) (go-gitea#20555) * Ensure that all unmerged files are merged when conflict checking (go-gitea#20528) (go-gitea#20536) * Stop logging EOFs and exit(1)s in ssh handler (go-gitea#20476) (go-gitea#20529) * Add labels to two buttons that were missing them (go-gitea#20419) (go-gitea#20524) * Fix ROOT_URL detection for URLs without trailing slash (go-gitea#20502) (go-gitea#20503) * Dismiss prior pull reviews if done via web in review dismiss (go-gitea#20197) (go-gitea#20407) * Allow RSA 2047 bit keys (go-gitea#20272) (go-gitea#20396) * Add missing return for when topic isn't found (go-gitea#20351) (go-gitea#20395) * Fix commit status icon when in subdirectory (go-gitea#20285) (go-gitea#20385) * Initialize cron last (go-gitea#20373) (go-gitea#20384) * Set target on create release with existing tag (go-gitea#20381) (go-gitea#20382) * Update xorm.io/xorm to fix a interpreting db column sizes issue on 32bit systems (go-gitea#20371) (go-gitea#20372) * Make sure `repo_dir` is an empty directory or doesn't exist before 'dump-repo' (go-gitea#20205) (go-gitea#20370) * Prevent context deadline error propagation in GetCommitsInfo (go-gitea#20346) (go-gitea#20361) * Correctly handle draft releases without a tag (go-gitea#20314) (go-gitea#20335) * Prevent "empty" scrollbars on Firefox (go-gitea#20294) (go-gitea#20308) * Refactor SSH init code, fix directory creation for TrustedUserCAKeys file (go-gitea#20299) (go-gitea#20306) * Bump goldmark to v1.4.13 (go-gitea#20300) (go-gitea#20301) * Do not create empty ".ssh" directory when loading config (go-gitea#20289) (go-gitea#20298) * Fix NPE when using non-numeric (go-gitea#20277) (go-gitea#20278) * Store read access in access for team repositories (go-gitea#20275) (go-gitea#20276) * EscapeFilter the group dn membership (go-gitea#20200) (go-gitea#20254) * Only show Followers that current user can access (go-gitea#20220) (go-gitea#20252) * Update Bluemonday to v1.0.19 (go-gitea#20199) (go-gitea#20209) * Refix indices on actions table (go-gitea#20158) (go-gitea#20198) * Check if project has the same repository id with issue when assign project to issue (go-gitea#20133) (go-gitea#20188) * Fix remove file on initial comment (go-gitea#20127) (go-gitea#20128) * Catch the error before the response is processed by goth (go-gitea#20000) (go-gitea#20102) * Dashboard feed respect setting.UI.FeedPagingNum again (go-gitea#20094) (go-gitea#20099) * Alter hook_task TEXT fields to LONGTEXT (go-gitea#20038) (go-gitea#20041) * Respond with a 401 on git push when password isn't changed yet (go-gitea#20026) (go-gitea#20027) * Return 404 when tag is broken (go-gitea#20017) (go-gitea#20024) * Alter hook_task TEXT fields to LONGTEXT (go-gitea#20038) (go-gitea#20041) * Respond with a 401 on git push when password isn't changed yet (go-gitea#20026) (go-gitea#20027) * Return 404 when tag is broken (go-gitea#20017) (go-gitea#20024) * Write Commit-Graphs in RepositoryDumper (go-gitea#20004) * Use DisplayName() instead of FullName in Oauth Provider (go-gitea#19991) * Don't buffer doctor logger (go-gitea#19982) * Always try to fetch repo for mirrors (go-gitea#19975) * Uppercase first languages letters (go-gitea#19965) * Fix cli command restore-repo: "units" should be parsed as StringSlice (go-gitea#19953) * Ensure minimum mirror interval is reported on settings page (go-gitea#19895) * Exclude Archived repos from Dashboard Milestones (go-gitea#19882) * gitconfig: set safe.directory = * (go-gitea#19870) * Prevent NPE on update mirror settings (go-gitea#19864) * Only return valid stopwatches to the EventSource (go-gitea#19863) * Prevent NPE whilst migrating if there is a team request review (go-gitea#19855) * Fix inconsistency in doctor output (go-gitea#19836) * Fix release tag for webhook (go-gitea#19830) * Add title attribute to dependencies in sidebar (go-gitea#19807) * Estimate Action Count in Statistics (go-gitea#19775) * Do not update user stars numbers unless fix is specified (go-gitea#19750) * Improved ref comment link when origin is body/title (go-gitea#19741) * Fix nodeinfo caching and prevent NPE if cache non-existent (go-gitea#19721) * Fix duplicate entry error when add team member (go-gitea#19702) * Fix sending empty notifications (go-gitea#19589) * Update image URL for Discord webhook (go-gitea#19536) * Don't let repo clone URL overflow (go-gitea#19517) * Allow commit status popup on /pulls page (go-gitea#19507) * Fix two UI bugs: JS error in imagediff.js, 500 error in diff/compare.tmpl (go-gitea#19494) * Fix logging of Transfer API (go-gitea#19456) * Fix panic in teams API when requesting members (go-gitea#19360) * Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (go-gitea#19337) * An attempt to sync a non-mirror repo must give 400 (Bad Request) (go-gitea#19300) * Move checks for pulls before merge into own function (go-gitea#19271) * Fix `contrib/upgrade.sh` (go-gitea#19222) * Set the default branch for repositories generated from templates (go-gitea#19136) * Fix EasyMDE error when input Enter (go-gitea#19004) * Don't clean up hardcoded `tmp` (go-gitea#18983) * Delete related notifications on issue deletion too (go-gitea#18953) * Fix trace log to show value instead of pointers (go-gitea#18926) * Fix behavior or checkbox submission. (go-gitea#18851) * Add `ContextUser` (go-gitea#18798) * Fix some mirror bugs (go-gitea#18649) * Quote MAKE to prevent path expansion with space error (go-gitea#18622) * Preserve users if restoring a repository on the same Gitea instance (go-gitea#18604) * Fix non-ASCII search on database (go-gitea#18437) * Automatically pause queue if index service is unavailable (go-gitea#15066) * TESTING * Allow postgres integration tests to run over unix pipe (go-gitea#19875) * Prevent intermittent NPE in queue tests (go-gitea#19301) * Add test for importing pull requests in gitea uploader for migrations (go-gitea#18752) * Remove redundant comparison in repo dump/restore (go-gitea#18660) * More repo dump/restore tests, including pull requests (go-gitea#18621) * Add test coverage for original author conversion during migrations (go-gitea#18506) * TRANSLATION * Update issue_no_dependencies description (go-gitea#19112) * Refactor webhooks i18n (go-gitea#18380) * BUILD * Use alpine 3.16 (go-gitea#19797) * Require node 14.0 (go-gitea#19451) * DOCS * Update documents (git/fomantic/db, etc) (go-gitea#19868) * Update the ROOT documentation and error messages (go-gitea#19832) * Update document to use FHS `/usr/local/bin/gitea` instead of `/app/...` for Docker (go-gitea#19794) * Update documentation to disable duration settings with -1 instead of 0 (go-gitea#19647) * Add warning to set SENDMAIL_ARGS to -- (go-gitea#19102) * Update nginx reverse proxy docs (go-gitea#18922) * Add example to render html files (go-gitea#18736) * Make SSH passtrough documentation better (go-gitea#18687) * Changelog 1.16.0 & 1.15.11 (go-gitea#18468 & go-gitea#18455) (go-gitea#18470) * Update the SSH passthrough documentation (go-gitea#18366) * Add `contrib/upgrade.sh` (go-gitea#18286) * MISC * Fix aria for logo (go-gitea#19955) * In code search, get code unit accessible repos in one (main) query (go-gitea#19764) * Add tooltip to pending PR comments (go-gitea#19662) * Improve sync performance for pull-mirrors (go-gitea#19125) * Improve dashboard's repo list performance (go-gitea#18963) * Avoid database lookups for `DescriptionHTML` (go-gitea#18924) * Remove CodeMirror dependencies (go-gitea#18911) * Disable unnecessary mirroring elements (go-gitea#18527) * Disable unnecessary OpenID/OAuth2 elements (go-gitea#18491) * Disable unnecessary GitHooks elements (go-gitea#18485) * Change some logging levels (go-gitea#18421) * Prevent showing webauthn error for every time visiting `/user/settings/security` (go-gitea#18385) * Use correct translation key for errors (go-gitea#18342)
* SECURITY * Use git.HOME_PATH for Git HOME directory (go-gitea#20114) (go-gitea#20293) * Add write check for creating Commit Statuses (go-gitea#20332) (go-gitea#20333) * ENHANCEMENTS * Make notification bell more prominent on mobile (go-gitea#20108, go-gitea#20236, go-gitea#20251) (go-gitea#20269) * Adjust max-widths for the repository file table (go-gitea#20243) (go-gitea#20247) * Display full name (go-gitea#20171) (go-gitea#20246) * BUGFIXES * Allow RSA 2047 bit keys (go-gitea#20272) (go-gitea#20396) * Add missing return for when topic isn't found (go-gitea#20351) (go-gitea#20395) * Fix commit status icon when in subdirectory (go-gitea#20285) (go-gitea#20385) * Initialize cron last (go-gitea#20373) (go-gitea#20384) * Set target on create release with existing tag (go-gitea#20381) (go-gitea#20382) * Update xorm.io/xorm to fix a interpreting db column sizes issue on 32bit systems (go-gitea#20371) (go-gitea#20372) * Make sure `repo_dir` is an empty directory or doesn't exist before 'dump-repo' (go-gitea#20205) (go-gitea#20370) * Prevent context deadline error propagation in GetCommitsInfo (go-gitea#20346) (go-gitea#20361) * Correctly handle draft releases without a tag (go-gitea#20314) (go-gitea#20335) * Prevent "empty" scrollbars on Firefox (go-gitea#20294) (go-gitea#20308) * Refactor SSH init code, fix directory creation for TrustedUserCAKeys file (go-gitea#20299) (go-gitea#20306) * Bump goldmark to v1.4.13 (go-gitea#20300) (go-gitea#20301) * Do not create empty ".ssh" directory when loading config (go-gitea#20289) (go-gitea#20298) * Fix NPE when using non-numeric (go-gitea#20277) (go-gitea#20278) * Store read access in access for team repositories (go-gitea#20275) (go-gitea#20276) * EscapeFilter the group dn membership (go-gitea#20200) (go-gitea#20254) * Only show Followers that current user can access (go-gitea#20220) (go-gitea#20252) * Update Bluemonday to v1.0.19 (go-gitea#20199) (go-gitea#20209) * Refix indices on actions table (go-gitea#20158) (go-gitea#20198) * Check if project has the same repository id with issue when assign project to issue (go-gitea#20133) (go-gitea#20188) * Fix remove file on initial comment (go-gitea#20127) (go-gitea#20128) * Catch the error before the response is processed by goth (go-gitea#20000) (go-gitea#20102) * Dashboard feed respect setting.UI.FeedPagingNum again (go-gitea#20094) (go-gitea#20099) * Alter hook_task TEXT fields to LONGTEXT (go-gitea#20038) (go-gitea#20041) * Respond with a 401 on git push when password isn't changed yet (go-gitea#20026) (go-gitea#20027) * Return 404 when tag is broken (go-gitea#20017) (go-gitea#20024)
v1.17.0-rc1 * BREAKING * Require go1.18 for Gitea 1.17 (go-gitea#19918) * Make AppDataPath absolute against the AppWorkPath if it is not (go-gitea#19815) * Nuke the incorrect permission report on /api/v1/notifications (go-gitea#19761) * Refactor git module, make Gitea use internal git config (go-gitea#19732) * Remove `RequireHighlightJS` field, update plantuml example. (go-gitea#19615) * Increase minimal required git version to 2.0 (go-gitea#19577) * Add a directory prefix `gitea-src-VERSION` to release-tar-file (go-gitea#19396) * Use "main" as default branch name (go-gitea#19354) * Make cron task no notice on success (go-gitea#19221) * Add pam account authorization check (go-gitea#19040) * Show messages for users if the ROOT_URL is wrong, show JavaScript errors (go-gitea#18971) * Refactor mirror code & fix StartToMirror (go-gitea#18904) * Remove deprecated SSH ciphers from default (go-gitea#18697) * Add the possibility to allow the user to have a favicon which differs from the main logo (go-gitea#18542) * Update reserved usernames list (go-gitea#18438) * Support custom ACME provider (go-gitea#18340) * Change initial TrustModel to committer (go-gitea#18335) * Update HTTP status codes (go-gitea#18063) * Upgrade Alpine from 3.13 to 3.15 (go-gitea#18050) * Restrict email address validation (go-gitea#17688) * Refactor Router Logger (go-gitea#17308) * SECURITY * Remove deprecated SSH ciphers from default (go-gitea#18697) * FEDERATION * Return statistic information for nodeinfo (go-gitea#19561) * Add Webfinger endpoint (go-gitea#19462) * Store the foreign ID of issues during migration (go-gitea#18446) * FEATURES * Automatically render wiki TOC (go-gitea#19873) * Adding button to link accounts from user settings (go-gitea#19792) * Allow set default merge style while creating repo (go-gitea#19751) * Auto merge pull requests when all checks succeeded (go-gitea#9307 & go-gitea#19648) * Improve reviewing PR UX (go-gitea#19612) * Add support for rendering console output with colors (go-gitea#19497) * Add Helm Chart registry (go-gitea#19406) * Add Goroutine stack inspector to admin/monitor (go-gitea#19207) * RSS/Atom support for Orgs & Repos (go-gitea#17714 & go-gitea#19055) * Add button for issue deletion (go-gitea#19032) * Allow to mark files in a PR as viewed (go-gitea#19007) * Add Index to comment for migrations and mirroring (go-gitea#18806) * Add health check endpoint (go-gitea#18465) * Add packagist webhook (go-gitea#18224) * Add "Allow edits from maintainer" feature (go-gitea#18002) * Add apply-patch, basic revert and cherry-pick functionality (go-gitea#17902) * Add Package Registry (go-gitea#16510) * Add LDAP group sync to Teams (go-gitea#16299) * Pause queues (go-gitea#15928) * Added auto-save whitespace behavior if it changed manually (go-gitea#15566) * Find files in repo (go-gitea#15028) * Provide configuration to allow camo-media proxying (go-gitea#12802) * API * Add endpoint to serve blob or LFS file content (go-gitea#19689) * Add endpoint to check if team has repo access (go-gitea#19540) * More commit info (go-gitea#19252) * Allow to create file on empty repo (go-gitea#19224) * Allow removing issues (go-gitea#18879) * Add endpoint to query collaborators permission for a repository (go-gitea#18761) * Return primary language and repository language stats API URL (go-gitea#18396) * Implement http signatures support for the API (go-gitea#17565) * ENHANCEMENTS * Add dbconsistency checks for Stopwatches (go-gitea#20010) * Add fetch.writeCommitGraph to gitconfig (go-gitea#20006) * Add fgprof pprof profiler (go-gitea#20005) * Move agit dependency (go-gitea#19998) * Empty log queue on flush and close (go-gitea#19994) * Remove tab/TabName usage where it's not needed (go-gitea#19973) * Improve file header on mobile (go-gitea#19945) * Move issues related files into models/issues (go-gitea#19931) * Add breaking email restrictions checker in doctor (go-gitea#19903) * Improve UX on modal for deleting an access token (go-gitea#19894) * Add alt text to logo (go-gitea#19892) * Move some code into models/git (go-gitea#19879) * Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (go-gitea#19861) * Make user profile image show full image on mobile (go-gitea#19840) * Replace blue button and label classes with primary (go-gitea#19763) * Remove fomantic progress module (go-gitea#19760) * Allows repo search to match against "owner/repo" pattern strings (go-gitea#19754) * Move org functions (go-gitea#19753) * Move almost all functions' parameter db.Engine to context.Context (go-gitea#19748) * Show source/target branches on PR's list (go-gitea#19747) * Use http.StatusTemporaryRedirect(307) when serve avatar directly (go-gitea#19739) * Add doctor orphan check for orphaned pull requests without an existing base repo (go-gitea#19731) * Make Ctrl+Enter (quick submit) work for issue comment and wiki editor (go-gitea#19729) * Update go-chi/cache to utilize Ping() (go-gitea#19719) * Improve commit list/view on mobile (go-gitea#19712) * Move some repository related code into sub package (go-gitea#19711) * Use a better OlderThan for DeleteInactiveUsers (go-gitea#19693) * Introduce eslint-plugin-jquery (go-gitea#19690) * Tidy up `<head>` template (go-gitea#19678) * Calculate filename hash only once (go-gitea#19654) * Simplify `IsVendor` (go-gitea#19626) * Add "Reference" section to Issue view sidebar (go-gitea#19609) * Only set CanColorStdout / CanColorStderr to true if the stdout/stderr is a terminal (go-gitea#19581) * Use for a repo action one database transaction (go-gitea#19576) * Simplify loops to copy (go-gitea#19569) * Added X-Mailer header to outgoing emails (go-gitea#19562) * use middleware to open gitRepo (go-gitea#19559) * Mute link in diff header (go-gitea#19556) * Improve UI on mobile (go-gitea#19546) * Fix Pull Request comment filename word breaks (go-gitea#19535) * Permalink files In PR diff (go-gitea#19534) * PullService lock via pullID (go-gitea#19520) * Make repository file list useable on mobile (go-gitea#19515) * more context for models (go-gitea#19511) * Allow package dump skipping (go-gitea#19506) * Refactor readme file renderer (go-gitea#19502) * By default force vertical tabs on mobile (go-gitea#19486) * Github style following followers (go-gitea#19482) * Improve action table indices (go-gitea#19472) * Use horizontal tabs for repo header on mobile (go-gitea#19468) * pass gitRepo down since its used for main repo and wiki (go-gitea#19461) * Admin should not delete himself (go-gitea#19423) * Use queue instead of memory queue in webhook send service (go-gitea#19390) * Simplify the code to get issue count (go-gitea#19380) * Add commit status popup to issuelist (go-gitea#19375) * Add RSS Feed buttons to Repo, User and Org pages (go-gitea#19370) * Add logic to switch between source/rendered on Markdown (go-gitea#19356) * Move some helper files out of models (go-gitea#19355) * Move access and repo permission to models/perm/access (go-gitea#19350) * Disallow selecting the text of buttons (go-gitea#19330) * Allow custom redirect for landing page (go-gitea#19324) * Repository level enable package or disable (go-gitea#19323) * Remove dependent on session auth for api/v1 routers (go-gitea#19321) * Never use /api/v1 from Gitea UI Pages (go-gitea#19318) * Remove legacy unmaintained packages, refactor to support change default locale (go-gitea#19308) * Move milestone to models/issues/ (go-gitea#19278) * Configure OpenSSH log level via Environment in Docker (go-gitea#19274) * Move reaction to models/issues/ (go-gitea#19264) * Make git.OpenRepository accept Context (go-gitea#19260) * Move some issue methods as functions (go-gitea#19255) * Show last cron messages on monitor page (go-gitea#19223) * New cron task: delete old system notices (go-gitea#19219) * Add Redis Sentinel Authentication Support (go-gitea#19213) * Add auto logging of goroutine pid label (go-gitea#19212) * Set OpenGraph title to DisplayName in profile pages (go-gitea#19206) * Add pprof labels in processes and for lifecycles (go-gitea#19202) * Let web and API routes have different auth methods group (go-gitea#19168) * Move init repository related functions to modules (go-gitea#19159) * Feeds: render markdown to html (go-gitea#19058) * Allow users to self-request a PR review (go-gitea#19030) * Allow render HTML with css/js external links (go-gitea#19017) * Fix script compatiable with OpenWrt (go-gitea#19000) * Support ignore all santize for external renderer (go-gitea#18984) * Add note to GPG key response if user has no keys (go-gitea#18961) * Improve Stopwatch behavior (go-gitea#18930) * Improve mirror iterator (go-gitea#18928) * Uncapitalize errors (go-gitea#18915) * Prevent Stats Indexer reporting error if repo dir missing (go-gitea#18870) * Refactor SecToTime() function (go-gitea#18863) * Replace deprecated String.prototype.substr() with String.prototype.slice() (go-gitea#18796) * Move deletebeans into models/db (go-gitea#18781) * Fix display time of milestones (go-gitea#18753) * Add config option to disable "Update branch by rebase" (go-gitea#18745) * Display template path of current page in dev mode (go-gitea#18717) * Add number in queue status to monitor page (go-gitea#18712) * Change git.cmd to RunWithContext (go-gitea#18693) * Refactor i18n, use Locale to provide i18n/translation related functions (go-gitea#18648) * Delete old git.NewCommand() and use it as git.NewCommandContext() (go-gitea#18552) * Move organization related structs into sub package (go-gitea#18518) * Warn at startup if the provided `SCRIPT_TYPE` is not on the PATH (go-gitea#18467) * Use `CryptoRandomBytes` instead of `CryptoRandomString` (go-gitea#18439) * Use explicit jQuery import, remove unused eslint globals (go-gitea#18435) * Allow to filter repositories by language in explore, user and organization repositories lists (go-gitea#18430) * Use base32 for 2FA scratch token (go-gitea#18384) * Unexport var git.GlobalCommandArgs (go-gitea#18376) * Don't underline commit status icon on hover (go-gitea#18372) * Always use git command but not os.Command (go-gitea#18363) * Switch to non-deprecation setting (go-gitea#18358) * Set the LastModified header for raw files (go-gitea#18356) * Refactor jwt.StandardClaims to RegisteredClaims (go-gitea#18344) * Enable deprecation error for v1.17.0 (go-gitea#18341) * Refactor httplib (go-gitea#18338) * Limit max-height of CodeMirror editors for issue comment and wiki (go-gitea#18271) * Validate migration files (go-gitea#18203) * Format with gofumpt (go-gitea#18184) * Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (go-gitea#18177) * Prettify number of issues (go-gitea#17760) * Add a "admin user generate-access-token" subcommand (go-gitea#17722) * Move project files into models/project sub package (go-gitea#17704) * Custom regexp external issues (go-gitea#17624) * Add smtp password to install page (go-gitea#17564) * Add config options to hide issue events (go-gitea#17414) * Prevent double click new issue/pull/comment button (go-gitea#16157) * Show issue assignee on project board (go-gitea#15232) * BUGFIXES * Alter hook_task TEXT fields to LONGTEXT (go-gitea#20038) (go-gitea#20041) * Respond with a 401 on git push when password isn't changed yet (go-gitea#20026) (go-gitea#20027) * Return 404 when tag is broken (go-gitea#20017) (go-gitea#20024) * Write Commit-Graphs in RepositoryDumper (go-gitea#20004) * Use DisplayName() instead of FullName in Oauth Provider (go-gitea#19991) * Don't buffer doctor logger (go-gitea#19982) * Always try to fetch repo for mirrors (go-gitea#19975) * Uppercase first languages letters (go-gitea#19965) * Fix cli command restore-repo: "units" should be parsed as StringSlice (go-gitea#19953) * Ensure minimum mirror interval is reported on settings page (go-gitea#19895) * Exclude Archived repos from Dashboard Milestones (go-gitea#19882) * gitconfig: set safe.directory = * (go-gitea#19870) * Prevent NPE on update mirror settings (go-gitea#19864) * Only return valid stopwatches to the EventSource (go-gitea#19863) * Prevent NPE whilst migrating if there is a team request review (go-gitea#19855) * Fix inconsistency in doctor output (go-gitea#19836) * Fix release tag for webhook (go-gitea#19830) * Add title attribute to dependencies in sidebar (go-gitea#19807) * Estimate Action Count in Statistics (go-gitea#19775) * Do not update user stars numbers unless fix is specified (go-gitea#19750) * Improved ref comment link when origin is body/title (go-gitea#19741) * Fix nodeinfo caching and prevent NPE if cache non-existent (go-gitea#19721) * Fix duplicate entry error when add team member (go-gitea#19702) * Fix sending empty notifications (go-gitea#19589) * Update image URL for Discord webhook (go-gitea#19536) * Don't let repo clone URL overflow (go-gitea#19517) * Allow commit status popup on /pulls page (go-gitea#19507) * Fix two UI bugs: JS error in imagediff.js, 500 error in diff/compare.tmpl (go-gitea#19494) * Fix logging of Transfer API (go-gitea#19456) * Fix panic in teams API when requesting members (go-gitea#19360) * Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (go-gitea#19337) * An attempt to sync a non-mirror repo must give 400 (Bad Request) (go-gitea#19300) * Move checks for pulls before merge into own function (go-gitea#19271) * Fix `contrib/upgrade.sh` (go-gitea#19222) * Set the default branch for repositories generated from templates (go-gitea#19136) * Fix EasyMDE error when input Enter (go-gitea#19004) * Don't clean up hardcoded `tmp` (go-gitea#18983) * Delete related notifications on issue deletion too (go-gitea#18953) * Fix trace log to show value instead of pointers (go-gitea#18926) * Fix behavior or checkbox submission. (go-gitea#18851) * Add `ContextUser` (go-gitea#18798) * Fix some mirror bugs (go-gitea#18649) * Quote MAKE to prevent path expansion with space error (go-gitea#18622) * Preserve users if restoring a repository on the same Gitea instance (go-gitea#18604) * Fix non-ASCII search on database (go-gitea#18437) * Automatically pause queue if index service is unavailable (go-gitea#15066) * TESTING * Allow postgres integration tests to run over unix pipe (go-gitea#19875) * Prevent intermittent NPE in queue tests (go-gitea#19301) * Add test for importing pull requests in gitea uploader for migrations (go-gitea#18752) * Remove redundant comparison in repo dump/restore (go-gitea#18660) * More repo dump/restore tests, including pull requests (go-gitea#18621) * Add test coverage for original author conversion during migrations (go-gitea#18506) * TRANSLATION * Update issue_no_dependencies description (go-gitea#19112) * Refactor webhooks i18n (go-gitea#18380) * BUILD * Use alpine 3.16 (go-gitea#19797) * Require node 14.0 (go-gitea#19451) * DOCS * Update documents (git/fomantic/db, etc) (go-gitea#19868) * Update the ROOT documentation and error messages (go-gitea#19832) * Update document to use FHS `/usr/local/bin/gitea` instead of `/app/...` for Docker (go-gitea#19794) * Update documentation to disable duration settings with -1 instead of 0 (go-gitea#19647) * Add warning to set SENDMAIL_ARGS to -- (go-gitea#19102) * Update nginx reverse proxy docs (go-gitea#18922) * Add example to render html files (go-gitea#18736) * Make SSH passtrough documentation better (go-gitea#18687) * Changelog 1.16.0 & 1.15.11 (go-gitea#18468 & go-gitea#18455) (go-gitea#18470) * Update the SSH passthrough documentation (go-gitea#18366) * Add `contrib/upgrade.sh` (go-gitea#18286) * MISC * Fix aria for logo (go-gitea#19955) * In code search, get code unit accessible repos in one (main) query (go-gitea#19764) * Enable packages by default again (go-gitea#19746) * Add tooltip to pending PR comments (go-gitea#19662) * Improve sync performance for pull-mirrors (go-gitea#19125) * Improve dashboard's repo list performance (go-gitea#18963) * Avoid database lookups for `DescriptionHTML` (go-gitea#18924) * Remove CodeMirror dependencies (go-gitea#18911) * Disable unnecessary mirroring elements (go-gitea#18527) * Disable unnecessary OpenID/OAuth2 elements (go-gitea#18491) * Disable unnecessary GitHooks elements (go-gitea#18485) * Change some logging levels (go-gitea#18421) * Prevent showing webauthn error for every time visiting `/user/settings/security` (go-gitea#18385) * Use correct translation key for errors (go-gitea#18342)
PreviousNext