마누엘
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
03ba257ad2
Update GitHub templates
8 years ago
마누엘
fe60ca408b
routers/repo/release: Use correct branch reference ( #3330 )
...
When calculating the current behind commit count the calculation should
use the current release target to get the total commit count. Should the
release target not exist anymore the calculation will return zero for
the newest release on that target. Older releases on that target will then
use that calculated commit count as reference.
The only use case that is now somehow invalid is when the release target
was merged / deleted after a tag on that release target:
master 1 - - - - - - - 6
\ /
branch 2 - 3 - 4 - 5
When `4` is the last tag on branch `branch` and the branch `branch` is not
yet deleted the calculated numbers would be:
1 commits to branch since this release
Now if the branch `branch` gets deleted the calculation function will not
find the branch and use the commit count of the newest release (`4`) as
reference resulting in:
0 commit to branch since this release
This fixes #3326
8 years ago
Richard Mahn
0402c803c6
Added Full Name to CreateUser api call ( #3333 )
8 years ago
Unknwon
29ccf047d8
routers/repo/issue: remove redundant format string
8 years ago
Unknwon
8aa0a76702
#3327 fix wrong table name in Join
8 years ago
Unknwon
2d76de2574
#3281 fix x.Iterate returns nothing inside session scope with SQLite3
8 years ago
Unknwon
4d8b905541
models/ssh_key: code cleaning
8 years ago
Unknwon
452aefd025
Fix issue event octicon CSS
8 years ago
Unknwon
899e799459
#1601 support delete issue comment
8 years ago
Unknwon
2295fafb34
repo/settings/options: take naming style examples out of locale string
8 years ago
Unknwon
a562228c5e
Add org.getUserTeams to reduce redundant code
8 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
46e96c008c
Use struct for UI settings
8 years ago
Unknwon
256cd6374a
#2790 fix not detect diff style in pull request file changes
8 years ago
Unknwon
57a47bbc05
Add some tutorial links [CI SKIP]
8 years ago
Unknwon
024fcc836b
Minor HTML fix for delete repository notice
8 years ago
Unknwon
250be011c7
Remove redundant Unix timestamp method call
...
Unix() already uses UTC as timezone
8 years ago
Unknwon
4e822c1911
conf: change default mirror checking interval to 10m
8 years ago
Unknwon
26d52ceb48
#3186 fix wrong link for new pull request button of non-fork repository
8 years ago
Unknwon
d90acacd86
Update README [CI SKIP]
8 years ago
Unknwon
69f5308761
#2903 use different reversed words and patterns for repository and user
8 years ago
Unknwon
4b5e09e4d6
#3181 detect situation when base branch is deleted in pull request
8 years ago
Unknwon
4f78abe7dc
#3066 fix create organization ignores full name property
8 years ago
Unknwon
e63b2881b1
api: fix panic if anonymous user request admin API
...
Add sign in check before check user account level
8 years ago
Unknwon
745167d57a
#3157 create user path before rename repository while transfer
...
os.Rename does not create parent directory automatically when not exist
8 years ago
Unknwon
d7bdc1de8d
#3107 fix mention regex does not include dash
8 years ago
Unknwon
c912494609
#3076 detect invalid tag name git error
8 years ago
Richard Mahn
69dae1ec1c
Added coding style modes to SimpleMDE ( #3286 )
...
* Added coding style modes to SimpleMDE
* Moved the CodeMirror addon from simplemd to codemirror directory
8 years ago
Siarhei Navatski
cf85e9eb7b
add IsSubmodule field to DiffFile and hide view file button on diff page for submodules ( #3097 )
8 years ago
Unknwon
599716bb1b
Update locales [CI SKIP]
8 years ago
Unknwon
ae88d76032
Bump version
8 years ago
Unknwon
9266f28822
Fix GitHub wrong repo language detection
8 years ago
Dennis Chen
6488ee12be
avatar: make custom and generated avatars equal ( #3301 )
...
Sets all avatars to use PNG image format.
Keeps avatars consistent at 290x290px resolution.
Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
Unknwon
c2fb01a257
#3299 don’t pop up confirm box when leave on signin page
8 years ago
Unknwon
5761342f32
#3291 fix SQLite3 session read/update conflict on create new issue
8 years ago
Unknwon
57af7432fc
#3295 fix wrong logic judgement
8 years ago
Unknwon
1c7dcdd6b9
Update dep revision
8 years ago
lstahlman
25b3836418
Refresh repository mirror from database when the repository's name has changed. ( #3276 )
8 years ago
Unknwon
5aa2bf86f4
Update locales and .gopmfile
8 years ago
Unknwon
b0eb47cb1c
Fix misselection of issues view type
8 years ago
lstahlman
e7a4f96fb6
Updated Issues and Issues Stats functions to include table aliases. This addresses errors involving ambiguous column references when filtering issues by the view type "Mentioning you". ( #3269 )
8 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
8 years ago
Dennis Chen
5ff2dfb23e
api: delete repository webhooks ( #3275 )
...
Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.
Solves drone/drone issue #1603 .
Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
Unknwon
eac32419fc
templates/org/home: minor UI fix
8 years ago
Unknwon
e3d3d424b2
Minor fix for go vet
8 years ago
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
8 years ago
Unknwon
c083d76567
#2937 able to prohibit user login
8 years ago
Unknwon
52322ef624
models/user_mail: refactor EmailAddress
8 years ago