-
Notifications
You must be signed in to change notification settings - Fork 0
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
Commits on Nov 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8176ba6 - Browse repository at this point
Copy the full SHA 8176ba6View commit details -
Remove specific indexer path (#13388)
Co-authored-by: Lauris BH <lauris@nix.lv>
Configuration menu - View commit details
-
Copy full SHA for 563165a - Browse repository at this point
Copy the full SHA 563165aView commit details
Commits on Nov 2, 2020
-
Fix reactions on code comments (#13390)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 06268dc - Browse repository at this point
Copy the full SHA 06268dcView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7f7e7f3 - Browse repository at this point
Copy the full SHA 7f7e7f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc40cdf - Browse repository at this point
Copy the full SHA fc40cdfView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 842a757 - Browse repository at this point
Copy the full SHA 842a757View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcb94ed - Browse repository at this point
Copy the full SHA bcb94edView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b687707 - Browse repository at this point
Copy the full SHA b687707View commit details
Commits on Nov 3, 2020
-
[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
Configuration menu - View commit details
-
Copy full SHA for 70ea230 - Browse repository at this point
Copy the full SHA 70ea230View commit details -
Configuration menu - View commit details
-
Copy full SHA for be880d4 - Browse repository at this point
Copy the full SHA be880d4View commit details -
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`
Configuration menu - View commit details
-
Copy full SHA for 7d16e6d - Browse repository at this point
Copy the full SHA 7d16e6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa8492f - Browse repository at this point
Copy the full SHA fa8492fView commit details -
Fix bug on release publisherid migrations (#13410)
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for afb3a5c - Browse repository at this point
Copy the full SHA afb3a5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 951a333 - Browse repository at this point
Copy the full SHA 951a333View commit details
Commits on Nov 4, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for 62719cd - Browse repository at this point
Copy the full SHA 62719cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59c3cf6 - Browse repository at this point
Copy the full SHA 59c3cf6View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for fb756e7 - Browse repository at this point
Copy the full SHA fb756e7View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 3cab3be - Browse repository at this point
Copy the full SHA 3cab3beView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd882f6 - Browse repository at this point
Copy the full SHA dd882f6View commit details
Commits on Nov 5, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for d7e0983 - Browse repository at this point
Copy the full SHA d7e0983View commit details -
- 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
Configuration menu - View commit details
-
Copy full SHA for 05efb33 - Browse repository at this point
Copy the full SHA 05efb33View commit details -
* Tags cleanup Signed-off-by: jolheiser <john.olheiser@gmail.com> * fmt Signed-off-by: jolheiser <john.olheiser@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7c68ac8 - Browse repository at this point
Copy the full SHA 7c68ac8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b636bd - Browse repository at this point
Copy the full SHA 5b636bdView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for eba0ac5 - Browse repository at this point
Copy the full SHA eba0ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c7908b - Browse repository at this point
Copy the full SHA 3c7908bView commit details
Commits on Nov 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 35cc82a - Browse repository at this point
Copy the full SHA 35cc82aView commit details -
use registry mirror for docker-in-docker (#13438)
Co-authored-by: Lauris BH <lauris@nix.lv>
Configuration menu - View commit details
-
Copy full SHA for c178a36 - Browse repository at this point
Copy the full SHA c178a36View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for eebaa81 - Browse repository at this point
Copy the full SHA eebaa81View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 30ce373 - Browse repository at this point
Copy the full SHA 30ce373View commit details
Commits on Nov 7, 2020
-
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 172eca1 - Browse repository at this point
Copy the full SHA 172eca1View commit details -
updateSize when create a repo with init commit (#13441)
Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 82cf67a - Browse repository at this point
Copy the full SHA 82cf67aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48f8c5e - Browse repository at this point
Copy the full SHA 48f8c5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed47da2 - Browse repository at this point
Copy the full SHA ed47da2View commit details -
* 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>
Configuration menu - View commit details
-
Copy full SHA for 7c47e24 - Browse repository at this point
Copy the full SHA 7c47e24View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1b65536 - Browse repository at this point
Copy the full SHA 1b65536View commit details -
[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>
Configuration menu - View commit details
-
Copy full SHA for e461f08 - Browse repository at this point
Copy the full SHA e461f08View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 9aa8693 - Browse repository at this point
Copy the full SHA 9aa8693View commit details -
Fix double border introduced by #13434 (#13457)
Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: zeripath <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for f719e2e - Browse repository at this point
Copy the full SHA f719e2eView commit details
Commits on Nov 8, 2020
-
Fix colors and triangles in issues (#13463)
- Fix misaligned triangles - Fix triangle and header background colors - Adjust timeline color
Configuration menu - View commit details
-
Copy full SHA for 8411cb5 - Browse repository at this point
Copy the full SHA 8411cb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4e0b28 - Browse repository at this point
Copy the full SHA d4e0b28View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c05a8ab - Browse repository at this point
Copy the full SHA c05a8abView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 049a87c - Browse repository at this point
Copy the full SHA 049a87cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 004b40d - Browse repository at this point
Copy the full SHA 004b40dView commit details -
2nd attempt at re-request APIMergePullRequest (#13468)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 8ae5548 - Browse repository at this point
Copy the full SHA 8ae5548View commit details -
Add note about installation on kubernetes to docs (#13469)
Co-authored-by: zeripath <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 8a7101f - Browse repository at this point
Copy the full SHA 8a7101fView commit details -
Make TestCreateBranch and TestRepoCommitsSearch less noisy (#13471)
Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Configuration menu - View commit details
-
Copy full SHA for 271ab63 - Browse repository at this point
Copy the full SHA 271ab63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1213301 - Browse repository at this point
Copy the full SHA 1213301View commit details
Commits on Nov 9, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for b091c99 - Browse repository at this point
Copy the full SHA b091c99View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef2ffc6 - Browse repository at this point
Copy the full SHA ef2ffc6View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8bae34c - Browse repository at this point
Copy the full SHA 8bae34cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffa712e - Browse repository at this point
Copy the full SHA ffa712eView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 77e5081 - Browse repository at this point
Copy the full SHA 77e5081View commit details
Commits on Nov 10, 2020
-
Fix broken .comment > .content caused by #13457 (#13482)
Co-authored-by: Lauris BH <lauris@nix.lv>
Configuration menu - View commit details
-
Copy full SHA for 40c4466 - Browse repository at this point
Copy the full SHA 40c4466View commit details -
Prevent panic on git blame by limiting lines to 4096 bytes at most (#…
Configuration menu - View commit details
-
Copy full SHA for 182b5a0 - Browse repository at this point
Copy the full SHA 182b5a0View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for beab1dd - Browse repository at this point
Copy the full SHA beab1ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 542edc2 - Browse repository at this point
Copy the full SHA 542edc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9155f13 - Browse repository at this point
Copy the full SHA 9155f13View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 21d4963 - Browse repository at this point
Copy the full SHA 21d4963View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 13b8c0b - Browse repository at this point
Copy the full SHA 13b8c0bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for da4f2c5 - Browse repository at this point
Copy the full SHA da4f2c5View commit details -
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 - View commit details
-
Copy full SHA for 3400928 - Browse repository at this point
Copy the full SHA 3400928View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 3fd060e - Browse repository at this point
Copy the full SHA 3fd060eView commit details
Commits on Nov 11, 2020
-
Disallow urlencoded new lines in git protocol paths if there is a port (
#13521) Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for 5d932b3 - Browse repository at this point
Copy the full SHA 5d932b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6838bac - Browse repository at this point
Copy the full SHA 6838bacView commit details
Commits on Nov 12, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 4117a44 - Browse repository at this point
Copy the full SHA 4117a44View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c2e05d9 - Browse repository at this point
Copy the full SHA c2e05d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee7133d - Browse repository at this point
Copy the full SHA ee7133dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for ff7341b - Browse repository at this point
Copy the full SHA ff7341bView commit details
Commits on Nov 13, 2020
-
* 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>
Configuration menu - View commit details
-
Copy full SHA for 0ae35c6 - Browse repository at this point
Copy the full SHA 0ae35c6View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c296f4f - Browse repository at this point
Copy the full SHA c296f4fView commit details -
Reindent manifest.json (#13544)
Now it's properly indented to 2-space.
Configuration menu - View commit details
-
Copy full SHA for a015684 - Browse repository at this point
Copy the full SHA a015684View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0a676c - Browse repository at this point
Copy the full SHA d0a676cView commit details -
Configuration menu - View commit details
-
Copy full SHA for db16275 - Browse repository at this point
Copy the full SHA db16275View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for a31a6e3 - Browse repository at this point
Copy the full SHA a31a6e3View commit details -
Add missed sync branch/tag webhook (#13538)
Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Configuration menu - View commit details
-
Copy full SHA for dd29ecb - Browse repository at this point
Copy the full SHA dd29ecbView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 3cd00c3 - Browse repository at this point
Copy the full SHA 3cd00c3View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 6280af0 - Browse repository at this point
Copy the full SHA 6280af0View commit details
Commits on Nov 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5c76c5c - Browse repository at this point
Copy the full SHA 5c76c5cView commit details -
unify layout between auth pages (#13547)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Configuration menu - View commit details
-
Copy full SHA for e16b0e5 - Browse repository at this point
Copy the full SHA e16b0e5View commit details -
missing quotes in default value slice (#13550)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Configuration menu - View commit details
-
Copy full SHA for a2efcb6 - Browse repository at this point
Copy the full SHA a2efcb6View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 374ff60 - Browse repository at this point
Copy the full SHA 374ff60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f3447a - Browse repository at this point
Copy the full SHA 3f3447aView commit details -
[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>
Configuration menu - View commit details
-
Copy full SHA for 7d2700c - Browse repository at this point
Copy the full SHA 7d2700cView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for d025d84 - Browse repository at this point
Copy the full SHA d025d84View commit details
Commits on Nov 15, 2020
-
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 - View commit details
-
Copy full SHA for 3ea237b - Browse repository at this point
Copy the full SHA 3ea237bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0ed712 - Browse repository at this point
Copy the full SHA f0ed712View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 50cbb20 - Browse repository at this point
Copy the full SHA 50cbb20View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7a30e97 - Browse repository at this point
Copy the full SHA 7a30e97View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 0de5460 - Browse repository at this point
Copy the full SHA 0de5460View commit details -
Render diff stats server-side (#13579)
Eliminates a flash on page load on the diff stat bars.
Configuration menu - View commit details
-
Copy full SHA for efcba9b - Browse repository at this point
Copy the full SHA efcba9bView commit details
Commits on Nov 16, 2020
-
Add tab-size support for Firefox (#13576)
Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Configuration menu - View commit details
-
Copy full SHA for 22a8df3 - Browse repository at this point
Copy the full SHA 22a8df3View commit details -
When building rootless docker image move chown&chmod to build stage (#…
Configuration menu - View commit details
-
Copy full SHA for 8c2b5fe - Browse repository at this point
Copy the full SHA 8c2b5feView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 586bfb9 - Browse repository at this point
Copy the full SHA 586bfb9View commit details -
Fix comment triangles and tweak inline comment margins (#13554)
- Fix various miscolored comment bubble triangles - Tweak padding on inline comment boxes
Configuration menu - View commit details
-
Copy full SHA for 5bd0533 - Browse repository at this point
Copy the full SHA 5bd0533View commit details -
Migration: Gitlab: Support Subdirectory (#13563)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Configuration menu - View commit details
-
Copy full SHA for 77aa742 - Browse repository at this point
Copy the full SHA 77aa742View commit details -
Configuration menu - View commit details
-
Copy full SHA for 859e3d3 - Browse repository at this point
Copy the full SHA 859e3d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 949e3f5 - Browse repository at this point
Copy the full SHA 949e3f5View commit details
Commits on Nov 17, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for 0a6ce3e - Browse repository at this point
Copy the full SHA 0a6ce3eView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b838252 - Browse repository at this point
Copy the full SHA b838252View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 75ebf7c - Browse repository at this point
Copy the full SHA 75ebf7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ec5e6c - Browse repository at this point
Copy the full SHA 9ec5e6cView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 0615b66 - Browse repository at this point
Copy the full SHA 0615b66View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 76cdf3b - Browse repository at this point
Copy the full SHA 76cdf3bView commit details
Commits on Nov 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5a991ec - Browse repository at this point
Copy the full SHA 5a991ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for d02c350 - Browse repository at this point
Copy the full SHA d02c350View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 12c2efb - Browse repository at this point
Copy the full SHA 12c2efbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6626a04 - Browse repository at this point
Copy the full SHA 6626a04View commit details
Commits on Nov 19, 2020
-
finaly fix gitlab migration with subdir (#13629)
* finaly fix #13535 * add logging
Configuration menu - View commit details
-
Copy full SHA for ad2a288 - Browse repository at this point
Copy the full SHA ad2a288View commit details -
specific version in docker compose (#13644)
* specific version in docker compose fix #13643 * update latest version
Configuration menu - View commit details
-
Copy full SHA for 64bd5f4 - Browse repository at this point
Copy the full SHA 64bd5f4View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 702e82d - Browse repository at this point
Copy the full SHA 702e82dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 24b3b21 - Browse repository at this point
Copy the full SHA 24b3b21View commit details
Commits on Nov 20, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for 1bb5c09 - Browse repository at this point
Copy the full SHA 1bb5c09View commit details -
skip email validation on empty string (#13627)
- move validation into its own function - use a session for UpdateUserSetting
Configuration menu - View commit details
-
Copy full SHA for f915161 - Browse repository at this point
Copy the full SHA f915161View commit details -
Refactor combine label comments with tests (#13619)
Co-authored-by: Lauris BH <lauris@nix.lv>
Configuration menu - View commit details
-
Copy full SHA for c5f6f8f - Browse repository at this point
Copy the full SHA c5f6f8fView commit details
Commits on Nov 21, 2020
-
* 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>
Configuration menu - View commit details
-
Copy full SHA for b651409 - Browse repository at this point
Copy the full SHA b651409View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 45ca2e4 - Browse repository at this point
Copy the full SHA 45ca2e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for de1e4b2 - Browse repository at this point
Copy the full SHA de1e4b2View commit details
Commits on Nov 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2791cc1 - Browse repository at this point
Copy the full SHA 2791cc1View commit details
Commits on Nov 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 247ab6a - Browse repository at this point
Copy the full SHA 247ab6aView commit details -
Update _repository.less (#13672)
Co-authored-by: Lauris BH <lauris@nix.lv>
Configuration menu - View commit details
-
Copy full SHA for 78204a7 - Browse repository at this point
Copy the full SHA 78204a7View commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for f88a2ea - Browse repository at this point
Copy the full SHA f88a2eaView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 24330f7 - Browse repository at this point
Copy the full SHA 24330f7View commit details
Commits on Nov 24, 2020
-
* CSS table fixes Override the right fomantic selectors. Fixes: #13690 * use flexbox
Configuration menu - View commit details
-
Copy full SHA for 00ec651 - Browse repository at this point
Copy the full SHA 00ec651View commit details
Commits on Nov 25, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for 6d93a3a - Browse repository at this point
Copy the full SHA 6d93a3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72e62ac - Browse repository at this point
Copy the full SHA 72e62acView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 57fa9b0 - Browse repository at this point
Copy the full SHA 57fa9b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03fa2ec - Browse repository at this point
Copy the full SHA 03fa2ecView commit details
Commits on Nov 26, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for b2de034 - Browse repository at this point
Copy the full SHA b2de034View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7bc0c8c - Browse repository at this point
Copy the full SHA 7bc0c8cView commit details
Commits on Nov 27, 2020
-
Increment skip to avoid infini-loop (#13703)
Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
Configuration menu - View commit details
-
Copy full SHA for 979fbe0 - Browse repository at this point
Copy the full SHA 979fbe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f13e07 - Browse repository at this point
Copy the full SHA 3f13e07View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7ab3633 - Browse repository at this point
Copy the full SHA 7ab3633View commit details
Commits on Nov 28, 2020
-
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 authoredNov 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 5b75f17 - Browse repository at this point
Copy the full SHA 5b75f17View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 742e21a - Browse repository at this point
Copy the full SHA 742e21aView commit details -
* 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>
Configuration menu - View commit details
-
Copy full SHA for e7b47c5 - Browse repository at this point
Copy the full SHA e7b47c5View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 48c9865 - Browse repository at this point
Copy the full SHA 48c9865View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1e5247d - Browse repository at this point
Copy the full SHA 1e5247dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 8c996c6 - Browse repository at this point
Copy the full SHA 8c996c6View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7ed5bf8 - Browse repository at this point
Copy the full SHA 7ed5bf8View commit details -
Add block on official review requests branch protection (#13705)
Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lauris BH <lauris@nix.lv>
Configuration menu - View commit details
-
Copy full SHA for 9c26dc1 - Browse repository at this point
Copy the full SHA 9c26dc1View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 911d370 - Browse repository at this point
Copy the full SHA 911d370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f82a0b - Browse repository at this point
Copy the full SHA 4f82a0bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e82150d - Browse repository at this point
Copy the full SHA e82150dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 0f14f69 - Browse repository at this point
Copy the full SHA 0f14f69View commit details
Commits on Nov 29, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for b2435af - Browse repository at this point
Copy the full SHA b2435afView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for da4bb6f - Browse repository at this point
Copy the full SHA da4bb6fView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e00a355 - Browse repository at this point
Copy the full SHA e00a355View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 295fc99 - Browse repository at this point
Copy the full SHA 295fc99View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2ac1c7 - Browse repository at this point
Copy the full SHA c2ac1c7View commit details -
Update discord domain (#13747)
Update discord domain in webhook repository settings.
Configuration menu - View commit details
-
Copy full SHA for e8a6c42 - Browse repository at this point
Copy the full SHA e8a6c42View commit details -
[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>
Configuration menu - View commit details
-
Copy full SHA for c4deb97 - Browse repository at this point
Copy the full SHA c4deb97View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e81edc0 - Browse repository at this point
Copy the full SHA e81edc0View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 63aeb0a - Browse repository at this point
Copy the full SHA 63aeb0aView commit details
Commits on Nov 30, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for d7ab726 - Browse repository at this point
Copy the full SHA d7ab726View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 21cf205 - Browse repository at this point
Copy the full SHA 21cf205View commit details -
set git-core paths in snap (#13711)
Signed-off-by: artivis <deray.jeremie@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Configuration menu - View commit details
-
Copy full SHA for 870fd53 - Browse repository at this point
Copy the full SHA 870fd53View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for bc455ed - Browse repository at this point
Copy the full SHA bc455edView commit details
Commits on Dec 1, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 14e8ef9 - Browse repository at this point
Copy the full SHA 14e8ef9View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b1cf7f4 - Browse repository at this point
Copy the full SHA b1cf7f4View commit details
Commits on Dec 2, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for 253add8 - Browse repository at this point
Copy the full SHA 253add8View commit details -
* 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>
Configuration menu - View commit details
-
Copy full SHA for 4569339 - Browse repository at this point
Copy the full SHA 4569339View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f5ff1e - Browse repository at this point
Copy the full SHA 4f5ff1eView commit details -
Update Gitea Version & Fix Migration Comments (#13789)
* correct migration version comments * update lates version in docs
Configuration menu - View commit details
-
Copy full SHA for 594cc4a - Browse repository at this point
Copy the full SHA 594cc4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd1c351 - Browse repository at this point
Copy the full SHA fd1c351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b4a08e - Browse repository at this point
Copy the full SHA 2b4a08eView commit details -
Move Repo APIFormat to convert package (#13787)
* Move Repo APIFormat to convert package * tweek
Configuration menu - View commit details
-
Copy full SHA for 7ac8a77 - Browse repository at this point
Copy the full SHA 7ac8a77View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c3893a8 - Browse repository at this point
Copy the full SHA c3893a8View commit details
Commits on Dec 3, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for 5e0a378 - Browse repository at this point
Copy the full SHA 5e0a378View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 18712ea - Browse repository at this point
Copy the full SHA 18712eaView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 056b8f5 - Browse repository at this point
Copy the full SHA 056b8f5View commit details -
Expose default theme in meta and API (#13809)
Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
Configuration menu - View commit details
-
Copy full SHA for e306c29 - Browse repository at this point
Copy the full SHA e306c29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4353cf9 - Browse repository at this point
Copy the full SHA 4353cf9View commit details -
Reply button is not removed when deleting a code review comment (#13774)
Co-authored-by: mrsdizzie <info@mrsdizzie.com>
Configuration menu - View commit details
-
Copy full SHA for 47e4d1a - Browse repository at this point
Copy the full SHA 47e4d1aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 0d35ef5 - Browse repository at this point
Copy the full SHA 0d35ef5View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9269a03 - Browse repository at this point
Copy the full SHA 9269a03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d43d29 - Browse repository at this point
Copy the full SHA 5d43d29View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for f0cc297 - Browse repository at this point
Copy the full SHA f0cc297View commit details -
Configuration menu - View commit details
-
Copy full SHA for 118aedd - Browse repository at this point
Copy the full SHA 118aeddView commit details
Commits on Dec 4, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for c9effd5 - Browse repository at this point
Copy the full SHA c9effd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3512c7e - Browse repository at this point
Copy the full SHA 3512c7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48a3bb7 - Browse repository at this point
Copy the full SHA 48a3bb7View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 51d7002 - Browse repository at this point
Copy the full SHA 51d7002View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5574796 - Browse repository at this point
Copy the full SHA 5574796View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for bb50ab2 - Browse repository at this point
Copy the full SHA bb50ab2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 654c480 - Browse repository at this point
Copy the full SHA 654c480View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for d8c2c6c - Browse repository at this point
Copy the full SHA d8c2c6cView commit details
Commits on Dec 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1a768e5 - Browse repository at this point
Copy the full SHA 1a768e5View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 61d6c19 - Browse repository at this point
Copy the full SHA 61d6c19View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for d0d59e3 - Browse repository at this point
Copy the full SHA d0d59e3View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 8561f26 - Browse repository at this point
Copy the full SHA 8561f26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a510e0 - Browse repository at this point
Copy the full SHA 4a510e0View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9c71c6c - Browse repository at this point
Copy the full SHA 9c71c6cView commit details
Commits on Dec 6, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for 173e512 - Browse repository at this point
Copy the full SHA 173e512View commit details -
Configuration menu - View commit details
-
Copy full SHA for f74a094 - Browse repository at this point
Copy the full SHA f74a094View commit details
Commits on Dec 7, 2020
-
issue #12450: return original URL in
original_url
JSON field (#13885)Co-authored-by: Gitea <gitea@fake.local>
Configuration menu - View commit details
-
Copy full SHA for 6ddf881 - Browse repository at this point
Copy the full SHA 6ddf881View commit details -
Configuration menu - View commit details
-
Copy full SHA for b830eca - Browse repository at this point
Copy the full SHA b830ecaView commit details -
Add cloudron to img-src CSP (#13887)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 991ab89 - Browse repository at this point
Copy the full SHA 991ab89View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for a33db35 - Browse repository at this point
Copy the full SHA a33db35View commit details
Commits on Dec 8, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for 682f0b0 - Browse repository at this point
Copy the full SHA 682f0b0View commit details -
* Refactor Push update * Remove the push_test since the function has been removed. * Use default branch setting instead master
Configuration menu - View commit details
-
Copy full SHA for ab22ab4 - Browse repository at this point
Copy the full SHA ab22ab4View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b7b5c33 - Browse repository at this point
Copy the full SHA b7b5c33View commit details -
Self-host cloudron image for docs (#13895)
* Add cloudron image to docs itself * rm cloudron csp * Update from-package.en-us.md
Configuration menu - View commit details
-
Copy full SHA for 9b22ada - Browse repository at this point
Copy the full SHA 9b22adaView commit details -
- 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>
Configuration menu - View commit details
-
Copy full SHA for e7938c9 - Browse repository at this point
Copy the full SHA e7938c9View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 6bdcacd - Browse repository at this point
Copy the full SHA 6bdcacdView commit details -
Fix Quote Reply button on review diff (#13830)
* Fix Quote Reply #13762 * requestAnimationFrame() instead of setTimeout() Co-authored-by: 6543 <6543@obermui.de>
Configuration menu - View commit details
-
Copy full SHA for 4d66ee1 - Browse repository at this point
Copy the full SHA 4d66ee1View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 42354df - Browse repository at this point
Copy the full SHA 42354dfView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for abb9cff - Browse repository at this point
Copy the full SHA abb9cffView commit details -
log error when login failed (#13903)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Configuration menu - View commit details
-
Copy full SHA for 6a37036 - Browse repository at this point
Copy the full SHA 6a37036View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1a372e5 - Browse repository at this point
Copy the full SHA 1a372e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 658e90a - Browse repository at this point
Copy the full SHA 658e90aView commit details
Commits on Dec 9, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for c05701d - Browse repository at this point
Copy the full SHA c05701dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 10b9a6d - Browse repository at this point
Copy the full SHA 10b9a6dView commit details -
Fix action avatar loading (#13909)
Fixes #13883 Co-authored-by: 6543 <6543@obermui.de>
Configuration menu - View commit details
-
Copy full SHA for 97ab820 - Browse repository at this point
Copy the full SHA 97ab820View commit details -
Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
Configuration menu - View commit details
-
Copy full SHA for af79677 - Browse repository at this point
Copy the full SHA af79677View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 48dd0e2 - Browse repository at this point
Copy the full SHA 48dd0e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e4477 - Browse repository at this point
Copy the full SHA 18e4477View commit details -
Fix broken migration on webhook (#13911)
* Fix broken migration on webhook * Fix lint Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6edfa6b - Browse repository at this point
Copy the full SHA 6edfa6bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c85bb62 - Browse repository at this point
Copy the full SHA c85bb62View commit details
Commits on Dec 10, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for 2d71cdb - Browse repository at this point
Copy the full SHA 2d71cdbView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e63a041 - Browse repository at this point
Copy the full SHA e63a041View commit details -
Configuration menu - View commit details
-
Copy full SHA for 338bfee - Browse repository at this point
Copy the full SHA 338bfeeView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for ccfa408 - Browse repository at this point
Copy the full SHA ccfa408View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc1cf6e - Browse repository at this point
Copy the full SHA bc1cf6eView commit details -
Remove JS globals related to timetracking and due date (#13921)
Refactor to avoid these globals. Should work exactly as before.
Configuration menu - View commit details
-
Copy full SHA for 1cb1fb8 - Browse repository at this point
Copy the full SHA 1cb1fb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c5fca2 - Browse repository at this point
Copy the full SHA 0c5fca2View commit details -
* 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>
Configuration menu - View commit details
-
Copy full SHA for 94415f7 - Browse repository at this point
Copy the full SHA 94415f7View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for d0043ff - Browse repository at this point
Copy the full SHA d0043ffView commit details -
chore: use octicon-mirror for feeds display (#13928)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Configuration menu - View commit details
-
Copy full SHA for c11cf4b - Browse repository at this point
Copy the full SHA c11cf4bView commit details
Commits on Dec 11, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for b355466 - Browse repository at this point
Copy the full SHA b355466View commit details -
Fix bug for webhook and feishu caused by API changed (#13937)
* Fix bug for webhook * Fix bug for feishu
Configuration menu - View commit details
-
Copy full SHA for ea914d0 - Browse repository at this point
Copy the full SHA ea914d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fdf500 - Browse repository at this point
Copy the full SHA 5fdf500View commit details -
Reorganize Chroma styles (#13934)
This moves the Chroma styles into separate files with base,light and dark variants. Should work exactly as before.
Configuration menu - View commit details
-
Copy full SHA for 160f606 - Browse repository at this point
Copy the full SHA 160f606View commit details -
Ensure that pusher is not nil preventing panic in push (#13945)
Configuration menu - View commit details
-
Copy full SHA for f2f99a7 - Browse repository at this point
Copy the full SHA f2f99a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e0548e - Browse repository at this point
Copy the full SHA 8e0548eView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e46a638 - Browse repository at this point
Copy the full SHA e46a638View commit details
Commits on Dec 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3285bab - Browse repository at this point
Copy the full SHA 3285babView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1837e64 - Browse repository at this point
Copy the full SHA 1837e64View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for f9c0737 - Browse repository at this point
Copy the full SHA f9c0737View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8e9a3d - Browse repository at this point
Copy the full SHA f8e9a3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6074e13 - Browse repository at this point
Copy the full SHA 6074e13View commit details -
Possible fix the webhook API creation (#13960)
* Possible fix the webhook API creation * Fix api create webhook bug
Configuration menu - View commit details
-
Copy full SHA for 9f100a4 - Browse repository at this point
Copy the full SHA 9f100a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d07b8a7 - Browse repository at this point
Copy the full SHA d07b8a7View commit details -
Whenever the password is updated ensure that the hash algorithm is too (
Configuration menu - View commit details
-
Copy full SHA for 287b594 - Browse repository at this point
Copy the full SHA 287b594View commit details
Commits on Dec 13, 2020
-
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>
Configuration menu - View commit details
-
Copy full SHA for 41e8b83 - Browse repository at this point
Copy the full SHA 41e8b83View commit details -
Configuration menu - View commit details
-
Copy full SHA for de06ee6 - Browse repository at this point
Copy the full SHA de06ee6View commit details -
Configuration menu - View commit details
-
Copy full SHA for de0986d - Browse repository at this point
Copy the full SHA de0986dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf6f8b2 - Browse repository at this point
Copy the full SHA cf6f8b2View commit details -
[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>
Configuration menu - View commit details
-
Copy full SHA for 825efa2 - Browse repository at this point
Copy the full SHA 825efa2View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b35c1b5 - Browse repository at this point
Copy the full SHA b35c1b5View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 633dc80 - Browse repository at this point
Copy the full SHA 633dc80View commit details