]>
source.dussan.org Git - gitea.git/log
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
GiteaBot [Sun, 31 Dec 2017 03:09:06 +0000 (03:09 +0000)]
[skip ci] Updated translations via Crowdin
Ethan Koenig [Sun, 31 Dec 2017 03:08:08 +0000 (22:08 -0500)]
Fix race condition in team functions (#3268)
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)
Antoine GIRARD [Sun, 31 Dec 2017 01:11:08 +0000 (02:11 +0100)]
Remove unused vendor github.com/stretchr/testify/require (#3273)
Ethan Koenig [Sun, 31 Dec 2017 01:10:48 +0000 (20:10 -0500)]
Remove unused consts/vars (#3270)
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
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)
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)
Ethan Koenig [Mon, 25 Dec 2017 23:25:16 +0000 (18:25 -0500)]
Fix bugs in issue dashboard stats (#3073)
Mike Fellows [Mon, 25 Dec 2017 22:23:43 +0000 (17:23 -0500)]
Add an option to allow redirect of http port 80 to https. (#1928)
* Add an option to allow redirect of http port 80 to https.
This is an "opt in" option (default is to not redirect). It will only redirect
if protocol is https and the new REDIRECT_PORT_80 option is set to true.
The Port to redirect in previous commit was hardcoded to 80, now it can be
specified in the app.ini, defaulting to 80. The boolean option to turn
redirection on has been changed to REDIRECT_OTHER_PORT to be logically
consistent with the new port option.
Signed-off-by: Mike Fellows <mike.fellows@shaw.ca>
Lunny Xiao [Sun, 24 Dec 2017 21:04:22 +0000 (15:04 -0600)]
Small improve on deleting attachements (#3145)
* Small improve on deleting attachements
* improve the sequence of deletion
Antoine GIRARD [Sun, 24 Dec 2017 00:33:34 +0000 (01:33 +0100)]
Add more bench (#3161)
* Improve makefile + Add benchs
* Apply recommendations of @ethantkoenig
GiteaBot [Fri, 22 Dec 2017 07:01:25 +0000 (07:01 +0000)]
[skip ci] Updated translations via Crowdin
Ethan Koenig [Fri, 22 Dec 2017 07:00:30 +0000 (23:00 -0800)]
Update code.gitea.io/git (#3251)
Ethan Koenig [Thu, 21 Dec 2017 07:43:26 +0000 (23:43 -0800)]
Fix ignored errors when checking if organization, team member (#3177)
Lunny Xiao [Wed, 20 Dec 2017 12:59:56 +0000 (06:59 -0600)]
Support default private when creating or migrating repository (#3239)
* support default private when creating or migrating repository
* fix fmt
* use string constants on repository default private in app.ini
* fix fmt
Ethan Koenig [Wed, 20 Dec 2017 05:37:56 +0000 (21:37 -0800)]
Fix repo-transfer-and-team-repo-count bug (#3241)
GiteaBot [Wed, 20 Dec 2017 03:42:21 +0000 (03:42 +0000)]
[skip ci] Updated translations via Crowdin
Bo-Yi Wu [Wed, 20 Dec 2017 03:41:29 +0000 (11:41 +0800)]
chore: upgrade gitea/git version (#3240)
ref: https://github.com/go-gitea/gitea/pull/3190
Sandro Santilli [Tue, 19 Dec 2017 10:40:21 +0000 (11:40 +0100)]
Add missing repository setting docs in cheat sheet (#3230)
Chris Woodward [Tue, 19 Dec 2017 07:47:30 +0000 (23:47 -0800)]
Fixed missing end tag for organization link (#3229)
Jesstern Rays [Tue, 19 Dec 2017 01:31:32 +0000 (09:31 +0800)]
Use correct camel casing for JavaScript (#3224)
JavaScript should be spelt with an uppercase 'S' as per seen in [Mozilla](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
Sandro Santilli [Tue, 19 Dec 2017 01:30:34 +0000 (02:30 +0100)]
Open external tracker in blank window, consistently with wiki (#3227)
Closes #3216
Ethan Koenig [Mon, 18 Dec 2017 14:06:51 +0000 (06:06 -0800)]
Check ignored errors for issue and milestone count (#3213)
Sandro Santilli [Sun, 17 Dec 2017 14:37:34 +0000 (15:37 +0100)]
Improve cron.archive_cleanup docs in cheat sheet and app.ini.sample (#3215)
Include defaults in cheat sheet, for that section
Ethan Koenig [Sun, 17 Dec 2017 11:53:02 +0000 (03:53 -0800)]
Remove unnecessary updates to issue indexer (#3212)
Sandro Santilli [Sat, 16 Dec 2017 21:25:00 +0000 (22:25 +0100)]
Change SSL Mode from checkbox to string in admin page (#3208)
Closes #3207
Use a string, not a checkbox because "require", "verify-full",
"verify-ca" and "disable" values are supported ...
Ethan Koenig [Fri, 15 Dec 2017 21:11:02 +0000 (13:11 -0800)]
Unit tests for routers/repo/issue_label (#3198)
Ethan Koenig [Fri, 15 Dec 2017 04:55:08 +0000 (20:55 -0800)]
Fix repo links on user profile (#3197)
silverwind [Thu, 14 Dec 2017 18:26:59 +0000 (19:26 +0100)]
Improve suppressed diff boxes (#3193)
Lunny Xiao [Wed, 13 Dec 2017 23:45:31 +0000 (07:45 +0800)]
Improvements for supporting UI Location (#3146)
* improvements for supporting UI Location
* improved the comment
Patrick Lühne [Wed, 13 Dec 2017 22:22:59 +0000 (23:22 +0100)]
Make spacing in configuration file consistent (#3186)
This makes the spacing consistent across all options.
Signed-off-by: Patrick Lühne <patrick-github@luehne.de>
Lauris BH [Wed, 13 Dec 2017 14:52:18 +0000 (16:52 +0200)]
Reorder migrations, skip errors if running migration again (#3160)
* Reorder migrations, skip errors if running migration again
* Rename migration file names to match migration version
* Add note about ingored error
Lauris BH [Wed, 13 Dec 2017 13:46:56 +0000 (15:46 +0200)]
Fix wiki page list not rendering after updatedunix changes (#3175)
Lunny Xiao [Wed, 13 Dec 2017 08:57:28 +0000 (16:57 +0800)]
fix run web with -p push failed (#3154)
Ethan Koenig [Wed, 13 Dec 2017 05:06:25 +0000 (21:06 -0800)]
Fix new pull request link (#3133)
* Fix new pull request link
* Only show button for branches
GiteaBot [Tue, 12 Dec 2017 22:27:18 +0000 (22:27 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Tue, 12 Dec 2017 22:26:31 +0000 (06:26 +0800)]
fix org owner cannot be removed if there is not in owner team (#3164)
Ethan Koenig [Tue, 12 Dec 2017 07:17:08 +0000 (23:17 -0800)]
Make test more robust (#3167)
GiteaBot [Tue, 12 Dec 2017 06:46:42 +0000 (06:46 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Tue, 12 Dec 2017 06:45:02 +0000 (14:45 +0800)]
fix source download link when no code unit allowed (#3166)
haytona [Tue, 12 Dec 2017 01:02:55 +0000 (12:02 +1100)]
Enable emoji for wiki view (#3158)
Enable emoji for wiki page content. It is enabled in the edit preview so the view should match.
Signed-off-by: Hamish Carpenter <hamish@hamishcarpenter.com>
Kim "BKC" Carlbäcker [Tue, 12 Dec 2017 00:32:36 +0000 (01:32 +0100)]
Fix Uninitialized variable in ParsePatch (#3156)
Lunny Xiao [Mon, 11 Dec 2017 14:07:25 +0000 (22:07 +0800)]
fix gpg tmpl (#3153)
Lauris BH [Mon, 11 Dec 2017 09:42:13 +0000 (11:42 +0200)]
Move build without gcc step up so that it's binary is not used in docker (#3147)
Lunny Xiao [Mon, 11 Dec 2017 07:16:23 +0000 (15:16 +0800)]
simple usage of x (#3144)
harry [Mon, 11 Dec 2017 06:03:04 +0000 (14:03 +0800)]
Mention completion for issue editor. (#3136)
* new issue mention
* Mention completion on new issue and view issue page.
* Code format.
* Require tribute in pull request page.
Lunny Xiao [Mon, 11 Dec 2017 04:37:04 +0000 (12:37 +0800)]
Refactor struct's time to remove unnecessary memory usage (#3142)
* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add
Ethan Koenig [Mon, 11 Dec 2017 02:31:07 +0000 (18:31 -0800)]
Restore make test target (#3139)
* Restore make test target
* make build -> go build
Ethan Koenig [Mon, 11 Dec 2017 02:23:34 +0000 (18:23 -0800)]
Update code.gitea.io/git (#3137)
Ethan Koenig [Mon, 11 Dec 2017 02:15:27 +0000 (18:15 -0800)]
Log unexpected responses in integration tests (#3138)
* Log flash error message in integration tests
* Also log short, non-HTML responses
Ethan Koenig [Mon, 11 Dec 2017 01:50:29 +0000 (17:50 -0800)]
Fixtures for public_key table (#3140)
Ethan Koenig [Mon, 11 Dec 2017 00:52:05 +0000 (16:52 -0800)]
Fix integration tests (#3141)
Lunny Xiao [Sun, 10 Dec 2017 14:08:19 +0000 (22:08 +0800)]
Fix compile failed without gcc (#3130)
* fix comile failed without gcc
* add sqlite tag for unit test
GiteaBot [Sun, 10 Dec 2017 02:52:04 +0000 (02:52 +0000)]
[skip ci] Updated translations via Crowdin
Antoine GIRARD [Sun, 10 Dec 2017 02:50:50 +0000 (03:50 +0100)]
Update alpine to 3.7 (#3121)
Lunny Xiao [Sat, 9 Dec 2017 10:17:40 +0000 (18:17 +0800)]
Fix missing drone test on release/* (#3126)
* fix missing drone test on release/*
* remove test coverage on release/*
GiteaBot [Fri, 8 Dec 2017 17:21:10 +0000 (17:21 +0000)]
[skip ci] Updated translations via Crowdin
Lauris BH [Fri, 8 Dec 2017 17:20:48 +0000 (19:20 +0200)]
Backport changelog for 1.3 release (#3120)
GiteaBot [Fri, 8 Dec 2017 12:23:00 +0000 (12:23 +0000)]
[skip ci] Updated translations via Crowdin
Antoine GIRARD [Fri, 8 Dec 2017 12:21:37 +0000 (13:21 +0100)]
Improve LFS tests + fix lfs url refs + keep path upper/lowercase in db. (#3092)
* Add failing test
* Fix urls
* Improve url in tests
* improve testing
* Remove debug code
* Add deps
* LFS corner-case : Search on lower but store with case
* Temporary comment of blocking action
* fix hooks
* Use temporary repo for git client test
* Use userPassword in place of hard-coded password
GiteaBot [Fri, 8 Dec 2017 05:23:04 +0000 (05:23 +0000)]
[skip ci] Updated translations via Crowdin
Ethan Koenig [Fri, 8 Dec 2017 05:22:02 +0000 (21:22 -0800)]
Fix missing branch in release bug (#3108)
Ethan Koenig [Fri, 8 Dec 2017 01:02:34 +0000 (17:02 -0800)]
Remove unnecessary function call (#3109)
Ethan Koenig [Thu, 7 Dec 2017 07:18:04 +0000 (23:18 -0800)]
Fix repo indexer and submodule bug (#3107)
Sasha Varlamov [Thu, 7 Dec 2017 07:00:09 +0000 (14:00 +0700)]
Allow adding collaborators with (fullname) (#3103)
* Allow adding collaborators with (fullname)
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Refactor username suffix to utils pkg
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
Sasha Varlamov [Thu, 7 Dec 2017 05:52:57 +0000 (12:52 +0700)]
Add 'mark all read' option to notifications (#3097)
* Add 'mark all read' option to notifications
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Fix exported comment
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Format method comments
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Fix exported comment
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
Format method comments
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
Tests for reactions (#3083)
* Unit tests for reactions
* Fix import order
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
Fix reaction possition when there is attachments (#3099)
Refactor notifications swap function
* Accept change to drop beforeupdate call
* Update purge notifications error message for consistency
* Drop unnecessary check for mark all as read button
* Remove debugging comment
silverwind [Thu, 7 Dec 2017 01:26:12 +0000 (02:26 +0100)]
Rework button styles on repo and commit page (#3104)
Ethan Koenig [Thu, 7 Dec 2017 01:09:02 +0000 (17:09 -0800)]
Fix legacy URL redirects (#3100)
Vlad Temian [Wed, 6 Dec 2017 10:27:10 +0000 (12:27 +0200)]
Delete a user's public key via admin api (closes #3014) (#3059)
* Delete a user's public key via admin api
* Test admin ssh endpoint for creating a new ssh key
* Adapt public ssh key test to also test the delete operation
* Test that deleting a missing key will result in a 404
* Test that a normal user can't delete another user's ssh key
* Make DeletePublicKey return err
* Update swagger doc
Lauris BH [Wed, 6 Dec 2017 03:17:50 +0000 (05:17 +0200)]
Fix reaction possition when there is attachments (#3099)
Lauris BH [Tue, 5 Dec 2017 20:57:01 +0000 (22:57 +0200)]
Tests for reactions (#3083)
* Unit tests for reactions
* Fix import order
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
silverwind [Tue, 5 Dec 2017 06:31:33 +0000 (07:31 +0100)]
fix button heights on commits page (#3091)
bibaijin [Tue, 5 Dec 2017 06:03:40 +0000 (14:03 +0800)]
add quotation around ports in docker-compose.yml (#3090)
Ethan Koenig [Tue, 5 Dec 2017 05:52:53 +0000 (21:52 -0800)]
Fix repo links (#3093)
Lunny Xiao [Mon, 4 Dec 2017 15:00:14 +0000 (23:00 +0800)]
fix redis cache failed (#3086)
GiteaBot [Mon, 4 Dec 2017 14:06:04 +0000 (14:06 +0000)]
[skip ci] Updated translations via Crowdin
znegva [Mon, 4 Dec 2017 14:05:12 +0000 (15:05 +0100)]
fixed in-page-link in CONTRIBUTING.md (#3087)
Ethan Koenig [Mon, 4 Dec 2017 04:39:01 +0000 (20:39 -0800)]
Sort repos in issues dashboard sidebar (#3072)
* Sort repos in issues dashboard sidebar
* Sort repos by name
Ethan Koenig [Mon, 4 Dec 2017 01:48:03 +0000 (17:48 -0800)]
Fix error message sanitiziation (#3082)
Lauris BH [Sun, 3 Dec 2017 23:14:26 +0000 (01:14 +0200)]
Add reactions to issues/PR and comments (#2856)
Ethan Koenig [Sun, 3 Dec 2017 22:46:01 +0000 (14:46 -0800)]
Use httptest in integration tests (#3080)
techknowlogick [Sun, 3 Dec 2017 20:52:30 +0000 (15:52 -0500)]
Minor copy changes (#3074)
* Minor copy changes
Fixes #3058
* Use TrN for translations that depend on count
Fix minor type with branches count
Ethan Koenig [Sun, 3 Dec 2017 11:55:13 +0000 (03:55 -0800)]
Fix avatar URLs (#3069)
* Fix avatar URLs
* import order
Piotr Orzechowski [Sun, 3 Dec 2017 10:21:10 +0000 (11:21 +0100)]
Enable content trust when building image (#2972)
GiteaBot [Sun, 3 Dec 2017 05:31:04 +0000 (05:31 +0000)]
[skip ci] Updated translations via Crowdin
Ethan Koenig [Sun, 3 Dec 2017 05:29:41 +0000 (21:29 -0800)]
Sanitize logs for mirror sync (#3057)
Ethan Koenig [Sun, 3 Dec 2017 02:20:12 +0000 (18:20 -0800)]
Fix ref parsing in commit messages (#3067)
techknowlogick [Sun, 3 Dec 2017 00:26:06 +0000 (19:26 -0500)]
Reduce overhead of upgrades for users with custom stylesheets/JS (#3051)
silverwind [Sat, 2 Dec 2017 23:16:35 +0000 (00:16 +0100)]
Remove box-shadow from UI, fix dashboard issue (#3065)
Lunny Xiao [Sat, 2 Dec 2017 19:57:47 +0000 (03:57 +0800)]
fix issue list branch link broken (#3061)
silverwind [Sat, 2 Dec 2017 19:48:43 +0000 (20:48 +0100)]
Convert tabs to spaces in .less files (#3064)
silverwind [Sat, 2 Dec 2017 17:57:51 +0000 (18:57 +0100)]
Adjust branch button size (#3063)
silverwind [Sat, 2 Dec 2017 17:20:52 +0000 (18:20 +0100)]
Fix misalignment issue in repo header (#3062)
Lunny Xiao [Sat, 2 Dec 2017 17:11:22 +0000 (01:11 +0800)]
Fix missing password length check when change password (#3039)
* fix missing password length check when change password
* add tests for change password
Lunny Xiao [Sat, 2 Dec 2017 07:34:39 +0000 (15:34 +0800)]
Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName (#3043)
* remove GetRepositoryByRef and add GetRepositoryByOwnerAndName
* fix tests
* fix tests bug
* some improvements
silverwind [Sat, 2 Dec 2017 05:48:57 +0000 (06:48 +0100)]
Fix CSS instructions in CONTRIBUTING.md (#3053)
silverwind [Sat, 2 Dec 2017 02:49:39 +0000 (03:49 +0100)]
Dashboard: Fix line height problem in issue titles (#3054)
Piotr Orzechowski [Fri, 1 Dec 2017 07:41:27 +0000 (08:41 +0100)]
Default log level to Info without hardcoding it in installer (#3041)