haytona
f27a6461e3
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>
6 years ago
Kim "BKC" Carlbäcker
4b5197beb4
Fix Uninitialized variable in ParsePatch (#3156)
6 years ago
Lunny Xiao
3b525d5696
fix gpg tmpl (#3153)
6 years ago
Lauris BH
b82519cadc
Move build without gcc step up so that it's binary is not used in docker (#3147)
6 years ago
Lunny Xiao
956354885a
simple usage of x (#3144)
6 years ago
harry
03ec35ed79
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.
6 years ago
Lunny Xiao
f2e20c81b6
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
6 years ago
Ethan Koenig
c082c3bce3
Restore make test target (#3139)
* Restore make test target
* make build -> go build
6 years ago
Ethan Koenig
58a7de2aea
Update code.gitea.io/git (#3137)
6 years ago
Ethan Koenig
682ac11958
Log unexpected responses in integration tests (#3138)
* Log flash error message in integration tests
* Also log short, non-HTML responses
6 years ago
Ethan Koenig
defc97afc2
Fixtures for public_key table (#3140)
6 years ago
Ethan Koenig
d1efe2078a
Fix integration tests (#3141)
6 years ago
Lunny Xiao
41d6afe0e7
Fix compile failed without gcc (#3130)
* fix comile failed without gcc
* add sqlite tag for unit test
6 years ago
GiteaBot
eb6cbedcc0
[skip ci] Updated translations via Crowdin
6 years ago
Antoine GIRARD
23ffdf42c8
Update alpine to 3.7 (#3121)
6 years ago
Lunny Xiao
b8e45b1e19
Fix missing drone test on release/* (#3126)
* fix missing drone test on release/*
* remove test coverage on release/*
6 years ago
GiteaBot
5b30964e54
[skip ci] Updated translations via Crowdin
6 years ago
Lauris BH
d5d28721e2
Backport changelog for 1.3 release (#3120)
6 years ago
GiteaBot
f8967fc638
[skip ci] Updated translations via Crowdin
6 years ago
Antoine GIRARD
ef78309b65
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
6 years ago
GiteaBot
aecfc56156
[skip ci] Updated translations via Crowdin
6 years ago
Ethan Koenig
596308f213
Fix missing branch in release bug (#3108)
6 years ago
Ethan Koenig
68179dc676
Remove unnecessary function call (#3109)
6 years ago
Ethan Koenig
5e4427e4e7
Fix repo indexer and submodule bug (#3107)
6 years ago
Sasha Varlamov
311c83ad17
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>
6 years ago
Sasha Varlamov
7ec6cddd27
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
6 years ago
silverwind
1ed7f18815
Rework button styles on repo and commit page (#3104)
6 years ago
Ethan Koenig
54907dfbd1
Fix legacy URL redirects (#3100)
6 years ago
Vlad Temian
469ab99e9a
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
6 years ago
Lauris BH
c7fb6e3087
Fix reaction possition when there is attachments (#3099)
6 years ago
Lauris BH
f1d8dda5b4
Tests for reactions (#3083)
* Unit tests for reactions
* Fix import order
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
6 years ago
silverwind
3b89ee5501
fix button heights on commits page (#3091)
6 years ago
bibaijin
e2968b4c98
add quotation around ports in docker-compose.yml (#3090)
6 years ago
Ethan Koenig
03eb47b216
Fix repo links (#3093)
6 years ago
Lunny Xiao
2738effddf
fix redis cache failed (#3086)
6 years ago
GiteaBot
0332b8fb18
[skip ci] Updated translations via Crowdin
6 years ago
znegva
f4445510ae
fixed in-page-link in CONTRIBUTING.md (#3087)
6 years ago
Ethan Koenig
c0a7899416
Sort repos in issues dashboard sidebar (#3072)
* Sort repos in issues dashboard sidebar
* Sort repos by name
6 years ago
Ethan Koenig
3c1b1ca78e
Fix error message sanitiziation (#3082)
6 years ago
Lauris BH
5dc37b187c
Add reactions to issues/PR and comments (#2856)
6 years ago
Ethan Koenig
e59adcde65
Use httptest in integration tests (#3080)
6 years ago
techknowlogick
993b86628b
Minor copy changes (#3074)
* Minor copy changes
Fixes #3058
* Use TrN for translations that depend on count
Fix minor type with branches count
6 years ago
Ethan Koenig
ab62da283a
Fix avatar URLs (#3069)
* Fix avatar URLs
* import order
6 years ago
Piotr Orzechowski
7bab3d2fb1
Enable content trust when building image (#2972)
6 years ago
GiteaBot
6d99840d1f
[skip ci] Updated translations via Crowdin
6 years ago
Ethan Koenig
a0964775ab
Sanitize logs for mirror sync (#3057)
6 years ago
Ethan Koenig
3163abedd6
Fix ref parsing in commit messages (#3067)
6 years ago
techknowlogick
b0971ae37c
Reduce overhead of upgrades for users with custom stylesheets/JS (#3051)
6 years ago
silverwind
4947cfb7b0
Remove box-shadow from UI, fix dashboard issue (#3065)
6 years ago
Lunny Xiao
ef5364950b
fix issue list branch link broken (#3061)
6 years ago