Commit Graph

330 Commits (0a7c5623d7a58a342f1734d00080ef71c5ed991e)

Author SHA1 Message Date
Unknwon 3f7f4852ef fully support of webhooks for pull request
Andrey Nering 25b23c4bc9 Do not show non-image attachment in a <img> tag. Fixes ()
Unknwon d625e41c6c minor code fix
Sandro Santilli eb1bfe0e59 Do not show the "Sign up for free" button in issue tracker ()
* Do not show the "Sign up for free" button in issue tracker

The "Sign in to comment" link is good enough and will correctly
show or not show the "Sign Up" button link for those not having
an account already.

Fixes  (link to nowhere when registration is disabled)

* Move html from translation to template

* Remove extra space in `{{ .SignInLink }}`.
Unknwon 90af997fec 500 for upstream pulls page if user has forked repository
Unknwon 50422f1fc2 always use relative avatar link in the template
Okunev Yu Dmitry 55b4e77a5e Fix of template error in "/:owner/:repo/pulls" ()
If anonymous (not signed in user) requests page
"/:owner/:repo/pulls" he gets an error:

  template: repo/issue/list:11:105: executing "repo/issue/list" at <.PullRequestCtx.Base...>: nil pointer evaluating *models.Repository.Link

This commit fixes that.

Signed-off-by: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
Unknwon 899e799459 support delete issue comment
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon 26d52ceb48 fix wrong link for new pull request button of non-fork repository
Unknwon b0eb47cb1c Fix misselection of issues view type
Unknwon fdcca9292e fix emoji been rendered inside raw content area
Unknwon a27c6f4b75 fix sort' field missing on issue pagination link
Unknwon 9a5a27ea8d Improve repository lable style
- add border-radius to filter list items
- use color as background of label for issue/pull view page
Odin Ugedal c9321550e0 Add prorper escaping of url in issue form
Unknwon 0e9bc2d410 Fix pull request availability check
Unknwon a5b0400be7 finish new access rights for collaborators
Unknwon 2d2d85bba4 support pull requests in same repository
Andrey Nering 13e71acadf Render emojis in more places.
Lukas Dietrich c0eaae200e Add ForegroundColor for labels
Andrey Nering 658bfc2704 Implement issue and pull request templates.
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates

Priority:
- root
- .gogs
- .github
chriswatt af8e323248 Fix tab index on new issue/comment form
Unknwon 1c74612b3c Minor fix for
Kim "BKC" Carlbäcker b921161666 Name popup
Kim "BKC" Carlbäcker 2cc1ee3fc0 Implemented participant-listing for issue-pages
Unknwon eb918c2368 fix only admin can view milestone desc
Adam Strzelecki da2585c11e Indent all templates with tabs
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.

1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
   such as {{if}} {{with}}

2. Cleans all trailing white-space

