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
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
无闻
830bc75107
Merge pull request #866 from vitalvas/dev
...
Fix in url if cache avatar is enabled
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
Unknwon
452cca35e0
Merge branch 'encoding' of github.com:gogits/gogs into dev
...
Conflicts:
.gopmfile
10 years ago
Peter Smit
e6f97c78ff
Change chardet to gogits
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
无闻
030b3d751e
Merge pull request #766 from phsmit/correct_from
...
Correct usage of FROM in email creation
10 years ago
无闻
a18decf4cc
Merge pull request #755 from phsmit/multiple_emails
...
Multiple emails
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
Peter
ec71d538fc
Method for activating email addresses through verification email
10 years ago
Unknwon
9803c421f5
fix binding api broken
10 years ago
Unknwon
b553ea45ee
modes/repo: incorrect SSH clone URL for #742
10 years ago
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
10 years ago
Unknwon
bc8721fb6c
Finish new UI for release page
10 years ago
Unknwon
9ee80e3e54
fix compile error
10 years ago
无闻
b2c6a6920f
Merge pull request #727 from Mageti/master
...
Correction for #723
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
Alukardd
21081836ba
Allow send mail without authentication if SMTP server allow this
10 years ago
Joseph Crail
39c068400e
Fix spelling errors in comments.
10 years ago
Unknwon
0b785ad967
work on #672
10 years ago
Unknwon
069486d169
fix #165
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
Andrew Burns
adc1ac689e
HashEmail function should also remove spaces
...
According to the [Gravatar API](https://en.gravatar.com/site/implement/hash/ ) whitespace should also be removed from the email, it was not doing this previously.
10 years ago
dennis-smurf
d0a80e432d
Addded sha1 pattern in markdown for current repository
10 years ago
Unknwon
9558999698
mirror fix
10 years ago
Unknwon
d75013a0e8
fix #580
10 years ago
Unknwon
db4951bc61
mirror fix on oauth2
10 years ago
Unknwon
d6132aaa88
fix oauth2
10 years ago
Unknwon
54d25c13d7
Fix #543
10 years ago