aboutsummaryrefslogtreecommitdiff
path: root/internal/db
Commit message (Collapse)AuthorAge
* conf: overhaul server settings (#5928)ᴜɴᴋɴᴡᴏɴ2020-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* log: migrate to unknwon.dev/clog/v2 (#5927)ᴜɴᴋɴᴡᴏɴ2020-02-20
| | | | | | * Add unknwon.dev/clog/v2 * Update all places
* log: use trace level for some logsᴜɴᴋɴᴡᴏɴ2020-02-19
|
* README: update Features listᴜɴᴋɴᴡᴏɴ2020-02-18
| | | | [CI SKIP]
* Use go-bindata to embed `public` and `templates` files into binary (#5920)Michael Li2020-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* db/repo: fix Git version check to 1.8.3Unknwon2020-02-04
|
* all: use lazyregexp (#5911)ᴜɴᴋɴᴡᴏɴ2020-01-29
| | | | | | * Use lazyregexp * all: fix imports and usages
* internal/db/org: fix private repositories are hidden in the organization ↵Michael Li2020-01-21
| | | | view (#5890)
* mirror: use Git command to update origin remote address (#5767) (#5865)Unknwon2019-11-16
| | | Fixes a RCE reported by @ManassehZhou and @zeripath.
* db/repo: print more error infoUnknwon2019-11-05
|
* repo: delete local copies on owner name change (#5843)Guy Smoilov2019-11-03
| | | | | | | | | | | * Protect local repo copy deletion with repoWorkingPool, and delete the local copy on owner name change. * Update internal/db/user.go Co-Authored-By: Unknwon <u@gogs.io> * Error format on local repo and wiki deletion
* internal: move packages under this directory (#5836)Unknwon2019-10-24
* 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