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>
2021-06-09 01:33:54 +02:00
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
2021-04-05 11:30:52 -04:00
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
2019-08-15 22:46:21 +08:00
Lauris BH
32fc44aa83
Make time diff translatable ( #2057 )
2017-06-28 13:43:28 +08:00
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
2017-05-29 02:35:47 -05:00
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
2016-11-27 18:14:25 +08:00
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
2016-11-18 11:03:03 +08:00
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
2016-11-10 17:24:48 +01:00
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
2016-11-03 10:29:56 -02:00
Unknwon
514382e2eb
Rename module: middleware -> context
2016-03-11 11:56:52 -05:00
Unknwon
373731f5e8
user gomail and new activate account email tpl
...
- #1496 : fallback plain text
- #1002 : add date header
- #913 : fix encoding of header
2015-09-17 01:54:12 -04:00
Mathieu Gagnon
3549fb0ea8
Remove APP_LOGO setting
2014-09-13 03:52:51 -04:00
Unknwon
8dd07c0ddd
New UI merge in progress
2014-07-26 00:24:27 -04:00
Unknown
9924e65ca1
In progress of name template name constant
2014-06-22 13:14:03 -04:00
Unknown
688ec6ecbd
Fixed #209
2014-05-25 20:11:25 -04:00
Unknown
46af92c57e
Clean files
2014-05-01 06:55:39 -04:00
Unknown
d0e6a4c25a
Change new martini impot path
2014-03-30 12:11:28 -04:00
Unknown
9f9cd6bfc6
Work on admin
2014-03-20 07:50:26 -04:00
Unknown
35d473f04a
Finish verify email
2014-03-19 12:50:44 -04:00