Kim Carlbäcker
a60155f637
[Fix] Don't display way too large files #1513 ( #3253 )
* Add MaxDisplayFileSize setting
* Don't show files that are too large
* Localized FileTooLarge
* Change IsFileTooBig => IsFileTooLarge
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
Unknwon
7270678853
#3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
9 years ago
Unknwon
9877453b1c
Do not show filename not have suffifx .md
9 years ago
Andrey Nering
cdc7a8c613
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
9 years ago
Franz Schmidt
602d1f4200
Fixes #3110 ( #3136 )
9 years ago
Unknwon
f28a20be20
Minor fix for #3194
- Update locale bindata
9 years ago
Sandro Santilli
dac2b841ef
Include repository owner name and description in html title ( #3194 )
Closes #3192
9 years ago
Unknwon
c602044c8e
repo/http: clean code
9 years ago
Kim Carlbäcker
346d734eff
PDF-Previews in file-lists now working ( #3000 )
9 years ago
Thomas Boerger
dd29e46802
Made the issue stats query more secure with parameterized placeholders ( #2895 )
9 years ago
Cosmin Stroe
561a81df44
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
9 years ago
Tamás Molnár
630c23b750
Set utf-8 charset for text files when serving raw content ( #2898 )
9 years ago
Unknwon
019cd8b3db
#2842 add quotes to attachment file name
9 years ago
Unknwon
b77b57dec2
Add route for #2846
9 years ago
Unknwon
5b25440502
#1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
574a4d69e8
Rename module: middleware -> context
9 years ago
Marin Jankovski
cd97a3e8a9
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
9 years ago
Unknwon
f925c24186
Fix pull request availability check
9 years ago
Unknwon
10d7cf61bd
Remove duplicated of code
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
c9812bcb3e
#1597 fix premission logic check of pull request
9 years ago
Unknwon
3d87381ce4
#1597 support pull requests in same repository
9 years ago
Unknwon
c6e46255cb
Minor fixes for #2746
9 years ago
Josh Frye
86919d05cb
Add ability to delete single wiki pages.
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
dd27059a62
Merge pull request #2694 from mhartkorn/pullrefs
Improved Pull Request refs
9 years ago
Unknwon
78c263351c
#2697 fix panic when close issue via commit message
9 years ago
Martin Hartkorn
b65249c7c5
Call PushToBaseRepo() also on Pull Request creation and not only on git push
9 years ago
Unknwon
559a1282ed
#1821 add actions for close and reopen issues
9 years ago
Unknwon
d398777e08
Make markdown as an independent module
9 years ago
Unknwon
a16ec44cf5
Fix #857
9 years ago
Unknwon
beaaf5b8f2
Merge pull request #2647 from andreynering/issue-template
Implement issue and pull request templates
9 years ago
Unknwon
6dc21aa0a0
Merge pull request #2663 from Download-Fritz/MirrorForks
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Download-Fritz
b02d150b6a
Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls().
9 years ago
Download-Fritz
c8d4d1bd2e
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Andrey Nering
602ef9ba5f
Implement issue and pull request templates.
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates
Priority:
- root
- .gogs
- .github
9 years ago
Unknwon
665db06fbe
#2650 fix possbility that use email as pusher user name
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
9 years ago
Unknwon
1464e1dee0
#2639 add branch prefix for test webhook
9 years ago
Unknwon
88484a73ec
#2630 fix wrong user avatar link in webhook
Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
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
40893bfe20
Merge pull request #2599 from mhartkorn/fix-release-error-deleted-user
Fix for server error on release page when a user deleted their account
9 years ago
Martin Hartkorn
727beb7d72
Removed HTTP 500 error on the release page when a user deleted their account
9 years ago
Unknwon
3be6173192
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
Enable syntax highlighting on diff view
9 years ago