Unknwon
77275a9b31
models: rename Id to ID
6 years ago
Unknwon
53c8e4263b
models: skip JSON for fields skipped by XORM
...
Reduce output JSON size by backup command
7 years ago
Unknwon
aff4208244
*: rename "gogits" to "gogs"
7 years ago
Unknwon
0e6a6bf880
Refactoring: remove sessionRelease()
...
XORM supports automatic roll back in session Close() already.
8 years ago
Unknwon
ce6e8ed8fe
models: remove redundant tags for primary keys
8 years ago
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
8 years ago
Unknwon
0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist
8 years ago
Unknwon
1df54ea0cd
release: able to add attchments to release ( #1614 )
...
Added new config section '[release.attachment]’.
8 years ago
Unknwon
b615d670b3
webhook: add Release event ( #2387 )
8 years ago
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'.
8 years ago
Unknwon
03f7f3ee67
Some code renaming
8 years ago
Unknwon
f471ef1bc7
Fix vulnerability reported in #3962
8 years ago
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
8 years ago
마누엘
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.
8 years ago
Unknwon
250be011c7
Remove redundant Unix timestamp method call
...
Unix() already uses UTC as timezone
8 years ago
Unknwon
c912494609
#3076 detect invalid tag name git error
8 years ago
Unknwon
0a78d99a4d
models/release: filter input to prevent command line argument vulnerability
9 years ago
Unknwon
f76d821bda
fix #2804
9 years ago
Marin Jankovski
1314ba219e
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
9 years ago
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
392f3ee210
wiki: finish new
9 years ago
Unknwon
c50a3503e6
introduce git-shell
9 years ago
Unknwon
1d4a5b1825
fix #2002
9 years ago
Unknwon
987dcc5372
fix #1383
9 years ago
Unknwon
18de67380c
fix #1958
9 years ago
Unknwon
3a81fdf092
rename fields
9 years ago
Unknwon
87152f89ba
fix release created timezone issue
9 years ago
Unknwon
5c4bc3c848
Huge updates!!!!! Be careful to merge!!!!
10 years ago
Unknown
ad5ec45dd6
Fix #165
11 years ago
Unknown
e07674bff1
Support edit release and save as draft
11 years ago
Unknown
9961f9a53c
Fix #197
11 years ago
Unknown
1161c71ac1
Mirror fix
11 years ago
Lunny Xiao
4d6de6c7b9
add login name for auth type
11 years ago
slene
7d84cc96e8
update with git api
11 years ago
skyblue
6cb636f8a0
fix title extra quoted
11 years ago
Unknown
f644cefa86
Finish release
11 years ago