Commit Graph

1474 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov 47056aca03 Fix permission filter 2017-04-28 01:48:16 +03:00
Vitaliy Filippov 0570df3267 search for all words in mysql match 2017-04-28 01:43:59 +03:00
Vitaliy Filippov b1c98f2199 Fix search, add mysql fulltext search support 2017-04-28 01:15:59 +03:00
Vitaliy Filippov 7d1f98a5b8 Add reindex function 2017-04-27 02:05:33 +03:00
Vitaliy Filippov 64250dbe44 Add explore/commits page 2017-04-23 21:49:23 +03:00
Vitaliy Filippov 9fa0822570 Load repository when searching 2017-04-23 21:49:23 +03:00
Vitaliy Filippov da61367c19 Fulltext search op (pgsql) 2017-04-23 21:49:23 +03:00
Vitaliy Filippov 43a14306dc Create fulltext index on commit.message 2017-04-23 21:49:23 +03:00
Vitaliy Filippov 2055178f3c Remove unreachable commits during update 2017-04-14 18:23:22 +03:00
Vitaliy Filippov 6204444dbe Save commit into db (wow it works) 2017-04-14 18:23:22 +03:00
Vitaliy Filippov b2db4afe77 add commit model 2017-04-14 18:23:09 +03:00
Unknwon 65277e47c5
api/repo: add Mirror field (#4392) 2017-04-07 18:15:23 -04:00
Unknwon 9e3c83372f
api/repo: improve migration error handling 2017-04-07 16:00:25 -04:00
Unknwon 8d0417497b
modes/mirror: make Updated unchanged if no new commits fetched (#4341)
After sync mirror, get latest commit date and compare to current
repository updated time, only update it if the commit date is newer.
2017-04-06 20:58:57 -04:00
Unknwon 90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL} 2017-04-06 17:27:57 -04:00
Unknwon 0e271799f2
Refactoring: rename and simplify pkg/tool functions 2017-04-06 17:13:53 -04:00
Unknwon a617d52374
2fa: initial support (#945) 2017-04-06 00:14:30 -04:00
Unknwon 6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool 2017-04-05 09:05:40 -04:00
Unknwon c05717a5f0
models/mirror: feed git.IsRepoURLAccessible with raw mirror address 2017-04-04 20:42:18 -04:00
Unknwon 5a488b6517
models/mirror: unescape credentials at read (#4014)
If we save credentials already escaped, 'url.QueryEscape' still
escapes it and makes the credentials become incorrect.
2017-04-04 20:21:35 -04:00
Unknwon ae1d50d19a
models/mirror: escape credentials before write mirror address (#4014)
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).
2017-04-04 19:40:46 -04:00
Unknwon d05395fe90
Refactoring: rename modules -> pkg
Reasons to change:

1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
2017-04-04 19:29:59 -04:00
Unknwon 55afc1ad21
models/repo_diff: move core functions to gogits/git-module 2017-04-04 01:45:57 -04:00
Unknwon c07899701a
vendor: update github.com/gogits/git-module 2017-04-03 15:09:53 -04:00
Unknwon ab42671c63
repo: handle git.ErrUnsupportedVersion error type 2017-04-01 17:56:55 -04:00
Unknwon 52aade232d
modes: fix test compile error 2017-03-31 18:28:08 -04:00
Unknwon c1c269d9ef
modules: rename markdown -> markup
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.
2017-03-31 15:29:43 -04:00
Unknwon 4a67bb5806
migrations.v17: skip if table not exist 2017-03-30 11:37:27 -04:00
Kyle McCullough 09723ec0e5 migration.v17: handle mysql error (#4361) 2017-03-29 19:02:07 -04:00
Unknwon abe7f7bc36
migration.v17: add nil error check 2017-03-28 16:38:16 -04:00
Unknwon 717bcc4ad8
migration/v17: skip if protect_branch_whitelist table not exist (#4355) 2017-03-28 11:20:58 -04:00
Unknwon 1038916460
models/protect_branch: fix whitelist with invalid 'protect_branch_id' (#4333)
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.
2017-03-27 13:13:04 -04:00
Jonas f40eb9774e modes/mirror: corrected NextUpdate not set (#4345) 2017-03-26 23:24:48 -04:00
Pablo Saavedra 496e07c1c9 models/repo: avoid duplicated results in SearchRepositoryByName (#4344) 2017-03-26 23:23:17 -04:00
Unknwon c238647020
cmd/web: remove dependency version checker 2017-03-25 04:17:55 -04:00
Unknwon 8f52ab8201
models/repo_editor: add pull request test task after commit (#4338) 2017-03-25 03:36:13 -04:00
Unknwon 674106c7b6
repo: cleanup some code 2017-03-24 16:32:14 -04:00
Unknwon 8196430f47
repo: allow private repository to have public wiki or issues
Relates to #649 and #2157
2017-03-24 16:25:40 -04:00
Unknwon 7a99e56893
repo: update size after fork, migrate and mirror sync (#4336) 2017-03-24 14:22:19 -04:00
Unknwon 79ba0314e9
milestone: only show issue-related count under issue list (#4316) 2017-03-24 14:00:01 -04:00
Unknwon bd1e757350
user: remove sanitizer for FullName (#1937) 2017-03-23 20:24:02 -04:00
Unknwon 3144be5c81
repo: remove legacy sanitizer for repository description
Related to #4329.
2017-03-23 20:23:23 -04:00
Unknwon fdc7cb565d
repo: fix unable to propose pull request from secondary fork (#4324) 2017-03-23 20:04:20 -04:00
Unknwon 8a3f4fc616
models: add config options for XORM logger (#3183)
Added new config section '[log.xorm]'.
2017-03-23 18:34:25 -04:00
Unknwon 66c1e6b0e8
user/settings: complete repositories panel (#4312) 2017-03-23 14:28:31 -04:00
Unknwon beee6e03b1
error: move ErrRepoNotExist -> errors.RepoNotExist 2017-03-23 14:27:34 -04:00
Unknwon 85a050fca7
issue: fix redirect to random issue if index does not exist (#4315) 2017-03-22 13:20:29 -04:00
Unknwon 2807274e2d
repo/webhook: able to retrigger delivery history (#2187) 2017-03-19 17:44:46 -04:00
Unknwon cac7af2c78
explore: able list and search for private but accessible repositories (#3088) 2017-03-17 19:17:40 -04:00
Unknwon 171f97868d
repo: allow issues and wiki for bare repository (#4104) 2017-03-16 23:10:45 -04:00