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

Update to upstream #1

Merged
merged 2,189 commits into from
Dec 14, 2020
Merged

Update to upstream #1

merged 2,189 commits into from
Dec 14, 2020
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Nov 1, 2020

  1. Configuration menu
    Copy the full SHA
    8176ba6 View commit details
    Browse the repository at this point in the history
  2. Remove specific indexer path (#13388)

    Co-authored-by: Lauris BH <lauris@nix.lv>
    sapk and lafriks authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    563165a View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. Fix reactions on code comments (#13390)

    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    CirnoT and lunny authored Nov 2, 2020
    Configuration menu
    Copy the full SHA
    06268dc View commit details
    Browse the repository at this point in the history
  2. Fix 'add code comment' button being invisible all the time (#13389)

    * Fix 'add code comment' button being invisible all the time
    
    * Fix off-center icon
    
    * Remove old JS hover hack
    
    * Show on full-line hover
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    CirnoT and techknowlogick authored Nov 2, 2020
    Configuration menu
    Copy the full SHA
    7f7e7f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc40cdf View commit details
    Browse the repository at this point in the history
  4. Refactor image paste code (#13354)

    Some minor refactors I did while investigating another issue.
    Functionalily should be pretty much the same as before.
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    3 people authored Nov 2, 2020
    Configuration menu
    Copy the full SHA
    842a757 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bcb94ed View commit details
    Browse the repository at this point in the history
  6. Add the tag list page to the release page (#12096)

    * Add the tag list page to the release page
    
    * Add the tags list view
    * Add the delete tag way on ui
    * Not delete tag and clear message when delete a release
    
    Signed-off-by: a1012112796 <1012112796@qq.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: zeripath <art27@cantab.net>
    
    * fix ui
    
    * Add to header
    
    * ui
    
    * permission
    
    * ui
    
    * Update options/locale/locale_en-US.ini
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    
    * tweaks
    
    * monospace commit hashes
    
    * Add read permission check
    
    * fix permission
    
    * fix nit
    
    * Update web_src/less/_base.less
    
    Co-authored-by: silverwind <me@silverwind.io>
    
    * ui fixes
    
    * title tweaks
    
    * fix lint
    
    * fix test
    
    * fix test and some ui nits
    
    * Apply suggestions from code review
    
    Co-authored-by: silverwind <me@silverwind.io>
    
    Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
    Co-authored-by: zeripath <art27@cantab.net>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: silverwind <me@silverwind.io>
    5 people authored Nov 2, 2020
    Configuration menu
    Copy the full SHA
    b687707 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2020

  1. [Vendor] update macaron related (#13409)

    * Vendor: update gitea.com/macaron/session to a177a270
    
    * make vendor
    
    * Vendor: update gitea.com/macaron/macaron to 0db5d458
    
    * make vendor
    
    * Vendor: update gitea.com/macaron/cache to 905232fb
    
    * make vendor
    
    * Vendor: update gitea.com/macaron/i18n to 4ca3dd0c
    
    * make vendor
    
    * Vendor: update gitea.com/macaron/gzip to efa5e847
    
    * make vendor
    
    * Vendor: update gitea.com/macaron/captcha to e8597820
    
    * make vendor
    6543 authored Nov 3, 2020
    Configuration menu
    Copy the full SHA
    70ea230 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be880d4 View commit details
    Browse the repository at this point in the history
  3. Fixed git args duplication (#13411)

    Because newGit() invoked twice (inside PreInstallInit() and
    GlobalInit()) and git parameters is global object, all
    git commands call with duplicated args
    `-c credential.helper= -c protocol.version=2`
    POPSuL authored Nov 3, 2020
    Configuration menu
    Copy the full SHA
    7d16e6d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fa8492f View commit details
    Browse the repository at this point in the history
  5. Fix bug on release publisherid migrations (#13410)

    Co-authored-by: John Olheiser <john.olheiser@gmail.com>
    lunny and jolheiser authored Nov 3, 2020
    Configuration menu
    Copy the full SHA
    afb3a5c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    951a333 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. Fix whitespace rendering in diff (#13415)

    - Introduce new .code-inner class that sets the CSS attributes on
    rendered code lines like view,blame and diff.
    - Rename .wrap class to .word-break to reflect what it actually does
    - Remove .raw which was only used on webhook page
    - Set white-space: pre-wrap except on blame where it can break the
    layout
    
    Fixes: #13406
    silverwind authored Nov 4, 2020
    Configuration menu
    Copy the full SHA
    62719cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59c3cf6 View commit details
    Browse the repository at this point in the history
  3. Add missing full names when DEFAULT_SHOW_FULL_NAME is enabled (#13417)

    Co-authored-by: John Olheiser <john.olheiser@gmail.com>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    3 people authored Nov 4, 2020
    Configuration menu
    Copy the full SHA
    fb756e7 View commit details
    Browse the repository at this point in the history
  4. Replies to outdated code comments should also be outdated (#13217)

    * When replying to an outdated comment it should not appear on the files page
    
    This happened because the comment took the latest commitID as its base instead of the
    reviewID that it was replying to.
    
    There was also no way of creating an already outdated comment - and a
    reply to a review on an outdated line should be outdated.
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * fix test
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    zeripath and techknowlogick authored Nov 4, 2020
    Configuration menu
    Copy the full SHA
    3cab3be View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dd882f6 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2020

  1. Alternative fix for HTML diff entity split (#13425)

    * Alternative fix for HTML diff entity split
    
    This commit both reverts PR #13357 and uses the exiting implementation alredy used for spans to fix the same issue. That PR duplicates most of logic that is already present elsewhere and still was failing for some cases. This should be simpler as it uses the existing logic that already works for <span>s being split apart.
    
    Added both test cases as well.
    
    * Update gitdiff_test.go
    
    * fmt
    
    * entity can have uppercase letter, also add detailed comment per @zeripath
    mrsdizzie authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    d7e0983 View commit details
    Browse the repository at this point in the history
  2. Various style tweaks (#13418)

    - Change code review '+' to SVG and increase size slightly
    - Set placeholder color in both themes
    - Set proper font for textareas
    - Fix black code in arc-green
    - Various arc-green fixes
    silverwind authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    05efb33 View commit details
    Browse the repository at this point in the history
  3. Tags cleanup (#13428)

    * Tags cleanup
    
    Signed-off-by: jolheiser <john.olheiser@gmail.com>
    
    * fmt
    
    Signed-off-by: jolheiser <john.olheiser@gmail.com>
    jolheiser authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    7c68ac8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b636bd View commit details
    Browse the repository at this point in the history
  5. Rework focused comment styling (#13434)

    Had to tweak a few borders to make it work properly in all cases, also
    added .comment-body class to specifically target that body.
    silverwind authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    eba0ac5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3c7908b View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2020

  1. Configuration menu
    Copy the full SHA
    35cc82a View commit details
    Browse the repository at this point in the history
  2. use registry mirror for docker-in-docker (#13438)

    Co-authored-by: Lauris BH <lauris@nix.lv>
    techknowlogick and lafriks authored Nov 6, 2020
    Configuration menu
    Copy the full SHA
    c178a36 View commit details
    Browse the repository at this point in the history
  3. Override fomantic monospace fonts and set size (#13435)

    We did not override those yet so default `monospace` was applied. Also
    added a tweak to slightly reduce font size because monospace fonts
    usually render slightly larger than proportional ones.
    
    Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Nov 6, 2020
    Configuration menu
    Copy the full SHA
    eebaa81 View commit details
    Browse the repository at this point in the history
  4. Vendor Update Go Libs (#13444)

    * denisenkom/go-mssqldb untagged -> v0.9.0
    
    * github.com/editorconfig/editorconfig-core-go v2.3.7 -> v2.3.8
    
    * github.com/go-testfixtures/testfixtures v3.4.0 -> v3.4.1
    
    * github.com/mholt/archiver v3.3.2 -> v3.5.0
    
    * github.com/olivere/elastic v7.0.20 -> v7.0.21
    
    * github.com/urfave/cli v1.22.4 -> v1.22.5
    
    * github.com/xanzy/go-gitlab v0.38.1 -> v0.39.0
    
    * github.com/yuin/goldmark-meta untagged -> v1.0.0
    
    * github.com/ethantkoenig/rupture 0a76f03a811a -> c3b3b810dc77
    
    * github.com/jaytaylor/html2text 8fb95d837f7d -> 3577fbdbcff7
    
    * github.com/kballard/go-shellquote cd60e84ee657 -> 95032a82bc51
    
    * github.com/msteinert/pam 02ccfbfaf0cc -> 913b8f8cdf8b
    
    * github.com/unknwon/paginater 7748a72e0141 -> 042474bd0eae
    
    * CI.restart()
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    6543 and techknowlogick authored Nov 6, 2020
    Configuration menu
    Copy the full SHA
    30ce373 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2020

  1. Add docs command (#13429)

    Signed-off-by: jolheiser <john.olheiser@gmail.com>
    jolheiser authored Nov 7, 2020
    Configuration menu
    Copy the full SHA
    172eca1 View commit details
    Browse the repository at this point in the history
  2. updateSize when create a repo with init commit (#13441)

    Signed-off-by: a1012112796 <1012112796@qq.com>
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    a1012112796 and lunny authored Nov 7, 2020
    Configuration menu
    Copy the full SHA
    82cf67a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48f8c5e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ed47da2 View commit details
    Browse the repository at this point in the history
  5. Add Vue linting (#13447)

    * Add Vue linting
    
    Turns out the .vue files were not linted at all, so I added that as well
    as re-indented the file to 2-space and fixed all reasonable issues that
    cam up except one case of a unintended side effect for which I have no
    idea how to fix it, so the rule was disabled.
    
    * misc tweaks
    
    * update lockfile
    
    * use overrides to include .vue files
    
    * treat warnings as errors on lint-frontend
    
    * also treat stylelint warnings as errors
    
    * use equal sign syntax
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    3 people authored Nov 7, 2020
    Configuration menu
    Copy the full SHA
    7c47e24 View commit details
    Browse the repository at this point in the history
  6. Update JS dependencies (#13455)

    - Update all JS dependencies minus Webpack
    - Add postcss again to avoid warnings about missing peerDependencies
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Nov 7, 2020
    Configuration menu
    Copy the full SHA
    1b65536 View commit details
    Browse the repository at this point in the history
  7. [RFC] Make archival asynchronous (#11296)

    * Make archival asynchronous
    
    The prime benefit being sought here is for large archives to not
    clog up the rendering process and cause unsightly proxy timeouts.
    As a secondary benefit, archive-in-progress is moved out of the
    way into a /tmp file so that new archival requests for the same
    commit will not get fulfilled based on an archive that isn't yet
    finished.
    
    This asynchronous system is fairly primitive; request comes in, we'll
    spawn off a new goroutine to handle it, then we'll mark it as done.
    Status requests will see if the file exists in the final location,
    and report the archival as done when it exists.
    
    Fixes #11265
    
    * Archive links: drop initial delay to three-quarters of a second
    
    Some, or perhaps even most, archives will not take all that long to archive.
    The archive process starts as soon as the download button is initially
    clicked, so in theory they could be done quite quickly.  Drop the initial
    delay down to three-quarters of a second to make it more responsive in the
    common case of the archive being quickly created.
    
    * archiver: restructure a little bit to facilitate testing
    
    This introduces two sync.Cond pointers to the archiver package. If they're
    non-nil when we go to process a request, we'll wait until signalled (at all)
    to proceed. The tests will then create the sync.Cond so that it can signal
    at-will and sanity-check the state of the queue at different phases.
    
    The author believes that nil-checking these two sync.Cond pointers on every
    archive processing will introduce minimal overhead with no impact on
    maintainability.
    
    * gofmt nit: no space around binary + operator
    
    * services: archiver: appease golangci-lint, lock queueMutex
    
    Locking/unlocking the queueMutex is allowed, but not required, for
    Cond.Signal() and Cond.Broadcast().  The magic at play here is just a little
    too much for golangci-lint, as we take the address of queueMutex and this is
    mostly used in archiver.go; the variable still gets flagged as unused.
    
    * archiver: tests: fix several timing nits
    
    Once we've signaled a cond var, it may take some small amount of time for
    the goroutines released to hit the spot we're wanting them to be at. Give
    them an appropriate amount of time.
    
    * archiver: tests: no underscore in var name, ungh
    
    * archiver: tests: Test* is run in a separate context than TestMain
    
    We must setup the mutex/cond variables at the beginning of any test that's
    going to use it, or else these will be nil when the test is actually ran.
    
    * archiver: tests: hopefully final tweak
    
    Things got shuffled around such that we carefully build up and release
    requests from the queue, so we can validate the state of the queue at each
    step. Fix some assertions that no longer hold true as fallout.
    
    * repo: Download: restore some semblance of previous behavior
    
    When archival was made async, the GET endpoint was only useful if a previous
    POST had initiated the download. This commit restores the previous behavior,
    to an extent; we'll now submit the archive request there and return a
    "202 Accepted" to indicate that it's processing if we didn't manage to
    complete the request within ~2 seconds of submission.
    
    This lets a client directly GET the archive, and gives them some indication
    that they may attempt to GET it again at a later time.
    
    * archiver: tests: simplify a bit further
    
    We don't need to risk failure and use time.ParseDuration to get 2 *
    time.Second.
    
    else if isn't really necessary if the conditions are simple enough and lead
    to the same result.
    
    * archiver: tests: resolve potential source of flakiness
    
    Increase all timeouts to 10 seconds; these aren't hard-coded sleeps, so
    there's no guarantee we'll actually take that long. If we need longer to
    not have a false-positive, then so be it.
    
    While here, various assert.{Not,}Equal arguments are flipped around so that
    the wording in error output reflects reality, where the expected argument is
    second and actual third.
    
    * archiver: setup infrastructure for notifying consumers of completion
    
    This API will *not* allow consumers to subscribe to specific requests being
    completed, just *any* request being completed. The caller is responsible for
    determining if their request is satisfied and waiting again if needed.
    
    * repo: archive: make GET endpoint synchronous again
    
    If the request isn't complete, this endpoint will now submit the request and
    wait for completion using the new API. This may still be susceptible to
    timeouts for larger repos, but other endpoints now exist that the web
    interface will use to negotiate its way through larger archive processes.
    
    * archiver: tests: amend test to include WaitForCompletion()
    
    This is a trivial one, so go ahead and include it.
    
    * archiver: tests: fix test by calling NewContext()
    
    The mutex is otherwise uninitialized, so we need to ensure that we're
    actually initializing it if we plan to test it.
    
    * archiver: tests: integrate new WaitForCompletion a little better
    
    We can use this to wait for archives to come in, rather than spinning and
    hoping with a timeout.
    
    * archiver: tests: combine numQueued declaration with next-instruction assignment
    
    * routers: repo: reap unused archiving flag from DownloadStatus()
    
    This had some planned usage before, indicating whether this request
    initiated the archival process or not. After several rounds of refactoring,
    this use was deemed not necessary for much of anything and got boiled down
    to !complete in all cases.
    
    * services: archiver: restructure to use a channel
    
    We now offer two forms of waiting for a request:
    - WaitForCompletion: wait for completion with no timeout
    - TimedWaitForCompletion: wait for completion with timeout
    
    In both cases, we wait for the given request's cchan to close; in the latter
    case, we do so with the caller-provided timeout. This completely removes the
    need for busy-wait loops in Download/InitiateDownload, as it's fairly clean
    to wait on a channel with timeout.
    
    * services: archiver: use defer to unlock now that we can
    
    This previously carried the lock into the goroutine, but an intermediate
    step just added the request to archiveInProgress outside of the new
    goroutine and removed the need for the goroutine to start out with it.
    
    * Revert "archiver: tests: combine numQueued declaration with next-instruction assignment"
    
    This reverts commit bcc5214.
    
    Revert "archiver: tests: integrate new WaitForCompletion a little better"
    
    This reverts commit 9fc8bed.
    
    Revert "archiver: tests: fix test by calling NewContext()"
    
    This reverts commit 709c356.
    
    Revert "archiver: tests: amend test to include WaitForCompletion()"
    
    This reverts commit 75261f5.
    
    * archiver: tests: first attempt at WaitForCompletion() tests
    
    * archiver: tests: slight improvement, less busy-loop
    
    Just wait for the requests to complete in order, instead of busy-waiting
    with a timeout.  This is slightly less fragile.
    
    While here, reverse the arguments of a nearby assert.Equal() so that
    expected/actual are correct in any test output.
    
    * archiver: address lint nits
    
    * services: archiver: only close the channel once
    
    * services: archiver: use a struct{} for the wait channel
    
    This makes it obvious that the channel is only being used as a signal,
    rather than anything useful being piped through it.
    
    * archiver: tests: fix expectations
    
    Move the close of the channel into doArchive() itself; notably, before these
    goroutines move on to waiting on the Release cond.
    
    The tests are adjusted to reflect that we can't WaitForCompletion() after
    they've already completed, as WaitForCompletion() doesn't indicate that
    they've been released from the queue yet.
    
    * archiver: tests: set cchan to nil for comparison
    
    * archiver: move ctx.Error's back into the route handlers
    
    We shouldn't be setting this in a service, we should just be validating the
    request that we were handed.
    
    * services: archiver: use regex to match a hash
    
    This makes sure we don't try and use refName as a hash when it's clearly not
    one, e.g. heads/pull/foo.
    
    * routers: repo: remove the weird /archive/status endpoint
    
    We don't need to do this anymore, we can just continue POSTing to the
    archive/* endpoint until we're told the download's complete. This avoids a
    potential naming conflict, where a ref could start with "status/"
    
    * archiver: tests: bump reasonable timeout to 15s
    
    * archiver: tests: actually release timedReq
    
    * archiver: tests: run through inFlight instead of manually checking
    
    While we're here, add a test for manually re-processing an archive that's
    already been complete. Re-open the channel and mark it incomplete, so that
    doArchive can just mark it complete again.
    
    * initArchiveLinks: prevent default behavior from clicking
    
    * archiver: alias gitea's context, golang context import pending
    
    * archiver: simplify logic, just reconstruct slices
    
    While the previous logic was perhaps slightly more efficient, the
    new variant's readability is much improved.
    
    * archiver: don't block shutdown on waiting for archive
    
    The technique established launches a goroutine to do the wait,
    which will close a wait channel upon termination. For the timeout
    case, we also send back a value indicating whether the timeout was
    hit or not.
    
    The timeouts are expected to be relatively small, but still a multi-
    second delay to shutdown due to this could be unfortunate.
    
    * archiver: simplify shutdown logic
    
    We can just grab the shutdown channel from the graceful manager instead of
    constructing a channel to halt the caller and/or pass a result back.
    
    * Style issues
    
    * Fix mis-merge
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    3 people authored Nov 7, 2020
    Configuration menu
    Copy the full SHA
    e461f08 View commit details
    Browse the repository at this point in the history
  8. Frontpage and Heatmap CSS tweaks (#13443)

    * Frontpage and Heatmap CSS tweaks
    
    - Make heatmap use primary color
    - Defined secondary color shades
    - Set various blue colors to CSS vars
    - Misc tweaks
    
    * remove a useless variable
    
    * remove another useless variable
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    silverwind and lafriks authored Nov 7, 2020
    Configuration menu
    Copy the full SHA
    9aa8693 View commit details
    Browse the repository at this point in the history
  9. Fix double border introduced by #13434 (#13457)

    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: zeripath <art27@cantab.net>
    3 people authored Nov 7, 2020
    Configuration menu
    Copy the full SHA
    f719e2e View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2020

  1. Fix colors and triangles in issues (#13463)

    - Fix misaligned triangles
    - Fix triangle and header background colors
    - Adjust timeline color
    silverwind authored Nov 8, 2020
    Configuration menu
    Copy the full SHA
    8411cb5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4e0b28 View commit details
    Browse the repository at this point in the history
  3. Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links…

    …, Show only certain branches, (#12766)
    
    * Multiple GitGraph improvements.
    
    Add backend support for excluding PRs, selecting branches and files.
    
    Fix #10327
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * as per @silverwind
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * as per @silverwind
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Only show refs in dropdown we display on the graph
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * as per @silverwind
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * use flexbox for ui header
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Move Hide Pull Request button to the dropdown
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Add SHA and user pictures
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * fix test
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * fix test 2
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * fixes
    
    * async
    
    * more tweaks
    
    * use tabs in tmpl
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * remove commented thing
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * fix linting
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Update web_src/js/features/gitgraph.js
    
    Co-authored-by: silverwind <me@silverwind.io>
    
    * graph tweaks
    
    * more tweaks
    
    * add title
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * fix loading indicator z-index and position
    
    Co-authored-by: silverwind <me@silverwind.io>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    4 people authored Nov 8, 2020
    Configuration menu
    Copy the full SHA
    c05a8ab View commit details
    Browse the repository at this point in the history
  4. Override fonts using Fomantic config (#13465)

    Saves is from doing it manually and saves a few CSS bytes.
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Nov 8, 2020
    Configuration menu
    Copy the full SHA
    049a87c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    004b40d View commit details
    Browse the repository at this point in the history
  6. 2nd attempt at re-request APIMergePullRequest (#13468)

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored Nov 8, 2020
    Configuration menu
    Copy the full SHA
    8ae5548 View commit details
    Browse the repository at this point in the history
  7. Add note about installation on kubernetes to docs (#13469)

    Co-authored-by: zeripath <art27@cantab.net>
    techknowlogick and zeripath authored Nov 8, 2020
    Configuration menu
    Copy the full SHA
    8a7101f View commit details
    Browse the repository at this point in the history
  8. Make TestCreateBranch and TestRepoCommitsSearch less noisy (#13471)

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    zeripath and techknowlogick authored Nov 8, 2020
    Configuration menu
    Copy the full SHA
    271ab63 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1213301 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2020

  1. Comments on review should have the same sha (#13448)

    * When replying to an outdated comment it should not appear on the files page
    
    This happened because the comment took the latest commitID as its base instead of the
    reviewID that it was replying to.
    
    There was also no way of creating an already outdated comment - and a
    reply to a review on an outdated line should be outdated.
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * fix test
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Fix broken migration
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * fix mssql
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Create temporary table because ... well MSSQL ...
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Create temporary table because ... well MSSQL ...
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Create temporary table because ... well MSSQL ...
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * fix mssql
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * move session within the batch
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * regen the sqlcmd each time round the loop
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * as per @lunny
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    3 people authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    b091c99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef2ffc6 View commit details
    Browse the repository at this point in the history
  3. Change search and filter icons to SVG (#13473)

    Unfortunately, the Fomantic CSS relies on i.icon instead of .icon so a
    wrapper is necessary for these with an accompanying class to center the
    icon.
    silverwind authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    8bae34c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ffa712e View commit details
    Browse the repository at this point in the history
  5. Fix panic bug in handling multiple references in commit (#13486)

    * Fix panic bug in handling multiple references in commit
    
    The issue lay in determining the position of matches on a second run round
    a commit message in FindAllIssueReferences.
    
    Fix #13483
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Extract function and make testable
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Fix the comment
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * cleaning up the comments a bit more
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    77e5081 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. Fix broken .comment > .content caused by #13457 (#13482)

    Co-authored-by: Lauris BH <lauris@nix.lv>
    CirnoT and lafriks authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    40c4466 View commit details
    Browse the repository at this point in the history
  2. Prevent panic on git blame by limiting lines to 4096 bytes at most (#…

    …13470)
    
    Fix #12440
    Closes #13192
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    zeripath and techknowlogick authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    182b5a0 View commit details
    Browse the repository at this point in the history
  3. Added title and action buttons to Project view page (#13437)

    * Added title and action buttons to Project view page
    
    * Changed octicon for project close action
    
    * Fix indentation in templates/repo/projects/view.tmpl
    
    Co-authored-by: zeripath <art27@cantab.net>
    
    * Fix indentation templates/repo/projects/view.tmpl (2nd)
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: zeripath <art27@cantab.net>
    3 people authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    beab1dd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    542edc2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9155f13 View commit details
    Browse the repository at this point in the history
  6. Fix tooltips and issue dependency styles (#13458)

    - Convert all tooltips to JS-based ones, fixing overflow issues
    - Restyle issue dependencies/dependants
    - Move popup styles to base style
    - CSS Helper tweaks
    - Unify pseudo element selectors and lint for it
    
    Fixes: #13400
    silverwind authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    21d4963 View commit details
    Browse the repository at this point in the history
  7. Switch from SimpleMDE to EasyMDE (#13333)

    * Switch from SimpleMDE to EasyMDE
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * use webpack to webpack the easymde css
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * move css to only css
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * move loading codemirror modes and addons back in to footer.tmpl
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Fix arc-green
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * as per @silverwind
    
    * reinstall codemirror
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    zeripath and lafriks authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    13b8c0b View commit details
    Browse the repository at this point in the history
  8. Make heatmap shades linear (#13500)

    Previously, shades were 50%, 60%, 70%, 80%, 100%. Make them linearily
    increasing instead at 60%, 70%, 80%, 90%, 100%.
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    da4f2c5 View commit details
    Browse the repository at this point in the history
  9. fix: issue tracker link redirection (#13504)

    kudos to @zeripath
    * in case there is a remote issue tracker configured, the git graph view
      PR and issue links now correctly point to the issue tracker location,
      whereas if literally pointing at 'pulls', you could have ended up back
      at the local instance after clicking the link (which, obviously haven't
      had the pull/issue)
    
    Signed-off-by: wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf <a_mirre@utb.cz>
    Configuration menu
    Copy the full SHA
    3400928 View commit details
    Browse the repository at this point in the history
  10. Include OriginalAuthor in Reaction constraint (#13505)

    When migrating repositories with reactions with deleted users, the original
    author id may be -1. This means that it is possible to end up attempting
    to create multiple reactions with the same [ Type, IssueID, CommentID, UserID,
    OriginalAuthorID ] thus breaking the constraints.
    
    On SQLite this appears to cause a deadlock but on other dbs this will
    cause the migration to fail.
    
    This PR extends the constraint to include the original author username
    in the constraint.
    
    Fix #13271
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    3fd060e View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2020

  1. Disallow urlencoded new lines in git protocol paths if there is a port (

    #13521)
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored Nov 11, 2020
    Configuration menu
    Copy the full SHA
    5d932b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6838bac View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. Lazy-load issue reviewers and assignees avatars (#13526)

    The avatars inside the dropdowns were previously fetched every time a
    Pull Request was opened resulting in potential unnecessary downloads.
    This lazy-loads through the newish loading=lazy attribute.
    
    Also did a few minor adjustments on the file.
    silverwind authored Nov 12, 2020
    Configuration menu
    Copy the full SHA
    4117a44 View commit details
    Browse the repository at this point in the history
  2. Form styling adjustments (#13501)

    * Form styling adjustments
    
    - Move all form-related styling to _forms.less
    - Defined new form-related variables
    - Fix spinner on frontpage repo search
    - Add new rounded-* helpers and fix repo search radius
    
    * misc arc green tweaks
    
    Co-authored-by: zeripath <art27@cantab.net>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    4 people authored Nov 12, 2020
    Configuration menu
    Copy the full SHA
    c2e05d9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee7133d View commit details
    Browse the repository at this point in the history
  4. Prevent git operations for inactive users (#13527)

    * prevent git operations for inactive users
    
    * Some fixes
    
    * Deny push to the repositories which's owner is inactive
    
    * deny operations also when user is ProhibitLogin
    
    Co-authored-by: zeripath <art27@cantab.net>
    lunny and zeripath authored Nov 12, 2020
    Configuration menu
    Copy the full SHA
    ff7341b View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2020

  1. Various style fixes (#13534)

    * Various style fixes
    
    - Fix the rest of the monochrome borders for arc-green
    - Fix close icon position on system notice modal and padding
    - Fix selectable table color for arc-green
    
    * proper fix for close icon
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    silverwind and lafriks authored Nov 13, 2020
    Configuration menu
    Copy the full SHA
    0ae35c6 View commit details
    Browse the repository at this point in the history
  2. Introduce go chi web framework as frontend of macaron, so that we can…

    … move routes from macaron to chi step by step (#7420)
    
    * When route cannot be found on chi, go to macaron
    
    * Stick chi version to 1.5.0
    
    * Follow router log setting
    lunny authored Nov 13, 2020
    Configuration menu
    Copy the full SHA
    c296f4f View commit details
    Browse the repository at this point in the history
  3. Reindent manifest.json (#13544)

    Now it's properly indented to 2-space.
    silverwind authored Nov 13, 2020
    Configuration menu
    Copy the full SHA
    a015684 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d0a676c View commit details
    Browse the repository at this point in the history
  5. Fix blame line alignment (#13542)

    We can't wrap code in blame because it's essentially two tables
    side-by-side which will misalign them when one line gets larger.
    
    Fixes: #13540
    Regressed by: #13415
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Nov 13, 2020
    Configuration menu
    Copy the full SHA
    db16275 View commit details
    Browse the repository at this point in the history
  6. proper signature validation (#13523)

    $header_signature could be a typed float (start with 0e and then only numbers) and a float does equal a string when comparing with typed juggle.
    eg: 0e123 != "abc" does return false, but 0e123 !== "abc" returns true.
    
    you previously could circumvent the signature check when providing a header signature in the float format (0e...)
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    3 people authored Nov 13, 2020
    Configuration menu
    Copy the full SHA
    a31a6e3 View commit details
    Browse the repository at this point in the history
  7. Add missed sync branch/tag webhook (#13538)

    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Nov 13, 2020
    Configuration menu
    Copy the full SHA
    dd29ecb View commit details
    Browse the repository at this point in the history
  8. Make heatmap colors more distinct (#13533)

    * Make heatmap colors more distinct
    
    Fixes: #13529
    
    * use opaque colors
    
    * make first color less opaque
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Nov 13, 2020
    Configuration menu
    Copy the full SHA
    3cd00c3 View commit details
    Browse the repository at this point in the history
  9. Use existing analyzer module for language detection for highlighting (#…

    …13522)
    
    * Use existing analyzer module for language detction for highlighting
    
    Thanks @lafriks for pointing out we can reuse existing code for more reliable language detection here.
    
    * Update modules/highlight/highlight.go
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    
    Co-authored-by: zeripath <art27@cantab.net>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    4 people authored Nov 13, 2020
    Configuration menu
    Copy the full SHA
    6280af0 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2020

  1. Fix issue label spacing and hover (#13553)

    Fixes: #13545
    Regressed by: #13458
    silverwind authored Nov 14, 2020
    Configuration menu
    Copy the full SHA
    5c76c5c View commit details
    Browse the repository at this point in the history
  2. unify layout between auth pages (#13547)

    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    noerw and techknowlogick authored Nov 14, 2020
    Configuration menu
    Copy the full SHA
    e16b0e5 View commit details
    Browse the repository at this point in the history
  3. missing quotes in default value slice (#13550)

    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Nov 14, 2020
    Configuration menu
    Copy the full SHA
    a2efcb6 View commit details
    Browse the repository at this point in the history
  4. Use monaco for the git hook editor (#13552)

    Migrate git hook editor to monaco, replacing CodeMirror. Had to do a few
    refactors to make the monaco instantiation generic enough to be of use.
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Nov 14, 2020
    Configuration menu
    Copy the full SHA
    374ff60 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3f3447a View commit details
    Browse the repository at this point in the history
  6. [API] Only Return Json (#13511)

    * Let Branch and Raw Endpoint return json error if not found
    
    * Revert "RM RepoRefByTypeForAPI and move needed parts into GetRawFile directly"
    
    This reverts commit d826d08577b23765cb3c257e7a861191d1aa9a04.
    
    * more similar to RepoRefByType
    
    * dedub-code
    
    * API should just speak JSON
    
    * nice name
    
    Co-authored-by: zeripath <art27@cantab.net>
    6543 and zeripath authored Nov 14, 2020
    Configuration menu
    Copy the full SHA
    7d2700c View commit details
    Browse the repository at this point in the history
  7. Add email validity check (#13475)

    * Improve error feedback for duplicate deploy keys
    
    Instead of a generic HTTP 500 error page, a flash message is rendered
    with the deploy key page template so inform the user that a key with the
    intended title already exists.
    
    * API returns 422 error when key with name exists
    
    * Add email validity checking
    
    Add email validity checking for the following routes:
    [Web interface]
    1. User registration
    2. User creation by admin
    3. Adding an email through user settings
    [API]
    1. POST /admin/users
    2. PATCH /admin/users/:username
    3. POST /user/emails
    
    * Add further tests
    
    * Add signup email tests
    
    * Add email validity check for linking existing account
    
    * Address PR comments
    
    * Remove unneeded DB session
    
    * Move email check to updateUser
    
    Co-authored-by: zeripath <art27@cantab.net>
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    4 people authored Nov 14, 2020
    Configuration menu
    Copy the full SHA
    d025d84 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2020

  1. Add markdown support in organization description (#13549)

    Similarly to how you can write some markdown in user profile description, you can now use the same feature in organization description.
    As discussed in discord.
    kudos to @mrsdizzie and @zeripath 
    
    visualization:
    ![image](https://user-images.githubusercontent.com/61180606/99115919-8004a200-25f3-11eb-8bbd-ab33de2cabb3.png)
    Configuration menu
    Copy the full SHA
    3ea237b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0ed712 View commit details
    Browse the repository at this point in the history
  3. Fix issue label rendering (#13570)

    * Fix issue label rendering
    
    Prevent rendering of inactive labels and make them wrap inline.
    
    Fixes: #13566
    
    * also don't render the placeholder
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    50cbb20 View commit details
    Browse the repository at this point in the history
  4. Enable syntax highlighting for *.tmpl on GitHub (#13571)

    Go templates are syntactically very similar to handlebars, this enabled
    their syntax highlighting on GitHub.
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    7a30e97 View commit details
    Browse the repository at this point in the history
  5. CSS color variables, less bold font weight and more (#13567)

    * CSS color variables, less bold font weight
    
    - Define color variables for fully saturated colors and apply them where
      it made sense
    - Add background color helper classes
    - Globally reduce bold font weight from 700 to 500
    - Remove border from timeline icons
    - Unify dropzone styling
    - Various border style consolidations
    
    * attempt to fix test
    
    * another attempt at tests
    
    * fix contains
    silverwind authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    0de5460 View commit details
    Browse the repository at this point in the history
  6. Render diff stats server-side (#13579)

    Eliminates a flash on page load on the diff stat bars.
    silverwind authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    efcba9b View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. Add tab-size support for Firefox (#13576)

    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    22a8df3 View commit details
    Browse the repository at this point in the history
  2. When building rootless docker image move chown&chmod to build stage (#…

    …13578)
    
    * When building rootless docker image move chown&chmod to build stage
    
    Fixes #13577
    
    * Fix command newlines
    
    * Move chown to COPY command
    
    * Seems to be working also without chmod
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    lafriks and techknowlogick authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    8c2b5fe View commit details
    Browse the repository at this point in the history
  3. Use mount but not register for chi routes (#13555)

    * Use mount but not register for chi routes
    
    * Fix test
    
    * Fix test
    
    * Fix test
    
    * Fix comment
    
    * turn back unnecessary change
    
    * Remove the timout middleware since some operations may spend much time.
    lunny authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    586bfb9 View commit details
    Browse the repository at this point in the history
  4. Fix comment triangles and tweak inline comment margins (#13554)

    - Fix various miscolored comment bubble triangles
    - Tweak padding on inline comment boxes
    silverwind authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    5bd0533 View commit details
    Browse the repository at this point in the history
  5. Migration: Gitlab: Support Subdirectory (#13563)

    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    6543 and techknowlogick authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    77aa742 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    859e3d3 View commit details
    Browse the repository at this point in the history
  7. Fix Fomatic Build (#13595)

    Port of #13593 to 1.14
    silverwind authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    949e3f5 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. Change markdown font weight to 600 (#13584)

    Previously it was reduced globally from 700 to 500 but it actually needs
    to be 600 to match GitHub's rendering.
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: zeripath <art27@cantab.net>
    3 people authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    0a6ce3e View commit details
    Browse the repository at this point in the history
  2. Fix label display on new issues (#13590)

    * Fix label display on new issues
    
    PR #13570 broke label rendering for new issues and pulls because
    missed the fact that the code was relying on the DOM elements being
    toggled by JavaScript.
    
    On top of that, the label rendering for new issues and pull was using
    an outdated template which I consolidated in a new shared template.
    
    * remove wrapper element and style tweaks
    
    * style tweaks
    
    * use shared template for whole label list
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    b838252 View commit details
    Browse the repository at this point in the history
  3. fix media query edge case (#13546)

    * fix media query edge case
    
    was failing for 768px width before
    
    * code review
    
    * define responsive breakpoints as less variables
    
    * add missing variables.less
    
    * rename variables, drop screen constraints
    
    * fix less import
    
    * Apply suggestions from code review
    
    Co-authored-by: silverwind <me@silverwind.io>
    
    * code review
    
    altough it doesnt matter, LESS lazy evals variables
    
    Co-authored-by: zeripath <art27@cantab.net>
    Co-authored-by: silverwind <me@silverwind.io>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    4 people authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    75ebf7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ec5e6c View commit details
    Browse the repository at this point in the history
  5. HTTP cache rework and enable caching for storage assets (#13569)

    This enabled HTTP time-based cache for storage assets, primarily
    avatars. I have not observed If-Modified-Since from browsers during
    tests but I guess it's good to support regardless.
    
    It introduces a new generic httpcache module that can handle both
    time-based and etag-based caching.
    
    Additionally, manifest.json and robots.txt are now also cachable.
    silverwind authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    0615b66 View commit details
    Browse the repository at this point in the history
  6. Docs: Installation from package (#13607)

    * add Arch Linux
    
    * add Arch Linux ARM
    
    * remove Debian
    
    There is no package in any of Debian's official repositories as of 17.11.2020 17:55 UTC.
    
    * shrink Alpine Linux
    
    * Update docs/content/doc/installation/from-package.en-us.md
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: techknowlogick <matti@mdranta.net>
    3 people authored Nov 17, 2020
    Configuration menu
    Copy the full SHA
    76cdf3b View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2020

  1. Configuration menu
    Copy the full SHA
    5a991ec View commit details
    Browse the repository at this point in the history
  2. Config lock bot (#13624)

    * config lock bot
    
    * Update .github/lock.yml
    6543 authored Nov 18, 2020
    Configuration menu
    Copy the full SHA
    d02c350 View commit details
    Browse the repository at this point in the history
  3. Remove fetch request from heatmap (#13623)

    * Remove fetch request from heatmap
    
    Render heatmap data directly to HTML, eliminating one HTTP request on
    frontpage and user profile. Also added min-height to the container so
    the page content will no longer move after loading.
    
    * rename and error display
    
    * also log the js error
    
    * add error handler
    
    * remove useless inline style and hide divider on small screens
    
    * Update routers/user/home.go
    
    * Update routers/user/profile.go
    silverwind authored Nov 18, 2020
    Configuration menu
    Copy the full SHA
    12c2efb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6626a04 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2020

  1. finaly fix gitlab migration with subdir (#13629)

    * finaly fix #13535
    
    * add logging
    6543 authored Nov 19, 2020
    Configuration menu
    Copy the full SHA
    ad2a288 View commit details
    Browse the repository at this point in the history
  2. specific version in docker compose (#13644)

    * specific version in docker compose
    
    fix #13643
    
    * update latest version
    techknowlogick authored Nov 19, 2020
    Configuration menu
    Copy the full SHA
    64bd5f4 View commit details
    Browse the repository at this point in the history
  3. Fix issue/pull request list assignee filter (#13647)

    * Fixes #13641 - Filtering in Pull Request kept all the time.
     - The URL contains all the time the assignee in cases
       where once a type has been selected.
    
    Signed-off-by: Karl Heinz Marbaise <kama@soebes.de>
    
    * Followup Fixes #13641 - Filtering in Pull Request kept all the time.
     - The URL contains all the time the assignee in cases
       where once a type has been selected.
     - The same behaviour was observed issues viewed via milestones.
    
    Signed-off-by: Karl Heinz Marbaise <kama@soebes.de>
    khmarbaise authored Nov 19, 2020
    Configuration menu
    Copy the full SHA
    702e82d View commit details
    Browse the repository at this point in the history
  4. finaly fix gitlab migration with subdir 2.0 (#13646)

    * final fix 2.0?
    
    * ignore Approvals for pulls if not found
    
    * CI.restart()
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    6543 and lafriks authored Nov 19, 2020
    Configuration menu
    Copy the full SHA
    24b3b21 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2020

  1. API: Admin EditUser: Make FullName, Email, Website & Location optional (

    #13562)
    
    * API: Admin EditUser: Make FullName, Email, Website & Location optional
    
    * update swagger docs
    
    * add Tests
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    6543 and lafriks authored Nov 20, 2020
    Configuration menu
    Copy the full SHA
    1bb5c09 View commit details
    Browse the repository at this point in the history
  2. skip email validation on empty string (#13627)

    - move validation into its own function
    - use a session for UpdateUserSetting
    6543 authored Nov 20, 2020
    Configuration menu
    Copy the full SHA
    f915161 View commit details
    Browse the repository at this point in the history
  3. Refactor combine label comments with tests (#13619)

    Co-authored-by: Lauris BH <lauris@nix.lv>
    lunny and lafriks authored Nov 20, 2020
    Configuration menu
    Copy the full SHA
    c5f6f8f View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2020

  1. Improve strings (#13548)

    * Correct oauth signup title
    
    When linking accounts, a password is not required anymore,
    so this string becomes confusing
    
    * string "remenber me": be more precise
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Nov 21, 2020
    Configuration menu
    Copy the full SHA
    b651409 View commit details
    Browse the repository at this point in the history
  2. Handle incomplete diff files properly (#13662)

    * Handle incomplete diff files properly
    
    The code for parsing diff hunks has a bug whereby a very long line
    in a very long diff would not be completely read leading to an unexpected
    character.
    
    This PR ensures that the line is completely cleared
    
    Fix #13602
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Also allow git max line length <4096
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Add test case
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    zeripath and techknowlogick authored Nov 21, 2020
    Configuration menu
    Copy the full SHA
    45ca2e4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de1e4b2 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2020

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

Commits on Nov 23, 2020

  1. Configuration menu
    Copy the full SHA
    247ab6a View commit details
    Browse the repository at this point in the history
  2. Update _repository.less (#13672)

    Co-authored-by: Lauris BH <lauris@nix.lv>
    CirnoT and lafriks authored Nov 23, 2020
    Configuration menu
    Copy the full SHA
    78204a7 View commit details
    Browse the repository at this point in the history
  3. [API] Add more filters to issues search (#13514)

    * Add time filter for issue search
    
    * Add limit option for paggination
    
    * Add Filter for: Created by User, Assigned to User, Mentioning User
    
    * update swagger
    
    * Add Tests for limit, before & since
    6543 authored Nov 23, 2020
    Configuration menu
    Copy the full SHA
    f88a2ea View commit details
    Browse the repository at this point in the history
  4. Fix heatmap rendering in Chrome and Safari (#13645)

    * Fix heatmap rendering in Chrome and Safari
    
    Apparently SVG inside flexbox renders slightly different across browsers
    where Firefox would stretch to fit the parent while Chrome and safari
    wouldn't. Stretch the SVG to the width of the parent for consistent
    rendering.
    
    Also did a few minor tweaks on the min-height of the box so it takes up
    less space on smaller responsive breakpoints.
    
    Fixes: #13634
    Fixes: #13637
    
    * position tweak
    
    Co-authored-by: zeripath <art27@cantab.net>
    silverwind and zeripath authored Nov 23, 2020
    Configuration menu
    Copy the full SHA
    24330f7 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2020

  1. CSS table fixes (#13692)

    * CSS table fixes
    
    Override the right fomantic selectors.
    
    Fixes: #13690
    
    * use flexbox
    silverwind authored Nov 24, 2020
    Configuration menu
    Copy the full SHA
    00ec651 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2020

  1. Issue and Pulls lists rework (#13594)

    * Issue and Pulls lists rework
    
    Reorganized and restyled the issue and pull request lists.
    
    * color and layout tweaks
    
    * use new issue list on dashboard as well
    
    * move pagination into template
    
    * misc tweaks
    
    * fix label hover
    
    * fix milestone list
    
    * fix discrepancies between issue and milestone list, add new 'merge' helper
    
    * fmt
    
    * simplify merge helper
    
    * remove whitespace
    
    * fix startIndex
    
    * further simplify dict merging
    
    * rename helper to 'mergeinto' for clarity
    
    * allow bottom-row to wrap
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    silverwind and lafriks authored Nov 25, 2020
    Configuration menu
    Copy the full SHA
    6d93a3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72e62ac View commit details
    Browse the repository at this point in the history
  3. Support shortened commit SHAs in URLs (#13686)

    * Support shortened commit SHAs in URLs and API
    
    * Add test case for short sha
    
    * Fix format
    
    * Revert API support
    
    * Add canonical link headers for short commit ID URLs
    lafriks authored Nov 25, 2020
    Configuration menu
    Copy the full SHA
    57fa9b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    03fa2ec View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. CSS navbar and color tweaks (#13609)

    * CSS and color tweaks
    
    - Unify navbar-style menus
    - Fix admin bar overlapping menu bar
    - Fixes file edit comment box
    - Fix double border on review box
    - Fix review timeline icons
    
    * Many fixes to new-menu and navbar layout enhancements
    
    * misc settings fixes
    
    * navbar tweak
    
    * fix pr tabs
    
    * branch tag and arc color tweaks
    silverwind authored Nov 26, 2020
    Configuration menu
    Copy the full SHA
    b2de034 View commit details
    Browse the repository at this point in the history
  2. Prevent clone protocol button flash on page load (#13626)

    * Prevent clone protocol button flash on page load
    
    Previously, the saved active buttons would flash on page load because if
    delay involved in JS execution. Prevent these flashes bydisabling
    transitions on page load and run the script right after. It's not an
    ideal solution (which would require server-side storage of user
    settings like this) but I'd say better than before.
    
    * add defer
    
    Co-authored-by: zeripath <art27@cantab.net>
    silverwind and zeripath authored Nov 26, 2020
    Configuration menu
    Copy the full SHA
    7bc0c8c View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2020

  1. Increment skip to avoid infini-loop (#13703)

    Signed-off-by: jolheiser <john.olheiser@gmail.com>
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    jolheiser and lafriks authored Nov 27, 2020
    Configuration menu
    Copy the full SHA
    979fbe0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f13e07 View commit details
    Browse the repository at this point in the history
  3. Enable linting of JS inside templates (#13708)

    Indentation-related rules are disabled because indent templates with
    tabs but our lint rules expect spaces.
    
    Also had to exclude a few files where using template variables in the JS
    is causing syntax errors for the JS parser. I don't think there's a way
    to solve this otherwise.
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    silverwind and lafriks authored Nov 27, 2020
    Configuration menu
    Copy the full SHA
    7ab3633 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2020

  1. Fixed the log path on fail2ban page (#13726)

    * Changed path from /home/git/gitea/log/gitea.log to
      /var/lib/gitea/log/gitea.log on the fail2ban page, so the log matches
      the instructions found on the following binary installation page:
      https://docs.gitea.io/en-us/install-from-binary/#create-required-directory-structure
    Jesse Laprade authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    5b75f17 View commit details
    Browse the repository at this point in the history
  2. Handle and propagate errors when checking if paths are Dirs, Files or…

    … Exist (#13186)
    
    * Ensure errors from IsDir propagate
    
    * Handle errors when checking IsFile
    
    * Handle and propagate errors from IsExist
    
    * Update modules/templates/static.go
    
    * Update modules/templates/static.go
    
    * Return after ctx.ServerError
    
    * Apply suggestions from code review
    
    * Fix tests
    
    The previous merge managed to break repo_form.go
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    3 people authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    742e21a View commit details
    Browse the repository at this point in the history
  3. Format files (#13698)

    * align "make help"
    
    * format
    
    * untouch build/generate-svg.js
    
    * untouch .eslintrc
    
    * combine editorconfig's
    
    * rm editorconfig
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    e7b47c5 View commit details
    Browse the repository at this point in the history
  4. Fix review request notification issue link when external issue tracke…

    …r is enabled (#13723)
    
    The issue.HTMLURL() automatically gets converted to the expected #issue format by the post processors
    jpraet authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    48c9865 View commit details
    Browse the repository at this point in the history
  5. ui: show 'owner' tag for real owner (#13689)

    * ui: show 'owner' tag for real owner
    
    Signed-off-by: a1012112796 <1012112796@qq.com>
    
    * Update custom/conf/app.example.ini
    
    * simplify logic
    
    fix logic
    fix a small bug about original author
    
    * remove system manager tag
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    3 people authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    1e5247d View commit details
    Browse the repository at this point in the history
  6. Fix missing stylesheets on installation page (#13736)

    When running gitea for the first time, the stylesheets for the
    installation page are broken since the middleware that statically serves
    stylesheets does not get executed by chi. This is because if no handlers
    are registered in chi, it will drop all middleware.
    
    This commit introduces a "dummy" handler to deal with that quirk.
    
    Closes #13725
    
    Thanks: Lunny Xiao <xiaolunwen@gmail.com> for finding the quirk
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    shilch and lunny authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    8c996c6 View commit details
    Browse the repository at this point in the history
  7. Fix .editorconfig (#13735)

    These whitespaces introduced in #13698 seem to break my editorconfig
    plugin in sublime text resulting in tab-indented files getting converted
    to spaces on save.
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    3 people authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    7ed5bf8 View commit details
    Browse the repository at this point in the history
  8. Add block on official review requests branch protection (#13705)

    Signed-off-by: a1012112796 <1012112796@qq.com>
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    a1012112796 and lafriks authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    9c26dc1 View commit details
    Browse the repository at this point in the history
  9. Push HEAD instead of master when initialising repositories (#13719)

    * Push HEAD instead of master when initialising repositories
    
    It is possible on modern gits to change the initial branch to something other than
    master. This breaks initialising repositories because we assume that the initial
    branch is going to be master unless specifically changed.
    
    This PR simply bypasses this issue by pushing the HEAD rather than the master branch.
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Update modules/repository/init.go
    
    Co-authored-by: mrsdizzie <info@mrsdizzie.com>
    
    Co-authored-by: mrsdizzie <info@mrsdizzie.com>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    911d370 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4f82a0b View commit details
    Browse the repository at this point in the history
  11. Reduce number of docker pulls on ci (#13739)

    Should reduce errors like https://drone.gitea.io/go-gitea/gitea/32989/7/2
    by only pulling each distinct image once per pipeline.
    
    Co-authored-by: zeripath <art27@cantab.net>
    silverwind and zeripath authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    e82150d View commit details
    Browse the repository at this point in the history
  12. Verify password for local-account activation (#13631)

    * Verify passwords for activation
    
    This is to prevent 3rd party activation
    
    * Fix function comment
    
    * only veify password on local-account aktivation
    
    * fix lint
    
    * Update templates/user/auth/activate.tmpl
    
    Co-authored-by: silverwind <me@silverwind.io>
    
    Co-authored-by: Andreas Shimokawa <shimokawa@fsfe.org>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: silverwind <me@silverwind.io>
    Co-authored-by: zeripath <art27@cantab.net>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    6 people authored Nov 28, 2020
    Configuration menu
    Copy the full SHA
    0f14f69 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2020

  1. Add Allow-/Block-List for Migrate & Mirrors (#13610)

    * add black list and white list support for migrating repositories
    
    * fix fmt
    
    * fix lint
    
    * fix vendor
    
    * fix modules.txt
    
    * clean diff
    
    * specify log message
    
    * use blocklist/allowlist
    
    * allways use lowercase to match url
    
    * Apply allow/block
    
    * Settings: use existing "migrations" section
    
    * convert domains lower case
    
    * dont store unused value
    
    * Block private addresses for migration by default
    
    * fix lint
    
    * use proposed-upstream func to detect private IP addr
    
    * a nit
    
    * add own error for blocked migration, add tests, imprufe api
    
    * fix test
    
    * fix-if-localhost-is-ipv4
    
    * rename error & error message
    
    * rename setting options
    
    * Apply suggestions from code review
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    Co-authored-by: zeripath <art27@cantab.net>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    4 people authored Nov 29, 2020
    Configuration menu
    Copy the full SHA
    b2435af View commit details
    Browse the repository at this point in the history
  2. Fix label styles affecting shabox (#13734)

    * Fix label styles affecting shabox
    
    Add common parent .labels-list to issue labels lists to prevent
    affecting other elements.
    
    Fixes: #13704
    
    * Update templates/shared/issuelist.tmpl
    
    * Update templates/shared/issuelist.tmpl
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    silverwind and lunny authored Nov 29, 2020
    Configuration menu
    Copy the full SHA
    da4bb6f View commit details
    Browse the repository at this point in the history
  3. Dropdowns, Labels fixes and more CSS tweaks (#13733)

    * Dropdowns and Labels fixes
    
    - Rework dropdown, menu and label styles
    - Improve issue sidebar milestone and label sections
    - Fix archived repo and private org badge
    - Move more colors to CSS vars
    - Move issue number to end of title on issue page
    
    * more dropdown fixes
    
    * fix basic blue labels - fixes #13731
    
    * improve class setting on svg
    
    Co-authored-by: zeripath <art27@cantab.net>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Nov 29, 2020
    Configuration menu
    Copy the full SHA
    e00a355 View commit details
    Browse the repository at this point in the history
  4. Markdown and Repo header tweaks (#13744)

    * Markdown and Repo header tweaks
    
    - Use CSS vars for all markdown colors
    - Tweak repo header, removing double borders and adjust sizes
    - Use menu instead of buttons for issue open/close switcher
    - Add emoji inversion for select emoji glyphs in arc-green
    - Use border over box-shadow for all buttons
    - Add spacing element to login form without openid
    
    * repo settings navbar fix
    
    * use shared template in more places and adjust dashboard
    
    * fix remaining open/close combos
    silverwind authored Nov 29, 2020
    Configuration menu
    Copy the full SHA
    295fc99 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c2ac1c7 View commit details
    Browse the repository at this point in the history
  6. Update discord domain (#13747)

    Update discord domain in webhook repository settings.
    hanahaneull authored Nov 29, 2020
    Configuration menu
    Copy the full SHA
    e8a6c42 View commit details
    Browse the repository at this point in the history
  7. [Vendor] Update Batch 2020-11 (#13746)

    * github.com/alecthomas/chroma v0.8.1 -> v0.8.2
    
    Changelog: https://github.com/alecthomas/chroma/releases/tag/v0.8.2
    
    * github.com/blevesearch/bleve v1.0.12 -> v1.0.13
    
    Changelog: https://github.com/blevesearch/bleve/releases/tag/v1.0.13
    
    * github.com/editorconfig/editorconfig-core-go v2.3.8 -> v2.3.9
    
    Changelog: https://github.com/editorconfig/editorconfig-core-go/releases/tag/v2.3.9
    
    * github.com/klauspost/compress v1.11.2 -> v1.11.3
    
    Changelog: https://github.com/klauspost/compress/releases/tag/v1.11.3
    
    * github.com/minio/minio-go v7.0.5 -> v7.0.6
    
    Changelog: https://github.com/minio/minio-go/releases/tag/v7.0.6
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    6543 and lafriks authored Nov 29, 2020
    Configuration menu
    Copy the full SHA
    c4deb97 View commit details
    Browse the repository at this point in the history
  8. Update JS dependencies and misc tweaks (#13741)

    * Update JS dependencies and misc tweaks
    
    - Update all JS dependencies minus webpack
    - Adapt CodeMirrors styling to new CSS parent introduced by EasyMDE
    - Set eslint parser to latest and add new eslint 7.14 rule
    - Speed up npm install by disabling audit and fund checks
    - Move fomantic-ui to optional dependencies to further speed up npm
    - Enable syntax highlighting on GH for .eslintrc and .stylelintrc
    - Makefile cleanups
    
    * disable audit in npmrc
    
    * add missing dash
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Nov 29, 2020
    Configuration menu
    Copy the full SHA
    e81edc0 View commit details
    Browse the repository at this point in the history
  9. Fix webpack build warnings (#13752)

    Turns out some of the dependencies make use of optional dependencies
    like the vue-template-compiler. Install them again and install
    fomantic-ui only when it's being build to fix webpack warnings.
    silverwind authored Nov 29, 2020
    Configuration menu
    Copy the full SHA
    63aeb0a View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2020

  1. Fix avatar offset on PR/issue timeline view (#13753)

    * Fix avatar offset on PR/issue timeline view
    
    * Apply suggestions from code review
    
    Co-authored-by: silverwind <me@silverwind.io>
    
    Co-authored-by: silverwind <me@silverwind.io>
    CirnoT and silverwind authored Nov 30, 2020
    Configuration menu
    Copy the full SHA
    d7ab726 View commit details
    Browse the repository at this point in the history
  2. Fix bogus http requests on diffs (#13760)

    The .blob-excerpt elements don't have these data attributes in some
    cases resulting in bogus http request when expanding a diff and clicking
    into the expanded area. This prevents those.
    
    Should backport to 1.13.
    
    Fixes: #13759
    silverwind authored Nov 30, 2020
    Configuration menu
    Copy the full SHA
    21cf205 View commit details
    Browse the repository at this point in the history
  3. set git-core paths in snap (#13711)

    Signed-off-by: artivis <deray.jeremie@gmail.com>
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    artivis and techknowlogick authored Nov 30, 2020
    Configuration menu
    Copy the full SHA
    870fd53 View commit details
    Browse the repository at this point in the history
  4. Set RUN_MODE prod by default (#13765)

    I think it's a bad default to have "dev" as the default run mode which
    enables debugging and now also disables HTTP caching. It's better to
    just default to a value suitable for general deployments.
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Nov 30, 2020
    Configuration menu
    Copy the full SHA
    bc455ed View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2020

  1. Flip RUN_MODE detection in router (#13768)

    Missed that part in #13765. It's
    already in the 1.13 backport so this forward-ports that change again.
    silverwind authored Dec 1, 2020
    Configuration menu
    Copy the full SHA
    14e8ef9 View commit details
    Browse the repository at this point in the history
  2. Add class to page content to unify top margin (#13766)

    * Add class to page content to unify top margin
    
    Previously pages would individually set this margin but some didn't so
    content would stick to the header without any space. Resolve this by
    adding a new class that is added on all pages. The only place where we
    remove this margin again is on the pages with menu or wrapper in the
    header.
    
    * fix admin notices
    
    * fix team pages
    
    * fix loading segment on gitgraph for arc-green
    
    * fix last missing case
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Dec 1, 2020
    Configuration menu
    Copy the full SHA
    b1cf7f4 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2020

  1. Swap swagger-ui with swagger-ui-dist (#13777)

    * Swap swagger-ui with swagger-ui-dist
    
    The prebuilt version of swagger-ui is identical to the regular one but
    brings the benefit of faster webpack compilation and less npm
    dependencies so it npm installs will speed up too.
    
    * use bundle file directly
    silverwind authored Dec 2, 2020
    Configuration menu
    Copy the full SHA
    253add8 View commit details
    Browse the repository at this point in the history
  2. Refactor doctor (#12264)

    * Refactor Logger
    
    Refactor Logger to make a logger interface and make it possible to
    wrap loggers for specific purposes.
    
    * Refactor Doctor
    
        Move the gitea doctor functions into its own module.
        Use a logger for its messages instead of returning a results string[]
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    * Update modules/doctor/misc.go
    
    Co-authored-by: 6543 <6543@obermui.de>
    
    * Update modules/doctor/misc.go
    
    Co-authored-by: 6543 <6543@obermui.de>
    
    Co-authored-by: 6543 <6543@obermui.de>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Dec 2, 2020
    Configuration menu
    Copy the full SHA
    4569339 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f5ff1e View commit details
    Browse the repository at this point in the history
  4. Update Gitea Version & Fix Migration Comments (#13789)

    * correct migration version comments
    
    * update lates version in docs
    6543 authored Dec 2, 2020
    Configuration menu
    Copy the full SHA
    594cc4a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fd1c351 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2b4a08e View commit details
    Browse the repository at this point in the history
  7. Move Repo APIFormat to convert package (#13787)

    * Move Repo APIFormat to convert package
    
    * tweek
    6543 authored Dec 2, 2020
    Configuration menu
    Copy the full SHA
    7ac8a77 View commit details
    Browse the repository at this point in the history
  8. Update docker ssh passthrough docs (#13732)

    * update docker ssh passthrough docs
    
    * remove mailto:git part in SSH forwarding call
    
    Co-authored-by: zeripath <art27@cantab.net>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Dec 2, 2020
    Configuration menu
    Copy the full SHA
    c3893a8 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2020

  1. When reinitialising DBConfig reset the database use flags (#13796)

    One perennial issue is users running the install page,
    changing the database dialect and then suffering with issues
    
    This PR simply resets all of the database.Use flags on
    initDBConfig. This should prevent this issue from occuring.
    
    Fix #13788
    Fix #5480
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    zeripath and techknowlogick authored Dec 3, 2020
    Configuration menu
    Copy the full SHA
    5e0a378 View commit details
    Browse the repository at this point in the history
  2. Reduce make verbosity (#13803)

    Various make targets log huge lists of files to the terminal which are
    generally useless to read. Replace those cases with short replacement
    messages.
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Dec 3, 2020
    Configuration menu
    Copy the full SHA
    18712ea View commit details
    Browse the repository at this point in the history
  3. Clickable links in pull request (and issue) titles (#13695)

    * clickable links in pull request (and issue) titles #13658
    
    reuses the existing logic to render clickable links in commit messages
    
    * dedicated RenderIssueTitle function
    
    applied patch from @mrsdizzie
    jpraet authored Dec 3, 2020
    Configuration menu
    Copy the full SHA
    056b8f5 View commit details
    Browse the repository at this point in the history
  4. Expose default theme in meta and API (#13809)

    Signed-off-by: jolheiser <john.olheiser@gmail.com>
    
    Co-authored-by: 6543 <6543@obermui.de>
    jolheiser and 6543 authored Dec 3, 2020
    Configuration menu
    Copy the full SHA
    e306c29 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4353cf9 View commit details
    Browse the repository at this point in the history
  6. Reply button is not removed when deleting a code review comment (#13774)

    Co-authored-by: mrsdizzie <info@mrsdizzie.com>
    jpraet and mrsdizzie authored Dec 3, 2020
    Configuration menu
    Copy the full SHA
    47e4d1a View commit details
    Browse the repository at this point in the history
  7. Fix various CSS issues (#13769)

    - Fix black text being white on base theme
    - Fix file/blame button group
    - Fix label margin in dropdown (regression from graph pr)
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    Co-authored-by: 6543 <6543@obermui.de>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    4 people authored Dec 3, 2020
    Configuration menu
    Copy the full SHA
    0d35ef5 View commit details
    Browse the repository at this point in the history
  8. Direct avatar rendering (#13649)

    * Direct avatar rendering
    
    This adds new template helpers for avatar rendering which output image
    elements with direct links to avatars which makes them cacheable by the
    browsers.
    
    This should be a major performance improvment for pages with many avatars.
    
    * fix avatars of other user's profile pages
    
    * fix top border on user avatar name
    
    * uncircle avatars
    
    * remove old incomplete avatar selector
    
    * use title attribute for name and add it back on blame
    
    * minor refactor
    
    * tweak comments
    
    * fix url path join and adjust test to new result
    
    * dedupe functions
    silverwind authored Dec 3, 2020
    Configuration menu
    Copy the full SHA
    9269a03 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5d43d29 View commit details
    Browse the repository at this point in the history
  10. Make sure email recipients can see issue (#13820)

    * Initial pass
    
    Signed-off-by: jolheiser <john.olheiser@gmail.com>
    
    * Remove over-op
    
    Signed-off-by: jolheiser <john.olheiser@gmail.com>
    jolheiser authored Dec 3, 2020
    Configuration menu
    Copy the full SHA
    f0cc297 View commit details
    Browse the repository at this point in the history
  11. Fix avatar template error (#13833)

    Fixes: #13831
    silverwind authored Dec 3, 2020
    Configuration menu
    Copy the full SHA
    118aedd View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2020

  1. Update font stack to bootstrap's latest (#13834)

    Update to latest Bootstrap font stack [1].
    
    Should fix #13784.
    
    [1] https://github.com/twbs/bootstrap/blob/bf3c4d0b6891c21377e6b1fb7962f5fbf198325f/scss/_variables.scss#L396
    
    Co-authored-by: 6543 <6543@obermui.de>
    silverwind and 6543 authored Dec 4, 2020
    Configuration menu
    Copy the full SHA
    c9effd5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3512c7e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48a3bb7 View commit details
    Browse the repository at this point in the history
  4. fixed and updated FAQ table of contents links (#13835)

    * fixed and updated FAQ table of contents links, rewording one heading that wouldn't generate a working link
    
    Co-authored-by: 6543 <6543@obermui.de>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    3 people authored Dec 4, 2020
    Configuration menu
    Copy the full SHA
    51d7002 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5574796 View commit details
    Browse the repository at this point in the history
  6. Style and template tweaks (#13828)

    * Style and template tweaks
    
    - Get red and green buttons on arc green closer to base theme
    - EasyMDE adjustments, toolbar and focus border
    - Fix header on 404 repo page
    - Tweaks to frontpage search, add 'Create Repo' button
    - Fix misaligned box headers
    - Fix pagination on arc-green
    - Fix background and footer on explore and repo search
    
    * better fix for header button alignment
    
    * add label hover for reactions
    silverwind authored Dec 4, 2020
    Configuration menu
    Copy the full SHA
    bb50ab2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    654c480 View commit details
    Browse the repository at this point in the history
  8. Remove Noto Color Emoji fallback (#13838)

    It's causing browser errors logged in Firefox under certain
    circumstances, and I think we're better off recommending Linux users to
    install a proper emoji font into their system.
    silverwind authored Dec 4, 2020
    Configuration menu
    Copy the full SHA
    d8c2c6c View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2020

  1. Configuration menu
    Copy the full SHA
    1a768e5 View commit details
    Browse the repository at this point in the history
  2. Improve migrate page and add card CSS (#13751)

    - Use original gitea logo on migrate page
    - Add card styles and map colors to css vars
    - Tweak migrate page, adding hover effect to cards
    
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    silverwind and lunny authored Dec 5, 2020
    Configuration menu
    Copy the full SHA
    61d6c19 View commit details
    Browse the repository at this point in the history
  3. Font weight tweaks (#13854)

    Font weight 500 is not discernible from 400 on some fonts/operating
    systems so push them back to previous value 600 except for
    fomantic-ui elements which stay at 500.
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: 6543 <6543@obermui.de>
    3 people authored Dec 5, 2020
    Configuration menu
    Copy the full SHA
    d0d59e3 View commit details
    Browse the repository at this point in the history
  4. Fix branch/tag notifications in mirror sync (#13855)

    * Fix branch/tag notifications in mirror sync
    
    * Fix gofmt
    
    Co-authored-by: Gitea <gitea@fake.local>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    3 people authored Dec 5, 2020
    Configuration menu
    Copy the full SHA
    8561f26 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4a510e0 View commit details
    Browse the repository at this point in the history
  6. Add link to shop in docs (#13864)

    Replaced link to code.gitea.io as that subdomain isn't meant for human consumption, but rather for our vanity go import URLs
    Only replaced link for english, open to adding links for other languages if anyone is able/willing to add them
    techknowlogick authored Dec 5, 2020
    Configuration menu
    Copy the full SHA
    9c71c6c View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2020

  1. Fix mermaid chart size (#13863)

    * Fix mermaid chart size
    
    Seems like one of the recent updates to the module unexpectedly shrunk
    these charts, bring them back up to full width.
    
    * don't stretch to full width
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Dec 6, 2020
    Configuration menu
    Copy the full SHA
    173e512 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f74a094 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2020

  1. issue #12450: return original URL in original_url JSON field (#13885)

    Co-authored-by: Gitea <gitea@fake.local>
    eric-belhomme and Gitea authored Dec 7, 2020
    Configuration menu
    Copy the full SHA
    6ddf881 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b830eca View commit details
    Browse the repository at this point in the history
  3. Add cloudron to img-src CSP (#13887)

    Signed-off-by: jolheiser <john.olheiser@gmail.com>
    jolheiser authored Dec 7, 2020
    Configuration menu
    Copy the full SHA
    991ab89 View commit details
    Browse the repository at this point in the history
  4. Fully qualify cloudron CSP (#13892)

    * Wildcard cloudron
    
    Signed-off-by: jolheiser <john.olheiser@gmail.com>
    
    * Just use FQDN
    
    Signed-off-by: jolheiser <john.olheiser@gmail.com>
    jolheiser authored Dec 7, 2020
    Configuration menu
    Copy the full SHA
    a33db35 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2020

  1. Fix Pull Merge when tag with same name as base branch exist (#13882)

    fix dst refspec error in 'Push back to upstream' when base branch have
    same name with a tag.
    
    fix #13851
    Signed-off-by: a1012112796 <1012112796@qq.com>
    
    Co-authored-by: 6543 <6543@obermui.de>
    Co-authored-by: zeripath <art27@cantab.net>
    3 people authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    682f0b0 View commit details
    Browse the repository at this point in the history
  2. Refactor push update (#13381)

    * Refactor Push update
    
    * Remove the push_test since the function has been removed.
    
    * Use default branch setting instead master
    lunny authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    ab22ab4 View commit details
    Browse the repository at this point in the history
  3. Fix issue participants (#13893)

    * Fix issue participants
    
    * use list class for margin
    
    * remove wrapper and don't render on zero participants
    
    * keep whitespace
    
    * remove participants class
    
    * add some margin for timetracking stuff
    
    Co-authored-by: 6543 <6543@obermui.de>
    silverwind and 6543 authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    b7b5c33 View commit details
    Browse the repository at this point in the history
  4. Self-host cloudron image for docs (#13895)

    * Add cloudron image to docs itself
    
    * rm cloudron csp
    
    * Update from-package.en-us.md
    techknowlogick authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    9b22ada View commit details
    Browse the repository at this point in the history
  5. Repo avatar fixes (#13891)

    - Split up avatar rendering helpers for performance
    - Fix showing repo SVG icon when no avatar is set
    - Make repo SVG and avatar same size at 32px
    - Fix fork line by adding vertical flexbox on repo title
    
    Co-authored-by: 6543 <6543@obermui.de>
    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    3 people authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    e7938c9 View commit details
    Browse the repository at this point in the history
  6. Added Table of Contents to long documentation pages (#13890)

    * Redo #13836 with new shortcode
    (https://gitea.com/gitea/theme/pulls/90)
    
    * add Api Usage
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    6543 and techknowlogick authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    6bdcacd View commit details
    Browse the repository at this point in the history
  7. Fix Quote Reply button on review diff (#13830)

    * Fix Quote Reply #13762
    
    * requestAnimationFrame() instead of setTimeout()
    
    Co-authored-by: 6543 <6543@obermui.de>
    jpraet and 6543 authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    4d66ee1 View commit details
    Browse the repository at this point in the history
  8. Move webhook type from int to string (#13664)

    * Move webhook type from int to string
    
    * rename webhook_services
    
    * finish refactor
    
    * Fix merge
    
    * Ignore unnecessary ci
    
    Co-authored-by: 6543 <6543@obermui.de>
    Co-authored-by: zeripath <art27@cantab.net>
    3 people authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    42354df View commit details
    Browse the repository at this point in the history
  9. Log IP on SSH authentication failure for Built-in SSH server (#13150)

    * Log IP on SSH authentication failure
    
    fixes #13094
    
    * include string 'Failed authentication attempt' in error
    
    * update fail2ban docs
    
    also match failed authentication over command line
    
    * better logging of authentication errors with IP addresses
    
    * format ...
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    Co-authored-by: 6543 <6543@obermui.de>
    3 people authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    abb9cff View commit details
    Browse the repository at this point in the history
  10. log error when login failed (#13903)

    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    lunny and techknowlogick authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    6a37036 View commit details
    Browse the repository at this point in the history
  11. Allow 20 characters for "View [organization]" button (#13906)

    In the "View [organization]" button on the dashboard, the organization name is currenly shortened to 10 chars.
    This is a bit too limited. In all other places in the code the name is also shortened to 20 instead of 10.
    
    Co-authored-by: 6543 <6543@obermui.de>
    jpraet and 6543 authored Dec 8, 2020
    Configuration menu
    Copy the full SHA
    1a372e5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    658e90a View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2020

  1. Fix frontpage avatars (#13853)

    The frontpage uses a rather strange method to obtain the commit's avatar
    which I've overlooked earlier. I don't exactly understand how it works
    but this change fixes the wrong default avatars by using the function
    that was in previous use.
    
    Also introduced a few constants for size an size increase factor.
    
    Fixes: #13844
    silverwind authored Dec 9, 2020
    Configuration menu
    Copy the full SHA
    c05701d View commit details
    Browse the repository at this point in the history
  2. Don't show dashboard links for globally disabled repo units (#13908)

    This applias the same checks from base/head_navbar.tmpl to user/dashboard/navbar.tmpl so no links are shown for globally disabled repo units
    
    Co-authored-by: 6543 <6543@obermui.de>
    jpraet and 6543 authored Dec 9, 2020
    Configuration menu
    Copy the full SHA
    10b9a6d View commit details
    Browse the repository at this point in the history
  3. Fix action avatar loading (#13909)

    Fixes #13883
    
    Co-authored-by: 6543 <6543@obermui.de>
    silverwind and 6543 authored Dec 9, 2020
    Configuration menu
    Copy the full SHA
    97ab820 View commit details
    Browse the repository at this point in the history
  4. Reformat docs (#13897)

    Co-authored-by: 6543 <6543@obermui.de>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    3 people authored Dec 9, 2020
    Configuration menu
    Copy the full SHA
    af79677 View commit details
    Browse the repository at this point in the history
  5. Markdown: Enable wrapping in code blocks and a color tweak (#13894)

    - Enable wrapping of long lines in code blocks like already done in code
      view.
    - Slightly lighten the background of code blocks on default theme
    - Darken the background on inline code and kbd elements on arc-green
    
    Co-authored-by: 6543 <6543@obermui.de>
    silverwind and 6543 authored Dec 9, 2020
    Configuration menu
    Copy the full SHA
    48dd0e2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    18e4477 View commit details
    Browse the repository at this point in the history
  7. Fix broken migration on webhook (#13911)

    * Fix broken migration on webhook
    
    * Fix lint
    
    Co-authored-by: John Olheiser <john.olheiser@gmail.com>
    lunny and jolheiser authored Dec 9, 2020
    Configuration menu
    Copy the full SHA
    6edfa6b View commit details
    Browse the repository at this point in the history
  8. Replace more icons with SVG, repo search tweaks (#13860)

    * Replace more icons with SVG
    
    - Replace remaining icons on admin page with SVG
    - Fix vertical menu background on arc-green
    - Minor improvments to frontpage repo search
    - More icon replacements here and there
    
    * fix integration
    
    * whitespace tweak
    
    * add comment
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Dec 9, 2020
    Configuration menu
    Copy the full SHA
    c85bb62 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2020

  1. Add pull request manually merge instruction (#13840)

    * add pull request command line instructions
    
    * Add pull request manually merge instuction
    
    * Fix styles
    
    * Fix lint
    
    * Move inline style to class file
    
    * add space between merge button and hint text
    
    * Add sentence end charcter
    
    * Change the language file
    
    * adjust secondary bg
    
    * further adjustment
    
    Co-authored-by: silverwind <me@silverwind.io>
    lunny and silverwind authored Dec 10, 2020
    Configuration menu
    Copy the full SHA
    2d71cdb View commit details
    Browse the repository at this point in the history
  2. Move diff split code into own template file (#13919)

    * Move diff split code into own template file
    
    Separate split diff view same as unified already is. Mainly because I'm working on a separate PR with this change and merge conflicts for each change to box.tmpl are annoying and I'm worried about breaking something subtle while trying to resolve them.
    
    * Fix error
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    mrsdizzie and techknowlogick authored Dec 10, 2020
    Configuration menu
    Copy the full SHA
    e63a041 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    338bfee View commit details
    Browse the repository at this point in the history
  4. Fix avatar template error on repo collaborator page (#13924)

    Fixes error `template: repo/settings/collaboration:16:16: executing
    "repo/settings/collaboration" at <.>: wrong type for value; expected
    *models.User; got *models.Collaborator` seen on repo collaborator page.
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Dec 10, 2020
    Configuration menu
    Copy the full SHA
    ccfa408 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bc1cf6e View commit details
    Browse the repository at this point in the history
  6. Remove JS globals related to timetracking and due date (#13921)

    Refactor to avoid these globals. Should work exactly as before.
    silverwind authored Dec 10, 2020
    Configuration menu
    Copy the full SHA
    1cb1fb8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0c5fca2 View commit details
    Browse the repository at this point in the history
  8. Added 2 fuzzers (#13818)

    * Added fuzzer
    
    Signed-off-by: AdamKorcz <adam@adalogics.com>
    
    * Added better fuzzer names
    
    Signed-off-by: AdamKorcz <adam@adalogics.com>
    
    * Moved fuzzer to /tools
    
    * Update tools/fuzz.go
    
    Co-authored-by: 6543 <6543@obermui.de>
    
    * Update tools/fuzz.go
    
    * Update tools/fuzz.go
    
    Co-authored-by: silverwind <me@silverwind.io>
    
    * Added tools to Makefile
    
    Co-authored-by: 6543 <6543@obermui.de>
    Co-authored-by: silverwind <me@silverwind.io>
    Co-authored-by: zeripath <art27@cantab.net>
    4 people authored Dec 10, 2020
    Configuration menu
    Copy the full SHA
    94415f7 View commit details
    Browse the repository at this point in the history
  9. Better vertical align of buttons in headers (#13932)

    The previous method used `transform` which formed a CSS stacking context
    which caused issues with dropdowns appearing behind other elements which
    made `position: static` necessary but that again caused even more
    issues.
    
    This method achieves the same as before, but without the additional
    stacking context.
    
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    silverwind and techknowlogick authored Dec 10, 2020
    Configuration menu
    Copy the full SHA
    d0043ff View commit details
    Browse the repository at this point in the history
  10. chore: use octicon-mirror for feeds display (#13928)

    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    BLumia and techknowlogick authored Dec 10, 2020
    Configuration menu
    Copy the full SHA
    c11cf4b View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2020

  1. Bump ini from 1.3.5 to 1.3.7 (#13941)

    Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
    - [Release notes](https://github.com/isaacs/ini/releases)
    - [Commits](npm/ini@v1.3.5...v1.3.7)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 11, 2020
    Configuration menu
    Copy the full SHA
    b355466 View commit details
    Browse the repository at this point in the history
  2. Fix bug for webhook and feishu caused by API changed (#13937)

    * Fix bug for webhook
    
    * Fix bug for feishu
    lunny authored Dec 11, 2020
    Configuration menu
    Copy the full SHA
    ea914d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5fdf500 View commit details
    Browse the repository at this point in the history
  4. Reorganize Chroma styles (#13934)

    This moves the Chroma styles into separate files with base,light and
    dark variants. Should work exactly as before.
    silverwind authored Dec 11, 2020
    Configuration menu
    Copy the full SHA
    160f606 View commit details
    Browse the repository at this point in the history
  5. Ensure that pusher is not nil preventing panic in push (#13945)

    PR #13381 refactored notification actions to call NotifyCreateRef and
    NotifyDeleteRef in a slightly different manner. This leads to the pusher
    not being set before the call.
    
    This PR ensures that the pusher is updated before the call.
    
    Fix #13940
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored Dec 11, 2020
    Configuration menu
    Copy the full SHA
    f2f99a7 View commit details
    Browse the repository at this point in the history
  6. Ensure that HEAD is updated to match default branch in template gener…

    …ation (#13948)
    
    Fix #13912
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored Dec 11, 2020
    Configuration menu
    Copy the full SHA
    8e0548e View commit details
    Browse the repository at this point in the history
  7. Report permissions denied in internal SSH (#13953)

    This PR standardizes reporting of permission denied from the internal ssh.
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    Co-authored-by: 6543 <6543@obermui.de>
    zeripath and 6543 authored Dec 11, 2020
    Configuration menu
    Copy the full SHA
    e46a638 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2020

  1. Configuration menu
    Copy the full SHA
    3285bab View commit details
    Browse the repository at this point in the history
  2. Diff stat improvements (#13954)

    * Diff stat improvements
    
    - Combine number to just total number of changes
    - Add tooltip over stats bar
    - Increase contrast on file name
    - Refactor classes and CSS to be more reusable
    
    * misc tweaks
    
    * make count bold
    silverwind authored Dec 12, 2020
    Configuration menu
    Copy the full SHA
    1837e64 View commit details
    Browse the repository at this point in the history
  3. Enforce setting HEAD in wiki to master (#13950)

    The default branch in wikis must be master - therefore forcibly set the HEAD
    to master.
    
    Fix #13846
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    
    Co-authored-by: 6543 <6543@obermui.de>
    zeripath and 6543 authored Dec 12, 2020
    Configuration menu
    Copy the full SHA
    f9c0737 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8e9a3d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6074e13 View commit details
    Browse the repository at this point in the history
  6. Possible fix the webhook API creation (#13960)

    * Possible fix the webhook API creation
    
    * Fix api create webhook bug
    lunny authored Dec 12, 2020
    Configuration menu
    Copy the full SHA
    9f100a4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d07b8a7 View commit details
    Browse the repository at this point in the history
  8. Whenever the password is updated ensure that the hash algorithm is too (

    #13966)
    
    `user.HashPassword` may potentially - and in fact now likely does - change
    the `passwd_hash_algo` therefore whenever the `passwd` is updated, this
    also needs to be updated.
    
    Fix #13832
    
    Thanks @fblaese for the hint
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored Dec 12, 2020
    Configuration menu
    Copy the full SHA
    287b594 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2020

  1. Markdown task list improvements (#13952)

    * Markdown task list improvements
    
    - Remove `.ui` class and wrappers to prevent fomantic from messing with it.
    - Change rendered HTML to match GitHub.
    - Add custom styling for the checkboxes.
    
    * fix unittest
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people authored Dec 13, 2020
    Configuration menu
    Copy the full SHA
    41e8b83 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de06ee6 View commit details
    Browse the repository at this point in the history
  3. Removes dangling < on emails/list.tmpl (#13970)

    This dangling character was leftover from commit c85bb62 from PR #13860
    WeebDataHoarder authored Dec 13, 2020
    Configuration menu
    Copy the full SHA
    de0986d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf6f8b2 View commit details
    Browse the repository at this point in the history
  5. [API] Add Ref to Issue (#13946)

    * Add Ref to api.Issue
    
    This PR adds Ref to api.Issue and adds the backend parts to the migrator.
    
    Fix #13918
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored Dec 13, 2020
    Configuration menu
    Copy the full SHA
    825efa2 View commit details
    Browse the repository at this point in the history
  6. add thumbnail preview section to issue attachments (#13826)

    * add thumbnail preview section to attachments
    
    * dont show thumbnail if the image is already shown inline
    
    * update router to pass the `content` to the attachemnts template
    
    * limit attachment preview height to 150px (same as width)
    
    * remove unused css (referance removed in https://github.com/go-gitea/gitea/pull/11141/files#diff-9faae32445ed9673de2830c9fc35e93f44487f0a0068202988adaf00a5bac850L66 )
    
    * dont show divider after edit if no attachemnts
    
    Co-authored-by: James <inbox.dev@jhodges.co.uk>
    Co-authored-by: 6543 <6543@obermui.de>
    3 people authored Dec 13, 2020
    Configuration menu
    Copy the full SHA
    b35c1b5 View commit details
    Browse the repository at this point in the history
  7. Do not display org avatar near icon for internal repos (#13957)

    Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
    Co-authored-by: Lauris BH <lauris@nix.lv>
    3 people authored Dec 13, 2020
    Configuration menu
    Copy the full SHA
    633dc80 View commit details
    Browse the repository at this point in the history