Kim "BKC" Carlbäcker
e6cfccdd40
GitHub API Compliance (& linting)
8 years ago
Avelino
bea9d55da6
Fixed project name on setting module key APP_NAME
8 years ago
Bwko
4ff0db0246
Catch os... errors
8 years ago
Thomas Boerger
2932042a6d
Get rid of bin folder within makefile, enabled TiDB ( #319 )
...
* Get rid of the bin folder within the build process
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped latest make task, it is unused
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Added tidb tag to drone config
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped the cert build tag
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped useless minwinsvc build tag
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped the useless build tags from drone config
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
8 years ago
Bwko
1e9730a779
Fixes xss, clickjacking & password autocompletion
8 years ago
Thomas Boerger
b6a95a8cb3
Integrate public as bindata optionally ( #293 )
...
* Dropped unused codekit config
* Integrated dynamic and static bindata for public
* Ignore public bindata
* Add a general generate make task
* Integrated flexible public assets into web command
* Updated vendoring, added all missiong govendor deps
* Made the linter happy with the bindata and dynamic code
* Moved public bindata definition to modules directory
* Ignoring the new bindata path now
* Updated to the new public modules import path
* Updated public bindata command and drop the new prefix
8 years ago
Thomas Boerger
60e3e5b4e1
Updated bindata to latest version
8 years ago
Lunny Xiao
ec87a75c00
golint fixed for modules/auth
8 years ago
Thomas Boerger
7a92519bd7
Merge pull request #269 from lunny/lunny/golint_modules_log
...
Golint fixed for modules/log
8 years ago
Mura Li
9aaf2a6d9a
modules/process: add ExecDirEnv (next to ExecDir)
...
Add a sibling to ExecDir which is capable of specifying environment variables,
so that we can invoke `git` with GIT_INDEX_FILE, GIT_DIR, etc..
For #258
8 years ago
Lunny Xiao
94da472717
Golint fixed for modules/setting ( #262 )
...
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
3228544c31
golint fixed for modules/log
8 years ago
Thomas Boerger
e9c6053b86
Merge pull request #246 from Bwko/fix/typo
...
Fix typos
8 years ago
Thomas Boerger
32f8a38f6c
Merge pull request #254 from lunny/lunny/golint_modules_context
...
Golint fixed for modules/context
8 years ago
Thomas Boerger
3e6f363471
Merge pull request #256 from lunny/lunny/golint_modules_avatar
...
Golint fixed for modules/avatar
8 years ago
Thomas Boerger
2255a9af6a
Merge pull request #255 from lunny/lunny/golint_modules_cron
...
Golint fixed for modules/cron
8 years ago
Thomas Boerger
26ae2ff86d
Merge pull request #252 from lunny/lunny/golint_fixed_modules_httplib
...
Golint fixed for modules/httplib
8 years ago
Thomas Boerger
d39266228c
Merge pull request #251 from lunny/lunny/golint_modules_template
...
Golint fixed for modules/template
8 years ago
Thomas Boerger
7c5de1e393
Merge pull request #250 from lunny/lunny/golint_modules_markdown
...
Golint fixed for modules/markdown
8 years ago
Lunny Xiao
3c87c57d96
golint fixed for modules/avatar
8 years ago
Lunny Xiao
b47051e59b
golint fixed for modules/cron
8 years ago
Lunny Xiao
76604d8f90
fixed test build error
8 years ago
Lunny Xiao
faabc76fd6
Golint fixed for modules/context
8 years ago
Lunny Xiao
bd5ea3e222
Golint fixed for modules/httplib
8 years ago
Lunny Xiao
229ec927b9
Golint fixed for modules/template
8 years ago
Lunny Xiao
304bbd3f25
golint fixed for modules/markdown
8 years ago
Lunny Xiao
2e565bc1c4
Golint fixed for modules/mailer
8 years ago
Thomas Boerger
2ccdcda072
Merge pull request #235 from lunny/lunny/golint_modules_user
...
golint fixed for modules/user
8 years ago
Thomas Boerger
8ba0ac976f
Merge pull request #231 from lunny/lunny/golint_modules_base
...
golint fixed for modules/base
8 years ago
Lunny Xiao
46ecb0a14d
golint fixed for modules/user
8 years ago
Sandro Santilli
ad3d6b7fff
Lint and document manager api
8 years ago
Lunny Xiao
fb3bb69ec6
golint fixed for modules/base
8 years ago
Bwko
2a449bd4b1
Fix typos
8 years ago
Ethan Koenig
0834e492c0
API endpoints for stars
8 years ago
Bo-Yi Wu
d9ffe99972
fix variable assigned and not used.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
8 years ago
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Lunny Xiao
1b238fe4d5
Merge pull request #121 from joubertredrat/feature-last-login
...
Last Login for admin manage your users
8 years ago
Joubert RedRat
f91cbf0fed
Support to last login feature
8 years ago
Matthias Loibl
45c4539c61
Merge pull request #17 from LefsFlarey/issue/3666
...
Fixed 404 caused by unexpected question mark
8 years ago
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
8 years ago
Matthias Loibl
e74868a850
Add test for IsTextFile()
8 years ago
Matthias Loibl
95d4cd9292
Make long godoc comment 2 lines
8 years ago
Matthias Loibl
2bb188ae79
Add test for IsLetter()
8 years ago
Matthias Loibl
4235fff9ee
Add test for Int64sToMap()
8 years ago
Matthias Loibl
d417aedcfa
Add tests for StringsToInt64s() & Int64sToStrings()
8 years ago
Matthias Loibl
b00d82d679
Add tests for TruncateString()
8 years ago
Matthias Loibl
86c32f2706
Use TruncateString(sha1,10) in ShortSha and deprecate it.
8 years ago
Matthias Loibl
030ba2894f
Add tests for EllipsisString() and fix bug if param length < 3
8 years ago
Matthias Loibl
f81711f40d
Test AvatarLink and refactor with tests passing
8 years ago
Matthias Loibl
70fb1cf9d1
Use testify/assert for all tests in tool_test.go
8 years ago
Matthias Loibl
d874a9bf6b
Add unit test for base.FileSize()
8 years ago
Matthias Loibl
11c9160cd3
Start to add tests for modules/base/tool
8 years ago
Sandro Santilli
864d1b1f9f
Fix type in unused constant name ( #111 )
...
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase
* Fix type in unused constant name
* Other MixCased fixes
* Complete MixerCasing of template constants
* Re uppercase LTS and LDAPS suffixes
* Uppercase JSON suffix in constant names
* Proper case LoginNoType
* Prefix unexported template path constants with "tpl"
8 years ago
Sandro Santilli
b7bf9dfd28
more
8 years ago
Sandro Santilli
05fd9d3f09
Security protocols
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Thomas Boerger
5d430c9e68
Merge pull request #108 from go-gitea/go-sdk
...
Replaced gogits go-gogs-client with go-sdk
8 years ago
Sandro Santilli
ee963f67c1
Merge pull request #103 from strk/GOGS_drop
...
Replace GOGS with GITEA in variable names
8 years ago
Joubert RedRat
28bee28102
Replace Gogs to Gitea in installation options
8 years ago
Thomas Boerger
77f9c7e571
Fixed links to sdk docs
8 years ago
Sandro Santilli
b7263f31a5
Replace GOGS with GITEA in variable names
...
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables
as a fallback if the equivalent GITEA_* are not set,
warning user about the need for change.
Does not change "gogs" to "gitea" in webhook type name
Because "gogs" hook type is part of the API (routes) and used
in templates...
Closes #87
8 years ago
Thomas Boerger
6bf9910975
Set correct doc url for go-sdk
8 years ago
Rachid Zarouali
be5607e510
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
...
Disable HTTP cloning
8 years ago
Sandro Santilli
6e4252dad4
Replace gogits/git-module dependency with go-gitea/git ( #94 )
...
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
8 years ago
Matthias Loibl
d318f612a9
Add tests for CurrentUsername() ( #88 )
8 years ago
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
8 years ago
Thomas Boerger
eb25d1f252
Regenerated bindata
8 years ago
Thomas Boerger
f960b776f0
Simply made go vet happy, fixed tags
8 years ago
Thomas Boerger
e05a5ca36c
Executed go fmt for all files
8 years ago
Matthias Loibl
a4fa889ced
Run goimports on the whole project ( #34 )
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Rémy Boulanouar
8dc49dc114
Implementation of the feature to redirect to an external issue tracker
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Sandro Santilli
af03d00780
Fix sender of issue notifications
...
It is the FROM field in mailer configuration that needs be used,
not the USER field, which is for authentication.
Closes https://github.com/gogits/gogs/issues/3615
8 years ago
Sandro Santilli
d59a48a255
Use proper url for libravatar dep
8 years ago
Rémy Boulanouar
6bcff7828f
Fix mention in comments like (@dblk) ( #3655 )
...
* Fix mention in comments like (@dblk)
* Better fix to avoid making link for "Hello@DblK"
8 years ago
Thibault Meyer
93f1eabe30
rename variable + fix wiki link
8 years ago
Thibault Meyer
9d66497abc
Can disable GIT interactions by HTTP protocol
8 years ago
Unknwon
7e15ff9486
Update locales
...
Add new locale Serbian (Cyrillic)
8 years ago
Daniel Oaks
b3d9ca4ccd
Add the ability to explore organizations ( #3573 )
...
* Add ability to explore organizations
* Use right icon for org explore links
8 years ago
Unknwon
7c1fbed057
Fix panic when attempt login with non-exist user
8 years ago
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
8 years ago
Unknwon
8ee14db51e
Update locales
8 years ago
Rémy Boulanouar
5d35578811
Update size of SHA to fix #3538 ( #3563 )
8 years ago
Unknwon
dadd35b636
#3559 fix template error
8 years ago
Unknwon
99c2ae7b35
#3515 use alert instead 500 for duplicated login source name
8 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
c1ecb6c60a
modules/sync: add UniqueQueue
8 years ago
Unknwon
43297148b2
modules/sync: rename SingleInstancePool to ExclusivePool
8 years ago
Unknwon
6f90835f95
Make bindata
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Unknwon
7c31f235da
Web editor: support upload files
8 years ago
Unknwon
780cc2d110
router/repo: code refactoring
8 years ago
Unknwon
28cf0e6aaa
#3459 code quality improvement
8 years ago
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
8 years ago
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
8 years ago
Unknwon
ba27d71abe
Web editor: improve edit file
8 years ago
Unknwon
0114fdcba4
Web editor: improve delete file process
8 years ago
Unknwon
dad5c15520
#2901 allow setting preferred licenses
...
- Closes #3488
8 years ago
Unknwon
6e171c5225
Web editor: improve edit file tooltip
8 years ago
Unknwon
13c106af77
label: adjust forecolor boundary
8 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
8 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
8 years ago
Unknwon
ec332cf903
Minor naming improvement
8 years ago
Unknwon
a00c932bbc
General code quality improvement
8 years ago
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
8 years ago
Unknwon
4a46613916
markdown: fix treating pure number as SHA1
...
- Detect non-exist commit and return 404 not 500
8 years ago
Unknwon
8637e67e6f
Fix outdated edit can’t overwrite changes
8 years ago
Unknwon
cd89f6c502
Web editor: improve edit file and diff preview
8 years ago
Unknwon
660e7a178a
modules/sync: move sync objects to independent module
8 years ago
Unknwon
15845cb287
Code clean up for new config options
8 years ago
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
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 years ago
Unknwon
5544a7037b
Add new dependency
8 years ago
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
8 years ago
Andrey Nering
25b23c4bc9
Do not show non-image attachment in a <img> tag. Fixes #3215 ( #3311 )
8 years ago
Thibault Meyer
7eafe3213f
Fix #3321 : commit tag shortener ( #3418 )
...
* Fix #3321 : commit tag shortener
* Check short commit
* remove debug
* Edit unit tests
* Show 10-char short SHA
8 years ago
Unknwon
a47aef5460
#2852 code cleanup
8 years ago
Odin Ugedal
1dd003bd4c
Add initial support for unix sockets ( #2852 )
8 years ago
Unknwon
5077408d78
#3233 code cleanup and minor issue fix
8 years ago
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
8 years ago
Unknwon
d625e41c6c
#3408 minor code fix
8 years ago
Thibault Meyer
6a81632e36
Fix typo CacheInternal -> CacheInterval ( #3432 )
8 years ago
Unknwon
29f76f3936
Update locales [CI SKIP]
8 years ago
Thibault Meyer
99812a80fd
Fix #3420 : Bad commit URL generation ( #3424 )
8 years ago
Unknwon
b85927e488
#3091 show Git configs on admin panel
8 years ago
Unknwon
87b408a2e5
Update bindata.go [CI SKIP]
8 years ago
Thibault Meyer
fc68fb951c
Feature #3398 : Redefine global mirror interval ( #3409 )
...
* add mirror::GLOBAL_INTERVAL on app.ini
* rename key to DEFAULT_INTERVAL
* add key on default app.ini + move code
8 years ago
Unknwon
edd786446c
#3158 skip RUN_USER check on Windows
8 years ago
Unknwon
b0b88d9bc5
#3091 add config option for Git GC
8 years ago
Unknwon
f70343660d
Little code refactoring
8 years ago
Unknwon
9e8a8867ea
#3325 use correct word for .gitignore
8 years ago
Unknwon
90af997fec
#3399 500 for upstream pulls page if user has forked repository
8 years ago
Unknwon
e5bf4281b5
#2825 early response 200 when ?go-get=1
8 years ago
Unknwon
99385db0c4
#3320 code cleanup
8 years ago
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
8 years ago
Unknwon
ec92565f23
#3393 fix missing sub-url prefix in relative avatar link
8 years ago
Andrey Nering
2772791fda
Improve diff highlight ( #3390 )
...
- Try to reduce memory allocations
- Add possibility to disable diff highlight (can improve performance for large diffs)
- Tweaking with cost for prettier (cleaner) diffs
- Do not calculate diff when the number of removed lines in a block is not equal to the number of added lines (this usually resulted in ugly diffs)
8 years ago
Unknwon
ee28fd9255
Update locales [CI SKIP]
8 years ago
Unknwon
991ce42c48
#2162 improve repository advance options UI display
...
Enable/disable input based on user chosen options for wiki and issue tracker.
8 years ago
Unknwon
3e22ae3412
Update locales
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
a562228c5e
Add org.getUserTeams to reduce redundant code
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
46e96c008c
Use struct for UI settings
8 years ago
Unknwon
4e822c1911
conf: change default mirror checking interval to 10m
8 years ago
Unknwon
d7bdc1de8d
#3107 fix mention regex does not include dash
8 years ago
Unknwon
c912494609
#3076 detect invalid tag name git error
8 years ago
Unknwon
599716bb1b
Update locales [CI SKIP]
8 years ago
Dennis Chen
6488ee12be
avatar: make custom and generated avatars equal ( #3301 )
...
Sets all avatars to use PNG image format.
Keeps avatars consistent at 290x290px resolution.
Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
Unknwon
5aa2bf86f4
Update locales and .gopmfile
8 years ago
Unknwon
e3d3d424b2
Minor fix for go vet
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
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
Unknwon
089bacd54e
Update bindata and CSS
8 years ago
Unknwon
a752f09055
#2709 validate username attribute fetched from LDAP
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
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
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
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
6f6b37f148
#3078 update default app.ini
8 years ago
j.yao.SUSE
99c3a9390f
change setting.go -> LocalUrl default value to ( #3078 )
8 years ago
Unknwon
e84ac64964
Do not show filename not have suffifx .md
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
Cosmin Stroe
84841c8c4b
Stricter parsing of issue URLs and commit URLs. ( #3121 )
8 years ago
Unknwon
274a2ca528
Update locale bindata
8 years ago
Sandro Santilli
8a248696e9
Use a gopher as default avatar (rather than the gravatar logo) ( #3208 )
...
Also changes the avatar from a jpeg to a png, to allow for
transparent background. The indexed png is also smaller in size.
Note that at the moment the default avatar is only used when
the user requested a custom avatar and the custom avatar file
is not found (should never happen).
In the future the default avatar could be used as a default
return when by-mail avatar lookups fail too (both gravatar
and libravatar support passing a default)
8 years ago
Franz Schmidt
8b35c194ec
Fixes #3110 ( #3136 )
8 years ago
Unknwon
4bbb878d20
Minor fix for #3194
...
- Update locale bindata
8 years ago
Unknwon
26342b0c24
Update locale
8 years ago
Paul Tötterman
fb970b9d87
Add ServerName to tls.Config in LDAP auth ( #3104 )
...
From https://godoc.org/crypto/tls#Config
ServerName is used to verify the hostname on the returned
certificates unless InsecureSkipVerify is given. It is also included
in the client's handshake to support virtual hosting unless it is
an IP address.
This is needed for certificate validation without InsecureSkipVerify.
8 years ago
Unknwon
0240f520ab
#2954 minor fix for when to set HTML alternative
8 years ago
Unknwon
8df3ba96f3
#2954 use text/plain as default email content format
8 years ago
Sandro Santilli
d35a1c30f4
Do not write HTML in text/plain mail part ( #2954 )
...
* Do not write HTML in text/plain mail part
Fixes #2928
* Pass text/plain first, text/html second
* Do not send plain/text email if html2text failed (untested)
8 years ago
Unknwon
8a2347592d
locale: update Czech
8 years ago
Unknwon
f473895c41
bindata: follow up data clean
8 years ago
Unknwon
fbf43c31e5
Add Czech support
8 years ago
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
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
ce36fd7a49
Fixed #2909 ( #2979 )
8 years ago
Unknwon
3257df0da3
Update locales
8 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
Nikko Miu
9a43fcb61c
Changed EscapePound function with string replace function
9 years ago
Unknwon
5ec8ef0230
Update locales
9 years ago
Unknwon
004fb30ebe
Remove code for checking ssh-keygen
9 years ago
Unknwon
3fb4f7f498
Prepare release
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
c79774e8d4
Update locales
9 years ago
Odin Ugedal
8540043c45
Make separate string variables for space
9 years ago
Odin Ugedal
f57adf3637
Fix relative links in markdown files
...
Replace spaces with "%20" in "urlPrefix", before markdon processing.
The spaces were causing blackfriday (markdown processor) to behave
strange. This fixes #2545 .
9 years ago
Unknwon
9976fc6782
Generate bindata for #2823
9 years ago
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
db4da7beec
Add APIContext
9 years ago
Unknwon
b4f47a7623
#1891 attempt to fix invalid csrf token
9 years ago
Unknwon
af8eccc02e
Update glide.lock
9 years ago
Unknwon
820be19cf5
Merge pull request #2796 from saboya/custom_app_data_path
...
Making AppDataPath customizable.
9 years ago
Alec S
ebea20b4e7
remove errant debug statement
9 years ago
Unknwon
73e98c91c3
Update locales
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
eed9966ad6
#2727 fix incompatible SQL in PostgreSQL
9 years ago
Rodrigo Saboya
3cacec9163
Making AppDataPath customizable.
9 years ago
Unknwon
0e9bc2d410
Fix pull request availability check
9 years ago
Unknwon
0ea0c5ec4f
Prepare release
9 years ago
Unknwon
58f0c68151
Some minor changes
9 years ago
Unknwon
c18f67ac6a
Add Finnish support
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
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
9 years ago
Unknwon
2a931937a8
Update locales
9 years ago
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
9 years ago
Unknwon
9df6ce48c5
Minor fixes for #2746
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
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
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
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
9 years ago
Unknwon
83c74878df
Merge pull request #2637 from Gibheer/ssh-publickeys
...
allow native and ssh-keygen public key check
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
d324500959
Prepare to release
9 years ago
Gibheer
e721c5cf86
use StartSSHServer instead of DisableSSH
...
DisableSSH doesn't check the kind of ssh server to use, so that was
wrong. Use StartSSHServer instead.
9 years ago
Gibheer
e3570ae45d
seperate ssh constants from schema constants
...
The contants were placed in the same section as the scheme ones, which
may lead to confusion.
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
ac78bae7b5
Replace uuid module with original package
9 years ago
Unknwon
926e75d721
#2334 strip whitespace for migrate URL
...
Also fix a possible race condition while install
9 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
9 years ago
Unknwon
d8a994ef24
Move cron module to independent package
...
Make it easier to keep track of upstream changes and bug fixes
9 years ago
Unknwon
7140dbac95
Fix #857
9 years ago
Adam Strzelecki
a9981d8099
Update bindata for LDAP changes
9 years ago
Adam Strzelecki
5649556a33
LDAP: Make a bit more detailed log traces
...
This is useful especially to check whether we fetch right attributes, using
right LDAP search base and in right order.
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
Adam Strzelecki
e2f95c2845
LDAP: Use single connection in BindDN mode auth
...
According to RFC 4511 4.2.1. Processing of the Bind Request "Clients may send
multiple Bind requests to change the authentication and/or security
associations or to complete a multi-stage Bind process. Authentication from
earlier binds is subsequently ignored."
Therefore we should not use 2 connections, but single one just sending two bind
requests.
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
Unknwon
736a46dff9
Merge pull request #2659 from joshfng/fix-issue-email-format
...
Fix issue email formatting. Addresses #2331
9 years ago
Josh Frye
0f1b26ed1e
Fix issue email formatting. Addresses #2331
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
Gibheer
12403bdfb0
allow native and ssh-keygen public key check
...
This commit adds the possibibility to use either the native golang
libraries or ssh-keygen to check public keys. The check is adjusted
depending on the settings, so that only supported keys are let through.
This commit also brings back the blacklist feature, which was removed in
7ef9a05588
. This allows to blacklist
algorythms or keys based on the key length. This works with the native
and the ssh-keygen way.
Because of #2179 it also includes a way to adjust the path to
ssh-keygen and the working directory for ssh-keygen. With this,
sysadmins should be able to adjust the settings in a way, that SELinux
is okay with it. In the worst case, they can switch to the native
implementation and only loose support for ed25519 keys at the moment.
There are some other places which need adjustment to utilize the
parameters and the native implementation, but this sets the ground work.
9 years ago
Unknwon
9cf4fe043b
Add env var check for update
9 years ago
Unknwon
632c27802c
Minor fix for #2624
9 years ago
Unknwon
58e004f7da
Remove cache avatar support and add its tests
9 years ago
Unknwon
aa5e837c65
fix #2454
9 years ago
Unknwon
de3be370f7
Remove unused tests
...
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
9 years ago
Josh Frye
8ab5399e83
Make log path required
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
5258ee3740
Update locales and update sponsor
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
Unknwon
08ff1b7d4b
Merge pull request #2579 from nanoant/patch/fix-ldap-username
...
Fix #2221 LDAP username attribute must be fetched
9 years ago
Adam Strzelecki
3808638df1
Fix #2221 LDAP username attribute must be fetched
...
This is fix-up for 573305f
. Forgot to fetch AttributeUsername value from the
LDAP server, so the setting was effectively not working as intended.
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
acfc942ad7
Generate CSS for #2561
9 years ago
Unknwon
4e96a4a62b
Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme
...
Feature/markdown custom url scheme
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
ddf9fa06c7
Minor fix for #2530
9 years ago
Unknwon
739d5aa1d3
Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
...
Hide other teams & repos from organization page
9 years ago
Unknwon
04be8c0de5
#2554 reinitialize all repos from the db
...
- Update locales
9 years ago
Unknwon
1c74612b3c
Minor fix for #2444
9 years ago
Unknwon
3abad75a1b
Fix one user may block entire listen loop for builtin SSH
9 years ago
Unknwon
4848620594
#2229 adjust URL verbose depth for reverse proxy sub-path
9 years ago
Florian Kaiser
9cf95e4e37
Organization owners see all repositories & teams
9 years ago
Florian Kaiser
8c4588c4c9
Refactor .IsAdminTeam to .IsTeamAdmin and requireAdminTeam to requireTeamAdmin
9 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
9 years ago
Florian Kaiser
abc5abce30
Allow modification of a release if Content is empty ( fix #2516 )
9 years ago
Unknwon
112a7cab31
#2497 incorrect error handle for team name
9 years ago
Unknwon
a4a23c0268
Merge pull request #2508 from MilesPong/develop
...
Fixed gravatar url
9 years ago
miles@Oscar
beefc53e59
Using https for gravatar
9 years ago
miles@Oscar
1becf01cfa
Fixed gravatar url
9 years ago
Unknwon
b900150b1d
Update locales
9 years ago
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
9 years ago
Kim "BKC" Carlbäcker
3a9fd81f59
Custom URL-Schemas for Markdown
9 years ago
Unknwon
e33ddac9bf
Minor fix for #2396
9 years ago
Unknwon
71b9537393
Merge pull request #2396 from bkcsoft/feature/markdown-checklist
...
[Feature] Markdown Checklist-rendering
9 years ago
Unknwon
b33abc6280
Merge pull request #2432 from nd/develop
...
Fix #2431 - handle requests waiting for reply
9 years ago
Unknwon
38efa72146
Update locales
9 years ago
Pourya Daneshvar
863ff19e1f
Fixed forgotten err variable assignment
9 years ago
Dmitry Neverov
fb99d50fa1
Fix #2431 - handle requests waiting for reply
...
According to the docs [1], the Reply method must be called for all
requests where WantReply is true. This fixes a hanging java ssh
implementation (jsch) which sets WantReply flag and waits for reply from
the server.
[1] https://godoc.org/golang.org/x/crypto/ssh#Request.Reply
9 years ago
Unknwon
7ef9a05588
#2179 use Go sub-repo ssh to verify public key content
9 years ago
Kim "BKC" Carlbäcker
a1a4f1103c
Made Sanitizer-setup cleaner
9 years ago
Kim "BKC" Carlbäcker
8e09e03127
Checklist-rendering implemented
9 years ago
Unknwon
f43cc90841
#2287 Truncate repository name if too long
9 years ago
Unknwon
a2ef9a2b64
update locale
9 years ago
Unknwon
db719abff2
stop compile bindata for TRANSLATORS
...
- update required version of git-module for #2373
9 years ago
Unknwon
cc8c67ff29
fix markdown autolink error
9 years ago
Unknwon
ca35ddd078
fix #2350
9 years ago
zhuharev
0d5dc8a064
typo fix
9 years ago
Unknwon
0cb7396840
update locale
9 years ago
Kim "BKC" Carlbäcker
8fe5d887ae
Changed name from inline to unified
9 years ago
Kim "BKC" Carlbäcker
4e6d048ba1
i18n-fix for split-view
9 years ago
Unknwon
7392b6a755
fix #2327
9 years ago
Unknwon
4993ab1a76
#2185 fall back to use custom chardet lib
9 years ago
Unknwon
44637f03cc
#2282 fast detection of utf-8
9 years ago
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
9 years ago
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
9 years ago
Unknwon
13fe733037
#2264 use monospaced font for commit IDs in news feeds
9 years ago
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon
c62a6b7a12
#2014 allow switch branches between two orgs in compose PR
9 years ago
Unknwon
53eb37d529
fix #1436
9 years ago
Unknwon
2d3ecbe5b2
make mailer log more verbose
9 years ago
Unknwon
09c981846b
update locales
9 years ago
Unknwon
037a01c4e4
fix #2189
9 years ago
Unknwon
1d95844d55
prepare release
9 years ago
Unknwon
1e7e092992
#2103 Ability to map extensions for syntax highlighting in config
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
6673dcb038
#2103 #2181 improvments of highlight class name
9 years ago
Unknwon
b117befc2b
#1692 add user email APIs
9 years ago
Unknwon
8ecbf0f16d
fix #2204
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
ea375c0dcc
new template func
9 years ago
Unknwon
acdb4d8bdd
Drop Go 1.3 support
9 years ago
Unknwon
95f9c85bcc
#2185 use Go sub-repo to detect encoding
9 years ago
Bruno
9a27e5ccdc
ignore invalid env
9 years ago
Unknwon
7e88420bc6
#2161 fix wrong regexp
9 years ago
Unknwon
5911fc3512
#2161 No issue linking in commits when issue number in brackets
9 years ago
Unknwon
e444a67d59
update locales
9 years ago
Unknwon
59c965a5ec
#2156 admin able to edit organization max repo creation
9 years ago
Unknwon
477b4d3b50
#2154 fix form submit error
9 years ago
Unknwon
d0b0d24f22
#2154 disable change user for non-local users
...
- #2153 remove require for gravatar
9 years ago
Unknwon
98da7241a0
fix sqlite3 cannot create repo
9 years ago
Unknwon
40f3142264
#2114 External URL for wiki
9 years ago
Unknwon
3d5d61778a
#1938 #1374 disable password change for non-local users
9 years ago
Unknwon
df5ed64cca
#1301 "read-only" users
9 years ago
Unknwon
2a0bb1fa90
#1575 Limit repo creation
9 years ago
Unknwon
c6083c335e
#1612 Ability to send mail when a new pull request is submitted
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
bd5dc626e8
Merge pull request #2139 from angus-g/fixes/pr-messages
...
Reword messages for PR auto merging (#2117 )
9 years ago
Angus Gibson
626dc1f0bd
Reword messages for PR auto merging ( #2117 )
9 years ago
Adam Strzelecki
b886fb4bf0
LOCAL_ROOT_URL for workers accessing web service
...
Local (DMZ) URL for gogs workers (such as ssh update) accessing web service. In
most cases you do not need to change default http://localhost:HTTP_PORT/ . You
may need to alter it only if your ssh server node is not the same as http node,
eg. running behind proxy on different node than web server.
--- 80 public port -> 8080 -- web server node
/
public proxy --<
\
--- 22 public port -> 10022 -- ssh server node
This option is not intended to be accessible via web GUI settings, since it is
unlikely someone needs to change it to somethings else than default
http://localhost:HTTP_PORT/ which should work for most of the cases.
But this should land into the documentation somewhere.
fixup
9 years ago
Unknwon
718d3ae258
#1943 Able to config fsck timeout
9 years ago
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
9 years ago
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
9 years ago
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.
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
1cbd4c01fb
#2115 more precise error message
9 years ago
Adam Strzelecki
3df5dcc1dc
Allow pre-receive hook customization
...
This hook can be used for example to reject too large commits and it is
executed before "update" hook, used exclusively by Gogs to update its state.
https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
9 years ago
Unknwon
4e0c697aaf
force new INI version
9 years ago
Unknwon
3ffbb54337
minor fix for #2113 and other locales
9 years ago
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.
9 years ago
Unknwon
b5f6206a65
prepare release
9 years ago
Alex Myasoedov
ae54d878c0
Fix misspelled words
9 years ago
Unknwon
ca8ce793d1
#2063 Ability to delete repo from admin panel
9 years ago
Unknwon
978dc00305
APIs: admin users
9 years ago
Unknwon
404867f206
fix #2105 and fix #1857
9 years ago
Unknwon
f41360d864
#2052 advanced select ops for system notices
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
942fd6be53
fix panic for #2045
9 years ago
Unknwon
56dd430a10
refactor API routes and some work for #976
9 years ago
Unknwon
b83cb36049
minor fix for #2086
9 years ago
Unknwon
e350d74c8a
fix #2085
9 years ago
Unknwon
4a64ae4abf
fix #2083
9 years ago
Unknwon
926e91820a
#2071 Diff is not showing full content when has super long one line
9 years ago
Unknwon
0be8b1b1a1
#2052 Ability to batch delete system notices
9 years ago
Unknwon
3460ec1039
update REMADE and locale
9 years ago
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.
9 years ago
Unknwon
117afe7620
Merge pull request #2069 from nanoant/patch/admin-see-all-organizations
...
Admin should be able to see all organizations
9 years ago
Unknwon
dcb391d341
Merge branch 'feature/wiki' into develop
9 years ago
Unknwon
830d000667
finish wiki
9 years ago
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.
9 years ago
Unknwon
ca96e04e5f
#1681 carry --config flag for builtin SSH
9 years ago
Unknwon
5d1f5f32d0
wiki: finish pages
9 years ago
Unknwon
e42fcb033d
wiki: finish edit
9 years ago
Unknwon
392f3ee210
wiki: finish new
9 years ago
Unknwon
c50a3503e6
introduce git-shell
9 years ago
Unknwon
aaa3f1b2b9
Use better LDAP lib and should fix #1139
9 years ago
Unknwon
2b10fdc4dc
Wiki: UI for page new
9 years ago
Unknwon
144663a3cf
allow admin to migrate for any user/org
9 years ago
Unknwon
ba92f4687e
minor fix markdown post process
9 years ago
Unknwon
968edb3e44
more link fix
9 years ago
Unknwon
3ca544912f
#1944 Drop /org/ URL path prefix in organization home page
9 years ago
Unknwon
7f9598141b
fix #2020
9 years ago
Unknwon
56c66ee486
#2008 more supported git hooks
9 years ago
Unknwon
b2fb7e3fd2
more HTTP clone word fix
9 years ago
Unknwon
efaf60ba5a
fix #2013
9 years ago
Unknwon
52c8f69163
fix #650
9 years ago
Unknwon
f12832c61e
fix possible panic
9 years ago
Unknwon
3623b0927e
remove tags redis and memcache
9 years ago
Unknwon
cefc50b278
update locales
9 years ago
Unknwon
126228d146
HTML render fix
9 years ago
Unknwon
987dcc5372
fix #1383
9 years ago
Unknwon
9b6c835715
fix #1873
9 years ago
Unknwon
902b578465
better escape char handle
9 years ago
Unknwon
3d14e73fd8
fix #1119 and data race in timming tasks
9 years ago
Unknwon
6a66e5fc98
better error message
9 years ago
Unknwon
2158e6fc43
fix #1997
9 years ago
Unknwon
ee686f6231
minor fix on auto sign in
9 years ago
Unknwon
481be9b5c9
update locale #1965
9 years ago
Unknwon
9330c943cd
work on #1891
9 years ago
Unknwon
915bf1d2e3
Merge pull request #1994 from arthuroy/develop
...
Fix #1965 - the hyperlink and the display name of the branch
9 years ago
Unknwon
df339ad8b0
#1401 #493 Admin should be able to see private repositories
9 years ago
Unknwon
2c653141a8
#1742 Update default branch in git repository while change in web view
9 years ago
Arthur Ouyang
fc56f42dc3
Use refStr[len("refs/heads/"):] instead of refStr[11:] and fix error
...
Fix #1965
9 years ago
Arthur Ouyang
0bd4d15e47
Use refStr[11:] instead of TrimPrefix
...
Fix #1965
9 years ago
Arthur Ouyang
e04c97b9fa
Fix #1965 - the hyperlink and the display name of the branch
...
The hyperlink and the display name of the branch if the branch is in a folder or the branch name has '#'
9 years ago
Unknwon
f04d773f4f
UI: long organization name in create repository owner list
9 years ago
Unknwon
4325b01a58
minor fix for #1992
9 years ago
Gibheer
e347736c9e
fix old naming
...
This is the old naming of the variable and I forgot to fix it. It now
works and is tested.
9 years ago
Gibheer
56006da34b
fix #1957 - disable version display
...
This allows the admin to disable the version information about gogs and
go in use in the footer.
9 years ago
Unknwon
efea642d6c
add admin op: delete missing repos
9 years ago
Unknwon
9a0902523b
fix #1987
9 years ago
Unknwon
62533560ce
fix #1988
9 years ago
Unknwon
ff5f14431e
fix #1448
9 years ago
Unknwon
9ab96172fc
new watchers, stars and forks UI
9 years ago
Unknwon
e06558e208
#1922 Pull request fail to merge with BIN
9 years ago
Unknwon
bb1fbe4e70
octicon fix in feeds
9 years ago
Unknwon
5dc3dd1704
fix #1960
9 years ago
Unknwon
134d8e7681
work on #1961
9 years ago
Unknwon
18de67380c
fix #1958
9 years ago
Unknwon
1a901433e2
minor fix for #1949
9 years ago
Unknwon
e030109b5a
fix api broken
9 years ago
Unknwon
35d49d3b34
Merge pull request #1949 from TheHowl/develop
...
Fix bad issue links in non-readme markdown files
9 years ago
Howl
ca5678da32
Safely detect urlPrefix in the format /:owner/:repo
9 years ago
Unknwon
4f03b81ec7
#1931 Test patch does not checkout correct base branch
9 years ago
Unknwon
b4970b3cc3
fix #1948
9 years ago
Howl
85c58eba90
Fix bad issue links in non-readme markdown files
9 years ago
Unknwon
7c80eba77f
minor UI fix and fix ssh race
9 years ago
Unknwon
9c12ed3b6e
clean up
9 years ago
Unknwon
7b1c10ea7e
new repo ui
...
- copy link button: #1396 , #1168 , #1668 ,
- synxtax highlight: #1712 , #1549 , #1315 , #670
- z-index: #1942
9 years ago
Unknwon
679af4ddea
clean up
9 years ago
Unknwon
1d57f0d64f
Show custom avatars in commits
9 years ago
Unknwon
1559bd58e7
save custom avatar as PNG
9 years ago
Unknwon
523dc8b613
prepare release
9 years ago
Unknwon
3b62a0fe0e
fix #1572 fix file histrory paging issue
9 years ago
Unknwon
18c841050b
fix 1540 and experimental SSH server support
9 years ago
Unknwon
b55499d039
go vet and fix #1890
9 years ago
Unknwon
676d774d88
fix #1902
9 years ago
Unknwon
54ca0b2f09
#1433 images with links in Markdown
...
- #1904 minor fix on image link
9 years ago
Unknwon
f255b1e86d
#1896 fatal when no needed update task
9 years ago
Unknwon
3a81fdf092
rename fields
9 years ago
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
9 years ago
Unknwon
25ec20d525
#1838 update merge base before generate new patch
9 years ago
Unknwon
8e262f3ec4
update locales
9 years ago
Unknwon
a374751eb8
add Makefile
9 years ago
Unknwon
0af035c37e
#1078 not show bin when rename a file
9 years ago
Unknwon
75aab86a8d
fix problem with #1879
9 years ago
无闻
50058b3c6d
Merge pull request #1871 from Gibheer/config_minimum_key_sizes
...
move minimum key sizes to config
9 years ago
Unknwon
b0226a1d05
fix #1831
9 years ago
Unknwon
5cad124704
fix #1697
9 years ago
Unknwon
940898a3ff
minor fix for #1865
9 years ago
Unknwon
16feb5b655
minor fix on #1863
9 years ago
无闻
659bd29bc5
Merge pull request #1863 from nathan7/go-source-meta
...
Add go-source directive to repo pages
9 years ago
无闻
91c9069c4d
Merge pull request #1862 from nathan7/fix-private
...
Fix the JSON field names for MigrateRepoForm
9 years ago
Nathan Zadoks
4323a89c03
Add go-source directive to repo pages
...
This makes Gogs repos work with godoc.org: https://github.com/golang/gddo/wiki/Source-Code-Links
9 years ago
Gibheer
b90b0c1191
move minimum key sizes to config
...
This moves the minimum key sizes into the config file, so that anyone
can modify the restrictions.
9 years ago
Nathan Zadoks
f1aa4c0524
Fix the JSON field names for MigrateRepoForm
...
For some reason, the field names for Private and Mirror got swapped.
9 years ago
Unknwon
073da3c49d
#470 fix max length of email
9 years ago
Unknwon
7d72c8333e
work on #470 and fix miror JS issue when choose targets on compare and pull
9 years ago
Unknwon
706b0f72e2
fix issue comment mention and autofix count when start
9 years ago
Unknwon
4f0e31e96d
update README
9 years ago
Unknwon
f5689ee3a5
update locale
9 years ago
Sergio Benitez
630ebbe6c2
Sanitizing input to LDAP authentication module.
9 years ago
Unknwon
b9f5def5dc
fix insecure tls when trigger task
9 years ago
Unknwon
022820103d
#1657 allow forcing all private repos
9 years ago
无闻
379629d28a
Merge pull request #1836 from likeit92/develop
...
workaround for reverse proxy, ssh, submodule
9 years ago
Matthias Pioch
8b92f9cca6
fix workaround for reverse proxy, ssh, submodule
9 years ago
Matthias Pioch
78a4e71245
workaround for reverse proxy, ssh, submodule
9 years ago
Unknwon
63e6e31271
add config and update locale
9 years ago
Unknwon
71d8ff247d
update some locales
9 years ago
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
9 years ago
Unknwon
c6ce6bd4c2
work on #1830
9 years ago
Unknwon
eac91a74d8
Merge branch 'develop' of github.com:gogits/gogs into develop
9 years ago
Unknwon
f17b746a01
update locale
9 years ago
Soputtra San
1f1abb17e2
Fix import path
9 years ago
Unknwon
fc7959d3bc
New/reopen PR checks if there is any unmerged and open PR
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
6a6e43f964
print out git version
9 years ago
Unknwon
b5e6af9587
update locale
9 years ago
Unknwon
aff49b1c9e
unified API error response
9 years ago
Unknwon
215920772a
save PR info as patch and minor fix on PR
9 years ago
Unknwon
4465c58f4b
new quick start page
9 years ago
Unknwon
c60d8bc069
update locales
9 years ago
Unknwon
a205acf829
drop go 1.2 support
9 years ago
Unknwon
d5ad4e1141
prepare release
9 years ago
Unknwon
6dfee30bf0
#1602 Wrong commit order on issue page when pushing multiple commits
9 years ago
Unknwon
21e13cb51e
#1525 Triggere mailer for admin created accounts
9 years ago
无闻
84c727ae66
Merge pull request #1693 from sapk/fix-admin-repo-new-ui
...
Fix admin repos new ui
9 years ago
无闻
ee1256cf74
Merge pull request #1691 from sapk/fix-admin-organization-new-ui
...
Fix admin organization new ui
9 years ago
Antoine GIRARD
dfc16d0879
Fix admin repos new ui
9 years ago
Antoine GIRARD
c98dad1cf3
New admin organization UI
9 years ago
Unknwon
0d5e57e4ae
#1689 minor fixes and update locale
9 years ago
Antoine GIRARD
14a1101139
New admin notice UI based on user list example
9 years ago
无闻
4f8b209956
Merge pull request #1678 from TheHowl/TheHowl/fix-go-get-not-working-with-user-or-repo-names-with-uppercase-letters
...
Fix `go get` not working when there is a username or repository name with some uppercase letters.
9 years ago
Unknwon
e07675b480
fix test custom import path
9 years ago
Unknwon
4c30caad1c
fix test import path
9 years ago
Unknwon
216f0477b5
fix subrepo break change
9 years ago
无闻
befed9c20c
Merge pull request #1662 from SergioBenitez/develop
...
Commit messages now rendered with line breaks and prefix spacing.
9 years ago
Howl
f8c09dc1ff
Fix `go get` not working when there is a username or repository name with some uppercase letters.
9 years ago
Unknwon
700ac8dea7
fix #1664
9 years ago
Unknwon
69b1d65c9b
remove unused file and update locale
9 years ago
Sergio Benitez
7acbcf9ddd
Commit messages now rendered with line breaks and prefix spacing.
9 years ago
Unknwon
2340bb1ed2
update locales
9 years ago
Unknwon
86d3c5cbb3
update Docker info
9 years ago
Unknwon
3fb1b6a608
drop oauth2 feature support
9 years ago
Unknwon
562e47f31c
finish all new template for current ones
9 years ago
Unknwon
9d36fc6986
finish new auth e-mails
9 years ago
Unknwon
373731f5e8
user gomail and new activate account email tpl
...
- #1496 : fallback plain text
- #1002 : add date header
- #913 : fix encoding of header
9 years ago
Unknwon
e75fd2f783
simplify names
9 years ago
Unknwon
2729eb998c
#1646 and other minor fixes
9 years ago
Unknwon
b003b18788
#1649 Using commas to delineate emails
9 years ago
Unknwon
6a1907d994
revert simple LDAP userDN and update example
9 years ago
Unknwon
e4ecbcdf4a
new sign in page
9 years ago
Unknwon
f5c7f22cc8
#1637 able to skip verify for LDAP
9 years ago
Unknwon
2bc3e83e1c
fix simple LDAP userDN
9 years ago
Unknwon
2d1bb0cf49
#1633 admin delete user
9 years ago
Unknwon
5f1183cecf
#697 add install option
9 years ago
Unknwon
98108e379d
#697 update locale and admin panel
9 years ago
Unknwon
83e747bfda
#697 and #1606 and new admin edit user UI
9 years ago
Unknwon
e5ed5904c6
#1606 GUI bug while adding ldap user
9 years ago
Unknwon
8e0a69f86a
#697 disable captcha and new admin create user UI
9 years ago
Unknwon
cd37fccdfb
#1625 remove auto_register and makes it default
9 years ago
Unknwon
aff773f1b9
add tidb support
9 years ago
Unknwon
be89802bd8
new admin user list UI
9 years ago
Unknwon
362d64df04
#1620 add allowed domains for SMTP auth
9 years ago
Unknwon
121a81a2c5
finish new edit auth UI
9 years ago
Unknwon
0617448282
finish new add auth UI
9 years ago
Unknwon
fa728d8dff
more minor fix on 1581
9 years ago
Unknwon
26ac016b9f
minor fix on #1581
9 years ago
Unknwon
cbd6276200
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
9 years ago
Unknwon
52ec80fa18
finish all new user settings UI
9 years ago
Unknwon
c8d92fad30
#1595 pushing new branch will rereference issues in previous branch
9 years ago
Hongcai Deng
e4d4662074
add regexp to restrict `<code class=""></code>`
9 years ago
Sergio Benitez
b954a22ce2
Updated binary data.
9 years ago
Sergio Benitez
964d0262ff
Merged conflicts.
9 years ago
Hongcai Deng
357c002c03
add allow attribute `class` to `<code>`
9 years ago
Unknwon
32c12d553c
Able to use `GOGS_WORK_DIR` environment variable to specify work directory
9 years ago
Unknwon
cc83043edc
minor fix on template
9 years ago
无闻
36405d0faa
Merge pull request #1596 from denghongcai/develop
...
implemented #1528
9 years ago
Unknwon
56eb252098
#1593 fix repo name router bug
9 years ago
Hongcai Deng
fbb3486c95
fix syntax error
9 years ago
Hongcai Deng
7b92dc3d9d
implemented #1528
9 years ago
Unknwon
645d4d0c5b
#1594 Collaborative Repositories missing suburl on Dashboard
9 years ago
Unknwon
c38754d432
#1191 allow upload avatar for org
...
Signed-off-by: Unknwon <u@gogs.io>
9 years ago
Unknwon
85f34ba538
new user profile settings UI
...
Signed-off-by: Unknwon <u@gogs.io>
9 years ago
Unknwon
edc99bc8a4
new org options UI
9 years ago
Unknwon
80701d45bb
#1193 Make organization emails non-mandatory
9 years ago
Sergio Benitez
079a2d68db
Minor fixes to the LDAP module readme
9 years ago
Unknwon
e885d34aa6
update locales
9 years ago
Sergio Benitez
0f07a5cb84
Updated the LDAP auth module README.
9 years ago
Sergio Benitez
7cb4aa8d82
Updated binary data.
9 years ago
Sergio Benitez
aa9c36514f
Merged conflicts.
9 years ago
Sergio Benitez
2d1db4bf05
Added LDAP simple auth support.
9 years ago
Unknwon
07fe846c9f
#1579 change e-mail max length to 254
9 years ago
Unknwon
d023e81a8f
#1577 explore paginator problem
9 years ago
Unknwon
6a5c87afdd
prepare 0.6.9 release
9 years ago
Unknwon
38eb000d13
work on #1570
9 years ago
Unknwon
7ec991326d
fix migrate api
9 years ago
Unknwon
e5b105e513
fix migrate API
9 years ago
Unknwon
83dc2468f5
finish initial version of pull request
9 years ago
Unknwon
842770d7fb
add merger info and news feed
9 years ago
Unknwon
953bb06857
basic PR feature
9 years ago
Unknwon
1abfe4e05f
PR: nothing to commit and has pull request check
9 years ago
Unknwon
37e0cee877
finish PR UI
9 years ago
Unknwon
65e73c4ac6
support URL param to token, but still restrict to APIs
9 years ago
Unknwon
2ac8e11f46
#842 able to use access token replace basic auth
9 years ago
Unknwon
ebf1bd4f51
add view pull desc
9 years ago
Unknwon
8c046073a8
work on PR conversation
9 years ago
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
9 years ago
Unknwon
8af094967f
#1377 add rename repo action
9 years ago
Unknwon
f1adbca0f1
#1554 check adminFilter length before LDAP search
9 years ago
Unknwon
90a6553c37
#1009 Config option for preserving hard line breaks
9 years ago
Unknwon
7714e792a4
minor fixes on #1551
9 years ago
Unknwon
17c2d1fc7c
fix dashboard 500 when no issues at all
...
- update locales
- update README
9 years ago
Unknwon
1ca257ad9f
rename fields
9 years ago
Unknwon
cb381078ff
finish new repo options page
9 years ago
Unknwon
c6b039c6f9
new repo options UI
9 years ago
Unknwon
9b9e5f0290
#1545 Cross reference the commit from the issue when it is closed by the commit
9 years ago
Unknwon
302938e646
#1333 Disable Gravatar option when install
9 years ago
Unknwon
ea454c21f7
#1542 A way to skip TLS verify for SMTP authentication
9 years ago
Unknwon
384fbeca80
#1474 logic fix
9 years ago
Unknwon
5ddcd8420b
#1474 minor fix
9 years ago
Unknwon
55ddf225bb
webhook APIs
9 years ago
Unknwon
f509c59ac1
new create webhook event
9 years ago
Unknwon
125d314465
more clear error
9 years ago
Unknwon
bb3b90fcd6
#1487 Readme Template
9 years ago
Unknwon
46bee50e45
complate list of gitignores and licenses
9 years ago