Unknwon
849967607d
models/user_mail: refactor EmailAddress
9 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
9 years ago
Unknwon
cb5bfbcc5f
#3274 fix can't get webhook detail of organization
9 years ago
Unknwon
7b4e810eb5
#2854 fix no mail notification when issue is closed/reopened
9 years ago
Unknwon
bc2448daaa
models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
9 years ago
Kim Carlbäcker
6364f982ce
Ignore Response Body for Slack Hooks #3169 ( #3256 )
9 years ago
Unknwon
36c957b4a7
#2709 validate username attribute fetched from LDAP
9 years ago
Unknwon
7e6b50c2d4
#2375 preserve cases for action content
9 years ago
Unknwon
d3505ff984
Minor fix for #3246
9 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
9 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.
9 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.
9 years ago
Unknwon
28d6ecec66
#3229 disallow repository name . and ..
Since . and .. has browser automatical behaviors, we need to disallow those names.
9 years ago
Unknwon
126c84acc4
Use SecurityProtocol to replace UseSSL in LDAP config
Initially proposed by #2376 and fixes #3068 as well.
9 years ago
Unknwon
abc82c3f25
#3058 #3059 support correct page size and link header
9 years ago
Tom
8ff5668806
getEngine() not handles DB parameters ( #2972 ) ( #2974 )
9 years ago
Unknwon
1a9bda1fd6
Fix wiki vulnerabilities
- Arbitrary file creation leading to command execution
- .md file creation/deletion
Reported by Gabriel Campana.
9 years ago
Andrey Nering
cdc7a8c613
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
9 years ago
Andrey Nering
f4454c375e
Localize collaboration settings. ( #3100 )
Closes #2764
9 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)
9 years ago
Franz Schmidt
602d1f4200
Fixes #3110 ( #3136 )
9 years ago
Robin Lambertz
0d03259fdd
Fix #3154 ( #3155 )
9 years ago
SjonHortensius
7ca99a286b
Fix capitalisation of repo-name in news ( #3203 )
use 'official' repo.Name instead of incoming repoName; to enforce
correct capitalisation
9 years ago
Robin Lambertz
a4da6998a2
Fix negative issue count ( #3207 )
9 years ago
Unknwon
da5050d92f
#809 fix wrong closed issue count when create closed issue via API
Add start count corrector for Repository.NumClosedIssues
9 years ago
Andrey Nering
6cbdf1591e
Add comment note ( #3093 )
9 years ago
Kim Carlbäcker
73137c2db2
Fix listing team members ( #3048 )
9 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 "\")
9 years ago
Unknwon
9e3e82ebea
models/release: filter input to prevent command line argument vulnerability
9 years ago
Unknwon
6d0dc3bbcc
#2895 minor fix for bug of xorm
9 years ago
Thomas Boerger
dd29e46802
Made the issue stats query more secure with parameterized placeholders ( #2895 )
9 years ago
Unknwon
1bedc83fef
#2992 set default style name when empty in AfterSet
9 years ago
Cosmin Stroe
561a81df44
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
9 years ago
Unknwon
fd631bf9c0
Fix XORM IN condition table name parse
9 years ago
Thomas Boerger
48c23658a6
Followup fix for previous query fix
9 years ago
Thomas Boerger
4737525ca5
Made the issues query more secure and simpler
9 years ago
Thomas Boerger
25ffa44602
Try to make the SQL queries cleaner and more secure
9 years ago
Unknwon
8328452c5a
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
59873085d6
Handle windows deletion when start
Fix #2872
9 years ago
Unknwon
0b2c7a6284
#1692 api: admin list and create team under organization
9 years ago
Unknwon
51210877f6
#2814 LOWER() column value within search
9 years ago
Odin Ugedal
e148dc6fd5
Remove email from user search
9 years ago
Odin Ugedal
bccbe89a32
Make user search look in username, name and email
Make user search function look in username (lower_name), full name
(full_name) and primary email (email). This will benefit searching after
user in "explore", admin panel and when adding new collaborators.
9 years ago
Unknwon
5b25440502
#1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
43109be749
fix #2804
9 years ago
Unknwon
f2188c8793
#13 fix postgres aggregate
9 years ago
Unknwon
2d90be9c2e
#13 finish user and repository search
Both are possible on explore and admin panel
9 years ago
Marin Jankovski
cd97a3e8a9
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
9 years ago
Unknwon
14a88c827c
Fix ref comment from commit create empty feed
9 years ago
Unknwon
bbfa25a992
#2727 fix incompatible SQL in PostgreSQL
9 years ago