Unknwon
10dc330640
#3345 dump content directly to HTTP ResponseWriter
8 years ago
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>
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
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
e74630ae3b
#1384 add pagination for repositories
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
024fcc836b
Minor HTML fix for delete repository notice
8 years ago
Unknwon
26d52ceb48
#3186 fix wrong link for new pull request button of non-fork repository
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
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
c912494609
#3076 detect invalid tag name git error
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
ae88d76032
Bump version
8 years ago
Unknwon
57af7432fc
#3295 fix wrong logic judgement
8 years ago
Unknwon
b0eb47cb1c
Fix misselection of issues view type
8 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
8 years ago
Unknwon
eac32419fc
templates/org/home: minor UI fix
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
3d93532c87
#3274 fix can't get webhook detail of organization
8 years ago
Unknwon
fff615d5fc
Bump version
8 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
8 years ago
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
8 years ago
Unknwon
194a742fb9
#2798 fix assign operation not take effect
8 years ago
Richard Mahn
7796c9e122
Fixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui ( #3267 )
8 years ago
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
8 years ago
Unknwon
de10387f41
#2586 bump git-module requirement
8 years ago
Unknwon
fdcca9292e
#2458 fix emoji been rendered inside raw content area
8 years ago
Unknwon
a1f717f65a
Update locale
8 years ago
Unknwon
9fcf66f0e0
Minor fix for #3246
8 years ago
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
8 years ago
Pheng Heong TAN
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.
8 years ago
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
...
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
8 years ago
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
8 years ago
Unknwon
326c982660
Upgrade frontend assets
8 years ago
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
8 years ago
Unknwon
6aa00f7bcf
#2968 use HTTP_ADDR to replace localhost
8 years ago
Unknwon
e84ac64964
Do not show filename not have suffifx .md
8 years ago
Unknwon
7938506e07
#518 update git-module require version
8 years ago
Unknwon
6f7276278d
#3174 genetate bindata
8 years ago
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
8 years ago
Andrey Nering
6efb1e5626
Localize collaboration settings. ( #3100 )
...
Closes #2764
8 years ago
Unknwon
73b4acbb63
Update glide.yaml
8 years ago
Unknwon
4bbb878d20
Minor fix for #3194
...
- Update locale bindata
8 years ago
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
8 years ago
Unknwon
c041273dd3
repo/http: clean code
8 years ago
Unknwon
8df3ba96f3
#2954 use text/plain as default email content format
8 years ago
Unknwon
e9ae926e04
#809 fix wrong closed issue count when create closed issue via API
...
Add start count corrector for Repository.NumClosedIssues
8 years ago
Unknwon
7826eae452
#3045 fix DEPRECATED Action signature erorr
8 years ago
Unknwon
fbf43c31e5
Add Czech support
8 years ago
Unknwon
0a78d99a4d
models/release: filter input to prevent command line argument vulnerability
8 years ago
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
8 years ago
Unknwon
0325bec283
#2895 minor fix for bug of xorm
8 years ago
Unknwon
7049cb9d97
Add new language support
...
- Update language choose dropdown to fit more languages
8 years ago
Unknwon
78b8b63774
#2992 set default style name when empty in AfterSet
8 years ago
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
8 years ago
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 -.-
8 years ago
Unknwon
a27c6f4b75
#2916 fix sort' field missing on issue pagination link
8 years ago
Unknwon
762ab056a2
Fix XORM IN condition table name parse
9 years ago
Unknwon
ac53bb593d
#2878 print error of JSON unmarshal and always returns a valid object
9 years ago
Unknwon
b1d41cfa60
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
98b58fa050
Handle windows deletion when start
...
Fix #2872
9 years ago
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
9 years ago
Unknwon
60ae8ac3d2
Add route for #2846
9 years ago
Unknwon
004fb30ebe
Remove code for checking ssh-keygen
9 years ago
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.
9 years ago
Unknwon
0048980da5
Merge pull request #2845 from moltam/feature/org-member-full-name-avatar
...
Display org member's full name in link title.
9 years ago
Tamás Molnár
d169d00be6
Display org member's full name in link title.
9 years ago
Unknwon
ff731ea07d
#2814 LOWER() column value within search
9 years ago
Unknwon
9a5a27ea8d
Improve repository lable style
...
- add border-radius to filter list items
- use color as background of label for issue/pull view page
9 years ago
Unknwon
2df42e369e
Merge pull request #2829 from odinuge/htmlmeta
...
Set description meta tag correctly
9 years ago
Odin Ugedal
01ff65a93e
Fix indent
9 years ago
Odin Ugedal
a75fa58e1c
Make description meta tag golang 1.4 compatible
9 years ago
Unknwon
a04596659b
Merge pull request #2830 from odinuge/branchname-compare
...
Fix problems with '#' in branchname
9 years ago
Unknwon
149d62a648
#13 fix admin can't search private repos
...
- update glide info
9 years ago
Odin Ugedal
c9321550e0
Add prorper escaping of url in issue form
9 years ago
Odin Ugedal
ac390d28b8
Fix problems with '#' in branchname
...
Add proper escaping of '#' in branchname in compare when doing pull
requests. This addresses issue #2822 .
9 years ago
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.
9 years ago
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.
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
b4f47a7623
#1891 attempt to fix invalid csrf token
9 years ago
Unknwon
d733efc1cc
#1286 #2098 Alpha support for custom templates
...
No guarantee for compatibility with future changes
9 years ago
Unknwon
c6277cce51
Minor fixes for #2761
9 years ago
Unknwon
6530375dbf
Merge pull request #2761 from soudy/grey-out-merge-commit
...
Grey out merge commits
9 years ago
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
5267dce210
Fix ref comment from commit create empty feed
9 years ago
Unknwon
97c48da49f
Merge pull request #2803 from Rukenshia/develop
...
Using HTML Description of repositories in the 'Explore' view. Fixes #…
9 years ago
Jan Christophersen
1e74ee51ff
Using HTML Description of repositories in the 'Explore' view. Fixes #2800
9 years ago
Unknwon
eed9966ad6
#2727 fix incompatible SQL in PostgreSQL
9 years ago
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
9 years ago
Unknwon
0c9a616326
Update frontend resources
9 years ago
Unknwon
0e9bc2d410
Fix pull request availability check
9 years ago
Unknwon
0ea0c5ec4f
Prepare release
9 years ago
Unknwon
12b5a76b0d
Minor fix for #2772
9 years ago
Unknwon
a4452864ea
Merge pull request #2772 from OhDaeto/master
...
Add ru-RU to home template
9 years ago
xDShot
d8738f5bfd
минимальные -> низкие (системные требования)
9 years ago
Unknwon
9cf7f3e46f
Remove duplicated of code
9 years ago
Lourens
14aba3489e
Add ru-RU to home template
9 years ago
Unknwon
13bd16af92
Minor fixes for #2766
9 years ago
Tamás Molnár
9c91e27933
Added: Ability to delete org avatar.
9 years ago
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
9 years ago
Unknwon
045f14fbd0
#1146 finsih UI work for access mode of collaborators
...
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
9 years ago
Unknwon
414eb22ef9
#1597 fix activitity feeds for pull requests
9 years ago
Steven Oud
1d3ec27cb7
Put if statement of grey merge commits on one line
9 years ago
Steven Oud
a0cd59bd0e
Grey out merge commits
9 years ago
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
9 years ago
Unknwon
dfd6f8f7ab
Merge pull request #2757 from joshfng/fix-fork-relative-url
...
Use relative url when showing forked from
9 years ago
Josh Frye
275464e7fb
Use relative url when showing forked from
9 years ago
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
9 years ago
Unknwon
9df6ce48c5
Minor fixes for #2746
9 years ago
Unknwon
4d5911dbcf
Merge pull request #2746 from joshfng/feature-delete-wiki-pages
...
Add ability to delete single wiki pages.
9 years ago
Unknwon
d57a2b908a
#2743 and #2751 fix bad SQL generated by XORM
...
Use hand-written SQL to do complex query
9 years ago
Josh Frye
2f228ddf31
Update delete wiki page route
9 years ago
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
9 years ago
Unknwon
f6759a731a
#2748 fix redirect loop with auto-signin
9 years ago
Unknwon
dfbda48afc
Merge pull request #2738 from andreynering/emogify
...
Render emojis in more places.
9 years ago
Unknwon
260723e2cc
Minor fixes for #2745
9 years ago
Josh Frye
f3358f5927
Repo setting to delete and disable wiki
9 years ago
Unknwon
f946040fa9
#1891 attempt to fix expected invalid CSRF token
...
- Remove unused config settings `[picture] service`
9 years ago
Unknwon
c9901bbba5
#2743 workaround to fix XORM problem
9 years ago
Andrey Nering
13e71acadf
Render emojis in more places.
9 years ago
Unknwon
97429a25ab
#2727 make IN clause compatible with Postgres
9 years ago
Unknwon
9e89584cb4
Allow setting git operations timeouts
...
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
9 years ago
Unknwon
ea80274229
#2700 fix sqlite3 can't create issue with more than one label
9 years ago
Unknwon
42a556a082
Merge pull request #2722 from chriswatt/hidewikidlbutton
...
Hide the download archive button when viewing wiki pages
9 years ago
chriswatt
a71a5bfeb4
Remove download archive button on wiki pages
9 years ago
chriswatt
548440b48f
Change colour of numbers on pull request tabs if greater than zero
9 years ago
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
9 years ago
Unknwon
d320915ad2
Minor fix for #2710
9 years ago
Lukas Dietrich
c0eaae200e
Add ForegroundColor for labels
9 years ago
Unknwon
129638117f
#2697 fix panic when close issue via commit message
9 years ago
Unknwon
4438b7793b
Add new config option for builtin SSH server
...
Config option [server] SSH_LISTEN_PORT to the port the builtin SSH server will be listen.
It can be different from SSH_PORT which is supposed to be exposed in the clone URL.
This should solve the problem when user runs Gogs inside Docker container
and still want to use builtin SSH server.
9 years ago
Unknwon
baaf6046a1
Minor fix for #2660
9 years ago
Josh Frye
c27038e392
Test mailer button. Addresses #1531
9 years ago
Unknwon
72ce06eab8
#2682 fix missing slash for go-get meta
9 years ago
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
9 years ago
Unknwon
c9516c4c60
Fix wrong place to check disable SSH
9 years ago
Andrey Nering
d160c7e565
Little refactoring of diff highlight.
...
Moving cache variable to template instead of in the struct.
9 years ago
Unknwon
7140dbac95
Fix #857
9 years ago
Unknwon
acf094fb07
Minor fix for #2634
...
Add AttributesInBind option in new auth source form.
9 years ago
Unknwon
7e0baf4136
Merge pull request #2634 from nanoant/patch/ldap-attributes-in-bind
...
LDAP: Fetch attributes in Bind DN context
9 years ago
Unknwon
a703f7d7b4
Merge pull request #2647 from andreynering/issue-template
...
Implement issue and pull request templates
9 years ago
Adam Strzelecki
834d92a47b
LDAP: Fetch attributes in Bind DN context option
...
This is feature is workaround for #2628 (JumpCloud) and some other services
that allow LDAP search only under BindDN user account, but not allow any LDAP
search query in logged user DN context.
Such approach is an alternative to minimal permissions security pattern for
BindDN user.
9 years ago
Unknwon
b7f3d94cd0
Minor fix for #2524
9 years ago
Unknwon
341da3cea7
Fix inappropriate markdown post process end tag check
...
When <code> is nested inside <pre>, the next end tag token would not able to be the same
as outer-most start tag. So we only check outer-most start and end tag token to be the same.
9 years ago
Unknwon
2408df3f35
Merge pull request #2663 from Download-Fritz/MirrorForks
...
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Andrey Nering
658bfc2704
Implement issue and pull request templates.
...
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates
Priority:
- root
- .gogs
- .github
9 years ago
Unknwon
338af89d56
#2650 fix possbility that use email as pusher user name
...
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
9 years ago
Unknwon
d5ca913b2f
#2639 add branch prefix for test webhook
9 years ago
Unknwon
3af1d3c581
#2633 fix removed config option
9 years ago
Unknwon
632c27802c
Minor fix for #2624
9 years ago
Unknwon
dc89c51f3e
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
...
Convert mirrors to regular repositories
9 years ago
Unknwon
58e004f7da
Remove cache avatar support and add its tests
9 years ago
Unknwon
aa5e837c65
fix #2454
9 years ago
Unknwon
a1d97e8f5c
Minor fix for #2567
9 years ago
Unknwon
9adfe453d5
#2569 delete repo local copy when transfer
...
Remote repository path is renamed but does not delete
outdated local copy which still has old repository path
as remote.
9 years ago
chriswatt
d710b5e791
Fix when repo is empty
9 years ago
chriswatt
c47866b34a
Add grey bg to tabs on repo page
9 years ago
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
9 years ago
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
9 years ago
Josh Frye
8ab5399e83
Make log path required
9 years ago
Josh Frye
ec478b4b06
Set default log path if empty during install
9 years ago
Josh Frye
1feecd6beb
Add helper text for log path.
9 years ago
Josh Frye
a3e8c32a30
Add install option for log path
9 years ago
Unknwon
297e772c20
#2485 fix payloads mixed up for webhook
...
When repository contains a Slack type hook,
it changes original payload content.
This patch fixes it by using a local object to store
newly created Slack payload instead of assigning
back to the same variable.
9 years ago
Andrey Nering
e40d94bb4f
Implementing the "theme-color" meta tag.
...
Used by Android >= 5.0 to make the top bar colored.
Reference: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
9 years ago
chriswatt
af8e323248
Fix tab index on new issue/comment form
9 years ago
Unknwon
b09ddc72d2
Merge pull request #2581 from chriswatt/committab
...
Make commits tab active when on diff page
9 years ago
chriswatt
a881f776d0
Make commits tab active when on diff page
9 years ago
Unknwon
ee53204e02
Improve db path prompt when install
9 years ago
Unknwon
f15a2f9b25
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
...
Enable syntax highlighting on diff view
9 years ago
Unknwon
f8182ac521
#2558 delete local wiki copy when rename repo and user
9 years ago
Unknwon
8e40f86d2c
#2556 handle space in image URL
9 years ago
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
9 years ago
Unknwon
04be8c0de5
#2554 reinitialize all repos from the db
...
- Update locales
9 years ago
Unknwon
a47baa1b7a
Add missing patch conflit pattern
9 years ago
Unknwon
5a27aea8e0
Fix random avatar does not work on Windows
...
path.Dir can't handle Windows case, must use filepath.Dir
9 years ago
Unknwon
1c74612b3c
Minor fix for #2444
9 years ago
Unknwon
d3ba246693
Merge pull request #2444 from bkcsoft/feature/participants
...
Implemented participant-listing for issue-pages (Fixes #2377 )
9 years ago
Unknwon
66d2ba1b4e
Merge pull request #2537 from fnkr/remember-clone-protocol
...
Remember last selected clone protocol
9 years ago
Unknwon
3abad75a1b
Fix one user may block entire listen loop for builtin SSH
9 years ago
Florian Kaiser
d568019306
Remember last selected clone protocol, and establish uniform order (https, ssh)
9 years ago
Unknwon
5d192c2ebf
Merge pull request #2533 from fnkr/icon-fork-private-collision
...
Use icon repo-forked instead of repo-lock for private, forked repos
9 years ago
Florian Kaiser
29c3e9f428
Undo change in templates/explore/repo_list.tmpl
9 years ago
Florian Kaiser
532f9fdd99
Use icon repo-forked instead of repo-lock for private, forked repos
9 years ago
Unknwon
4848620594
#2229 adjust URL verbose depth for reverse proxy sub-path
9 years ago
Unknwon
57c10aae33
Merge pull request #2531 from andreynering/home-template-pt-BR
...
Add portuguese-BR to home template.
9 years ago
Andrey Nering
0e0cd9100b
Add portuguese-BR to home template.
9 years ago
Unknwon
a9d68a6884
fix #2529
9 years ago
Unknwon
8436d69eaf
Update and reorganize front-end resources
9 years ago
Unknwon
112a7cab31
#2497 incorrect error handle for team name
9 years ago
Unknwon
ee814bf8d6
#2491 minor fix for sr on dashboard
9 years ago
Unknwon
566163ab82
Merge pull request #2502 from bkcsoft/fix/split-view-diff
...
Split view fixed
9 years ago