Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli
d092b29641
More MixedCase consts
8 years ago
Sandro Santilli
8212aa70ba
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
91624c0e0e
Merge pull request #108 from go-gitea/go-sdk
Replaced gogits go-gogs-client with go-sdk
8 years ago
Thomas Boerger
a2f2fa9326
Replaced go-gogs-client with go-sdk imports
8 years ago
Thomas Boerger
54a9e8c1c4
Fixed links to sdk docs
8 years ago
Sandro Santilli
43349da21a
Replace GOGS with GITEA in variable names
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables
as a fallback if the equivalent GITEA_* are not set,
warning user about the need for change.
Does not change "gogs" to "gitea" in webhook type name
Because "gogs" hook type is part of the API (routes) and used
in templates...
Closes #87
8 years ago
Kim "BKC" Carlbäcker
a35f849f28
Add Pagination to Releases-page
8 years ago
Rachid Zarouali
991135448c
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
Disable HTTP cloning
8 years ago
Odin Ugedal
0f421c9602
Use the rev-parsed sha1 commit id ( #98 )
Use the rev-parsed sha1 commit id in urls to repo files,
instead of the abbreviated version.
8 years ago
Odin Ugedal
bf76e2a45b
Fix rendering of non-markdown readme files
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
Sandro Santilli
4fb2e00b31
Merge branch 'master' into feature/goimports
8 years ago
Andrey Nering
5243e1f5f9
Refactor editorconfig middleware
8 years ago
Matthias Loibl
929972fc8d
Fix imports found by goimports.
8 years ago
Andrey Nering
7f39af230a
Fix 500 when repo has invalid .editorconfig
Creating a notice instead
8 years ago
Thomas Boerger
423d7ae8fb
Executed go fmt for all files
8 years ago
Rémy Boulanouar
ee1663af58
Implementation of the feature to redirect to an external issue tracker
8 years ago
Andrey Nering
d709866a8a
Show issue/PR number on title
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Thibault Meyer
bcf2bfab4d
rename variable + fix wiki link
8 years ago
Thibault Meyer
5feedd10fb
Can disable GIT interactions by HTTP protocol
8 years ago
Unknwon
cdcb2c86c9
#3559 fix template error
8 years ago
无闻
0d8d37c099
Support Editorconfig on web editor ( #3512 )
8 years ago
Andrey Nering
9cb849359e
Support Editorconfig on web editor
8 years ago
Unknwon
ea214daebe
#2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
288bd17939
Web editor: support upload files
8 years ago
Unknwon
d322f48f44
router/repo: code refactoring
8 years ago
Unknwon
e4d1ae765f
#3459 code quality improvement
8 years ago
Thibault Meyer
9cc19873d7
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
Unknwon
f91166335e
Web editor: fix cannot create new file in subdirectory
8 years ago
Unknwon
78a0a9b504
#3516 enforce line ending to be \n from web editor
8 years ago
Unknwon
a408ce3ec2
Web editor: improve edit file
8 years ago
Unknwon
23a12b9711
Web editor: improve delete file process
8 years ago
Unknwon
525f2e91c0
Web editor: improve edit file tooltip
8 years ago
Unknwon
edc4bdf469
#2966 code cleanup
8 years ago
Unknwon
11540e5abe
Web editor: improve code quality
8 years ago
Unknwon
a0c3de4966
#3383 code cleanup
8 years ago
Unknwon
cc9a66db51
General code quality improvement
8 years ago
Unknwon
38c02e6ece
#2246 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
9 years ago
Unknwon
40375965c5
#3464 reproduce diff signs
9 years ago
Unknwon
e3b20a093b
models/repo_editor: improve code quality
9 years ago
Unknwon
ca313c82d3
models/issue: improve quality and performance of NewIssue function
9 years ago
Unknwon
1bd27947e0
markdown: fix treating pure number as SHA1
- Detect non-exist commit and return 404 not 500
9 years ago
Unknwon
e1ad5ebcf7
#3466 fix response of pull request form validation error
9 years ago
Unknwon
559cbcdc6f
Fix empty repository panic on send test webhook
9 years ago
Unknwon
e390f92900
Fix outdated edit can’t overwrite changes
9 years ago
Unknwon
20b9702fb4
Web editor: temporarily disable upload and quick fix for edit and new
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
9 years ago
Unknwon
2f5b0be839
Web editor: improve delete file
9 years ago
Unknwon
0c19e1f0ec
Web editor: improve edit file and diff preview
9 years ago