Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
2016-04-26 21:48:44 -04:00
Unknwon
5267dce210
Fix ref comment from commit create empty feed
2016-03-11 05:11:58 -05:00
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
2016-03-05 00:51:51 -05:00
Unknwon
d5a3021a7d
Make markdown as an independent module
2016-02-20 17:10:05 -05:00
Unknwon
341da3cea7
Fix inappropriate markdown post process end tag check
...
When <code> is nested inside <pre>, the next end tag token would not able to be the same
as outer-most start tag. So we only check outer-most start and end tag token to be the same.
2016-02-19 17:39:50 -05:00
Unknwon
338af89d56
#2650 fix possbility that use email as pusher user name
...
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
2016-02-17 22:47:06 -05:00
Unknwon
58e004f7da
Remove cache avatar support and add its tests
2016-02-14 23:14:55 -05:00
Unknwon
4e96a4a62b
Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme
...
Feature/markdown custom url scheme
2016-02-05 13:11:45 -05:00
Unknwon
8e40f86d2c
#2556 handle space in image URL
2016-02-04 22:51:40 -05:00
Unknwon
4848620594
#2229 adjust URL verbose depth for reverse proxy sub-path
2016-01-31 15:38:20 -05:00
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
2016-01-27 21:48:57 +01:00
Kim "BKC" Carlbäcker
3a9fd81f59
Custom URL-Schemas for Markdown
2016-01-27 02:02:03 +01:00
Kim "BKC" Carlbäcker
a1a4f1103c
Made Sanitizer-setup cleaner
2016-01-14 03:00:05 +01:00
Kim "BKC" Carlbäcker
8e09e03127
Checklist-rendering implemented
2016-01-13 13:25:52 +01:00
Unknwon
f43cc90841
#2287 Truncate repository name if too long
2016-01-11 20:41:43 +08:00
Unknwon
cc8c67ff29
fix markdown autolink error
2016-01-09 10:59:04 +08:00
Unknwon
4993ab1a76
#2185 fall back to use custom chardet lib
2015-12-31 22:13:47 -05:00
Unknwon
44637f03cc
#2282 fast detection of utf-8
2015-12-27 17:02:36 -05:00
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
2015-12-25 05:45:07 -05:00
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
2015-12-25 05:25:47 -05:00
Unknwon
95f9c85bcc
#2185 use Go sub-repo to detect encoding
2015-12-13 19:56:33 -05:00
Unknwon
7e88420bc6
#2161 fix wrong regexp
2015-12-12 16:13:18 -05:00
Unknwon
5911fc3512
#2161 No issue linking in commits when issue number in brackets
2015-12-12 16:01:54 -05:00
Unknwon
e538ff2770
fix #1829 and fix #890
2015-12-04 21:30:33 -05:00
Unknwon
ba92f4687e
minor fix markdown post process
2015-11-24 19:29:35 -05:00
Unknwon
968edb3e44
more link fix
2015-11-24 19:28:24 -05:00
Unknwon
7f9598141b
fix #2020
2015-11-24 18:49:34 -05:00
Unknwon
f12832c61e
fix possible panic
2015-11-21 21:06:11 -05:00
Unknwon
126228d146
HTML render fix
2015-11-20 05:37:51 -05:00
Unknwon
9b6c835715
fix #1873
2015-11-20 01:52:11 -05:00
Unknwon
1a901433e2
minor fix for #1949
2015-11-15 17:37:26 -05:00
Howl
ca5678da32
Safely detect urlPrefix in the format /:owner/:repo
2015-11-15 22:22:25 +01:00
Howl
85c58eba90
Fix bad issue links in non-readme markdown files
2015-11-15 12:04:43 +01:00
Unknwon
1d57f0d64f
Show custom avatars in commits
2015-11-13 17:10:25 -05:00
Unknwon
3b62a0fe0e
fix #1572 fix file histrory paging issue
2015-11-10 16:46:17 -05:00
Unknwon
18c841050b
fix 1540 and experimental SSH server support
2015-11-08 16:59:56 -05:00
Unknwon
54ca0b2f09
#1433 images with links in Markdown
...
- #1904 minor fix on image link
2015-11-06 11:10:27 -05:00
Unknwon
0af035c37e
#1078 not show bin when rename a file
2015-11-03 09:52:17 -05:00
Unknwon
022820103d
#1657 allow forcing all private repos
2015-10-25 04:26:26 -04:00
Unknwon
aff49b1c9e
unified API error response
2015-10-08 20:36:07 -04:00
Sergio Benitez
7acbcf9ddd
Commit messages now rendered with line breaks and prefix spacing.
2015-09-18 19:02:23 -07:00
Unknwon
2729eb998c
#1646 and other minor fixes
2015-09-16 15:34:46 -04:00
Unknwon
c8d92fad30
#1595 pushing new branch will rereference issues in previous branch
2015-09-10 07:53:40 -04:00
Hongcai Deng
e4d4662074
add regexp to restrict `<code class=""></code>`
2015-09-10 09:06:09 +08:00
Hongcai Deng
357c002c03
add allow attribute `class` to `<code>`
2015-09-09 17:31:14 +08:00
Unknwon
645d4d0c5b
#1594 Collaborative Repositories missing suburl on Dashboard
2015-09-07 05:57:19 -04:00
Unknwon
85f34ba538
new user profile settings UI
...
Signed-off-by: Unknwon <u@gogs.io>
2015-09-06 16:31:22 -04:00
Unknwon
8af094967f
#1377 add rename repo action
2015-09-01 09:29:52 -04:00
Unknwon
90a6553c37
#1009 Config option for preserving hard line breaks
2015-09-01 08:32:02 -04:00
Unknwon
55ddf225bb
webhook APIs
2015-08-29 11:49:59 +08:00
Unknwon
a7686e8749
#1203 bundle jquery with gogs
2015-08-28 14:24:05 +08:00
Unknwon
a329bbc215
new org dashboard issues
2015-08-25 23:22:05 +08:00
Unknwon
6c2536b89c
fix timezone
2015-08-20 00:32:18 +08:00
Unknwon
a5b09b30d0
print time to debug
2015-08-20 00:25:32 +08:00
Unknwon
390027496c
#1500 use UTC for TimeSince
2015-08-20 00:16:54 +08:00
无闻
ce8864c69a
Merge pull request #1475 from donbowman/master
...
Fix race condition on ssh key delete, and revert re-revert of hard line break
2015-08-15 17:27:20 +08:00
Unknwon
133b19d0c5
finish view comments on issue page
2015-08-13 16:07:11 +08:00
Don Bowman
1cb46ede1a
Merge branch 'master' of https://github.com/gogits/gogs
...
Conflicts:
routers/repo/download.go
2015-08-12 21:10:00 +00:00
Don Bowman
9e6bd31d76
fixes for binary
2015-08-12 21:07:44 +00:00
Unknwon
922f3f3062
finish create issue with labels
2015-08-10 16:52:08 +08:00
Unknwon
9db4acc62e
improve fork process
2015-08-08 17:10:34 +08:00
Fernando San Julián
c5be40decb
new markdown styles
2015-08-01 02:26:14 +02:00
Vladimir Vissoultchev
2cc050e21e
Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodings
2015-07-29 17:58:03 +03:00
Vladimir Vissoultchev
167265d533
Allow file and directory names to contain percent character
2015-07-28 11:42:06 +03:00
Vladimir Vissoultchev
53bcf373c1
Allow explicit charset/codepage setting for ANSI source files to alleviate issue #1088
2015-07-27 21:58:51 +03:00
Don Bowman
81e6173356
remove blackfriday.EXTENSION_HARD_LINE_BREAK from options.
2015-04-08 22:25:47 +00:00
Unknwon
caf7618ea6
#1098 Hide gravatar email field if gravatar is disabled (or offline mode)
2015-03-24 18:38:12 -04:00
Unknwon
ab6b288141
#637 #738 fix markdown: render special links
...
- code format for #1020
2015-03-23 18:32:24 -04:00
无闻
750d82b8e2
Merge pull request #1020 from jcracknell/tag-exclude-nethtml
...
Exclude HTML tags from Markdown post-processing
2015-03-23 18:03:47 -04:00
Unknwon
b72e75e522
#1024 : OFFLINE_MODE Still Uses Gravatar
2015-03-12 20:32:38 -04:00
James Cracknell
41cc43208e
Mousewheel paste
2015-03-08 22:30:15 -06:00
James Cracknell
127eb439d7
Exclude HTML tags from Markdown post-processing
...
HTML tags are no longer processed for special links, etc
Contents of <a>, <code> and <pre> are not processed for special links
Processing for special links is done after Markdown conversion
2015-03-08 22:14:50 -06:00
Unknwon
e3dece1371
modules/setting: simple behave change in startup
2015-02-26 19:45:38 -05:00
Alexey Makhov
563e8b4ea9
gitlab-like hash naming
2015-02-19 00:52:22 +03:00
Peter Smit
7759b9ee6e
Remove the "PHP" style formatting function
...
The "PHP" formatting function doesn't add anything, except an undocumented date format.
All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
2015-02-16 14:44:27 +02:00
Peter Smit
5cd887dba5
Fixes #921
...
Fixes #921 and makes the Mention regexp be in line with the others
2015-02-09 12:56:46 +02:00
Unknwon
afccd0a3ee
models/action.go: mirror fix on #892
...
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
2015-02-06 20:34:49 -05:00
Unknwon
0669897226
modules/base: fix markdown mention regex for #826
...
- conf/locale: add mew translator profile
2015-02-06 19:15:58 -05:00
无闻
ddddad9792
Merge pull request #826 from deringer/dev
...
Fix user mention bug when parsing markdown documents
2015-02-06 19:03:35 -05:00
Unknwon
bfce0def25
modules/base: fix README filename checker, fix #877
2015-02-02 23:04:36 -05:00
Unknwon
ee6786216a
modules/base: clean code with #838
2015-01-30 18:12:30 -05:00
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
2015-01-30 18:05:20 -05:00
Unknwon
8e384ce46c
fix #828 , may cause unintentional break in other features, but security is no.1
2015-01-20 13:08:49 +08:00
Peter Smit
e6f97c78ff
Change chardet to gogits
2015-01-15 12:40:16 +02:00
Michael Dyrynda
c7cbdd34fb
Adjust MentionPattern to not match users mid-sentence (or email addresses)
...
Fix link to user profile, update based on adjusted MentionPattern
2015-01-03 22:03:41 +10:30
Peter Smit
3af757ed77
Replace mahonia with the standard functions in the Golang Sub-repositories
2014-12-22 11:01:52 +02:00
Unknwon
9ee80e3e54
fix compile error
2014-12-10 05:10:26 -05:00
无闻
b2c6a6920f
Merge pull request #727 from Mageti/master
...
Correction for #723
2014-12-10 05:03:50 -05:00
Mageti
e321469884
remove unused code in BasicAuthDecode
2014-12-10 11:01:17 +01:00
Mageti
b7ebbb4064
Correction for #723
...
Correction for #723
Bug was : decode failed if the password contains ```:```
2014-12-10 10:51:51 +01:00
Unknwon
9a1fe801e5
fix #711
2014-12-09 02:18:25 -05:00
Andrew Burns
35b02997f8
Fix Gravatar images in web view (like commit listing)
...
Related to #700
In the original bug report it was referencing only the sytem avatar images for setup users (like in the header); however the problem also persists with things like commit history.
This commit fixes the `tool.AvatarLink` function so that it also uses the already existing `avatar.HashEmail` function.
I also refactored the `tool.AvatarLink` method some to make the control flow more apparent and adhere better to DRY (there were multiple calls to the `EncodeMd5` function that the `HashEmail` function call replaced, now there is only one.)
2014-12-05 11:02:59 -07:00
dennis-smurf
d0a80e432d
Addded sha1 pattern in markdown for current repository
2014-12-01 09:30:35 +01:00
Unknwon
340a4595dd
support duoshuo mirror of gravatar
2014-11-16 20:27:04 -05:00
Unknwon
52d66ba6c8
#12 , use go-gogs-client
2014-11-14 17:11:30 -05:00
Unknwon
9dc3c93a6a
#12 , add/edit hook
2014-11-13 12:57:00 -05:00
Unknwon
8c9338a537
add personal access token panel #12
2014-11-12 06:48:50 -05:00
Unknwon
35977cd34c
continue work on #255
2014-11-07 16:44:25 -05:00
Unknwon
abc57b6e43
work on #609
2014-11-07 14:46:13 -05:00
Unknwon
f1d8746264
Fix fork repo and macaron API broken
2014-10-24 18:43:17 -04:00
Unknwon
a342d58d7e
Able to fork repo to individuals
2014-10-19 01:35:24 -04:00
Unknwon
9ae92459a5
Fix repo css and rel path img in md
2014-10-14 23:44:34 -04:00
Unknwon
b2632dec09
Page: Compare 2 commits
2014-10-10 21:40:51 -04:00
Unknwon
263d409326
Basic xss prevention
2014-10-04 17:15:22 -04:00
Martin van Beurden
bb05ef907b
Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached
2014-09-28 14:27:13 +02:00
Unknwon
f69761563b
Fix bug on transfer repo
2014-09-25 16:36:19 -04:00
Unknwon
7ba9257a7f
Add suburl support
2014-09-19 20:11:34 -04:00
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
2014-09-18 20:50:48 +02:00
Unknwon
8a09256941
Mirror fix and fix #481
2014-09-17 14:22:51 -04:00
lunnyxiao
ed84adb679
toutf8 improved & add max git diff lines
2014-09-17 12:03:03 +08:00
Unknwon
97a373f5e7
Fix #362 , update code with upstream
2014-08-23 21:13:55 +08:00
Unknwon
5605af973b
Feature: Social sign in
2014-08-09 18:01:29 -07:00
无闻
568c9b353e
Merge pull request #311 from nuss-justin/issue/281
...
Fix #281 . Add mouse-over precise time and on-click switch listener.
2014-08-01 00:15:06 -04:00
Unknwon
7bbf644dd5
Convert captcha, cache, csrf as middlewares
2014-07-31 17:25:34 -04:00
Justin Nuß
91480f3791
Merge branch 'dev' of https://github.com/gogits/Gogs into issue/281
...
Conflicts:
modules/base/tool.go
2014-07-26 11:23:58 +02:00
Unknwon
5c4bc3c848
Huge updates!!!!! Be careful to merge!!!!
2014-07-26 02:28:04 -04:00
Unknwon
8dd07c0ddd
New UI merge in progress
2014-07-26 00:24:27 -04:00
Justin Nuß
835e85b5ce
Fix #281 . Add mouse-over precise time and on-click switch listener.
2014-07-24 22:31:59 +02:00
Unknown
63cc14062a
Paging function for users and repositories
2014-07-07 04:15:08 -04:00
Unknown
9924e65ca1
In progress of name template name constant
2014-06-22 13:14:03 -04:00
slene
4ee6bc4fca
fix for new git api
2014-05-28 14:01:41 +08:00
Unknown
2f820e01d8
Fixed #209
2014-05-25 20:17:26 -04:00
Unknown
688ec6ecbd
Fixed #209
2014-05-25 20:11:25 -04:00
Unknown
5e9a45f74a
Code convention
2014-05-21 21:37:13 -04:00
Unknown
5660570d92
Add MustValueRange
2014-05-18 22:05:35 -04:00
Unknown
be82716b66
Clean old LDAP code
2014-05-15 23:03:26 -04:00
Lunny Xiao
7869cfccb9
Merge pull request #192 from DerDackel/ldapssl
...
Add LDAP over SSL support
2014-05-15 20:52:05 +08:00
Sebastian Jackel
eb264a112b
Add LDAP over SSL support
2014-05-15 14:27:16 +02:00
Unknown
f979d0d6b9
Fix #138
2014-05-12 19:32:35 -04:00
Unknown
0970d6cc38
Log to different adapter according to level
2014-05-11 14:37:12 -04:00
Unknown
fd4b123e88
Fix #94 and fix #169
2014-05-11 11:18:10 -04:00
jiangjianxiao
501f70e248
fix news feed repo link
2014-05-09 14:42:50 +08:00
Unknown
8ca14e2109
Improve delete SSH key
2014-05-06 16:28:52 -04:00
Unknown
7cb5a15c9b
Batch of mirror fixes
2014-05-06 13:47:47 -04:00
Unknown
bbdfe25769
User code clean and ui improve
2014-05-05 16:21:43 -04:00
Unknown
c1eb4d894a
Clean api code
2014-05-05 13:08:01 -04:00
Unknown
07c3d497a7
Fix #145
2014-05-05 02:49:33 -04:00
Unknown
816c0ed5e7
Fix import path
2014-05-05 02:42:52 -04:00
Unknown
a641854cad
command dump
2014-05-05 00:55:17 -04:00
Unknown
e7d8fadb08
Add disable gravatar option
2014-05-01 21:30:04 -04:00
Unknown
3bd5fc6d6f
Add command dump and move to cmd did
2014-05-01 21:21:46 -04:00
Unknown
100cd181bc
Add router log config option
2014-05-01 18:53:41 -04:00
Unknown
2a1dc0085b
fix #91
2014-05-01 07:35:21 -04:00
Unknown
62d23e9154
HTTP no follow and offline mode
2014-04-27 01:05:13 -06:00
Unknown
59d0e73c35
Batch mirror fix
2014-04-26 22:34:48 -06:00
Unknown
89b68bdd45
Merge branch 'master' of github.com:gogits/gogs
...
Conflicts:
modules/base/conf.go
2014-04-26 18:34:58 -06:00
Unknown
9dfb7de371
Fix #102
2014-04-26 01:22:22 -06:00
Lunny Xiao
1b734501bd
bug fixed
2014-04-26 14:25:51 +08:00
Lunny Xiao
0da329462e
bug fixed
2014-04-26 14:14:48 +08:00
无闻
37cbfc032a
Merge pull request #112 from juju2013/master
...
basic support for LDAP/Microsoft Active Directory authentication
2014-04-24 14:25:56 -06:00