summaryrefslogtreecommitdiffstats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
* Bug fixes for Issues filters (#413)Ethan Koenig2016-12-241-50/+29
| | | Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
* API Endpoint for watching (#191)Ethan Koenig2016-12-241-0/+15
|
* Enables mssql support (#383)btrepp2016-12-242-0/+23
| | | | | | | | | | | | | | | | | | | * 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>
* Add default values for settings (#455)Lunny Xiao2016-12-231-0/+2
| | | | | | | | | | * add default values for settings * more default values * more default settings and labels resource * mv locale to options
* Bindata is optional and over-writable on restart (#354)Thomas Boerger2016-12-221-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved conf assets into options folder * Dropped old bindata * Started to integrate options bindata and accessors * Do not enforce a builtin app.ini * Replaced bindata calls with options * Dropped bindata task from makefile, it's the generate task now * Always embedd app.ini to provide sane config defaults * Use sane defaults for the configuration * Defined default value for SSH_KEYGEN_PATH * Dropped "NEVER EVER MODIFY THIS FILE" header from app.ini * Fixed new paths in latest test additions * Drop bindata with make clean task * Set more proper default values
* fix tag webhook 404 error (#420)Lunny Xiao2016-12-221-1/+1
|
* update code.gitea.io/git (#450)Lunny Xiao2016-12-224-11/+11
|
* UpdateIssueUsersByMentions was calling database write operations while (#443)Lunny Xiao2016-12-223-11/+13
| | | | | | | | | | a transaction session was in progress. MailParticipants was failing silently because of the SQLITE_LOCKED error. Make sure failures in MailParticipants enter the log, and pass on the transaction context. issue: let caller pass in database context, and use it issue_comment: obtain database context to pass to UpdateIssueMentions issue_comment: log any error from call to MailParticipants issue_mail: pass on database context to UpdateIssueMentions
* Bug fixes and tests for modules/base (#442)Ethan Koenig2016-12-221-5/+9
| | | Also address other TODOs
* issue comment api fix (#449)Kim "BKC" Carlbäcker2016-12-221-5/+60
| | | | | | * ListAllInRepo & Delete Issue-Comments * Moar data in issue-comments
* Fix string format verbs (#3637)Alexander Lunegov2016-12-224-5/+5
|
* Fix random string generator (#384)Denis Denisov2016-12-204-8/+22
| | | | | | | | | | | * 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
* change test mail subject and body to 'Gitea Test Mail!'Michael de Wit2016-12-201-1/+1
| | | | Signed-off-by: Michael de Wit <mjwwit@gmail.com>
* fixed vulnerabilities labels (#409)Lunny Xiao2016-12-171-1/+28
|
* Remove fixed FIXME (#408)Richie B2B2016-12-161-1/+0
|
* Fix typo (#407)Richie B2B2016-12-161-1/+1
|
* fixed vulnerabilities on deleting release (#399)Lunny Xiao2016-12-161-1/+8
|
* fixed vulnerabilities (#392)Lunny Xiao2016-12-152-7/+31
|
* Don't use custom PBKDF2 function (#382)Lunny Xiao2016-12-151-1/+2
|
* bug fixed branch name for pushupdate (#380)Lunny Xiao2016-12-131-1/+1
|
* Correction LDAP validation (#342)Denis Denisov2016-12-121-2/+2
| | | | | | | | | | | | * Correction LDAP username validation As https://msdn.microsoft.com/en-us/library/aa366101(v=vs.85).aspx describe spaces should not be in start or at the end of username but they can be inside the username. So please check my solution for it. * Check for zero length passwords in LDAP module. According to https://tools.ietf.org/search/rfc4513#section-5.1.2 LDAP client should always check before bind whether a password is an empty value. There are at least one LDAP implementation which does not return error if you try to bind with DN set and empty password - AD. * Clearing the login/email spaces at the [start/end]
* In the wiki title replace tab with a space (#371)Bwko2016-12-111-0/+1
|
* Fixes issue #283Bwko2016-12-091-0/+3
| | | | Delete old temp local copy before we create a new temp local copy
* Remove stale comment in models/repo.go (#366)Ethan Koenig2016-12-081-1/+0
|
* Bug fixes for repo permissions in APIEthan Koenig2016-12-074-14/+19
| | | | Also move duplicated code into repo.APIFormat(..)
* Integrate templates into bindata optionally (#314)Thomas Boerger2016-12-062-43/+38
| | | Integrated optional bindata for the templates
* Fix regression in PR-API #248 (#349)Kim "BKC" Carlbäcker2016-12-051-7/+39
| | | * Fix #344 (regression in PR-API #248)
* Fix for #320Bwko2016-12-032-6/+3
| | | | Suppress the error when we're removing a file that may not exist
* Safe compare password (timing attack) (#338)Denis Denisov2016-12-031-1/+2
|
* [API] Pull Requests (#248)Kim "BKC" Carlbäcker2016-12-023-0/+122
|
* LintingKim "BKC" Carlbäcker2016-12-021-1/+1
|
* GitHub API Compliance (& linting)Kim "BKC" Carlbäcker2016-12-021-1/+27
|
* Catch os... errorsBwko2016-12-027-19/+89
|
* Added rel="noopener" to target="_blank" hrefs (#327)Bwko2016-12-021-1/+1
| | | | | | * Added rel="noopener" to target="_blank" hrefs * Replaced gogs.io/docs with docs.gitea.io
* typoLunny Xiao2016-12-011-3/+3
|
* Fixed linting errors for variable definitionsThomas Boerger2016-11-292-2/+2
|
* Fix breakage from vendor-updateKim "BKC" Carlbäcker2016-11-294-8/+8
|
* CreateBranch-hook has shasum. Use the full ref for fetching shasumKim "BKC" Carlbäcker2016-11-291-1/+19
|
* Tag-webhooks are useless without shasumsKim "BKC" Carlbäcker2016-11-291-0/+2
|
* Merge pull request #294 from Bwko/Lint/user.goAndrey Nering2016-11-281-18/+46
|\ | | | | Lint models/user.go
| * Lint models/user.goBwko2016-11-281-18/+46
| |
* | Lint models/repo.goBwko2016-11-281-17/+73
| |
* | Lint models/repo_*Bwko2016-11-282-0/+13
|/
* golint fixed for models/migrations (#291)Lunny Xiao2016-11-282-13/+51
|
* golint fixed for models/pull.go (#292)Lunny Xiao2016-11-281-7/+21
|
* golint fixed for models/issue_comment.goLunny Xiao2016-11-281-7/+17
|
* Merge pull request #285 from lunny/lunny/golint_models_org_teamThomas Boerger2016-11-282-46/+47
|\ | | | | Golint for models/org_team.go
| * rename all uID -> userID on models/org_team.goLunny Xiao2016-11-281-26/+26
| |
| * golint for models/org_team.goLunny Xiao2016-11-282-46/+47
| |
* | golint fixed for models/models.go (#284)Lunny Xiao2016-11-281-3/+3
|/