Commit Graph

418 Commits

Author SHA1 Message Date
Unknwon c6531c4882 check master as default branch when migrate 2015-07-05 18:34:16 +08:00
William Roush 8363c9dd0f Fixes issue with LDAP inserting users with blank names. 2015-04-20 01:51:43 -04:00
Tony Narlock 6a0fec77ea Allow an SSHDomain configuration option. Defaults to Domain, preserves legacy behavior 2015-04-18 05:21:07 -05:00
Unknwon 698b9e2acc Clearer error message for illegal characters 2015-03-26 17:11:47 -04:00
Unknwon ab730a91f0 mirror info not updated when transfer mirro repo 2015-03-25 17:50:18 -04:00
Unknwon 9c67a19332 change to fake local email account 2015-03-24 18:41:41 -04:00
Unknwon 6f81c05dde Team member access lost when adding repository collaborator
- fix bug when add a repo to team, all other team members gets access as well
2015-03-24 18:14:04 -04:00
Vitaliy Vasilenko 20a8d651f3 add func to autofix couters in repository 2015-03-21 14:55:00 +02:00
Unknwon 7cf0564587 update gopmfile 2015-03-19 16:44:22 -04:00
Unknwon e6cf83b8c0 Put default config into binary 2015-03-18 06:37:44 -04:00
Unknwon 466facc009 : Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
2015-03-17 21:51:39 -04:00
Unknwon fc6db829b2 fix read access team visibility of private repo 2015-03-16 04:52:11 -04:00
Unknwon 588f3215c6 : dashboard no longer accessible when repo is missing 2015-03-16 04:04:27 -04:00
Unknwon b668fc7aad : Update hooks is missing for forked repository 2015-03-12 20:18:42 -04:00
Unknwon 473e265727 models: done testing on new access system 2015-02-28 21:44:09 -05:00
Unknwon 8896c82d34 models: fix issue with transfer repository
README: fix typo
2015-02-24 00:27:22 -05:00
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix 2015-02-23 02:15:53 -05:00
Unknwon e90f014e4a Merge branch 'access' of github.com:gogits/gogs into access 2015-02-22 23:34:05 -05:00
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
2015-02-22 22:51:25 -05:00
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.
2015-02-17 10:36:17 +02:00
Peter Smit b6519f78c7 Remove collaborators when removing and transferring repository 2015-02-16 13:34:42 +02:00
Unknwon 6b7d35eade fix mirror issues uncaught 2015-02-13 02:14:57 -05:00
Unknwon 6d0f3a07d4 code fix caution: undertest 2015-02-13 00:58:46 -05:00
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.
2015-02-12 14:14:45 +02:00
Unknwon 7e7160eefd first pass work on migration 2015-02-11 21:58:37 -05:00
Unknwon c5c467a9cd Merge branch 'dev' of github.com:gogits/gogs into access 2015-02-11 19:25:59 -05:00
Unknwon c7a042ef36 Merge branch 'access' of github.com:gogits/gogs into access 2015-02-11 12:43:43 -05:00
无闻 e805fdb29c Merge pull request from phsmit/newcollaboration
Collaboration
2015-02-11 12:43:13 -05:00
Unknwon 485ea6f14f models: make code change for session issue with SQLite3 2015-02-10 23:44:16 -05:00
Unknwon bad533a219 models/repo.go: add update hook when migrate for 2015-02-09 12:42:53 -05:00
Peter Smit aa35be975f Fix 2015-02-09 12:27:15 +02:00
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)
2015-02-08 21:26:14 -05:00
无闻 cd0ee35b3f Merge pull request from phsmit/conf_on_cli
Add option to provide configuration file on command line
2015-02-08 20:22:02 -05:00
Unknwon 2a2596fe61 able to disable SSH for 2015-02-07 10:46:57 -05:00
Peter Smit 1ab09e4f1b Add option to provide configuration file on command line 2015-02-05 12:17:35 +02:00
Peter Smit 03af37554e Merge branch 'dev' into newcollaboration 2015-02-05 11:08:10 +02:00
Unknwon 4de0b19cec models: mirro code fix for 2015-02-02 23:42:53 -05:00
无闻 902f19f70b Merge pull request from phsmit/fix_819
Fix  by fetching the repository from db before updating
2015-02-02 23:38:04 -05:00
Unknwon ee6786216a modules/base: clean code with 2015-01-30 18:12:30 -05:00
Peter Smit 76f8904718 Introducing Collaboration Struct 2015-01-23 09:54:16 +02:00
Unknwon c73e9057ae Optmize git-fsck options and fix 2015-01-02 20:14:43 +08:00
Peter Smit 44fa9147b7 Fix by fetching the repository from db before updating 2015-01-02 11:15:42 +02:00
Unknwon 0b56272c13 fix 2015-01-02 13:30:45 +08:00
Unknwon 3ea1443885 work on 2015-01-02 12:47:33 +08:00
euank 234a7c19a4 Default values for both user.name and user.email
The previous behavior was to set default values only if user.name was
not set, but to always set it for both. This only sets a value if there
wasn't one; this fixes cases where someone has a user.name but no
user.email (see included Dockerfile) or someone has a user.email but no
user.name (before the email would have been over-written).
2014-12-27 19:07:54 -08:00
Unknwon b553ea45ee modes/repo: incorrect SSH clone URL for 2014-12-13 16:46:00 -05:00
Unknwon 2f3a7e53cb fix 2014-12-12 01:29:36 -05:00
Joseph Crail 39c068400e Fix spelling errors in comments. 2014-12-06 20:22:48 -05:00
Unknwon e577f2fff3 fix and other mirror improve 2014-12-04 23:07:51 -05:00
Unknwon d75013a0e8 fix 2014-11-30 02:26:29 -05:00
Unknwon 1b66600bd0 Fix 2014-11-23 02:33:47 -05:00
Unknwon 2d8c414f8c Fix 2014-11-18 19:05:33 -05:00
Unknwon 8eb5120fbd , API: list user repos, list repo hooks 2014-11-13 02:32:18 -05:00
Unknwon 4e7eb5be9d Work on fork and fix 2014-11-05 23:30:04 -05:00
Unknwon 0c5ba4573a fix session API broken and SQL pretection 2014-11-04 11:37:15 -05:00
Unknwon 83283bca4c Safe work 2014-10-25 07:50:19 -04:00
Unknwon f1d8746264 Fix fork repo and macaron API broken 2014-10-24 18:43:17 -04:00
Unknwon a342d58d7e Able to fork repo to individuals 2014-10-19 01:35:24 -04:00
evolvedlight 8d2a6fc484 Merge remote-tracking branch 'upstream/dev'
Conflicts:
	models/repo.go
