Commit graph

223 commits

Author SHA1 Message Date
Unknwon 059338139c routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
2015-02-22 09:49:25 -05:00
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.
2015-02-16 12:51:56 +02:00
Peter Smit d016eaaa09 Fix #807 parse the userinfo with the golang tools
Note, this is now only fixed with Go version >= 1.4.2, see this bug in Go: 07d86b1f2d
2015-01-02 12:14:11 +02:00
Unknwon ac4a10456e api: able to create repo and fix #726
- POST /user/repos
- POST /org/:org/repos
2014-12-12 20:30:32 -05:00
Unknwon 4e7eb5be9d Work on #5 fork and fix #608 2014-11-05 23:30:04 -05:00
isotas38 2c28ed8c05 Fix #595 2014-11-02 14:18:37 +09:00
semlanik 377530ec21 Fix Issue 589 2014-10-30 22:13:52 +03:00
Unknwon a342d58d7e Able to fork repo to individuals 2014-10-19 01:35:24 -04:00
evolvedlight 211dc74816 Got the fork count working 2014-10-10 00:21:36 +01:00
evolvedlight c9e5e38fcf Initial cut of git fork 2014-10-04 18:19:14 +01:00
Unknwon 25268577a5 Fix download archive issue 2014-09-24 17:43:33 -04:00
Unknwon 7ba9257a7f Add suburl support 2014-09-19 20:11:34 -04:00
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
2014-09-18 20:50:48 +02:00
Unknwon 904bf1a50b Add migrate repo API 2014-08-29 17:31:53 +08:00
Unknwon 9baf2b38d0 Bug fix on organization 2014-08-27 16:39:36 +08:00
Unknwon 36b4c57ff1 Finish new organization members and invitation page 2014-08-15 18:29:41 +08:00
Unknwon 5fbf8531e6 Finish new home page of organization 2014-08-10 20:11:18 -07:00
Unknwon dabf5b057c Finish new migrate page 2014-08-01 00:06:19 -04:00
Unknwon 9813161411 Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page 2014-07-26 23:53:16 -04:00
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 2014-07-26 02:28:04 -04:00
Unknwon 8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00
Unknown e4ea5cf598 Finish Teams page 2014-06-29 16:30:41 -04:00
Unknown 5dbfe3c26c Finish organization homepage 2014-06-28 15:43:25 -04:00
Unknown 32b09681b2 Migrate repository by organization 2014-06-25 05:35:23 -04:00
Unknown 43b33440b5 Work on create organization repo and #257 2014-06-25 05:14:36 -04:00
Unknown 4cf7a1fca5 Mirror update on create repo page 2014-06-25 03:55:59 -04:00
Unknown 314193029a Use constants to name template file 2014-06-22 23:11:12 -04:00
Unknown 9924e65ca1 In progress of name template name constant 2014-06-22 13:14:03 -04:00
Unknown 422043f422 Fix #219 2014-05-30 16:35:35 -04:00
Unknown 617bbe3fee Fix #218 2014-05-30 06:34:24 -04:00
Unknown 9085dfa426 Working on #211 2014-05-29 22:09:50 -04:00
slene e323604d78 display large file 2014-05-28 14:01:41 +08:00
slene 4ee6bc4fca fix for new git api 2014-05-28 14:01:41 +08:00
Unknown c117f9e73f Fix #166 2014-05-12 20:22:35 -04:00
Unknown 6e3dba2cc5 Clean repo code 2014-05-05 19:58:13 -04:00
FuXiaoHei 52fbb9788a add collaboration page ui 2014-05-01 17:44:22 +08:00
Unknown 8bc502a1ea New err check style 2014-04-22 22:34:49 -04:00
Unknown eda3f8b3b3 Mirror updates 2014-04-19 06:00:08 -04:00
Unknown c3a52f7dd0 Mirror bug fix on downloading zip 2014-04-15 20:01:20 -04:00
slene 4fafc76052 zip archive download 2014-04-16 00:29:03 +08:00
Unknown 4c1452574a go get 2014-04-13 05:02:11 -04:00
Unknown ea74be2f2e go get 2014-04-13 04:27:29 -04:00
Unknown c9a1eb4789 Able to change mirror interval now 2014-04-12 22:30:00 -04:00
slene 52b4ab2aa5 update with new git 2014-04-13 09:35:36 +08:00
Unknown 90f6aa8cd1 Add repo mirror and import 2014-04-12 20:35:35 -04:00
Unknown 33aa4f7438 Support private repo 2014-04-11 21:47:39 -04:00
Unknown 47aa53bd36 Add search commits 2014-04-11 19:44:13 -04:00
Unknown 306aa5bffe Add support default branch 2014-04-10 22:03:31 -04:00
Unknown 8980675a9f Fix #69 2014-04-10 18:09:57 -04:00
Lunny Xiao 88d873c67f Merge branch 'dev' of github.com:gogits/gogs into dev 2014-04-10 22:22:18 +08:00
Lunny Xiao 16b6e5d50b bug fixed 2014-04-10 22:12:32 +08:00
Unknown 5d4025cb5a Add go get meta support 2014-04-09 21:42:25 -04:00
Unknown 9f7bd5007b Work on mirror repo 2014-04-09 14:20:02 -04:00
FuXiaoHei c72e1b5c2a repo-import page ui 2014-04-09 21:28:00 +08:00
Lunny Xiao 9791e70da6 bug fixed 2014-04-05 22:24:10 +08:00
Lunny Xiao a92826a8fe Merge branch 'dev' of github.com:gogits/gogs into dev
Conflicts:
	routers/repo/repo.go
