summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix action avatar loading (#13909)silverwind2020-12-093-9/+17
| | | | | Fixes #13883 Co-authored-by: 6543 <6543@obermui.de>
* Don't show dashboard links for globally disabled repo units (#13908)Jimmy Praet2020-12-081-4/+8
| | | | | 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>
* Fix frontpage avatars (#13853)silverwind2020-12-0913-65/+78
| | | | | | | | | | 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: https://github.com/go-gitea/gitea/issues/13844
* [Docu] Fix Location of Comments in migrations.go (#13900)65432020-12-091-4/+4
|
* Allow 20 characters for "View [organization]" button (#13906)Jimmy Praet2020-12-081-1/+1
| | | | | | 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>
* log error when login failed (#13903)Lunny Xiao2020-12-081-4/+4
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Log IP on SSH authentication failure for Built-in SSH server (#13150)Eric Lesiuta2020-12-084-3/+12
| | | | | | | | | | | | | | | | | | * Log IP on SSH authentication failure fixes https://github.com/go-gitea/gitea/issues/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>
* Move webhook type from int to string (#13664)Lunny Xiao2020-12-0830-174/+186
| | | | | | | | | | | | | | * 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>
* Fix Quote Reply button on review diff (#13830)Jimmy Praet2020-12-081-15/+15
| | | | | | | * Fix Quote Reply #13762 * requestAnimationFrame() instead of setTimeout() Co-authored-by: 6543 <6543@obermui.de>
* Added Table of Contents to long documentation pages (#13890)65432020-12-0720-66/+82
| | | | | | | | * Redo #13836 with new shortcode (https://gitea.com/gitea/theme/pulls/90) * add Api Usage Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Repo avatar fixes (#13891)silverwind2020-12-077-104/+112
| | | | | | | | | - 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>
* Self-host cloudron image for docs (#13895)techknowlogick2020-12-073-2/+55
| | | | | | | * Add cloudron image to docs itself * rm cloudron csp * Update from-package.en-us.md
* Fix issue participants (#13893)silverwind2020-12-072-17/+8
| | | | | | | | | | | | | | | * 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>
* Refactor push update (#13381)Lunny Xiao2020-12-083-268/+107
| | | | | | | * Refactor Push update * Remove the push_test since the function has been removed. * Use default branch setting instead master
* Fix Pull Merge when tag with same name as base branch exist (#13882)a10121127962020-12-081-1/+1
| | | | | | | | | | 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>
* Fully qualify cloudron CSP (#13892)John Olheiser2020-12-072-2/+2
| | | | | | | | | * Wildcard cloudron Signed-off-by: jolheiser <john.olheiser@gmail.com> * Just use FQDN Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add cloudron to img-src CSP (#13887)John Olheiser2020-12-071-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-071-0/+38
|
* issue #12450: return original URL in `original_url` JSON field (#13885)Eric Belhomme2020-12-071-0/+1
| | | Co-authored-by: Gitea <gitea@fake.local>
* README: Add more contents to the "further information" section. (#13871)Patrick Schratz2020-12-061-5/+6
|
* Fix mermaid chart size (#13863)silverwind2020-12-061-1/+2
| | | | | | | | | | * 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>
* Add link to shop in docs (#13864)techknowlogick2020-12-051-2/+2
| | | | 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
* Update go-enry dependency to v2.6.0 (#13861)Lauris BH2020-12-0518-25973/+32341
|
* Fix branch/tag notifications in mirror sync (#13855)manuelluis2020-12-051-0/+20
| | | | | | | | * Fix branch/tag notifications in mirror sync * Fix gofmt Co-authored-by: Gitea <gitea@fake.local> Co-authored-by: Lauris BH <lauris@nix.lv>
* Font weight tweaks (#13854)silverwind2020-12-056-12/+8
| | | | | | | | 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>
* Improve migrate page and add card CSS (#13751)silverwind2020-12-058-54/+83
| | | | | | | - 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>
* [Docs] fix typos and reference to structs package (#13856)Nuno Silva2020-12-051-5/+5
|
* Remove Noto Color Emoji fallback (#13838)silverwind2020-12-044-209/+4
| | | | | 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.
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-042-0/+29
|
* Style and template tweaks (#13828)silverwind2020-12-0418-139/+119
| | | | | | | | | | | | | | | * 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
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-042-0/+2
|
* fixed and updated FAQ table of contents links (#13835)Holger Schmidt2020-12-041-33/+33
| | | | | | * 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>
* User Settings: Ignore empty language codes & validate (#13755)65432020-12-046-6/+15
|
* Fix crash in short link processor (#13839)mrsdizzie2020-12-041-10/+12
| | | Fixes #13819
* Update font stack to bootstrap's latest (#13834)silverwind2020-12-041-4/+4
| | | | | | | | | Update to latest Bootstrap font stack [1]. Should fix https://github.com/go-gitea/gitea/issues/13784. [1] https://github.com/twbs/bootstrap/blob/bf3c4d0b6891c21377e6b1fb7962f5fbf198325f/scss/_variables.scss#L396 Co-authored-by: 6543 <6543@obermui.de>
* Fix avatar template error (#13833)silverwind2020-12-031-1/+1
| | | Fixes: https://github.com/go-gitea/gitea/issues/13831
* Make sure email recipients can see issue (#13820)John Olheiser2020-12-031-1/+11
| | | | | | | | | * Initial pass Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove over-op Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-031-1/+4
|
* Direct avatar rendering (#13649)silverwind2020-12-0362-340/+435
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix various CSS issues (#13769)silverwind2020-12-032-10/+19
| | | | | | | | | - 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>
* Reply button is not removed when deleting a code review comment (#13774)Jimmy Praet2020-12-034-97/+43
| | | Co-authored-by: mrsdizzie <info@mrsdizzie.com>
* Move LFSLock APIFormat into convert package (#13808)65432020-12-033-21/+22
|
* Expose default theme in meta and API (#13809)John Olheiser2020-12-034-0/+7
| | | | | Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
* Clickable links in pull request (and issue) titles (#13695)Jimmy Praet2020-12-033-1/+31
| | | | | | | | | * 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
* Reduce make verbosity (#13803)silverwind2020-12-031-14/+21
| | | | | | | 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>
* When reinitialising DBConfig reset the database use flags (#13796)zeripath2020-12-021-0/+5
| | | | | | | | | | | | | | 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>
* Update docker ssh passthrough docs (#13732)Patrick Schratz2020-12-021-62/+41
| | | | | | | | * 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>
* Move Repo APIFormat to convert package (#13787)65432020-12-0218-193/+201
| | | | | * Move Repo APIFormat to convert package * tweek
* Migrations: Use Process Manager to create own Context (#13792)65432020-12-027-15/+34
|
* frontport 1.13.0 changelog (#13790)techknowlogick2020-12-021-2/+43
|