172 Commits (4e566df1c694e47908e59a6db163e5a98d144b83)

Author SHA1 Message Date
Lunny Xiao be5738243c fix repo settings external tracker failed and check external urls (#1215) 7 years ago
Denis Denisov fd941db246 Protected branches system (#339)
* Protected branches system

* Moved default branch to branches section (`:org/:reponame/settings/branches`).
* Initial support Protected Branch.
  - Admin does not restrict
  - Owner not to limit
  - To write permission restrictions

* reformat tmpl

* finished the UI and add/delete protected branch response

* remove unused comment

* indent all the template files and remove ru translations since we use crowdin

* fix the push bug
7 years ago
Ethan Koenig 027591a3a5 Redirects for renamed repos (#807)
* Redirects for renamed repos

* Remove unused phrase from locales
8 years ago
Lunny Xiao 8a421b1fd7 Add units concept for modulable functions of a repository (#742)
* Add units concept for modulable functions of a repository

* remove unused comment codes & fix lints and tests

* remove unused comment codes

* use struct config instead of map

* fix lint

* rm wrong files

* fix tests
8 years ago
Bwko a4ece1f223 Fixes typos 8 years ago
Lunny Xiao 94da472717 Golint fixed for modules/setting (#262)
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao 3917ed45de golint fixed for routers (#208) 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Sandro Santilli 864d1b1f9f Fix type in unused constant name (#111)
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase

* Fix type in unused constant name

* Other MixCased fixes

* Complete MixerCasing of template constants

* Re uppercase LTS and LDAPS suffixes

* Uppercase JSON suffix in constant names

* Proper case LoginNoType

* Prefix unexported template path constants with "tpl"
8 years ago
Sandro Santilli 0b62aeb495 More MixedCase consts 8 years ago
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git (#94)
* Replace gogits/git-module dependency with go-gitea/git

Fixes #92

* Remove git alias for git module import (not needed)
8 years ago
Rémy Boulanouar 8dc49dc114 Implementation of the feature to redirect to an external issue tracker 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon 8516dfcb6c #2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Andrew 0885784f13 Wiki mirroring implementation (#3233)
* Implement wiki mirroring, add Update mirrors operation to admin dashboard

* bindata.go update after merge

* Implement checking Git repo endpoint existence, support for BB included

* Remove admin dashboard operation
Fix bindata.go

* Apply gofmt to repo model file

* Try to remove bindata from PR

* Revert accepted wiki names change in favor of better system

* Remove unused imports
8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
lstahlman 25b3836418 Refresh repository mirror from database when the repository's name has changed. (#3276) 8 years ago
Unknwon f1b8d52eb3 #2854 fix no mail notification when issue is closed/reopened 8 years ago
Unknwon 7ca5f8f119 models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
8 years ago
Pablo Saavedra 98b152030d The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true (#3246)
Executed go fmt

getEngine() not handles DB parameters (#2972) (#2974)

Uses .AllCols() for Update in updateMirror()

Spanish traslation removed

Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
8 years ago
Cosmin Stroe ba314a7a36 Support alphanumeric issue style (ABC-1234) for external issue tracker (#2992) 8 years ago
Unknwon 514382e2eb Rename module: middleware -> context 8 years ago
Unknwon a5b0400be7 #1146 finish new access rights for collaborators 8 years ago
Unknwon 045f14fbd0 #1146 finsih UI work for access mode of collaborators
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
8 years ago
Unknwon 260723e2cc Minor fixes for #2745 8 years ago
Josh Frye f3358f5927 Repo setting to delete and disable wiki 8 years ago
Unknwon 7140dbac95 Fix #857 8 years ago
Unknwon 632c27802c Minor fix for #2624 9 years ago
Martin Hartkorn bb595666ac Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database 9 years ago
Martin Hartkorn 15d37b7a95 Refactored according to suggestions 9 years ago
Martin Hartkorn 15394f613f Add missing safety check 9 years ago
Martin Hartkorn 3650bd8528 Convert mirrors to regular repositories. 9 years ago
Unknwon 8d58e06ad8 more fix on #2268 9 years ago
Unknwon 19423957b1 rename import path 9 years ago
Unknwon 40f3142264 #2114 External URL for wiki 9 years ago
Unknwon 9a2e43bff2 move out git module and #1573 send push hook 9 years ago
Unknwon 120cd4e471 #1984 Better mirror repo management 9 years ago
Unknwon ca8ce793d1 #2063 Ability to delete repo from admin panel 9 years ago
Unknwon 404867f206 fix #2105 and fix #1857 9 years ago
Unknwon e538ff2770 fix #1829 and fix #890 9 years ago
Unknwon 4d9499c2d3 fix broken link 9 years ago
Unknwon cc8f5add6e fix #976 9 years ago
Unknwon f455125d4d fix #878 9 years ago
Unknwon 2c653141a8 #1742 Update default branch in git repository while change in web view 9 years ago
Unknwon 9a0902523b fix #1987 9 years ago
Unknwon 0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply 9 years ago
Unknwon 2729eb998c #1646 and other minor fixes 9 years ago
Unknwon 398569f6f8 #1021 Forked repo unavailable after deleting original repo 9 years ago
Unknwon 8af094967f #1377 add rename repo action 9 years ago
Unknwon cb381078ff finish new repo options page 9 years ago
Unknwon 55ddf225bb webhook APIs 9 years ago
Unknwon f509c59ac1 new create webhook event 9 years ago
Unknwon 70e0153b93 add highlight js 9 years ago
Unknwon 23f42d92c9 add webhook recent deliveries 9 years ago
Unknwon c08600c59b new edit webhook UI 9 years ago
Unknwon 4217c2333c new create webhook UI 9 years ago
Unknwon 2881456421 new webhooks list UI 9 years ago
Unknwon 1cb03135b7 new repo git hooks UI 9 years ago
Unknwon 062adbed8a add confirmation to delete ssh key 9 years ago
Unknwon dea3a8c6a4 WIP: create PR - choose branch 9 years ago
Unknwon 9db4acc62e improve fork process 9 years ago
Unknwon 3d0583df0f fix private repo cannot trigger hook by SSH 9 years ago
Unknwon 39a3b768bc #334: Add Deployment Key Support 9 years ago
Unknwon e50982f5ec allow anonymous SSH clone 9 years ago
Unknwon fa298a2c30 #835: Realtime webhooks 9 years ago
Unknwon ced212f8fa fix hidden bug on tpl rendering 9 years ago
Unknwon 698b9e2acc #1070 Clearer error message for illegal characters 9 years ago
Unknwon fc6db829b2 fix read access team visibility of private repo 9 years ago
Unknwon 18c0697329 routers/repo/setting.go: fix LDAP cannot validate password #1006 9 years ago
Unknwon 8896c82d34 models: fix issue with transfer repository
README: fix typo
9 years ago
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix 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 04164eada3 models: able to rename user with diff letter cases #981
- templates/org: mirror fix on name output
- routers: add missing error check
9 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 76f8904718 Introducing Collaboration Struct 10 years ago
Thomas Laroche e948c7c262 Fix #795 10 years ago
Unknwon ac4a10456e api: able to create repo and fix #726
- POST /user/repos
- POST /org/:org/repos
10 years ago
Unknwon 2f3a7e53cb fix #735 10 years ago
Unknwon 9dc3c93a6a #12, add/edit hook 10 years ago
Christopher Brickley 3794111460 update slack hook to use new format 10 years ago
Unknwon 41dbb4c148 Hide org member in collar page 10 years ago
Unknwon 64c68220d2 Fix #264 10 years ago
Unknwon a046a31d2b UI: Confirmation box 10 years ago
Unknwon ad52b2d791 Mirror fix on transfer repo 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 a596388ebf Add success message after transfer repository #481 10 years ago
Unknwon a2cac952a4 Prepare 0.5 release 10 years ago
Unknwon cfed11f092 Bug: Transfer repository doesn't update the count 10 years ago
Christopher Brickley f7be61c819 getOrgRepoCtx returns values directly & err 10 years ago
Christopher Brickley 85c35a6b8b add organization-level webhooks 10 years ago
Christopher Brickley 7269b06fd5 HookType is case-sensitive
Update webhook wasn’t showing up because of the wrong case
10 years ago
Christopher Brickley 2bce24068d add Slack API webhook support 10 years ago
Unknwon 9baf2b38d0 Bug fix on organization 10 years ago
Unknwon 21a1b8e5a3 Finish new edit team page, add member to team 10 years ago
Unknwon 9a1d5d2489 Finish new web hook pages 10 years ago
Unknwon 9820b8e134 Finish new hooks list page 10 years ago
Unknwon e8c9bb2c66 Finish new collaboration page 10 years ago
Unknwon 755eec745f Finish new repo settings page 10 years ago
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 10 years ago