Commit Graph

374 Commits (d64c849d16a9ae435cd47f8b9afaab31cd3f65d0)

Author SHA1 Message Date
Unknwon 90a6553c37 Config option for preserving hard line breaks
Unknwon 55ddf225bb webhook APIs
Unknwon a7686e8749 bundle jquery with gogs
Unknwon a329bbc215 new org dashboard issues
Unknwon 6c2536b89c fix timezone
Unknwon a5b09b30d0 print time to debug
Unknwon 390027496c use UTC for TimeSince
无闻 ce8864c69a Merge pull request from donbowman/master
Fix race condition on ssh key delete, and revert re-revert of hard line break
Unknwon 133b19d0c5 finish view comments on issue page
Don Bowman 1cb46ede1a Merge branch 'master' of https://github.com/gogits/gogs
Conflicts:
	routers/repo/download.go
Don Bowman 9e6bd31d76 fixes for binary
Unknwon 922f3f3062 finish create issue with labels
Unknwon 9db4acc62e improve fork process
Fernando San Julián c5be40decb new markdown styles
Vladimir Vissoultchev 2cc050e21e Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodings
Vladimir Vissoultchev 167265d533 Allow file and directory names to contain percent character
Vladimir Vissoultchev 53bcf373c1 Allow explicit charset/codepage setting for ANSI source files to alleviate issue
Don Bowman 81e6173356 remove blackfriday.EXTENSION_HARD_LINE_BREAK from options.
Unknwon caf7618ea6 Hide gravatar email field if gravatar is disabled (or offline mode)
Unknwon ab6b288141 fix markdown: render special links
- code format for 
无闻 750d82b8e2 Merge pull request from jcracknell/tag-exclude-nethtml
Exclude HTML tags from Markdown post-processing
Unknwon b72e75e522 : OFFLINE_MODE Still Uses Gravatar
James Cracknell 41cc43208e Mousewheel paste
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
Unknwon e3dece1371 modules/setting: simple behave change in startup
Alexey Makhov 563e8b4ea9 gitlab-like hash naming
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.
Peter Smit 5cd887dba5 Fixes
Fixes  and makes the Mention regexp be in line with the others
Unknwon afccd0a3ee models/action.go: mirror fix on
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
Unknwon 0669897226 modules/base: fix markdown mention regex for
- conf/locale: add mew translator profile
无闻 ddddad9792 Merge pull request from deringer/dev
Fix user mention bug when parsing markdown documents
Unknwon bfce0def25 modules/base: fix README filename checker, fix
Unknwon ee6786216a modules/base: clean code with
Unknwon 37fcc8daf2 modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
Unknwon 8e384ce46c fix , may cause unintentional break in other features, but security is no.1
Peter Smit e6f97c78ff Change chardet to gogits
Michael Dyrynda c7cbdd34fb Adjust MentionPattern to not match users mid-sentence (or email addresses)
Fix link to user profile, update based on adjusted MentionPattern
Peter Smit 3af757ed77 Replace mahonia with the standard functions in the Golang Sub-repositories
Unknwon 9ee80e3e54 fix compile error
无闻 b2c6a6920f Merge pull request from Mageti/master
Correction for 
Mageti e321469884 remove unused code in BasicAuthDecode
Mageti b7ebbb4064 Correction for
Correction for 
Bug was : decode failed if the password contains ```:```
Unknwon 9a1fe801e5 fix
Andrew Burns 35b02997f8 Fix Gravatar images in web view (like commit listing)
Related to 

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.)
dennis-smurf d0a80e432d Addded sha1 pattern in markdown for current repository
Unknwon 340a4595dd support duoshuo mirror of gravatar
Unknwon 52d66ba6c8 , use go-gogs-client
Unknwon 9dc3c93a6a , add/edit hook
Unknwon 8c9338a537 add personal access token panel
Unknwon 35977cd34c continue work on
Unknwon abc57b6e43 work on
Unknwon f1d8746264 Fix fork repo and macaron API broken
Unknwon a342d58d7e Able to fork repo to individuals
Unknwon 9ae92459a5 Fix repo css and rel path img in md
Unknwon b2632dec09 Page: Compare 2 commits
Unknwon 263d409326 Basic xss prevention
Martin van Beurden bb05ef907b Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached
Unknwon f69761563b Fix bug on transfer repo
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
Unknwon 8a09256941 Mirror fix and fix
lunnyxiao ed84adb679 toutf8 improved & add max git diff lines
Unknwon 97a373f5e7 Fix , update code with upstream
Unknwon 5605af973b Feature: Social sign in
无闻 568c9b353e Merge pull request from nuss-justin/issue/281
Fix . Add mouse-over precise time and on-click switch listener.
Unknwon 7bbf644dd5 Convert captcha, cache, csrf as middlewares
Justin Nuß 91480f3791 Merge branch 'dev' of https://github.com/gogits/Gogs into issue/281
Conflicts:
	modules/base/tool.go
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!!
Unknwon 8dd07c0ddd New UI merge in progress
Justin Nuß 835e85b5ce Fix . Add mouse-over precise time and on-click switch listener.
Unknown 63cc14062a Paging function for users and repositories
Unknown 9924e65ca1 In progress of name template name constant
slene 4ee6bc4fca fix for new git api
Unknown 2f820e01d8 Fixed
Unknown 688ec6ecbd Fixed
Unknown 5e9a45f74a Code convention
Unknown 5660570d92 Add MustValueRange
Unknown be82716b66 Clean old LDAP code
Lunny Xiao 7869cfccb9 Merge pull request from DerDackel/ldapssl
Add LDAP over SSL support
Sebastian Jackel eb264a112b Add LDAP over SSL support
Unknown f979d0d6b9 Fix
Unknown 0970d6cc38 Log to different adapter according to level
Unknown fd4b123e88 Fix and fix
jiangjianxiao 501f70e248 fix news feed repo link
Unknown 8ca14e2109 Improve delete SSH key
Unknown 7cb5a15c9b Batch of mirror fixes
Unknown bbdfe25769 User code clean and ui improve
Unknown c1eb4d894a Clean api code
Unknown 07c3d497a7 Fix
Unknown 816c0ed5e7 Fix import path
Unknown a641854cad command dump
Unknown e7d8fadb08 Add disable gravatar option
Unknown 3bd5fc6d6f Add command dump and move to cmd did
Unknown 100cd181bc Add router log config option
Unknown 2a1dc0085b fix
Unknown 62d23e9154 HTTP no follow and offline mode
Unknown 59d0e73c35 Batch mirror fix
Unknown 89b68bdd45 Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	modules/base/conf.go
Unknown 9dfb7de371 Fix
Lunny Xiao 1b734501bd bug fixed
Lunny Xiao 0da329462e bug fixed
无闻 37cbfc032a Merge pull request from juju2013/master
basic support for LDAP/Microsoft Active Directory authentication
juju2013 efc05ea1de initial support for LDAP authentication/MSAD
Unknown 5435b259cc Merge branch 'master' of github.com:gogits/gogs into dev
Unknown 2a9da4b8e5 Fix
Bryan Johnson 34d18a19a3 Minor grammatical fix for Disable Registration feature
Unknown de01f81489 Prepare for v0.3.0 release
Unknown 8bed017557 Add build tag enable prompt
Unknown eda3f8b3b3 Mirror updates
Christopher Brickley b9a1d13c29 change gravatar image to match URL scheme
Unknown c36e7d322e Mirror updates
Unknown f644cefa86 Finish release
Unknown d2b53dd43b Add weibo oauth
Unknown 4b9b8024ba Clean oauth code
Unknown 4c1452574a go get
Unknown ea74be2f2e go get
Unknown 9d983f27d6 go vet
Unknown 5c2da610a2 Move binding as subrepo
Unknown d305448fa8 Mirror bug fix
Unknown 11f54b1426 Mirror bug fix
zhsso a4cbe79567 fix
zhsso f3ed11d177 mistakes
Unknown 5d4025cb5a Add go get meta support
slene 3487f17285 markdown render html
Unknown 115a349131 Fix
Unknown 22feddf804 Fix
Unknown 7776f407b6 Fix issue with log in with GitHub but need more error handle after
Unknown 9ea9818d32 Fix issue with log in with GitHub but need more error handle after
Unknown 8c9a0494ec Add @ # commit link detect on all markdown render
Unknown e2fe220905 Work on comment
Unknown e7c8a3cb8d Add salt for every single user
Unknown db1fe3483e Fix bug related to log
Unknown 6a16866f4e Fix bug related to log
Unknown 2846ff7d31 Fix bug related to log
Unknown b7c3b0cc73 Add reset password, fix
Unknown eb803ec5eb Add transfer repository
Unknown 2a0066420a Fix bug work with sqlite3
Unknown 9f91dee53f Bug fix
slene 66b697a513 add ShortSha template func
Unknown 107a1eadac Finish close and reopen issue, install page, ready going to test stage of v0.2.0
Unknown 8282828820 Fix action email bug
Lunny Xiao a726c125b5 Add PushCommit
Unknown a55941ff83 Add auto-detect home directory
Unknown cb05b8325c Update config option
Unknown 0fd754bbe0 Working on install page
Unknown eb6021f73f Fix issue pages URL params
slene 10b412d237 commit raw file
slene 346db02d89 fix image display
Unknown dd6246877d Almost done diff page
Unknown 7ab94fe816 Fix issue on windows
Unknown ed9b7d2db9 More on diff page
Unknown d3b8e9daa1 Add notify watcher action
Unknown 2fa8d0c8dd Added create issue
Unknown 197c4d4a5b Fix wrong serve command log location and commit repo action
Unknown 7aa0a97d10 Mirror fix
Unknown be69e74bc0 Mirror fix
Unknown e95be2cb3e Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	conf/app.ini
Unknown eeb793524f Check run user
FuXiaoHei 7f6126dd04 install sample page
Unknown d2ceb001d0 Merge branch 'master' of github.com:gogits/gogs
Unknown 6337d3bf19 Show dashbard
slene ff36248419 raw download
Unknown 8aec5e16c4 Locating issue of git push not update repo last updated time
Unknown b9b82cfe47 Mirror updates
Unknown 6bc7ae971a Mirror fix
skyblue 4bac361605 merge with branch master
Unknown 97debac185 SSL enable config option
Unknown c386bb4bd3 Bug fix
Unknown 1eb078d0a8 Fix action
Gogs 964e537479 append route to web
slene 4adb024715 minor fix markdown setting
Unknown 7356153ba3 Batch updates
Unknown cb52f6d07d Add auto-login
slene 5edd57e482 Merge branch 'master' of github.com:gogits/gogs
slene 076fc98d98 add csrf check
Unknown fd1831052c Update session
slene f9c07c4186 update session
Unknown 7a1ff8636c Add config option: Picture cache path
Unknown f219ddcf4e Add log config panel in admin
Unknown d40499e7fa Finsih mail resend limit
slene c7e0d3a499 add cache
Unknown c1576b4c40 Add admin add user
Unknown 5373a3093e config option: Require sign in to view repository
Unknown f6596f11c4 All configuration reload-able
Unknown 369ddf76a8 Batch fix
Unknown 06631ab91f Basic admin data table, models changes
slene 47234f1031 fix ext
slene 21379e30a1 fix link
Unknown ebc3d86e63 Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	routers/repo/single.go
Unknown bbd38829eb Mirror fix
slene 24678d73f5 read single file
Unknown 6f68620860 Pools limit concurrent nums
Unknown 601c10309d Bug fix
Unknown 757f360949 Render data in commit list page
Unknown 35d473f04a Finish verify email
Unknown ddbd2ce152 Add register mail tpl
Gogs 56af7e99a8 fork render
Unknown de087c7b4a Add send register confirm mail
Unknown fbbae2b721 Working on register mail confirmation
Unknown bd9d90d8c4 Add some log