Commit Graph

34 Commits

Author SHA1 Message Date
756eafaaf6 Fix some issues with special chars in branch names (#3767)
Signed-off-by: Robin Durner <github@nubenum.de>
2018-09-17 01:28:23 +03:00
6c1a31ffaa User shouldn't be able to approve or reject his/her own PR (#4729)
* Make sure author cannot reject/approve their own PR

* Disable buttons in templates too

* Remove unneccessary if check since the switch below catches it

* Fix IsOwner check

* Update template and remove new template variable

* Add alert template and redirect to diff page on review failure

* Redirect to files diff as a little update to #4632
2018-08-20 07:04:01 +02:00
2e3475f02c Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
3d3faa2624 Responsive view (#2750)
* Viewport meta tag

* responsive: dashboard

* responsive: issues page

* responsive: Explore page

* responsive: navbar, and some navbar css refactoring

* responsive: button for collapsing navbar in mobile view

* Mark the hamburger button as active when pressed

* better homepage for responsive views

* Bring back jump class in navbar

The class was necessary, because this way the
dropdown doesn't assume the contents of the
selected item.

* make repository homes responsive

* Make file view page responsive

* Make forms look good on responsive views

* make commits and commit diff view responsive

* issues and PRs

* responsive wiki

* Don't place auto-init far off the page

* Minor changes to amend broken stuff

minor improvements

- make login/sign up in navbar stackable
- make navbar in explore and sign in not stackable

Change selected class in TestPullCompare

Fix typo that happened when rebasing

fix dashboard on org view

improve profile UI

Use clearing on file diff to fix broken UI caused by floating elements

remove unresolved merge conflict, and | Sanitize

Fix repo home not loading
2017-12-30 18:47:52 -06:00
1ec4dc6c1d Fix so that user can still fork his own repository to owned organizations (#2699)
* Fix so that user can still fork his own repository to his organizations

* Fix to only use owned organizations

* Add integration test for forking own repository to owned organization
2017-10-15 18:06:07 +03:00
2343feadd4 resolved #310: hide fork to self (#323) 2016-12-01 18:51:50 +08:00
ba27d71abe Web editor: improve edit file 2016-08-28 04:31:42 -07:00
50422f1fc2 #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
1f2e173a74 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
ac390d28b8 Fix problems with '#' in branchname
Add proper escaping of '#' in branchname in compare when doing pull
requests. This addresses issue #2822.
2016-03-15 11:36:23 +01:00
0e9bc2d410 Fix pull request availability check 2016-03-06 23:57:46 -05:00
2d2d85bba4 #1597 support pull requests in same repository 2016-03-04 15:43:01 -05:00
548440b48f Change colour of numbers on pull request tabs if greater than zero 2016-02-28 23:27:41 +00:00
c62a6b7a12 #2014 allow switch branches between two orgs in compose PR 2015-12-20 01:06:54 -05:00
5ff6eedf5e #2251 fix button name 2015-12-19 22:07:06 -05:00
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
2015-12-08 00:57:46 +01:00
f04d773f4f UI: long organization name in create repository owner list 2015-11-18 17:42:20 -05:00
81d7359fdd fix #1981 2015-11-18 15:11:37 -05:00
fc7959d3bc New/reopen PR checks if there is any unmerged and open PR 2015-10-18 19:30:39 -04:00
953bb06857 basic PR feature 2015-09-02 09:26:56 -04:00
1abfe4e05f PR: nothing to commit and has pull request check 2015-09-02 05:09:12 -04:00
37e0cee877 finish PR UI 2015-09-02 04:08:05 -04:00
8c046073a8 work on PR conversation 2015-09-01 19:07:02 -04:00
398569f6f8 #1021 Forked repo unavailable after deleting original repo 2015-09-01 11:43:53 -04:00
ee3e0c3c49 fix dropdown search 2015-08-31 17:10:28 +09:00
2f2bf20aae fix menu overflow 2015-08-26 12:39:32 +08:00
48f12d4ead upgrade new issue to SUI v2 2015-08-10 01:04:23 +08:00
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
2015-08-10 00:37:42 +08:00
590c464c56 UI: create issue with title and content 2015-08-09 15:23:02 +08:00
4b43ffc96c Generate random avatar based on e-mail when disable Gravatar 2015-08-09 11:46:10 +08:00
43a87b0caf auto-redirect when finish filter branch 2015-08-08 23:12:23 +08:00
dea3a8c6a4 WIP: create PR - choose branch 2015-08-08 22:43:14 +08:00
e3bdfd51ff better fork permission check 2015-08-08 17:24:10 +08:00
9db4acc62e improve fork process 2015-08-08 17:10:34 +08:00