1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-03 18:57:37 +08:00
Commit Graph

4 Commits

Author SHA1 Message Date
4a57c9ea17 Fix some lints ()
Fix some linting problems.
2021-10-17 20:47:12 +01:00
bac65f1b82 Fix incorrect error logging in Stats indexer and OAuth2 ()
* Fix incorrect logging in oauth2.go

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Handle ErrAlreadyInQueue in stats indexer

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fixes type in error message of indexer

Add the missing character in the error message.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lieven Hollevoet <hollie@lika.be>
2020-08-01 10:45:26 -04:00
a1d796f521 Index code and stats only for non-empty repositories ()
Fix test and switch to unique queue

Fix MySQL support when deleting old statistics
2020-02-14 13:42:30 +01:00
ad2642a8aa Language statistics bar for repositories ()
* Implementation for calculating language statistics

Impement saving code language statistics to database

Implement rendering langauge stats

Add primary laguage to show in repository list

Implement repository stats indexer queue

Add indexer test

Refactor to use queue module

* Do not timeout for queues
2020-02-11 11:34:17 +02:00