2014-04-05 15:30:49 +08:00
Lunny Xiao 493b0c5ac2 add ssl support for web 2014-04-05 15:17:57 +08:00
Unknown eb803ec5eb Add transfer repository 2014-04-04 18:31:09 -04:00
Unknown 4a4997a3c7 Merge branch 'master' of github.com:gogits/gogs into dev 2014-04-04 10:34:18 -04:00
Lunny Xiao 6b9f7fd758 basiclly http push 2014-04-04 17:26:46 +08:00
Unknown e9c4156c87 Add: rename user 2014-04-03 16:33:27 -04:00
Unknown 79a610592e Add: rename repository 2014-04-03 15:50:55 -04:00
Unknown d0e6a4c25a Change new martini impot path 2014-03-30 12:11:28 -04:00
slene d6c9e3413a fix display bare repo 2014-03-30 13:30:17 +08:00
slene 578d981d7e display bare repo page 2014-03-30 11:38:41 +08:00
slene b27c34f39a update git api. fix link... and so on 2014-03-30 10:13:02 +08:00
Lunny Xiao a726c125b5 Add PushCommit 2014-03-29 19:29:52 +08:00
Unknown 5344a03003 Bug fix 2014-03-27 21:15:53 -04:00
slene 10b412d237 commit raw file 2014-03-28 00:50:13 +08:00
slene 417d861be6 fix download 2014-03-28 00:38:44 +08:00
slene 346db02d89 fix image display 2014-03-28 00:30:20 +08:00
slene 677643b812 fix read commit source 2014-03-28 00:07:22 +08:00
Unknown dd6246877d Almost done diff page 2014-03-26 16:41:16 -04:00
Unknown 2fa8d0c8dd Added create issue 2014-03-25 12:12:27 -04:00
slene 123c7b44e8 fix 2014-03-25 00:42:57 +08:00
slene ff36248419 raw download 2014-03-24 23:56:32 +08:00
FuXiaoHei 137538e54b refactor repo.go 2014-03-24 18:25:15 +08:00
Unknown f8cfb81fb0 Mirror updates 2014-03-23 12:16:17 -04:00
Unknown 1eb078d0a8 Fix action 2014-03-23 06:27:01 -04:00
FuXiaoHei 47493a0191 use ctx.Handle to handle 404 page 2014-03-23 13:12:55 +08:00
Unknown 7356153ba3 Batch updates 2014-03-22 17:59:22 -04:00
Unknown 59ffdbf6f8 Add create, list, view issue 2014-03-22 16:00:46 -04:00
Unknown 61e2922601 Working on issues 2014-03-22 13:50:50 -04:00
Unknown 3b387336bf Add Repository/user name filter 2014-03-20 11:41:24 -04:00
Unknown 9f9cd6bfc6 Work on admin 2014-03-20 07:50:26 -04:00
Unknown 757f360949 Render data in commit list page 2014-03-19 13:14:56 -04:00
FuXiaoHei 9bc06dc716 Merge remote-tracking branch 'origin/master'
Conflicts:
	routers/user/user.go
