summaryrefslogtreecommitdiffstats
path: root/templates/repo
Commit message (Collapse)AuthorAgeFilesLines
...
* Add same changes from issues page to milestone->issues page (#6328)John Olheiser2019-03-152-10/+26
|
* Fix fork button (#6223)John Olheiser2019-03-051-1/+1
|
* Add ability to sort issues by due date (#6206) (#6244)stevegt2019-03-051-0/+2
| | | Signed-off-by: Steve Traugott <stevegt@t7a.org>
* fix bug user could change private repository to public when force private ↵Lunny Xiao2019-02-221-1/+1
| | | | enabled. (#6156)
* Minor UI tweaks (#5980)John Olheiser2019-02-194-17/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove all CommitStatus when a repo is deleted Signed-off-by: jolheiser <john.olheiser@gmail.com> * Minor UI tweaks (#5782) Added 'No License' option Added link and octicon change for external issue trackers Reset password now notifies right away if the code is invalid Signed-off-by: jolheiser <john.olheiser@gmail.com> * More UI tweaks More info in PR * Generate stylesheet for arc-green * Make gofmt work * Change PR integration since the button is changed * Rebase * Generate stylesheet * UI updates Made the PR button a "basic" button Vertically centered the issue checkboxes Labels will update only once after modal is closed * Commit to reference related issues Resolves #5782 Resolves #5861 Addresses original question in #5993 * Change the comment wording since PR button is no longer little and green. * Revert changes that made Windows work * Regenerate stylesheet * Regenerate stylesheets * make generate-stylesheets * Update integration again, changed button style Signed-off-by: jolheiser <john.olheiser@gmail.com> * Added ID to PR button Changed integration to use the ID to avoid breaking in the future * Added missing semi-colons * Added back distinction between issue actions and filters (overlooked it before) Moved action button over next to other action dropdowns * Remove extra tab formatting in list.tmpl * Remove more formatting from GoLand * Replace hardcoded "No License" with i18n license helper.
* Implement "conversation lock" for issue comments (#5073)Lanre Adelowo2019-02-183-2/+153
|
* Allow labels to contain emoji (#6063)John Olheiser2019-02-164-8/+8
| | | | | | | | | | | | | | | | | | | * Add emoji to labels Minor cleanup of tribute code in footer.tmpl Signed-off-by: jolheiser <john.olheiser@gmail.com> * Quick find/replace in other i18n files containing label translations Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert "Quick find/replace in other i18n files containing label translations" This reverts commit ec3e1a3a1775989301bb2c1cd08e8871b317688d. * Add style to overwrite emoji height in labels * Revert Makefile change that makes Windows work
* Revert "Fix wrapping long code lines in UI" (#6074)silverwind2019-02-152-3/+3
| | | | | This reverts commit e5cd80e0219f10818f43e8cab6b9c814cb1cd796. Fixes: https://github.com/go-gitea/gitea/issues/6064
* Fix panic: template: repo/issue/list:210: unexpected "=" in operand (#6041)Zsombor2019-02-131-17/+2
|
* Add the Owner Name to differentiate when merging (#3807)Luo Yifei2019-02-121-4/+4
|
* Add option to close issues via commit on a non master branch (#5992)Lanre Adelowo2019-02-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes #5957 * add tests to make sure config option is respected * use already defined struct * - use migration to make the flag repo wide not for the entire gitea instance Also note that the config value can still be set so as to be able to control the value for new repositories that are to be created - fix copy/paste error in copyright header year and rearrange import - use repo config instead of server config value to determine if a commit should close an issue - update testsuite * use global config only when creating a new repository * allow repo admin toggle feature via UI * fix typo and improve testcase * fix fixtures * add DEFAULT prefix to config value * fix test
* Enhance closed PR and Issue status in the list (#6000)Lanre Adelowo2019-02-081-1/+17
| | | | | | | | | | * working version * Update options/locale/locale_en-US.ini Co-Authored-By: adelowo <adelowomailbox@gmail.com> * update templates
* UI: Repo header tweaks (#5945)silverwind2019-02-052-22/+19
| | | | | | | | | | | | | | | | * UI: Repo header tweaks - Use basic buttons on the header buttons, matching gogs - Make 'Manage topic' text smaller, remove margin-left with no topics present - Move various inline styles to CSS - Use flexbox on header title and buttons * fix indentation * reverse media query wrapping * fix inconsisten whitespace
* Display the branch name in the commit view (#5950)Lanre Adelowo2019-02-051-0/+1
| | | | | | | | | | * add branch info * Remove blank lines * Remove blank lines * update git dependency
* UI: Fixes for repo topic editor (#5971)silverwind2019-02-051-1/+1
| | | | - Properly hides the edit interface when saving a empty topic list - Align the Done button with the edit box
* Pull request conflict files detection (#5951)Lunny Xiao2019-02-051-0/+9
| | | | | | | | | | * add conflict detection * test pull request conflict files * fix detection files number * fix comments
* Automatically clear stopwatch on merging a PR (#4327)Lanre Adelowo2019-02-051-0/+1
| | | | | | | | | | | | | | | | | | | | * Don't display buttons if there are no notices * clear stopwatch on merging a PR * remove redundant gt check * use ctx.Flash as per @bkcsoft comment * stop timer on closing issues/PRs too * updated translation as per review * redirect to login page after successfully activating account * remove unrelated changes * stop timer for issues that are closed via commits too..Not just the 'close' UI button
* Issue 5924 fix compare button (#5929)zeripath2019-02-031-1/+1
| | | | | | | | | | | | * Revert #5877 This unfortunately was not the solution. Signed-off-by: Andrew Thornton <art27@cantab.net> * Change permission check to create pull requests to CanReadIssuesOrPulls Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix wrapping long code lines in UI (#5927)silverwind2019-02-022-3/+3
| | | | | | | | | | | | | Wrapping was initially added in https://github.com/go-gitea/gitea/pull/2789 but it is currently disabled because the rule that applies wrapping to the wrap class did not have enough CSS specificity. Resolved the issue by using a general selector that matches all code boxes. The previous wrap class was removed because it had only been inconsistenly applied to various code boxes and because I found no easy way to add classes to code boxes rendered in Markdown. Also removed a seemingly useless :before on code view and added padding to restore the spacing.
* UI: Better support for long repo names (#5932)silverwind2019-02-021-2/+2
| | | | | | * UI: Make long repo names wrap less often * also adjust news feed column widths
* don't allow pull requests to be created on an archived repository (#5883)Lanre Adelowo2019-01-301-1/+1
| | | | | | * don't allow pull requests to be created on an archived repository Also disable the "PR" button if the repo is archived * Refuse creating an issue/PR via API calls too
* fix compare button on upstream repo leading to 404 (#5877)Lanre Adelowo2019-01-291-2/+2
|
* UI: Change GPG Validation colors and remove inline CSS; fixes #5404 (#5896)EpicCoder2019-01-291-4/+4
|
* New Issue ?body= query (#5851)kekero2019-01-281-1/+1
| | | | | | | | * New Issue ?body= query * Override issue template with body query * Add documentation for issue body query
* Revert #3711 overwrite of only show "No Description" to repo admins #2167 ↵Gabriel Silva Simões2019-01-271-1/+1
| | | | | (#5836) Revert #3711 overwrite of only show "No Description" to repo admins #2167 and add tests to prevent accidental overwrite again.
* Fix topics saving internal error and disable for archived repos (#5821)Lauris BH2019-01-241-2/+2
|
* Feature: Archive repos (#5009)kolaente2019-01-2316-216/+315
|
* Add the ability to use multiple labels as filters(#5786)Lauris BH2019-01-221-2/+2
|
* Fix wording when user is unassigned from an issue (#5769)Lanre Adelowo2019-01-191-1/+5
| | | | Previous Gitea would display that the user had unassigned themselves even if the actor was not the user. Fixes #4418
* Refactor repo.isBare to repo.isEmpty #5629 (#5714)zeripath2019-01-175-8/+8
| | | | | | | | * Refactor repo.isBare to repo.isEmpty #5629 Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Sync call
* Don't list an issue on its own dependency list UI. (#5658)Harshit Bansal2019-01-151-1/+1
| | | Fixes: #4684.
* allow user fork repo even when as a guest.. This will prompt the user to ↵Lanre Adelowo2019-01-101-1/+1
| | | | login and if authentication was successful, the user will be redirected to fork the repo (#5690)
* Added URL mapping for Release attachments like on github.com (#1707)gdeverlant2019-01-061-9/+9
|
* Display branch name in delete branch confirmation modal. (#5654)Harshit Bansal2019-01-061-2/+2
| | | Fixes: #5630.
* Fix wrong text getting saved on editing second comment on an issue. (#5608)Harshit Bansal2018-12-312-2/+2
| | | | | | | | | | | | | | | | * comments: Fix an incorrent DOM element selection. This commit fixes a bug that was causing text from previously edited comment to get saved when two comments were edited one after other. Text area with id of `#content` isn't unique on the page but it was being treated as unique by the event handling code. Fixes: #5581. * templates: Remove `id` from textarea in commit edit form. An element is assigned an `id` only if it is unique for the whole page but in this case there can be multiple textarea so it should have one.
* Add rebase with merge commit merge style (#3844) (#4052)Julian2018-12-272-1/+32
| | | Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
* Approvals at Branch Protection (#5350)Jonas Franz2018-12-112-1/+48
| | | | | | | | | | | | | | | | | | | | | | * Add branch protection for approvals Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add required approvals Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add missing comments and fmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add type = approval and group by reviewer_id to review * Prevent users from adding negative review limits * Add migration for approval whitelists Signed-off-by: Jonas Franz <info@jonasfranz.software>
* word-break the WebHook url to prevent a ui-break (#5432)romankl2018-11-301-1/+1
| | | | | | | | | | | | | | | right now, the url is displayed with an anchor tag with no classes. If the url is really really long, the url will break out of the containing div and (depending on the url length) the browser shows the horizontal scrollbar. This pr makes use of the already existing css class `dont-break-out` which gives all the anchor the necessary properties to prevent the break. Another solution could be to introduce some classes like `text text-break-word`, but that would duplicate the `dont-break-out` class just for text elements that use the `text` class. fixes: https://github.com/go-gitea/gitea/issues/5416 Signed-off-by: Roman <romaaan.git@gmail.com>
* Milestone issues and pull requests (#5293)Lunny Xiao2018-11-292-1/+234
| | | | | | | | | | | | * add milestone issues and pulls page instead of redirecting issues page * add milestone when creating issue from milestone page * refactor to merge similiar codes as a new function issues * remove milestone info on milestone issues list * fix missing params
* Restrict permission check on repositories and fix some problems (#5314)Lunny Xiao2018-11-2819-49/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix units permission problems * fix some bugs and merge LoadUnits to repoAssignment * refactor permission struct and add some copyright heads * remove unused codes * fix routes units check * improve permission check * add unit tests for permission * fix typo * fix tests * fix some routes * fix api permission check * improve permission check * fix some permission check * fix tests * fix tests * improve some permission check * fix some permission check * refactor AccessLevel * fix bug * fix tests * fix tests * fix tests * fix AccessLevel * rename CanAccess * fix tests * fix comment * fix bug * add missing unit for test repos * fix bug * rename some functions * fix routes check
* Fix dependent issue searching when gitea is run in subpath (#5392)Lauris BH2018-11-251-1/+1
|
* Show review summary in pull requests (#5132)kolaente2018-11-221-0/+35
|
* Fix file edit change preview functionality (#5300)Lauris BH2018-11-092-4/+2
|
* Serve audio files using HTML5 audio tag (#5221)Jonas Bröms2018-10-301-0/+4
| | | | | | * Serve audio files using HTML5 audio tag * Correct copy paste error
* Fix emojis not showing in commit messages (#5168)James Anderson2018-10-291-1/+1
| | | | | Fixes #5150 Signed-off-by: James Anderson <james@jamesa.me>
* Add comment replies (#5104)Jonas Franz2018-10-224-9/+9
| | | | | | * Add comment replies * Replace reviewID with review.ID
* Fix adding review comment in split view (#5038)Lauris BH2018-10-091-3/+2
|
* Remove links from topics in edit mode (#5026)SagePtr2018-10-061-1/+1
|
* Fix missing AppSubUrl in few more templates (#5021)SagePtr2018-10-051-1/+1
|
* Fix missing AppSubUrl in some templates (#5020)SagePtr2018-10-051-1/+1
|