2014-10-13 20:30:31 +01:00
evolvedlight 29ac3980ff More changes 2014-10-13 20:23:30 +01:00
Unknwon 963354c5d7 Add raw, history file button, and other mirror fixes 2014-10-11 18:02:48 -04:00
evolvedlight 211dc74816 Got the fork count working 2014-10-10 00:21:36 +01:00
Unknwon 79262173a6 Webhook delivery locking & Hide repo for org members if they don't have access 2014-10-09 19:01:22 -04:00
Unknwon 1aa76bd279 Fix , add system notice 2014-10-08 18:29:18 -04:00
Unknwon 263d409326 Basic xss prevention 2014-10-04 17:15:22 -04:00
evolvedlight c9e5e38fcf Initial cut of git fork 2014-10-04 18:19:14 +01:00
Unknwon 3cfa4a581c Bug: 500 when transfer repository to collaborator 2014-09-29 04:04:48 -04:00
Unknwon ad52b2d791 Mirror fix on transfer repo 2014-09-25 22:36:07 -04:00
Unknwon 71e4689d11 Page: User profile 2014-09-25 19:33:39 -04:00
Unknwon f69761563b Fix bug on transfer repo 2014-09-25 16:36:19 -04:00
Unknwon 5bbeeb0f1b Page: Commits and fix 2014-09-23 15:30:04 -04:00
Unknwon 8a09256941 Mirror fix and fix 2014-09-17 14:22:51 -04:00
Unknwon 62f21ff3ed Work on 2014-09-16 11:29:53 -04:00
Unknwon 0d9c41be7d Work on 2014-09-16 10:10:33 -04:00
Unknwon cfed11f092 Bug: Transfer repository doesn't update the count 2014-09-12 18:29:58 -04:00
Unknwon ab7206d6b7 Fix 2014-09-05 17:28:09 -04:00
Tristan Storch 9fc4ded369 Standard git user.name and user.email if not set
Git user.name and user.email will now be set to the standard values

  - Gogs
  - gogitservice@gmail.com

