714 Commits (4cfa2ca40d4f211a124ab9973dfc814190b758b9)

Author SHA1 Message Date
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
Unknown ebb4f1b78c Work #475 and #458 10 years ago
Unknwon 62f21ff3ed Work on #476 10 years ago
Unknwon 0d9c41be7d Work on #476 10 years ago
Unknwon b9560374cd UI fix 10 years ago
Mathieu Gagnon 3549fb0ea8 Remove APP_LOGO setting 10 years ago
Unknwon a2cac952a4 Prepare 0.5 release 10 years ago
Unknwon 2a3660dae3 Fix #453 10 years ago
Unknwon d89e630bc0 Fix test cases 10 years ago
Unknwon 59a7c7c5a5 Remove ldap dep 10 years ago
Unknwon 25d6ae69d1 Remove hg dep 10 years ago
Unknwon 0ddb1eb769 Finish new install page, almost ready for 0.5 release 10 years ago
Unknwon 8b0e815d98 Fix #425 10 years ago
Unknwon bf5595f9a0 Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
Unknwon 36661f53e6 Update deps 10 years ago
Christopher Brickley 2bce24068d add Slack API webhook support 10 years ago
Tristan Storch 69e332f432 Removed trailing white spaces
Removed trailing whitespaces with

```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```

and some handwork.
10 years ago
Unknwon 9bc63bda7d Finish all new admin pages. 10 years ago
Unknwon 8829174574 Finish new admin users pages 10 years ago
Unknwon 9baf2b38d0 Bug fix on organization 10 years ago
Unknwon f2c263c54f fix #367 10 years ago
Unknwon 21a1b8e5a3 Finish new edit team page, add member to team 10 years ago
Unknwon 97a373f5e7 Fix #362, update code with upstream 10 years ago
Unknwon bba707de36 Finish team list, create new team, join/leave team page 10 years ago
Unknwon 36b4c57ff1 Finish new organization members and invitation page 10 years ago
Unknwon 5acc948562 Page: `/org/:orgname/settings` 10 years ago
Unknwon 5fbf8531e6 Finish new home page of organization 10 years ago
Unknwon 7af7584d25 Finish new reset password, etc. 10 years ago
Unknwon 5605af973b Feature: Social sign in 10 years ago
Unknwon 78defd238c Page: Manage social accounts 10 years ago
Unknwon 9a1d5d2489 Finish new web hook pages 10 years ago
Unknwon fa0a389dc4 Fix bare repo bug 10 years ago
Justin Nuß 8023494a94 Fix invalid struct tags and remove unreachable code. 10 years ago
Unknwon 755eec745f Finish new repo settings page 10 years ago
Unknwon 669552e255 Fix #340 10 years ago
Unknwon b95e78f7e6 Mirro fix on PR #311 10 years ago
无闻 568c9b353e Merge pull request #311 from nuss-justin/issue/281
Fix #281. Add mouse-over precise time and on-click switch listener.
10 years ago
Unknwon dabf5b057c Finish new migrate page 10 years ago
Unknwon 7bbf644dd5 Convert captcha, cache, csrf as middlewares 10 years ago
Unknwon 3428baa3b5 Mirror fix on template 10 years ago
Unknwon 9813161411 Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page 10 years ago
Unknwon 5e81383413 Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module 10 years ago
Justin Nuß 91480f3791 Merge branch 'dev' of https://github.com/gogits/Gogs into issue/281
Conflicts:
	modules/base/tool.go
