Thibault Meyer
ddee4c8b58
Normalize files with gofmt
8 years ago
Sandro Santilli
a1c5f02444
Fix import path of go-sdk ( #141 )
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
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
Flare
01c5233b53
Fixed 404 caused by unexpected question mark
This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
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
aadd7dcdc3
And others
8 years ago
Sandro Santilli
64196d4036
More overlooks
8 years ago
Sandro Santilli
60c82a8780
More...
8 years ago
Sandro Santilli
f6a11e0de1
More MixedCase consts
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli
0b62aeb495
More MixedCase consts
8 years ago
Sandro Santilli
80eea77953
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
8 years ago
Thomas Boerger
77f9c7e571
Fixed links to sdk docs
8 years ago
Sandro Santilli
b7263f31a5
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
86fb1a0cb1
Add Pagination to Releases-page
8 years ago
Odin Ugedal
5a6f7edde9
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
530f6c1da4
Fix rendering of non-markdown readme files
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
Andrey Nering
bd898a10f8
Refactor editorconfig middleware
8 years ago
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
8 years ago
Andrey Nering
984fa8d83b
Fix 500 when repo has invalid .editorconfig
Creating a notice instead
8 years ago
Thomas Boerger
e05a5ca36c
Executed go fmt for all files
8 years ago
Rémy Boulanouar
8dc49dc114
Implementation of the feature to redirect to an external issue tracker
8 years ago
Andrey Nering
87b593f93e
Show issue/PR number on title
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Thibault Meyer
93f1eabe30
rename variable + fix wiki link
8 years ago
Thibault Meyer
9d66497abc
Can disable GIT interactions by HTTP protocol
8 years ago
Unknwon
dadd35b636
#3559 fix template error
8 years ago
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
8 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Unknwon
780cc2d110
router/repo: code refactoring
8 years ago
Unknwon
28cf0e6aaa
#3459 code quality improvement
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
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
8 years ago
Unknwon
429c92c0ce
#3516 enforce line ending to be \n from web editor
8 years ago
Unknwon
ba27d71abe
Web editor: improve edit file
8 years ago
Unknwon
0114fdcba4
Web editor: improve delete file process
8 years ago
Unknwon
6e171c5225
Web editor: improve edit file tooltip
8 years ago
Unknwon
6b98d58906
#2966 code cleanup
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
6cda35a75f
#3464 reproduce diff signs
8 years ago
Unknwon
2625193a48
models/repo_editor: improve code quality
8 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
8 years ago
Unknwon
4a46613916
markdown: fix treating pure number as SHA1
- Detect non-exist commit and return 404 not 500
8 years ago
Unknwon
61e27dedf7
#3466 fix response of pull request form validation error
8 years ago