Thomas Boerger
9301aef192
Get rid of bin folder within makefile, enabled TiDB ( #319 )
* Get rid of the bin folder within the build process
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped latest make task, it is unused
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Added tidb tag to drone config
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped the cert build tag
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped useless minwinsvc build tag
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped the useless build tags from drone config
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
9 years ago
Bwko
7d36a1293c
Fixes xss, clickjacking & password autocompletion
9 years ago
Thomas Boerger
6c09e5368f
Integrate public as bindata optionally ( #293 )
* Dropped unused codekit config
* Integrated dynamic and static bindata for public
* Ignore public bindata
* Add a general generate make task
* Integrated flexible public assets into web command
* Updated vendoring, added all missiong govendor deps
* Made the linter happy with the bindata and dynamic code
* Moved public bindata definition to modules directory
* Ignoring the new bindata path now
* Updated to the new public modules import path
* Updated public bindata command and drop the new prefix
9 years ago
Thomas Boerger
f2c880c868
Updated bindata to latest version
9 years ago
Lunny Xiao
e685609ea2
golint fixed for modules/auth
9 years ago
Thomas Boerger
6b9a3603ef
Merge pull request #269 from lunny/lunny/golint_modules_log
Golint fixed for modules/log
9 years ago
Mura Li
c9a3ae0e26
modules/process: add ExecDirEnv (next to ExecDir)
Add a sibling to ExecDir which is capable of specifying environment variables,
so that we can invoke `git` with GIT_INDEX_FILE, GIT_DIR, etc..
For #258
9 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
9 years ago
Lunny Xiao
c6b2ea04b0
golint fixed for modules/log
9 years ago
Thomas Boerger
09832077af
Merge pull request #246 from Bwko/fix/typo
Fix typos
9 years ago
Thomas Boerger
edc1cd015a
Merge pull request #254 from lunny/lunny/golint_modules_context
Golint fixed for modules/context
9 years ago
Thomas Boerger
01c4b3f300
Merge pull request #256 from lunny/lunny/golint_modules_avatar
Golint fixed for modules/avatar
9 years ago
Thomas Boerger
e11b1700dd
Merge pull request #255 from lunny/lunny/golint_modules_cron
Golint fixed for modules/cron
9 years ago
Thomas Boerger
e349e3d391
Merge pull request #252 from lunny/lunny/golint_fixed_modules_httplib
Golint fixed for modules/httplib
9 years ago
Thomas Boerger
d2eda07a5f
Merge pull request #251 from lunny/lunny/golint_modules_template
Golint fixed for modules/template
9 years ago
Thomas Boerger
84ff61cf53
Merge pull request #250 from lunny/lunny/golint_modules_markdown
Golint fixed for modules/markdown
9 years ago
Lunny Xiao
c4c5349dac
golint fixed for modules/avatar
9 years ago
Lunny Xiao
a2e6634522
golint fixed for modules/cron
9 years ago
Lunny Xiao
f677c76805
fixed test build error
9 years ago
Lunny Xiao
86a328cf36
Golint fixed for modules/context
9 years ago
Lunny Xiao
1662545b9a
Golint fixed for modules/httplib
9 years ago
Lunny Xiao
93101d7a6c
Golint fixed for modules/template
9 years ago
Lunny Xiao
6e99af0968
golint fixed for modules/markdown
9 years ago
Lunny Xiao
bc6359a917
Golint fixed for modules/mailer
9 years ago
Thomas Boerger
94221defb9
Merge pull request #235 from lunny/lunny/golint_modules_user
golint fixed for modules/user
9 years ago
Thomas Boerger
237c3591e3
Merge pull request #231 from lunny/lunny/golint_modules_base
golint fixed for modules/base
9 years ago
Lunny Xiao
8fa2001d20
golint fixed for modules/user
9 years ago
Sandro Santilli
80cebca201
Lint and document manager api
9 years ago
Lunny Xiao
9a660e39a7
golint fixed for modules/base
9 years ago
Bwko
48e67ebba3
Fix typos
9 years ago
Ethan Koenig
4503176480
API endpoints for stars
9 years ago
Bo-Yi Wu
f895b6eabd
fix variable assigned and not used.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
9 years ago
Thibault Meyer
6ef997ca64
Normalize files with gofmt
9 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
9 years ago
Lunny Xiao
68d5ee45d5
Merge pull request #121 from joubertredrat/feature-last-login
Last Login for admin manage your users
9 years ago
Joubert RedRat
b3890d6acd
Support to last login feature
9 years ago
Matthias Loibl
7db899faaf
Merge pull request #17 from LefsFlarey/issue/3666
Fixed 404 caused by unexpected question mark
9 years ago
Flare
922a19e2d2
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
10 years ago
Matthias Loibl
fe69658651
Add test for IsTextFile()
9 years ago
Matthias Loibl
409b942687
Make long godoc comment 2 lines
9 years ago
Matthias Loibl
b3d3172863
Add test for IsLetter()
9 years ago
Matthias Loibl
573da4204c
Add test for Int64sToMap()
9 years ago
Matthias Loibl
92baf795af
Add tests for StringsToInt64s() & Int64sToStrings()
9 years ago
Matthias Loibl
38d6f53a3d
Add tests for TruncateString()
9 years ago
Matthias Loibl
c5c3ef46b7
Use TruncateString(sha1,10) in ShortSha and deprecate it.
9 years ago
Matthias Loibl
47941f01a1
Add tests for EllipsisString() and fix bug if param length < 3
9 years ago
Matthias Loibl
8834f9dd90
Test AvatarLink and refactor with tests passing
9 years ago
Matthias Loibl
5bbea06803
Use testify/assert for all tests in tool_test.go
9 years ago
Matthias Loibl
8f027370f5
Add unit test for base.FileSize()
9 years ago
Matthias Loibl
019ca2b0ae
Start to add tests for modules/base/tool
9 years ago