Commit Graph

687 Commits (91ceba0427d383181889138ee0aa83765dbf195b)

Author SHA1 Message Date
Unknwon 6fdc881bd4 detect kill signal
Unknwon 30b428bf0e : 500 when visit a issue with issue/comments of deleted user
Unknwon cec38f2a8c able edit issue labels/milestone/assignee
Unknwon 133b19d0c5 finish view comments on issue page
Unknwon b410207dc1 add cache-control for attachments
Unknwon e67659bf8e fix serve attachment content type
Unknwon 34f6cbfc2a finish attachments when create issue
Unknwon 89c2bd4a0d finish create issue attachment UI
Unknwon 590c464c56 UI: create issue with title and content
Unknwon dea3a8c6a4 WIP: create PR - choose branch
Unknwon 9db4acc62e improve fork process
Unknwon 3d0583df0f fix private repo cannot trigger hook by SSH
Unknwon 9d414d4dd9 remove Index field of milestone
Unknwon 952c480f4f better version checker
Unknwon 39a3b768bc : Add Deployment Key Support
Unknwon 2c507667bf Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
# Conflicts:
#	gogs.go
#	models/issue.go
#	templates/.VERSION
Unknwon 0705f55ce0 finish new milestone page
Unknwon 74bd6b939c milestone: edit
Unknwon e50982f5ec allow anonymous SSH clone
Unknwon 9311a9858a milestone: pagination
Unknwon 04458d49a0 milestone: list view
Unknwon cc0d963f75 fix check template version
Unknwon bdd92dc7d1 fix disable router log option
Unknwon 4cd892c99f fix
Unknwon ba47306a69 fix
Unknwon fa298a2c30 : Realtime webhooks
Unknwon 54b58e988d Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
Unknwon 70d44e9565 Merge branch 'master' of github.com:gogits/gogs into develop
无闻 57651060ce Merge pull request from technosophos/master
Fix minor spelling issues.
无闻 6272986192 Merge pull request from nice-software/wip/certCommonName
Add CommonName to the self signed certificate
Unknwon ac95f6d50f UI: basic label list
- create new label
Unknwon 86dbda0b42 UI: basci issue list without filters
- fix isRead check
- fix paging
Unknwon ff051e2106 : API calls are not hidden behind sign in
Paolo Borelli e94ca36335 Add CommonName to the self signed certificate
Without a CN the self signed certificate is considered
invalid by chrome.
You can check with: openssl x509 -in cert.pem -subject -noout
Matt Butcher d82d9bc153 Fix minor spelling issues.
Luka Dornhecker 1988c0993d remove extra space in ssh authentication message
Unknwon 27c3c5415f Anyone can see organization pages even without logging in when sign in required
Unknwon e6cf83b8c0 Put default config into binary
Unknwon 8e815abeb0 : Custom robots.txt should be send with plaintext content-type
Unknwon 33894591a6 : Edit Account does not take into consideration password rules
Unknwon 588f3215c6 : dashboard no longer accessible when repo is missing
Unknwon b447d18dca cmd/serve.go: remove useless code
Unknwon d446be9f5f models: mirror fix on
Peter Smit 556881964f Merge branch 'access' into access_rewriteserv
Unknwon 10e4b5b6c6 Merge branch 'access' of github.com:gogits/gogs into access
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
Unknwon 059338139c routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
无闻 fc4dff1b17 Merge pull request from phsmit/access_update
Updating context and fixing permission issues
Peter Smit aa68e86206 Rewrite/simplify gogs serve
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.
Peter Smit f9454cc32c Make sure that a mirror can't be written to by http or ssh
Unknwon 685ed1f807 models: fix XORM API break
cmd/web.go: check version after load config
Unknwon 6d0f3a07d4 code fix caution: undertest
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
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.
Unknwon 7e7160eefd first pass work on migration
Peter Smit 0d158e569b Change constants to UPPERCASE_WITH_UNDERSCORE style
Peter Smit b7e26aa5e3 Improve argument parsing for serve command
Unknwon f15fa9167a cmd: code fix for
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
无闻 cd0ee35b3f Merge pull request from phsmit/conf_on_cli
Add option to provide configuration file on command line
Unknwon 2a2596fe61 able to disable SSH for
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.
Peter Smit 1ab09e4f1b Add option to provide configuration file on command line
Unknwon 4dfffee9fb cmd: update csrf version requirement
Unknwon 0a2068d7fb models: code fix on
Unknwon 89ea3e1acc routers: save partial config when install
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
Unknwon 7170011f4d update with deps
Unknwon 13e35398aa prepare for mirror update release
Unknwon d5c6b53571 use new Redis client
Unknwon f0ca16d78f add cache version require
Unknwon c73e9057ae Optmize git-fsck options and fix
Unknwon 0f1ff9b1ad fix cache dep API broken
Unknwon 63c1f9a23f fix 500: E-mail already used in user settings page
Unknwon 81a44e4cd0 fix API changes
Unknwon 97b39ae2e4 fix invite bug(shouldn't include full name to search box)
Unknwon 79537467da mirror fix and update
无闻 a18decf4cc Merge pull request from phsmit/multiple_emails
Multiple emails
Unknwon b231b8c927 update locale and mirror code format
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.
Unknwon 9803c421f5 fix binding api broken
Unknwon ac4a10456e api: able to create repo and fix
- POST /user/repos
- POST /org/:org/repos
Unknwon 42c7bb7529 mirror code clean
Henry 4f4392b83e increase minimum version vor HTTPS to TLS 1.0 (POODLE, fixes )
Unknwon bc8721fb6c Finish new UI for release page
Unknwon 82da024a4d fix
无闻 1591a37ad5 Merge pull request from willglynn/cert_stub_exit_code
Cert command stub should return a non-zero exit code
Will Glynn 3e528f34af Cert command stub should return a non-zero exit code
Unknwon d6132aaa88 fix oauth2
Unknwon 515641d033 fix
Unknwon 0cce61de3a Merge branch 'dev' of github.com:gogits/gogs into dev
Unknwon 5b96e3fcc7 fix
fuxiaohei 79dae254cf add milestone page design
chai2010 f9ad8d6903 Fix
Unknwon ef275ebf62 more on change avatar
Unknwon 55dfe2c978 custom avatar upload
Unknwon 37d8d3afe9 more APIs on
fuxiaohei d1a60e3643 add pull-request and labels page design
Unknwon a0f9197b45 GetFile api
Kyle P Davis 47f37e55e9 use AppSubUrl as prefix for routes in FCGI mode
Unknwon 52d66ba6c8 , use go-gogs-client
Unknwon 9dc3c93a6a , add/edit hook
Unknwon 9e22840483 fix
Unknwon 8eb5120fbd , API: list user repos, list repo hooks
Unknwon 8c9338a537 add personal access token panel
Unknwon abc57b6e43 work on
Unknwon 23eec25274 Fix , fix , fix
Unknwon 4e7eb5be9d Work on fork and fix
Unknwon 0c5ba4573a fix session API broken and SQL pretection
Andy Leap 5094e9501c Add basic FCGI support
Unknwon f1d8746264 Fix fork repo and macaron API broken
Unknwon 3abc41ccca Fix API broken
Unknwon fa241efa6d Use binding middleware
Unknwon 4a8a70dde0 Fix gzip
Unknwon b2632dec09 Page: Compare 2 commits
Unknwon 41dbb4c148 Hide org member in collar page
Unknwon 7b03b1df0e Allow custom locale
Unknwon 1aa76bd279 Fix , add system notice
Unknwon fc18741cc7 Fix
Unknwon 1e1f9e7166 Update with macaron
Unknwon 64c68220d2 Fix
Unknwon f03b6be8f9 Work on
Unknwon ac2055e33c Fix
Unknwon e3b78c47e2 Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	public/ng/less/gogs/repository.less
	templates/repo/home.tmpl
Unknwon 49193bebd2 UI: Confirmation box
fuxiaohei 7d48f811f1 add issue router for new issue page ui preview
Unknwon f69761563b Fix bug on transfer repo
Unknwon 25268577a5 Fix download archive issue
lunnyxiao 612fdb98df bug fixed for download 404 from repo's home page
Unknwon ebb05475ed Fix and cannot view repository by tag
Unknwon 135d3733b3 Feature: Integrate crypto/tls/generate_cert.go command
Unknwon 1273b3d3a9 Support custom robots.txt
Unknwon b72d7c201a Mirror bug fix
Unknwon 4a01bb8fa4 Mirror bug fix
Martin van Beurden 976f1486e0 Set cookiepath to AppSubUrl
Unknwon 7ba9257a7f Add suburl support
Unknwon ea309acdb2 Fix
Unknwon 0f037b430a Fix
Unknwon f8977f4847 Organization level webhooks
无闻 e79e4b1580 Merge pull request from compressed/org_hook
Organization-level Webhooks
Unknwon ab7206d6b7 Fix
Christopher Brickley 85c35a6b8b add organization-level webhooks
Vyacheslav Bakhmutov 9476e58de9 Set headers in js and go files to X-Csrf-Token
Christopher Brickley 00a864e693 add commit compare functionality
Christopher Brickley 2bce24068d add Slack API webhook support
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.
Unknwon d2aff9a46a Continue working on new admin pages
Unknwon 904bf1a50b Add migrate repo API
Unknwon 8829174574 Finish new admin users pages
Unknwon 81287ba022 Mirror issue fix
Unknwon 9baf2b38d0 Bug fix on organization
Unknwon 74b31566cf Finsih add/remove repo in organization
Unknwon 21a1b8e5a3 Finish new edit team page, add member to team
Unknwon bba707de36 Finish team list, create new team, join/leave team page
Unknwon 36b4c57ff1 Finish new organization members and invitation page
Unknwon 5acc948562 Page: `/org/:orgname/settings`
Unknwon 5fbf8531e6 Finish new home page of organization
Unknwon 9a1d5d2489 Finish new web hook pages
Unknwon 9820b8e134 Finish new hooks list page
Unknwon e8c9bb2c66 Finish new collaboration page
Unknwon a8e05fdf1b Use toolbox
Unknwon 755eec745f Finish new repo settings page
Unknwon 7bbf644dd5 Convert captcha, cache, csrf as middlewares
Unknwon 9813161411 Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!!
Unknwon 8dd07c0ddd New UI merge in progress
Justin Nuß bfe5b86004 Add file upload for attachments
Justin Nuß 43e5de7f83 Show attachments in issues/comments and add preview for images
Justin Nuß 3c025b3950 Add delete route for attachments, remove upload buttons from issues/comments
Justin Nuß 4617bef895 WIP: Allow attachments for comments
Unknown 3969d704a0 Merge branch 'dev' of github.com:gogits/gogs into dev
Unknown 0f907301b7 Fix
fuxiaohei c127d84777 add organization team-single page
Unknown 7ffdabb28f Move debug router location
Unknown aed4271c8d Change martini.Static to custom Static function
Justin Nuß a481672c5c Add 'pprof' tag for enabling debugging
Unknown 36292060d6 Fix bug that collaborators are able to modify settings of repository
Unknown 465dc962b5 Finish create organization team
Unknown 269da8fe7a Merge branch 'master' of github.com:gogits/gogs into dev
Unknown e4ea5cf598 Finish Teams page
Lunny Xiao be123588ce clear comments
Unknown 99713e1180 Merge branch 'dev' of github.com:gogits/gogs into dev
Unknown 5dbfe3c26c Finish organization homepage
Lunny Xiao 1c46d68aba bug fixed for message tag
Unknown 6e448b0714 Finish delete organization
fuxiaohei 1d55ecd29c add organization team-create page
fuxiaohei b5ba2bd268 add organization team-create page
Unknown 19e9104289 Organization settings page
Unknown e0f9c628c5 Add create organization
Unknown 47d29a1ee0 Mirror fix on
fuxiaohei fb53cc4fa8 add organization setting page
fuxiaohei f393dc6520 add organization dashboard page
fuxiaohei ea507e20d4 add organization create page
fuxiaohei adda10f4a4 add organization teams page
fuxiaohei 514d7e1922 add organization memebers page
fuxiaohei bf703ef617 add dashboard context switch button
Unknown 8bfa7ae745 Remove qiniu/log
Unknown f147ad619a Basic process manager
Unknown d952b4200c Add corn rask monitor panel
Unknown e07674bff1 Support edit release and save as draft
Unknown a3e1383cac Add gogs fix location command
FuXiaoHei 4fcbf553aa organisation main page ui
Unknown 4f2f3c2857 Code convention
Unknown 617bbe3fee Fix
Unknown ab13a29cb5 Fix
Unknown ff690fd976 Fix , add VERSION to template files
Unknown ff48aeddef Little bug fix
Unknown 688ec6ecbd Fixed
Unknown b1bdbd7f94 Almost done issue label
Unknown 5e9a45f74a Code convention
Unknown 93f8f92523 Finish create new label
Unknown 956f011dd3 Fix
Unknown 46fc36c3a6 Finish change issue’s milestone
Unknown 5ed5aa5228 Finish milestone
Unknown 2eee1e9bc2 Finish edit a milestone
Unknown c117f9e73f Fix
Unknown 54e95fa367 Finish add new milestone
FuXiaoHei 1769bb2f26 add milestone edit ui
Unknown 68fb62347f Finish issue assignee
Unknown a196245a87 little fix
Unknown 605a38759f Fix and fix
FuXiaoHei 2eabeba6b7 finish milestone add page
FuXiaoHei d76772adb9 add milestone list page
Unknown 8ca14e2109 Improve delete SSH key
Unknown 7cb5a15c9b Batch of mirror fixes
Unknown 94bccbb148 Finish edit and remove web hook
Unknown 24f614f6db Finish add web hook
Unknown 6e3dba2cc5 Clean repo code
Unknown bbdfe25769 User code clean and ui improve
Unknown c1eb4d894a Clean api code
FuXiaoHei d34c3bb751 finish webhook ui,
some ui fix
Lunny Xiao d8136c9c3c Merge branch 'dev-ldap' into dev
Unknown 816c0ed5e7 Fix import path
Unknown a641854cad command dump
Unknown 7b60756f2c Fix Collaborators cannot commit
FuXiaoHei 3e856928a2 add webhooks page ui
Unknown 3bd5fc6d6f Add command dump and move to cmd did