3. Adds trailing last line-break to each file
Unknwon ec2423ad7c more UI minor fixes
Adam Strzelecki 2580e7b57e UI: Always show menu on repo pages
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
Adam Strzelecki 3eae4ecde7 UI: Make repository menu divide header and content
This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.
Unknwon 5572884c6b fix
Unknwon 2b10fdc4dc Wiki: UI for page new
Unknwon d370effca5 minor fix for
Unknwon 5dc3dd1704 fix
Unknwon 134d8e7681 work on
Unknwon 6a664e88c7 show issue content
Unknwon 675cd997d8 minor tabindex fix
Unknwon 908f2924ce fix and fix
Alexey Makhov 7835c2212c issue add tabindex
Unknwon 0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply
Unknwon 923873db85 fix possible XSS in view issue page
Unknwon c7ac237b57 fix css
Unknwon 6f6f38e7c3 suburl for comment attachments
Unknwon 31e7b0f588 status button mrigin-right
Unknwon 24658fcbdd dix suburl
Unknwon 5c5ccddb02 fix buttons style
Unknwon c0a899b151 css fix
Unknwon 83dc2468f5 finish initial version of pull request
Unknwon 953bb06857 basic PR feature
Unknwon 1abfe4e05f PR: nothing to commit and has pull request check
Unknwon 37e0cee877 finish PR UI
Unknwon ebf1bd4f51 add view pull desc
Unknwon 8c046073a8 work on PR conversation
Unknwon 1ca257ad9f rename fields
Unknwon 9b9e5f0290 Cross reference the commit from the issue when it is closed by the commit
Unknwon a00194e665 work on
Unknwon ce386cfb61 fix suburl
Unknwon 45c2b4bd76 fix HTML
Unknwon ac616c07de fix
Unknwon 371572cf5f allow edit issue and comment
Unknwon 87f5ca8e1f able edit issue title
Unknwon 2e30b421b4 comletely remove v1 UI files of Gogs
Unknwon a52324a5f9 able sort issues
Unknwon 4ce003dc15 Filter issues by assignee
Unknwon a24141ec9c more on
Unknwon 30b428bf0e : 500 when visit a issue with issue/comments of deleted user
Unknwon cec38f2a8c able edit issue labels/milestone/assignee
Unknwon 817b48ed1e Show owner/poster tags of comments and fix
Unknwon 1fb53067f4 finish close/reopen issue
Unknwon 133b19d0c5 finish view comments on issue page
Unknwon ab2d0b3b44 add comment form UI
Unknwon b4c0b7b98b finish view issue without comments and ops
Unknwon 34f6cbfc2a finish attachments when create issue
Unknwon 89c2bd4a0d finish create issue attachment UI
Unknwon 75aff60c90 finish create issue with milestone and assignee
Unknwon 09a1b2a1f5 finish create issue with milestone
Unknwon 922f3f3062 finish create issue with labels
Unknwon 17de3ab0a3 add migrate from issue.label_ids to issue_label
Unknwon 48f12d4ead upgrade new issue to SUI v2
Unknwon a79586cc54 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
#	templates/repo/header.tmpl
Unknwon 8a3ee795d2 finish transforming to v2
Unknwon 7372042441 list view: issue, label, milestone
Unknwon 590c464c56 UI: create issue with title and content
James Anderson fc63422caf Add check to see if comments on an issue are by the repo owner
Unknwon 9d414d4dd9 remove Index field of milestone
Unknwon 0705f55ce0 finish new milestone page
Unknwon 6d2f25b9f5 clean files
Unknwon 74bd6b939c milestone: edit
Unknwon cf90312b8f clean file
Unknwon 4081f86654 fix new milestone button visibility
Unknwon 3e4cdccf6b milestone: create page
Unknwon 9311a9858a milestone: pagination
Unknwon e7f015db8c fix template
Unknwon 04458d49a0 milestone: list view
Fernando San Julián b92bb77b54 autofocus for new and edit issue forms
Fernando San Julián 4bfc71c73f pagination in repo issues page only if needed
Unknwon 589618c8a5 better paging
Unknwon 2e7b38db9f fix paging links and issue count
Unknwon 1ba837a055 new issue and label page
Unknwon dc4aab9925 UI: CURD labels
- fix update lable break connection with repository
Unknwon ac95f6d50f UI: basic label list
- create new label
Unknwon 86dbda0b42 UI: basci issue list without filters
- fix isRead check
- fix paging
Unknwon 4447a20f87 UI: issues - finish basic frame
Unknwon 03011ed307 fix suburl for js
Unknwon 5cf3732339 UI: install - new version
Unknwon 75cbb32b1e UI compatibility
Unknwon 8e384ce46c fix , may cause unintentional break in other features, but security is no.1
James Cracknell 4d123d0a93 Fix user links
Vyacheslav Bakhmutov 5103f16f78 add omitted lang
Vyacheslav Bakhmutov ce7422473a add omitted lang
Unknwon 7ba9257a7f Add suburl support
Martin van Beurden 0055cbd365 Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
Tristan Storch 69e332f432 Removed trailing white spaces
Removed trailing whitespaces with

```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```

and some handwork.
Unknwon 3428baa3b5 Mirror fix on template
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!!
Justin Nuß 12fb42de5a Fix IE bug and show errors.
Justin Nuß 4e2477a1a5 Fix . Switch to JS(ON) implementation for issue/comment creation.
Justin Nuß dedb156d4a Fix . Allow empty comments as long as there are attachments.
Justin Nuß 4d702eb345 Allow disabling uploads
Justin Nuß bfe5b86004 Add file upload for attachments
Justin Nuß 43e5de7f83 Show attachments in issues/comments and add preview for images
Justin Nuß 1129f756c8 Fix missing . (dot) in issue templates
Justin Nuß 967856f36e Merge branch 'dev' into feature/attachments
Conflicts:
	models/issue.go
	routers/repo/issue.go
Justin Nuß d43c5895bc Update template and style, only close commit if commit is in same repository
Justin Nuß 3c025b3950 Add delete route for attachments, remove upload buttons from issues/comments
Justin Nuß 34304e6a0c WIP: Allow attachments for issues, not only comments
Justin Nuß 4617bef895 WIP: Allow attachments for comments
Justin Nuß ccca60a5a1 Fix issue . Only show label form if repository collaborator/admin
Unknown be8ac7fb75 fix
Unknown 9924e65ca1 In progress of name template name constant