Unknwon
3d3fee66e6
#3327 fix wrong table name in Join
9 years ago
Unknwon
7f11372669
#3281 fix x.Iterate returns nothing inside session scope with SQLite3
9 years ago
Unknwon
600675304d
models/ssh_key: code cleaning
9 years ago
Unknwon
d633b89ee9
#1601 support delete issue comment
9 years ago
Unknwon
b85aba0b67
Add org.getUserTeams to reduce redundant code
9 years ago
Unknwon
027aebc72c
#1384 add pagination for repositories
9 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
10 years ago
Unknwon
9835377f9c
Use struct for UI settings
10 years ago
Unknwon
d61bcdc10b
Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
10 years ago
Unknwon
81df995234
conf: change default mirror checking interval to 10m
10 years ago
Unknwon
ed22b6b01b
#2903 use different reversed words and patterns for repository and user
10 years ago
Unknwon
3b27731934
#3066 fix create organization ignores full name property
10 years ago
Unknwon
a4afe68626
#3157 create user path before rename repository while transfer
os.Rename does not create parent directory automatically when not exist
10 years ago
Unknwon
41c8e6c524
#3076 detect invalid tag name git error
10 years ago
Siarhei Navatski
5699e25718
add IsSubmodule field to DiffFile and hide view file button on diff page for submodules ( #3097 )
10 years ago
Dennis Chen
96170ee291
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>
10 years ago
Unknwon
02339aa3c4
#3291 fix SQLite3 session read/update conflict on create new issue
10 years ago
Unknwon
3efd30608d
#3295 fix wrong logic judgement
10 years ago
lstahlman
6c76fe6bba
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 )
10 years ago
Unknwon
9bdf738b7e
models/webhook: restrict deletion to be explicitly with repo and org ID
10 years ago
Unknwon
607de5e909
#2937 able to prohibit user login
10 years ago
Unknwon
849967607d
models/user_mail: refactor EmailAddress
10 years ago
Sandro Santilli
0a7b52deab
Return avatar link as absolute url ( #3235 )
Fixes relative urls coming from api/v1
See https://github.com/drone/drone/issues/1701
10 years ago
Unknwon
cb5bfbcc5f
#3274 fix can't get webhook detail of organization
10 years ago
Unknwon
7b4e810eb5
#2854 fix no mail notification when issue is closed/reopened
10 years ago
Unknwon
bc2448daaa
models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
10 years ago
Kim Carlbäcker
6364f982ce
Ignore Response Body for Slack Hooks #3169 ( #3256 )
10 years ago
Unknwon
36c957b4a7
#2709 validate username attribute fetched from LDAP
10 years ago
Unknwon
7e6b50c2d4
#2375 preserve cases for action content
10 years ago
Unknwon
d3505ff984
Minor fix for #3246
10 years ago
Pablo Saavedra
5a99c23938
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )
Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
10 years ago
Pheng Heong TAN
18c2e0e559
Modify behaviour of repo-delete. ( #3232 )
Re: issues gogits/gogs#2863 and gogits/gogs#3231
As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.
Meta
-----
This commit will be rebased onto the 'develop' branch.
10 years ago
Unknwon
7270678853
#3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
10 years ago
Unknwon
28d6ecec66
#3229 disallow repository name . and ..
Since . and .. has browser automatical behaviors, we need to disallow those names.
10 years ago
Unknwon
126c84acc4
Use SecurityProtocol to replace UseSSL in LDAP config
Initially proposed by #2376 and fixes #3068 as well.
10 years ago
Unknwon
abc82c3f25
#3058 #3059 support correct page size and link header
10 years ago
Tom
8ff5668806
getEngine() not handles DB parameters ( #2972 ) ( #2974 )
10 years ago
Unknwon
1a9bda1fd6
Fix wiki vulnerabilities
- Arbitrary file creation leading to command execution
- .md file creation/deletion
Reported by Gabriel Campana.
10 years ago
Andrey Nering
cdc7a8c613
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
10 years ago
Andrey Nering
f4454c375e
Localize collaboration settings. ( #3100 )
Closes #2764
10 years ago
Sandro Santilli
8d9b96a411
Use a gopher as default avatar (rather than the gravatar logo) ( #3208 )
Also changes the avatar from a jpeg to a png, to allow for
transparent background. The indexed png is also smaller in size.
Note that at the moment the default avatar is only used when
the user requested a custom avatar and the custom avatar file
is not found (should never happen).
In the future the default avatar could be used as a default
return when by-mail avatar lookups fail too (both gravatar
and libravatar support passing a default)
10 years ago
Franz Schmidt
602d1f4200
Fixes #3110 ( #3136 )
10 years ago
Robin Lambertz
0d03259fdd
Fix #3154 ( #3155 )
10 years ago
SjonHortensius
7ca99a286b
Fix capitalisation of repo-name in news ( #3203 )
use 'official' repo.Name instead of incoming repoName; to enforce
correct capitalisation
10 years ago
Robin Lambertz
a4da6998a2
Fix negative issue count ( #3207 )
10 years ago
Unknwon
da5050d92f
#809 fix wrong closed issue count when create closed issue via API
Add start count corrector for Repository.NumClosedIssues
10 years ago
Andrey Nering
6cbdf1591e
Add comment note ( #3093 )
10 years ago
Kim Carlbäcker
73137c2db2
Fix listing team members ( #3048 )
10 years ago
Andrey Nering
4d3f69567c
Fix remove folder issues, including initialization failling. ( #2969 )
- Prevent panic on creating notice if database is not available
- Prevent incorrect folder on Windows ("/" instead of "\")
10 years ago
Unknwon
9e3e82ebea
models/release: filter input to prevent command line argument vulnerability
10 years ago