Mike Fellows
6692425345
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>
7 years ago
Lunny Xiao
91f3a1c7fb
Small improve on deleting attachements ( #3145 )
* Small improve on deleting attachements
* improve the sequence of deletion
7 years ago
Antoine GIRARD
1f9443cc23
Add more bench ( #3161 )
* Improve makefile + Add benchs
* Apply recommendations of @ethantkoenig
7 years ago
GiteaBot
0e3e196e1c
[skip ci] Updated translations via Crowdin
7 years ago
Ethan Koenig
b9e873bfd3
Update code.gitea.io/git ( #3251 )
7 years ago
Ethan Koenig
a8af5abc02
Fix ignored errors when checking if organization, team member ( #3177 )
7 years ago
Lunny Xiao
9bd6cc1455
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
7 years ago
Ethan Koenig
a7a4d4e9b6
Fix repo-transfer-and-team-repo-count bug ( #3241 )
7 years ago
GiteaBot
f2b09bd1d1
[skip ci] Updated translations via Crowdin
7 years ago
Bo-Yi Wu
3d9ba9284c
chore: upgrade gitea/git version ( #3240 )
ref: https://github.com/go-gitea/gitea/pull/3190
7 years ago
Sandro Santilli
2ce5f057bb
Add missing repository setting docs in cheat sheet ( #3230 )
7 years ago
Chris Woodward
65c3e3de68
Fixed missing end tag for organization link ( #3229 )
7 years ago
Jesstern Rays
cbb7b07ef5
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 )
7 years ago
Sandro Santilli
f8138130a6
Open external tracker in blank window, consistently with wiki ( #3227 )
Closes #3216
7 years ago
Ethan Koenig
6ef4dcbc7f
Check ignored errors for issue and milestone count ( #3213 )
7 years ago
Sandro Santilli
c7f635ff25
Improve cron.archive_cleanup docs in cheat sheet and app.ini.sample ( #3215 )
Include defaults in cheat sheet, for that section
7 years ago
Ethan Koenig
2ec08eb4ef
Remove unnecessary updates to issue indexer ( #3212 )
7 years ago
Sandro Santilli
77ba25867e
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 ...
7 years ago
Ethan Koenig
c5e12c5b2e
Unit tests for routers/repo/issue_label ( #3198 )
7 years ago
Ethan Koenig
3749b83466
Fix repo links on user profile ( #3197 )
7 years ago
silverwind
7cd177eb16
Improve suppressed diff boxes ( #3193 )
7 years ago
Lunny Xiao
d9b3afb0be
Improvements for supporting UI Location ( #3146 )
* improvements for supporting UI Location
* improved the comment
7 years ago
Lauris BH
ddc6a1bf19
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
7 years ago
Lauris BH
24c2422623
Fix wiki page list not rendering after updatedunix changes ( #3175 )
7 years ago
Lunny Xiao
7246bc58a8
fix run web with -p push failed ( #3154 )
7 years ago
Ethan Koenig
739808427a
Fix new pull request link ( #3133 )
* Fix new pull request link
* Only show button for branches
7 years ago
GiteaBot
127336e650
[skip ci] Updated translations via Crowdin
7 years ago
Lunny Xiao
81728786f2
fix org owner cannot be removed if there is not in owner team ( #3164 )
7 years ago
Ethan Koenig
5a6e79de9f
Make test more robust ( #3167 )
7 years ago
GiteaBot
265597c397
[skip ci] Updated translations via Crowdin
7 years ago
Lunny Xiao
779736ae0f
fix source download link when no code unit allowed ( #3166 )
7 years ago
haytona
c7c2aa6194
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>
7 years ago
Kim "BKC" Carlbäcker
ebdde24e92
Fix Uninitialized variable in ParsePatch ( #3156 )
7 years ago
Lunny Xiao
807938824d
fix gpg tmpl ( #3153 )
7 years ago
Lauris BH
b1376d21a4
Move build without gcc step up so that it's binary is not used in docker ( #3147 )
7 years ago
Lunny Xiao
1915a576a2
simple usage of x ( #3144 )
7 years ago
harry
41aa0418d2
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.
7 years ago
Lunny Xiao
a5c212cd1e
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
7 years ago
Ethan Koenig
ba9a6b4f3f
Restore make test target ( #3139 )
* Restore make test target
* make build -> go build
7 years ago
Ethan Koenig
1f8dbb8dcf
Update code.gitea.io/git ( #3137 )
7 years ago
Ethan Koenig
9022d27d39
Log unexpected responses in integration tests ( #3138 )
* Log flash error message in integration tests
* Also log short, non-HTML responses
7 years ago
Ethan Koenig
ec00d037ac
Fixtures for public_key table ( #3140 )
7 years ago
Ethan Koenig
366284dac1
Fix integration tests ( #3141 )
7 years ago
Lunny Xiao
1b434bae40
Fix compile failed without gcc ( #3130 )
* fix comile failed without gcc
* add sqlite tag for unit test
7 years ago
GiteaBot
7f139fa7a1
[skip ci] Updated translations via Crowdin
7 years ago
Antoine GIRARD
b5904baf96
Update alpine to 3.7 ( #3121 )
7 years ago
Lunny Xiao
7ab95030b7
Fix missing drone test on release/* ( #3126 )
* fix missing drone test on release/*
* remove test coverage on release/*
7 years ago
GiteaBot
ea6ae362b0
[skip ci] Updated translations via Crowdin
7 years ago
Lauris BH
848015e22b
Backport changelog for 1.3 release ( #3120 )
7 years ago
GiteaBot
43e9340fbf
[skip ci] Updated translations via Crowdin
7 years ago