]> source.dussan.org Git - gitea.git/log
gitea.git
6 years agoFix empty checkout bug (#3419)
Ethan Koenig [Sun, 28 Jan 2018 11:27:42 +0000 (04:27 -0700)]
Fix empty checkout bug (#3419)

6 years agodoc: Improve integrations examples (#3416)
Antoine GIRARD [Sat, 27 Jan 2018 18:52:41 +0000 (19:52 +0100)]
doc: Improve integrations examples (#3416)

6 years agoAdded quoting for passwords in sample.app.ini and documentation (#3395)
Timo Schindler [Sat, 27 Jan 2018 18:35:49 +0000 (19:35 +0100)]
Added quoting for passwords in sample.app.ini and documentation (#3395)

6 years agoChange local copy origin url after repository rename (#3399)
Wendell Sun [Sat, 27 Jan 2018 17:54:26 +0000 (01:54 +0800)]
Change local copy origin url after repository rename (#3399)

Fix #3378

6 years agoFix SSH auth lfs locks (#3152)
Antoine GIRARD [Sat, 27 Jan 2018 16:48:15 +0000 (17:48 +0100)]
Fix SSH auth lfs locks (#3152)

* Fix SSH auth LFS locks

* Activate SSH/lock test

* Remove debug

* Follow @lunny recommendation for AfterLoad method

6 years agofix MSSQL bug on org (#3405)
Lunny Xiao [Sat, 27 Jan 2018 15:20:59 +0000 (09:20 -0600)]
fix MSSQL bug on org (#3405)

6 years agoRecognize more characters in crossreferenced repo name (#3413)
Lauris BH [Sat, 27 Jan 2018 12:33:32 +0000 (14:33 +0200)]
Recognize more characters in crossreferenced repo name (#3413)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 27 Jan 2018 02:18:45 +0000 (02:18 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd myself to TRANSLATORS (#3415)
Kazuki Sawada [Sat, 27 Jan 2018 02:17:26 +0000 (11:17 +0900)]
Add myself to TRANSLATORS (#3415)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 25 Jan 2018 14:03:22 +0000 (14:03 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoHTML escape all lines of the search result (#3402)
Morgan Bazalgette [Mon, 22 Jan 2018 21:28:16 +0000 (22:28 +0100)]
HTML escape all lines of the search result (#3402)

Fixes #3383.

6 years agoUse GiteaServer as the user agent for http requests (#3404)
Sandro Santilli [Mon, 22 Jan 2018 20:37:14 +0000 (21:37 +0100)]
Use GiteaServer as the user agent for http requests (#3404)

Otherwise we're still presenting ourselves as GogsServer...

6 years agoRemove useless check (#3384)
Antoine GIRARD [Fri, 19 Jan 2018 19:45:53 +0000 (20:45 +0100)]
Remove useless check (#3384)

In #3377, I put check inside all write key function. This one is useless no.

6 years agoForce-push to base repo's ref/pull/#/head (#3393)
Sandro Santilli [Fri, 19 Jan 2018 06:53:45 +0000 (07:53 +0100)]
Force-push to base repo's ref/pull/#/head (#3393)

* Force-push to base repo's ref/pull/#/head

Fixes force-pushing to pull request branches, otherwise failing with:

[...gitea/models/pull.go:1022 AddTestPullRequestTask()] [E] PushToBaseRepo: Push: exit status 1 - To /path/to/gitea-repositories/org/repo.git
 ! [rejected]        issue-fix -> refs/pull/20/head (non-fast-forward)

* format

6 years agoChange how merged PR commit info are prepared (#3368)
Lauris BH [Fri, 19 Jan 2018 06:18:51 +0000 (08:18 +0200)]
Change how merged PR commit info are prepared (#3368)

* Change how merged PR commits and diff are made

* Update code.gitea.io/git dependency

* Fix typo

* Remove unneeded local variable

6 years agoDelete indexer DB entries when (re)creating index (#3385)
Ethan Koenig [Wed, 17 Jan 2018 21:51:07 +0000 (13:51 -0800)]
Delete indexer DB entries when (re)creating index (#3385)

* comment

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 16 Jan 2018 21:27:57 +0000 (21:27 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoUpdate source installation requirements (#3124)
Kim "BKC" Carlbäcker [Tue, 16 Jan 2018 21:18:11 +0000 (22:18 +0100)]
Update source installation requirements (#3124)

* Update source installation requirements

We require Golang 1.8 since we use `net/url.PathEscape` which was not introduced until then

* Use Golang 1.8 for build and test

If we state Golang 1.8 we should test using that version as well

* Use golang 1.8 only for single build to see if everything compiles

* Change back edge also for commented out sqlite test

6 years agoAdd integrations tests from git cli (#3377)
Antoine GIRARD [Tue, 16 Jan 2018 11:07:47 +0000 (12:07 +0100)]
Add integrations tests from git cli (#3377)

* test: integration add git cli tests

Extracted form for easing review process and debug #3152

* test: integration add git cli big file commit

* fix:  Don't rewrite key if internal server

6 years agoFix API-Endpoint release (#3012)
Marc Brückner [Tue, 16 Jan 2018 08:54:13 +0000 (09:54 +0100)]
Fix API-Endpoint release (#3012)

* Fixes API-Endpoint release (#3005)

* Using context.ReferencesGitRepo(); doing the same in the PATCH route.

* Add release create, get and update test

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 15 Jan 2018 22:45:41 +0000 (22:45 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoChange reserved avatar name to correct - avatars (#3375)
Lauris BH [Mon, 15 Jan 2018 22:45:13 +0000 (00:45 +0200)]
Change reserved avatar name to correct - avatars (#3375)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 15 Jan 2018 06:04:51 +0000 (06:04 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix Delete repository message (#3260)
muhfaris [Mon, 15 Jan 2018 06:03:30 +0000 (13:03 +0700)]
Fix Delete repository message (#3260)

6 years agoFix en-US locale (#3371)
Ethan Koenig [Sun, 14 Jan 2018 22:27:57 +0000 (14:27 -0800)]
Fix en-US locale (#3371)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 14 Jan 2018 22:10:15 +0000 (22:10 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd myself as a translator (#3370)
viktike [Sun, 14 Jan 2018 22:09:30 +0000 (23:09 +0100)]
Add myself as a translator (#3370)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 14 Jan 2018 17:35:34 +0000 (17:35 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAsynchronously populate the repo indexer (#3366)
Ethan Koenig [Sun, 14 Jan 2018 17:34:41 +0000 (09:34 -0800)]
Asynchronously populate the repo indexer (#3366)

* Populate repo indexer in background

* Check if no repos exist

* race cond

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 13 Jan 2018 09:46:18 +0000 (09:46 +0000)]
[skip ci] Updated translations via Crowdin

6 years agorefactor(model): update user method. (#3360)
Bo-Yi Wu [Sat, 13 Jan 2018 09:45:16 +0000 (17:45 +0800)]
refactor(model): update user method. (#3360)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 12 Jan 2018 22:17:50 +0000 (22:17 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoGeneral refactor of the cmd package (#3328)
Morgan Bazalgette [Fri, 12 Jan 2018 22:16:49 +0000 (23:16 +0100)]
General refactor of the cmd package (#3328)

* General refactor of the cmd package

* Address breakage in runCreateUser

* Place "common" functions into cmd.go

6 years agoAdd MSSQL to supported database list of intall page (#3359)
Antoine GIRARD [Fri, 12 Jan 2018 17:23:28 +0000 (18:23 +0100)]
Add MSSQL to supported database list of intall page (#3359)

6 years agoAddress issues pointed out by @lunny in #3339 (#3352)
Morgan Bazalgette [Fri, 12 Jan 2018 14:37:30 +0000 (15:37 +0100)]
Address issues pointed out by @lunny in #3339 (#3352)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 11 Jan 2018 22:20:44 +0000 (22:20 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoCleanup models.User.HashPassword (#3334)
Kim "BKC" Carlbäcker [Thu, 11 Jan 2018 22:19:38 +0000 (23:19 +0100)]
Cleanup models.User.HashPassword (#3334)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 11 Jan 2018 19:57:53 +0000 (19:57 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoImprove documentation about custom templates. (#3345)
Alberto González Palomo [Thu, 11 Jan 2018 19:56:40 +0000 (20:56 +0100)]
Improve documentation about custom templates. (#3345)

Now includes all the template hooks in the page, and a detailed
example for the common case of adding an "about" page.

6 years agoRemove hardcoded paths to fix randomly failing tests (#3347)
Lauris BH [Wed, 10 Jan 2018 23:46:59 +0000 (01:46 +0200)]
Remove hardcoded paths to fix randomly failing tests (#3347)

* Remove hardcoded paths to fix randomly failing tests

* Use correct function for merge path

6 years agoFix randomly failing LFS lock tests in drone (#3346)
Lauris BH [Wed, 10 Jan 2018 22:09:56 +0000 (00:09 +0200)]
Fix randomly failing LFS lock tests in drone (#3346)

6 years agoHandle refactor (#3339)
Morgan Bazalgette [Wed, 10 Jan 2018 21:34:17 +0000 (22:34 +0100)]
Handle refactor (#3339)

* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound

* Change Handle(403) to NotFound, avoid using macaron's NotFound

6 years agoTemplates for extra links in top navbar and repo tool tabs. (#3308)
Alberto González Palomo [Wed, 10 Jan 2018 06:19:50 +0000 (07:19 +0100)]
Templates for extra links in top navbar and repo tool tabs. (#3308)

These templates add content to the top navbar
and to the repository page.
This way we do not have to copy and modify the whole
template, and re-modify it after upgrading Gitea if
it changes.

Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
6 years agoMake the default action for the gitea executable that of running the webserver (...
Morgan Bazalgette [Wed, 10 Jan 2018 04:58:08 +0000 (05:58 +0100)]
Make the default action for the gitea executable that of running the webserver (#3331)

6 years agoFix organization profile on mobile devices (#3332)
Morgan Bazalgette [Tue, 9 Jan 2018 23:11:01 +0000 (00:11 +0100)]
Fix organization profile on mobile devices (#3332)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 9 Jan 2018 18:41:13 +0000 (18:41 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoRemove useless fmt.Errorf("%v", err) (#3337)
Antoine GIRARD [Tue, 9 Jan 2018 18:40:05 +0000 (19:40 +0100)]
Remove useless fmt.Errorf("%v", err) (#3337)

6 years agoAdd MTecknology to MAINTAINERS list (#3335)
Michael Lustfield [Tue, 9 Jan 2018 05:27:26 +0000 (23:27 -0600)]
Add MTecknology to MAINTAINERS list (#3335)

6 years agoAdd CodeTriage link to README (#3299)
Richard Schneeman [Mon, 8 Jan 2018 23:01:08 +0000 (17:01 -0600)]
Add CodeTriage link to README (#3299)

6 years agoGeneral documentation cleanup (#3317)
Michael Lustfield [Mon, 8 Jan 2018 22:48:42 +0000 (16:48 -0600)]
General documentation cleanup (#3317)

* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.

6 years agoUpdate gitea version on docs/install-from-binary (#3333)
Kim "BKC" Carlbäcker [Mon, 8 Jan 2018 22:48:05 +0000 (23:48 +0100)]
Update gitea version on docs/install-from-binary (#3333)

* Update gitea version on docs/install-from-binary

* Update all versions

6 years agoChange EncodePasswd to HashPassword (#3329)
Morgan Bazalgette [Mon, 8 Jan 2018 22:28:18 +0000 (23:28 +0100)]
Change EncodePasswd to HashPassword (#3329)

* Change EncodePasswd to HashPassword

* Create test+benchmark for HashPassword

6 years agoAdd some instructions about running integration tests (#3319)
Sandro Santilli [Mon, 8 Jan 2018 16:29:52 +0000 (17:29 +0100)]
Add some instructions about running integration tests (#3319)

* Add some instructions about running integration tests

* Add missing newline escape

* Suggest running a clean build

6 years agoFix branch name escaping in compare url (#3311)
Deyong Zhu [Mon, 8 Jan 2018 15:17:24 +0000 (23:17 +0800)]
Fix branch name escaping in compare url  (#3311)

* Fixes #3303

6 years agoRemove IsOwner, NumTeams from OrgUser (#3269)
Ethan Koenig [Mon, 8 Jan 2018 07:48:37 +0000 (23:48 -0800)]
Remove IsOwner, NumTeams from OrgUser (#3269)

6 years agoAdd missing indexer doc in configuration (#3324)
Antoine GIRARD [Mon, 8 Jan 2018 05:03:52 +0000 (06:03 +0100)]
Add missing indexer doc in configuration (#3324)

* Add missing indexer doc in configuration

* Unify MAX_FILE_SIZE to 1024 * 1024

6 years agoServe .patch for pull requests (#3305)
Sandro Santilli [Sun, 7 Jan 2018 13:10:20 +0000 (14:10 +0100)]
Serve .patch for pull requests (#3305)

* Serve .patch for pull requests

Closes #3259
Updates "git" module, for GetFormatPatch

* Handle io.Copy error

6 years agoEnsure docs makefile downloads theme if failed before. (#3322)
Alberto González Palomo [Sun, 7 Jan 2018 12:11:17 +0000 (13:11 +0100)]
Ensure docs makefile downloads theme if failed before. (#3322)

The makefile did not download the theme if the directory "themes/gitea"
is there, even if empty.
On a fresh Ubuntu install, curl is not included, so the theme rule fails
just after creating the empty directory. When you try again after
installing curl, the rule is not triggered.

This could also happen if the download fails for other reasons.

This change makes the theme rule depend on the file "theme.toml"
which will be there only after unpacking a successfully downloaded
theme archive.

Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 7 Jan 2018 09:42:08 +0000 (09:42 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoEnable Libravatar by default in new installations (#3287)
Sandro Santilli [Sun, 7 Jan 2018 09:41:09 +0000 (10:41 +0100)]
Enable Libravatar by default in new installations (#3287)

Pre-existing installs still have it default to off.
This is consistent with OpenID setting.

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 7 Jan 2018 09:14:19 +0000 (09:14 +0000)]
[skip ci] Updated translations via Crowdin

6 years agofix bug when a user delete but assigned on issue (#3318)
Lunny Xiao [Sun, 7 Jan 2018 09:13:10 +0000 (03:13 -0600)]
fix bug when a user delete but assigned on issue (#3318)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 6 Jan 2018 22:56:53 +0000 (22:56 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoWritable deploy keys (closes #671) (#3225)
Vlad Temian [Sat, 6 Jan 2018 22:55:53 +0000 (00:55 +0200)]
Writable deploy keys (closes #671) (#3225)

* Add is_writable checkbox to deploy keys interface

* Add writable key option to deploy key form

* Add support for writable ssh keys in the interface

* Rename IsWritable to ReadOnly

* Test: create read-only and read-write deploy keys via api

* Add DeployKey access mode migration

* Update gitea sdk via govendor

* Fix deploykey migration

* Add unittests for writable deploy keys

* Move template text to locale

* Remove implicit column update

* Remove duplicate locales

* Replace ReadOnly field with IsReadOnly method

* Fix deploy_keys related integration test

* Rename v54 migration with v55

* Fix migration hell

6 years agoAdd defaults to config cheatsheet, and minor language cleanup. (#3290)
Michael Lustfield [Sat, 6 Jan 2018 20:15:14 +0000 (14:15 -0600)]
Add defaults to config cheatsheet, and minor language cleanup. (#3290)

* Add defaults to config cheatsheet, and clean up document.

* Updates and touchups, per review.

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 6 Jan 2018 19:53:48 +0000 (19:53 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd myself to MAINTAINERS (#3313)
Morgan Bazalgette [Sat, 6 Jan 2018 19:52:57 +0000 (19:52 +0000)]
Add myself to MAINTAINERS (#3313)

6 years agoMake the space for repo actions wider on repo header (#3312)
Morgan Bazalgette [Sat, 6 Jan 2018 17:20:13 +0000 (17:20 +0000)]
Make the space for repo actions wider on repo header (#3312)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 6 Jan 2018 11:29:31 +0000 (11:29 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoadd external tool docs (#3301)
Lunny Xiao [Sat, 6 Jan 2018 11:28:31 +0000 (05:28 -0600)]
add external tool docs (#3301)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 5 Jan 2018 18:57:58 +0000 (18:57 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd Pull Request merge options - Ignore white-space for conflict checking, Rebase...
Lauris BH [Fri, 5 Jan 2018 18:56:50 +0000 (20:56 +0200)]
Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge (#3188)

* Pull request options migration and UI in settings

* Add ignore whitespace functionality

* Fix settings if pull requests are disabled

* Fix migration transaction

* Merge with Rebase functionality

* UI changes and related functionality for pull request merging button

* Implement squash functionality

* Fix rebase merging

* Fix pull request merge tests

* Add squash and rebase tests

* Fix API method to reuse default message functions

* Some refactoring and small fixes

* Remove more hardcoded values from tests

* Remove unneeded check from API method

* Fix variable name and comment typo

* Fix reset commit count after PR merge

6 years agoServe pull request .diff files (#3293)
Sandro Santilli [Fri, 5 Jan 2018 10:56:52 +0000 (11:56 +0100)]
Serve pull request .diff files (#3293)

* Serve pull request .diff files

Closes #3259

* Add test for pull request redirection and .diff access

* Typo

* There's no need to test for pr.BaseRepo being nil after calling GetBaseRepo

6 years agoFix swagger docs (#3300)
Ethan Koenig [Thu, 4 Jan 2018 06:31:40 +0000 (01:31 -0500)]
Fix swagger docs (#3300)

6 years agoUse issue number/index instead of id for API URL. (#3298)
Alberto González Palomo [Thu, 4 Jan 2018 01:41:33 +0000 (02:41 +0100)]
Use issue number/index instead of id for API URL. (#3298)

Using the API calls, the issue objects retrieved by
/repos/{owner}/{repo}/issues
contains the wrong value in the "url" field:
it uses the "id" value instead of the "number" value.

For instance, in a new repo in try.gitea.io with just one issue:
[{
  "id": 896,
  "url": "https://try.gitea.io/api/v1/repos/AlbertoGP/uno/issues/896",
  "number": 1,
   ...
}]

The given URL does not work, but if you replace the "896" by "1" it
does.

6 years agoFixed asterisk based tasklist items, fixed requirement for one char after last blank...
modmew8 [Wed, 3 Jan 2018 19:45:21 +0000 (20:45 +0100)]
Fixed asterisk based tasklist items, fixed requirement for one char after last blank to be a valid task. (#3296)

Signed-off-by: modmew8 <modmew8@gmail.com>
6 years agoFix guide link for webhooks in repository settings (#3291) (#3292)
Elouan Martinet [Wed, 3 Jan 2018 15:50:09 +0000 (16:50 +0100)]
Fix guide link for webhooks in repository settings (#3291) (#3292)

Signed-off-by: Elouan Martinet <exa@elou.world>
6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 3 Jan 2018 08:35:03 +0000 (08:35 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdded progressbar for issues (#1146). (#3171)
modmew8 [Wed, 3 Jan 2018 08:34:13 +0000 (09:34 +0100)]
Added progressbar for issues (#1146). (#3171)

* Added progressbar for issues (#1146).

* Updated the generated index.css.

Signed-off-by: modmew8 <modmew8@gmail.com>
* Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues.

Signed-off-by: modmew8 <modmew8@gmail.com>
* Removed unnecessary blanks.

Signed-off-by: modmew8 <modmew8@gmail.com>
* Formatted the files correctly, fmt-check terminates now without errors.

Signed-off-by: modmew8 <modmew8@gmail.com>
* Removed variables, made computing the tasks on demand with precompiled regexp.

Signed-off-by: modmew8 <modmew8@gmail.com>
6 years agoUpdate standard copyright header for new year (#3289)
techknowlogick [Wed, 3 Jan 2018 02:03:24 +0000 (21:03 -0500)]
Update standard copyright header for new year (#3289)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 2 Jan 2018 12:14:47 +0000 (12:14 +0000)]
[skip ci] Updated translations via Crowdin

6 years agorefactor: ignore LGTM from author of pull request. (#3283)
Bo-Yi Wu [Tue, 2 Jan 2018 12:13:49 +0000 (20:13 +0800)]
refactor: ignore LGTM from author of pull request. (#3283)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 2 Jan 2018 10:33:40 +0000 (10:33 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd more additional template snippets (#3286)
Thomas Boerger [Tue, 2 Jan 2018 10:32:41 +0000 (11:32 +0100)]
Add more additional template snippets (#3286)

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 2 Jan 2018 02:38:10 +0000 (02:38 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix MS AD Search Attributes English translation (#3282)
Piotr Orzechowski [Tue, 2 Jan 2018 02:37:16 +0000 (03:37 +0100)]
Fix MS AD Search Attributes English translation (#3282)

6 years agoUpdate CONTRIBUTING.md with new Owners (#3281)
techknowlogick [Mon, 1 Jan 2018 17:30:51 +0000 (12:30 -0500)]
Update CONTRIBUTING.md with new Owners (#3281)

* Add in new owners to contributing.md

* Update date

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 1 Jan 2018 13:39:43 +0000 (13:39 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd build instruction in README, reorganize some sections (#3257)
Sandro Santilli [Mon, 1 Jan 2018 13:38:49 +0000 (14:38 +0100)]
Add build instruction in README, reorganize some sections (#3257)

* Add build instruction in README, reorganize some sections

* Add link to https://docs.gitea.io/en-us/install-from-source/

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 31 Dec 2017 14:47:00 +0000 (14:47 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoAdd repo-sync-releases admin command (#3254)
Sandro Santilli [Sun, 31 Dec 2017 14:45:46 +0000 (15:45 +0100)]
Add repo-sync-releases admin command (#3254)

* Add repo-sync-releases admin command

Will help recovering corrupted database, see #3247

* Load repos in chunks of 10, exit with error if unable to get a list, scan private repos, fix typo

* Fix debug output about num releases

* Introduce RepositoryListDefaultPageSize constant, set to 64

Use it from the new admin command

* Use RepositoryListDefaultPageSize in more places

* Document RepositoryListDefaultPageSize

6 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 31 Dec 2017 03:09:06 +0000 (03:09 +0000)]
[skip ci] Updated translations via Crowdin

6 years agoFix race condition in team functions (#3268)
Ethan Koenig [Sun, 31 Dec 2017 03:08:08 +0000 (22:08 -0500)]
Fix race condition in team functions (#3268)

6 years agogo back to using CFB for AES decryption/encryption for 2FA (#3274)
Morgan Bazalgette [Sun, 31 Dec 2017 02:19:42 +0000 (03:19 +0100)]
go back to using CFB for AES decryption/encryption for 2FA (#3274)

6 years agoRemove unused vendor github.com/stretchr/testify/require (#3273)
Antoine GIRARD [Sun, 31 Dec 2017 01:11:08 +0000 (02:11 +0100)]
Remove unused vendor github.com/stretchr/testify/require (#3273)

6 years agoRemove unused consts/vars (#3270)
Ethan Koenig [Sun, 31 Dec 2017 01:10:48 +0000 (20:10 -0500)]
Remove unused consts/vars (#3270)

6 years agoResponsive view (#2750)
Morgan Bazalgette [Sun, 31 Dec 2017 00:47:52 +0000 (01:47 +0100)]
Responsive view (#2750)

* Viewport meta tag

* responsive: dashboard

* responsive: issues page

* responsive: Explore page

* responsive: navbar, and some navbar css refactoring

* responsive: button for collapsing navbar in mobile view

* Mark the hamburger button as active when pressed

* better homepage for responsive views

* Bring back jump class in navbar

The class was necessary, because this way the
dropdown doesn't assume the contents of the
selected item.

* make repository homes responsive

* Make file view page responsive

* Make forms look good on responsive views

* make commits and commit diff view responsive

* issues and PRs

* responsive wiki

* Don't place auto-init far off the page

* Minor changes to amend broken stuff

minor improvements

- make login/sign up in navbar stackable
- make navbar in explore and sign in not stackable

Change selected class in TestPullCompare

Fix typo that happened when rebasing

fix dashboard on org view

improve profile UI

Use clearing on file diff to fix broken UI caused by floating elements

remove unresolved merge conflict, and | Sanitize

Fix repo home not loading

6 years agoFixed link to Issue 165 in comment, that was broken by commit 2d68bd1ef98849da54c869b...
Roman Egunkov [Sat, 30 Dec 2017 04:19:38 +0000 (07:19 +0300)]
Fixed link to Issue 165 in comment, that was broken by commit 2d68bd1ef98849da54c869b103e93719d1accb5e (index 8110ac85..0f6163c4 100644). (#3267)

6 years agoAdd docs for REDIRECT_OTHER_PORT and PORT_TO_REDIRECT config options (#3262)
Mike Fellows [Wed, 27 Dec 2017 14:35:19 +0000 (09:35 -0500)]
Add docs for REDIRECT_OTHER_PORT and PORT_TO_REDIRECT config options (#3262)

6 years agoFix bugs in issue dashboard stats (#3073)
Ethan Koenig [Mon, 25 Dec 2017 23:25:16 +0000 (18:25 -0500)]
Fix bugs in issue dashboard stats (#3073)