Christophe Le Guern
d61962a18a
Add setting.AppSubUrl for LANDING_PAGE = explore
Add setting.AppSubUrl in case of different ROOT_URL and LANDING_PAGE = explore
9 years ago
Unknwon
588f3215c6
#1040 : dashboard no longer accessible when repo is missing
9 years ago
Unknwon
b72e75e522
#1024 : OFFLINE_MODE Still Uses Gravatar
9 years ago
Nolan Darilek
98674b2a21
registeration -> registration
9 years ago
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
9 years ago
Filippo Valsorda
5d5d774e03
Handle submodules without a .gitmodules entry - fix #1023
9 years ago
James Cracknell
41cc43208e
Mousewheel paste
9 years ago
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
9 years ago
Unknwon
5e763baa12
modules/git/signature.go: parse date foramt #663
9 years ago
Gogs
fab038b175
Attempt #3 of ldap fixes
9 years ago
Unknwon
e3dece1371
modules/setting: simple behave change in startup
9 years ago
Unknwon
059338139c
routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
9 years ago
Unknwon
9dfa17faf2
modules/git: able to parse RFC1123Z date format #663
9 years ago
Unknwon
1654e9ecab
templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
9 years ago
Gogs
2f1369c614
add error for hello func
9 years ago
Gogs
5293ae1221
Fix: 504 5.5.2 <localhost>: Helo command rejected
9 years ago
Alexey Makhov
563e8b4ea9
gitlab-like hash naming
9 years ago
Peter Smit
e6fc58a744
Remove GoGet option from repository and handle it with ?go-get=1 instead
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
9 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.
9 years ago
Peter Smit
ed89b39984
Updating context and fixing permission issues
The boolean flags in the repo context have been replaced with mode and two methods
Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
9 years ago
Unknwon
f625665d8d
modules/setting: add abs path check before add workdir prefix
9 years ago
Dmitry Azhichakov
3aaf292ba8
Fix "forcing" client certificate for SMTP
9 years ago
Unknwon
6b7d35eade
fix mirror issues uncaught #941
9 years ago
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
9 years ago
Dmitry Azhichakov
8a6c86644e
New feature: SMTP connection may use client certificate.
New config keys in [mailer] section:
- CERT_FILE: path to a certificate file.
- KEY_FILE: path to a key file.
9 years ago
Peter Smit
0a4cda0dd4
Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
9 years ago
Unknwon
7e7160eefd
first pass work on migration #925
9 years ago
Unknwon
d02e45f985
better naming on #891
9 years ago
Unknwon
28580aee63
modules/middleware/auth.go: remove uncheck login for watch a repo #929
9 years ago
Unknwon
6a23252edc
able to allow insecure certification of webhook for #891
9 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
9 years ago
Peter Smit
5cd887dba5
Fixes #921
Fixes #921 and makes the Mention regexp be in line with the others
9 years ago
Unknwon
3cc04682c5
modules/setting: mirror path issue
9 years ago
Unknwon
3a44143b81
modules/ans1-ber: fix LDAP UTF8 string decoding for #916
9 years ago
Lauris BH
00653e52ee
Get username, name, surname and e-mail from LDAP server
9 years ago
Unknwon
2a2596fe61
able to disable SSH for #883
9 years ago
Unknwon
216683004e
code fix for #908 , and work for #884
9 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
9 years ago
Unknwon
0669897226
modules/base: fix markdown mention regex for #826
- conf/locale: add mew translator profile
9 years ago
Peter Smit
4e79adf6b5
Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
9 years ago
Raphael Randschau
79f3281548
Add ShowRegistrationButton configuration option
9 years ago
Peter Smit
1ab09e4f1b
Add option to provide configuration file on command line
9 years ago
Unknwon
bfce0def25
modules/base: fix README filename checker, fix #877
9 years ago
Unknwon
b293b6eaa6
cmd: CMD option for port number of `gogs web` to prevent first time run conflict
- routers: use new binding convention to simplify code
- templates: able to set HTTP port number in install page
9 years ago
Unknwon
fb9dcfa921
modules/midlleware: little auth code fix, #777
9 years ago
Unknwon
d8394bb2e0
modules/midlleware: little auth code fix
9 years ago
Unknwon
ee6786216a
modules/base: clean code with #838
9 years ago
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
9 years ago
Unknwon
8e384ce46c
fix #828 , may cause unintentional break in other features, but security is no.1
9 years ago
Vitaliy Vasilenko
cf59057ef3
fix if service.ENABLE_CACHE_AVATAR is true
9 years ago