Unknwon
96ae0129ef
models/repo: minor code style and comment fix ( #4273 )
8 years ago
Rob Richards
aaadc61ee8
models/repo: allow SearchRepos to return private but accessible repositories ( #4273 )
...
* models/repo.go SearchRepositoryByName()
Updated function to return public and private repositories that the logged in user has been given rights to view
issue #3088
* models/repo.go SearchRepositoryName
changed repository table alias to 'repo'
removed debug line
* models/repo.go SearchRepositoryByName
modified UserID search query to use the "access" table instead of team_repo, team_user etc
* models/repo.go SearchRepositoryByName
1) uppercased SQL keywords
2) removed alias for ACCESS table
8 years ago
Unknwon
bb19bb601e
repo: able to view size ( #1158 )
8 years ago
Unknwon
05dbd3f7d7
refactoring: experimental with models/errors package
8 years ago
Unknwon
b06f299748
webhook: add fork event
8 years ago
Unknwon
70072e2842
dashboard: add delete branch and tag news feeds
8 years ago
Unknwon
87f0ce793d
repo: able to perform initial commit on behave of actual user
8 years ago
Unknwon
cd15a17970
models/repo: delete protect branch options when delete repository
8 years ago
Unknwon
6072e9a52c
repo: add protect branch whitelist ( #4177 )
...
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
8 years ago
Unknwon
b78e03934d
models/access: hasAccess only need userID not user object
8 years ago
Unknwon
d21dc0da78
migrate: fix unexpected removal of repository when wiki is detected
8 years ago
Unknwon
c5b85f2733
models/repo: fix repository files weren't cleaned up ( #4167 )
8 years ago
Unknwon
7de71333c6
repo: several minor improvements
...
1. Fix sample content didn't show up when hook doesn't exist.
2. Fix CSS 'word-break' to use 'break-word' not 'break-all'.
3. Fix single quote in 'locale_en-US.ini' file.
8 years ago
Unknwon
40fbe7fa8e
models/repo: handle deletion on Windows ( #4152 )
8 years ago
Unknwon
0a2f87f941
cron: add repository archive cleanup ( #4061 )
8 years ago
Unknwon
266586e866
repo: assignee can be anyone who has read access ( #3739 )
8 years ago
Unknwon
7e09d210ba
Initial version of protected branches ( #776 )
...
- Able to restrict force push and deletion
- Able to restrict direct push
8 years ago
Unknwon
88143f1934
models/repo: UpdateLocalCopy should always aceept valid branch name
8 years ago
Unknwon
f35bd34002
models/repo: use reset --hard to align with remote branch ( #4123 )
...
If user has force pushed to a branch, git pull will fail.
8 years ago
Unknwon
6132a82287
admin: sync wiki's hook files as well
8 years ago
Unknwon
039dc33367
git: delegate all server-side Git hooks ( #1623 )
8 years ago
Christian Höppner
859009259a
Typo in LocalCopyPath ( #4122 )
...
This won't fix any bugs, but a typo is a typo.
8 years ago
Unknwon
f4aedda13a
org/team: make 'new' as reserved for team name ( #3789 )
8 years ago
Unknwon
9b72661767
config: show Git version in admin panel
8 years ago
Unknwon
ee59016585
wiki: clean up broken data if migration failed ( #3792 )
8 years ago
Unknwon
1863f38286
models/repo: fix SQLite3 database-lock when fail to delete repository ( #4048 )
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Unknwon
f7c11a27d0
models/repo: clean up repository local copy after rename ( #3641 )
8 years ago
Rémy Boulanouar
be3a13a0d6
Allow use to set an external tracker url and to redirect user when clicking in Issues same behavior as Wiki. ( #3646 )
8 years ago
Unknwon
d293aa9ced
Do a fast-fail testing on repository URL before mirroring
...
To ensure the URL is accessible under good condition to prevent
long blocking on URL resolution without syncing anything.
8 years ago
Unknwon
8059175a5c
Fix dashboard issues/pull request counting
8 years ago
Unknwon
d528704503
Minor code fix for PR #3560
8 years ago
Unknwon
42a3bbb0f4
Fetch before Checkout when create pull request ( #3699 )
8 years ago
Unknwon
6da55159a2
#3589 LoadRepoConfig after ORM is initialized
8 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
43297148b2
modules/sync: rename SingleInstancePool to ExclusivePool
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Thibault Meyer
92fb30c526
Load a set of predefined labels ( #3459 )
...
* Can use a predefined set of labels
* Change UI
* Fix HTML file indentation
* Avoid reading file from other directory (security issue)
* Apply a better fix
* Remove not used variable
* Merge upstream/develop
* Do modifications
* Raname
* remove binding + rename variable
8 years ago
LFlare
3738b6399e
Fixed typo ( #3533 )
...
Git convention has it capitalised.
8 years ago
Unknwon
579e5e4fee
Web editor: disallow edit mirror repository
8 years ago
Unknwon
dad5c15520
#2901 allow setting preferred licenses
...
- Closes #3488
8 years ago
Unknwon
c30b856d14
#3505 use user’s info for committer and author
8 years ago
Unknwon
ce1e4348da
#3521 fix wiki HTTP/S clone URL does not have .wiki suffix
8 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
8 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
8 years ago
Unknwon
a00c932bbc
General code quality improvement
8 years ago
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
8 years ago
Unknwon
2625193a48
models/repo_editor: improve code quality
8 years ago
Unknwon
f3c3258921
Fix repository owner can assign self
8 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
8 years ago