summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant Unix timestamp method callUnknwon2016-07-2313-38/+38
| | | | Unix() already uses UTC as timezone
* conf: change default mirror checking interval to 10mUnknwon2016-07-231-5/+1
|
* #2903 use different reversed words and patterns for repository and userUnknwon2016-07-233-34/+49
|
* #3066 fix create organization ignores full name propertyUnknwon2016-07-231-1/+0
|
* #3157 create user path before rename repository while transferUnknwon2016-07-231-0/+1
| | | | os.Rename does not create parent directory automatically when not exist
* #3076 detect invalid tag name git errorUnknwon2016-07-232-4/+20
|
* add IsSubmodule field to DiffFile and hide view file button on diff page for ↵Siarhei Navatski2016-07-231-1/+5
| | | | submodules (#3097)
* avatar: make custom and generated avatars equal (#3301)Dennis Chen2016-07-211-3/+2
| | | | | | Sets all avatars to use PNG image format. Keeps avatars consistent at 290x290px resolution. Signed-off-by: Dennis Chen <barracks510@gmail.com>
* #3291 fix SQLite3 session read/update conflict on create new issueUnknwon2016-07-211-7/+11
|
* #3295 fix wrong logic judgementUnknwon2016-07-211-1/+1
|
* Updated Issues and Issues Stats functions to include table aliases. This ↵lstahlman2016-07-171-21/+21
| | | | addresses errors involving ambiguous column references when filtering issues by the view type "Mentioning you". (#3269)
* models/webhook: restrict deletion to be explicitly with repo and org IDUnknwon2016-07-171-18/+39
|
* #2937 able to prohibit user loginUnknwon2016-07-161-0/+1
|
* models/user_mail: refactor EmailAddressUnknwon2016-07-163-172/+204
|
* Return avatar link as absolute url (#3235)Sandro Santilli2016-07-161-2/+2
| | | | | Fixes relative urls coming from api/v1 See https://github.com/drone/drone/issues/1701
* #3274 fix can't get webhook detail of organizationUnknwon2016-07-161-5/+17
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-166-39/+356
|
* models/repo: remove redundant info for some repo methodsUnknwon2016-07-153-6/+6
| | | | RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
* Ignore Response Body for Slack Hooks #3169 (#3256)Kim Carlbäcker2016-07-151-8/+0
|
* #2709 validate username attribute fetched from LDAPUnknwon2016-07-121-16/+22
|
* #2375 preserve cases for action contentUnknwon2016-07-091-1/+1
|
* Minor fix for #3246Unknwon2016-07-091-11/+10
|
* The pruning for the synchronized mirrors is a option now. Default value: ↵Pablo Saavedra2016-07-092-18/+27
| | | | | | | | | | | | | 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
* Modify behaviour of repo-delete. (#3232)Pheng Heong TAN2016-07-091-12/+0
| | | | | | | | | | 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.
* #3057 retrieve webhook with repo_idUnknwon2016-07-081-4/+4
| | | | | This prevents user retrieve arbitrary webhook by changing URL to access webhook from other unauthorized repositories.
* #3229 disallow repository name . and ..Unknwon2016-07-081-1/+1
| | | | Since . and .. has browser automatical behaviors, we need to disallow those names.
* Use SecurityProtocol to replace UseSSL in LDAP configUnknwon2016-07-083-14/+84
| | | | Initially proposed by #2376 and fixes #3068 as well.
* #3058 #3059 support correct page size and link headerUnknwon2016-07-041-3/+0
|
* getEngine() not handles DB parameters (#2972) (#2974)Tom2016-07-021-6/+10
|
* Fix wiki vulnerabilitiesUnknwon2016-07-011-4/+13
| | | | | | | - Arbitrary file creation leading to command execution - .md file creation/deletion Reported by Gabriel Campana.
* Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174)Andrey Nering2016-06-291-22/+23
|
* Localize collaboration settings. (#3100)Andrey Nering2016-06-281-5/+6
| | | Closes #2764
* Use a gopher as default avatar (rather than the gravatar logo) (#3208)Sandro Santilli2016-06-271-1/+1
| | | | | | | | | | | | 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)
* Fixes #3110 (#3136)Franz Schmidt2016-06-272-0/+15
|
* Fix #3154 (#3155)Robin Lambertz2016-06-271-2/+2
|
* Fix capitalisation of repo-name in news (#3203)SjonHortensius2016-06-271-1/+1
| | | | use 'official' repo.Name instead of incoming repoName; to enforce correct capitalisation
* Fix negative issue count (#3207)Robin Lambertz2016-06-271-2/+2
|
* #809 fix wrong closed issue count when create closed issue via APIUnknwon2016-05-271-2/+19
| | | | Add start count corrector for Repository.NumClosedIssues
* Add comment note (#3093)Andrey Nering2016-05-231-2/+4
|
* Fix listing team members (#3048)Kim Carlbäcker2016-05-061-1/+3
|
* Fix remove folder issues, including initialization failling. (#2969)Andrey Nering2016-05-061-0/+8
| | | | - Prevent panic on creating notice if database is not available - Prevent incorrect folder on Windows ("/" instead of "\")
* models/release: filter input to prevent command line argument vulnerabilityUnknwon2016-05-062-4/+6
|
* #2895 minor fix for bug of xormUnknwon2016-04-261-28/+32
|
* Made the issue stats query more secure with parameterized placeholders (#2895)Thomas Boerger2016-04-261-65/+88
|
* #2992 set default style name when empty in AfterSetUnknwon2016-04-221-0/+4
|
* Support alphanumeric issue style (ABC-1234) for external issue tracker (#2992)Cosmin Stroe2016-04-222-0/+70
|
* Fix XORM IN condition table name parseUnknwon2016-03-271-1/+1
|
* Followup fix for previous query fixThomas Boerger2016-03-281-2/+2
|
* Made the issues query more secure and simplerThomas Boerger2016-03-271-16/+5
|
* Try to make the SQL queries cleaner and more secureThomas Boerger2016-03-271-13/+2
|