Alexey Makhov
563e8b4ea9
gitlab-like hash naming
10 years ago
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.
10 years ago
Peter Smit
5cd887dba5
Fixes #921
...
Fixes #921 and makes the Mention regexp be in line with the others
10 years ago
Unknwon
afccd0a3ee
models/action.go: mirror fix on #892
...
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
10 years ago
Unknwon
0669897226
modules/base: fix markdown mention regex for #826
...
- conf/locale: add mew translator profile
10 years ago
Unknwon
bfce0def25
modules/base: fix README filename checker, fix #877
10 years ago
Unknwon
ee6786216a
modules/base: clean code with #838
10 years ago
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
10 years ago
Unknwon
8e384ce46c
fix #828 , may cause unintentional break in other features, but security is no.1
10 years ago
Peter Smit
e6f97c78ff
Change chardet to gogits
10 years ago
Michael Dyrynda
c7cbdd34fb
Adjust MentionPattern to not match users mid-sentence (or email addresses)
...
Fix link to user profile, update based on adjusted MentionPattern
10 years ago
Peter Smit
3af757ed77
Replace mahonia with the standard functions in the Golang Sub-repositories
10 years ago
Unknwon
9ee80e3e54
fix compile error
10 years ago
Mageti
e321469884
remove unused code in BasicAuthDecode
10 years ago
Mageti
b7ebbb4064
Correction for #723
...
Correction for #723
Bug was : decode failed if the password contains ```:```
10 years ago
Unknwon
9a1fe801e5
fix #711
10 years ago
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.)
10 years ago
dennis-smurf
d0a80e432d
Addded sha1 pattern in markdown for current repository
10 years ago
Unknwon
340a4595dd
support duoshuo mirror of gravatar
10 years ago
Unknwon
52d66ba6c8
#12 , use go-gogs-client
10 years ago
Unknwon
9dc3c93a6a
#12 , add/edit hook
10 years ago
Unknwon
8c9338a537
add personal access token panel #12
10 years ago
Unknwon
35977cd34c
continue work on #255
10 years ago
Unknwon
abc57b6e43
work on #609
10 years ago
Unknwon
f1d8746264
Fix fork repo and macaron API broken
10 years ago
Unknwon
a342d58d7e
Able to fork repo to individuals
10 years ago
Unknwon
9ae92459a5
Fix repo css and rel path img in md
10 years ago
Unknwon
b2632dec09
Page: Compare 2 commits
10 years ago
Unknwon
263d409326
Basic xss prevention
10 years ago
Martin van Beurden
bb05ef907b
Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached
10 years ago
Unknwon
f69761563b
Fix bug on transfer repo
10 years ago
Unknwon
7ba9257a7f
Add suburl support
10 years ago
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
10 years ago
Unknwon
8a09256941
Mirror fix and fix #481
10 years ago
lunnyxiao
ed84adb679
toutf8 improved & add max git diff lines
10 years ago
Unknwon
97a373f5e7
Fix #362 , update code with upstream
10 years ago
Unknwon
5605af973b
Feature: Social sign in
11 years ago
Unknwon
7bbf644dd5
Convert captcha, cache, csrf as middlewares
11 years ago
Unknwon
5c4bc3c848
Huge updates!!!!! Be careful to merge!!!!
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago
Justin Nuß
835e85b5ce
Fix #281 . Add mouse-over precise time and on-click switch listener.
11 years ago
Unknown
63cc14062a
Paging function for users and repositories
11 years ago
Unknown
9924e65ca1
In progress of name template name constant
11 years ago
slene
4ee6bc4fca
fix for new git api
11 years ago
Unknown
2f820e01d8
Fixed #209
11 years ago
Unknown
688ec6ecbd
Fixed #209
11 years ago
Unknown
5e9a45f74a
Code convention
11 years ago
Unknown
5660570d92
Add MustValueRange
11 years ago
Unknown
be82716b66
Clean old LDAP code
11 years ago
Sebastian Jackel
eb264a112b
Add LDAP over SSL support
11 years ago