aboutsummaryrefslogtreecommitdiff
path: root/models/attachment.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
* models: fix delete undesired release attachments when delete a comment (#4627)Unknwon2018-08-16
| | | | Apparently, AfterDelete has ID=0
* models: skip JSON for fields skipped by XORMUnknwon2018-06-09
| | | | Reduce output JSON size by backup command
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* models: remove redundant tags for primary keysUnknwon2017-05-21
|
* 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
* release: able to add attchments to release (#1614)Unknwon2017-03-13
| | | | Added new config section '[release.attachment]’.
* Some file refactoringUnknwon2017-02-10