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
3 years ago
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>
4 years ago
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
4 years ago
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
5 years ago
Lauris BH
32fc44aa83
Make time diff translatable ( #2057 )
8 years ago
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
8 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
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
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
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
373731f5e8
user gomail and new activate account email tpl
...
- #1496 : fallback plain text
- #1002 : add date header
- #913 : fix encoding of header
9 years ago
Mathieu Gagnon
3549fb0ea8
Remove APP_LOGO setting
10 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
10 years ago
Unknown
9924e65ca1
In progress of name template name constant
11 years ago
Unknown
688ec6ecbd
Fixed #209
11 years ago
Unknown
46af92c57e
Clean files
11 years ago
zhsso
a4cbe79567
fix
11 years ago
zhsso
f3ed11d177
mistakes
11 years ago
Unknown
d0e6a4c25a
Change new martini impot path
11 years ago
Unknown
9f9cd6bfc6
Work on admin
11 years ago
Unknown
35d473f04a
Finish verify email
11 years ago