Commit Graph

4707 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 ac9a485ca2 Add reindex cli command 2017-04-28 00:40:15 +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 6ea9642d64
js: remove Preview, Full Screen and Side-by-side buttons for repository file editing (#4402) 2017-04-07 18:46:03 -04: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 809db853fa
locale: fix zh-CN 2017-04-07 15:41:54 -04:00
Unknwon 62a20b8a2d
repo/wiki: improve UI 2017-04-07 15:30:08 -04:00
Unknwon d0612be402
user/setting: improve UI 2017-04-07 15:08:53 -04:00
Unknwon 5f8ec0dc8b
templates/repo: improve symlink file icon in list view (#4237) 2017-04-07 13:51:10 -04:00
Unknwon fda4b1106e
user/setting: simplify code 2017-04-07 00:49:30 -04:00
Unknwon ac43eab51f
Refactoring: rename Signed -> Logged 2017-04-06 23:48:49 -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 2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML} 2017-04-06 17:20:38 -04:00
Unknwon 0e271799f2
Refactoring: rename and simplify pkg/tool functions 2017-04-06 17:13:53 -04:00
Unknwon 3c0de17133
js: set cursor to the end of autofocus input string 2017-04-06 17:00:12 -04:00
Unknwon bd1f2ccaf8
user/settings/security: add token description about 2FA 2017-04-06 16:27:31 -04:00
Unknwon ec491b023f
api/repo: fix nil error panic 2017-04-06 01:37:01 -04:00
Unknwon f191bff0b9
api/repo: check user type of owner for migration
Report by MiaoWoo.
2017-04-06 01:20:20 -04:00
Unknwon 1a04da864f
vendor: add github.com/boombuler/barcode/utils 2017-04-06 00:15:39 -04:00
Unknwon c8c975c99b
vendor: add packages for 2fa 2017-04-06 00:14:39 -04:00
Unknwon a617d52374
2fa: initial support (#945) 2017-04-06 00:14:30 -04:00
Unknwon 624474386a
templates/repo/branches: fix links for mirror repository
Also added new pull request button for stale branches.
2017-04-05 17:59:22 -04:00
Unknwon e0a787b5ee
Update locales 2017-04-05 13:26:53 -04:00
Unknwon 63598688e4
pkg/markup: init default sanitizer.policy
App would panic if user has validation error on installation and
the sanitizer is not yet built. Therefore we need a minimal valid
object for sanitizer at start.
2017-04-05 13:12:05 -04:00
Unknwon 497cdc9250
user/setting: reorder navbar 2017-04-05 09:27:42 -04:00
Unknwon edaf14f2b6
Refactoring: remove tool.TplName 2017-04-05 09:17:21 -04:00
Unknwon 6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool 2017-04-05 09:05:40 -04:00
Unknwon ba151eda0a
css: improve fonts under Windows 2017-04-04 21:05:01 -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 fe25effe7c
repo/http: fix client is not informed to provide credentials
When Git client has cached credentials for a site, missing response
header 'WWW-Authenticate: Basic realm="."' will result in Git client
does not prompt user to input credentials again but plain error
message and halts push/pull process.
2017-04-04 19:36:30 -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 37b10666de
modules/context: add *Context. ServerError method
Also use constants from net/http to replace raw integers.
2017-04-04 19:25:05 -04:00
Unknwon 41c8e87be8
repo/commit: improve error detection
Response 404 not 500 for raw diff if object does not exist.
2017-04-04 02:01:29 -04:00
Unknwon 55afc1ad21
models/repo_diff: move core functions to gogits/git-module 2017-04-04 01:45:57 -04:00
Unknwon 16c6ca72cd
css: fix font of .ui.label.button style 2017-04-04 01:19:47 -04:00
Unknwon b873ec2bce
templates/repo/branches: hide pull request button if not allowed (#4377) 2017-04-03 22:24:21 -04:00
Unknwon 1bc805bb4b
public: update Semantic UI 2.2.7 -> 2.2.10
[CI SKIP]
2017-04-03 22:20:17 -04:00