Commit Graph

571 Commits

Author SHA1 Message Date
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.
2014-12-19 22:00:11 +02:00
b231b8c927 update locale and mirror code format 2014-12-19 00:24:17 -05:00
eca42bcb44 Prefer CRAM-MD5 over PLAIN authentication 2014-12-18 14:15:13 +02:00
5ffeca35e7 Add option to use CRAM-MD5 as authentication method in the mailer 2014-12-18 13:58:48 +02:00
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.
2014-12-18 13:34:30 +02:00
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.
2014-12-17 17:42:54 +02:00
ec71d538fc Method for activating email addresses through verification email 2014-12-17 17:41:49 +02:00
9803c421f5 fix binding api broken 2014-12-15 01:49:59 -05:00
b553ea45ee modes/repo: incorrect SSH clone URL for #742 2014-12-13 16:46:00 -05:00
ac4a10456e api: able to create repo and fix #726
- POST /user/repos
- POST /org/:org/repos
2014-12-12 20:30:32 -05:00
bc8721fb6c Finish new UI for release page 2014-12-10 16:37:54 -05:00
9ee80e3e54 fix compile error 2014-12-10 05:10:26 -05:00
b2c6a6920f Merge pull request #727 from Mageti/master
Correction for #723
2014-12-10 05:03:50 -05:00
e321469884 remove unused code in BasicAuthDecode 2014-12-10 11:01:17 +01:00
b7ebbb4064 Correction for #723
Correction for #723
Bug was : decode failed if the password contains ```:```
2014-12-10 10:51:51 +01:00
9a1fe801e5 fix #711 2014-12-09 02:18:25 -05:00
21081836ba Allow send mail without authentication if SMTP server allow this 2014-12-07 16:07:48 +03:00
39c068400e Fix spelling errors in comments. 2014-12-06 20:22:48 -05:00
0b785ad967 work on #672 2014-12-05 18:08:09 -05:00
069486d169 fix #165 2014-12-05 17:54:57 -05:00
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.)
2014-12-05 11:02:59 -07:00
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.
2014-12-05 10:58:49 -07:00
d0a80e432d Addded sha1 pattern in markdown for current repository 2014-12-01 09:30:35 +01:00
9558999698 mirror fix 2014-11-30 18:35:05 -05:00
d75013a0e8 fix #580 2014-11-30 02:26:29 -05:00
db4951bc61 mirror fix on oauth2 2014-11-28 21:38:35 -05:00
d6132aaa88 fix oauth2 2014-11-28 21:20:13 -05:00
54d25c13d7 Fix #543 2014-11-24 18:47:59 -05:00
ef275ebf62 more on change avatar 2014-11-21 12:51:36 -05:00
55dfe2c978 custom avatar upload 2014-11-21 10:58:08 -05:00
3c3f7c2a56 Fix #643 2014-11-20 18:03:42 -05:00
ce8d4cc80b #634 2014-11-18 15:13:08 -05:00
37d8d3afe9 more APIs on #12 2014-11-18 11:07:16 -05:00
32dcaefafa fox #620 2014-11-17 14:53:41 -05:00
a0f9197b45 GetFile api 2014-11-16 21:32:26 -05:00
340a4595dd support duoshuo mirror of gravatar 2014-11-16 20:27:04 -05:00
52d66ba6c8 #12, use go-gogs-client 2014-11-14 17:11:30 -05:00
6bdb8ec4b9 Add function argument missing
Not enough arguments in call to c.AddFunc when I copied and pasted
2014-11-14 10:58:37 -07:00
9dc3c93a6a #12, add/edit hook 2014-11-13 12:57:00 -05:00
8eb5120fbd #12, API: list user repos, list repo hooks 2014-11-13 02:32:18 -05:00
8c9338a537 add personal access token panel #12 2014-11-12 06:48:50 -05:00
e0de6cb5ad work on #616 and update locales 2014-11-10 05:30:07 -05:00
35977cd34c continue work on #255 2014-11-07 16:44:25 -05:00
abc57b6e43 work on #609 2014-11-07 14:46:13 -05:00
23eec25274 Fix #605, fix #255, fix #101 2014-11-06 22:06:41 -05:00
0c5ba4573a fix session API broken and SQL pretection 2014-11-04 11:37:15 -05:00
5094e9501c Add basic FCGI support 2014-11-03 20:49:56 -05:00
b9881d1e7b check for smtp AUTH extension 2014-10-31 21:52:03 -04:00
f1d8746264 Fix fork repo and macaron API broken 2014-10-24 18:43:17 -04:00
3794111460 update slack hook to use new format 2014-10-24 08:56:12 -04:00