Okunev Yu Dmitry
55b4e77a5e
Fix of template error in "/:owner/:repo/pulls" ( #3343 )
...
If anonymous (not signed in user) requests page
"/:owner/:repo/pulls" he gets an error:
template: repo/issue/list:11:105: executing "repo/issue/list" at <.PullRequestCtx.Base...>: nil pointer evaluating *models.Repository.Link
This commit fixes that.
Signed-off-by: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
2016-07-29 22:59:38 +08:00
Unknwon
8aa0a76702
#3327 fix wrong table name in Join
2016-07-26 18:40:20 +08:00
Unknwon
2d76de2574
#3281 fix x.Iterate returns nothing inside session scope with SQLite3
2016-07-26 17:26:48 +08:00
Unknwon
4d8b905541
models/ssh_key: code cleaning
2016-07-26 10:47:25 +08:00
Unknwon
899e799459
#1601 support delete issue comment
2016-07-26 02:48:17 +08:00
Unknwon
2295fafb34
repo/settings/options: take naming style examples out of locale string
2016-07-25 16:55:51 +08:00
Unknwon
e74630ae3b
#1384 add pagination for repositories
2016-07-24 14:32:46 +08:00
Unknwon
1f2e173a74
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08:00
Unknwon
024fcc836b
Minor HTML fix for delete repository notice
2016-07-23 20:42:46 +08:00
Unknwon
26d52ceb48
#3186 fix wrong link for new pull request button of non-fork repository
2016-07-23 19:55:53 +08:00
Unknwon
69f5308761
#2903 use different reversed words and patterns for repository and user
2016-07-23 18:58:18 +08:00
Unknwon
4b5e09e4d6
#3181 detect situation when base branch is deleted in pull request
2016-07-23 18:35:16 +08:00
Unknwon
4f78abe7dc
#3066 fix create organization ignores full name property
2016-07-23 17:57:22 +08:00
Unknwon
745167d57a
#3157 create user path before rename repository while transfer
...
os.Rename does not create parent directory automatically when not exist
2016-07-23 17:36:15 +08:00
Unknwon
c912494609
#3076 detect invalid tag name git error
2016-07-23 15:59:19 +08:00
Siarhei Navatski
cf85e9eb7b
add IsSubmodule field to DiffFile and hide view file button on diff page for submodules ( #3097 )
2016-07-23 02:18:56 +08:00
Unknwon
ae88d76032
Bump version
2016-07-22 21:52:39 +08:00
Unknwon
57af7432fc
#3295 fix wrong logic judgement
2016-07-21 14:15:04 +08:00
Unknwon
b0eb47cb1c
Fix misselection of issues view type
2016-07-17 09:25:24 +08:00
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
2016-07-17 08:33:59 +08:00
Unknwon
eac32419fc
templates/org/home: minor UI fix
2016-07-16 15:54:43 +08:00
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
2016-07-16 12:45:13 +08:00
Unknwon
c083d76567
#2937 able to prohibit user login
2016-07-16 10:22:16 +08:00
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
2016-07-16 01:02:55 +08:00
Unknwon
fff615d5fc
Bump version
2016-07-16 00:37:21 +08:00
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
2016-07-16 00:36:39 +08:00
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
2016-07-15 21:53:43 +08:00
Unknwon
194a742fb9
#2798 fix assign operation not take effect
2016-07-15 17:06:17 +08:00
Richard Mahn
7796c9e122
Fixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui ( #3267 )
2016-07-15 13:57:28 +08:00
Kim Carlbäcker
f4ab50501e
[Fix] Don't display way too large files #1513 ( #3253 )
...
* Add MaxDisplayFileSize setting
* Don't show files that are too large
* Localized FileTooLarge
* Change IsFileTooBig => IsFileTooLarge
2016-07-12 06:21:26 +08:00
Unknwon
de10387f41
#2586 bump git-module requirement
2016-07-12 06:20:09 +08:00
Unknwon
fdcca9292e
#2458 fix emoji been rendered inside raw content area
2016-07-11 05:28:56 +08:00
Unknwon
a1f717f65a
Update locale
2016-07-09 23:59:13 +08:00
Unknwon
9fcf66f0e0
Minor fix for #3246
2016-07-09 13:42:05 +08:00
Pablo Saavedra
98b152030d
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
2016-07-09 13:22:28 +08:00
467d7dacb6
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.
2016-07-09 13:13:57 +08:00
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
...
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
2016-07-08 13:57:09 +08:00
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
2016-07-08 07:25:09 +08:00
Unknwon
326c982660
Upgrade frontend assets
2016-07-07 06:04:55 +08:00
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
2016-07-04 17:27:06 +08:00
Unknwon
6aa00f7bcf
#2968 use HTTP_ADDR to replace localhost
2016-07-02 18:54:48 +08:00
Unknwon
e84ac64964
Do not show filename not have suffifx .md
2016-07-01 15:34:03 +08:00
Unknwon
7938506e07
#518 update git-module require version
2016-06-30 02:21:23 +08:00
Unknwon
6f7276278d
#3174 genetate bindata
2016-06-29 23:25:41 +08:00
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
2016-06-29 23:11:00 +08:00
Andrey Nering
6efb1e5626
Localize collaboration settings. ( #3100 )
...
Closes #2764
2016-06-28 00:22:30 +08:00
Unknwon
73b4acbb63
Update glide.yaml
2016-06-27 23:40:36 +08:00
Unknwon
4bbb878d20
Minor fix for #3194
...
- Update locale bindata
2016-06-27 16:38:35 +08:00
Sandro Santilli
76a0e43e88
Do not assume avatar needs be changed from gravatar.com ( #3209 )
...
Always send user to settings screen to change avatar.
Drops "change_custom_avatar" localized message, keeps "change_avatar"
for the generic one.
NOTE: only changes the en-US locale, as per
https://github.com/gogits/gogs/wiki/Contributing-Code#those-we-do-not-accept
NOTE: requires rebuild of bindata.go to fully see effects
2016-06-27 01:51:09 +08:00
Unknwon
c041273dd3
repo/http: clean code
2016-06-01 04:19:01 -07:00
Unknwon
8df3ba96f3
#2954 use text/plain as default email content format
2016-05-30 01:32:01 -07:00
Unknwon
e9ae926e04
#809 fix wrong closed issue count when create closed issue via API
...
Add start count corrector for Repository.NumClosedIssues
2016-05-27 18:23:39 -07:00
Unknwon
7826eae452
#3045 fix DEPRECATED Action signature erorr
2016-05-12 14:32:28 -04:00
Unknwon
fbf43c31e5
Add Czech support
2016-05-11 12:00:47 -04:00
Unknwon
0a78d99a4d
models/release: filter input to prevent command line argument vulnerability
2016-05-06 15:40:41 -04:00
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
2016-04-26 21:48:44 -04:00
Unknwon
0325bec283
#2895 minor fix for bug of xorm
2016-04-26 00:22:03 -04:00
Unknwon
7049cb9d97
Add new language support
...
- Update language choose dropdown to fit more languages
2016-04-25 13:40:23 -04:00
Unknwon
78b8b63774
#2992 set default style name when empty in AfterSet
2016-04-22 18:36:05 -04:00
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
2016-04-22 18:28:08 -04:00
Kim Carlbäcker
b3c05026df
[Feature/WIP] Confirm on editing forms ( fixes #2881 ) ( #2980 )
...
* Add and start jQuery AreYouSure
* Update SimpleMDE to 1.10.1 for `forceSync` support
* Forgot to remove old version SimpleMDE 1.10.0
* formatting -.-
2016-04-19 16:45:28 -04:00
Unknwon
a27c6f4b75
#2916 fix sort' field missing on issue pagination link
2016-04-04 19:48:10 -04:00
Unknwon
762ab056a2
Fix XORM IN condition table name parse
2016-03-27 18:21:37 -04:00
Unknwon
ac53bb593d
#2878 print error of JSON unmarshal and always returns a valid object
2016-03-26 16:42:20 -04:00
Unknwon
b1d41cfa60
#1692 add admin APIs to add/remove a user from teams
2016-03-25 18:04:02 -04:00
Unknwon
98b58fa050
Handle windows deletion when start
...
Fix #2872
2016-03-23 03:16:53 -04:00
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
2016-03-21 12:47:54 -04:00
Unknwon
60ae8ac3d2
Add route for #2846
2016-03-21 10:49:46 -04:00
Unknwon
004fb30ebe
Remove code for checking ssh-keygen
2016-03-19 20:31:23 -04:00
Unknwon
9e09e48502
#2850 fix potential SSH commands dislocation
...
When use builtin SSH server with concurrent operations, there are probabilities
One connection could use the command from another connections.
Fix this by set SSH_ORIGINAL_COMMAND for each command, not set in global scope.
2016-03-18 06:13:16 -04:00
Unknwon
0048980da5
Merge pull request #2845 from moltam/feature/org-member-full-name-avatar
...
Display org member's full name in link title.
2016-03-16 17:17:45 -04:00
Tamás Molnár
d169d00be6
Display org member's full name in link title.
2016-03-16 22:04:19 +01:00
Unknwon
ff731ea07d
#2814 LOWER() column value within search
2016-03-16 16:55:19 -04:00
Unknwon
9a5a27ea8d
Improve repository lable style
...
- add border-radius to filter list items
- use color as background of label for issue/pull view page
2016-03-15 19:52:40 -04:00
Unknwon
2df42e369e
Merge pull request #2829 from odinuge/htmlmeta
...
Set description meta tag correctly
2016-03-15 17:54:44 -04:00
Odin Ugedal
01ff65a93e
Fix indent
2016-03-15 22:35:59 +01:00
Odin Ugedal
a75fa58e1c
Make description meta tag golang 1.4 compatible
2016-03-15 19:57:19 +01:00
Unknwon
a04596659b
Merge pull request #2830 from odinuge/branchname-compare
...
Fix problems with '#' in branchname
2016-03-15 14:36:58 -04:00
Unknwon
149d62a648
#13 fix admin can't search private repos
...
- update glide info
2016-03-15 14:23:12 -04:00
Odin Ugedal
c9321550e0
Add prorper escaping of url in issue form
2016-03-15 11:56:49 +01:00
Odin Ugedal
ac390d28b8
Fix problems with '#' in branchname
...
Add proper escaping of '#' in branchname in compare when doing pull
requests. This addresses issue #2822 .
2016-03-15 11:36:23 +01:00
Odin Ugedal
561e5f9ccb
Set description meta tag correctly
...
Set the description meta tag correctly when there is no repo
description. Also use the ability to trim trailing whitespaces,
to make the template cleaner.
2016-03-15 10:17:23 +01:00
Odin Ugedal
85d7afeba0
Set HTML meta values corresponding to repository
...
Use the authors name, and the description of the repo in HTML meta.
Pages without repository context will display as before.
2016-03-14 17:32:24 +01:00
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
2016-03-13 23:20:22 -04:00
Unknwon
b4f47a7623
#1891 attempt to fix invalid csrf token
2016-03-12 20:56:03 -05:00
Unknwon
d733efc1cc
#1286 #2098 Alpha support for custom templates
...
No guarantee for compatibility with future changes
2016-03-12 13:48:34 -05:00
Unknwon
c6277cce51
Minor fixes for #2761
2016-03-11 17:57:44 -05:00
Unknwon
6530375dbf
Merge pull request #2761 from soudy/grey-out-merge-commit
...
Grey out merge commits
2016-03-11 17:51:17 -05:00
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
2016-03-11 15:33:12 -05:00
Unknwon
514382e2eb
Rename module: middleware -> context
2016-03-11 11:56:52 -05:00
Unknwon
5267dce210
Fix ref comment from commit create empty feed
2016-03-11 05:11:58 -05:00
Unknwon
97c48da49f
Merge pull request #2803 from Rukenshia/develop
...
Using HTML Description of repositories in the 'Explore' view. Fixes #…
2016-03-10 16:17:40 -05:00
Jan Christophersen
1e74ee51ff
Using HTML Description of repositories in the 'Explore' view. Fixes #2800
2016-03-10 21:31:13 +01:00
Unknwon
eed9966ad6
#2727 fix incompatible SQL in PostgreSQL
2016-03-09 23:18:39 -05:00
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
2016-03-09 19:53:30 -05:00
Unknwon
0c9a616326
Update frontend resources
2016-03-07 00:11:12 -05:00
Unknwon
0e9bc2d410
Fix pull request availability check
2016-03-06 23:57:46 -05:00
Unknwon
0ea0c5ec4f
Prepare release
2016-03-06 19:55:38 -05:00
Unknwon
12b5a76b0d
Minor fix for #2772
2016-03-06 15:37:49 -05:00
Unknwon
a4452864ea
Merge pull request #2772 from OhDaeto/master
...
Add ru-RU to home template
2016-03-06 15:36:40 -05:00