Fabian Zaremba
2e7ccecfe6
Git LFS support v2 ( #122 )
...
* Import github.com/git-lfs/lfs-test-server as lfs module base
Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198
Removed:
Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go
.dockerignore .gitignore README.md
* Remove config, add JWT support from github.com/mgit-at/lfs-test-server
Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83
* Add LFS settings
* Add LFS meta object model
* Add LFS routes and initialization
* Import github.com/dgrijalva/jwt-go into vendor/
* Adapt LFS module: handlers, routing, meta store
* Move LFS routes to /user/repo/info/lfs/*
* Add request header checks to LFS BatchHandler / PostHandler
* Implement LFS basic authentication
* Rework JWT secret generation / load
* Implement LFS SSH token authentication with JWT
Specification: https://github.com/github/git-lfs/tree/master/docs/api
* Integrate LFS settings into install process
* Remove LFS objects when repository is deleted
Only removes objects from content store when deleted repo is the only
referencing repository
* Make LFS module stateless
Fixes bug where LFS would not work after installation without
restarting Gitea
* Change 500 'Internal Server Error' to 400 'Bad Request'
* Change sql query to xorm call
* Remove unneeded type from LFS module
* Change internal imports to code.gitea.io/gitea/
* Add Gitea authors copyright
* Change basic auth realm to "gitea-lfs"
* Add unique indexes to LFS model
* Use xorm count function in LFS check on repository delete
* Return io.ReadCloser from content store and close after usage
* Add LFS info to runWeb()
* Export LFS content store base path
* LFS file download from UI
* Work around git-lfs client issue with unauthenticated requests
Returning a dummy Authorization header for unauthenticated requests
lets git-lfs client skip asking for auth credentials
See: https://github.com/github/git-lfs/issues/1088
* Fix unauthenticated UI downloads from public repositories
* Authentication check order, Finish LFS file view logic
* Ignore LFS hooks if installed for current OS user
Fixes Gitea UI actions for repositories tracking LFS files.
Checks for minimum needed git version by parsing the semantic version
string.
* Hide LFS metafile diff from commit view, marking as binary
* Show LFS notice if file in commit view is tracked
* Add notbefore/nbf JWT claim
* Correct lint suggestions - comments for structs and functions
- Add comments to LFS model
- Function comment for GetRandomBytesAsBase64
- LFS server function comments and lint variable suggestion
* Move secret generation code out of conditional
Ensures no LFS code may run with an empty secret
* Do not hand out JWT tokens if LFS server support is disabled
8 years ago
Lunny Xiao
4b7594d9fa
Provide button to delete merged pull request ( #441 )
...
* provide button to delete merged pull request
* golint fix
8 years ago
Ethan Koenig
9847b38518
Organization webhook API endpoints
8 years ago
Bwko
fa3abc22c0
Added sorting to organizations, repos & users page ( #222 )
8 years ago
Bwko
a345a03d99
Added sorting to the labels & milestones page ( #199 )
8 years ago
Bwko
f27d87d93b
Added minimum password length to app.ini ( #223 )
8 years ago
Ethan Koenig
d0932ef147
Bug fixes for Issues filters ( #413 )
...
Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
8 years ago
Ethan Koenig
8a4161c723
API Endpoint for watching ( #191 )
8 years ago
btrepp
25b5ffb6af
Enables mssql support ( #383 )
...
* Enables mssql support
Port of dlobs work in gogs.
Enables options in index.js
Enables MSSQL as a database option in go.
Sets ID to 0 on initial migration. Required for
MSSQL insert statements.
Signed-off-by: Beau Trepp <beautrepp@gmail.com>
* Vendors in denisenkom/go-mssqldb
Includes golang.org/x/crypto/md4
as this is required by go-msssqldb
Signed-off-by: Beau Trepp <beautrepp@gmail.com>
8 years ago
Lunny Xiao
a12da66dfb
resolved #394 ( #396 )
8 years ago
Lunny Xiao
0e1392501d
Check if file is a symlink with web editor ( #3687 ) ( #445 )
...
* Check if file is a symlink with web editor (#3687 )
* editor checks for symlinks
* translate file_is_a_symlink message
* credit translation author
* fix error constant
8 years ago
Lunny Xiao
65b1875d2b
New settings option for a custom SSH host ( #3763 ) ( #446 )
...
* New settings option for a custom SSH host (#3763 )
* let default ssh listen addr empty
8 years ago
Lunny Xiao
47a7529d96
update code.gitea.io/git ( #450 )
8 years ago
Ethan Koenig
4c89a9c33c
Bug fixes and tests for modules/base ( #442 )
...
Also address other TODOs
8 years ago
Kim "BKC" Carlbäcker
df7fa4e995
issue comment api fix ( #449 )
...
* ListAllInRepo & Delete Issue-Comments
* Moar data in issue-comments
8 years ago
Alexander Lunegov
d5d21b67d2
Fix string format verbs ( #3637 )
8 years ago
Denis Denisov
380e32e129
Fix random string generator ( #384 )
...
* Remove unused custom-alphabet feature of random string generator
Fix random string generator
Random string generator should return error if it fails to read random data via crypto/rand
* Fixes variable (un)initialization mixed assign
Update test GetRandomString
8 years ago
Nico Mandery
6ade13e86e
serve video files using the HTML5 video tag ( #418 )
...
* serve video files using the HTML5 video tag
* lint fix: add comment to IsVideoFile
8 years ago
Lunny Xiao
15c3d14d55
fixed vulnerabilities on deleting release ( #399 )
8 years ago
Lunny Xiao
b4c794058a
fixed vulnerabilities ( #392 )
8 years ago
Ethan Koenig
7b5b5178e1
Bug fix for edit-hook API endpoint
8 years ago
Ethan Koenig
04b9a7e7a2
Bug fixes for repo permissions in API
...
Also move duplicated code into repo.APIFormat(..)
8 years ago
Thomas Boerger
83ed234472
Integrate templates into bindata optionally ( #314 )
...
Integrated optional bindata for the templates
8 years ago
Kim "BKC" Carlbäcker
0f05470cb8
[API] Pull Requests ( #248 )
8 years ago
Kim "BKC" Carlbäcker
e8e0539b45
Linting
8 years ago
Kim "BKC" Carlbäcker
e6cfccdd40
GitHub API Compliance (& linting)
8 years ago
Kim "BKC" Carlbäcker
71bb6df75a
Add undocumented endpoint for /repositories/:id
8 years ago
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
8 years ago
Lunny Xiao
590a79ff8a
Resolved #296 ( #324 )
...
* resolved #296
* Indentation fixed
8 years ago
Lunny Xiao
2343feadd4
resolved #310 : hide fork to self ( #323 )
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
Kim "BKC" Carlbäcker
42ec5ce740
Fix breakage from vendor-update
8 years ago
Lunny Xiao
ec87a75c00
golint fixed for modules/auth
8 years ago
Bwko
a4ece1f223
Fixes typos
8 years ago
Andrey Nering
c664ffd1db
Merge pull request #270 from andreynering/gitea/http-headers-download
...
Fix HTTP headers for issue attachment download
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
Andrey Nering
d647d02c2f
Fix Chrome not liking commas
8 years ago
Andrey Nering
638dd24cec
Fix HTTP headers for issue attachment download
...
- Download filename was wrong for files other than images. Example: It was `download` instead of `file.pdf`
- PDF was downloading instead of showing on browser
8 years ago
Thomas Boerger
32f8a38f6c
Merge pull request #254 from lunny/lunny/golint_modules_context
...
Golint fixed for modules/context
8 years ago
Lunny Xiao
faabc76fd6
Golint fixed for modules/context
8 years ago
Lunny Xiao
229ec927b9
Golint fixed for modules/template
8 years ago
Thomas Boerger
b6b616b336
Merge pull request #228 from Bwko/feature/short-hash-download
...
Added short-hash support to downloads
8 years ago
Bwko
ff0d1bd602
Added short-hash support to downloads
8 years ago
Lunny Xiao
6ed7f269f1
Move init functions from routers/install to routers/init ( #230 )
...
* move init functions from routers/install to routers/init
* copyright typo
8 years ago
Lunny Xiao
3917ed45de
golint fixed for routers ( #208 )
8 years ago
Lunny Xiao
cb1602840c
golint fixed for routers/repo/branch.go ( #206 )
8 years ago
Lunny Xiao
b2cce12980
golint fixed for routers/repo/wiki.go ( #203 )
8 years ago
Lunny Xiao
f0df8e8dfa
golint fixed for routers/repo/middlewares.go ( #204 )
8 years ago
Lunny Xiao
18dc4f1023
golint fixed for routers/repo/view.go ( #205 )
8 years ago
Lunny Xiao
659bc2814c
go lint fixed for routers/admin
8 years ago
Bwko
7b75d93f3d
Fix for anonymous users to switch views
8 years ago
Bwko
fc3ed8a1de
Fix panic when no user is signed in
...
See #188
8 years ago
Lunny Xiao
cf045b029c
golint fixed for parts of routers root, dev, user and org dirs ( #167 )
...
* golint fixed for parts of routers root, dev and org dirs
* add user/auth.go golint fixed
* rename unnecessary exported to unexported and user dir golint fixed
8 years ago
Ethan Koenig
0834e492c0
API endpoints for stars
8 years ago
Sandro Santilli
cd339263d9
Allow updating draft releases while keeping them as draft
...
Closes #162
8 years ago
Andrey Nering
739f07c98e
Remember diff view style ( #163 )
8 years ago
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
8 years ago
Sandro Santilli
a1c5f02444
Fix import path of go-sdk ( #141 )
...
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
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
Matthias Loibl
31da225309
Check unhandled errors ( #128 )
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
Thibault Meyer
3a10a0c1ca
Ordering organizations and users by name
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
Lunny Xiao
5667d4daae
Merge pull request #73 from bkcsoft/gt/2164-release-pagination
...
Add Pagination to Releases-page (and de-duplicate pagination templates)
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
aadd7dcdc3
And others
8 years ago
Sandro Santilli
05fd9d3f09
Security protocols
8 years ago
Sandro Santilli
7612b5ec40
More mixage
8 years ago
Sandro Santilli
64196d4036
More overlooks
8 years ago
Sandro Santilli
60c82a8780
More...
8 years ago
Sandro Santilli
f6a11e0de1
More MixedCase consts
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli
0b62aeb495
More MixedCase consts
8 years ago
Sandro Santilli
80eea77953
Use MixedCase constant names
...
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
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
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
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
Kim "BKC" Carlbäcker
86fb1a0cb1
Add Pagination to Releases-page
8 years ago
Rachid Zarouali
be5607e510
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
...
Disable HTTP cloning
8 years ago
Odin Ugedal
5a6f7edde9
Use the rev-parsed sha1 commit id ( #98 )
...
Use the rev-parsed sha1 commit id in urls to repo files,
instead of the abbreviated version.
8 years ago
Odin Ugedal
530f6c1da4
Fix rendering of non-markdown readme files
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
Sandro Santilli
f36544f98d
Merge branch 'master' into feature/goimports
8 years ago
Andrey Nering
bd898a10f8
Refactor editorconfig middleware
8 years ago
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
8 years ago
Andrey Nering
984fa8d83b
Fix 500 when repo has invalid .editorconfig
...
Creating a notice instead
8 years ago
Thomas Boerger
e05a5ca36c
Executed go fmt for all files
8 years ago
Rémy Boulanouar
8dc49dc114
Implementation of the feature to redirect to an external issue tracker
8 years ago
Andrey Nering
87b593f93e
Show issue/PR number on title
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
LefsFlare
2cb5ec5983
Prevented user enumeration of valid users through HTTP status codes of login ( #3639 ) ( #3654 )
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
6da55159a2
#3589 LoadRepoConfig after ORM is initialized
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
dadd35b636
#3559 fix template error
8 years ago
Unknwon
152e715999
models/login_source: code improvement
8 years ago
Unknwon
99c2ae7b35
#3515 use alert instead 500 for duplicated login source name
8 years ago
无闻
cd9b926af7
Support Editorconfig on web editor ( #3512 )
8 years ago
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
8 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
643142acab
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
429c92c0ce
#3516 enforce line ending to be \n from web editor
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
6e171c5225
Web editor: improve edit file tooltip
8 years ago
Unknwon
f0b5c3b90a
#3448 redirect if any after sign in
8 years ago
Unknwon
13a8823bd3
#3495 only start builtin SSH server after user finish installation
8 years ago
Unknwon
6b98d58906
#2966 code cleanup
8 years ago
Iwan Budi Kusnanto
8dca9f95fa
issues comment API : list, create, edit ( #2966 )
...
add `since` query string support to list issue comment
8 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
8 years ago
Kurt Madel
67fb0fe6a5
added support to set pull_request event from api ( #3513 )
8 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
8 years ago
lstahlman
84b56c3c53
Additional API support for milestones ( #3383 )
8 years ago
Kim Carlbäcker
7c5710d31f
Issues can be closed via API ( #3170 ) ( #3479 )
...
* Issues can be closed via API
* Error-checking is nice xD
* EditIssueOption.Status => State
* Use const instead of string-literal
8 years ago
Unknwon
a00c932bbc
General code quality improvement
8 years ago
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
8 years ago
Unknwon
6cda35a75f
#3464 reproduce diff signs
8 years ago
Unknwon
2625193a48
models/repo_editor: improve code quality
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
61e27dedf7
#3466 fix response of pull request form validation error
8 years ago
Unknwon
94392a7af3
Fix empty repository panic on send test webhook
8 years ago
Unknwon
8637e67e6f
Fix outdated edit can’t overwrite changes
8 years ago
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.
8 years ago
Unknwon
54e0ada9d5
Web editor: improve delete file
8 years ago
Unknwon
cd89f6c502
Web editor: improve edit file and diff preview
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
dccb0c15b9
Replace convert.To with APIFormat calls
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
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
Unknwon
2cb04db526
Fix #3391
8 years ago
Unknwon
a47aef5460
#2852 code cleanup
8 years ago
Unknwon
70fbcd2f27
models: rename EnableTidb to EnableTiDB
8 years ago
Thibault Meyer
53c573ed02
Fix #3314 : Cannot edit release with tag name contains slash ( #3434 )
8 years ago
Robin Lambertz
5a9709fa9d
Add MaxRepoCreation to EditUser API ( #2781 )
8 years ago
Unknwon
7e9b42c87d
#2780 code clean up
8 years ago
Robin Lambertz
b6c14f8b21
Add AddCollaborator API Endpoint ( #2780 )
...
* Add AddCollaborator API Endpoint
* Add optional Permission to AddCollaborator endpoint
* Use APIContext
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
b85927e488
#3091 show Git configs on admin panel
8 years ago
lstahlman
89f71b44f7
Add committer information to API and Webhooks. Also fixes #3271 ( #3414 )
8 years ago
Unknwon
edd786446c
#3158 skip RUN_USER check on Windows
8 years ago
Unknwon
f70343660d
Little code refactoring
8 years ago
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
8 years ago
lstahlman
2c82fc3edb
Fix for #3410 overall issues for organisations is limited to num_repos from the user ( #3412 )
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
Thibault Meyer
30fda0f1ae
Fix #3315 : Release dont use tag creation date ( #3374 )
...
* Fix #3315 : Release dont use tag creation date
* Simplify code and apply gofmt
* remove useless block (ctx.Repo.GitRepo.GetTag) on EditReleasePost
* apply gofmt on modified files
8 years ago
Unknwon
ab9c5fb5e7
#2593 allow render raw content
...
Use URL query parameter render=1 to render content in raw mode.
8 years ago
rugk
28dc5bb566
Replace gogs.io http links with https version ( #3386 )
8 years ago
Unknwon
cf6d321991
Ignore repository with issue disabled or use external tracker in dashboard issues
8 years ago
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
8 years ago
Unknwon
db3d393576
routers/api: rename handlers to be unexported
8 years ago
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
8 years ago
Unknwon
e7fd65f0cf
#3290 better code structure and batch minor improvements
8 years ago
lstahlman
2eeb0ec9b0
Additional API support for labels ( #3290 )
...
* Add API support for labels.
* Error handling for adding/replacing multiple issue labels
* Revisions to function names and error handling. Use issue.ClearLabels in replace/clear functions
* Additional code cleanup
8 years ago
Unknwon
10dc330640
#3345 dump content directly to HTTP ResponseWriter
8 years ago
Dennis Chen
dfab54d5a2
Diff patch ( #3345 )
...
* Add support for .diff and .patch
Add the ability to get text-diff and format-patch by adding .diff or
.patch in the end of a commit url. Issue #2641
* models: git_diff: various fixes
* Renames commitId to commitID.
* Writes stderr to a bytes.Buffer and displays proper error message on
command failure.
* Various style changes.
Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
마누엘
fe60ca408b
routers/repo/release: Use correct branch reference ( #3330 )
...
When calculating the current behind commit count the calculation should
use the current release target to get the total commit count. Should the
release target not exist anymore the calculation will return zero for
the newest release on that target. Older releases on that target will then
use that calculated commit count as reference.
The only use case that is now somehow invalid is when the release target
was merged / deleted after a tag on that release target:
master 1 - - - - - - - 6
\ /
branch 2 - 3 - 4 - 5
When `4` is the last tag on branch `branch` and the branch `branch` is not
yet deleted the calculated numbers would be:
1 commits to branch since this release
Now if the branch `branch` gets deleted the calculation function will not
find the branch and use the commit count of the newest release (`4`) as
reference resulting in:
0 commit to branch since this release
This fixes #3326
8 years ago
Richard Mahn
0402c803c6
Added Full Name to CreateUser api call ( #3333 )
8 years ago
Unknwon
29ccf047d8
routers/repo/issue: remove redundant format string
8 years ago
Unknwon
899e799459
#1601 support delete issue comment
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
256cd6374a
#2790 fix not detect diff style in pull request file changes
8 years ago
Unknwon
4b5e09e4d6
#3181 detect situation when base branch is deleted in pull request
8 years ago
Unknwon
e63b2881b1
api: fix panic if anonymous user request admin API
...
Add sign in check before check user account level
8 years ago
Unknwon
c912494609
#3076 detect invalid tag name git error
8 years ago
lstahlman
25b3836418
Refresh repository mirror from database when the repository's name has changed. ( #3276 )
8 years ago
Unknwon
5aa2bf86f4
Update locales and .gopmfile
8 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
8 years ago
Dennis Chen
5ff2dfb23e
api: delete repository webhooks ( #3275 )
...
Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.
Solves drone/drone issue #1603 .
Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
Unknwon
c083d76567
#2937 able to prohibit user login
8 years ago
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
8 years ago
Unknwon
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
lstahlman
846bf2ca9f
Add timestamps to repository api response ( #3255 )
...
Additional properties: created_at, updated_at
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
lstahlman
12cb84b97f
Extend the API to include more repository properties ( #3249 )
...
Adds description, stars_count, forks_count, watchers_count and
open_issues_count.
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
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
...
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
8 years ago
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
8 years ago
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
8 years ago
Unknwon
e84ac64964
Do not show filename not have suffifx .md
8 years ago
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
8 years ago
Franz Schmidt
8b35c194ec
Fixes #3110 ( #3136 )
8 years ago
Unknwon
4bbb878d20
Minor fix for #3194
...
- Update locale bindata
8 years ago
Sandro Santilli
2ce60ff314
Include repository owner name and description in html title ( #3194 )
...
Closes #3192
8 years ago
Unknwon
c041273dd3
repo/http: clean code
8 years ago
Unknwon
e9ae926e04
#809 fix wrong closed issue count when create closed issue via API
...
Add start count corrector for Repository.NumClosedIssues
8 years ago
Unknwon
bf5faf76eb
#809 able to set issue state to closed when create
8 years ago
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
8 years ago
Thomas Boerger
dfad51fe9e
Made the issue stats query more secure with parameterized placeholders ( #2895 )
8 years ago
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
8 years ago
Tamás Molnár
39356f4238
Set utf-8 charset for text files when serving raw content ( #2898 )
8 years ago
Unknwon
d27ca649c7
api/admin: add/remove organization team repository
8 years ago
Unknwon
762ab056a2
Fix XORM IN condition table name parse
9 years ago
Unknwon
dd36c431ec
#2842 add quotes to attachment file name
9 years ago
Unknwon
b1d41cfa60
#1692 add admin APIs to add/remove a user from teams
9 years ago
Unknwon
5e11341232
Fix status code
9 years ago
Unknwon
90e93b1f3a
Change list teams API to non-admin specific
9 years ago
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
9 years ago
Unknwon
60ae8ac3d2
Add route for #2846
9 years ago
Unknwon
149d62a648
#13 fix admin can't search private repos
...
- update glide info
9 years ago
Unknwon
8966f5635d
Merge pull request #2823 from zacheryph/feature/local-only-password-reset
...
Prevent `Forgot Password` for non local users
9 years ago
Zachery Hostens
63e21c146a
ensure we don’t try changing LDAP passswords
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
b4f47a7623
#1891 attempt to fix invalid csrf token
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
Marin Jankovski
1314ba219e
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
9 years ago
Alec S
792c13cf0a
readd 'dashboard' to title
9 years ago
Alec S
af847ef94e
Merge branch 'develop' of github.com:gogits/gogs into develop
9 years ago
Alec S
bfed3ea7d3
fix indentation
9 years ago
Alec S
affa3c2dbf
Remove dashboard keyword from title
9 years ago
Alec S
6775ac7334
change page titles for user and org dashes
9 years ago
Jan Christophersen
72a8fa3bc8
Allowing site admins to view private repositories in org/home
9 years ago
Unknwon
0e9bc2d410
Fix pull request availability check
9 years ago
Unknwon
9cf7f3e46f
Remove duplicated of code
9 years ago
Tamás Molnár
9c91e27933
Added: Ability to delete org avatar.
9 years ago
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
9 years ago
Unknwon
045f14fbd0
#1146 finsih UI work for access mode of collaborators
...
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
9 years ago
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
9 years ago
Unknwon
4cb8bf1b75
#1597 fix premission logic check of pull request
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
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
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
9 years ago
Unknwon
7a91d7e776
Merge pull request #2694 from mhartkorn/pullrefs
...
Improved Pull Request refs
9 years ago
Unknwon
129638117f
#2697 fix panic when close issue via commit message
9 years ago
Unknwon
4438b7793b
Add new config option for builtin SSH server
...
Config option [server] SSH_LISTEN_PORT to the port the builtin SSH server will be listen.
It can be different from SSH_PORT which is supposed to be exposed in the clone URL.
This should solve the problem when user runs Gogs inside Docker container
and still want to use builtin SSH server.
9 years ago
Unknwon
baaf6046a1
Minor fix for #2660
9 years ago
Josh Frye
c27038e392
Test mailer button. Addresses #1531
9 years ago
Martin Hartkorn
51f15880d1
Call PushToBaseRepo() also on Pull Request creation and not only on git push
9 years ago
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
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
Unknwon
7e0baf4136
Merge pull request #2634 from nanoant/patch/ldap-attributes-in-bind
...
LDAP: Fetch attributes in Bind DN context
9 years ago
Unknwon
a703f7d7b4
Merge pull request #2647 from andreynering/issue-template
...
Implement issue and pull request templates
9 years ago
Adam Strzelecki
834d92a47b
LDAP: Fetch attributes in Bind DN context option
...
This is feature is workaround for #2628 (JumpCloud) and some other services
that allow LDAP search only under BindDN user account, but not allow any LDAP
search query in logged user DN context.
Such approach is an alternative to minimal permissions security pattern for
BindDN user.
9 years ago
Unknwon
aa12135b97
Fix panic when view profile without signin
...
Also fix that no matter who, still able to see organizations with private membership.
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
a1b28fc33c
Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls().
9 years ago
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
9 years ago
Andrey Nering
658bfc2704
Implement issue and pull request templates.
...
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates
Priority:
- root
- .gogs
- .github
9 years ago
Unknwon
338af89d56
#2650 fix possbility that use email as pusher user name
...
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
9 years ago
Unknwon
d5ca913b2f
#2639 add branch prefix for test webhook
9 years ago
Unknwon
2765b5c7cf
#2630 fix wrong user avatar link in webhook
...
Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
9 years ago
Unknwon
632c27802c
Minor fix for #2624
9 years ago
Unknwon
dc89c51f3e
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
...
Convert mirrors to regular repositories
9 years ago
Martin Hartkorn
bb595666ac
Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
9 years ago
Unknwon
d8631b616e
Merge pull request #2578 from exmex/develop
...
Admins and user itself sees private org relations on profile
9 years ago
Unknwon
a1d97e8f5c
Minor fix for #2567
9 years ago
Unknwon
daa43cfb6e
Merge pull request #2567 from fnkr/hide-other-teams-activity-from-dashboard
...
Only show activities and repositories on the dashboard, that the user has access to
9 years ago
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
9 years ago
Martin Hartkorn
15394f613f
Add missing safety check
9 years ago
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
9 years ago
Josh Frye
d3ca5accfd
Remove redundant nil check.
9 years ago
Josh Frye
ec478b4b06
Set default log path if empty during install
9 years ago
Josh Frye
a3e8c32a30
Add install option for log path
9 years ago
Unknwon
0ad5f51059
Merge pull request #2599 from mhartkorn/fix-release-error-deleted-user
...
Fix for server error on release page when a user deleted their account
9 years ago
Martin Hartkorn
6b3e47b103
Removed HTTP 500 error on the release page when a user deleted their account
9 years ago
Unknwon
f15a2f9b25
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
...
Enable syntax highlighting on diff view
9 years ago
ExMex
2cfe6f8c60
Admins and user itself sees private org relations on profile
9 years ago
Florian Kaiser
45db167f7a
Only show activities for repositories on dashboard, that the user has access to
9 years ago
Tobias Kunicke
bc0eee48d5
parse milestone.deadline as local time
9 years ago
Unknwon
4e96a4a62b
Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme
...
Feature/markdown custom url scheme
9 years ago
Florian Kaiser
90e9e3c89d
Only show repositories on organization dashboard, that the user has access to
9 years ago
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
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
Florian Kaiser
c3ff476ed6
Remove unnecessary else-block
9 years ago
Unknwon
995487e822
Minor fix for #2506
9 years ago
Unknwon
5e97693e0e
Merge pull request #2506 from sapk/add-branche-api-support
...
Implement API for branches listing
9 years ago
Florian Kaiser
0e4ae27caa
Use pretty 404 pages in repo.HTTPBackend
9 years ago
Unknwon
1c74612b3c
Minor fix for #2444
9 years ago
Unknwon
d3ba246693
Merge pull request #2444 from bkcsoft/feature/participants
...
Implemented participant-listing for issue-pages (Fixes #2377 )
9 years ago
Florian Kaiser
3e0a27157c
Make highlighted markdown code blocks work on issue pages
9 years ago
Florian Kaiser
bead46363b
Evaulate org/team permissions when using the issue/PR view
9 years ago
Florian Kaiser
fdad234445
Remove unnecessary comments
9 years ago
Florian Kaiser
bba1847a8e
Everyone can see public repos
9 years ago
Unknwon
a9d68a6884
fix #2529
9 years ago
Florian Kaiser
e35791b2b2
Only show teams the user has access to
9 years ago
Florian Kaiser
5eafe2b17e
Only show repositories the user has access to, on the organization home
9 years ago
Florian Kaiser
295de51b99
Show all orgs on user profile, except the private one's
9 years ago
Unknwon
112a7cab31
#2497 incorrect error handle for team name
9 years ago
Antoine GIRARD
b7b30cd85e
Corrections following recommendations
9 years ago
Antoine GIRARD
81e5722bcc
Handling error for the API request and add commments
...
[ci skip]
9 years ago
Antoine GIRARD
303d091ea9
Update link for documentation (Temporary https://gist.github.com/sapk/df64347ff218baf4a277 )
...
[ci skip]
9 years ago
Antoine GIRARD
c11c3b6c11
Near ready
9 years ago
Andrey Nering
5deb726f3f
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
9 years ago
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
9 years ago
Kim "BKC" Carlbäcker
85335c5f56
Go-ism :D
9 years ago
Kim "BKC" Carlbäcker
b31c7fe074
Fixed Poster/Commenter-bug and clean-up
9 years ago
Kim "BKC" Carlbäcker
2665728ee7
Fix OP not 'participating' until commented
9 years ago
Kim Carlbäcker
f65dedc3be
Optimize participant-fetching
9 years ago
Kim "BKC" Carlbäcker
2cc1ee3fc0
Implemented participant-listing for issue-pages
9 years ago
Andrey Nering
ee5d6fb025
Compute inline diff for pull request view, too. Fix #2462
9 years ago
Kim "BKC" Carlbäcker
a3eab8185d
Admins are allowed to create repos for arbitrary Orgs
9 years ago
Unknwon
f75b5f4287
Merge pull request #2383 from exmex/develop
...
Added organization display on profile
9 years ago
Unknwon
a72f57374d
Merge pull request #2403 from ddelpero/master
...
Update repo.go
9 years ago
ExMex
f610bfa8a2
Added organization display on profile
...
Fixed "Follower" Icon too big
9 years ago
Unknwon
bcf6aed452
Merge pull request #2335 from andreynering/highlight-diff
...
Highlight diff
9 years ago
Unknwon
4331d1d2a0
require token for list my orgs
9 years ago
Unknwon
62edc5c59a
fix cannot show user public ssh keys
9 years ago
Unknwon
03427fb005
fix #2360
9 years ago
ddelpero
7655337a1f
Update repo.go
...
Release download file name doesn't include tag number #2339
Download: Changed to use refName instead of commit.ID for downloaded file name
9 years ago
Unknwon
e0f0f72a36
#2345 disallow access of some pages for empty repo
9 years ago
Andrey Nering
73474c043b
Highlighting differences of lines in the diff view.
9 years ago
zhuharev
0d5dc8a064
typo fix
9 years ago
Kim "BKC" Carlbäcker
8fe5d887ae
Changed name from inline to unified
9 years ago
Kim "BKC" Carlbäcker
0df39b33eb
Implement Split Diff-View
...
- Unified/Inline Diff-View Selectable
9 years ago
Unknwon
a62290de52
#2311 improve HTTP auth error message
9 years ago
Unknwon
8d58e06ad8
more fix on #2268
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
novaeye
227dcc3cb9
fix #2268
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
5ff6eedf5e
#2251 fix button name
9 years ago
Unknwon
037a01c4e4
fix #2189
9 years ago
Unknwon
1c9dd11ba7
#1692 API: admin create repo
9 years ago
Unknwon
1e7e092992
#2103 Ability to map extensions for syntax highlighting in config
9 years ago
Unknwon
33a99d587a
fix #2223
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
19423957b1
rename import path
9 years ago
Unknwon
3362b3a44f
fix possible disclosure
9 years ago
Unknwon
7509fa2c33
improve get commits performance
9 years ago
Unknwon
79dcd7ee6e
#2167 able to identify git version on Windows
9 years ago
Unknwon
0cce4439ce
#2154 minor fix
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
40f3142264
#2114 External URL for wiki
9 years ago
Unknwon
3d5d61778a
#1938 #1374 disable password change for non-local 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
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
9 years ago
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Unknwon
2528c482e9
#1627 auto login after install if admin is configured
9 years ago
Unknwon
dce2a9e7e1
fix wrong slack webhook payload URL
9 years ago
Unknwon
89244b74c6
remember page number when delete repo
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
4d9499c2d3
fix broken link
9 years ago
Unknwon
cc8f5add6e
fix #976
9 years ago
Unknwon
ec2423ad7c
more UI minor fixes
9 years ago
Unknwon
0be8b1b1a1
#2052 Ability to batch delete system notices
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
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
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
2b10fdc4dc
Wiki: UI for page new
9 years ago
Unknwon
144663a3cf
allow admin to migrate for any user/org
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
0128036514
#1681 some fixes for builtin SSH server on Windows
9 years ago
Unknwon
b2fb7e3fd2
more HTTP clone word fix
9 years ago
Unknwon
52c8f69163
fix #650
9 years ago
Unknwon
b80e848d02
upgrade libs
9 years ago
Unknwon
987dcc5372
fix #1383
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
c0b0ce7b1a
#1971 more general rule to detect error
9 years ago
Unknwon
dc0c0dc06b
fix typo for #1996
9 years ago
Unknwon
9330c943cd
work on #1891
9 years ago
Unknwon
f455125d4d
fix #878
9 years ago
Unknwon
2c653141a8
#1742 Update default branch in git repository while change in web view
9 years ago
Unknwon
efea642d6c
add admin op: delete missing repos
9 years ago
Unknwon
81d7359fdd
fix #1981
9 years ago
Unknwon
9a0902523b
fix #1987
9 years ago
Unknwon
ff5f14431e
fix #1448
9 years ago
Unknwon
ab9411be2a
clean up code
9 years ago
Unknwon
9ab96172fc
new watchers, stars and forks UI
9 years ago
Unknwon
917d334ebd
only show user's activities in profile
9 years ago
Unknwon
d370effca5
minor fix for #1961
9 years ago
Unknwon
29ed7872f8
repo sidebar active class
9 years ago
Unknwon
134d8e7681
work on #1961
9 years ago
Unknwon
18de67380c
fix #1958
9 years ago
Unknwon
84a43b38cf
remove unused code
9 years ago
Unknwon
7c80eba77f
minor UI fix and fix ssh race
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
f8ae161c74
fix #1302
9 years ago
Unknwon
1d57f0d64f
Show custom avatars in commits
9 years ago
Unknwon
1559bd58e7
save custom avatar as PNG
9 years ago
Unknwon
10427b2178
fix #1930
9 years ago
Unknwon
3b62a0fe0e
fix #1572 fix file histrory paging issue
9 years ago
Unknwon
0d4498429c
work on #1904
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
e7aabf70dc
#1905 Triming the issue title
9 years ago
Unknwon
603c7389b8
#1459 Dashboard issues lacks sorting
9 years ago
Unknwon
00eb2b221f
fix #1876
9 years ago
Unknwon
3a81fdf092
rename fields
9 years ago
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
9 years ago
Unknwon
fad31ca302
work on #1748
9 years ago
Unknwon
102b675f96
remove test code 😵
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
022820103d
#1657 allow forcing all private repos
9 years ago
Unknwon
c3ba5590c9
Reopen PR need retest patch
9 years ago
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
9 years ago
Unknwon
e0aab4a7f6
#1830 new comment with status change overwrites issue content
9 years ago
Unknwon
c6ce6bd4c2
work on #1830
9 years ago
Unknwon
35a65736fa
add get repo API
9 years ago
Unknwon
fc7959d3bc
New/reopen PR checks if there is any unmerged and open PR
9 years ago
Unknwon
4dc6285715
add new status: checking
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
aff49b1c9e
unified API error response
9 years ago
无闻
b1941f1da1
Merge pull request #1736 from soudy/develop
...
Added repository remove option to API
9 years ago
Unknwon
215920772a
save PR info as patch and minor fix on PR
9 years ago
Steven Oud
6fe868a4d5
added repository remove option to api
9 years ago
kendaru
5c39d3fa7d
changed integrated page number to GET
9 years ago
Steven
c8aa9c6cb1
implemented #1721 : see users who forked/starred/watched a repository
9 years ago
Unknwon
21e13cb51e
#1525 Triggere mailer for admin created accounts
9 years ago
Unknwon
986447335d
#1693 minor fix
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
a8fd615adc
Fix indent in notice router
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
3544dafb64
Fix indent
9 years ago
Antoine GIRARD
14a1101139
New admin notice UI based on user list example
9 years ago
Unknwon
d9c5b3bcee
#1659 fix change label title resets color
9 years ago
Unknwon
acf428863c
fix #981
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
f5c7f22cc8
#1637 able to skip verify for LDAP
9 years ago
Unknwon
2d1bb0cf49
#1633 admin delete user
9 years ago
Unknwon
5f1183cecf
#697 add install option
9 years ago
Unknwon
b0bf4cc1cb
fix #1632 and #1606
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
10de16beb0
typo and README
9 years ago
Unknwon
ed5a61153f
fix #1629
9 years ago
Unknwon
47df562ced
#1626 default db_type
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
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
Sergio Benitez
964d0262ff
Merged conflicts.
9 years ago
Unknwon
6f6f38e7c3
#1603 suburl for comment attachments
9 years ago
Unknwon
49e120a67c
#1602 change status after comment issue
9 years ago
Unknwon
cc83043edc
minor fix on template
9 years ago
Unknwon
3d9b98fae4
#1585 order owners list by last changed time
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
00767a0522
finish new org settings page
9 years ago
Unknwon
edc99bc8a4
new org options UI
9 years ago
Unknwon
80701d45bb
#1193 Make organization emails non-mandatory
9 years ago
Unknwon
aa67de910a
fix #1558
9 years ago
Unknwon
119dec51f2
Mirror repository should not allow fork
9 years ago
Sergio Benitez
aa9c36514f
Merged conflicts.
9 years ago
Sergio Benitez
2d1db4bf05
Added LDAP simple auth support.
9 years ago
Unknwon
d023e81a8f
#1577 explore paginator problem
9 years ago
Unknwon
7ec991326d
fix migrate api
9 years ago
Unknwon
e5b105e513
fix migrate API
9 years ago
Unknwon
2a2a8cd619
ui and pulls index fix
9 years ago
Unknwon
83dc2468f5
finish initial version of pull request
9 years ago
Unknwon
5da306c0e5
tmp: fix issue open count
9 years ago
Unknwon
d951824ff9
able to download archive by API
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
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
670ade9a61
#1206 does not allow fork bare repo
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
7714e792a4
minor fixes on #1551
9 years ago
Unknwon
1ca257ad9f
rename fields
9 years ago
Unknwon
cb381078ff
finish new repo options page
9 years ago
Unknwon
d01f688257
fix repository count of user is messed up
9 years ago
Unknwon
302938e646
#1333 Disable Gravatar option when install
9 years ago
Unknwon
8d73832bdf
fix sql
9 years ago
Unknwon
ea454c21f7
#1542 A way to skip TLS verify for SMTP authentication
9 years ago
Unknwon
65843b803b
add webhook default events
9 years ago
Unknwon
55ddf225bb
webhook APIs
9 years ago
Unknwon
f509c59ac1
new create webhook event
9 years ago
Unknwon
a00194e665
work on #1548
9 years ago
Unknwon
f2de4d5c04
new create repo options
9 years ago
Unknwon
c75cd33f2f
#965 Remember visibility preference
9 years ago
Unknwon
bb3b90fcd6
#1487 Readme Template
9 years ago
Unknwon
46bee50e45
complate list of gitignores and licenses
9 years ago
Unknwon
ff35a37769
#1458 : Authorities were messed up when using mysql database
9 years ago
Unknwon
70e0153b93
add highlight js
9 years ago
Unknwon
23f42d92c9
add webhook recent deliveries
9 years ago
Unknwon
c08600c59b
new edit webhook UI
9 years ago
Unknwon
4217c2333c
new create webhook UI
9 years ago
Unknwon
2881456421
new webhooks list UI
9 years ago
Unknwon
1cb03135b7
new repo git hooks UI
9 years ago
Unknwon
a329bbc215
new org dashboard issues
9 years ago
Unknwon
f808df5a7b
new user dahsboard issues
9 years ago
Unknwon
4275b3720a
finsih diff and compare
9 years ago
Unknwon
aa65761d81
new commits table
9 years ago
Unknwon
062adbed8a
add confirmation to delete ssh key
9 years ago
Unknwon
371572cf5f
allow edit issue and comment
9 years ago
Unknwon
87f5ca8e1f
able edit issue title
9 years ago
Unknwon
bd1d7d1509
Able to set SSH port when install, update Docker docs
9 years ago
Unknwon
1453e91f41
minor fix on API response
9 years ago
无闻
2b393f5b03
Merge pull request #1507 from cloudron-io/develop
...
Set IsAdmin using LDAP
9 years ago
无闻
a5e1ada474
Merge pull request #1414 from nice-software/wip/currentUser
...
Factor out function to get the current user
9 years ago
Girish Ramakrishnan
24d7a86a8d
Set IsAdmin using LDAP
...
The IsAdmin flag is set based on whether the admin filter
returned any result. The admin filter is applied with the user dn
as the search root.
In the future, we should update IsAdmin as well on each login.
Alternately, we can have a periodic sync operation.
9 years ago
Unknwon
03b85b73af
token recent activity
9 years ago
Unknwon
54b52de6ee
minor fix on API response
9 years ago
Unknwon
47ac579f09
only assign auto-admin when sign up by web
9 years ago
Unknwon
4c7b6414eb
new access token UI
9 years ago
Unknwon
2493454587
new delete account UI and password confirmation
9 years ago
Unknwon
b1696665bd
make cron task configurable
9 years ago
Unknwon
d17f102339
try to fix HTTP ops not GC
9 years ago
Unknwon
407385db7e
work on #1493
9 years ago
Unknwon
55ccb00a47
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
9 years ago
Unknwon
c8bb475abb
fix autocomplete on migration
9 years ago
Paolo Borelli
0d38794c7f
Factor out function to get the current user
...
The same logic was duplicated in three places. Factor it
out so that we can add further fallbacks in a single place.
9 years ago
Unknwon
e633425f27
#1180 and #1250 : migration
9 years ago
Unknwon
a52324a5f9
able sort issues
9 years ago
Unknwon
4ce003dc15
Filter issues by assignee
9 years ago
Unknwon
30b428bf0e
#1419 : 500 when visit a issue with issue/comments of deleted user
9 years ago
Unknwon
13a74c3a0c
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
9 years ago
Unknwon
cec38f2a8c
able edit issue labels/milestone/assignee
9 years ago
无闻
8be0bb177b
Merge pull request #1485 from donbowman/mime-type
...
43bfee0d48
reverted my change
9 years ago
Don Bowman
4137426c88
43bfee0d48
reverted my change
...
423b1c69be
, which in turn
causes all content to be served as text/plain. Let go decide
what the mime type is (e.g. text/html instead of text/plain).
9 years ago
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
9 years ago
Unknwon
1fb53067f4
finish close/reopen issue
9 years ago
Unknwon
133b19d0c5
finish view comments on issue page
9 years ago
Sergio Benitez
7d84d4a8f0
Significantly enhanced LDAP support in Gogs.
9 years ago
Unknwon
ab2d0b3b44
add comment form UI
9 years ago
Unknwon
b4c0b7b98b
finish view issue without comments and ops
9 years ago
Unknwon
e67659bf8e
fix serve attachment content type
9 years ago
Unknwon
34f6cbfc2a
finish attachments when create issue
9 years ago
Unknwon
89c2bd4a0d
finish create issue attachment UI
9 years ago
Unknwon
17f3e840ec
fix cannot parse JSON for attachments
9 years ago
Unknwon
cbc7b7132f
finish new issue action and mentions
9 years ago
Unknwon
884bc4ffd8
rename functions
9 years ago
Unknwon
75aff60c90
finish create issue with milestone and assignee
9 years ago
Unknwon
09a1b2a1f5
finish create issue with milestone
9 years ago
Unknwon
922f3f3062
finish create issue with labels
9 years ago
Unknwon
17de3ab0a3
add migrate from issue.label_ids to issue_label
9 years ago
Unknwon
590c464c56
UI: create issue with title and content
9 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
9 years ago
Unknwon
e3bdfd51ff
better fork permission check
9 years ago
Unknwon
9db4acc62e
improve fork process
9 years ago
Unknwon
3d0583df0f
fix private repo cannot trigger hook by SSH
9 years ago
Unknwon
9d414d4dd9
remove Index field of milestone
9 years ago
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
9 years ago
Unknwon
34795770c3
fix issue stats with milestone filter
9 years ago
Unknwon
77dcef0cab
fix milestone format parse
9 years ago
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
9 years ago
Unknwon
0705f55ce0
finish new milestone page
9 years ago
Unknwon
74bd6b939c
milestone: edit
9 years ago
Unknwon
3e4cdccf6b
milestone: create page
9 years ago
Unknwon
ce4dcf1e83
fix naming
9 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
9 years ago
Unknwon
9311a9858a
milestone: pagination
9 years ago
Unknwon
04458d49a0
milestone: list view
9 years ago
Unknwon
cbb78b6a63
better wording
9 years ago
Unknwon
009d692c7d
fix install default db option
9 years ago
Unknwon
eea9302d8f
fix #1204
9 years ago