Release of 1.3.0

Wed Nov 29, 2017 by lafriks

We proudly present that we have released the fourth big version of Gitea v1.3.0. We have merged 314 pull requests to release this version. You can download one of our pre-built binaries from our downloads page, you just need to select the correct platform. For further details of the installation follow our installation guide.

There is one breaking change in URL scheme for code tab that is now changed to be less ambiguous while still keeping backwards comaptibility by redirecting old links to new scheme. This release adds new features such as Branch overview page, Activity page with latest issue and pull request stats, Time tracking for issues and pull requests, Option to specify branch when creating issue, Creating new branch from branch selection dropdown, List of all repositories under user settings, Orgmode and external renderer support for file view and readme, More webhooks and also experimantal repository source code search (be warned that it’s possible to enable it only for all repositories and it could take as much as 5 times more disk space than repisotries itself). Also there are a lot of bugs fixed in this release cycle. We are working hard already to get next version v1.4.0 released as soon as possible!

Changelog

  • BREAKING
    • Make URL scheme unambiguous (#2408)
  • FEATURE
    • Add branch overiew page (#2108)
    • Code/repo search (#2582)
    • Add Activity page to repository (#2674)
    • Issue Timetracking (#2211)
    • Add orgmode document type on file view and readme (#2525)
    • Add external markup render support (#2570)
    • Implementation of discord webhook (#2402)
    • Webhooks for repo creation/deletion (#1663)
    • Complete push webhooks (#2530)
    • Add possibility to record branch information in an issue (#780)
    • Create new branch from branch selection dropdown (#2130)
    • Implementation of all repositories of a user from user->settings (#1740)
    • Add LFS object verification step after upload (#2868)
    • Configurable SSH cipher suite (#913)
    • Disable custom Git Hooks globally via configuration file (#2450)
    • Sync releases table with tags on push and for mirrors (#2459)
  • BUGFIXES
    • Fix label comments for French locale (#3017)
    • Remove duplicate “Max Diff Lines” from config view (#3001)
    • Fix over-escaped characters (#2992)
    • Fix go-get, src and raw urls to new scheme (#2986)
    • Fix error when add user has full name to team (#2975)
    • Fix files/commits of merged PRs (#2970)
    • Update golang x/crypto dependencies - Fix SSH transport fail (#2951)
    • Fix memcache support when value is returned as string always (#2950)
    • Fix issue link rendering in commit messages (#2897)
    • Fix adding a new authentication source after selecting OAuth (#2889)
    • Fix new branch creation to new url scheme (#2884)
    • Allow spaces in username for LDAP users (#2880)
    • Fix LFS not returning correct content length when requesting a range … (#2864)
    • Fix fork repository cycle to self (#2860)
    • Fix click create pull request button 404 (#2859)
    • Fix API raw file content access for default branch (#2849)
    • Clean repository ROOT directory name with filepath.Clean (#2846)
    • Fix API raw requests for commits and tags (#2841)
    • Fix order of comments (#2835)
    • Issue content should not be updated when closing with comment (#2833)
    • Fix ordering in app.ini and fix run mode option (#2829)
    • Fix redirect url of legacy commits route (#2825)
    • Fix commits page url (#2823)
    • Fix wrong translations (#2818)
    • Fix dropdown menu position when explore repos (#2808)
    • Fix Git LFS object/repo link storage in database and small refactoring (#2803)
    • Use relative URLs for avatars on the dashboard (#2800)
    • Add checks for commits with missing author and time (#2771)
    • Fix emojify image URL (#2769)
    • Hide unactive on explore users and some refactors (#2741)
    • Fix IE unsupported javascript construction in branch dropdown (#2736)
    • Only update mirror last update after successful sync (#2730)
    • Fix semantic-ui style conflict with v-cloak (#2722)
    • Fixing wrong translation on sort type oldest/latest (#2720)
    • Fix PR, milestone and label functionality if issue unit is disabled (#2710)
    • Fix plain readme didn’t render correctly on repo home page (#2705)
    • Fix organization removal from watch table migration (#2703)
    • Fix repository search function (#2689)
    • fix panic on gogs webhook creation (#2675)
    • Fix orgnization user watch repository (#2670)
    • GPG key email verification no longer case sensitive (#2661) (#2663)
    • Fix index column deletion (#2651)
    • table pull_request wasn’t updated correctly (#2649)
    • Fix go get response if only app URL is custom in configuration (#2634)
    • Fix doubled issue tab introduced in migration v16 (#2611)
    • Rewrite migrations to not depend on future code changes (#2604)
    • Fix implementation of repo Home func (#2601)
    • Fix translation upload to crowdin (#2599)
    • Reduce usage of allcols on update (#2596)
    • fix go get subpackage bug (#2584)
    • Fix broken migration to add can_push field back to table (#2574)
    • fix readme view bug (#2566)
    • Fix sending mail with a non-latin display name. #2102 (#2559)
    • Restricting access to fork functioanlity to users with Code access (#2534)
    • fix updated update on public key (#2514)
    • Added bucket name to s3 drone plugin (#2505)
    • fixes 500 error on dashboard when using MSSQL (#2504)
    • fix wrong rendering of commit detail page (#2503)
    • Hotfix: Add time manually adds time in nanoseconds (#2499)
    • Remove repository mirrors from “collaborative” list (#2497)
    • fix release failed since the wrong token name (#2496)
    • Fix slice out of bounds error in mailer (#2479)
    • Fix #2470 (#2477)
    • fix orgnization webhooks (#2422)
    • fix webhook test (#2415)
    • fix missing orgnization discord webhook (#2414)
    • Fix route handler order (#2409)
    • Prevent sending emails and notifications to inactive users (#2384)
    • Move themes to plugin directory. Fixes #2372 (#2375)
    • fix duplicated feed (#2370)
    • Fix missing collabrative repos (#2367)
    • Only check at least one email gpg key (#2266)
    • don’t check minimum key size when disabled (#1754)
    • Fix run command race (#1470)
    • fix .netrc authentication (#2700)
    • Fix so that user can still fork his own repository to his organizations (#2699)
    • Fix can_push value to false in protected_branch (#2560)
    • Fix copy in email templates (#2801)
    • Fix inconsistencies in user settings UI (#2901)
    • Fix attachments icon size on zoom in/out (#2853)
    • Fix ignored errors in API route (#2850)
    • Fix activity css conflit with semantic ui (#2758)
    • Fix notifications tabs according to semantic-ui docs (#2733)
    • Fix typos in app.ini (#2732)
    • Fix duplicated rel attribute (#2549)
    • Fix tests code to prevent some runtime errors (#2381)
  • ENHANCEMENT
    • Memory usage improvements and lower minimal git requirement to 1.7.2 (#3013) (#3028)
    • Set OpenID support on by default when installing new instance (#3010) (#3027)
    • Use api.TrackedTime in API (#2807)
    • Configurable SSH key exchange algorithm and MAC suite (#2806)
    • Add Safari pinned tab icon (#2799)
    • Improve force push detect when push (#2798)
    • Add wrapping to long diff lines (#2789)
    • Link members and repositories count to each page on org home. (#2787)
    • Show Sendmail settings on admin config page (#2782)
    • Add commit count caching (#2774)
    • Use identicon image for default gravatar. (#2767)
    • Add default ssh ciphers (#2761)
    • Remove manual of unsupported option (#2757)
    • Add search mode option to /api/repo/search (#2756)
    • Move swagger-ui under /api/v1 (#2746)
    • Add support for extra sendmail arguments (#2731)
    • Use buffersize to reduce database connection when iterate (#2724)
    • Render plain text README.txt monospaced (#2721)
    • Integration test for activity page (#2704)
    • Merge password and 2fa page on user settings (#2695)
    • Allow custom SSH user in UI for built-in SSH server (#2617) (#2678)
    • Refactor duplicated code in repo handlers (#2657)
    • Replace deprecated Id method with ID (#2655)
    • Remove redudant functions and code (#2652)
    • hide navbar when only 1 sign-in method is available (#2444) (#2648)
    • Change default sort order (#2647)
    • Change pull description text (#2075) (#2646)
    • Remove direct user adding to organization members (#2641)
    • Use session when creating user (#2638)
    • Use Semantic UI’s Search component for user and repo search (#2636)
    • Use AfterLoad instead of AfterSet on Structs (#2628)
    • Remove redudant CheckUnit calls in router (#2627)
    • Remove repo unit index (#2621)
    • Remove redudant issue LoadAttributes() calls (#2614)
    • Make indexer code more reusable (#2590)
    • Use custom type and constants to hold available order by options (#2572)
    • Use named ActionType constants in template helper (#2545)
    • Make basic functionality work without JavaScript (#2541)
    • Ctrl + Enter to submit forms (#2540)
    • Automatically regenerate indexer for incompatible versions (#2524)
    • Set default lfs content path to data/lfs (#2521)
    • Convert spaces to tabs in footer.tmpl (#2520)
    • Sort repository tree entries in natural way (#2506)
    • Open external wiki in new window (#2489)
    • Use created & updated instead BeforeInsert & BeforeUpdate (#2482)
    • Hide branch on pull request view or create UI (#2454)
    • improve protected branch to add whitelist support (#2451)
    • some refactors for issue and comments (#2419)
    • Restructure markup & markdown to prepare for multiple markup language… (#2411)
    • Improve issue search (#2387)
    • Add UseCompatSSHURI setting (#2356)
    • Use custom search for each filter type in dashboard (#2343)
    • Failed authentication are now properly logged (#2334)
    • Add environment variable support for Docker image (#2201)
    • Set session and indexers’ data files rel to AppDataPath (#2192)
    • Display commit status on landing page of repo (#1784)
  • TESTING
    • Add integration test for logging out (#2892)
    • Integration test for user deleting account (#2891)
    • Use different directories for session files in integration tests (#2834)
    • Add deleted_branch table fixture (#2832)
    • Include HTTP method in test error message (#2815)
    • Add repository search unit and integration tests (#2575)
    • Expand fixtures (#2571)
    • Fix /api/repo/search integration tests (#2550)
    • Make integration tests more user-friendly (#2536)
    • Fix unit test race condition (#2516)
    • Add missing fixture to clean gpg_key table (#2494)
    • Hotfix for integration testing (#2473)
    • Make repo private to not interfere with other tests (#2467)
    • Error message for integration test (#2410)
    • Fix “index out of range” runtime error in repo_list tests (#2376)
    • Add git clone test on integration test (#1682)
  • TRANSLATION
    • Fix localization texts that contain semicolon (#2900)
    • Fix activity locale (#2709)
    • Update translation from crowdin (#2368)
  • BUILD
    • change the email and name to GitBot account. (#2848)
    • Fix removing backslash before quotes in translations (#2831)
    • add gitea remote in drone. (#2817)
    • add remote name for git push. (#2816)
    • Launch Gitea with custom UID/GID for ‘git’ user (fixes #2286) (#2791)
    • Download and pushing translations (#2727)
    • Automatic update of translations (#2585)
    • Add pre-build step for nodejs stuff (#2581)
    • Compress css with nodejs (#2580)
    • Remove go version check for make fmt (#2558)
    • Fix lint errors (#2547)
    • Always run fmt check in CI (#2546)
    • Fix fmt errors (#2544)
    • add codecov.io service. (#2493)
    • Fix some tests : make coverage -> test (#2492)
    • Fix fmt error in mailer (#2490)
    • Allow changing integration test database connection using env variables (#2484)
    • Add changelog config file for generate changelog (#2461)
    • Changes for latest DroneCI (#2362)
    • Use standard lessc and minify CSS using Node.js (#2337)
  • DOCS
    • Update screenshots on README (#2910)
    • Gogs -> Gitea (#2909)
    • Update swagger documentation (#2899)
    • Fix typo (#2810)
    • Fix Polish language name spelling (#2766)
    • Fix Various Grammar Issues and Adjust Unnatural Wording (#2737)
    • Add maintainer label for docker file (#2658)
    • Link to gitea-specific Vagrant example (#2624)
    • add release notes of v1.1.4 (#2463)
    • Wrap most paragraphs to 80 columns (#2396)
    • Update CONTRIBUTING following #2329 discussion (#2394)
    • Update hard-coded version to 1.3.0+dev (#2390)
    • Clarify Translation Process. Also fix branch names (#2378)
    • Admin grammar fixes and improvements (#2056)
  • MISC
    • Sync MaxGitDiffLineCharacters with conf/app.ini (#2779)
    • Dockerfile: Updated alpine image to 3.6. (#2486)
    • Basic VSCode configuration for building and debugging (#2483)
    • Added vendor dir for js/css libs; Documented sources (#1484) (#2241)