Lunny Xiao
a666829a37
Move user related model into models/user (#17781)
* Move user related model into models/user
* Fix lint for windows
* Fix windows lint
* Fix windows lint
* Move some tests in models
* Merge
il y a 2 ans
Lunny Xiao
1bfb0a24d8
Refactor routers directory (#15800)
* refactor routers directory
* move func used for web and api to common
* make corsHandler a function to prohibit side efects
* rm unused func
Co-authored-by: 6543 <6543@obermui.de>
il y a 3 ans
6543
16dea6cebd
[refactor] replace int with httpStatusCodes (#15282)
* replace "200" (int) with "http.StatusOK" (const)
* ctx.Error & ctx.HTML
* ctx.JSON Part1
* ctx.JSON Part2
* ctx.JSON Part3
il y a 3 ans
Lunny Xiao
85202d4784
Display ui time with customize time location (#7792)
* display ui time with customize time location
* fix lint
* rename UILocation to DefaultUILocation
* move time related functions to modules/timeutil
* fix tests
* fix tests
* fix build
* fix swagger
il y a 4 ans
Lauris BH
32fc44aa83
Make time diff translatable (#2057)
il y a 7 ans
Jonas Östanbäck
b93568cce4
xxx_active_code_live setting in printed in hours and minutes instead … (#1814)
* xxx_active_code_live setting in printed in hours and minutes instead of just hours
* Update app.ini description of xxx_code_lives settings
il y a 7 ans
Lunny Xiao
94da472717
Golint fixed for modules/setting (#262)
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
il y a 7 ans
Lunny Xiao
cf045b029c
golint fixed for parts of routers root, dev, user and org dirs (#167)
* golint fixed for parts of routers root, dev and org dirs
* add user/auth.go golint fixed
* rename unnecessary exported to unexported and user dir golint fixed
il y a 7 ans
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
il y a 7 ans
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs (#37)
il y a 7 ans
Unknwon
514382e2eb
Rename module: middleware -> context
il y a 8 ans
Unknwon
373731f5e8
user gomail and new activate account email tpl
- #1496 : fallback plain text
- #1002 : add date header
- #913 : fix encoding of header
il y a 8 ans
Mathieu Gagnon
3549fb0ea8
Remove APP_LOGO setting
il y a 9 ans
Unknwon
8dd07c0ddd
New UI merge in progress
il y a 10 ans
Unknown
9924e65ca1
In progress of name template name constant
il y a 10 ans
Unknown
688ec6ecbd
Fixed #209
il y a 10 ans
Unknown
46af92c57e
Clean files
il y a 10 ans
zhsso
a4cbe79567
fix
il y a 10 ans
zhsso
f3ed11d177
mistakes
il y a 10 ans
Unknown
d0e6a4c25a
Change new martini impot path
il y a 10 ans
Unknown
9f9cd6bfc6
Work on admin
il y a 10 ans
Unknown
35d473f04a
Finish verify email
il y a 10 ans