ᴜɴᴋɴᴡᴏɴ
5efbde4fe9
conf: overhaul database settings
2020-02-22 18:58:16 +08:00
ᴜɴᴋɴᴡᴏɴ
c4a0a40473
conf: overhaul repository settings ( #5932 )
2020-02-22 15:22:32 +08:00
ᴜɴᴋɴᴡᴏɴ
5282699f19
admin/config: show all server and SSH options
2020-02-22 11:40:23 +08:00
ᴜɴᴋɴᴡᴏɴ
648d9e253c
conf: overhaul server settings ( #5928 )
...
* conf: rename package
* Requires Go 1.12
* Fix lint
* Fix lint
* Overhaul
* db: fix tests
* Save my work
* Fix tests
* Server.UnixSocketPermission
* Server.LocalRootURL
* SSH settings
* Server.OfflineMode
* Save my work
* App.Version
* Remove [server] STATIC_ROOT_PATH
* Server.LandingURL
2020-02-22 09:05:26 +08:00
ᴜɴᴋɴᴡᴏɴ
2e819a360c
build: rename build tag miniwinsvc -> minwinsvc
...
This was in fact a typo.
2020-02-20 16:33:03 +08:00
ᴜɴᴋɴᴡᴏɴ
1c09373b4f
log: migrate to unknwon.dev/clog/v2 ( #5927 )
...
* Add unknwon.dev/clog/v2
* Update all places
2020-02-20 02:25:02 +08:00
ᴜɴᴋɴᴡᴏɴ
ce1ec81d6f
repo/editor: clean up tree path
...
Fixes a security issue reported by @zeripath.
2020-02-19 23:45:02 +08:00
ᴜɴᴋɴᴡᴏɴ
e82c96dab1
log: use trace level for some logs
2020-02-19 17:33:45 +08:00
ᴜɴᴋɴᴡᴏɴ
ea75f01ba2
admin: show all version in dashboard
...
And removed version info from footer.
2020-02-19 17:32:56 +08:00
Michael Li
4d83fd4238
Use go-bindata to embed `public` and `templates` files into binary ( #5920 )
...
* fixed private repositories are hidden in the organization's view
* use go-bindata integrate public and templates files to gogs binary
* optimize Dockerfile don't COPY public and templates files
* use kevinburke's go-bindata to generate assets code
* reset develepment as default run mode in configure file
* optimize generated assets code relayout and help function
* fixed code format
* Update conf/app.ini
* assets: add LICENSE headers
* Some housekeeping
* assets/public: simplify code logic
* assets/templates: simplify code logic
* cmd/web: more concise variable names
* Minor changes
* Add custom public and templates support back
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-02-17 22:48:24 +08:00
ᴜɴᴋɴᴡᴏɴ
b28fb90851
all: use lazyregexp ( #5911 )
...
* Use lazyregexp
* all: fix imports and usages
2020-01-29 19:36:57 +08:00
ivan
a0342d9527
repo: able fill pull request title by template from md file ( #5901 )
...
* able fill pull request title by template from md file
* fix: unusedresult: result of fmt.Sprintf call not used (from govet)
* fix: remove import fmt -> not used
* after review / PullRequestTitleTemplateCandidates moved to after line 39
* Update pull.go
* Update pull.go
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-01-29 16:28:59 +08:00
ᴜɴᴋɴᴡᴏɴ
2f4cc5480e
api/misc/markdown: remove Mode option ( #5910 )
...
We already have a separate `/markdown/raw` API, remove redundant functionality here.
2020-01-29 02:41:31 +08:00
ᴜɴᴋɴᴡᴏɴ
5e6c3b9d0e
api: sanitize raw markdown content ( #5907 )
...
Fixed a security issue reported by bluebird.
2020-01-27 00:18:46 +08:00
Andrey Filippov
0a461b829a
repo: fix redirect after opening/closing milestone ( #5903 )
...
* Fix milestone redirect
* gosimple
* Apply suggestions from code review
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* fix typo
* Update docstring of MakeURL
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-01-26 05:42:38 +08:00
Achilleas Koutsou
873966aa86
user/setting: check for IsErrEmailAlreadyUsed when updating user ( #5900 )
...
Check for email collisions when updating the entire user information,
not when the username is being changed.
Fixes #5899
2020-01-23 02:05:31 +08:00
Yoan Blanc
76b87b1bbd
repo: use editorconfig v2 ( #5888 )
...
* repo: editorconfig v2
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
* fixup! repo: editorconfig v2
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
* Update repo.go
* Update repo.go
Co-authored-by: Unknwon <u@gogs.io>
2019-12-25 10:26:57 +08:00
Kevin Gentile
1b929e3afc
repo: fix stale webhook documentation link ( #5883 )
2019-12-09 14:20:04 -08:00
Unknwon
390b903c55
web: fix panic when download attachments ( #5838 )
2019-10-24 19:58:30 -07:00
Unknwon
01c8df01ec
internal: move packages under this directory ( #5836 )
...
* Rename pkg -> internal
* Rename routes -> route
* Move route -> internal/route
* Rename models -> db
* Move db -> internal/db
* Fix route2 -> route
* Move cmd -> internal/cmd
* Bump version
2019-10-24 01:51:46 -07:00