Alexey Makhov
563e8b4ea9
gitlab-like hash naming
10 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.
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
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.
10 years ago
Unknwon
f625665d8d
modules/setting: add abs path check before add workdir prefix
10 years ago
Dmitry Azhichakov
3aaf292ba8
Fix "forcing" client certificate for SMTP
10 years ago
Unknwon
6b7d35eade
fix mirror issues uncaught #941
10 years ago
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
10 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.
10 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.
10 years ago
Unknwon
7e7160eefd
first pass work on migration #925
10 years ago
Unknwon
d02e45f985
better naming on #891
10 years ago
Unknwon
28580aee63
modules/middleware/auth.go: remove uncheck login for watch a repo #929
10 years ago
Unknwon
6a23252edc
able to allow insecure certification of webhook for #891
10 years ago
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
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
3cc04682c5
modules/setting: mirror path issue
10 years ago
Unknwon
3a44143b81
modules/ans1-ber: fix LDAP UTF8 string decoding for #916
10 years ago
Lauris BH
00653e52ee
Get username, name, surname and e-mail from LDAP server
10 years ago
Unknwon
2a2596fe61
able to disable SSH for #883
10 years ago
Unknwon
216683004e
code fix for #908 , and work for #884
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
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.
10 years ago
Raphael Randschau
79f3281548
Add ShowRegistrationButton configuration option
10 years ago
Peter Smit
1ab09e4f1b
Add option to provide configuration file on command line
10 years ago
Unknwon
bfce0def25
modules/base: fix README filename checker, fix #877
10 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
10 years ago
Unknwon
fb9dcfa921
modules/midlleware: little auth code fix, #777
10 years ago
Unknwon
d8394bb2e0
modules/midlleware: little auth code fix
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
Vitaliy Vasilenko
cf59057ef3
fix if service.ENABLE_CACHE_AVATAR is true
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
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
10 years ago
Unknwon
bd555551ce
fix #801
10 years ago
Unknwon
81a44e4cd0
fix API changes
10 years ago
Peter Smit
fff8109567
Removing redundant mahonia
10 years ago
Peter Smit
3af757ed77
Replace mahonia with the standard functions in the Golang Sub-repositories
10 years ago
Peter
c884ecfea1
Parse the from string to extract the email address
10 years ago
Peter
edbe1de026
Remove unused "User" member of Message Struct and fix bounce address
...
The User member of a message is not needed anymore.
The from that is send to the server, should always be the "system" from. This is also called the Bounce address http://en.wikipedia.org/wiki/Bounce_address
10 years ago
Peter
2321b4b272
Change from header in email, fixes #765
10 years ago
Peter
007cf33e88
Remove standard mailer port lines
...
This lines got committed by accident. They do actually nothing, as SplitHostPort will give an error if port is not given.
10 years ago
Unknwon
b231b8c927
update locale and mirror code format
10 years ago
Peter
eca42bcb44
Prefer CRAM-MD5 over PLAIN authentication
10 years ago
Peter
5ffeca35e7
Add option to use CRAM-MD5 as authentication method in the mailer
10 years ago
Peter
87be137b88
Rewrite of SendMail function
...
The SendMail function is rewritten and has the following new functionality:
- It is optional to skip verification of keys. The config option SKIP_VERIFY is added
- If the port is 465, or ending on 465, the TLS(/SSL) connection is started first.
10 years ago
Peter
b033f2f535
Finish method for having multiple emails/user.
...
All basics are implemented. Missing are the right (localized) strings
and the page markup could have a look at by a frontend guy.
10 years ago