Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve users management through the CLI (#6001) #10492

Merged
merged 556 commits into from
Oct 16, 2020
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 31, 2020

  1. Fix images in wiki edit preview (go-gitea#11546)

    Make sure wiki editor sets wiki to true so gitea renders it as a wiki page.
    
    Also change the context data attr for edit form. This looks wrong but everywhere else in our code assumes the urlPrefix to be just the repo url when rendering and manually adds /wiki to the rendered url regardless.
    
    Fixes go-gitea#11540
    mrsdizzie authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    9aebef4 View commit details
    Browse the repository at this point in the history
  2. Prevent empty query parameter being set on dashboard (go-gitea#11561)

    Prevent the dashboard from setting an empty query parameter
    
    Fix go-gitea#11543
    
    Signed-off-by: Andrew Thornton [email protected]
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    399fe30 View commit details
    Browse the repository at this point in the history
  3. Fix wrong milestone in webhook message (go-gitea#11596)

    Fixes go-gitea#11295
    
    Signed-off-by: Gary Kim [email protected]
    gary-kim authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    2dde170 View commit details
    Browse the repository at this point in the history
  4. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    9f2f938 View commit details
    Browse the repository at this point in the history
  5. When initialising repositories ensure that the user doing the creatio…

    …n is the initializer (go-gitea#11601)
    
    Fix go-gitea#10760
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    bc09785 View commit details
    Browse the repository at this point in the history
  6. Fix inconsistent font size for markdown preview on new PR view (go-gi…

    …tea#11565)
    
    We use same method for new issue form and issue view, but was missing from new PR view making it one place where markdown preview is inconsistent in font size.
    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ec4676c View commit details
    Browse the repository at this point in the history
  7. Add chocolatey package install instructions (go-gitea#11586)

    * Update from-package.en-us.md
    
    go-gitea#10800
    
    * Update docs/content/doc/installation/from-package.en-us.md
    
    Co-authored-by: zeripath <[email protected]>
    
    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    3f5719b View commit details
    Browse the repository at this point in the history
  8. Do not show avatar for "{{user}} added X commits" (go-gitea#11591)

    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    30d58ec View commit details
    Browse the repository at this point in the history
  9. Add warning to mailer documentation about authentication (go-gitea#11563

    )
    
    * Add warning to mailer documentation about authentication
    
    References go-gitea#7966
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * As per @guillep2k and @mrsdizzie
    
    * as per @mrsdizzie
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: guillep2k <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b0e5c72 View commit details
    Browse the repository at this point in the history
  10. Fix margin for attached top header on code review (go-gitea#11571)

    Introduced naively by go-gitea#11463
    
    The margin was being applied too widely.
    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    93cfec8 View commit details
    Browse the repository at this point in the history
  11. Fix margin on PR form (go-gitea#11566)

    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    d63db47 View commit details
    Browse the repository at this point in the history
  12. Right-align status icon on pull request commit history (go-gitea#11594)

    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    969e612 View commit details
    Browse the repository at this point in the history
  13. Style code review comment for arc-green (go-gitea#11572)

    * Style code review comment for arc-green
    
    * change border around review for light; update border around textarea to match go-gitea#11570
    
    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    df51c5d View commit details
    Browse the repository at this point in the history
  14. Fix styling for PR merge section when no checks (go-gitea#11609)

    Makes styling consistent between two cases. Also removed unnecessary double border.
    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    cae8954 View commit details
    Browse the repository at this point in the history
  15. Make issues.force_push_codes message shorter (go-gitea#11575)

    Also removes stray dot and whitespace.
    
    Trying to make base message shorter; I don't envy translators, the message can easily get multi-line in English, I'm sure that is even bigger problem in other languages.
    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    446c73c View commit details
    Browse the repository at this point in the history
  16. Fix missing styling for shabox on PR commit history (go-gitea#11625)

    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6c777d5 View commit details
    Browse the repository at this point in the history
  17. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    082df4c View commit details
    Browse the repository at this point in the history
  18. Apply padding to approval icons on PR list (go-gitea#11622)

    Co-authored-by: techknowlogick <[email protected]>
    Co-authored-by: zeripath <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a5156f5 View commit details
    Browse the repository at this point in the history
  19. Fix numbr of files, total additions, and deletions (go-gitea#11614)

    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a751389 View commit details
    Browse the repository at this point in the history
  20. Add link to owners election tickets, reorder to most-recent first (go…

    strk authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6ddfb0b View commit details
    Browse the repository at this point in the history
  21. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    1d7f57d View commit details
    Browse the repository at this point in the history
  22. When must change password only show Signout (go-gitea#11600)

    When "Must Change Password" simplify the navbar header to only show the
    signout button as all other links will redirect back. This prevents the
    notifications icon from showing preventing initialization of the
    event-source and hence preventing redirect_to being set, however in
    addition do not set the redirect_to cookie if we are looking at the
    /user/events page.
    
    Fix go-gitea#11554
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    18c335f View commit details
    Browse the repository at this point in the history
  23. Fix alignment for commits on dashboard (go-gitea#11595)

    Fix alignment issue between commit SHA and commit message
    mrsdizzie authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    83dc522 View commit details
    Browse the repository at this point in the history
  24. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    3f7272f View commit details
    Browse the repository at this point in the history
  25. Use -1 to disable key algorithm type in ssh.minimum_key_sizes (go-git…

    …ea#11635)
    
    Fix go-gitea#11634
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ee1d1a7 View commit details
    Browse the repository at this point in the history
  26. Return json on 500 error from API (go-gitea#11574)

    * add API specific InternalServerError()
    
    Co-authored-by: zeripath <[email protected]>
    
    * return 500 error msg only if not Production mode
    
    * Revert "return 500 error msg only if not Production mode"
    
    This reverts commit 8467b2c.
    
    * InternalServerError
    
    Co-authored-by: zeripath <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6a01886 View commit details
    Browse the repository at this point in the history
  27. Handle expected errors in AddGPGkey API (go-gitea#11644)

    * handle GPG Parse & Email Errors
    
    * correct TEST
    
    * update Swagger
    
    * more Docu
    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    580be49 View commit details
    Browse the repository at this point in the history
  28. Add debug option to hooks (go-gitea#11624)

    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    371ee8a View commit details
    Browse the repository at this point in the history
  29. Default MSSQL port 0 to allow automatic detection by default (go-gite…

    …a#11642)
    
    Fix go-gitea#11633
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6ac6461 View commit details
    Browse the repository at this point in the history
  30. Exclude generated files from language statistics (go-gitea#11653)

    * Update go-enry to v2.5.2
    lafriks authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b696fee View commit details
    Browse the repository at this point in the history
  31. translate: Change translate for admin.config.enable_captcha (go-gitea…

    …#11657)
    
    * translate: Change translate for admin.config.enable_captcha
    
    add 'register' to make it more accurate
    
    Signed-off-by: a1012112796 <[email protected]>
    
    * Update options/locale/locale_en-US.ini
    
    Co-authored-by: Cirno the Strongest <[email protected]>
    
    Co-authored-by: Cirno the Strongest <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    9fd31d2 View commit details
    Browse the repository at this point in the history
  32. Doctor check & fix db consistency (go-gitea#11111)

    needed to fix issue as described in go-gitea#10280
    
    * rename check-db to check-db-version
    * add check-db-consistency:
    * find issues without existing repository
    * find pulls without existing issues
    * find tracked times without existing issues/pulls
    * find labels without repository or org reference
    
    Co-authored-by: guillep2k <[email protected]>
    Co-authored-by: Lunny Xiao <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8e0c05e View commit details
    Browse the repository at this point in the history
  33. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    5f30b77 View commit details
    Browse the repository at this point in the history
  34. Fix missing authorization check on pull for public repos of private/l…

    …imited org (go-gitea#11656)
    
    Fixes go-gitea#11651
    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    16ba303 View commit details
    Browse the repository at this point in the history
  35. Update emoji regex (go-gitea#11584)

    When matching emoji, use a regex built from the data we have instead of something generic using unicode ranges. A generic regex can't tell the difference between two separate emoji next to each other or one emoji that is built out of two separate emoji next to each other.
    
    This means that emoji that are next to each other without space in between will be now accurately spanned individually with proper title etc...
    mrsdizzie authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a2e30fe View commit details
    Browse the repository at this point in the history
  36. Normalize avatar radius (go-gitea#11589)

    We already made avatars square for .ui avatar.img class but this is not enough, and in some place Fomantic default styling still applied.
    
    This PR updates our override of radius to match all Fomantic classes.
    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    1857768 View commit details
    Browse the repository at this point in the history
  37. Add API Endpoint for Branch Creation (go-gitea#11607)

    * [FEATURE] [API] Add Endpoint for Branch Creation
    
    Issue: go-gitea#11376
    
    This commit introduces an API endpoint for branch creation.
    
    The added route is POST /repos/{owner}/{repo}/branches.
    A JSON with the name of the new branch and the name of the old branch is
    required as parameters.
    
    Signed-off-by: Terence Le Huu Phuong <[email protected]>
    
    * Put all the logic into CreateBranch and removed CreateRepoBranch
    
    * - Added the error ErrBranchDoesNotExist in error.go
    - Made the CreateNewBranch function return an errBranchDoesNotExist error
    when the OldBranch does not exist
    - Made the CreateBranch API function checks that the repository is not
    empty and that branch exists.
    
    * - Added a resetFixtures helper function in integration_test.go to
    fine-tune test env resetting
    - Added api test for CreateBranch
    - Used resetFixture instead of the more general prepareTestEnv in the
    repo_branch_test CreateBranch tests
    
    * Moved the resetFixtures call inside the loop for APICreateBranch function
    
    * Put the prepareTestEnv back in repo_branch_test
    
    * fix import order/sort api branch test
    
    Co-authored-by: zeripath <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8a72579 View commit details
    Browse the repository at this point in the history
  38. Fix issue with DiffIndex on initial commit (go-gitea#11677)

    Unfortunately go-gitea#11614 introduced a bug whereby the initial commit of a
    repository could not be seen due to there being no parent commit to
    create a clear diff from.
    
    Here we create a diffstat from the difference between the parentless SHA and the SHA of the empty tree - a constant known to git. (With thanks to @L0veSunshine for informing me of this SHA)
    
    Thanks to @a1012112796 for initial attempt to fix.
    
    Fix go-gitea#11650
    
    Closes go-gitea#11674
    
    Signed-off-by: Andrew Thornton <[email protected]>
    Co-Authored-By: L0veSunshine <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b22038f View commit details
    Browse the repository at this point in the history
  39. Add logging to long migrations (go-gitea#11647)

    * Add logging to long migrations
    
    Also fix v136 to not use models
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f362530 View commit details
    Browse the repository at this point in the history
  40. Make tabular menu styling consistent for arc-green (go-gitea#11570)

    * Make tabular menu styling consistent for arc-green
    
    * rework completely
    
    * transparent borders
    
    * use darker color for active item; override only colors for borders
    
    * Update web_src/less/themes/theme-arc-green.less
    
    Co-authored-by: silverwind <[email protected]>
    
    Co-authored-by: silverwind <[email protected]>
    Co-authored-by: zeripath <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    32a9fcf View commit details
    Browse the repository at this point in the history
  41. Change language statistics to save size instead of percentage (go-git…

    …ea#11681)
    
    * Change language statistics to save size instead of percentage in database
    
    Co-Authored-By: Cirno the Strongest <[email protected]>
    
    * Do not exclude if only language
    
    * Fix edge cases with special langauges
    
    Co-authored-by: Cirno the Strongest <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6c2b002 View commit details
    Browse the repository at this point in the history
  42. Fix language stat calculation (go-gitea#11692)

    * Fix language stat calculation
    
    * Group languages and ignore 0 size files
    
    * remove unneeded code
    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6e23696 View commit details
    Browse the repository at this point in the history
  43. Update Caddy reverse-proxy instructions (go-gitea#11655)

    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8d668c7 View commit details
    Browse the repository at this point in the history
  44. Narrow down Edge version in browser support docs (go-gitea#11640)

    * Narrow down Edge version in browser support docs
    
    I noticed that Edge 14 has a pretty buggy fetch implementation and
    because it has already reached end of support I think it's better we
    don't specifically state support for it, even if it may work to some
    extend.
    
    * mention both edge versions
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    08c74f6 View commit details
    Browse the repository at this point in the history
  45. models: include LFS when calculating repo size (go-gitea#11060)

    Fixes go-gitea#9369
    
    Co-authored-by: John Olheiser <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    99ee0eb View commit details
    Browse the repository at this point in the history
  46. Add changelog for 1.11.6 (go-gitea#11695) (go-gitea#11700)

    * Add changelog for 1.11.6
    
    * Update CHANGELOG.md
    
    Co-authored-by: techknowlogick <[email protected]>
    
    * Update CHANGELOG.md
    
    Co-authored-by: techknowlogick <[email protected]>
    
    * Apply suggestions from @lafriks
    
    * go-gitea#11459 is bugfix
    
    Co-authored-by: Guillermo Prandi <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    
    Co-authored-by: Guillermo Prandi <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    4 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    192940f View commit details
    Browse the repository at this point in the history
  47. Handle expected errors in FileCreate & FileUpdate API (go-gitea#11643)

    as title
    
    needed for go-gitea#11641
    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f29b101 View commit details
    Browse the repository at this point in the history
  48. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    73f440b View commit details
    Browse the repository at this point in the history
  49. Issue/Pull expose IsLocked Property on API (go-gitea#11708)

    Expose IsLocked Property
    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    e0f7d79 View commit details
    Browse the repository at this point in the history
  50. log slow tests (go-gitea#11487)

    * log slow tests
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * placate lint
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * More lint placation
    
    Co-authored-by: 6543 <[email protected]>
    
    Co-authored-by: 6543 <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    cddc418 View commit details
    Browse the repository at this point in the history
  51. Update emoji dataset with skin tone variants (go-gitea#11678)

    * Update emoji dataset with skin tone variants
    
    Since the format of emoji that support skin tone modifiers is predictable we can add different variants into our dataset when generating it so that we can match and properly style most skin tone variants of emoji. No real code change here other than what generates the dataset and the data itself.
    
    * use escape unicode sequence in map
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f287d33 View commit details
    Browse the repository at this point in the history
  52. Properly truncate system notices (go-gitea#11714)

    * Properly truncate system notices
    
    As noted in go-gitea#11658 the system notifications list will always suffix
    system notices with ... even when the notice is longer than 120
    characters.
    
    Instead we should use .text.truncate to auto truncate and make the
    notices clickable to view their details.
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * As per @CirnoT make table cell clickable
    
    * ensure that pre wraps
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6fcd6fc View commit details
    Browse the repository at this point in the history
  53. Fix chardet test and add ordering option (go-gitea#11621)

    * Fix chardet test and add ordering option
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * minor fixes
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * remove log
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * remove log2
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * only iterate through top results
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
    
    * slight restructure of for loop
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    746a69e View commit details
    Browse the repository at this point in the history
  54. Show full GPG commit status on PR commit history (go-gitea#11702)

    * Show full GPG commit status on PR commit history
    
    * move shabox badge to separate template
    
    * unnecessary $
    
    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    3d520af View commit details
    Browse the repository at this point in the history
  55. Allow site admin to disable mirrors (go-gitea#11740)

    * Allow site admin to disable mirrors
    
    Signed-off-by: jolheiser <[email protected]>
    
    * No need to run through Safe
    
    Signed-off-by: jolheiser <[email protected]>
    
    * Clarify only disabling NEW mirrors
    
    Signed-off-by: jolheiser <[email protected]>
    
    * Apply suggestions from @guillep2k
    
    Co-authored-by: guillep2k <[email protected]>
    
    Co-authored-by: guillep2k <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    40ef33e View commit details
    Browse the repository at this point in the history
  56. [Contrib] Change License Link to Full CC0 Legalcode (PP and TOS) (go-…

    …gitea#10057)
    
    * Change license link to full (raw link) legal code on options/license
    
    * Replace link to full legal code at CC site
    
    * Update contrib/legal/tos.html.sample
    
    Co-authored-by: techknowlogick <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    72d0b73 View commit details
    Browse the repository at this point in the history
  57. Add missing templates (go-gitea#11729)

    Signed-off-by: Till Faelligen <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    319dff6 View commit details
    Browse the repository at this point in the history
  58. Fix styling for commiter on diff view (go-gitea#11715)

    * Fix styling for commiter on diff view
    
    * Update options/locale/locale_en-US.ini
    
    * Update templates/repo/commit_page.tmpl
    
    Co-authored-by: silverwind <[email protected]>
    
    * Update templates/repo/commit_page.tmpl
    
    Co-authored-by: silverwind <[email protected]>
    
    * Apply suggestions from code review
    
    Co-authored-by: silverwind <[email protected]>
    
    Co-authored-by: silverwind <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    e8c633f View commit details
    Browse the repository at this point in the history
  59. bug: fix wrong poster message for code comment on Pull view (go-gitea…

    …#11721)
    
    As title, maybe fix one of issue in go-gitea#11705
    
    Signed-off-by: a1012112796 <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a797c15 View commit details
    Browse the repository at this point in the history
  60. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ccc712a View commit details
    Browse the repository at this point in the history
  61. Update from-package.zh-tw.md (go-gitea#11626)

    Add translation for `install-from-package` page
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    7c81ee3 View commit details
    Browse the repository at this point in the history
  62. Fix message wrapping on PR commit list (go-gitea#11616)

    * Fix message wrapping on PR commit list
    
    * Update templates/repo/commits_list_small.tmpl
    
    Co-authored-by: silverwind <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    0124154 View commit details
    Browse the repository at this point in the history
  63. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a01d040 View commit details
    Browse the repository at this point in the history
  64. export monaco editor on window.codeEditors (go-gitea#11739)

    Fixes: go-gitea#10409
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b33f2d4 View commit details
    Browse the repository at this point in the history
  65. Fix verification of subkeys of default gpg key (go-gitea#11713)

    * Fix verification of subkeys of default gpg key
    
    Fix go-gitea#10309
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Remove debug log
    
    * Update models/gpg_key.go
    
    * As per @6543
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    afc2333 View commit details
    Browse the repository at this point in the history
  66. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    db54b71 View commit details
    Browse the repository at this point in the history
  67. [API] on 500 error only show message if gitea in dev mode (go-gitea#1…

    …1641)
    
    * add API specific InternalServerError()
    
    * return 500 error msg only if not Production mode
    
    * rm unnessesary change
    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6eb18a6 View commit details
    Browse the repository at this point in the history
  68. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    262ed2b View commit details
    Browse the repository at this point in the history
  69. Don't put integration test data outside of test folder (go-gitea#11746)

    Some integration test data is being put outside of the integration test folders which means it isn't deleted properly with make clean. Update config so it works as expected.
    
    Co-authored-by: John Olheiser <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    01cef4f View commit details
    Browse the repository at this point in the history
  70. Alpine 3.12 (go-gitea#11720)

    * increase alpine to 3.12
    
    * Update .drone.yml
    techknowlogick authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    9d9c136 View commit details
    Browse the repository at this point in the history
  71. Update fomantic-ui to 2.8.5 (go-gitea#11736)

    Update to [2.8.5](https://github.com/fomantic/Fomantic-UI/releases/tag/2.8.5)
    and remove the workaround for the CSS build race condition.
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8d92802 View commit details
    Browse the repository at this point in the history
  72. Include query in sign in redirect (go-gitea#11579)

    * Include query in sign in redirect
    
    Include query string in ctx.Data["SignInLink"] so people are redirected to the right page after singing in. Fixes case of:
    
    Visit:
    
     https://try.gitea.io/mrsdizzie/testcase/issues?q=&type=all&sort=&state=open&labels=7071&milestone=0&assignee=0
    
    Sign in, then redirected to:
    
     https://try.gitea.io/mrsdizzie/testcase/issues
    
    Create a new "SignInLink" instead of updating the existing "Link" because too many places in the code assume "Link" won't have a query
    
    * Apply suggestions from code review
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    0178bbf View commit details
    Browse the repository at this point in the history
  73. [API] Expose allowed Reactions (go-gitea#11735)

    * [API] Expose allowed Reactions
    
    * dont be in soutch a rush
    
    * add TEST
    
    * use ElementsMatch
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6757c0d View commit details
    Browse the repository at this point in the history
  74. API: Return error when Mirrors globaly disabled and like to create one (

    go-gitea#11757)
    
    * API: return an error when Mirrors globaly disabled
    
    * keep it consistent with UI
    
    Co-authored-by: John Olheiser <[email protected]>
    
    Co-authored-by: John Olheiser <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f92edf7 View commit details
    Browse the repository at this point in the history
  75. Fix bug with globally disabling mirror (go-gitea#11760)

    Ensure we return after `ctx.Error(...)`
    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8fddeeb View commit details
    Browse the repository at this point in the history
  76. European Portuguese translation (go-gitea#11568)

    This PR includes the modifications necessary to make use of the European Portuguese translation from the default setting.
    emansije authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    4bfb0ad View commit details
    Browse the repository at this point in the history
  77. Fix to allow comment poster to edit or delete his own comments (go-gi…

    …tea#11671)
    
    * bug: fix comment update permision check
    
    No the ui only allow poster to update or delet comment, which
    is not reasonable and different with handle logic, this pr
    change it to allow poster of comment do it
    
    ref code:
    https://github.com/go-gitea/gitea/blob/e8955173a9be1acaa9a3755c37b6059422acda20/routers/repo/issue.go#L1636
    
    https://github.com/go-gitea/gitea/blob/e8955173a9be1acaa9a3755c37b6059422acda20/routers/repo/issue.go#L1681
    
    fix go-gitea#11663
    
    Signed-off-by: a1012112796 <[email protected]>
    
    * simplify code
    
    * fix sign in
    
    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    dd5983f View commit details
    Browse the repository at this point in the history
  78. Provide diff and patch API endpoints (go-gitea#11751)

    * Provide diff and patch API endpoints
    
    The diff and patch endpoints on the main routes are not accessible by token
    therefore we provide new API based endpoints for these
    
    Fix go-gitea#10923
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * placate swagger
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Make the response an actual string
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8f97277 View commit details
    Browse the repository at this point in the history
  79. Add internal-repo octicon for public repos of private org (go-gitea#1…

    …1529)
    
    * Show multiple octicons on repo list
    
    * fix mixed spaces/tabs
    
    * Internal repo octicon
    
    * show internal icon in dashboard repolist
    
    * swagger
    
    * fix icon for normal repo on repo page
    
    * don't expose owner visibility directly; provide internal in repo api
    
    * fix icons for forks and mirrors
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6a11203 View commit details
    Browse the repository at this point in the history
  80. Fix typo (go-gitea#11773)

    * Fix typo of MSSQL
    
    * Fix typo: validates
    successgo authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b8452ad View commit details
    Browse the repository at this point in the history
  81. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8b9a90f View commit details
    Browse the repository at this point in the history
  82. Add compare link to releases (go-gitea#11752)

    Signed-off-by: jolheiser <[email protected]>
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    dca9a16 View commit details
    Browse the repository at this point in the history
  83. Add hide activity option (go-gitea#11353)

    * Add hide activity option
    
    This closes go-gitea#7927
    
    * Adjust for linter
    
    * Adjust for linter
    
    * Add tests
    
    * Remove info that admins can view the activity
    
    * Adjust new tests for linter
    
    * Rename v139.go to v140.go
    
    * Rename v140.go to v141.go
    
    * properly indent
    
    * gofmt
    
    Co-authored-by: Jonas Lochmann <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    32bfe50 View commit details
    Browse the repository at this point in the history
  84. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f7583ca View commit details
    Browse the repository at this point in the history
  85. Dump: add output format tar and output to stdout (go-gitea#10376)

    * Dump: Use mholt/archive/v3 to support tar including many compressions
    
    Signed-off-by: Philipp Homann <[email protected]>
    
    * Dump: Allow dump output to stdout
    
    Signed-off-by: Philipp Homann <[email protected]>
    
    * Dump: Fixed bug present since go-gitea#6677 where SessionConfig.Provider is never "file"
    
    Signed-off-by: Philipp Homann <[email protected]>
    
    * Dump: never pack RepoRootPath, LFS.ContentPath and LogRootPath when they are below AppDataPath
    
    Signed-off-by: Philipp Homann <[email protected]>
    
    * Dump: also dump LFS (fixes go-gitea#10058)
    
    Signed-off-by: Philipp Homann <[email protected]>
    
    * Dump: never dump CustomPath if CustomPath is a subdir of or equal to AppDataPath (fixes go-gitea#10365)
    
    Signed-off-by: Philipp Homann <[email protected]>
    
    * Use log.Info instead of fmt.Fprintf
    
    Signed-off-by: Philipp Homann <[email protected]>
    
    * import ordering
    
    * make fmt
    
    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    Co-authored-by: Matti R <[email protected]>
    4 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    40bd1d5 View commit details
    Browse the repository at this point in the history
  86. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    85499a8 View commit details
    Browse the repository at this point in the history
  87. Fix timezone on issue deadline (go-gitea#11697)

    * Fix timezone on issue deadline
    
    * FormatDate
    
    Co-authored-by: zeripath <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    0524a25 View commit details
    Browse the repository at this point in the history
  88. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    2af091e View commit details
    Browse the repository at this point in the history
  89. Increase maximum SQLite variables count to 32766 (go-gitea#11696)

    per https://www.sqlite.org/limits.html
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    493d1d6 View commit details
    Browse the repository at this point in the history
  90. 1.11.6 is latest version (go-gitea#11780)

    techknowlogick authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    27c4a08 View commit details
    Browse the repository at this point in the history
  91. Initialize SimpleMDE when making a code comment (go-gitea#11749)

    Fix go-gitea#11704
    
    Signed-off-by: Andrew Thornton <[email protected]>
    Co-Authored-By: Cirno the Strongest <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    fe78b4f View commit details
    Browse the repository at this point in the history
  92. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    e530f6d View commit details
    Browse the repository at this point in the history
  93. Fix align issues and decrease avatar size on PR timeline (go-gitea#11689

    )
    
    * Fix margin for referenced issue title
    
    * Change avatar size to 20px, align referenced issue title to avatar
    
    * better align
    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    29cb97d View commit details
    Browse the repository at this point in the history
  94. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    73fb2f2 View commit details
    Browse the repository at this point in the history
  95. Fix missing CGO_EXTRA_FLAGS build arg for docker (go-gitea#11782)

    Co-authored-by: zeripath <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    1467092 View commit details
    Browse the repository at this point in the history
  96. Fix visibility of forked public repos from private orgs (go-gitea#11717)

    * Fix visibility of forked public repos from private orgs
    
    * update forks visibility when org visibility is changed
    
    Co-authored-by: Lunny Xiao <[email protected]>
    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    4 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a0d8ebc View commit details
    Browse the repository at this point in the history
  97. Add language statistics API endpoint (go-gitea#11737)

    * Add language statistics API
    
    * Add tests
    lafriks authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a282991 View commit details
    Browse the repository at this point in the history
  98. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f880a03 View commit details
    Browse the repository at this point in the history
  99. Fix doer of rename repo (go-gitea#11789)

    fix go-gitea#11725
    
    Signed-off-by: a1012112796 <[email protected]>
    
    Co-authored-by: zeripath <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    e38eba1 View commit details
    Browse the repository at this point in the history
  100. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    10fb242 View commit details
    Browse the repository at this point in the history
  101. In File Create/Update API return 404 if Branch does not exist (go-git…

    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    5b06f90 View commit details
    Browse the repository at this point in the history
  102. Work around fomantic 2.8.5 bugs (go-gitea#11767)

    Work around fomantic 2.8.5 bugs 
    
    Closes go-gitea#11759
    
    Related fomantic/Fomantic-UI#1372 and fomantic/Fomantic-UI#1473
    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    fdff2e8 View commit details
    Browse the repository at this point in the history
  103. Add option to API to update PullRequest base branch (go-gitea#11666)

    * EditPull: add option to change base
    
    Close go-gitea#11552
    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    dee33df View commit details
    Browse the repository at this point in the history
  104. Ensure rejected push to refs/pull/index/head fails nicely (go-gitea#1…

    …1724)
    
    A pre-receive hook that rejects pushes to refs/pull/index/head
    will cause a broken PR which causes an internal server error
    whenever it is viewed. This PR handles prevents the internal server
    error by handling non-existent pr heads and sends a flash error
    informing the creator there was a problem.
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    661c33c View commit details
    Browse the repository at this point in the history
  105. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8117a23 View commit details
    Browse the repository at this point in the history
  106. give gitea time to calculate language stats (go-gitea#11812)

    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    cd3c9c4 View commit details
    Browse the repository at this point in the history
  107. Honor DEFAULT_PAGING_NUM for API (go-gitea#11805)

    * Honor DEFAULT_PAGING_NUM for API
    
    * set pagination to 10 for tests
    
    * lint
    
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a988057 View commit details
    Browse the repository at this point in the history
  108. Remove page size limit comment from swagger (go-gitea#11806)

    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    4d01190 View commit details
    Browse the repository at this point in the history
  109. Use crispEdges rendering for octicon-internal-repo (go-gitea#11801)

    * Use crispEdges rendering for octicon-internal-repo
    
    * Update _svg.less
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b7dd0fd View commit details
    Browse the repository at this point in the history
  110. Fix reply octicon (go-gitea#11821)

    Signed-off-by: jolheiser <[email protected]>
    jolheiser authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    3dde1b4 View commit details
    Browse the repository at this point in the history
  111. Refactor: Remove Dependencys from Migration v112-v119 (go-gitea#11811)

    * v119
    
    * v116
    
    * v112
    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    5b75f9e View commit details
    Browse the repository at this point in the history
  112. rework eslint config (go-gitea#11615)

    * rework eslint config
    
    - use explicit config that only enables rules
    - upgrade eslint to 7.1.0
    - add new plugins with selected rules enabled
    - fix discovered issues, remove global wipPrefixes
    
    * remove if
    
    * undo template change
    
    * add disabled rules as well for easier config updating
    
    * add missing disabled rule
    
    * update eslint and plugins
    
    * fix new violation
    
    * remove deprecated rules
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    9481d81 View commit details
    Browse the repository at this point in the history
  113. API allow to create closed milestones (go-gitea#11745)

    * API allow to create closed milestones
    
    * set CloseDate too
    
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    d18205c View commit details
    Browse the repository at this point in the history
  114. API expose usefull General Repo settings settings (go-gitea#11758)

    * GeneralRepoSettings expose MirrorsDisabled, HTTPGitDisabled, MaxCreationLimit
    
    * Apply suggestions from code review
    
    Co-authored-by: proton <[email protected]>
    
    * lint
    
    Co-authored-by: proton <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    9cd3512 View commit details
    Browse the repository at this point in the history
  115. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    bd25e14 View commit details
    Browse the repository at this point in the history
  116. fix a small nit (go-gitea#11834)

    As title, run this line in one time is enough.
    
    Signed-off-by: a1012112796 <[email protected]>
    a1012112796 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8684090 View commit details
    Browse the repository at this point in the history
  117. Use DEFAULT_PAGING_NUM instead of MAX_RESPONSE_ITEMS in ListOptions (g…

    …o-gitea#11831)
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    26bb724 View commit details
    Browse the repository at this point in the history
  118. Fix inserting excerpt on compare diff (go-gitea#11833)

    * Fix inserting excerpt on compare diff
    
    * use currentTarget
    
    * remove comment
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    9fe48da View commit details
    Browse the repository at this point in the history
  119. Replace jquery-datetimepicker with native date input (go-gitea#11684)

    This removes the jQuery plugin as well as the associated config options.
    Native input[type=date] does not require a language attribute as it is
    localized by default, except for the placeholder attribute for which I
    currently piggy-back the repo.issues.due_date_form localization option.
    
    Implementation should pretty much match GH. Of note is that Safari does
    not provide a UI for this input type, but I don't think providing one is
    neccessary and GH did not bother either.
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    40341bf View commit details
    Browse the repository at this point in the history
  120. Re-center the cog on the center of the lock (go-gitea#11844)

    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6e7bcf9 View commit details
    Browse the repository at this point in the history
  121. Don't add same line code comment box twice (go-gitea#11837)

    * Don't add same line code comment box twice
    
    Clicking the same '+' button multiple times adds multiple comment boxes
    to the same line. Prevent this by assigning a unique key to each comment
    box and checking if it already exists in the DOM.
    
    Also cleaned up the code around this a bit.
    
    * Update web_src/js/index.js
    
    Co-authored-by: Lauris BH <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    4 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    9fcc8f2 View commit details
    Browse the repository at this point in the history
  122. Don't consider tag refs as valid for branch name (go-gitea#11847)

    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    32253f8 View commit details
    Browse the repository at this point in the history
  123. Update JS dependencies (go-gitea#11842)

    Result of `make npm-update`, no noteworthy changes.
    silverwind authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    3c760c5 View commit details
    Browse the repository at this point in the history
  124. Set the base url when migrating from Gitlab using access token or use…

    …rname without password (go-gitea#11852)
    
    When migrating from gitlab, set the baseUrl in NewGitlabDownloader when using an access token or username without password
    
    Fix go-gitea#11851
    gernoteger authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    789b642 View commit details
    Browse the repository at this point in the history
  125. Prevent panic on empty HOST for mysql (go-gitea#11850)

    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8d82012 View commit details
    Browse the repository at this point in the history
  126. cloudron: update link to demo (go-gitea#11857)

    gramakri authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    4ee891b View commit details
    Browse the repository at this point in the history
  127. Show exact tag for commit on diff view (go-gitea#11846)

    * Show exact tag for commit on diff view
    
    * Fix comment
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a8bf66c View commit details
    Browse the repository at this point in the history
  128. Add migration to set IsArchived false if it is null (go-gitea#11853)

    * Add migration to set IsArchived false if it is null
    
    Fix go-gitea#11824
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Add doctor
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f933242 View commit details
    Browse the repository at this point in the history
  129. Improve label edit buttons labels (go-gitea#11841)

    * Improve label edit buttons labels
    
    Previously when editing the buttons in the "Edit Label" modal were a
    strange "Update" and "No". Improved them to "Save" and "Cancel".
    
    Also fixed indentation in the template file, recommended to view changes
    with the "Hide whitespace changes" option enabled on GitHub.
    
    * remove unnecessary button icon
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    14bce84 View commit details
    Browse the repository at this point in the history
  130. Fix commit search in all branches (go-gitea#11849)

    * Fix commit search in all branches
    
    * comments
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ce1d709 View commit details
    Browse the repository at this point in the history
  131. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    d1cb2f6 View commit details
    Browse the repository at this point in the history
  132. Handle more pathological branch and tag names (go-gitea#11843)

    * Handle more pathological branch and tag names
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Fix failing test
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    899aae2 View commit details
    Browse the repository at this point in the history
  133. Fix search form button overlap (go-gitea#11840)

    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    aa9594d View commit details
    Browse the repository at this point in the history
  134. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    bb8eca3 View commit details
    Browse the repository at this point in the history
  135. Fix nil pointer in default issue mail template (go-gitea#11862)

    * Fix nil pointer in default issue mail template
    
    Fix: template: issue/default:20:17: executing "issue/default" at <.Comment.Type>: nil pointer evaluating interface {}.Type
    
    Introduced in go-gitea#11167
    
    * another one
    
    Co-authored-by: zeripath <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    bacc22e View commit details
    Browse the repository at this point in the history
  136. Add automatic JS license generation (go-gitea#11810)

    * Add automatic JS license generation
    
    Removed librejs file and replaced it with a plaintext file that is built
    from all JS dependencies that are included in the webpack build. It does
    not cover the few remaining statically vendored files and fomantic is
    added manually because it's not yet in the webpack build process.
    
    Fixes: go-gitea#11630
    
    * fix lint
    
    * remove jslicense, we're not librejs compatible any more
    
    * remove license.txt test as it depens on absent files
    
    * small optimization
    
    * trailing comma
    
    * localize and capitalize the word 'licenses'
    
    * reduce text to just 'Licenses'
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    eeb0bfc View commit details
    Browse the repository at this point in the history
  137. Fix 500 error on repos with no tags (go-gitea#11870)

    go-gitea#11846 Introduced feature to show exact tag on commit view. However if a repo has no tags at all git prints out a separate and unhandled error " No names found, cannot describe anything."
    
     Adding --always to the command makes it always use the error in the style of "fatal: no tag exactly matches" even if there are no tags at all.
    
     Fixes go-gitea#11869
     Fixes go-gitea#11868
    mrsdizzie authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    aa894f2 View commit details
    Browse the repository at this point in the history
  138. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    d5e627f View commit details
    Browse the repository at this point in the history
  139. Fix repo internal icon when avatar is present (go-gitea#11873)

    * Fix repo internal icon when avatar is present
    
    * fix tabs
    
    * move repo icons in header to separate template
    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    c3c7a9c View commit details
    Browse the repository at this point in the history
  140. Disable all typographic replacements in markdown renderer (go-gitea#1…

    …1871)
    
    * Disable all typographic replacements in markdown renderer
    
    Previously we only disabled some of them. This disables all the default
    replacements that goldmark's typographer extension offers, matching
    GitHub's renderer.
    
    Ref: https://github.com/yuin/goldmark#typographer-extension
    Fixes: go-gitea#11001
    
    * remove typographer extension completely
    
    * fix test
    
    * really fix test
    
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f670b6c View commit details
    Browse the repository at this point in the history
  141. Rework api/user/repos for pagination (go-gitea#11827)

    * Add count to `GetUserRepositories` so that pagination can be supported for `/user/{username}/repos`
    * Rework ListMyRepos to use models.SearchRepository
    
    ListMyRepos was an odd one. It first fetched all user repositories and then tried to supplement them with accessible map. The end result was that:
    
    * Limit for pagination did not work because accessible repos would always be appended
    * The amount of pages was incorrect if one were to calculate it
    * When paginating, all accessible repos would be shown on every page
    
    Hopefully it should now work properly. Fixes go-gitea#11800 and does not require any change on Drone-side as it can properly interpret and act on Link header which we now set.
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f85efe6 View commit details
    Browse the repository at this point in the history
  142. ui: Show update branch item in merge box when it's necessary (go-gite…

    …a#11761)
    
    * ui: Show update branch item in merge box when it's necessary
    
    As title, should show it without care about whether
    this pr can be merged.
    
    fix go-gitea#10959
    
    Signed-off-by: a1012112796 <[email protected]>
    
    * fix ui
    
    * Fix ui, thanks to @silverwind.
    
    Co-authored-by: silverwind <[email protected]>
    
    * fix lint
    
    * Update templates/repo/issue/view_content/pull.tmpl
    
    Co-authored-by: silverwind <[email protected]>
    
    * Apply review suggestion
    
    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: silverwind <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    4 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    38642fc View commit details
    Browse the repository at this point in the history
  143. Only write to global gitconfig if necessary (go-gitea#11876)

    * Only write to global gitconfig if necessary
    
    Fix go-gitea#11855
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * placate lint
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    4d7e78e View commit details
    Browse the repository at this point in the history
  144. Invalidate comments when file is shortened (go-gitea#11882)

    * Invalidate comments when file is shortened
    
    Fix go-gitea#10686
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * handle 1 line
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b2ab0e8 View commit details
    Browse the repository at this point in the history
  145. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    fb11659 View commit details
    Browse the repository at this point in the history
  146. Better align items using flex within review request box (go-gitea#11879)

    * Better align items using flex within review request box
    
    * use justify-content
    
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    5dc8207 View commit details
    Browse the repository at this point in the history
  147. Vertically align review icons on repository sidebar (go-gitea#11880)

    * Vertically align review icons on repository sidebar
    
    * Update web_src/less/_repository.less
    
    Co-authored-by: silverwind <[email protected]>
    
    Co-authored-by: silverwind <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    4 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    174cdd3 View commit details
    Browse the repository at this point in the history
  148. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    74f3d7c View commit details
    Browse the repository at this point in the history
  149. Rework blame template and styling (go-gitea#11885)

    * Rework blame template and styling
    
    * cleanup template and add missing NumLines
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    817656e View commit details
    Browse the repository at this point in the history
  150. Fix alignment for show/hide outdated link on resolved conversation (g…

    …o-gitea#11881)
    
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    639b747 View commit details
    Browse the repository at this point in the history
  151. Upgrade xorm to v1.0.2 (go-gitea#11900)

    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    69a49a4 View commit details
    Browse the repository at this point in the history
  152. Make repository size unclickable on repo summary bar (go-gitea#11887)

    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ab3762b View commit details
    Browse the repository at this point in the history
  153. pq -> v1.7.0 (go-gitea#11905)

    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    c7a2f71 View commit details
    Browse the repository at this point in the history
  154. UI: Fix wrong closing tag (go-gitea#11910)

    * rm wrong closing tag
    
    * Update templates/repo/sub_menu.tmpl
    
    Co-authored-by: John Olheiser <[email protected]>
    
    Co-authored-by: John Olheiser <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a591288 View commit details
    Browse the repository at this point in the history
  155. Update CommitsAhead CommitsBehind on Pull BaseBranch Change too (go-g…

    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ede58eb View commit details
    Browse the repository at this point in the history
  156. Fix double divider on issue sidebar (go-gitea#11919)

    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    16d2ca0 View commit details
    Browse the repository at this point in the history
  157. Use ID or Where to instead directly use Get when load object from dat…

    …abase (go-gitea#11925)
    
    * Use ID or Where to instead directly use Get when load object from database
    
    * Apply suggestions from code review
    
    Co-authored-by: 6543 <[email protected]>
    
    Co-authored-by: 6543 <[email protected]>
    Co-authored-by: zeripath <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a1b69de View commit details
    Browse the repository at this point in the history
  158. upgrade to use testfixtures v3 (go-gitea#11904)

    * upgrade to use testfixtures v3
    
    * simplify logic
    
    * make vendor
    
    * update per @lunny
    
    * Update templates/repo/empty.tmpl
    
    * Update templates/repo/empty.tmpl
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6c84648 View commit details
    Browse the repository at this point in the history
  159. Global default branch setting (go-gitea#11918)

    * Global default branch setting
    
    * add to app.ini example per @silverwind
    
    * update per @lunny
    
    Co-authored-by: John Olheiser <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    03a476f View commit details
    Browse the repository at this point in the history
  160. Update to go-git v5.1.0 (go-gitea#11936)

    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    938eaf4 View commit details
    Browse the repository at this point in the history
  161. Align show/hide outdated button on code review block (go-gitea#11932)

    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6b2f705 View commit details
    Browse the repository at this point in the history
  162. Update Fomantic-UI to 2.8.6 and remove old workarounds (go-gitea#11933)

    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    661e813 View commit details
    Browse the repository at this point in the history
  163. Rename custom/conf/app.ini.sample to custom/conf/app.example.ini for …

    …better syntax light on editor (go-gitea#11926)
    
    * Rename custom/conf/app.ini.sample to custom/conf/app.sample.ini for better syntax light on editor
    
    * rename to app.example.ini
    
    * per @6543 's comment, update all references on docs
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    c1ee70b View commit details
    Browse the repository at this point in the history
  164. Use google/uuid to instead satori/go.uuid (go-gitea#11943)

    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    d2ba000 View commit details
    Browse the repository at this point in the history
  165. Fix commenting on non-utf8 encoded files (go-gitea#11916)

    * Add comment on non-unicode line to force fail
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Just quote/unquote patch
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    2bcb3b8 View commit details
    Browse the repository at this point in the history
  166. recommend bindata for building (go-gitea#11938)

    Co-authored-by: John Olheiser <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8c7f6de View commit details
    Browse the repository at this point in the history
  167. Changelog v1.11.7 (go-gitea#11953) (go-gitea#11956)

    * Changelog v1.11.7
    
    * Update CHANGELOG.md
    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    dbe79e7 View commit details
    Browse the repository at this point in the history
  168. Changelog v1.12.0 (go-gitea#11927) (go-gitea#11957)

    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f646707 View commit details
    Browse the repository at this point in the history
  169. Fix scrollable header on dropdowns (go-gitea#11893)

    Co-authored-by: Lunny Xiao <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    4 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    4bd316b View commit details
    Browse the repository at this point in the history
  170. Update docs to specify utf8mb4 default (go-gitea#11962)

    Install tool already sets it as the default so we can just update
    example ini and docs to it.
    
    Fixes: go-gitea#11081
    silverwind authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    aa802b1 View commit details
    Browse the repository at this point in the history
  171. 1.12.0 is latest stable version (go-gitea#11964)

    techknowlogick authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    e010af1 View commit details
    Browse the repository at this point in the history
  172. Use only first line of commit when creating referenced comment (go-gi…

    …tea#11960)
    
    * Use only first line of commit when creating referenced comment
    
    * Update modules/repofiles/action.go
    
    * Display first line only on feeds too
    
    Co-authored-by: techknowlogick <[email protected]>
    Co-authored-by: zeripath <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a383350 View commit details
    Browse the repository at this point in the history
  173. Configuration menu
    Copy the full SHA
    833e10e View commit details
    Browse the repository at this point in the history
  174. Use enry language type to detect special languages (go-gitea#11974)

    lafriks authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f060a20 View commit details
    Browse the repository at this point in the history
  175. Add serviceworker.js to KnownPublicEntries (go-gitea#11992)

    Fixes a wrong 302 redirect to the login page, see go-gitea#11989.
    Also made it so the reserved username list is extended with those known
    entries so we avoid code duplication.
    
    Should be backported to 1.12.
    silverwind authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    82f6640 View commit details
    Browse the repository at this point in the history
  176. Add public/img/svg to WEBPACK_DEST_ENTRIES (go-gitea#11993)

    Webpack outputs to this directory so it should be removed during
    cleanup. No backport needed.
    
    Co-authored-by: zeripath <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f0e0072 View commit details
    Browse the repository at this point in the history
  177. Handle multiple merges in gitgraph.js (go-gitea#11996)

    * Handle multiple merges in gitgraph.js
    
    There is a bug in web_src/js/vendor/gitgraph.js whereby it fails to
    handle multiple merges in a single commit correctly. This PR adds
    changes to make this work.
    
    Fix go-gitea#11981
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Update web_src/js/vendor/gitgraph.js
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    4bdd4cf View commit details
    Browse the repository at this point in the history
  178. Add pagination headers on endpoints that support total count from dat…

    …abase (go-gitea#11145)
    
    * begin work
    
    * import fmt
    
    * more work
    
    * empty commit
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    011b2ae View commit details
    Browse the repository at this point in the history
  179. Adds a TODOs Badge to the README (go-gitea#11999)

    Closes go-gitea#11210
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    1bde14a View commit details
    Browse the repository at this point in the history
  180. Use octicons for all repo header buttons (go-gitea#11890)

    * Use octicons for all repo header buttons
    
    * ensure margin isn't set on any other svg outside repo buttons
    
    Co-authored-by: Lunny Xiao <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    e9237f3 View commit details
    Browse the repository at this point in the history
  181. Fix missing styling for dropdown icon on review button (go-gitea#11998)

    * Fix missing styling for dropdown icon on review button
    
    * Remove unnecessary span element
    
    Co-authored-by: Lunny Xiao <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6c006d5 View commit details
    Browse the repository at this point in the history
  182. Changelog for v1.11.8 and v1.12.1 (go-gitea#12006) (go-gitea#12007)

    * Changelog for v1.12.1 (go-gitea#12006)
    
    * Update gitea version to latest release
    lafriks authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    563572b View commit details
    Browse the repository at this point in the history
  183. Fix typo (go-gitea#12013)

    * Fix typo of MSSQL
    
    * Fix typo: validates
    
    * Fix typo
    
    * fix comment with space
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    2ad9ce8 View commit details
    Browse the repository at this point in the history
  184. Make tabs smaller (go-gitea#12003)

    * Make tabs smaller
    
    Fomantic's tabs are excessively wide and with another tab added on the
    repo tabbar (go-gitea#8346) it would break
    the layout on the english language.
    
    Globally reduce tab bar padding to around half of the previous values.
    
    * disable no-duplicate-selectors linter rule
    
    * more tab bar tweaks
    
    * more tweaks
    
    * merge rules and nesting
    
    * remove arc-green weird hover color
    
    * few more arc-green tweaks
    
    * restore to 12px
    
    * tweaks
    
    * use half width height padding
    
    * final tweak
    
    * 10px
    
    * remove min-height
    
    * 11px
    
    * remve new-menu background on light theme too
    
    * background fixes for new-menu
    
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    bef9356 View commit details
    Browse the repository at this point in the history
  185. API: Move AllowedReactions endpoint into GetGenneralUI endpoint + cre…

    …at new swagger section settings (go-gitea#11854)
    
    * move Setting function into its own package
    
    * swagger add&use new section "settings"
    
    * move api AllowedReactions into general UI-Settings endpoint
    
    * prepare TEST
    
    * lint
    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f85972e View commit details
    Browse the repository at this point in the history
  186. Fix sticky diff stats container (go-gitea#12002)

    * Fix sticky diff stats container
    
    * Use pure CSS sticky instead of Fomantic's JS
    
    * add border color to arc-green
    
    * add slight padding on sides
    
    * make linter happy
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    9a04944 View commit details
    Browse the repository at this point in the history
  187. Use label to describe repository type (go-gitea#11891)

    * Use label instead of icon to describe repository type when repo avatar is set
    
    * header_icon is not longer duplicated; move out of separate template
    
    * handle archived case too
    
    * use everywhere
    
    * public template -> template
    
    * bring back separate icon in better form
    
    * definitely was overthinking this
    
    * 32
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    d0b8ee1 View commit details
    Browse the repository at this point in the history
  188. Disable dropzone's timeout (go-gitea#12024)

    Dropzone 4.4 introduced a 30s XHR timeout that will kill any upload
    still in progress. This disable that timeout again.
    
    Ref: https://www.dropzonejs.com/#config-timeout
    Ref: go-gitea#10645
    Ref: https://xhr.spec.whatwg.org/#the-timeout-attribute
    Fixes: go-gitea#12022
    Fixes: go-gitea#11906
    
    Co-authored-by: Lunny Xiao <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    0aaba3b View commit details
    Browse the repository at this point in the history
  189. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ed640aa View commit details
    Browse the repository at this point in the history
  190. Don't use -webkit-font-smoothing (go-gitea#12029)

    Don't change font smoothing via CSS. Linked issue has more details, but this seems fowned upon in general and a was also removed from standards track. Hopefully this will be a part of reverting to a native font stack for Gitea.
    
    Fixes go-gitea#11931
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    4c4abb1 View commit details
    Browse the repository at this point in the history
  191. fix bug about can't skip commits base on base branch (go-gitea#11555)

    * fix bug about can't skip commits base on base branch
    
    Signed-off-by: a1012112796 <[email protected]>
    
    * Update modules/git/commit.go
    
    Co-authored-by: Lauris BH <[email protected]>
    
    * Update models/issue_comment.go
    
    Co-authored-by: Lauris BH <[email protected]>
    
    * fix lint
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    bebbf01 View commit details
    Browse the repository at this point in the history
  192. [UI] Sortable Tables Header By Click (go-gitea#7980)

    * [UI] Sortable Tables Header By Click
    
    * get rid of padding above header
    
    * restart CI
    
    * fix lint
    
    * convert getArrow JS to SortArrow go func
    
    * addopt SortArrow funct
    
    * suggestions from @silverwind - tablesort.js
    
    Co-authored-by: silverwind <[email protected]>
    
    * Update web_src/js/features/tablesort.js
    
    Co-authored-by: silverwind <[email protected]>
    
    * Update web_src/js/features/tablesort.js
    
    Co-authored-by: silverwind <[email protected]>
    
    Co-authored-by: silverwind <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    0d24c06 View commit details
    Browse the repository at this point in the history
  193. Update Goldmark v1.1.25 -> v1.1.32 (go-gitea#12048)

    6543 authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    3cf3e2f View commit details
    Browse the repository at this point in the history
  194. Fix comments webhook panic (go-gitea#12046)

    * Fix webhook comment handling type cast panic
    
    * Handle HookIssueReviewed action in webhook
    
    Co-authored-by: Lunny Xiao <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    7cbbbd4 View commit details
    Browse the repository at this point in the history
  195. Fix gitgraph branch continues after merge (go-gitea#12044)

    * Fix gitgraph branch continues after merge
    
    After fixing the initial problem in go-gitea#11981 another
    problem has come to light...
    
    Fix go-gitea#11981 (part 2)
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Update web_src/js/vendor/gitgraph.js
    
    * Apply suggestions from code review
    
    Co-authored-by: silverwind <[email protected]>
    
    Co-authored-by: silverwind <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    bb2fa20 View commit details
    Browse the repository at this point in the history
  196. Use Fomantic's fluid padded for blame full width (go-gitea#12023)

    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    e8f63ad View commit details
    Browse the repository at this point in the history
  197. Add org avatar on top of internal repo icon (go-gitea#11895)

    * Add org avatar on top of internal repo icon
    
    * add color for arc-green
    
    * use wrapper div to avoid negative margins
    
    * rename class and move div
    
    * move div to icon tmpl
    
    * remove unnecessary margin for lock octicon
    
    * fix label align together with go-gitea#11891
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    143bddb View commit details
    Browse the repository at this point in the history
  198. Show description on individual milestone view (go-gitea#12055)

    Fixes go-gitea#12043
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    0866015 View commit details
    Browse the repository at this point in the history
  199. Shorten markdown heading anchors links (go-gitea#11903)

    This changes the links on headings like '# Usage' in markdown from
    
      `https://host/user/repo#user-content-usage`
    
    to just
    
      `https://host/user/repo#usage`
    
    matching GitHub and GitLab. The linked id elements still have the prefix
    and this behaviour matches GitHub and GitLab too, so JS is needed to
    scroll to the active anchor. I suspect it's like that to avoid namespace
    collission between user-generated content and other page content.
    Compatibilty for old links is included so they will continue to work.
    
    Also included are some enhancements to make the clickable area for the
    link icon larger and fix its color on arc-green.
    
    Fixes: go-gitea#11896
    Fixes: go-gitea#12062
    silverwind authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b1fc8b9 View commit details
    Browse the repository at this point in the history
  200. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    91c620b View commit details
    Browse the repository at this point in the history
  201. Disable go module when downloading global binaries (go-gitea#12030)

    Prevent `go get` from touching `go.mod` and `go.sum` when executing
    global binaries during the build process. Once
    golang/go#30515 is fixed, we should is
    whatever solution is provided there.
    
    Fixes: go-gitea#12010
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    c115fb4 View commit details
    Browse the repository at this point in the history
  202. Fix some periods and language usage in en-US locale (go-gitea#12067)

    linkjay authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    3f7a39a View commit details
    Browse the repository at this point in the history
  203. Fix swagger docs for /repos/issues (go-gitea#12069)

    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ddeca12 View commit details
    Browse the repository at this point in the history
  204. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f0fb491 View commit details
    Browse the repository at this point in the history
  205. Do not override API issue pagination with UI settings (go-gitea#12068)

    Co-authored-by: Lunny Xiao <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    868b917 View commit details
    Browse the repository at this point in the history
  206. Move fomantic and jQuery to main webpack bundle (go-gitea#11997)

    This saves around 3 MB binary size by not including useless fomantic
    files in the build. Also, this allows us to move jQuery into the main
    bundle as well which eliminates a few HTTP requests.
    
    Also included are webpack config changes:
    
    - split less and css loaders to speed up compliation
    - enable css sourcemaps
    - switch css minfier plugin to cssnano-webpack-plugin which works better
      for sourcemaps than the previous plugin
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    e11abc2 View commit details
    Browse the repository at this point in the history
  207. Use custom SVGs for commit signing lock icon (go-gitea#12017)

    * Use custom SVGs for commit signing lock icon
    
    * missing spans
    
    * editorconfig
    
    * xmlns and remove aria-hidden
    
    Co-authored-by: Lunny Xiao <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    9cf0e9f View commit details
    Browse the repository at this point in the history
  208. Fix potential make error related to fomantic files (go-gitea#12079)

    This prevents a potential make errors like "No rule to make sticky.js"
    that happens when a file is present from a previous build but is not
    generated in the current build. We don't use these module files from
    fomantic so it's safe to not depend on them.
    
    Related to: go-gitea@7761245
    silverwind authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    4f9107e View commit details
    Browse the repository at this point in the history
  209. Fix commit icon position (go-gitea#12087)

    lafriks authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    89b7ebc View commit details
    Browse the repository at this point in the history
  210. Server-side syntax highlighting for all code (go-gitea#12047)

    * Server-side syntax hilighting for all code
    
    This PR does a few things:
    
    * Remove all traces of highlight.js
    * Use chroma library to provide fast syntax hilighting directly on the server
    * Provide syntax hilighting for diffs
    * Re-style both unified and split diffs views
    * Add custom syntax hilighting styling for both regular and arc-green
    
    Fixes go-gitea#7729
    Fixes go-gitea#10157
    Fixes go-gitea#11825
    Fixes go-gitea#7728
    Fixes go-gitea#3872
    Fixes go-gitea#3682
    
    And perhaps gets closer to go-gitea#9553
    
    * fix line marker
    
    * fix repo search
    
    * Fix single line select
    
    * properly load settings
    
    * npm uninstall highlight.js
    
    * review suggestion
    
    * code review
    
    * forgot to call function
    
    * fix test
    
    * Apply suggestions from code review
    
    suggestions from @silverwind thanks
    
    Co-authored-by: silverwind <[email protected]>
    
    * code review
    
    * copy/paste error
    
    * Use const for highlight size limit
    
    * Update web_src/less/_repository.less
    
    Co-authored-by: Lauris BH <[email protected]>
    
    * update size limit to 1MB and other styling tweaks
    
    * fix highlighting for certain diff sections
    
    * fix test
    
    * add worker back as suggested
    
    Co-authored-by: silverwind <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    845b9f1 View commit details
    Browse the repository at this point in the history
  211. Fix merge section in dark theme (go-gitea#12086)

    * Fix merge section in dark theme
    
    * Fix lint
    lafriks authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    0e553e3 View commit details
    Browse the repository at this point in the history
  212. Ensure BlameReaders close at end of request (go-gitea#12102)

    go-gitea#11716 reports multiple git blame processes hanging around
    this was thought to be due to timeouts, however on closer look this
    appears to be due to the Close() function of the BlameReader hanging
    with a blocked stdout pipe.
    
    This PR fixes this Close function to:
    
    * Cancel the context of the cmd
    * Close the StdoutReader - ensuring that the output pipe is closed
    
    Further it makes the context of the `git blame` command a child of the
    request context - ensuring that even if Close() is not called, on
    cancellation of the Request the blame is command will also be cancelled.
    
    Fixes go-gitea#11716
    Closes go-gitea#11727
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    4d1edb8 View commit details
    Browse the repository at this point in the history
  213. Improve arc-green code colors (go-gitea#12111)

    * Improve arc-green code colors
    
    This should fix all previous colors that had too few contrast on the
    background. I took solarized-dark as a baseline and did various
    improvments. I removed bold/italic flags because I don't think they
    fit and generally other tools also don't use those font flags.
    
    * diff tweak
    silverwind authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    7f27870 View commit details
    Browse the repository at this point in the history
  214. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    2221c54 View commit details
    Browse the repository at this point in the history
  215. Fix missing gitgraph css import (go-gitea#12112)

    The filter was wrongly excluding the gitGraph.css file. Need to clean
    this up later so that imports are always relative to the source file
    (which is not the case for fonts right now).
    
    Regressed by: go-gitea#11997
    
    Co-authored-by: zeripath <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f767a5a View commit details
    Browse the repository at this point in the history
  216. Provide option to unlink a fork (go-gitea#11858)

    * Provide option to unlink a fork
    
    Fix go-gitea#4566
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Apply suggestions from code review
    
    Co-authored-by: techknowlogick <[email protected]>
    
    * Add check that user can create repo
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * as per @CirnoT
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    2ffcd54 View commit details
    Browse the repository at this point in the history
  217. Fix repo API listing stability (go-gitea#12057)

    Repo listings are paginated in the API now. Unfortunately, they are
    ORDER BY updated_unix which only has second resolution. This means that
    if you do a listing when multiple projects were created at the same time
    you can unstable ordering. If that unstable ordering happens at a page
    boundary you may fail to get a complete repo listing.
    
    To make things worse sorting by updated_unix means that we may never get
    a complete listing because udpated_unix can change independent of our
    API calls.
    
    Fix this by making the API repo listing order by id instead.
    cboylan authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a8c803a View commit details
    Browse the repository at this point in the history
  218. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    73c86fa View commit details
    Browse the repository at this point in the history
  219. Fix ui bug in wiki commit page (go-gitea#12089)

    * Fix ui bug in wiki commit page
    
    TODO: Maybe we should allow wiki to have its own ``.editorconfig`` file.
    
    Signed-off-by: a1012112796 <[email protected]>
    
    * fix a small nit
    
    Co-authored-by: Lunny Xiao <[email protected]>
    Co-authored-by: zeripath <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    680d4f5 View commit details
    Browse the repository at this point in the history
  220. Move EventSource to SharedWorker (go-gitea#12095)

    Move EventSource to use a SharedWorker. This prevents issues with HTTP/1.1
    open browser connections from preventing gitea from opening multiple tabs.
    
    Also allow setting EVENT_SOURCE_UPDATE_TIME to disable EventSource updating
    
    Fix go-gitea#11978
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: silverwind <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    cf4bdb1 View commit details
    Browse the repository at this point in the history
  221. templates/repo/empty.tmpl : fix repo setup instructions (go-gitea#12122)

    Co-authored-by: codeberg <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    d35a447 View commit details
    Browse the repository at this point in the history
  222. Bugfix for shared event source (go-gitea#12129)

    For some reason our eslint configuration is not working correctly
    and a bug has become apparent when trying to backport this to 1.12.
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    71f3e1f View commit details
    Browse the repository at this point in the history
  223. Re-fix go-gitea#12095 again (go-gitea#12138)

    Unfortunately some of the suggested changes to go-gitea#12095 introduced
    bugs which due to caching behaviour of sharedworkers were not caught
    on simple tests.
    
    These are as follows:
    
    * Changing from simple for loop to use includes here:
    
    ```js
      register(port) {
        if (!this.clients.includes(port)) return;
    
        this.clients.push(port);
    
        port.postMessage({
          type: 'status',
          message: `registered to ${this.url}`,
        });
      }
    ```
    
    The additional `!` prevents any clients from being added and should
    read:
    
    ```js
        if (this.clients.includes(port)) return;
    ```
    
    * Dropping the use of jQuery `$(...)` selection and using DOM
    `querySelector` here:
    
    ```js
    async function receiveUpdateCount(event) {
      try {
        const data = JSON.parse(event.data);
    
        const notificationCount = document.querySelector('.notification_count');
        if (data.Count > 0) {
          notificationCount.classList.remove('hidden');
        } else {
          notificationCount.classList.add('hidden');
        }
    
        notificationCount.text() = `${data.Count}`;
        await updateNotificationTable();
      } catch (error) {
        console.error(error, event);
      }
    }
    ```
    
    Requires that `notificationCount.text()` be changed to use `textContent`
    instead.
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    fb2723c View commit details
    Browse the repository at this point in the history
  224. Rewrite GitGraph.js (go-gitea#12137)

    The current vendored gitgraph.js is no longer maintained and is
    difficult to understand, fix and maintain.
    
    This PR completely rewrites its logic - hopefully in a clearer fashion
    and easier to maintain.
    
    It also includes @silverwind's improvements of coloring the commit dots
    and preventing the flash of incorrect content.
    
    Further changes to contemplate in future will be abstracting out of the
    flows to an object, storing the involved commit references on the flows
    etc. However, this is probably a required step for this.
    
    Replaces go-gitea#12131
    Fixes go-gitea#11981 (part 3)
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    690ce52 View commit details
    Browse the repository at this point in the history
  225. Remove spurious logging (go-gitea#12139)

    Unfortunately go-gitea#10745 merged a spurious logging message. This PR removes this.
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: Lauris BH <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    d4455f1 View commit details
    Browse the repository at this point in the history
  226. Enable a few more eslint rules (go-gitea#12145)

    This gets the config closer to what 1.12 had.
    
    Related: go-gitea#12129
    silverwind authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    7e405da View commit details
    Browse the repository at this point in the history
  227. properly set symbolic-ref HEAD when a repo is created with a non-mast…

    …er default branch (go-gitea#12135)
    
    This fixes an issue I noticed with go-gitea#10803: when you create a repo with a non-master default branch, gitea doesn't change the remote ref HEAD, so it still points at refs/heads/master. As a result, cloning my repos gives me error messages and doesn't check out the desired default branch, so I need to manually check it out after cloning.
    xenofem authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    1d583c4 View commit details
    Browse the repository at this point in the history
  228. Ensure tabs wrap correctly on user profile page (go-gitea#12144)

    Co-authored-by: zeripath <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    fa15381 View commit details
    Browse the repository at this point in the history
  229. Multiple small admin dashboard fixes (go-gitea#12153)

    * Remove spurious spacing between Maintenance Operations and its table on dashboard
    * Prevent (EXTRA string) comments in Task headers
    * Redirect tasks started from monitor page back to monitor
    * Fix go-gitea#12107 - redirects from process cancel should use AppSubUrl
    * When wrapping queues set the name correctly
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    00b1cf1 View commit details
    Browse the repository at this point in the history
  230. Use hash of repo path, ref and entrypath as cache key (go-gitea#12151)

    lafriks authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b68d3cf View commit details
    Browse the repository at this point in the history
  231. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    c4645d4 View commit details
    Browse the repository at this point in the history
  232. Pause, Resume, Release&Reopen, Add and Remove Logging from command li…

    …ne (go-gitea#11777)
    
    * Make LogDescriptions race safe
    
    * Add manager commands for pausing, resuming, adding and removing loggers
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Placate lint
    
    * Ensure that file logger is run!
    
    * Add support for smtp and conn
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Add release-and-reopen
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    5c46132 View commit details
    Browse the repository at this point in the history
  233. Update the wiki repository remote origin while update the mirror repo…

    …sitory's Clone From URL (go-gitea#12053)
    
    * update the wiki repository remote origin go-gitea#12050
    
    * wikiRemoteURL is under repo_module
    
    * export WikiRemoteURL func
    
    * remove redundant space and empty line
    
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ef62887 View commit details
    Browse the repository at this point in the history
  234. Fonts rework (go-gitea#12114)

    - Use system fonts only for text to avoid FOUT
    - Move font-awesome to npm/webpack
    - Move NotoColorEmoji to web_src
    - Remove presumably unneccesary 'PT Sans Narrow'
    - Simplify webpack import exclusions
    
    Fixes: go-gitea#11818
    Fixes: go-gitea#11814
    
    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    3 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    a8b61c6 View commit details
    Browse the repository at this point in the history
  235. [skip ci] Updated translations via Crowdin

    GiteaBot authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    b06bdba View commit details
    Browse the repository at this point in the history
  236. models: break out of loops (go-gitea#12159)

    Co-authored-by: Lunny Xiao <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    c3fb904 View commit details
    Browse the repository at this point in the history
  237. fix a spelling error (go-gitea#12163)

    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    c479749 View commit details
    Browse the repository at this point in the history
  238. Ensure Subkeys are verified (go-gitea#12155)

    When attempting to verify subkeys the email address verification step
    requires checking the emails however, these emails are not stored on
    subkeys but instead on the primary key.
    
    This PR will obtain the primaryKey and check against these emails too.
    
    Fix go-gitea#12128
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    1d554d5 View commit details
    Browse the repository at this point in the history
  239. Fix U2F button icon (go-gitea#12167)

    Previously this used a USB icon which required a separate font file used
    nowhere else so replace it with a octicon and fix the background color
    on arc-green too.
    silverwind authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ef37f0f View commit details
    Browse the repository at this point in the history
  240. Adjust margin-top for repo header label (go-gitea#12174)

    CirnoT authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    409a8ae View commit details
    Browse the repository at this point in the history
  241. Decrease the num_stars when deleting a repo (go-gitea#11954)

    * Decrease the  num_stars when deleting a repo
    
    fix go-gitea#11949
    
    Signed-off-by: a1012112796 <[email protected]>
    
    * Add migration
    
    * use batch
    
    * Apply suggestions from code review
    
    Co-authored-by: Lauris BH <[email protected]>
    
    * fix lint
    
    * fix lint
    
    * fix ci
    
    * fix ci2
    
    * add doctor
    
    * duplicate code
    
    * fix migration
    
    * fix some nits
    
    * add start
    
    Co-authored-by: Lauris BH <[email protected]>
    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: Lunny Xiao <[email protected]>
    4 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    1e35e98 View commit details
    Browse the repository at this point in the history
  242. Trim to 255 runes instead of bytes (go-gitea#12150)

    * Trim to 255 runes instead of bytes
    
    Prevents invalid UTF-8 encoding for Description and Website. Refs go-gitea#7905
    
    * Apply suggestions from code review
    
    Co-authored-by: zeripath <[email protected]>
    
    Co-authored-by: techknowlogick <[email protected]>
    Co-authored-by: zeripath <[email protected]>
    Co-authored-by: Lauris BH <[email protected]>
    4 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6543353 View commit details
    Browse the repository at this point in the history
  243. Remove newline when highlighting random chunks of code (go-gitea#12180)

    * Remove newline when highlighting random chunks of code
    
    Somewhere when tokenizing a newline gets added to code formatted by chroma. This breaks the case of 'added-code' inside of an 'added-line' in a diff. Just remove any newline when processing chunks of code since we don't need it.
    
    Fixes go-gitea#12172
    
    * don't process empty lines
    
    * This is the proper way to fix this by telling chroma not to add the newline in the first place
    mrsdizzie authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    0b5b3a3 View commit details
    Browse the repository at this point in the history
  244. Enable cloning via Git Wire Protocol v2 over HTTP (go-gitea#12170)

    * Enable Git Wire Protocol v2 over HTTP
    
    * use RunInDirTimeoutEnv
    
    * pass $HOME environment variable to git upload-pack
    billiegoose authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    adc87c5 View commit details
    Browse the repository at this point in the history
  245. Update JS dependencies (go-gitea#12181)

    - Update all dependencies excluding octicons
    - Configure new eslint 7.3.0 rules
    
    Co-authored-by: techknowlogick <[email protected]>
    2 people authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    c1815ef View commit details
    Browse the repository at this point in the history
  246. Fix regression: Gitea commits API again returns commit summaries, not…

    … full messages (go-gitea#12186)
    
    Closes go-gitea#12185
    kbadk authored and Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    bb4c84b View commit details
    Browse the repository at this point in the history
  247. Merge branch 'CLI_users' of https://github.com/ydelafollye/gitea into…

    … CLI_users
    Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    ef132f1 View commit details
    Browse the repository at this point in the history
  248. Revert "Update models/user.go"

    This reverts commit 97d6fc6.
    Yohann Delafollye committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    c7c738f View commit details
    Browse the repository at this point in the history
  249. Configuration menu
    Copy the full SHA
    3990ea2 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. Configuration menu
    Copy the full SHA
    1f47e3d View commit details
    Browse the repository at this point in the history