if user.name is not set or empty.

If user.name is set and user.email not, it will leave it this way.
2014-09-04 12:07:09 +02:00
Unknwon 830efc90da update docs and mirror bug fix 2014-09-02 07:11:39 -04:00
lunnyxiao 1240fef0ca bug fixed for migrate and fixed 2014-09-02 11:57:06 +08:00
Unknwon 9baf2b38d0 Bug fix on organization 2014-08-27 16:39:36 +08:00
Unknwon 50de06056b Merge branch 'dev' of github.com:gogits/gogs into dev 2014-08-26 18:11:27 +08:00
Unknwon 74b31566cf Finsih add/remove repo in organization 2014-08-26 18:11:15 +08:00
Vyacheslav Bakhmutov 95a594d75a Migrate all branches and tags 2014-08-25 20:28:14 +07:00
Unknwon 21a1b8e5a3 Finish new edit team page, add member to team 2014-08-24 21:09:05 +08:00
Unknwon e325c8499a Fix and set git config 2014-08-23 23:58:56 +08:00
Unknwon a60edbe88c Add/remove member need add/remove access to repositories as well 2014-08-16 16:58:32 +08:00
Unknwon 5fbf8531e6 Finish new home page of organization 2014-08-10 20:11:18 -07:00
Unknwon fa0a389dc4 Fix bare repo bug 2014-08-05 19:40:01 -04:00
Unknwon 17d2675dd2 Fix 2014-08-01 05:20:33 -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 5e81383413 Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module 2014-07-26 18:37:18 -04:00
Unknwon 8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00
Justin Nuß 469cbc8813 Update progress of milestones when closing/reopening issues and allow closing of issues in commit messages 2014-07-23 13:48:06 +02:00
Justin Nuß 636a78fed1 Escape tags and quotes in links. 2014-07-22 20:08:04 +02:00
Justin Nuß e194cf3291 Fix issue . Allow links in the repository description 2014-07-22 19:52:37 +02:00
Unknown 0f907301b7 Fix 2014-07-12 00:55:19 -04:00
Unknown 63cc14062a Paging function for users and repositories 2014-07-07 04:15:08 -04:00
Unknown 097c8e05e6 Able to set timeout for process monitor 2014-07-06 17:32:36 -04:00
Unknown fd5412ec47 Work on 2014-07-04 22:43:39 -04:00
Lunny Xiao baa255e899 remove debug info 2014-07-05 10:37:29 +08:00
Lunny Xiao 3c6da63216 bug fixed 2014-07-05 10:25:45 +08:00
Unknown 7f3015b32b Merge branch 'dev' of github.com:gogits/gogs into dev 2014-07-04 14:44:31 -04:00
Unknown 13b032f829 update name 2014-07-04 14:44:27 -04:00
Justin Nuß a481672c5c Add 'pprof' tag for enabling debugging 2014-07-04 11:41:43 +02:00
Unknown 465dc962b5 Finish create organization team 2014-07-02 16:42:16 -04:00
Lunny Xiao a357cda957 Merge branch 'dev' of github.com:gogits/gogs into dev 2014-06-28 15:00:32 +08:00
Unknown 6e448b0714 Finish delete organization 2014-06-28 00:40:07 -04:00
Unknown 19e9104289 Organization settings page 2014-06-27 03:37:01 -04:00
Lunny Xiao 165e3e8f18 path bug fixed 2014-06-26 21:39:27 +08:00
Unknown 32b09681b2 Migrate repository by organization 2014-06-25 05:35:23 -04:00
Unknown 8644c571db Mirror bug fix on create repo action 2014-06-25 05:27:17 -04:00
Unknown 43b33440b5 Work on create organization repo and 2014-06-25 05:14:36 -04:00
Unknown e0f9c628c5 Add create organization 2014-06-25 00:44:48 -04:00
Unknown ad5ec45dd6 Fix 2014-06-21 00:51:41 -04:00
Unknown f147ad619a Basic process manager 2014-06-19 01:08:03 -04:00
Unknown e07674bff1 Support edit release and save as draft 2014-06-12 17:47:23 -04:00
toby.zxj a13a6b14ec Using strings.HasPrefix(...) will misjudgement
`strings.HasPrefix(access.RepoName, uname)` can't handle the situation which like following in access table.

	user_name | repo_name
	----------+-------------
	toby      | toby/blog
	toby      | toby/test
	toby      | tobyzxj/blog
	toby      | tobyzxj/test
