Andrey Nering
25b23c4bc9
Do not show non-image attachment in a <img> tag. Fixes #3215 ( #3311 )
2016-08-11 16:16:36 -07:00
Unknwon
5077408d78
#3233 code cleanup and minor issue fix
2016-08-11 10:53:51 -07:00
Andrew
0885784f13
Wiki mirroring implementation ( #3233 )
...
* Implement wiki mirroring, add Update mirrors operation to admin dashboard
* bindata.go update after merge
* Implement checking Git repo endpoint existence, support for BB included
* Remove admin dashboard operation
Fix bindata.go
* Apply gofmt to repo model file
* Try to remove bindata from PR
* Revert accepted wiki names change in favor of better system
* Remove unused imports
2016-08-11 10:18:51 -07:00
Unknwon
d625e41c6c
#3408 minor code fix
2016-08-11 07:41:01 -07:00
Sandro Santilli
eb1bfe0e59
Do not show the "Sign up for free" button in issue tracker ( #3408 )
...
* 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 #3407 (link to nowhere when registration is disabled)
* Move html from translation to template
* Remove extra space in `{{ .SignInLink }}`.
2016-08-11 07:36:23 -07:00
Rory McNamara
c8b45ecc27
Render the Code view on the server (minus syntax highlighting) ( #2942 )
...
* render code view server side
* remove debug print
* fix multiline selection bug
* change string concatenation to bytes.Buffer for efficiency
* Fix newlines added by previous for hljs
* fix selection highlighting
* make css changes in .less
2016-08-09 12:35:20 -07:00
Unknwon
9e8a8867ea
#3325 use correct word for .gitignore
2016-08-09 12:16:21 -07:00
Unknwon
90af997fec
#3399 500 for upstream pulls page if user has forked repository
2016-08-08 13:02:55 -07:00
rugk
28dc5bb566
Replace gogs.io http links with https version ( #3386 )
2016-08-05 17:35:40 -07:00
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
2016-08-05 12:12:54 -07:00
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
2016-08-04 16:32:02 -07:00
Unknwon
991ce42c48
#2162 improve repository advance options UI display
...
Enable/disable input based on user chosen options for wiki and issue tracker.
2016-07-31 01:26:43 +08:00
Okunev Yu Dmitry
55b4e77a5e
Fix of template error in "/:owner/:repo/pulls" ( #3343 )
...
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>
2016-07-29 22:59:38 +08:00
Unknwon
899e799459
#1601 support delete issue comment
2016-07-26 02:48:17 +08:00
Unknwon
2295fafb34
repo/settings/options: take naming style examples out of locale string
2016-07-25 16:55:51 +08:00
Unknwon
1f2e173a74
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08:00
Unknwon
024fcc836b
Minor HTML fix for delete repository notice
2016-07-23 20:42:46 +08:00
Unknwon
26d52ceb48
#3186 fix wrong link for new pull request button of non-fork repository
2016-07-23 19:55:53 +08:00
Unknwon
c912494609
#3076 detect invalid tag name git error
2016-07-23 15:59:19 +08:00
Siarhei Navatski
cf85e9eb7b
add IsSubmodule field to DiffFile and hide view file button on diff page for submodules ( #3097 )
2016-07-23 02:18:56 +08:00
Unknwon
b0eb47cb1c
Fix misselection of issues view type
2016-07-17 09:25:24 +08:00
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
2016-07-16 12:45:13 +08:00
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
2016-07-16 01:02:55 +08:00
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
2016-07-15 21:53:43 +08:00
Richard Mahn
7796c9e122
Fixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui ( #3267 )
2016-07-15 13:57:28 +08:00
Kim Carlbäcker
f4ab50501e
[Fix] Don't display way too large files #1513 ( #3253 )
...
* Add MaxDisplayFileSize setting
* Don't show files that are too large
* Localized FileTooLarge
* Change IsFileTooBig => IsFileTooLarge
2016-07-12 06:21:26 +08:00
Unknwon
fdcca9292e
#2458 fix emoji been rendered inside raw content area
2016-07-11 05:28:56 +08:00
Unknwon
a1f717f65a
Update locale
2016-07-09 23:59:13 +08:00
Unknwon
9fcf66f0e0
Minor fix for #3246
2016-07-09 13:42:05 +08:00
Pablo Saavedra
98b152030d
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )
...
Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
2016-07-09 13:22:28 +08:00
Pheng Heong TAN
467d7dacb6
Modify behaviour of repo-delete. ( #3232 )
...
Re: issues gogits/gogs#2863 and gogits/gogs#3231
As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.
Meta
-----
This commit will be rebased onto the 'develop' branch.
2016-07-09 13:13:57 +08:00
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
2016-06-29 23:11:00 +08:00
Andrey Nering
6efb1e5626
Localize collaboration settings. ( #3100 )
...
Closes #2764
2016-06-28 00:22:30 +08:00
Unknwon
73b4acbb63
Update glide.yaml
2016-06-27 23:40:36 +08:00
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
2016-04-26 21:48:44 -04:00
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
2016-04-22 18:28:08 -04:00
Unknwon
a27c6f4b75
#2916 fix sort' field missing on issue pagination link
2016-04-04 19:48:10 -04:00
Unknwon
9a5a27ea8d
Improve repository lable style
...
- add border-radius to filter list items
- use color as background of label for issue/pull view page
2016-03-15 19:52:40 -04:00
Odin Ugedal
c9321550e0
Add prorper escaping of url in issue form
2016-03-15 11:56:49 +01:00
Odin Ugedal
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
Unknwon
c6277cce51
Minor fixes for #2761
2016-03-11 17:57:44 -05:00
Unknwon
6530375dbf
Merge pull request #2761 from soudy/grey-out-merge-commit
...
Grey out merge commits
2016-03-11 17:51:17 -05:00
Unknwon
0e9bc2d410
Fix pull request availability check
2016-03-06 23:57:46 -05:00
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
2016-03-05 20:45:23 -05:00
Unknwon
045f14fbd0
#1146 finsih UI work for access mode of collaborators
...
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
2016-03-05 18:08:42 -05:00
Steven Oud
1d3ec27cb7
Put if statement of grey merge commits on one line
2016-03-05 17:59:07 +01:00
Steven Oud
a0cd59bd0e
Grey out merge commits
2016-03-05 17:00:38 +01:00
Unknwon
dfd6f8f7ab
Merge pull request #2757 from joshfng/fix-fork-relative-url
...
Use relative url when showing forked from
2016-03-04 18:37:42 -05:00
Josh Frye
275464e7fb
Use relative url when showing forked from
2016-03-04 18:32:30 -05:00
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
2016-03-04 15:43:01 -05:00
Josh Frye
2f228ddf31
Update delete wiki page route
2016-03-04 09:26:52 -05:00
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
2016-03-04 09:26:52 -05:00
Unknwon
dfbda48afc
Merge pull request #2738 from andreynering/emogify
...
Render emojis in more places.
2016-03-03 23:38:20 -05:00
Unknwon
260723e2cc
Minor fixes for #2745
2016-03-03 23:24:22 -05:00
Josh Frye
f3358f5927
Repo setting to delete and disable wiki
2016-03-03 16:12:48 -05:00
Andrey Nering
13e71acadf
Render emojis in more places.
2016-03-02 21:54:05 -03:00
Unknwon
42a556a082
Merge pull request #2722 from chriswatt/hidewikidlbutton
...
Hide the download archive button when viewing wiki pages
2016-02-29 13:36:22 -05:00
chriswatt
a71a5bfeb4
Remove download archive button on wiki pages
2016-02-29 15:45:55 +00:00
chriswatt
548440b48f
Change colour of numbers on pull request tabs if greater than zero
2016-02-28 23:27:41 +00:00
Lukas Dietrich
c0eaae200e
Add ForegroundColor for labels
2016-02-27 13:59:11 +01:00
Andrey Nering
d160c7e565
Little refactoring of diff highlight.
...
Moving cache variable to template instead of in the struct.
2016-02-21 18:45:24 -03:00
Unknwon
7140dbac95
Fix #857
2016-02-20 15:10:34 -05:00
Unknwon
a703f7d7b4
Merge pull request #2647 from andreynering/issue-template
...
Implement issue and pull request templates
2016-02-20 14:12:15 -05:00
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
2016-02-19 20:33:06 +01:00
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
2016-02-18 21:21:30 -02:00
Unknwon
632c27802c
Minor fix for #2624
2016-02-15 14:57:15 -05:00
Unknwon
dc89c51f3e
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
...
Convert mirrors to regular repositories
2016-02-15 14:26:21 -05:00
chriswatt
d710b5e791
Fix when repo is empty
2016-02-14 23:26:47 +00:00
chriswatt
c47866b34a
Add grey bg to tabs on repo page
2016-02-14 23:09:33 +00:00
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
2016-02-14 22:40:39 +01:00
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
2016-02-14 21:12:00 +01:00
chriswatt
af8e323248
Fix tab index on new issue/comment form
2016-02-07 22:14:33 +00:00
Unknwon
b09ddc72d2
Merge pull request #2581 from chriswatt/committab
...
Make commits tab active when on diff page
2016-02-07 15:37:22 -05:00
chriswatt
a881f776d0
Make commits tab active when on diff page
2016-02-07 20:11:25 +00:00
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
2016-02-04 18:21:47 -02:00
Unknwon
1c74612b3c
Minor fix for #2444
2016-02-01 20:55:12 -05:00
Unknwon
d3ba246693
Merge pull request #2444 from bkcsoft/feature/participants
...
Implemented participant-listing for issue-pages (Fixes #2377 )
2016-02-01 20:31:54 -05:00
Florian Kaiser
d568019306
Remember last selected clone protocol, and establish uniform order (https, ssh)
2016-02-01 17:04:58 +00:00
Unknwon
566163ab82
Merge pull request #2502 from bkcsoft/fix/split-view-diff
...
Split view fixed
2016-01-28 10:11:45 -05:00
Kim "BKC" Carlbäcker
96dee1c354
Split view fixed
2016-01-27 23:52:42 +01:00
Andrey Nering
5deb726f3f
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
2016-01-27 18:54:08 -02:00
Kim "BKC" Carlbäcker
b921161666
Name popup
2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker
2cc1ee3fc0
Implemented participant-listing for issue-pages
2016-01-26 17:55:54 +01:00
Unknwon
d1675c2701
fix CSS of branch dropdown when view commits under revision
2016-01-14 21:27:36 +08:00
Adam Strzelecki
41fdaabcf7
commit.RefUrl expects AppUrl argument
...
This is fixup for ea375c0dcc
. The bug was not
visible because commit.RefUrl was always returning empty url due regression
described in https://github.com/gogits/git-module/pull/4
2016-01-13 19:09:50 +01:00
Unknwon
bcf6aed452
Merge pull request #2335 from andreynering/highlight-diff
...
Highlight diff
2016-01-09 13:39:18 +08:00
Unknwon
cc8c67ff29
fix markdown autolink error
2016-01-09 10:59:04 +08:00
Andrey Nering
81ed5c4bee
Declaring specific types for enums constants.
...
This makes the code more strict since you can't assign or compare
values of different types without proper cast.
2016-01-06 18:00:40 -02:00
Andrey Nering
73474c043b
Highlighting differences of lines in the diff view.
2016-01-06 17:46:56 -02:00
Kim "BKC" Carlbäcker
2087156119
Removed opticon-fold
2016-01-06 02:21:20 +01:00
Kim "BKC" Carlbäcker
3870a7a3c8
merged split/unified templates
2016-01-06 00:08:50 +01:00
Kim "BKC" Carlbäcker
8fe5d887ae
Changed name from inline to unified
2016-01-05 19:21:50 +01:00
Kim "BKC" Carlbäcker
4e6d048ba1
i18n-fix for split-view
2016-01-05 19:21:49 +01:00
Kim "BKC" Carlbäcker
0df39b33eb
Implement Split Diff-View
...
- Unified/Inline Diff-View Selectable
2016-01-05 19:21:41 +01:00
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
2015-12-25 05:45:07 -05:00
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
2015-12-21 04:24:11 -08:00
Unknwon
c62a6b7a12
#2014 allow switch branches between two orgs in compose PR
2015-12-20 01:06:54 -05:00
Unknwon
5ff6eedf5e
#2251 fix button name
2015-12-19 22:07:06 -05:00
Unknwon
3bcdb3855c
#2250 Use HTTP/HTTPS as default clone option
2015-12-19 21:12:13 -05:00
Unknwon
6673dcb038
#2103 #2181 improvments of highlight class name
2015-12-16 22:13:12 -05:00