summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
* Handle ssh key import better (#224)stroucki2016-11-241-0/+2
| | | | | | | | | | | * Handle user ssh key input better ssh_key: when user submitted keys had a newline at the end, strings.Split would have created a slice with an empty last element, and the key type check would be incorrect. Perhaps a better way is to look for 'ssh-rsa' or 'ssh-dsa' at the beginning of the string, but this is simple. * ssh_key: correct indentation
* Lint webhook.go, unexports simpleMarshalJSON (#198)Sandro Santilli2016-11-221-3/+27
|
* API endpoints for starsEthan Koenig2016-11-161-0/+15
|
* fix variable assigned and not used.Bo-Yi Wu2016-11-151-1/+1
| | | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Fix lint errors in models/wiki (just add methods docs)Sandro Santilli2016-11-141-0/+6
| | | | See #70
* Remember diff view style (#163)Andrey Nering2016-11-133-1/+23
|
* Fixes possible vulnerabilities with keyword hijacking (#20)LefsFlare2016-11-121-4/+4
| | | | | | - Added public entries to reserved keywords list - Rename variables - Derped comment
* Bug fixed for issues (#156)Lunny Xiao2016-11-121-14/+6
|
* bug fixed caused by #153 (#154)Lunny Xiao2016-11-121-1/+1
|
* use in instead string join (#155)Lunny Xiao2016-11-124-9/+5
|
* fixed bug #151 caused Find should be Get (#153)Lunny Xiao2016-11-124-21/+29
|
* optimization on database INLunny Xiao2016-11-121-5/+4
|
* bug fixed for 500 caused by get org users (#149)Lunny Xiao2016-11-121-2/+2
|
* Normalize files with gofmtThibault Meyer2016-11-114-10/+10
|
* Fix import path of go-sdk (#141)Sandro Santilli2016-11-119-9/+9
| | | | From code.gitea.io/go-sdk/gitea To code.gitea.io/sdk/gitea
* Remove unused importThibault Meyer2016-11-101-1/+0
|
* Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queriesThibault Meyer2016-11-1028-95/+96
|\ | | | | | | | | | | | | | | | | # Conflicts: # models/git_diff.go # models/issue.go # models/org.go # models/pull.go # models/repo.go
| * Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-1028-96/+96
| | | | | | | | | | | | | | - 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
* | Rewrite XORM queriesThibault Meyer2016-11-1022-233/+480
|/
* Remove go version from build tags (#133)Matthias Loibl2016-11-101-1/+1
|
* Merge pull request #121 from joubertredrat/feature-last-loginLunny Xiao2016-11-101-0/+9
|\ | | | | Last Login for admin manage your users
| * Support to last login featureJoubert RedRat2016-11-091-0/+9
| |
* | Merge pull request #129 from lunny/lunny/SQL_instead_SqlLunny Xiao2016-11-104-5/+5
|\ \ | | | | | | use x.SQL instead of x.Sql
| * | use x.SQL instead of x.SqlLunny Xiao2016-11-104-5/+5
| | |
* | | Ordering organizations and users by nameThibault Meyer2016-11-102-18/+38
|/ /
* | Merge pull request #18 from LefsFlarey/issue/3675Lunny Xiao2016-11-091-4/+4
|\ \ | |/ |/| Fix 500 error caused by deleted users on issues (#3675)
| * Fix err not being nilFlare2016-11-091-0/+1
| |
| * Still print error if user does not existFlare2016-11-051-0/+4
| |
| * Fix 500 error caused by deleted users on issues (#3675)Flare2016-09-201-7/+2
| |
* | Merge pull request #73 from bkcsoft/gt/2164-release-paginationLunny Xiao2016-11-081-2/+5
|\ \ | | | | | | Add Pagination to Releases-page (and de-duplicate pagination templates)
| * | Add Pagination to Releases-pageKim "BKC" Carlbäcker2016-11-071-2/+5
| | |
* | | Fix type in unused constant name (#111)Sandro Santilli2016-11-073-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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"
* | | And othersSandro Santilli2016-11-074-19/+19
| | |
* | | moreSandro Santilli2016-11-073-20/+20
| | |
* | | Security protocolsSandro Santilli2016-11-071-5/+5
| | |
* | | More mixageSandro Santilli2016-11-071-22/+22
| | |
* | | More overlooksSandro Santilli2016-11-071-9/+9
| | |
* | | This one I overlooked beforeSandro Santilli2016-11-072-6/+6
| | |
* | | More...Sandro Santilli2016-11-074-34/+34
| | |
* | | More MixedCase constsSandro Santilli2016-11-074-47/+47
| | |
* | | ACCESS_MODE_* -> AccessMode*Sandro Santilli2016-11-078-35/+35
| | |
* | | More MixedCase constsSandro Santilli2016-11-071-1/+1
| | |
* | | Use MixedCase constant namesSandro Santilli2016-11-076-96/+96
| | | | | | | | | | | | See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
* | | Merge pull request #108 from go-gitea/go-sdkThomas Boerger2016-11-079-9/+9
|\ \ \ | | | | | | | | Replaced gogits go-gogs-client with go-sdk
| * | | Replaced go-gogs-client with go-sdk importsThomas Boerger2016-11-079-9/+9
| |/ /
* | | Merge pull request #103 from strk/GOGS_dropSandro Santilli2016-11-071-2/+2
|\ \ \ | | | | | | | | Replace GOGS with GITEA in variable names
| * | | Fix typo in unused constant nameSandro Santilli2016-11-071-1/+1
| | | |
| * | | Replace GOGS with GITEA in variable namesSandro Santilli2016-11-071-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* / / Replace Gogs to Gitea in installation optionsJoubert RedRat2016-11-071-1/+1
|/ /
* | Replace gogits/git-module dependency with go-gitea/git (#94)Sandro Santilli2016-11-0611-11/+11
| | | | | | | | | | | | | | | | * Replace gogits/git-module dependency with go-gitea/git Fixes #92 * Remove git alias for git module import (not needed)