summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Update Gitea Version & Fix Migration Comments (#13789)65432020-12-032-9/+18
| | | | | * correct migration version comments * update lates version in docs
* move notification APIFormat (#13783)65432020-12-025-63/+75
|
* Refactor doctor (#12264)zeripath2020-12-028-521/+786
| | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Swap swagger-ui with swagger-ui-dist (#13777)silverwind2020-12-013-881/+22
| | | | | | | | | * 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
* Add class to page content to unify top margin (#13766)silverwind2020-11-30133-145/+150
| | | | | | | | | | | | | | | | | | | * 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>
* Flip RUN_MODE detection in router (#13768)silverwind2020-12-011-4/+6
| | | | Missed that part in https://github.com/go-gitea/gitea/pull/13765. It's already in the 1.13 backport so this forward-ports that change again.
* Set RUN_MODE prod by default (#13765)silverwind2020-11-307-10/+8
| | | | | | | 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>
* set git-core paths in snap (#13711)Jeremie Deray2020-11-301-0/+2
| | | | | Signed-off-by: artivis <deray.jeremie@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Fix bogus http requests on diffs (#13760)silverwind2020-11-301-0/+1
| | | | | | | | | 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: https://github.com/go-gitea/gitea/issues/13759
* Fix avatar offset on PR/issue timeline view (#13753)Cirno the Strongest2020-11-301-2/+6
| | | | | | | | | * 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>
* Fix webpack build warnings (#13752)silverwind2020-11-303-4390/+527
| | | | | 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.