634 Commits (e6862e9cec49acf1cf8bbb5d1baee299a52b4967)

Author SHA1 Message Date
Unknwon e3dece1371 modules/setting: simple behave change in startup 9 years ago
无闻 cd8b43d984 Merge pull request #915 from Lafriks/dev
Get username, name, surname and e-mail from LDAP server
9 years ago
Unknwon 10e4b5b6c6 Merge branch 'access' of github.com:gogits/gogs into access 9 years ago
Unknwon 7ccab9cd09 Merge branch 'dev' of github.com:gogits/gogs into access
Conflicts:
	gogs.go
	models/models.go
	models/user.go
	templates/.VERSION
	templates/org/home.tmpl
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
无闻 065f8d1f56 Merge pull request #973 from uchti/dev
Fix: 504 5.5.2 <localhost>: Helo command rejected
9 years ago
Gogs 2f1369c614 add error for hello func 10 years ago
Gogs 5293ae1221 Fix: 504 5.5.2 <localhost>: Helo command rejected 10 years ago
Alexey Makhov 563e8b4ea9 gitlab-like hash naming 10 years ago
无闻 a307574fbc Merge pull request #962 from phsmit/dont_mention_php
Remove the "PHP" style formatting function
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 6c1ee384f1 Merge remote-tracking branch 'mine/access_refactor' into access_refactor
Conflicts:
	cmd/serve.go
	models/access.go
	models/migrations/migrations.go
	models/org.go
	models/repo.go
	models/user.go
	modules/middleware/org.go
	modules/middleware/repo.go
	routers/api/v1/repo.go
	routers/org/teams.go
	routers/repo/http.go
	routers/user/home.go
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
无闻 cd0ee35b3f Merge pull request #905 from phsmit/conf_on_cli
Add option to provide configuration file on command line
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
无闻 87b90372a7 Merge pull request #908 from nicolai86/feature/hide-signup-button-884
Make Signup button display configurable - #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
无闻 ddddad9792 Merge pull request #826 from deringer/dev
Fix user mention bug when parsing markdown documents
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
无闻 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
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
无闻 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
Unknwon ef275ebf62 more on change avatar 10 years ago
Unknwon 55dfe2c978 custom avatar upload 10 years ago
Unknwon 3c3f7c2a56 Fix #643 10 years ago
Unknwon ce8d4cc80b #634 10 years ago
Unknwon 37d8d3afe9 more APIs on #12 10 years ago
Unknwon 32dcaefafa fox #620 10 years ago
Unknwon a0f9197b45 GetFile api 10 years ago
Unknwon 340a4595dd support duoshuo mirror of gravatar 10 years ago
Unknwon 52d66ba6c8 #12, use go-gogs-client 10 years ago
Sean Keery 6bdb8ec4b9 Add function argument missing
Not enough arguments in call to c.AddFunc when I copied and pasted
10 years ago
Unknwon 9dc3c93a6a #12, add/edit hook 10 years ago
Unknwon 8eb5120fbd #12, API: list user repos, list repo hooks 10 years ago
Unknwon 8c9338a537 add personal access token panel #12 10 years ago
Unknwon e0de6cb5ad work on #616 and update locales 10 years ago
Unknwon 35977cd34c continue work on #255 10 years ago
Unknwon abc57b6e43 work on #609 10 years ago
Unknwon 23eec25274 Fix #605, fix #255, fix #101 10 years ago
Unknwon 0c5ba4573a fix session API broken and SQL pretection 10 years ago
Andy Leap 5094e9501c Add basic FCGI support 10 years ago
mcheng89 b9881d1e7b check for smtp AUTH extension 10 years ago
Unknwon f1d8746264 Fix fork repo and macaron API broken 10 years ago
Christopher Brickley 3794111460 update slack hook to use new format 10 years ago
Unknwon a342d58d7e Able to fork repo to individuals 10 years ago
Unknwon 3abc41ccca Fix API broken 10 years ago
Unknwon fa241efa6d Use binding middleware 10 years ago
Unknwon 9ae92459a5 Fix repo css and rel path img in md 10 years ago
Unknwon 3005c4f6db Fix diff css style, hooks \r char 10 years ago
Unknwon 963354c5d7 Add raw, history file button, and other mirror fixes 10 years ago
Unknwon b2632dec09 Page: Compare 2 commits 10 years ago
Unknwon 39931f8e00 Allow mail with self-signed certificates 10 years ago
Michel Roux 6705559ce0 Fix malformed address 10 years ago
Unknwon 1e1f9e7166 Update with macaron 10 years ago
Unknwon 64c68220d2 Fix #264 10 years ago
Unknwon 91e5c24a31 Fix #522 10 years ago
无闻 b694cc88e4 Merge pull request #525 from linquize/tag-sort-reverse
sort tags in descending order by version number
10 years ago
Linquize 67c44b7d27 If git >= 2.0, sort tags in descending order by version number 10 years ago
Unknwon 263d409326 Basic xss prevention 10 years ago
Unknwon 2a031c1365 Fix #515 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 49193bebd2 UI: Confirmation box 10 years ago
Unknwon f69761563b Fix bug on transfer repo 10 years ago
Unknwon 25268577a5 Fix download archive issue 10 years ago
Unknwon a1109e6fbc Page: Repository home page 10 years ago
Unknwon ebb05475ed Fix #495 and cannot view repository by tag 10 years ago
Unknwon 135d3733b3 Feature: Integrate crypto/tls/generate_cert.go command 10 years ago
Unknwon 3f707b3f32 Add basic submodule support 10 years ago
lunnyxiao 7df60af60e submodule support and closed #478 10 years ago
lunnyxiao 79ec08141a Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
lunnyxiao 150eef93b2 add submodule basic support & buf fixed #478 10 years ago
Unknwon 1273b3d3a9 Support custom robots.txt 10 years ago
Unknwon b72d7c201a Mirror bug fix 10 years ago
Unknwon 4a01bb8fa4 Mirror bug fix 10 years ago
Martin van Beurden 976f1486e0 Set cookiepath to AppSubUrl 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 061a879cea Merge branch 'dev' of github.com:gogits/gogs into dev
Conflicts:
	conf/app.ini
10 years ago
lunnyxiao ed84adb679 toutf8 improved & add max git diff lines 10 years ago
Unknwon ae3639868e Quick fix on #476 10 years ago