Commit Graph

37 Commits (77275a9b311ed126f887628f33fbd917750420cd)

Author SHA1 Message Date
Unknwon 77275a9b31
models: rename Id to ID 2018-08-16 20:26:09 +08:00
Unknwon 53c8e4263b
models: skip JSON for fields skipped by XORM
Reduce output JSON size by backup command
2018-06-09 16:06:47 +08:00
Unknwon aff4208244
*: rename "gogits" to "gogs" 2018-05-27 08:53:48 +08:00
Unknwon 0e6a6bf880
Refactoring: remove sessionRelease()
XORM supports automatic roll back in session Close() already.
2017-06-11 03:06:36 -04:00
Unknwon ce6e8ed8fe
models: remove redundant tags for primary keys 2017-05-21 04:36:41 -04:00
Unknwon d05395fe90
Refactoring: rename modules -> pkg
Reasons to change:

1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
2017-04-04 19:29:59 -04:00
Unknwon 0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist 2017-03-16 17:18:43 -04:00
Unknwon 1df54ea0cd
release: able to add attchments to release (#1614)
Added new config section '[release.attachment]’.
2017-03-13 04:32:20 -04:00
Unknwon b615d670b3
webhook: add Release event (#2387) 2017-03-11 18:41:32 -05:00
Unknwon 451aef7a1c
release: improve page load performance
Previously, we load all releases of a repository which could hurt
performance when the repository has a lot of releases.

Now we're able to only load releases in current page view we need
to show by matching with 'tag_name'.
2017-03-10 14:12:46 -05:00
Unknwon 03f7f3ee67
Some code renaming 2016-12-22 19:58:30 -05:00
Unknwon f471ef1bc7
Fix vulnerability reported in #3962 2016-12-22 19:35:06 -05:00
Thibault Meyer 30fda0f1ae Fix #3315: Release dont use tag creation date (#3374)
* Fix #3315: Release dont use tag creation date

* Simplify code and apply gofmt

* remove useless block (ctx.Repo.GitRepo.GetTag) on EditReleasePost

* apply gofmt on modified files
2016-08-06 10:02:15 -07:00
마누엘 36a63dd059 models/release: Update Sha1 if tag already exists (#3331)
Since the release struct is initialized with the current `HEAD` of the
current `release.Target` the commit id has to be updated if the tag
commit already exists. Otherwise the linked commit on the release page
will target the current `HEAD` at release time.
2016-07-28 10:45:35 +08:00
Unknwon 250be011c7 Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
2016-07-23 20:24:44 +08:00
Unknwon c912494609 #3076 detect invalid tag name git error 2016-07-23 15:59:19 +08:00
Unknwon 0a78d99a4d models/release: filter input to prevent command line argument vulnerability 2016-05-06 15:40:41 -04:00
Unknwon f76d821bda fix #2804 2016-03-11 17:12:37 -05:00
Marin Jankovski 1314ba219e Updated and created were appended with _unix. Fresh databases have only the newly named fields. 2016-03-11 12:43:35 +01:00
Unknwon ad513a20e9 #2302 Replace time.Time with Unix Timestamp (int64) 2016-03-09 19:53:30 -05:00
Unknwon 19423957b1 rename import path 2015-12-15 17:25:45 -05:00
Unknwon 9a2e43bff2 move out git module and #1573 send push hook 2015-12-09 20:46:05 -05:00
Unknwon 392f3ee210 wiki: finish new 2015-11-27 00:24:24 -05:00
Unknwon c50a3503e6 introduce git-shell 2015-11-26 17:33:45 -05:00
Unknwon 1d4a5b1825 fix #2002 2015-11-20 02:53:54 -05:00
Unknwon 987dcc5372 fix #1383 2015-11-20 02:38:41 -05:00
Unknwon 18de67380c fix #1958 2015-11-15 23:52:46 -05:00
Unknwon 3a81fdf092 rename fields 2015-11-03 22:49:06 -05:00
Unknwon 87152f89ba fix release created timezone issue 2015-08-24 21:01:23 +08:00
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 2014-07-26 02:28:04 -04:00
Unknown ad5ec45dd6 Fix #165 2014-06-21 00:51:41 -04:00
Unknown e07674bff1 Support edit release and save as draft 2014-06-12 17:47:23 -04:00
Unknown 9961f9a53c Fix #197 2014-06-12 09:10:39 -04:00
Unknown 1161c71ac1 Mirror fix 2014-06-12 07:45:33 -04:00
slene 7d84cc96e8 update with git api 2014-05-10 11:14:24 +08:00
skyblue 6cb636f8a0 fix title extra quoted 2014-04-14 22:42:17 +08:00
Unknown f644cefa86 Finish release 2014-04-14 01:57:25 -04:00