]>
source.dussan.org Git - gitea.git/log
jaqra [Tue, 27 Aug 2019 22:59:05 +0000 (01:59 +0300)]
Move line number to :before attr to hide from search on browser (#8002)
* Move line number to :before attr to hide from search on browser
* Use same variable in WriteString
Co-Authored-By: Lauris BH <lauris@nix.lv>
GiteaBot [Tue, 27 Aug 2019 20:36:39 +0000 (20:36 +0000)]
[skip ci] Updated translations via Crowdin
kolaente [Tue, 27 Aug 2019 20:33:48 +0000 (22:33 +0200)]
Use "Pull Request" instead of "Merge Request" (#8003)
Signed-off-by: kolaente <k@knt.li>
dependabot[bot] [Tue, 27 Aug 2019 04:29:25 +0000 (00:29 -0400)]
Bump eslint-utils from 1.3.1 to 1.4.2 (#7993)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)
Signed-off-by: dependabot[bot] <support@github.com>
Richard Mahn [Tue, 27 Aug 2019 03:11:24 +0000 (23:11 -0400)]
Fixes #7945 - makes sure we are only getting tag refs (#7990)
guillep2k [Tue, 27 Aug 2019 02:17:23 +0000 (23:17 -0300)]
Retry create issue to cope with duplicate keys (#7898)
* Retry create issue to cope with duplicate keys
* Use .SetExpr().Where().Insert()
Gary Kim [Mon, 26 Aug 2019 22:59:10 +0000 (22:59 +0000)]
Fix adding default Telegram webhook (#7972)
* Fix adding default Telegram webhook
Fixes #7932
Signed-off-by: Gary Kim <gary@garykim.dev>
* Run goimports
Signed-off-by: Gary Kim <gary@garykim.dev>
Richard Mahn [Mon, 26 Aug 2019 19:52:04 +0000 (15:52 -0400)]
Adds details about what tags can use the Git tags API (#7989)
Antoine GIRARD [Mon, 26 Aug 2019 18:13:10 +0000 (20:13 +0200)]
swagger/fix: []string are not enum by swagger definition (#7916)
* []string are not enum by swagger definition
* apply suggestion of @guillep2k
* re-generate swagger file
Mike Schwörer [Mon, 26 Aug 2019 14:09:10 +0000 (16:09 +0200)]
API method to list all commits of a repository (#6408)
* Added API endpoint ListAllCommits (/repos/{owner}/{repo}/git/commits)
Signed-off-by: Mike Schwörer <mailport@mikescher.de>
* Fixed failing drone build
Signed-off-by: Mike Schwörer <mailport@mikescher.de>
* Implemented requested changes (PR reviews)
Signed-off-by: Mike Schwörer <mailport@mikescher.de>
* gofmt
Signed-off-by: Mike Schwörer <mailport@mikescher.de>
* Changed api route from "/repos/{owner}/{repo}/git/commits" to "/repos/{owner}/{repo}/commits"
* Removed unnecessary line
* better error message when git repo is empty
* make generate-swagger
* fixed removed return
* Update routers/api/v1/repo/commits.go
Co-Authored-By: Lauris BH <lauris@nix.lv>
* Update routers/api/v1/repo/commits.go
Co-Authored-By: Lauris BH <lauris@nix.lv>
* go fmt
* Refactored common code into ToCommit()
* made toCommit not exported
* added check for userCache == nil
Tamal Saha [Mon, 26 Aug 2019 11:33:06 +0000 (04:33 -0700)]
Run CORS handler first for /api routes (#7967)
Signed-off-by: Tamal Saha <tamal@appscode.com>
6543 [Mon, 26 Aug 2019 10:47:41 +0000 (12:47 +0200)]
[Branch View] show "New Pull Request" Button only if posible (#7977)
* add check Commits Ahead is gt 0
* code format
to start drone-ci test again
and formate code is also nice :)
David Svantesson [Sun, 25 Aug 2019 17:06:36 +0000 (19:06 +0200)]
Include description in repository search. (#7942)
* Add description in repository search.
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Refactor SearchRepositoryByName with a general function SearchRepository
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Allow to specify if description shall be included in API repo search.
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Add new app.ini setting for whether to search within repo description.
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Search keyword in description (if setting enabled) on:
- Explore page
- Organization profile page
- User profile page
- Admin repo page
Do not search keyword in description on:
- Any non-keyword search (not relevant)
- Incremental search (uses API)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Put parameters related to keyword directly after it
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Add test cases for including (and not including) repository description in search.
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Rename test function from TestSearchRepositoryByName to TestSearchRepository.
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Make setting SEARCH_REPO_DESCRIPTION default to true
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
David Svantesson [Sat, 24 Aug 2019 18:53:37 +0000 (20:53 +0200)]
Abort syncrhonization from LDAP source if there is some error. (#7960)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
guillep2k [Sat, 24 Aug 2019 12:28:59 +0000 (09:28 -0300)]
Add support for DEFAULT_ORG_MEMBER_VISIBLE (#7669)
* Add support for DEFAULT_ORG_MEMBER_VISIBLE
* Correct formatting
* Improved description in cheat sheet.
* Add test for DefaultOrgMemberVisible
* Remove dead code
Lunny Xiao [Sat, 24 Aug 2019 09:24:45 +0000 (17:24 +0800)]
Move database settings from models to setting (#7806)
* move database settings from models to setting
* update docs
* fix checkout pr
* fix tests
* fix lint
* remove unsupported tidb options
* correct wrong variable name
* remove tidb totally
David Svantesson [Sat, 24 Aug 2019 03:17:10 +0000 (05:17 +0200)]
Document possibility to limit API Repo search to topics only. (#7957)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
David Svantesson [Sat, 24 Aug 2019 00:33:32 +0000 (02:33 +0200)]
Allow token as authorization for accessing attachments (#7909)
* Allow token as authorization for accessing attachments
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Only allow token authentication for attachments if it is a download (GET)
leigh capili [Fri, 23 Aug 2019 23:44:24 +0000 (17:44 -0600)]
Support SSH_LISTEN_PORT env var in docker app.ini template (#7829)
Signed-off-by: leigh capili <leigh@null.net>
GiteaBot [Fri, 23 Aug 2019 16:42:05 +0000 (16:42 +0000)]
[skip ci] Updated translations via Crowdin
Tamal Saha [Fri, 23 Aug 2019 16:40:30 +0000 (09:40 -0700)]
Use gitea forked macaron (#7933)
Signed-off-by: Tamal Saha <tamal@appscode.com>
David Svantesson [Fri, 23 Aug 2019 02:37:35 +0000 (04:37 +0200)]
Change repo search to use exact match for topic search. (#7941)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
John Olheiser [Fri, 23 Aug 2019 01:55:06 +0000 (20:55 -0500)]
Add config option and shortcode for Gitea version (#7940)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Lunny Xiao [Thu, 22 Aug 2019 16:42:28 +0000 (00:42 +0800)]
Add release notes of 1.9.2 (#7934) (#7939)
* Add release notes of 1.9.2
* add missing issue
Lunny Xiao [Thu, 22 Aug 2019 04:52:40 +0000 (12:52 +0800)]
don't convert buffer to string (#7115)
Lunny Xiao [Wed, 21 Aug 2019 05:16:22 +0000 (13:16 +0800)]
Add file status on API (#7671)
* add file status on API
* fix tests
* fix tests
* fix tests
Gary Kim [Tue, 20 Aug 2019 21:08:16 +0000 (21:08 +0000)]
Revert RenderCommitMessageLink part of #7659 (#7923)
RenderCommitMessageLink may have the
potential for issues and is overall
not very intuitive for the user in its
current state.
This commit will revert the usage
of RenderCommitMessageLink that was
added in #7659 to work on addressing
some of those issues to and merge this
feature again in a more polished state.
Signed-off-by: Gary Kim <gary@garykim.dev>
Lunny Xiao [Tue, 20 Aug 2019 20:21:07 +0000 (04:21 +0800)]
fix bug when migrating a private repository (#7917)
Mura Li [Tue, 20 Aug 2019 17:43:00 +0000 (01:43 +0800)]
Fix pull creation with empty changes (#7920)
* Logs the stderr of git-apply
* Add an integration test
* Skip testPatch when patch is empty
GiteaBot [Tue, 20 Aug 2019 15:09:59 +0000 (15:09 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Tue, 20 Aug 2019 15:05:30 +0000 (23:05 +0800)]
fix wrong sender when send slack webhook (#7918)
GiteaBot [Tue, 20 Aug 2019 12:43:28 +0000 (12:43 +0000)]
[skip ci] Updated translations via Crowdin
Gary Kim [Tue, 20 Aug 2019 12:40:06 +0000 (12:40 +0000)]
Provide links in commit summaries in commits table/view list (#7659)
* Provide links in commit summaries in commits table/view list
Signed-off-by: Gary Kim <gary@garykim.dev>
* Check that hashes are commits before making them links
Signed-off-by: Gary Kim <gary@garykim.dev>
* Revert "Check that hashes are commits before making them links"
This reverts commit
a88564b8bc9872d4bf11062a4ebcb2f42b702200 .
* Add Commit Message Links to Files List
Signed-off-by: Gary Kim <gary@garykim.dev>
Mario Lubenka [Sun, 18 Aug 2019 15:53:50 +0000 (17:53 +0200)]
Evaluate emojis in commit messages in list view (#7906)
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
Lunny Xiao [Sat, 17 Aug 2019 10:10:17 +0000 (18:10 +0800)]
Fix upload file type check (#7890)
* fix upload file type check
* make the function simple and added tests
* Update comment as per @silverwind
Mura Li [Sat, 17 Aug 2019 03:17:34 +0000 (11:17 +0800)]
Update MAINTAINERS (#7896)
GiteaBot [Fri, 16 Aug 2019 22:53:51 +0000 (22:53 +0000)]
[skip ci] Updated translations via Crowdin
guillep2k [Fri, 16 Aug 2019 22:28:55 +0000 (19:28 -0300)]
Reduce quote usage to bypass bug in GIT_SSH_COMMAND (#7893)
zeripath [Fri, 16 Aug 2019 21:56:57 +0000 (22:56 +0100)]
Extract the username and password from the mirror url (#7651)
* Explode out mirror username and password
* Update models/repo_mirror.go
* Just roundtrip the password
* remove unused declaration
* Update templates/repo/settings/options.tmpl
Norwin [Thu, 15 Aug 2019 22:09:50 +0000 (22:09 +0000)]
Detect delimiter in CSV rendering (#7869)
* detect csv delimiter in csv rendering
fixes #7868
* make linter happy
* fix failing testcase & use ints where possible
* expose markup type to template
previously all markup had the .markdown class, which is incorrect,
as it applies markdown CSS & JS logic to CSV rendering
* fix build (missing `make css`)
* ignore quoted csv content for delimiter scoring
also fix html generation
guillep2k [Thu, 15 Aug 2019 17:23:57 +0000 (14:23 -0300)]
Add myself to maintainers (#7881)
* Add myself to maintainers
* Add missing handle
Co-Authored-By: techknowlogick <matti@mdranta.net>
guillep2k [Thu, 15 Aug 2019 15:38:55 +0000 (12:38 -0300)]
Remove unique filter from repo indexer analyzer. (#7878)
* Remove unique filter from repo indexer analyzer.
* Bump repoIndexerLatestVersion to 4
* Corrrect fmt
* make vendor to remove unique dependency
Lunny Xiao [Thu, 15 Aug 2019 14:46:21 +0000 (22:46 +0800)]
Display ui time with customize time location (#7792)
* display ui time with customize time location
* fix lint
* rename UILocation to DefaultUILocation
* move time related functions to modules/timeutil
* fix tests
* fix tests
* fix build
* fix swagger
guillep2k [Thu, 15 Aug 2019 12:07:28 +0000 (09:07 -0300)]
Convert files to utf-8 for indexing (#7814)
* Convert files to utf-8 for indexing
* Move utf8 functions to modules/base
* Bump repoIndexerLatestVersion to 3
* Add tests for base/encoding.go
* Changes to pass gosimple
* Move UTF8 funcs into new modules/charset package
Antoine GIRARD [Thu, 15 Aug 2019 10:53:28 +0000 (12:53 +0200)]
lfs/lock: round locked_at timestamp to second (#7872)
* lfs/lock: round locked_at timestamp to second
* test returned locked_at values
* tests: use time RFC3339
Lunny Xiao [Thu, 15 Aug 2019 02:45:21 +0000 (10:45 +0800)]
Add changelog of v1.9.1 (#7859) (#7866)
* add changelog of v1.9.1
* Update CHANGELOG.md
Co-Authored-By: Lauris BH <lauris@nix.lv>
* mention releases build by go1.12.8
* Update CHANGELOG.md
Co-Authored-By: Lauris BH <lauris@nix.lv>
Lanre Adelowo [Wed, 14 Aug 2019 23:43:50 +0000 (00:43 +0100)]
fix non existent milestone with 500 error (#7867)
GiteaBot [Wed, 14 Aug 2019 15:35:51 +0000 (15:35 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Wed, 14 Aug 2019 15:32:19 +0000 (23:32 +0800)]
move CreateReview to moduels/pull (#7841)
GiteaBot [Wed, 14 Aug 2019 11:34:49 +0000 (11:34 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Wed, 14 Aug 2019 11:19:13 +0000 (12:19 +0100)]
Fix local runs of ssh-requiring integration tests (#7855)
GiteaBot [Wed, 14 Aug 2019 09:39:51 +0000 (09:39 +0000)]
[skip ci] Updated translations via Crowdin
zeripath [Wed, 14 Aug 2019 09:25:05 +0000 (10:25 +0100)]
Attempt to fix hook problem (#7854)
Gary Kim [Wed, 14 Aug 2019 08:04:55 +0000 (08:04 +0000)]
Check commit message hashes before making links (#7713)
* Check commit message hashes before making links
Previously, when formatting commit messages, anything
that looked like SHA1 hashes was turned into a link
using regex. This meant that certain phrases or numbers
such as `777777` or `
deadbeef ` could be recognized as a commit
even if the repository has no commit with those hashes.
This change will make it so that anything that looks
like a SHA1 hash using regex will then also be checked
to ensure that there is a commit in the repository
with that hash before making a link.
Signed-off-by: Gary Kim <gary@garykim.dev>
* Use gogit to check if commit exists
This commit modifies the commit hash check
in the render for commit messages to use
gogit for better performance.
Signed-off-by: Gary Kim <gary@garykim.dev>
* Make code cleaner
Signed-off-by: Gary Kim <gary@garykim.dev>
* Use rev-parse to check if commit exists
Signed-off-by: Gary Kim <gary@garykim.dev>
* Add and modify tests for checking hashes in html link rendering
Signed-off-by: Gary Kim <gary@garykim.dev>
* Return error in sha1CurrentPatternProcessor
Co-Authored-By: mrsdizzie <info@mrsdizzie.com>
* Import Gitea log module
Signed-off-by: Gary Kim <gary@garykim.dev>
* Revert "Return error in sha1CurrentPatternProcessor"
This reverts commit
28f561cac46ef7e51aa26aefcbe9aca4671366a6 .
Signed-off-by: Gary Kim <gary@garykim.dev>
* Add debug logging to sha1CurrentPatternProcessor
This will log errors by the git command run in
sha1CurrentPatternProcessor if the error is one
that was unexpected.
Signed-off-by: Gary Kim <gary@garykim.dev>
Antoine GIRARD [Wed, 14 Aug 2019 06:16:12 +0000 (08:16 +0200)]
Import topics during migration (#7851)
* add GetTopics interface
* CreateTopics
* remove un-needed comment
techknowlogick [Wed, 14 Aug 2019 03:32:38 +0000 (23:32 -0400)]
Update golangci-lint to v1.17.1 (#7848)
clavinet [Wed, 14 Aug 2019 03:28:11 +0000 (05:28 +0200)]
Update app.ini.sample (#7816)
grammar fix
Antoine GIRARD [Wed, 14 Aug 2019 01:39:44 +0000 (03:39 +0200)]
gpg/bugfix: Use .ExpiredUnix.IsZero to display green color of forever valid gpg key (#7846)
* Use .ExpiredUnix.IsZero for display green color of gpg key
* remove useless parentheses
GiteaBot [Tue, 13 Aug 2019 17:11:27 +0000 (17:11 +0000)]
[skip ci] Updated translations via Crowdin
Antoine GIRARD [Tue, 13 Aug 2019 17:09:06 +0000 (19:09 +0200)]
vendor: update pdf.js to v2.1.266 (#7834)
Mura Li [Tue, 13 Aug 2019 08:30:44 +0000 (16:30 +0800)]
Do not fetch all refs (#7797)
Which would unnecessarily slow down the pull compare operation.
GiteaBot [Mon, 12 Aug 2019 21:54:26 +0000 (21:54 +0000)]
[skip ci] Updated translations via Crowdin
Antoine GIRARD [Mon, 12 Aug 2019 21:52:11 +0000 (23:52 +0200)]
add details for db socket listening (#7830)
WGH [Mon, 12 Aug 2019 02:17:25 +0000 (05:17 +0300)]
Fix lax comparison in validation tests (#7815)
If you add t.Logf("%+v %+v", actual, testCase.expectedErrors) to
the test code, you'll notice that only Errors' Messages are being
compared:
--- PASS: Test_ValidURLValidation/Invalid_schema (0.00s)
binding_test.go:43: [Url] [Url]
FieldNames and Classification are ignored in comparison.
Moreover, an Errors slice with a single Error with empty message
is formatted as '[]' (the same as empty slice), which is also
error-prone. I discovered this when working on #7791 when one test which
was not supposed to pass did pass. https://play.golang.org/p/qC4wVLrm4NG
This commit changes the test to do the comparison properly.
Antoine GIRARD [Sun, 11 Aug 2019 20:31:18 +0000 (22:31 +0200)]
Fix duplicate call of webhook (#7821)
Mario Lubenka [Sun, 11 Aug 2019 15:23:49 +0000 (17:23 +0200)]
Enable switching to a different source branch when PR already exists (#7819)
Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
clavinet [Sun, 11 Aug 2019 12:15:58 +0000 (14:15 +0200)]
Update serv.go (#7822)
small semantics fix
"Hi there, user!" looks better than "Hi there: user!"
clavinet [Sat, 10 Aug 2019 19:25:26 +0000 (21:25 +0200)]
Update app.ini.sample (#7817)
small grammar fix
David Svantesson [Sat, 10 Aug 2019 09:32:46 +0000 (11:32 +0200)]
Rewrite existing repo units if setting is not included in api body (#7763)
* Rewrite existing repo units if setting is not included in api body
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* else-if on one row
Gary Kim [Fri, 9 Aug 2019 12:57:29 +0000 (12:57 +0000)]
Prevent Commit Status and Message From Overflowing On Branch Page (#7800)
* Prevent Commit Status From Overflowing On Branch Page
It is possible for the commit ci status
on the branches page for a repository to
become an ellipsis due to overflowing.
This commit will fix that issue by
using flex.
Signed-off-by: Gary Kim <gary@garykim.dev>
* Fix multiple overflowing issues in commits table
It was possible that the commit message would
overflow hiding the expand commits button
and commit status. This change ensures that
the correct elements overflow without hiding
anything else.
This change also reverts using flex in the
commits list because it was causing issues
in Blink based browsers.
Signed-off-by: Gary Kim <gary@garykim.dev>
* Remove unnecessary html element and fix indentation issues
Antoine GIRARD [Fri, 9 Aug 2019 02:13:03 +0000 (04:13 +0200)]
api: fix multiple bugs with statuses endpoints (#7785)
* fix commit statuses api url
* search refs before passing sha
* adjust tests
* directly search tags and branches names + remove un-needed check in NewCommitStatus
* fix comment
* de-duplicate code
* test: use relative setting.AppURL
* Update routers/api/v1/repo/status.go
Co-Authored-By: Lauris BH <lauris@nix.lv>
* remove return
* Update routers/api/v1/repo/status.go
Co-Authored-By: Lauris BH <lauris@nix.lv>
Mason [Thu, 8 Aug 2019 15:40:31 +0000 (11:40 -0400)]
Add SSH_LISTEN_HOST to the config cheatsheet (#7793)
This was missing before, and this commit adds it with the correct
default value and description
silverwind [Thu, 8 Aug 2019 14:46:03 +0000 (16:46 +0200)]
Fix global search result CSS, misc CSS tweaks (#7789)
- Fixes double line-numbers and padding in Explore > Code > Search
- Moved code-view specific CSS out of their parents to share those
styles better.
- Fix misc issues discovered in code,diff and blame view, especially for
the dark theme.
Antoine GIRARD [Thu, 8 Aug 2019 09:38:23 +0000 (11:38 +0200)]
activate sum.golang.org check (#7782)
guillep2k [Thu, 8 Aug 2019 04:47:57 +0000 (01:47 -0300)]
Correct formatting of bullet list (#7794)
Lunny Xiao [Wed, 7 Aug 2019 16:33:29 +0000 (00:33 +0800)]
Display error as string but not bytes (#7780)
* display error as string but not bytes
* Update routers/repo/http.go
Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com>
Lars Kistner [Wed, 7 Aug 2019 09:05:18 +0000 (11:05 +0200)]
remove `-i` flag from GOFLAGS (#7778)
this flag is not needed for Go versions >=1.10 and creates problems
while building. see https://github.com/golang/go/issues/27285#issuecomment-
424382413
Lunny Xiao [Wed, 7 Aug 2019 04:22:41 +0000 (12:22 +0800)]
Fix approvals counting (#7757)
* fix approvals counting
* fix tests
* fmt
WGH [Tue, 6 Aug 2019 23:27:10 +0000 (02:27 +0300)]
Fix Slack webhook fork message (#7774)
The order of forkee and fork was mixed up.
guillep2k [Tue, 6 Aug 2019 08:57:55 +0000 (05:57 -0300)]
Add migration step to remove old repo_indexer_status orphaned records (#7746)
* Add migration step to remove old repo_indexer_status orphaned records
* Include RepoIndexerStatus struct definition in the migrate function
* Change .Delete(o) into ID(o.ID).Delete(new(RepoIndexerStatus))
* Simplification of the delete procedure
* Rename v91.go to v92.go
Lunny Xiao [Tue, 6 Aug 2019 06:32:11 +0000 (14:32 +0800)]
fix rename failed when rewrite public keys (#7761)
guillep2k [Tue, 6 Aug 2019 04:38:16 +0000 (01:38 -0300)]
Remove camel case tokenization from repo indexer (#7733)
* Make repository indexer tokenize by camel case selectable
* Revert "Make repository indexer tokenize by camel case selectable"
This reverts commit
a8d4e40af56ffeab9c040a13e01b9e0d5487bd3b .
* Remove app.ini setting, permanently remove camel case tokenizer
* Increase repoIndexerLatestVersion to force indexes to be rebuilt
* Changes introduced by the commmand make vendor
zeripath [Mon, 5 Aug 2019 21:49:49 +0000 (22:49 +0100)]
Fix dropTableColumns sqlite implementation (#7710)
* Fix dropTableColumns sqlite implementation
* use droptables and its index dropping support in v78 and v85
* golang-ci fixes
* Add migration from gitea 1.3.3 for sqlite which reveals the droptables bug - thus showing this works
zeripath [Mon, 5 Aug 2019 20:39:39 +0000 (21:39 +0100)]
Be more strict with git arguments (#7715)
* Be more strict with git arguments
* fix-up commit test
* use bindings for branch name
silverwind [Mon, 5 Aug 2019 15:48:31 +0000 (17:48 +0200)]
Add a lot of extension to language mappings for syntax highlights (#7741)
Data partially based on [CodeMirror's meta.js](https://github.com/codemirror/CodeMirror/blob/master/mode/meta.js).
Fixes: https://github.com/go-gitea/gitea/issues/6057
Lunny Xiao [Mon, 5 Aug 2019 14:29:40 +0000 (22:29 +0800)]
Add SQL execution on log and indexes on table repository and comment (#7740)
* add index on comment
* add SQL execution time on log and index owner_id on repository
* add migration
Antoine GIRARD [Mon, 5 Aug 2019 07:52:41 +0000 (09:52 +0200)]
deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#7749)
* deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 from 1.2.0 to 1.3.0
* deps: vendor updates
Antoine GIRARD [Sun, 4 Aug 2019 21:58:16 +0000 (23:58 +0200)]
build: use GOPROXY and disable download on some steps (#7745)
* build: use GOPROXY
* disable download vendor on some steps
Lunny Xiao [Sun, 4 Aug 2019 18:33:36 +0000 (02:33 +0800)]
add pagination for admin api get orgs and fix only list public orgs bug (#7742)
jaqra [Sun, 4 Aug 2019 14:49:29 +0000 (17:49 +0300)]
Apply emoji on commit graph page (#7743)
silverwind [Sun, 4 Aug 2019 12:55:20 +0000 (14:55 +0200)]
Tweak label border CSS (#7739)
Also did various tweaks to label hover and dark theme.
Fixes: https://github.com/go-gitea/gitea/pull/5487
FlorianBen [Sun, 4 Aug 2019 08:11:27 +0000 (10:11 +0200)]
Fix specific highlighting (CMakeLists.txt ...) (#7686)
* Fix specific highlighting.
* Highlighting CMakeLists.txt:
remove case sensitive checks.
use lowercase checks instead.
guillep2k [Sun, 4 Aug 2019 06:53:17 +0000 (03:53 -0300)]
Fix repo_index_status lingering when deleting a repository (#7734)
Lauris BH [Sat, 3 Aug 2019 18:38:42 +0000 (21:38 +0300)]
Fix milestone completness calculation when migrating (#7725)
guillep2k [Sat, 3 Aug 2019 17:42:09 +0000 (14:42 -0300)]
Fixes indexed repos keeping outdated indexes when files grow too large (#7712)
Lunny Xiao [Sat, 3 Aug 2019 07:07:51 +0000 (15:07 +0800)]
display as error (#7724)
Antoine GIRARD [Fri, 2 Aug 2019 16:06:28 +0000 (18:06 +0200)]
org/members: display 2FA members states + optimize sql requests (#7621)
* org/members: display 2FA state
* fix comment typo
* lay down UserList bases
* add basic test for previous methods
* add comment for UserList type
* add valid two-fa account
* test new UserList methods
* optimize MembersIsPublic by side loading info on GetMembers + fix integrations tests
* respect fmt rules
* use map for data
* Optimize GetTwoFaStatus
* rewrite by using existing sub func
* Optimize IsUserOrgOwner
* remove un-used code
* tests: cover empty org + fix import order
* tests: add ErrTeamNotExist path
* tests: fix wrong expected result
guillep2k [Fri, 2 Aug 2019 15:14:50 +0000 (12:14 -0300)]
Include "executable" files in the index, as they are not necessarily binary (#7718)
guillep2k [Fri, 2 Aug 2019 06:57:53 +0000 (03:57 -0300)]
Skip non-regular files (e.g. submodules) on repo indexing (#7711)
silverwind [Thu, 1 Aug 2019 20:06:34 +0000 (22:06 +0200)]
Fix create menu item widths (#7708)
Fixes: https://github.com/go-gitea/gitea/issues/7098