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
silverwind
d44aa831f3
Convert tabs to spaces in .less files (#3064)
6 years ago
silverwind
f9db60e3bd
Adjust branch button size (#3063)
6 years ago
silverwind
8cd616e977
Fix misalignment issue in repo header (#3062)
6 years ago
Lunny Xiao
b3d5ba6f90
Fix missing password length check when change password (#3039)
* fix missing password length check when change password
* add tests for change password
6 years ago
Lunny Xiao
35cc5b0402
Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName (#3043)
* remove GetRepositoryByRef and add GetRepositoryByOwnerAndName
* fix tests
* fix tests bug
* some improvements
6 years ago
silverwind
674422b642
Fix CSS instructions in CONTRIBUTING.md (#3053)
6 years ago
silverwind
d8d38ed059
Dashboard: Fix line height problem in issue titles (#3054)
6 years ago
Piotr Orzechowski
57edc3155f
Default log level to Info without hardcoding it in installer (#3041)
6 years ago
Lunny Xiao
9a8805d785
remove duplicated sanitize (#3037)
6 years ago
Lunny Xiao
13e59c8b7a
remove unused variable (#3038)
6 years ago
Ethan Koenig
91f3d77ceb
Unit tests for wiki routers (#3022)
6 years ago
Mike Fellows
82e8486f13
Update docs for LDAP (via BindDN) user sync option. (#2985)
6 years ago
techknowlogick
474dfcc798
French translation for docs (#3030)
original PR go-gitea/docs#147 and author @0xbaadf00d
6 years ago
Lunny Xiao
d517b56682
add notice for docker run gitea http port issue (#3020)
6 years ago
Sondre Nilsen
86ee41ec03
Expandable commit bodies (#2980)
* Initial working state of expandable commit bodies
* Fix all commits having showing button for multiline commits
* Refactor checking multiline messages method
* Force newlines with <br> in commit body
* Show multiple lines in the list view of repositories
* Fixed proper newlines and minor refactor
Use <pre> instead of <p>, this is so we can use \n instead of having to manually place <br> into the HTML. Makes it easier to display commit bodies.
* Fix commit list messages jumping around
* Fix indentation in view_list.tmpl
* Use vertical-align: baseline instead of top
* Refactor commit button toggle function
* Remove RenderCommitBodyLink function
* Add comments
* Add newline at the end of _repository.less
* Fix long commit bodies not properly wrapping inside <pre>
* Don't split on double newlines
* Show the commit body in commit view
* Update stylesheets
* Add/fix comments and run make fmt
* Fix spaces not being tabs
6 years ago
GiteaBot
4cf90aa865
[skip ci] Updated translations via Crowdin
6 years ago
Ethan Koenig
013db70fce
Removed unused field in form (#3023)
6 years ago
GiteaBot
033ad9a79f
[skip ci] Updated translations via Crowdin
6 years ago
Sandro Santilli
67b0d2175d
Set OpenID support on by default when installing new instance (#3010)
6 years ago
GiteaBot
b9452c48ac
[skip ci] Updated translations via Crowdin
6 years ago
techknowlogick
899c900e59
use unique name for docs docker build step in CI (#3018)
Otherwise drone may combine the logs
6 years ago
techknowlogick
dab2b354c7
Removing disqus from docs site (#3015)
Gitea now has a forum which is probably a better venue for
these types of conversations
6 years ago
GiteaBot
cbc6bbfbeb
[skip ci] Updated translations via Crowdin
6 years ago
Duncan Ogilvie
551f3cbe42
Memory usage improvements (#3013)
* govendor update code.gitea.io/git
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
* Greatly improve memory usage
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
6 years ago
Antoine GIRARD
4035ab05fa
Fix git lfs path (#3016)
* add suffix .git
* Remove Content-Type on GET methods
* Add migrations to force creation before any further potential migration
6 years ago