Bwko
5ab85372da
Added rel="noopener" to target="_blank" hrefs ( #327 )
...
* Added rel="noopener" to target="_blank" hrefs
* Replaced gogs.io/docs with docs.gitea.io
2016-12-02 09:12:16 +08:00
Lunny Xiao
590a79ff8a
Resolved #296 ( #324 )
...
* resolved #296
* Indentation fixed
2016-12-01 18:52:57 +08:00
Lunny Xiao
2343feadd4
resolved #310 : hide fork to self ( #323 )
2016-12-01 18:51:50 +08:00
Bwko
1e9730a779
Fixes xss, clickjacking & password autocompletion
2016-11-29 22:49:06 +01:00
Lunny Xiao
abf6c3a8e3
bug fixed caused by #295 ( #299 )
2016-11-29 14:57:36 +08:00
Matthias Loibl
7b6cc9244d
Update link on user’s profile avatar to avatar settings ( #287 )
2016-11-28 21:29:39 +08:00
Sandro Santilli
cd339263d9
Allow updating draft releases while keeping them as draft
...
Closes #162
2016-11-14 18:02:21 +01:00
Lunny Xiao
b339858500
replace footer gogs to gitea ( #157 )
2016-11-12 09:32:43 +01:00
Andrey Nering
96c9fef35f
Update home page to Gitea ( #138 )
2016-11-11 08:50:31 +08:00
Matthias Loibl
63ca42d17f
Fix bug that tries to load mistyped templates
2016-11-10 11:54:20 +01:00
Lunny Xiao
1b238fe4d5
Merge pull request #121 from joubertredrat/feature-last-login
...
Last Login for admin manage your users
2016-11-10 17:20:55 +08:00
Joubert RedRat
f91cbf0fed
Support to last login feature
2016-11-09 08:53:45 -02:00
Matthias Loibl
45c4539c61
Merge pull request #17 from LefsFlarey/issue/3666
...
Fixed 404 caused by unexpected question mark
2016-11-08 18:27:59 +01:00
Flare
01c5233b53
Fixed 404 caused by unexpected question mark
...
This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
2016-11-08 22:09:48 +08:00
Lunny Xiao
5667d4daae
Merge pull request #73 from bkcsoft/gt/2164-release-pagination
...
Add Pagination to Releases-page (and de-duplicate pagination templates)
2016-11-08 10:39:03 +08:00
Thomas Boerger
ceb920802a
Dropped link to Gogs docs from template
2016-11-07 14:49:25 +01:00
Kim "BKC" Carlbäcker
562f9b6eae
Merge all pagination-templates into 'base/paginate'
...
to reduce code-duplicity
2016-11-07 12:44:29 +01:00
Kim "BKC" Carlbäcker
86fb1a0cb1
Add Pagination to Releases-page
2016-11-07 11:41:09 +01:00
Rachid Zarouali
be5607e510
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
...
Disable HTTP cloning
2016-11-07 11:23:30 +01:00
Joubert RedRat
ff54e4d929
Set default less and css to new default name
2016-11-04 08:53:18 -02:00
Rémy Boulanouar
8dc49dc114
Implementation of the feature to redirect to an external issue tracker
2016-11-04 09:06:54 +01:00
Thibault Meyer
17f9ab4ff8
Use user fullname if resolved
2016-11-04 08:13:14 +01:00
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
2016-11-03 10:29:56 -02:00
Thibault Meyer
93f1eabe30
rename variable + fix wiki link
2016-10-04 18:58:14 +02:00
Thibault Meyer
9d66497abc
Can disable GIT interactions by HTTP protocol
2016-09-18 10:54:33 +02:00
Unknwon
7e15ff9486
Update locales
...
Add new locale Serbian (Cyrillic)
2016-09-15 20:03:36 -04:00
Unknwon
491407ddf8
#3590 fix 404 for release draft edition
...
Closes #3591
2016-09-03 06:00:59 -04:00
Unknwon
6da55159a2
#3589 LoadRepoConfig after ORM is initialized
2016-09-02 23:18:37 -04:00
Unknwon
c50d59874d
#3577 incorrect URL produced by AvatarLink
2016-09-01 12:36:26 -04:00
Daniel Oaks
b3d9ca4ccd
Add the ability to explore organizations ( #3573 )
...
* Add ability to explore organizations
* Use right icon for org explore links
2016-09-01 09:08:05 -04:00
raphael10241024
178556142a
fix link error under preview ( #3566 )
2016-09-01 06:01:27 -04:00
Unknwon
7c1fbed057
Fix panic when attempt login with non-exist user
2016-09-01 05:12:34 -04:00
Thibault Meyer
bc902b8f74
Feature #3492 : Add option to hide footer load times ( #3562 )
...
* Add option to hide footer load times
* Rename option variable + minor changes
2016-09-01 01:01:32 -04:00
Unknwon
8ee14db51e
Update locales
2016-09-01 00:35:04 -04:00
Unknwon
dadd35b636
#3559 fix template error
2016-08-31 13:59:23 -07:00
Unknwon
152e715999
models/login_source: code improvement
2016-08-31 01:22:41 -07:00
无闻
cd9b926af7
Support Editorconfig on web editor ( #3512 )
2016-08-30 16:47:22 -07:00
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
2016-08-30 20:30:47 -03:00
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
2016-08-30 16:18:33 -07:00
Unknwon
22e14a0a67
templates/repo/view: fix bad link
2016-08-30 13:59:41 -07:00
Unknwon
643142acab
Web editor: support upload files
2016-08-30 05:23:59 -07:00
Unknwon
780cc2d110
router/repo: code refactoring
2016-08-30 02:08:38 -07:00
Unknwon
28cf0e6aaa
#3459 code quality improvement
2016-08-29 20:00:06 -07:00
Thibault Meyer
92fb30c526
Load a set of predefined labels ( #3459 )
...
* Can use a predefined set of labels
* Change UI
* Fix HTML file indentation
* Avoid reading file from other directory (security issue)
* Apply a better fix
* Remove not used variable
* Merge upstream/develop
* Do modifications
* Raname
* remove binding + rename variable
2016-08-29 19:02:49 -07:00
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
2016-08-29 00:10:21 -07:00
Unknwon
579e5e4fee
Web editor: disallow edit mirror repository
2016-08-28 04:56:41 -07:00
Unknwon
ba27d71abe
Web editor: improve edit file
2016-08-28 04:31:42 -07:00
Unknwon
0114fdcba4
Web editor: improve delete file process
2016-08-28 01:41:44 -07:00
Unknwon
dad5c15520
#2901 allow setting preferred licenses
...
- Closes #3488
2016-08-28 00:06:22 -07:00
Unknwon
6e171c5225
Web editor: improve edit file tooltip
2016-08-27 15:25:01 -07:00
Unknwon
c30b856d14
#3505 use user’s info for committer and author
2016-08-27 13:37:55 -07:00
Unknwon
13a8823bd3
#3495 only start builtin SSH server after user finish installation
2016-08-27 12:25:22 -07:00
Unknwon
bbca2916f7
Update highlightjs
2016-08-27 11:56:20 -07:00
Unknwon
bb359a74f1
migrations: set comment updated as created
2016-08-26 14:07:21 -07:00
Unknwon
6b98d58906
#2966 code cleanup
2016-08-26 13:40:53 -07:00
Unknwon
f8a48ffaad
Web editor: improve code quality
2016-08-24 21:35:03 -07:00
Unknwon
0b273ac4d5
#3383 code cleanup
2016-08-24 16:05:56 -07:00
Unknwon
7f7216be6e
Code quality improvement on JS
2016-08-17 22:44:07 -07:00
Unknwon
a00c932bbc
General code quality improvement
2016-08-16 23:06:38 -07:00
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
2016-08-16 10:19:09 -07:00
Unknwon
9349def72e
#3464 reproduce diff signs
...
Commited wrong file.
2016-08-16 07:33:53 -07:00
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
2016-08-15 18:40:32 -07:00
Unknwon
61e27dedf7
#3466 fix response of pull request form validation error
2016-08-15 14:04:44 -07:00
Unknwon
8637e67e6f
Fix outdated edit can’t overwrite changes
2016-08-15 02:06:35 -07:00
Unknwon
4a19fd6441
Web editor: temporarily disable upload and quick fix for edit and new
...
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
2016-08-15 01:42:20 -07:00
Unknwon
54e0ada9d5
Web editor: improve delete file
2016-08-14 23:52:24 -07:00
Unknwon
cd89f6c502
Web editor: improve edit file and diff preview
2016-08-14 23:52:24 -07:00
Unknwon
15845cb287
Code clean up for new config options
2016-08-14 23:52:24 -07:00
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
commit 0afcb843d7ffd596991c4885cab768273a6eb42c
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb495478225b02d613e647f99a1489634
Merge: fd3d86c c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742f25f8412879c9fa15e18f27f42f194
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef
Merge: 889e9fa ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1bd8559a4979c8f46005d488c1a234d4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf223f147b114be65f3bd27bc1e88827a5
Merge: bb57912 cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb5791255867a71c11a77b639db050ad09c597a4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51039be19e2af9c66c63db66a9f2ec6d
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a34982025144e3225e389f7849eb6273c1d576
Merge: fa1b752 1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be29cd455c5184ddac2ffe80b3489763e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
2016-08-14 23:52:24 -07:00
Unknwon
7e7613cdec
Fix template nil error
2016-08-14 23:43:13 -07:00
Unknwon
a5b88c4d0c
Fix template error [CI SKIP]
2016-08-14 16:45:15 -07:00
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
2016-08-14 04:17:26 -07:00
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
2016-08-14 03:32:24 -07:00
Unknwon
0f33b04c87
Add subcommand to create new user in CLI
2016-08-13 16:11:52 -07:00
Justin Ray Vrooman
f1a5a4277d
fix grammar + typo. ( #3453 )
2016-08-12 17:06:07 -07:00
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
2016-08-11 17:07:09 -07:00
Andrey Nering
25b23c4bc9
Do not show non-image attachment in a <img> tag. Fixes #3215 ( #3311 )
2016-08-11 16:16:36 -07:00
Unknwon
a47aef5460
#2852 code cleanup
2016-08-11 14:55:10 -07:00
Unknwon
5077408d78
#3233 code cleanup and minor issue fix
2016-08-11 10:53:51 -07:00
Andrew
0885784f13
Wiki mirroring implementation ( #3233 )
...
* Implement wiki mirroring, add Update mirrors operation to admin dashboard
* bindata.go update after merge
* Implement checking Git repo endpoint existence, support for BB included
* Remove admin dashboard operation
Fix bindata.go
* Apply gofmt to repo model file
* Try to remove bindata from PR
* Revert accepted wiki names change in favor of better system
* Remove unused imports
2016-08-11 10:18:51 -07:00
Sandro Santilli
3380c946e1
Always set redirect_to on header-provided sign-in ( #3435 )
...
This is an attempt to fix #3089 following the strategy introduced
in d625e41c6c
, although that strategy
by itself does not seem to be sufficient.
What needs be done is honouring the redirect_url query parameter
from the auth router.
2016-08-11 10:14:39 -07:00
Unknwon
d625e41c6c
#3408 minor code fix
2016-08-11 07:41:01 -07:00
Sandro Santilli
eb1bfe0e59
Do not show the "Sign up for free" button in issue tracker ( #3408 )
...
* Do not show the "Sign up for free" button in issue tracker
The "Sign in to comment" link is good enough and will correctly
show or not show the "Sign Up" button link for those not having
an account already.
Fixes #3407 (link to nowhere when registration is disabled)
* Move html from translation to template
* Remove extra space in `{{ .SignInLink }}`.
2016-08-11 07:36:23 -07:00
Unknwon
0f26f3678a
#3279 use doer email for FROM field of issues
2016-08-11 06:17:45 -07:00
Thibault Meyer
6a81632e36
Fix typo CacheInternal -> CacheInterval ( #3432 )
2016-08-11 05:59:11 -07:00
Unknwon
b85927e488
#3091 show Git configs on admin panel
2016-08-10 11:01:42 -07:00
Unknwon
5448d29b2e
#3417 wrong dashboard issue count for create by you
2016-08-09 23:19:52 -07:00
Unknwon
edd786446c
#3158 skip RUN_USER check on Windows
2016-08-09 17:41:18 -07:00
Unknwon
f70343660d
Little code refactoring
2016-08-09 12:56:00 -07:00
Rory McNamara
c8b45ecc27
Render the Code view on the server (minus syntax highlighting) ( #2942 )
...
* render code view server side
* remove debug print
* fix multiline selection bug
* change string concatenation to bytes.Buffer for efficiency
* Fix newlines added by previous for hljs
* fix selection highlighting
* make css changes in .less
2016-08-09 12:35:20 -07:00
Unknwon
9e8a8867ea
#3325 use correct word for .gitignore
2016-08-09 12:16:21 -07:00
Unknwon
bbe866122d
#3406 fix regression of MustEnableIssues check
2016-08-09 09:39:55 -07:00
Unknwon
90af997fec
#3399 500 for upstream pulls page if user has forked repository
2016-08-08 13:02:55 -07:00
Unknwon
b73318bc62
Fix 404 when comment on pulls and not using interal issue tracker
2016-08-08 11:29:50 -07:00
Unknwon
e5bf4281b5
#2825 early response 200 when ?go-get=1
2016-08-07 14:29:16 -07:00
Unknwon
99385db0c4
#3320 code cleanup
2016-08-07 11:01:47 -07:00
Sandro Santilli
90dd0657b5
Add support for federated avatars ( #3320 )
...
* Add support for federated avatars
Fixes #3105
Removes avatar fetching duplication code
Adds an "Enable Federated Avatar" checkbox in user settings
(defaults to unchecked)
Moves avatar settings all in the same form, making
local and remote avatars mutually exclusive
Renames UploadAvatarForm to AvatarForm
as it's not anymore only for uploading
* Run gofmt on all modified files
* Move Avatar form in its own page
* Add go-libravatar dependency to vendor/ dir
Hopefully helps with accepting the contribution.
See also #3214
* Revert "Add go-libravatar dependency to vendor/ dir"
This reverts commit a8cb93ae640bbb90f7d25012fc257bda9fae9b82.
* Make federated avatar setting a global configuration
Removes the per-user setting
* Move avatar handling back to base tool, disable federated avatar in offline mode
* Format, handle error
* Properly set fallback host
* Use unsupported github.com mirror for importing go-libravatar
* Remove comment showing life exists outside of github.com
... pity, but contribution would not be accepted otherwise
* Use Combo for Get and Post methods over /avatar
* FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR
* Fix persistance of federated avatar lookup checkbox at install time
* Federated Avatars -> Enable Federated Avatars
* Use len(string) == 0 instead of string == ""
* Move import line where it belong
See
https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md
Pity the import url is still the unofficial one, but oh well...
* Save a line (and waste much more expensive time)
* Remove redundant parens
* Remove an empty line
* Remove empty lines
* Reorder lines to make diff smaller
* Remove another newline
Unknwon review got me start a fight against newlines
* Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE
On re-reading the diff I figured what Unknwon meant here:
https://github.com/gogits/gogs/pull/3320/files#r73741106
* Remove newlines that weren't there before my intervention
2016-08-07 10:27:38 -07:00
Unknwon
ec92565f23
#3393 fix missing sub-url prefix in relative avatar link
2016-08-07 10:13:05 -07:00
Unknwon
72dd299ca0
Update .gitattributes
2016-08-06 10:36:40 -07:00
Unknwon
ab9c5fb5e7
#2593 allow render raw content
...
Use URL query parameter render=1 to render content in raw mode.
2016-08-05 18:34:13 -07:00
rugk
28dc5bb566
Replace gogs.io http links with https version ( #3386 )
2016-08-05 17:35:40 -07:00
Unknwon
cf6d321991
Ignore repository with issue disabled or use external tracker in dashboard issues
2016-08-05 12:46:26 -07:00
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
2016-08-05 12:12:54 -07:00
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
2016-08-04 16:32:02 -07:00
Unknwon
e7fd65f0cf
#3290 better code structure and batch minor improvements
2016-08-03 11:51:22 -07:00
Unknwon
991ce42c48
#2162 improve repository advance options UI display
...
Enable/disable input based on user chosen options for wiki and issue tracker.
2016-07-31 01:26:43 +08:00
Unknwon
10dc330640
#3345 dump content directly to HTTP ResponseWriter
2016-07-30 23:39:58 +08:00
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
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.
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
xDShot
d8738f5bfd
минимальные -> низкие (системные требования)
2016-03-06 22:59:49 +03:00
Unknwon
9cf7f3e46f
Remove duplicated of code
2016-03-06 14:44:22 -05:00
Lourens
14aba3489e
Add ru-RU to home template
2016-03-06 22:22:41 +03:00
Unknwon
13bd16af92
Minor fixes for #2766
2016-03-06 13:24:42 -05:00
Tamás Molnár
9c91e27933
Added: Ability to delete org avatar.
2016-03-06 17:36:30 +01:00
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
2016-03-05 20:45:23 -05:00
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.
2016-03-05 18:08:42 -05:00
Unknwon
414eb22ef9
#1597 fix activitity feeds for pull requests
2016-03-05 12:58:51 -05:00
Steven Oud
1d3ec27cb7
Put if statement of grey merge commits on one line
2016-03-05 17:59:07 +01:00
Steven Oud
a0cd59bd0e
Grey out merge commits
2016-03-05 17:00:38 +01:00
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
2016-03-05 00:51:51 -05:00
Unknwon
dfd6f8f7ab
Merge pull request #2757 from joshfng/fix-fork-relative-url
...
Use relative url when showing forked from
2016-03-04 18:37:42 -05:00
Josh Frye
275464e7fb
Use relative url when showing forked from
2016-03-04 18:32:30 -05:00
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
2016-03-04 15:43:01 -05:00
Unknwon
9df6ce48c5
Minor fixes for #2746
2016-03-04 13:32:17 -05:00
Unknwon
4d5911dbcf
Merge pull request #2746 from joshfng/feature-delete-wiki-pages
...
Add ability to delete single wiki pages.
2016-03-04 13:14:37 -05:00
Unknwon
d57a2b908a
#2743 and #2751 fix bad SQL generated by XORM
...
Use hand-written SQL to do complex query
2016-03-04 13:08:47 -05:00
Josh Frye
2f228ddf31
Update delete wiki page route
2016-03-04 09:26:52 -05:00
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
2016-03-04 09:26:52 -05:00
Unknwon
f6759a731a
#2748 fix redirect loop with auto-signin
2016-03-04 09:15:11 -05:00
Unknwon
dfbda48afc
Merge pull request #2738 from andreynering/emogify
...
Render emojis in more places.
2016-03-03 23:38:20 -05:00
Unknwon
260723e2cc
Minor fixes for #2745
2016-03-03 23:24:22 -05:00
Josh Frye
f3358f5927
Repo setting to delete and disable wiki
2016-03-03 16:12:48 -05:00
Unknwon
f946040fa9
#1891 attempt to fix expected invalid CSRF token
...
- Remove unused config settings `[picture] service`
2016-03-03 15:09:43 -05:00
Unknwon
c9901bbba5
#2743 workaround to fix XORM problem
2016-03-03 10:57:27 -05:00
Andrey Nering
13e71acadf
Render emojis in more places.
2016-03-02 21:54:05 -03:00
Unknwon
97429a25ab
#2727 make IN clause compatible with Postgres
2016-03-01 14:39:28 -05:00
Unknwon
9e89584cb4
Allow setting git operations timeouts
...
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
2016-02-29 19:29:49 -05:00
Unknwon
ea80274229
#2700 fix sqlite3 can't create issue with more than one label
2016-02-29 18:45:12 -05:00
Unknwon
42a556a082
Merge pull request #2722 from chriswatt/hidewikidlbutton
...
Hide the download archive button when viewing wiki pages
2016-02-29 13:36:22 -05:00
chriswatt
a71a5bfeb4
Remove download archive button on wiki pages
2016-02-29 15:45:55 +00:00
chriswatt
548440b48f
Change colour of numbers on pull request tabs if greater than zero
2016-02-28 23:27:41 +00:00
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
2016-02-27 20:48:39 -05:00
Unknwon
d320915ad2
Minor fix for #2710
2016-02-27 11:31:24 -05:00
Lukas Dietrich
c0eaae200e
Add ForegroundColor for labels
2016-02-27 13:59:11 +01:00
Unknwon
129638117f
#2697 fix panic when close issue via commit message
2016-02-25 14:17:55 -05:00
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.
2016-02-25 00:21:48 -05:00
Unknwon
baaf6046a1
Minor fix for #2660
2016-02-24 23:59:17 -05:00
Josh Frye
c27038e392
Test mailer button. Addresses #1531
2016-02-24 09:48:05 -05:00
Unknwon
72ce06eab8
#2682 fix missing slash for go-get meta
2016-02-23 00:12:04 -05:00
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
2016-02-22 12:40:00 -05:00
Unknwon
c9516c4c60
Fix wrong place to check disable SSH
2016-02-21 21:55:59 -05:00
Andrey Nering
d160c7e565
Little refactoring of diff highlight.
...
Moving cache variable to template instead of in the struct.
2016-02-21 18:45:24 -03:00
Unknwon
7140dbac95
Fix #857
2016-02-20 15:10:34 -05:00
Unknwon
acf094fb07
Minor fix for #2634
...
Add AttributesInBind option in new auth source form.
2016-02-20 14:56:27 -05:00
Unknwon
7e0baf4136
Merge pull request #2634 from nanoant/patch/ldap-attributes-in-bind
...
LDAP: Fetch attributes in Bind DN context
2016-02-20 14:44:21 -05:00
Unknwon
a703f7d7b4
Merge pull request #2647 from andreynering/issue-template
...
Implement issue and pull request templates
2016-02-20 14:12:15 -05:00
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.
2016-02-20 14:12:32 +01:00
Unknwon
b7f3d94cd0
Minor fix for #2524
2016-02-19 22:16:26 -05:00
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.
2016-02-19 17:39:50 -05:00
Unknwon
2408df3f35
Merge pull request #2663 from Download-Fritz/MirrorForks
...
#2505 Allow to fork and disallow to create PRs for mirrors.
2016-02-19 15:04:50 -05:00
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
2016-02-19 20:33:06 +01:00
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
2016-02-18 21:21:30 -02:00
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.
2016-02-17 22:47:06 -05:00
Unknwon
d5ca913b2f
#2639 add branch prefix for test webhook
2016-02-17 15:05:07 -05:00
Unknwon
3af1d3c581
#2633 fix removed config option
2016-02-16 13:27:02 -05:00
Unknwon
632c27802c
Minor fix for #2624
2016-02-15 14:57:15 -05:00
Unknwon
dc89c51f3e
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
...
Convert mirrors to regular repositories
2016-02-15 14:26:21 -05:00
Unknwon
58e004f7da
Remove cache avatar support and add its tests
2016-02-14 23:14:55 -05:00
Unknwon
aa5e837c65
fix #2454
2016-02-14 20:26:49 -05:00
Unknwon
a1d97e8f5c
Minor fix for #2567
2016-02-14 20:07:42 -05:00
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.
2016-02-14 19:42:38 -05:00
chriswatt
d710b5e791
Fix when repo is empty
2016-02-14 23:26:47 +00:00
chriswatt
c47866b34a
Add grey bg to tabs on repo page
2016-02-14 23:09:33 +00:00
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
2016-02-14 22:40:39 +01:00
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
2016-02-14 21:12:00 +01:00
Josh Frye
8ab5399e83
Make log path required
2016-02-12 10:10:02 -05:00
Josh Frye
ec478b4b06
Set default log path if empty during install
2016-02-12 10:03:04 -05:00
Josh Frye
1feecd6beb
Add helper text for log path.
2016-02-12 09:24:09 -05:00
Josh Frye
a3e8c32a30
Add install option for log path
2016-02-12 09:19:45 -05:00
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.
2016-02-10 15:21:39 -05:00
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
2016-02-08 17:03:18 -02:00
chriswatt
af8e323248
Fix tab index on new issue/comment form
2016-02-07 22:14:33 +00:00
Unknwon
b09ddc72d2
Merge pull request #2581 from chriswatt/committab
...
Make commits tab active when on diff page
2016-02-07 15:37:22 -05:00
chriswatt
a881f776d0
Make commits tab active when on diff page
2016-02-07 20:11:25 +00:00
Unknwon
ee53204e02
Improve db path prompt when install
2016-02-07 11:51:53 -05:00
Unknwon
f15a2f9b25
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
...
Enable syntax highlighting on diff view
2016-02-07 11:49:11 -05:00
Unknwon
f8182ac521
#2558 delete local wiki copy when rename repo and user
2016-02-05 14:11:53 -05:00
Unknwon
8e40f86d2c
#2556 handle space in image URL
2016-02-04 22:51:40 -05:00
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
2016-02-04 18:21:47 -02:00
Unknwon
04be8c0de5
#2554 reinitialize all repos from the db
...
- Update locales
2016-02-04 12:51:00 -05:00
Unknwon
a47baa1b7a
Add missing patch conflit pattern
2016-02-03 12:28:03 -05:00
Unknwon
5a27aea8e0
Fix random avatar does not work on Windows
...
path.Dir can't handle Windows case, must use filepath.Dir
2016-02-02 10:22:27 -05:00
Unknwon
1c74612b3c
Minor fix for #2444
2016-02-01 20:55:12 -05:00
Unknwon
d3ba246693
Merge pull request #2444 from bkcsoft/feature/participants
...
Implemented participant-listing for issue-pages (Fixes #2377 )
2016-02-01 20:31:54 -05:00
Unknwon
66d2ba1b4e
Merge pull request #2537 from fnkr/remember-clone-protocol
...
Remember last selected clone protocol
2016-02-01 15:58:01 -05:00
Unknwon
3abad75a1b
Fix one user may block entire listen loop for builtin SSH
2016-02-01 12:10:49 -05:00
Florian Kaiser
d568019306
Remember last selected clone protocol, and establish uniform order (https, ssh)
2016-02-01 17:04:58 +00:00
Unknwon
5d192c2ebf
Merge pull request #2533 from fnkr/icon-fork-private-collision
...
Use icon repo-forked instead of repo-lock for private, forked repos
2016-01-31 19:41:21 -05:00
Florian Kaiser
29c3e9f428
Undo change in templates/explore/repo_list.tmpl
2016-01-31 21:59:18 +00:00
Florian Kaiser
532f9fdd99
Use icon repo-forked instead of repo-lock for private, forked repos
2016-01-31 20:41:57 +00:00
Unknwon
4848620594
#2229 adjust URL verbose depth for reverse proxy sub-path
2016-01-31 15:38:20 -05:00
Unknwon
57c10aae33
Merge pull request #2531 from andreynering/home-template-pt-BR
...
Add portuguese-BR to home template.
2016-01-31 15:10:21 -05:00
Andrey Nering
0e0cd9100b
Add portuguese-BR to home template.
2016-01-31 17:58:51 -02:00
Unknwon
a9d68a6884
fix #2529
2016-01-31 13:33:36 -05:00
Unknwon
8436d69eaf
Update and reorganize front-end resources
2016-01-30 22:10:20 -05:00
Unknwon
112a7cab31
#2497 incorrect error handle for team name
2016-01-29 17:06:14 -05:00
Unknwon
ee814bf8d6
#2491 minor fix for sr on dashboard
2016-01-29 15:28:24 -05:00
Unknwon
566163ab82
Merge pull request #2502 from bkcsoft/fix/split-view-diff
...
Split view fixed
2016-01-28 10:11:45 -05:00
Unknwon
4deb876343
Minor fix for #2494
...
- Change tooltip size from mini to tiny in profile page
2016-01-28 06:07:16 -05:00
Kim "BKC" Carlbäcker
96dee1c354
Split view fixed
2016-01-27 23:52:42 +01:00
Andrey Nering
5deb726f3f
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
2016-01-27 18:54:08 -02:00
Kim "BKC" Carlbäcker
b921161666
Name popup
2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker
2cc1ee3fc0
Implemented participant-listing for issue-pages
2016-01-26 17:55:54 +01:00
Unknwon
86f841dd71
Merge pull request #2433 from xxxtonixxx/develop
...
To add spanish translation to home template
2016-01-26 03:11:54 -05:00
Unknwon
7ca1821725
fix #2416
2016-01-26 02:00:16 -05:00
Unknwon
e33ddac9bf
Minor fix for #2396
2016-01-25 14:04:46 -05:00
Toni Villena
1105a3139f
Add es-ES to home template
2016-01-18 17:49:17 +01:00
Unknwon
7ef9a05588
#2179 use Go sub-repo ssh to verify public key content
2016-01-15 18:39:51 +08:00
Unknwon
c631a4a9b9
URL fix for #2287
2016-01-15 18:00:39 +08:00
Unknwon
dccfadf7b8
hide section with user has no organizations
2016-01-14 21:29:25 +08:00
Unknwon
d1675c2701
fix CSS of branch dropdown when view commits under revision
2016-01-14 21:27:36 +08:00
Unknwon
29b07693dd
minor fix to #2383
...
- add tooltip for organization name in profile
2016-01-14 21:21:56 +08:00
Unknwon
f75b5f4287
Merge pull request #2383 from exmex/develop
...
Added organization display on profile
2016-01-14 21:07:17 +08:00
ExMex
40413c5c6c
Added improvement from Unknwon
2016-01-14 11:48:24 +01:00
Adam Strzelecki
41fdaabcf7
commit.RefUrl expects AppUrl argument
...
This is fixup for ea375c0dcc
. The bug was not
visible because commit.RefUrl was always returning empty url due regression
described in https://github.com/gogits/git-module/pull/4
2016-01-13 19:09:50 +01:00
ExMex
53a63de9dc
Added links to org profile icons
2016-01-12 03:19:46 +01:00
ExMex
f610bfa8a2
Added organization display on profile
...
Fixed "Follower" Icon too big
2016-01-12 03:09:59 +01:00
Unknwon
fc4a4d38d1
Merge pull request #2381 from philippechataignon/develop
...
Add fr-FR to home template
2016-01-11 23:59:45 +08:00
Philippe Chataignon
939d96813c
Add fr-FR to home template
2016-01-11 13:55:52 +01:00
Unknwon
f43cc90841
#2287 Truncate repository name if too long
2016-01-11 20:41:43 +08:00
Unknwon
91bab801aa
#2349 try to handle []int8 case
2016-01-11 14:34:32 +08:00
Unknwon
86bce4a2ae
minor fix to #2335
2016-01-09 14:51:17 +08:00
Unknwon
21d7b5acaf
fix #2367
2016-01-09 14:45:06 +08:00
Unknwon
bcf6aed452
Merge pull request #2335 from andreynering/highlight-diff
...
Highlight diff
2016-01-09 13:39:18 +08:00
Unknwon
cc8c67ff29
fix markdown autolink error
2016-01-09 10:59:04 +08:00
Unknwon
03427fb005
fix #2360
2016-01-08 08:49:03 +08:00
Unknwon
e0f0f72a36
#2345 disallow access of some pages for empty repo
2016-01-07 11:07:17 +08:00
Unknwon
ca35ddd078
fix #2350
2016-01-07 09:24:19 +08:00
Andrey Nering
81ed5c4bee
Declaring specific types for enums constants.
...
This makes the code more strict since you can't assign or compare
values of different types without proper cast.
2016-01-06 18:00:40 -02:00
Andrey Nering
73474c043b
Highlighting differences of lines in the diff view.
2016-01-06 17:46:56 -02:00
Unknwon
cc22c8a1ae
update dep lib version requirement
2016-01-06 13:34:34 +08:00
Kim "BKC" Carlbäcker
2087156119
Removed opticon-fold
2016-01-06 02:21:20 +01:00
Kim "BKC" Carlbäcker
3870a7a3c8
merged split/unified templates
2016-01-06 00:08:50 +01:00
Kim "BKC" Carlbäcker
8fe5d887ae
Changed name from inline to unified
2016-01-05 19:21:50 +01:00
Kim "BKC" Carlbäcker
4e6d048ba1
i18n-fix for split-view
2016-01-05 19:21:49 +01:00
Kim "BKC" Carlbäcker
0df39b33eb
Implement Split Diff-View
...
- Unified/Inline Diff-View Selectable
2016-01-05 19:21:41 +01:00
Unknwon
7392b6a755
fix #2327
2016-01-05 12:43:19 +08:00
Unknwon
4993ab1a76
#2185 fall back to use custom chardet lib
2015-12-31 22:13:47 -05:00
Unknwon
8d58e06ad8
more fix on #2268
2015-12-30 18:47:32 -05:00
Unknwon
b8fbf6559d
Merge pull request #2294 from joaopms/patch-1
...
Fix the description on head.tmpl
2015-12-27 17:28:25 -05:00
Unknwon
44637f03cc
#2282 fast detection of utf-8
2015-12-27 17:02:36 -05:00
João Pedro
7bab3d682f
Lowercase "Service"
2015-12-27 18:53:52 +00:00
João Pedro
34f01aab5e
Update head.tmpl
2015-12-27 18:44:18 +00:00
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
2015-12-25 05:45:07 -05:00
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
2015-12-25 05:25:47 -05:00
Unknwon
13fe733037
#2264 use monospaced font for commit IDs in news feeds
2015-12-24 20:43:45 -05:00
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
2015-12-21 04:24:11 -08:00
Unknwon
c62a6b7a12
#2014 allow switch branches between two orgs in compose PR
2015-12-20 01:06:54 -05:00
Unknwon
cadf03db68
#2180 fix avatar link when disable gravatar
2015-12-19 22:21:00 -05:00
Unknwon
5ff6eedf5e
#2251 fix button name
2015-12-19 22:07:06 -05:00
Unknwon
53eb37d529
fix #1436
2015-12-19 21:43:32 -05:00
Unknwon
3bcdb3855c
#2250 Use HTTP/HTTPS as default clone option
2015-12-19 21:12:13 -05:00
Unknwon
2d3ecbe5b2
make mailer log more verbose
2015-12-19 02:44:34 -05:00
Unknwon
33a99d587a
fix #2223
2015-12-17 21:57:34 -05:00
Unknwon
9cd16c5b12
#1692 add organization APIs
2015-12-17 02:28:47 -05:00
Unknwon
6673dcb038
#2103 #2181 improvments of highlight class name
2015-12-16 22:13:12 -05:00
Unknwon
b117befc2b
#1692 add user email APIs
2015-12-15 22:57:18 -05:00
Unknwon
7786cb76f3
fix #2205
2015-12-15 21:32:17 -05:00
Unknwon
eb918c2368
fix only admin can view milestone desc
2015-12-15 21:25:38 -05:00
Unknwon
3362b3a44f
fix possible disclosure
2015-12-14 17:06:54 -05:00
Unknwon
50264200f0
fix huge diff hangs
2015-12-14 09:38:21 -05:00
Unknwon
91789930bc
#2176 fix 500 on /watchers & /stars for pg
2015-12-14 02:40:23 -05:00
Unknwon
ea375c0dcc
new template func
2015-12-13 23:16:58 -05:00
Unknwon
7509fa2c33
improve get commits performance
2015-12-13 22:58:12 -05:00
Unknwon
95f9c85bcc
#2185 use Go sub-repo to detect encoding
2015-12-13 19:56:33 -05:00
Unknwon
79dcd7ee6e
#2167 able to identify git version on Windows
2015-12-13 18:20:39 -05:00
Unknwon
71123c816d
update hightlight.js
2015-12-13 00:58:30 -05:00
Unknwon
351dfc95a9
prepare release
2015-12-12 21:58:54 -05:00
Unknwon
837155577a
#2159 use icon+tooltip to replace text
2015-12-12 16:53:16 -05:00
Unknwon
4108c12092
#2156 add edit org link in admin panel
2015-12-12 15:47:59 -05:00
Unknwon
59c965a5ec
#2156 admin able to edit organization max repo creation
2015-12-11 19:24:57 -05:00
Unknwon
d0b0d24f22
#2154 disable change user for non-local users
...
- #2153 remove require for gravatar
2015-12-11 15:31:02 -05:00
Unknwon
40f3142264
#2114 External URL for wiki
2015-12-11 04:55:08 -05:00
Unknwon
2a8d71367d
#2029 not show content of issue in activity timeline
2015-12-10 19:13:51 -05:00
Unknwon
3d5d61778a
#1938 #1374 disable password change for non-local users
2015-12-10 19:02:57 -05:00
Unknwon
99e9bbef6c
fix bool check for repo max limit and fix hang when push repo with tons of commits
2015-12-10 16:27:47 -05:00
Unknwon
2a0bb1fa90
#1575 Limit repo creation
2015-12-10 12:37:53 -05:00
Unknwon
c6083c335e
#1612 Ability to send mail when a new pull request is submitted
2015-12-10 11:18:56 -05:00
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
2015-12-09 20:46:05 -05:00
Unknwon
fa5e372f75
Merge pull request #2138 from SlavikZ/master
...
LDAP parameters UI: bind_dn and bind_password are not required
2015-12-09 16:47:03 -05:00
SlavikZ
a19aaa439d
LDAP parameters UI: bind_dn and bind_password are not required
2015-12-09 21:02:19 +02:00
Unknwon
c3440c4dd3
#2035 Show author e-mail in commit diff
2015-12-09 11:46:39 -05:00
Unknwon
718d3ae258
#1943 Able to config fsck timeout
2015-12-09 11:38:12 -05:00
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
2015-12-09 11:24:56 -05:00
Angus Gibson
df05134494
Break branch-selection dropdown into a template
...
We only handle branch selection for repo home and commits pages, so the
redirection URL is based on PageIsCommits
2015-12-09 17:15:58 +11:00
Angus Gibson
9bd3ebe207
Dropdown on commits page to choose branch #1846
...
I've mostly duplicated the dropdown code from repo/home.tmpl, which
basically only required a change to the URL. This could probably be
broken out into something more modular.
2015-12-09 16:37:04 +11:00
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
2015-12-09 00:32:53 -05:00
Angus Gibson
06d293a84e
Only show comparison link for >2 commits #1110
...
We can look at the PushCommits object to see how many commits were
included in a commit, and add some template logic to only show the
comparison link when there are at least 2 commits in a push. We also
correct the link to display the number of commits.
2015-12-09 14:36:39 +11:00
Unknwon
120cd4e471
#1984 Better mirror repo management
2015-12-08 20:06:12 -05:00
Unknwon
2528c482e9
#1627 auto login after install if admin is configured
2015-12-08 00:59:14 -05:00
Adam Strzelecki
da2585c11e
Indent all templates with tabs
...
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
2015-12-08 00:57:46 +01:00
Unknwon
dce2a9e7e1
fix wrong slack webhook payload URL
2015-12-06 23:07:02 -05:00
Adam Strzelecki
e2ca53029e
Render commit msg as header + verbatim description
...
Most commit in Git are expected to follow standard of single header line,
followed by description paragraphs, separated by empty line from previous block.
Previously Gogs were treating everything as single header. Now we are trying to
render only first line as header, but following lines (description chunks) as a
verbatim.
2015-12-07 01:50:45 +01:00
Unknwon
89244b74c6
remember page number when delete repo
2015-12-05 17:49:46 -05:00
Unknwon
ca8ce793d1
#2063 Ability to delete repo from admin panel
2015-12-05 17:39:29 -05:00
Unknwon
404867f206
fix #2105 and fix #1857
2015-12-05 13:24:13 -05:00
Unknwon
f0ee33267c
fix #2102
2015-12-05 11:46:42 -05:00
Unknwon
f41360d864
#2052 advanced select ops for system notices
2015-12-05 01:09:14 -05:00
Unknwon
1ee7c33e93
template fix
2015-12-04 21:32:33 -05:00
Unknwon
e538ff2770
fix #1829 and fix #890
2015-12-04 21:30:33 -05:00
Unknwon
4795fa01d8
fix #2101
2015-12-04 17:30:32 -05:00
Unknwon
56dd430a10
refactor API routes and some work for #976
2015-12-04 17:16:42 -05:00
Adam Strzelecki
edbb67cb3f
UI: Use more subtle grey SHA1 labels
...
Current green SHA1 labels are more pronounced than other UI elements attracting
attention as if they were most important thing in the UI, while they are not as
important, especially without real Git client.
Using grey SHA1 labels makes the UI more balanced, less aggressive and lets
user to focus on other content elements.
NOTE: Neither GitHub or Bitbucket uses so heavy pronunciation as Gogs.
2015-12-03 14:21:20 +01:00
Unknwon
cc8f5add6e
fix #976
2015-12-03 00:24:37 -05:00
Unknwon
ec2423ad7c
more UI minor fixes
2015-12-02 20:56:26 -05:00
Unknwon
c4bab163cb
Merge pull request #2088 from nanoant/patch/further-layout-fixes
...
Further layout fixes
2015-12-02 20:26:48 -05:00
Adam Strzelecki
2580e7b57e
UI: Always show menu on repo pages
...
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
2015-12-03 02:16:18 +01:00
Unknwon
3d3498bda1
clean test data
2015-12-02 20:10:47 -05:00
Unknwon
29375059e1
minor CSS fix
2015-12-02 20:10:00 -05:00
Adam Strzelecki
b73241ceb1
UI: Display last-commit header without 2nd column
...
This uses a CSS trick making first th to be relative block with width equal to
first two columns, effectively working around inability to use colspan="2" on
first row that was breaking "fixed-layout" for tables.
Also use grey header for last-commit SHA1 tag.
2015-12-03 01:15:40 +01:00
Adam Strzelecki
314664892c
UI: Keep repo URL action right of ref combo & path
...
Just use secondary menu instead custom ".head.meta", which simplifies code.
Also do not display repo URL action when we are in subdirectory or viewing a
file.
2015-12-02 23:48:36 +01:00
Adam Strzelecki
3eae4ecde7
UI: Make repository menu divide header and content
...
This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.
2015-12-02 22:40:22 +01:00
Adam Strzelecki
ec98deeb8c
UI: Keep repository settings menu button right
2015-12-02 22:06:50 +01:00
Adam Strzelecki
61fdd8c571
Commits & files UI: SUI fixed single line table
...
Instead using own ellipsis, uses Semantic UI fixed single line table which
effectively applies ellipsis to all overflowing table cells.
NOTE: File list cannot use colspan="2" for 1st "Last commit" elements,
otherwise layout breaks with fixed table.
2015-12-02 21:57:39 +01:00
Adam Strzelecki
99b958db43
UI: Mark top menu icons blue only when non-zero
2015-12-02 21:38:52 +01:00
Unknwon
926e91820a
#2071 Diff is not showing full content when has super long one line
2015-12-02 01:10:13 -05:00
Unknwon
0be8b1b1a1
#2052 Ability to batch delete system notices
2015-12-01 23:33:08 -05:00
Unknwon
5572884c6b
fix #2057
2015-12-01 20:51:31 -05:00
Unknwon
3460ec1039
update REMADE and locale
2015-12-01 19:53:19 -05:00
Adam Strzelecki
573305f3d3
LDAP: Optional user name attribute specification
...
Consider following LDAP search query example:
(&(objectClass=Person)(|(uid=%s)(mail=%s)))
Right now on first login attempt Gogs will use the text supplied on login form
as the newly created user name. In example query above the text matches against
both e-mail or user name. So if user puts the e-mail then the new Gogs user
name will be e-mail which may be undesired.
Using optional user name attribute setting we can explicitly say we want Gogs
user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail
to login 1st time, the new account will receive correct user name.
2015-12-02 00:20:14 +01:00
Unknwon
b6d2b96259
Merge pull request #2076 from Gibheer/new_mirror
...
add new mirror button to dashboard
2015-12-01 16:33:00 -05:00
Gibheer
3d54f6c0a4
add new mirror button to dashboard
...
This adds the button to create a new mirror on the dashboard at the same
place where "new repository" and "new organization" already exist.
2015-12-01 21:10:36 +01:00
Unknwon
117afe7620
Merge pull request #2069 from nanoant/patch/admin-see-all-organizations
...
Admin should be able to see all organizations
2015-11-30 21:18:33 -05:00
Unknwon
d3a5ff7b6b
fix #2042
2015-11-30 20:50:40 -05:00
Unknwon
830d000667
finish wiki
2015-11-30 20:45:55 -05:00
Adam Strzelecki
e57b2dffa4
Admin should be able to see all organizations
...
This is follow-up for 56c66ee486
allowing admin
to see private repositories, even when not being member of them.
2015-11-30 21:46:01 +01:00
Unknwon
5d1f5f32d0
wiki: finish pages
2015-11-27 02:16:12 -05:00
Unknwon
e42fcb033d
wiki: finish edit
2015-11-27 01:50:38 -05:00
Unknwon
392f3ee210
wiki: finish new
2015-11-27 00:24:24 -05:00
Unknwon
c50a3503e6
introduce git-shell
2015-11-26 17:33:45 -05:00
Unknwon
2b10fdc4dc
Wiki: UI for page new
2015-11-25 20:10:25 -05:00
Unknwon
144663a3cf
allow admin to migrate for any user/org
2015-11-25 00:55:37 -05:00
Unknwon
3ca544912f
#1944 Drop /org/ URL path prefix in organization home page
2015-11-24 19:14:00 -05:00
Unknwon
7f9598141b
fix #2020
2015-11-24 18:49:34 -05:00
Unknwon
56c66ee486
#2008 more supported git hooks
2015-11-24 16:30:47 -05:00
Unknwon
0128036514
#1681 some fixes for builtin SSH server on Windows
2015-11-23 22:32:07 -05:00
Unknwon
b2fb7e3fd2
more HTTP clone word fix
2015-11-22 13:01:42 -05:00
Unknwon
efaf60ba5a
fix #2013
2015-11-22 02:42:39 -05:00
Unknwon
52c8f69163
fix #650
2015-11-22 01:32:09 -05:00
Unknwon
b80e848d02
upgrade libs
2015-11-21 21:09:18 -05:00
Unknwon
8966750fd4
add some log
2015-11-21 19:11:57 -05:00
Unknwon
eea2e05da6
minor fix on #1694
2015-11-21 12:58:31 -05:00