aboutsummaryrefslogtreecommitdiff
path: root/models
Commit message (Collapse)AuthorAge
* issue: fix updated_unix is not updated for new comments (#4462)Unknwon2017-06-02
|
* repo: expose more fields to API format (#4484)Unknwon2017-06-02
|
* models/org_team: getUserTeams uses includes always -1 in the IN statement ↵Pablo Saavedra2017-05-29
| | | | | | | | | | | | (#4412) Ensure that the IN clause contains one value at least. The idea is avoid a syntax error in the SQL sentence and rollbacks in the transactions. For example: ERROR: syntax error at or near ")" LINE 1: ...RE ... and team.id IN (); We will always add the -1 value in the IN list.
* models/repo_collaboration: cannot change permissions of collaborators (#4512)Unknwon2017-05-29
|
* restore: reset table sequences for PostgreSQL (#4357)Unknwon2017-05-21
|
* models: remove redundant tags for primary keysUnknwon2017-05-21
|
* models/login_source: add check for user for create/update on LDAP (#4405)Jon Lundy2017-05-21
| | | | | | | | * Add check for user for create/update * Update login_source.go * Update login_source.go
* models/ssh_key: don't run ssh-keygen check if disabled (#4519)Gibheer2017-05-20
| | | | | | | | | | | | * don't load key when key size should not be checked This makes it possible for users with incompatible ssh-keygen versions to just disable the check completely without running into errors. * add proper ed25519 constant The x/crypto/ssh library has support for ed25519 now, so it is possible to support it.
* locale: sync from CrowdinUnknwon2017-05-17
|
* api/repo: add Mirror field (#4392)Unknwon2017-04-07
|
* api/repo: improve migration error handlingUnknwon2017-04-07
|
* modes/mirror: make Updated unchanged if no new commits fetched (#4341)Unknwon2017-04-06
| | | | | After sync mirror, get latest commit date and compare to current repository updated time, only update it if the commit date is newer.
* pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}Unknwon2017-04-06
|
* Refactoring: rename and simplify pkg/tool functionsUnknwon2017-04-06
|
* 2fa: initial support (#945)Unknwon2017-04-06
|
* Refactoring: rename pkg/base -> pkg/toolUnknwon2017-04-05
|
* models/mirror: feed git.IsRepoURLAccessible with raw mirror addressUnknwon2017-04-04
|
* models/mirror: unescape credentials at read (#4014)Unknwon2017-04-04
| | | | | If we save credentials already escaped, 'url.QueryEscape' still escapes it and makes the credentials become incorrect.
* models/mirror: escape credentials before write mirror address (#4014)Unknwon2017-04-04
| | | | | | | Special characters such as '@', ';', '#' and ':' could occur in password portion of credentials, which breaks the interpretation and saves 'config' file in with extra characters that are not recognized by Git (due to INI library).
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* models/repo_diff: move core functions to gogits/git-moduleUnknwon2017-04-04
|
* vendor: update github.com/gogits/git-moduleUnknwon2017-04-03
|
* repo: handle git.ErrUnsupportedVersion error typeUnknwon2017-04-01
|
* modes: fix test compile errorUnknwon2017-03-31
|
* modules: rename markdown -> markupUnknwon2017-03-31
| | | | | | | To further support more markup languages (e.g. Org-mode, AsciiDoc, reStructuredText), the name 'markdown' is inappropriate. This is the first step towards more markup language support.
* migrations.v17: skip if table not existUnknwon2017-03-30
|
* migration.v17: handle mysql error (#4361)Kyle McCullough2017-03-29
|
* migration.v17: add nil error checkUnknwon2017-03-28
|
* migration/v17: skip if protect_branch_whitelist table not exist (#4355)Unknwon2017-03-28
|
* models/protect_branch: fix whitelist with invalid 'protect_branch_id' (#4333)Unknwon2017-03-27
| | | | | | | | If user creates a protect branch for the first time (which has ID=0), it generates invalid whitelist records with 'protect_branch_id=0'. This prevents future updates of protect branch whitelist. Migration: remove existing invalid protect branch whitelist records.
* modes/mirror: corrected NextUpdate not set (#4345)Jonas2017-03-26
|
* models/repo: avoid duplicated results in SearchRepositoryByName (#4344)Pablo Saavedra2017-03-26
|
* cmd/web: remove dependency version checkerUnknwon2017-03-25
|
* models/repo_editor: add pull request test task after commit (#4338)Unknwon2017-03-25
|
* repo: cleanup some codeUnknwon2017-03-24
|
* repo: allow private repository to have public wiki or issuesUnknwon2017-03-24
| | | | Relates to #649 and #2157
* repo: update size after fork, migrate and mirror sync (#4336)Unknwon2017-03-24
|
* milestone: only show issue-related count under issue list (#4316)Unknwon2017-03-24
|
* user: remove sanitizer for FullName (#1937)Unknwon2017-03-23
|
* repo: remove legacy sanitizer for repository descriptionUnknwon2017-03-23
| | | | Related to #4329.
* repo: fix unable to propose pull request from secondary fork (#4324)Unknwon2017-03-23
|
* models: add config options for XORM logger (#3183)Unknwon2017-03-23
| | | | Added new config section '[log.xorm]'.
* user/settings: complete repositories panel (#4312)Unknwon2017-03-23
|
* error: move ErrRepoNotExist -> errors.RepoNotExistUnknwon2017-03-23
|
* issue: fix redirect to random issue if index does not exist (#4315)Unknwon2017-03-22
|
* repo/webhook: able to retrigger delivery history (#2187)Unknwon2017-03-19
|
* explore: able list and search for private but accessible repositories (#3088)Unknwon2017-03-17
|
* repo: allow issues and wiki for bare repository (#4104)Unknwon2017-03-16
|
* repo/commit: able to config default commits page size (#4230)Unknwon2017-03-16
| | | | Added config option '[ui.user] COMMITS_PAGING_NUM'.
* dashboard/feeds: able to load more history (#2511)Unknwon2017-03-16
|