Denis Denisov
56fc9cf7d3
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
8 years ago
Ethan Koenig
19ad4b31b5
Redirects for renamed repos ( #807 )
* Redirects for renamed repos
* Remove unused phrase from locales
8 years ago
Lunny Xiao
9effd446fd
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
fcde7de425
Fixes typos
8 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
e134836804
golint fixed for routers ( #208 )
8 years ago
Sandro Santilli
cb1b3cc148
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
f5ceddc42d
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
d092b29641
More MixedCase consts
8 years ago
Sandro Santilli
3c9693defb
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
ee1663af58
Implementation of the feature to redirect to an external issue tracker
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
ea214daebe
#2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Andrew
1b58a11a1c
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
9 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
lstahlman
b47159c4a4
Refresh repository mirror from database when the repository's name has changed. ( #3276 )
9 years ago
Unknwon
7b4e810eb5
#2854 fix no mail notification when issue is closed/reopened
9 years ago
Unknwon
bc2448daaa
models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
9 years ago
Pablo Saavedra
5a99c23938
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
9 years ago
Cosmin Stroe
561a81df44
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
9 years ago
Unknwon
574a4d69e8
Rename module: middleware -> context
9 years ago
Unknwon
2e4c412e20
#1146 finish new access rights for collaborators
9 years ago
Unknwon
ad91428936
#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.
9 years ago
Unknwon
22599912df
Minor fixes for #2745
9 years ago
Josh Frye
18bac095c0
Repo setting to delete and disable wiki
9 years ago
Unknwon
a16ec44cf5
Fix #857
9 years ago
Unknwon
04d7b393ab
Minor fix for #2624
9 years ago
Martin Hartkorn
9580a21d42
Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
9 years ago
Martin Hartkorn
d07e6233a3
Refactored according to suggestions
9 years ago
Martin Hartkorn
ebf9a7aa50
Add missing safety check
9 years ago
Martin Hartkorn
42b1b57e94
Convert mirrors to regular repositories.
9 years ago
Unknwon
f0939809c4
more fix on #2268
9 years ago
Unknwon
8ac9d9b4c7
rename import path
9 years ago
Unknwon
ce054072fa
#2114 External URL for wiki
9 years ago
Unknwon
7c3baef786
move out git module and #1573 send push hook
9 years ago
Unknwon
ab55ca457f
#1984 Better mirror repo management
9 years ago
Unknwon
ad998a52b9
#2063 Ability to delete repo from admin panel
9 years ago
Unknwon
442f027ad1
fix #2105 and fix #1857
9 years ago
Unknwon
caac2f9b19
fix #1829 and fix #890
9 years ago
Unknwon
877f9c2ef2
fix broken link
9 years ago
Unknwon
316ca2d3e4
fix #976
9 years ago
Unknwon
3b28aed7f2
fix #878
9 years ago
Unknwon
bfcd3d036f
#1742 Update default branch in git repository while change in web view
9 years ago
Unknwon
f50ce33d9b
fix #1987
9 years ago
Unknwon
d4ffa64a15
New push to head repo of head branch: regenerate patch and retest apply
9 years ago
Unknwon
71445511dc
#1646 and other minor fixes
9 years ago
Unknwon
3a0c2096ac
#1021 Forked repo unavailable after deleting original repo
9 years ago
Unknwon
27b337a78d
#1377 add rename repo action
9 years ago
Unknwon
c4a608c0b9
finish new repo options page
9 years ago
Unknwon
96dbec41f7
webhook APIs
9 years ago