2014-06-11 16:54:25 +08:00
Unknown a3e1383cac Add gogs fix location command 2014-06-10 19:11:53 -04:00
Unknown f160b4f33c Add tar.gz download button and other mirror updates 2014-06-08 17:53:53 -04:00
Unknown 11f9d738e8 Fix 2014-06-03 21:51:25 -04:00
Unknown 32c5fa514c Fix 2014-06-02 23:17:21 -04:00
Unknown e1332c5239 Fix 2014-06-01 21:47:48 -04:00
Unknown 01a516b584 Fix 2014-06-01 10:53:57 -04:00
Unknown 688ec6ecbd Fixed 2014-05-25 20:11:25 -04:00
Unknown 80055bde86 Code convention 2014-05-24 15:28:31 -04:00
Unknown 956f011dd3 Fix 2014-05-16 13:41:08 -04:00
Unknown b70db61854 Fix 2014-05-14 13:04:57 -04:00
Unknown e8dd480f10 Litte bug fix 2014-05-14 09:23:33 -04:00
Unknown 9100786beb Fix 2014-05-14 08:51:04 -04:00
Unknown a913aff1d0 Show collaborative repositories in dashboard 2014-05-12 15:14:22 -04:00
Unknown 54e95fa367 Finish add new milestone 2014-05-12 14:06:42 -04:00
Unknown 98eeec4cbb Fix 2014-05-11 14:03:51 -04:00
Unknown e867283406 Assignee back end 2014-05-08 12:24:11 -04:00
Unknown 23a857d107 Add repo info to web hook post 2014-05-08 08:18:03 -04:00
Unknown 7d89e765ab Bug fix 2014-05-07 18:57:00 -04:00
Unknown 31fd45ba02 Bug fix 2014-05-07 17:38:03 -04:00
Unknown abd8c2a7ca Bug fix 2014-05-07 17:37:09 -04:00
Unknown e05b1385fb Bug fix 2014-05-07 17:23:02 -04:00
Unknown 8b6766ecbe Bug fix 2014-05-07 17:10:46 -04:00
Unknown 33d32585b1 Add mention, read/unread support of issue tracker 2014-05-07 16:51:14 -04:00
Unknown 7407f9caf3 Finish issue design 2014-05-07 12:09:30 -04:00
Unknown 94bccbb148 Finish edit and remove web hook 2014-05-05 21:36:08 -04:00
Unknown 7b60756f2c Fix Collaborators cannot commit 2014-05-03 01:37:49 -04:00
Unknown 75109bbd65 Fix panic when no master branch 2014-05-01 12:03:10 -04:00
Unknown f6c4fbeb37 Collaborator 2014-05-01 11:32:12 -04:00
Unknown 480a4ae8c5 Fix 2014-05-01 09:00:30 -04:00
Unknown 62d23e9154 HTTP no follow and offline mode 2014-04-27 01:05:13 -06:00
Unknown 1badb2bbcc Fix 2014-04-26 19:06:59 -06:00
Unknown 8bc502a1ea New err check style 2014-04-22 22:34:49 -04:00
Unknown 0e41726ece API change 2014-04-19 06:15:47 -04:00
Unknown eda3f8b3b3 Mirror updates 2014-04-19 06:00:08 -04:00
Unknown c36e7d322e Mirror updates 2014-04-14 04:11:33 -04:00
Unknown d2b53dd43b Add weibo oauth 2014-04-13 21:00:12 -04:00
Unknown 4b9b8024ba Clean oauth code 2014-04-13 18:12:07 -04:00
Unknown d26a333dfb go get 2014-04-13 04:08:25 -04:00
Unknown c9a1eb4789 Able to change mirror interval now 2014-04-12 22:30:00 -04:00
Unknown 9ffa8a4083 finish mirror fix 2014-04-12 21:30:09 -04:00
Unknown 90f6aa8cd1 Add repo mirror and import 2014-04-12 20:35:35 -04:00
Unknown d305448fa8 Mirror bug fix 2014-04-11 23:52:08 -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 5d4025cb5a Add go get meta support 2014-04-09 21:42:25 -04:00
Unknown 115a349131 Fix 2014-04-08 12:41:33 -04:00
Unknown 22feddf804 Fix 2014-04-07 14:24:58 -04:00
Unknown e41ab839c7 Use session for rolling back 2014-04-04 18:55:17 -04:00
Unknown eb803ec5eb Add transfer repository 2014-04-04 18:31:09 -04: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 db66b8da72 Add release tmpl 2014-04-02 12:43:31 -04:00
Unknown d9005ee970 Improve issue mail content 2014-04-02 10:38:30 -04:00
Unknown 2a0066420a Fix bug work with sqlite3 2014-03-30 16:01:50 -04:00
Lunny Xiao af2129c254 bug fixed delete repo 2014-03-30 11:03:38 +08:00
Lunny Xiao cd800d7837 Merge branch 'master' of github.com:gogits/gogs 2014-03-30 10:19:36 +08:00
Lunny Xiao 50391f434e bug fixed 2014-03-30 10:18:36 +08:00
slene b27c34f39a update git api. fix link... and so on 2014-03-30 10:13:02 +08:00
Unknown 107a1eadac Finish close and reopen issue, install page, ready going to test stage of v0.2.0 2014-03-29 17:50:51 -04:00
Unknown 2c073afbec Mirror fix and update 2014-03-29 10:01:52 -04:00
Unknown 76b8642348 Bug fix 2014-03-28 09:06:48 -04:00
Unknown eb6021f73f Fix issue pages URL params 2014-03-27 19:42:10 -04:00
Unknown 34f4af9ebf Working on issue and install page 2014-03-27 16:31:32 -04:00
Unknown f76eb8a666 IP: RC Code Review 2014-03-27 15:24:11 -04:00
Unknown 3144fac03c IP: RC Code Review 2014-03-27 12:48:29 -04:00
Unknown f470c241d6 IP: RC Code Review 2014-03-27 11:37:33 -04:00
Unknown ce679cce52 Update Wiki 2014-03-27 07:26:03 -04:00
Unknown 32e05ae212 Fix issue: update hook text busy 2014-03-26 09:40:02 -04:00
Unknown 7ab94fe816 Fix issue on windows 2014-03-26 09:22:08 -04:00
Lunny Xiao 9dbc808c7b Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	models/repo.go
	modules/base/tool.go
	serve.go
