Morgan Bazalgette
17655cdf1b
Enable caching on assets and avatars (#3376)
* Enable caching on assets and avatars
Fixes #3323
* Only set avatar in user BeforeUpdate when there is no avatar set
* add error checking after stat
* gofmt
* Change cache time for avatars to an hour
6 years ago
techknowlogick
77f8bad2fb
Update hard-coded version to 1.5.0-dev (#3450)
Now that 1.4.0 is out the new target is 1.5.0
(See #2390 and #2988 for more context if needed)
6 years ago
Christian Köberl
e9e2a9cdcc
Allow square brackets in external issue patterns (#3408)
* Allow square brackets in external issue patterns
* Added false test cases for checklist elements
6 years ago
modmew8
e08b3a592e
Emoji Autocomplete (#3433)
* Implemented emoji autocomplete.
* Changed emoji access url.
* Reverted vendor css to default, moved all style changes to _tribute.less
* Made no-results overwriteable, added missing autocomplete to edit issue field.
Signed-off-by: modmew8 <modmew8@gmail.com>
6 years ago
GiteaBot
b62ce2e246
[skip ci] Updated translations via Crowdin
6 years ago
Morgan Bazalgette
10171b7e2f
add changelog for 1.4.0 (#3435)
* add changelog for 1.4.0
* remove docs
* Remove some more noise
* Small reorganization, removed bugfixes that were not present in last stable version
* Move LFS lock to features, add just merged bugfix info
6 years ago
Lauris BH
f9a5cc4d8e
Use correct transaltion key for delete email button (#3422)
6 years ago
Antoine GIRARD
b3fd94c13d
Add sensitive headers (#3429)
* Add HeaderWithSensitiveCase methods to respect casing
* Update webhook.go
6 years ago
GiteaBot
d09704e903
[skip ci] Updated translations via Crowdin
6 years ago
Lauris BH
ca4f5c37e6
Fix branch deletion for squash or rebase merged pull requests (#3425)
6 years ago
GiteaBot
5911f98392
[skip ci] Updated translations via Crowdin
6 years ago
Lauris BH
aef30071c9
Fix go-get content type (#3426)
6 years ago
GiteaBot
7af81973cb
[skip ci] Updated translations via Crowdin
6 years ago
Ethan Koenig
46c7fe371d
Fix PR merge error (#3421)
6 years ago
Lauris BH
28b81899d0
Add doctype to go-get=1 reponse (#3423)
6 years ago
Ethan Koenig
3968c1149e
Fix SQL type error for webhooks (#3424)
6 years ago
Lauris BH
e189b06baa
Add mising `LOCAL_WIKI_PATH` documentation (#3420)
6 years ago
GiteaBot
7fd2d8e392
[skip ci] Updated translations via Crowdin
6 years ago
Ethan Koenig
bac6ac033a
Fix race condition in repo renaming (#3418)
6 years ago
Ethan Koenig
c55a027da3
Fix empty checkout bug (#3419)
6 years ago
Antoine GIRARD
36a94da8da
doc: Improve integrations examples (#3416)
6 years ago
Timo Schindler
bcd7f42529
Added quoting for passwords in sample.app.ini and documentation (#3395)
6 years ago
Wendell Sun
b627f1131b
Change local copy origin url after repository rename (#3399)
Fix #3378
6 years ago
Antoine GIRARD
9e842c8a72
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 ago
Lunny Xiao
97fe773491
fix MSSQL bug on org (#3405)
6 years ago
Lauris BH
a0c397df08
Recognize more characters in crossreferenced repo name (#3413)
6 years ago
GiteaBot
9e87fe8c06
[skip ci] Updated translations via Crowdin
6 years ago
Kazuki Sawada
07b4e47a56
Add myself to TRANSLATORS (#3415)
6 years ago
GiteaBot
82a7b0292e
[skip ci] Updated translations via Crowdin
6 years ago
Morgan Bazalgette
d644e88107
HTML escape all lines of the search result (#3402)
Fixes #3383 .
6 years ago
Sandro Santilli
00d08473b8
Use GiteaServer as the user agent for http requests (#3404)
Otherwise we're still presenting ourselves as GogsServer...
6 years ago
Antoine GIRARD
1ce3572409
Remove useless check (#3384)
In #3377, I put check inside all write key function. This one is useless no.
6 years ago
Sandro Santilli
05ab747054
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 ago
Lauris BH
ca306985d3
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 ago
Ethan Koenig
b0d5bb909b
Delete indexer DB entries when (re)creating index (#3385)
* comment
6 years ago
GiteaBot
a880b17296
[skip ci] Updated translations via Crowdin
6 years ago
Kim "BKC" Carlbäcker
e722bdbb03
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 ago
Antoine GIRARD
095fb9f2e3
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 ago
Marc Brückner
695b10bedd
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
GiteaBot
cc0c4a30a7
[skip ci] Updated translations via Crowdin
6 years ago
Lauris BH
a68bf746a4
Change reserved avatar name to correct - avatars (#3375)
6 years ago
GiteaBot
e2bb7933e8
[skip ci] Updated translations via Crowdin
6 years ago
muhfaris
bec09378f9
Fix Delete repository message (#3260)
6 years ago
Ethan Koenig
d29aa76777
Fix en-US locale (#3371)
6 years ago
GiteaBot
6b9073b3a4
[skip ci] Updated translations via Crowdin
6 years ago
viktike
18bf6be398
Add myself as a translator (#3370)
6 years ago
GiteaBot
6da5ed2594
[skip ci] Updated translations via Crowdin
6 years ago
Ethan Koenig
ccdb94992d
Asynchronously populate the repo indexer (#3366)
* Populate repo indexer in background
* Check if no repos exist
* race cond
6 years ago
GiteaBot
a8325dd1cb
[skip ci] Updated translations via Crowdin
6 years ago
Bo-Yi Wu
7a2a3fbafc
refactor(model): update user method. (#3360)
6 years ago