2014-03-19 22:23:46 +08:00
slene 199fdd0336 fork render 2014-03-19 22:21:03 +08:00
FuXiaoHei c7660a81c6 Merge remote-tracking branch 'origin/master'
Conflicts:
	routers/user/user.go
2014-03-19 22:19:17 +08:00
FuXiaoHei a0e73e2b54 top nav arrow update 2014-03-19 22:15:28 +08:00
slene 483cc31369 Revert "fork render"
This reverts commit 56af7e99a8.
2014-03-19 22:11:28 +08:00
Gogs 56af7e99a8 fork render 2014-03-19 21:58:51 +08:00
Unknown de087c7b4a Add send register confirm mail 2014-03-19 08:27:27 -04:00
Unknown bd9d90d8c4 Add some log 2014-03-19 04:48:45 -04:00
Unknown 757e4f658c Completely rule out the cgo 2014-03-17 11:56:50 -04:00
slene 3a2eee0827 fix repo setting and delete repo 2014-03-17 14:36:28 +08:00
Unknown dfcae2a97a Add repo list data, need front-end fix 2014-03-15 12:13:45 -04:00
Unknown b43cfc5b39 Clean code 2014-03-15 10:52:14 -04:00
slene 27a9e18e48 clean repo.go 2014-03-15 21:58:32 +08:00
Unknown f174633b36 Clean code 2014-03-15 09:17:16 -04:00
Unknown e251b9bbca Bug fix 2014-03-15 00:55:30 -04:00
Unknown adb17791bd Add basic render of public act 2014-03-15 00:50:51 -04:00
Unknown 1ce17cce76 Add log.handle 2014-03-14 01:59:07 -04:00
Unknown 15f8bc417e Add log.handle 2014-03-14 01:51:12 -04:00
Unknown 56cf05be77 Add errHandler mid ware 2014-03-14 01:40:34 -04:00
Unknown 57bc2d1ca0 Add update user profile back end, add new gitignore and license, add template data to public profile page 2014-03-13 03:39:18 -04:00
Unknown 27104ac89a Add delete repo 2014-03-13 02:39:09 -04:00
FuXiaoHei f65d8f9144 single repository page ui, add spec handler to get repo 2014-03-13 13:07:07 +08:00
Lunny Xiao 08feaf3ded add repo router 2014-03-13 11:56:25 +08:00
Unknown fdc4151ff3 Finish create repo 2014-03-11 01:32:36 -04:00
Unknown b4727c7601 Update create repo 2014-03-11 00:53:53 -04:00
Lunny Xiao f9907bbfa4 add README support for creating repository 2014-03-11 12:18:44 +08:00
Unknown 897329a644 Add add and delete SSH key 2014-03-10 20:48:58 -04:00
Unknown 0d9b2f3860 Update CreateRepository 2014-03-09 20:06:29 -04:00
Unknown 76ce6f9848 Update repo.Create 2014-03-08 21:25:38 -05:00
Unknown 5a05d6633d Merge utils to modules 2014-03-07 17:22:15 -05:00
Unknown a2a59f8ad1 Change /user/profile URL to /user/:username 2014-03-07 17:08:21 -05:00
Unknown ba5c7ea771 Add SignInRequire and SignOutRequire middleware 2014-03-07 16:05:18 -05:00
Lunny Xiao e246f2188e add list for repo basic 2014-03-07 11:14:51 +08:00
Lunny Xiao 0632198a40 add create repository button 2014-03-03 09:52:12 +08:00
Lunny Xiao bbf5345004 ssh push support 2014-02-25 15:28:04 +08:00
Lunny Xiao f7826d4ed7 create repository from web 2014-02-25 15:11:54 +08:00
Unknown 8962b39648 Add routers for create and delete repo 2014-02-19 21:45:43 -05:00