10 years ago
Unknwon 35c75f06a0 Fix test case 10 years ago
Unknwon 545d320648 Docs fix 10 years ago
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 10 years ago
Unknwon 8dd07c0ddd New UI merge in progress 10 years ago
Justin Nuß f7617997ce Ignore EOF error when parsing form. 10 years ago
Justin Nuß 835e85b5ce Fix #281. Add mouse-over precise time and on-click switch listener. 10 years ago
Unknwon c20f5dc2ea Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
Unknwon a41a1fe60d Mirror fix 10 years ago
Justin Nuß 4d702eb345 Allow disabling uploads 10 years ago
Justin Nuß bfe5b86004 Add file upload for attachments 10 years ago
Justin Nuß 4617bef895 WIP: Allow attachments for comments 10 years ago
Justin Nuß 267870537d Fix issue #278. Fall back to (default) branch for context data, if no branch selected 10 years ago
gima 5a97cc69ed Make possible for administrators to change user's password (fix proposal for #290) 10 years ago
Unknown 63cc14062a Paging function for users and repositories 10 years ago
Unknown 097c8e05e6 Able to set timeout for process monitor 10 years ago
Unknown aed4271c8d Change martini.Static to custom Static function 10 years ago
Unknown 36292060d6 Fix bug that collaborators are able to modify settings of repository 10 years ago
Unknown cdffdeddc9 Fix bug that collaborators are able to modify settings of repository 10 years ago
Unknown 465dc962b5 Finish create organization team 10 years ago
Unknown e57aebb316 Add uuid 10 years ago
Lunny Xiao 1c46d68aba bug fixed for message tag 10 years ago
Unknown 6e448b0714 Finish delete organization 10 years ago
Unknown 19e9104289 Organization settings page 10 years ago
Unknown 32b09681b2 Migrate repository by organization 10 years ago
Unknown 43b33440b5 Work on create organization repo and #257 10 years ago
Unknown e0f9c628c5 Add create organization 10 years ago
Unknown b2801a2e98 Fix #165 10 years ago
Unknown ceb415df8a Merge branch 'master' of github.com:gogits/gogs into dev 10 years ago
niphor 29a40c97f3 RepoRootPath must be absolute path 10 years ago
Unknown 9924e65ca1 In progress of name template name constant 10 years ago
Unknown 9d2cef23f2 Fix #165 10 years ago
Unknown ad5ec45dd6 Fix #165 10 years ago
Unknown 8bfa7ae745 Remove qiniu/log 10 years ago
Unknown 6c8d630bef Add database log adapter 10 years ago
Unknown f147ad619a Basic process manager 10 years ago
Unknown 8d3276cab0 Fix test cases 10 years ago
Unknown d952b4200c Add corn rask monitor panel 10 years ago
Unknown e07674bff1 Support edit release and save as draft 10 years ago
Unknown 9961f9a53c Fix #197 10 years ago
Unknown a3e1383cac Add gogs fix location command 10 years ago
Unknown 302c863cda Fix #242 10 years ago
Unknown 4f2f3c2857 Code convention 10 years ago
Unknown 63baf76ab2 Fix #214 10 years ago
Unknown 2657f88d9a Fix #222 10 years ago
slene 4ee6bc4fca fix for new git api 10 years ago
Unknown ab13a29cb5 Fix #209 10 years ago
Unknown ff690fd976 Fix #200, add VERSION to template files 10 years ago
Unknown ff48aeddef Little bug fix 10 years ago
Unknown d72fdc9900 Change version to v0.3.6 10 years ago
Unknown 5543a0b6dc 增加版本标识确保二进制和模板文件处于同个版本 10 years ago
Unknown 2f820e01d8 Fixed #209 10 years ago
Unknown 688ec6ecbd Fixed #209 10 years ago
Unknown 5e9a45f74a Code convention 10 years ago
Unknown 5660570d92 Add MustValueRange 10 years ago
Unknown 93f8f92523 Finish create new label 10 years ago
Unknown 44f1ef2493 Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
Unknown be82716b66 Clean old LDAP code 10 years ago
Lunny Xiao 57ad8d50b7 Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
Lunny Xiao f6c94c29d5 implicated error for ldap dial 10 years ago
Unknown 4744996f9a Make gmail auth work 10 years ago
Lunny Xiao 7869cfccb9 Merge pull request #192 from DerDackel/ldapssl
Add LDAP over SSL support
10 years ago
Sebastian Jackel eb264a112b Add LDAP over SSL support 10 years ago
Unknown b0084b1adc Litte bug fix 10 years ago
Unknown 33ec0632ff Fix #183 10 years ago
Unknown 98dbbae2ef Fix #166 10 years ago
Unknown f979d0d6b9 Fix #138 10 years ago
Unknown 54e95fa367 Finish add new milestone 10 years ago
Unknown f1130ce5e9 Fix edit auth page bug 10 years ago
Unknown 0970d6cc38 Log to different adapter according to level 10 years ago
Unknown 605a38759f Fix #94 and fix #169 10 years ago
Unknown fd4b123e88 Fix #94 and fix #169 10 years ago
Unknown 65e628d1f4 ignore broken tests 10 years ago
Unknown c5dbc24ca4 UI fix 10 years ago
Lunny Xiao bf58679390 add support for smtp authentication 10 years ago
Lunny Xiao 55019bfbc5 merge all login methods 10 years ago
Lunny Xiao 4d6de6c7b9 add login name for auth type 10 years ago
jiangjianxiao 501f70e248 fix news feed repo link 10 years ago
Unknown 09dba7d63e Clean names 10 years ago