summaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeFilesLines
* Hide mirror passwords on repo settings page (#16022) (#16355)Kyle D2021-07-071-2/+3
|
* Remove branch URL before IssueRefURL (#15970)fnetX (aka fralix)2021-05-251-1/+1
| | | | | | | | Revert change for account / org dashboard where IssueRefURLs do not contain the full repo URL (case RepoLink is not true) Co-authored-by: Norwin <noerw@users.noreply.github.com> Co-authored-by: Norwin <noerw@users.noreply.github.com>
* fix layout of milestone view (#15940)Tomás Warynyca2021-05-221-6/+6
|
* Restore PAM user autocreation functionality (#15825) (#15867)zeripath2021-05-192-0/+6
| | | | | | | | | | | | | | | | | | | | Backport #15825 * Restore PAM user autocreation functionality PAM autoregistration of users currently fails due to email invalidity. This PR adds a new setting to PAM to allow an email domain to be set or just sets the email to the noreply address and if that fails falls back to uuid@localhost Fix #15702 Signed-off-by: Andrew Thornton <art27@cantab.net> * As per KN4CKER Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* remove unimplemented searchbar from project view (#15905)Norwin2021-05-171-3/+0
|
* Set autocomplete off on branches selector (#15809) (#15833)zeripath2021-05-111-1/+1
| | | | | | | | Backport #15809 Fix #15782 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Use pulls in commit graph unless pulls are disabled (#15734 & #15740 & ↵65432021-05-071-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | #15774) (#15775) * Commit Graph: Pull-Requests should not link to issues (#15734) Use `/pulls` and simplify code. * reverse #15734 partial and comment (#15740) * reverse & comment * Update templates/repo/graph/commits.tmpl Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net> * Use pulls in commit graph unless pulls are disabled Fix #15370 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: KN4CK3R <KN4CK3R@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net>
* not show `ref-in-new-issue` pop when issue was disabled (#15761) (#15765)65432021-05-071-7/+9
| | | | | | fix #15718 Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: a1012112796 <1012112796@qq.com>
* Issue list alignment tweaks (#15483) (#15766)65432021-05-071-1/+1
| | | | | Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
* fix some ui bug about draft release (#15137) (#15745)a10121127962021-05-061-7/+11
| | | | | | | | | | | | | | | | | | | * fix some ui bug about draft release - should not show draft release in tag list because it will't create real tag - still show draft release without tag and commit message for draft release instead of 404 error - remove tag load for attachement links because it's useless Signed-off-by: a1012112796 <1012112796@qq.com> * add test code * fix test That's because has added a new release in relaese test database. * fix dropdown link for draft release
* Implement delete release attachments and update release attachments' name ↵Kyle D2021-05-032-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | (#14130) (#15666) * Implement delete release attachment * Add attachments on release edit page * Fix bug * Finish del release attachments * Fix frontend lint * Fix tests * Support edit release attachments * Added tests * Remove the unnecessary parameter isCreate from UpdateReleaseOrCreatReleaseFromTag * Rename UpdateReleaseOrCreatReleaseFromTag to UpdateRelease * Fix middle align Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Fixed several activation bugs (#15473) (#15685)65432021-04-301-11/+9
| | | | | | | | | | | | | * Removed unneeded form tag. * Fixed typo. * Fixed NPE. * Use better error page. * Splitted GET and POST. Co-authored-by: KN4CK3R <KN4CK3R@users.noreply.github.com>
* Fix commit graph author link (#15627) (#15630)zeripath2021-04-261-1/+1
| | | | | | | Backport #15627 The author link on the commit graph is incorrect and isn't providing a link to the author. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add placeholder text to deploy key textarea (#15575) (#15576)zeripath2021-04-211-1/+1
| | | | | | | | | Backport #15575 Add placeholder text to deploy key textarea Related #15574 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Project board improvements (#15429) (#15560)silverwind2021-04-201-19/+37
| | | | | | | | | | | | | | | | | | | | | | | * Project board improvements - Fix link colors - Extract CSS to own file - Various minor tweaks to make it look better Fixes: https://github.com/go-gitea/gitea/issues/15424 Fixes: https://github.com/go-gitea/gitea/issues/15506 Fixes: https://github.com/go-gitea/gitea/pull/15511 * fix squashed cards on small view area * more css fixes, add second row from issue list Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Repo branch page: label size, PR ref, new PR button alignment (#15363) (#15365)Mike L2021-04-161-4/+4
|
* Performance improvement for list pull requests (#15447) (#15500)65432021-04-161-2/+2
| | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Use subdir for URL (#15446) (#15493)zeripath2021-04-153-3/+3
| | | | | | | | | Backport #15446 Fixes #15444 Co-authored-by: KN4CK3R <KN4CK3R@users.noreply.github.com> Co-authored-by: KN4CK3R <KN4CK3R@users.noreply.github.com>
* Clone panel fixes (#15436)silverwind2021-04-141-2/+2
| | | | | | - Use <button> over <div> for a button - Fix absent border-right on wiki - Fix absent border-radius on wiki
* quick fix (#15464) (#15481)John Olheiser2021-04-141-1/+1
| | | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix repository search (#15428) (#15442)techknowlogick2021-04-131-1/+1
| | | | | | | | Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: KN4CK3R <KN4CK3R@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Fix wiki clone urls (#15430) (#15431)silverwind2021-04-121-4/+4
| | | | | | Fix wiki clone urls Regressed by: https://github.com/go-gitea/gitea/commit/9a4050f1e839af1bd072aff9ac5fc69e650747c8 Fixes: https://github.com/go-gitea/gitea/issues/15420
* fix dingtalk icon url (#15426)Tomás Warynyca2021-04-121-1/+1
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Standardise icon on projects PR page (#15387) (#15408)zeripath2021-04-121-4/+17
| | | | | | | Backport #15387 Fix #15272 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Use semantic dropdown for code search query type (#15276) (#15364)Mike L2021-04-112-61/+55
| | | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
* Show diff on rename with diff changes (#15338) (#15339)zeripath2021-04-081-19/+15
| | | | | | | | | | | | | | | Backport #15338 More recent versions of git have increased support for detection of renames meaning that a rename with diff changes is now supported. Although ParsePatch supports this - our templates do not and the simplest solution is simply to show the diff. Fix #15335 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* Prepend AppSubUrl to links for default avatar (#15341) (#15342)zeripath2021-04-083-4/+4
| | | | | | | | Backport #15341 Fix #15334 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Branch page and misc css improvements (#15208) (#15274)silverwind2021-04-042-7/+7
| | | | | | - Improve branches page, increase icon size, use octicons, use css vars - Style placeholder color via css var - Slightly increase contrast of input fields and active/hover states - Add styling for select boxes in arc-green
* Fix graph pagination (#15225) (#15249)KN4CK3R2021-04-021-2/+2
| | | | | | | | | | * Fixed invalid HTML tag. * Fixed pagination. * Update templates/repo/graph/commits.tmpl Co-authored-by: zeripath <art27@cantab.net>
* Diff box fixes (#15214) (#15227)silverwind2021-04-013-37/+45
| | | | | | | | | | | | | | - Fix misaligned "Show Outdated" buttons via flexbox - Add hover effect to "Show Outdated" buttons - Remove overreaching margin from selector .diff-file-box and handle cases individually. Fixes: https://github.com/go-gitea/gitea/issues/15097 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* fix org navbar (#15174)Norwin2021-03-271-1/+2
| | | Co-authored-by: Jimmy Praet <jimmy.praet@telenet.be>
* Fix lock modal content rendering outside modal (#15095) (#15100)silverwind2021-03-221-49/+46
| | | | | | | | | | * Fix lock modal content rendering outside modal The .content was not a child to .modal so was rendering outside. This is a recent regression but I'm not certain when it was introduced. * remove extraneous closing div Co-authored-by: zeripath <art27@cantab.net>
* Fix markdown rendering in milestone content (#15056) (#15091)silverwind2021-03-212-4/+4
| | | | | | - Add missing markdown class for rendered markdown. - Increase font size of milestone name in list. Fixes: https://github.com/go-gitea/gitea/issues/15046
* Fix CJK fonts again and misc. font issues (#14575)Mike L2021-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | * Push system-ui further down the stack, fix #12966 * Fix Firefox showing U+300x in emoji font and more * Revert emoji font and fix long-standing Safari bug * Exclude Safari emoji fix above 1.25x zoom * Minor correctness/typo fix, affects only legacy platforms * Emoji consistency for monospace (e.g. EasyMDE) * Override paradigm; macOS/iOS-specific metric fix * Move whitespace fix to font-face * Handle metric calculation errors with Firefox * One last workaround for aliased fonts in Linux
* fix href on label in sidebar (#15022)Norwin2021-03-181-2/+2
|
* Create new issue from code (#14863)Roger Luo2021-03-172-2/+12
| | | | | | | | | | | | | | * Feat: add reference in new issue with permalink menu for code view. * Fix: recover index.js file. * Add comments and redo ci. * Fix code convention * Fix code. Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de>
* org dashboard: move teamselector left (#14954)Norwin2021-03-171-52/+53
| | | Co-authored-by: zeripath <art27@cantab.net>
* fix: {show,link to} proper PR on kanban board ref (#15004)wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf2021-03-161-2/+2
| | | | | | | | | | | the issue was that PR references in kanban boards were being generated using `.ID` instead of `.Index`, which led to constructing incorrect links to possibly non-existent {PR,issue}s and following that to showing nonsensical values in the boards. kudos also go to @zeripath for pointing at the file to fix. Signed-off-by: wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf <a_mirre@utb.cz> Co-authored-by: zeripath <art27@cantab.net>
* Ensure that new pull request button works on forked forks owned by owner of ↵zeripath2021-03-162-11/+32
| | | | | | | | the root (#14932) Prevent 404 on new pull request button on forked fork owned by the owner of the root repository. Also ensure that the names make sense. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Move repo.CloseIssuesViaCommitInAnyBranch to issue settings (#14965)Norwin2021-03-161-9/+9
|
* Re-enable listing of forks when logged out (#14992)Mike L2021-03-141-2/+2
| | | | | * Re-enable listing of forks when logged out * Further improvements on repo button logic
* Fix spacing of issue/pulls list review status icons (#14985)Mike L2021-03-131-2/+2
|
* fix release mail html template (#14975)Norwin2021-03-121-2/+4
| | | | | was missing an </a>
* check if original author is set (#14971)Norwin2021-03-121-1/+1
| | | Co-authored-by: zeripath <art27@cantab.net>
* Fix excluding more than two labels on issues list (#14962)zeripath2021-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | * Fix excluding more than two labels on issues list Fix #14840 Signed-off-by: Andrew Thornton <art27@cantab.net> * refactor DRY * fix multiple-label filter on milestone issuelist * Apply suggestions from code review Co-authored-by: jaqra <48099350+jaqra@users.noreply.github.com> * Update web_src/js/index.js Co-authored-by: Norwin Roosen <git@nroo.de> Co-authored-by: jaqra <48099350+jaqra@users.noreply.github.com>
* don't show project cog in issue sidebar if no permission (#14953)Norwin2021-03-121-1/+3
|
* Prevent incorrect HTML escaping in swagger.json (#14957)zeripath2021-03-111-2/+2
| | | | | | | | | | | | | | | | | | * Prevent incorrect HTML escaping in swagger.json Fix #14706 Signed-off-by: Andrew Thornton <art27@cantab.net> * oops add it to the helper Signed-off-by: Andrew Thornton <art27@cantab.net> * try again Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add ui.explore settings to control view of explore pages (2) (#14094)zeripath2021-03-111-3/+5
| | | | | | | | | | | | | | | | | | | | | | | This is an alternative PR to #13687. Add `[ui.explore]` settings to allow restricting the explore pages to logged in users only and to disable the users explore page. The two proposed settings are: - `REQUIRE_SIGNIN_VIEW`: Only allows access to the explore pages if the user is signed in. Also restricts - `/api/v1/user/search` - `/api/v1/users/{username}` - `/api/v1/users/{username}/repos` - but does not restrict `/api/v1/users/{username}/heatmap` - `DISABLE_USERS_PAGE`: Disables the /explore/users page Fix #2908 Close #13687 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* Minor UI fixes (#14926)Norwin2021-03-081-1/+1
| | | | | | | * disable fork button when not signed in * fix commit body styling on PR page * fixup! fix commit body styling on PR page
* Fix alignment of People and Teams right arrow on org homepage (#14924)zeripath2021-03-081-9/+9
| | | | | | | | Fix #14854 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>