summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add emoji in label to project boards (#13978)Rakshith Ravi2020-12-141-1/+1
| | | | | | | | | * Update view.tmpl Added rendering of emoji to project label * Add RenderEmojiPlain to the title and remove has-emoji Co-authored-by: zeripath <art27@cantab.net>
* Do not display org avatar near icon for internal repos (#13957)Cirno the Strongest2020-12-131-5/+0
| | | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* add thumbnail preview section to issue attachments (#13826)bobemoe2020-12-136-81/+56
| | | | | | | | | | | | | | | | * 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>
* [API] Add Ref to Issue (#13946)zeripath2020-12-135-0/+8
| | | | | | | | | | * 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>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-131-5/+5
|
* Removes dangling < on emails/list.tmpl (#13970)WeebDataHoarder2020-12-131-1/+1
| | | This dangling character was leftover from commit c85bb6263503ebd335863f413214a775973a1fac from PR #13860
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-131-1/+1
|
* Markdown task list improvements (#13952)silverwind2020-12-135-16/+60
| | | | | | | | | | | | * 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>
* Whenever the password is updated ensure that the hash algorithm is too (#13966)zeripath2020-12-123-4/+4
| | | | | | | | | | | `user.HashPassword` may potentially - and in fact now likely does - change the `passwd_hash_algo` therefore whenever the `passwd` is updated, this also needs to be updated. Fix #13832 Thanks @fblaese for the hint Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-121-0/+9
|
* Possible fix the webhook API creation (#13960)Lunny Xiao2020-12-122-3/+7
| | | | | * Possible fix the webhook API creation * Fix api create webhook bug
* Fix missing username on dashboard context switch navbar (#13959)Cirno the Strongest2020-12-121-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-122-1/+15
|
* Enforce setting HEAD in wiki to master (#13950)zeripath2020-12-121-0/+2
| | | | | | | | | | 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>
* Diff stat improvements (#13954)silverwind2020-12-124-43/+29
| | | | | | | | | | | | * 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
* Update github.com/blevesearch/bleve v1.0.13 -> v1.0.14 (#13947)65432020-12-12101-922/+858
|
* Report permissions denied in internal SSH (#13953)zeripath2020-12-111-5/+14
| | | | | | | 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>
* Ensure that HEAD is updated to match default branch in template generation ↵zeripath2020-12-112-0/+9
| | | | | | | (#13948) Fix #13912 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Ensure that pusher is not nil preventing panic in push (#13945)zeripath2020-12-111-0/+6
| | | | | | | | | | | PR #13381 refactored notification actions to call NotifyCreateRef and NotifyDeleteRef in a slightly different manner. This leads to the pusher not being set before the call. This PR ensures that the pusher is updated before the call. Fix #13940 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Reorganize Chroma styles (#13934)silverwind2020-12-117-751/+189
| | | | This moves the Chroma styles into separate files with base,light and dark variants. Should work exactly as before.
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-111-0/+5
|
* Fix bug for webhook and feishu caused by API changed (#13937)Lunny Xiao2020-12-113-57/+37
| | | | | * Fix bug for webhook * Fix bug for feishu
* Bump ini from 1.3.5 to 1.3.7 (#13941)dependabot[bot]2020-12-111-3/+3
| | | | | | | | | Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/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>
* chore: use octicon-mirror for feeds display (#13928)Gary Wang2020-12-101-1/+1
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Better vertical align of buttons in headers (#13932)silverwind2020-12-101-7/+5
| | | | | | | | | | | 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>
* Added 2 fuzzers (#13818)AdamKorcz2020-12-102-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-102-0/+27
|
* Remove JS globals related to timetracking and due date (#13921)silverwind2020-12-103-37/+42
| | | Refactor to avoid these globals. Should work exactly as before.
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-101-0/+5
|
* Fix avatar template error on repo collaborator page (#13924)silverwind2020-12-101-4/+12
| | | | | | | 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>
* [skip ci] Updated translations via CrowdinGiteaBot2020-12-1026-0/+52
|
* Move diff split code into own template file (#13919)mrsdizzie2020-12-092-51/+53
| | | | | | | | | * 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>
* Add pull request manually merge instruction (#13840)Lunny Xiao2020-12-107-42/+78
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Replace more icons with SVG, repo search tweaks (#13860)silverwind2020-12-0930-108/+166
| | | | | | | | | | | | | | | | * 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>
* Fix broken migration on webhook (#13911)Lunny Xiao2020-12-098-37/+98
| | | | | | | * Fix broken migration on webhook * Fix lint Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Add Karl Heinz Marbaise as maintainer. (#13915)Karl Heinz Marbaise2020-12-091-0/+1
|
* Markdown: Enable wrapping in code blocks and a color tweak (#13894)silverwind2020-12-092-6/+6
| | | | | | | | - 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>
* Reformat docs (#13897)Patrick Schratz2020-12-0986-970/+1128
| | | | Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
* 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