aboutsummaryrefslogtreecommitdiff
path: root/models/mirror.go
Commit message (Collapse)AuthorAge
* 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
* Enable Go modules (#5835)Unknwon2019-10-23
| | | | | | | | | | | | | | | | * Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs
* mirror: trigger additional push webhook on new branch (#5508)Danilo Riecken P. de Morais2018-11-14
| | | | This commit fixes issue #5473 and makes a new branch behave like a push event and trigger the appropriate webhook.
* models: rename Id to IDUnknwon2018-08-16
|
* *: fix wrong format typeUnknwon2018-06-13
|
* models: skip JSON for fields skipped by XORMUnknwon2018-06-09
| | | | Reduce output JSON size by backup command
* models/mirror: shot push webhook after synced commits (#4528)Unknwon2018-06-03
|
* mirror: show sync feeds on dashboard (#2017)Unknwon2018-05-30
|
* vendor: rename "gogits" to "gogs"Unknwon2018-05-27
|
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* models: remove redundant tags for primary keysUnknwon2017-05-21
|
* modes/mirror: make Updated unchanged if no new commits fetched (#4341)Unknwon2017-04-06
| | | | | After sync mirror, get latest commit date and compare to current repository updated time, only update it if the commit date is newer.
* models/mirror: feed git.IsRepoURLAccessible with raw mirror addressUnknwon2017-04-04
|
* models/mirror: unescape credentials at read (#4014)Unknwon2017-04-04
| | | | | If we save credentials already escaped, 'url.QueryEscape' still escapes it and makes the credentials become incorrect.
* models/mirror: escape credentials before write mirror address (#4014)Unknwon2017-04-04
| | | | | | | Special characters such as '@', ';', '#' and ':' could occur in password portion of credentials, which breaks the interpretation and saves 'config' file in with extra characters that are not recognized by Git (due to INI library).
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* modes/mirror: corrected NextUpdate not set (#4345)Jonas2017-03-26
|
* repo: update size after fork, migrate and mirror sync (#4336)Unknwon2017-03-24
|
* refactoring: experimental with models/errors packageUnknwon2017-03-12
|
* mirror: update repository updated_unix after sync (#2807)Unknwon2017-03-08
|
* Some file refactoringUnknwon2017-02-10