2014-03-26 14:38:14 +08:00
Lunny Xiao f9024b3f43 fixed branch name 2014-03-26 14:14:48 +08:00
Unknown 87de66561c Start working on diff page 2014-03-25 23:53:01 -04:00
Unknown d3b8e9daa1 Add notify watcher action 2014-03-25 14:04:57 -04:00
Lunny Xiao d374b13d44 bug fixed 2014-03-26 00:19:18 +08:00
Lunny Xiao 29fe44da50 bug fixed 2014-03-26 00:12:31 +08:00
Lunny Xiao 9b509054cf bug fixed 2014-03-26 00:00:36 +08:00
Unknown 414ebe7553 Merge branch 'master' of github.com:gogits/gogs 2014-03-24 11:44:53 -04:00
Unknown 40b22822fc Update README 2014-03-24 11:44:47 -04:00
Lunny Xiao 0e28dcdac4 Merge branch 'master' of github.com:gogits/gogs 2014-03-24 22:30:50 +08:00
Lunny Xiao 48ea9b12f6 add log 2014-03-24 22:26:05 +08:00
Unknown ae92f92dee Locating issue 2014-03-24 09:01:25 -04:00
Unknown 59bbddb318 Mirror fix 2014-03-24 07:36:38 -04:00
Lunny Xiao 97e82a0ff6 bug fixed 2014-03-23 20:04:26 +08:00