Commit Graph

217 Commits

Author SHA1 Message Date
Alexandr Garbuzov
95b3170655
Docs: Use important admonition in "Important notice" section (#2987) 2023-07-24 20:54:22 +02:00
Rick Staa
b0b125ef03
docs: fix broken admonitions (#2957)
* docs: fix broken admonitions

This commit ensures that the admonitions are in line with the new GFM
specifications (see
https://github.com/orgs/community/discussions/16925#discussioncomment-6506860).

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-07-23 21:16:41 +03:00
Alexandr Garbuzov
b56689b4bd
Ranks: Take into account user reviewed PRs count (#2857)
* Rank: Take into account user reviewed PRs count

* e2e

* fix tests

* dev

* docs

* dev

* dev
2023-07-21 13:59:53 +02:00
Alexandr Garbuzov
53d9bebee2
Docs: Add note about outdated translations (#2947) 2023-07-16 20:42:22 +02:00
Jonathan Yik Chang Ting
ebafbfc9ab
Fixed typos and grammars in readme.md (#2919) 2023-07-07 09:46:02 +02:00
Alexandr Garbuzov
5d959bc76c
Docs: add link to themes contribution guidelines (#2898) 2023-07-01 00:16:52 +02:00
Alexandr Garbuzov
40c5f41caf
Docs: Add missing alt attribute for codecov badge (#2892) 2023-06-28 21:42:41 +02:00
Alexandr Garbuzov
e2fa7ad423
CI: Add OSSF scorecard analysis workflow (#2879)
* CI: Add OSSF scorecard analysis workflow

* dev

* dev

* dev

* replace action versions with hashes

* readme badge
2023-06-26 15:27:54 +03:00
Rick Staa
e5f1399cc2
docs: remove progress rank icon example (#2876) 2023-06-22 16:52:46 +03:00
Alexandr Garbuzov
f282ce4d64
Docs: improve quick align tip section (#2865)
* Docs: move extra pins align tip into correct section

* dev

* dev

* dev

* dev

* dev

* dev
2023-06-22 10:29:10 +02:00
Rick Staa
2642fc546c
add percentile rank icon (#2859)
* feat: add 'percentile' rank icon

This commit adds the `percentile` option for the `rank_icon` query
variable. This option displays the rank percentile the user belongs to.

* style: improve percentile rank icon styling

* dev

* dev

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-06-20 08:47:02 +02:00
Alexandr Garbuzov
de093e8118
Docs: improve GitHub media feature example HTML formatting (#2862) 2023-06-20 08:42:11 +02:00
Alexandr Garbuzov
697c3e52b4
Docs: change example wakatime profile (#2861) 2023-06-20 07:58:02 +02:00
Rick Staa
a362af0ebc
feat: add 'progress' rank icon (#2858)
This pull request allows users to replace the rank level with the rank progress
by setting the `rank_icon` query to `progress`.
2023-06-19 12:58:02 +02:00
Alexandr Garbuzov
d727d178f0
Docs: fix link for extra pins card options (#2855) 2023-06-19 08:33:02 +02:00
Alexandr Garbuzov
92518e375f
Stats card: show started and answered discussions stats (#2849)
* Stats card: show started and answered discussions stats

* trans

* dev
2023-06-19 05:51:58 +02:00
Alexandr Garbuzov
2e65a2ee10
Docs: fix broken demos link (#2848) 2023-06-18 00:03:56 +02:00
Alexandr Garbuzov
b70b089b8e
Stats card: migrate from show_total_reviews to show option (resolves #2836) (#2844)
* Stats card: migrate from show_total_reviews to show option (resolves #2836)

* dev

* docs: improve documentation

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-17 23:10:13 +03:00
Alexandr Garbuzov
c5d4bcbc1a
Docs: make important notice link clickable (#2841) 2023-06-17 06:19:20 +02:00
Alexandr Garbuzov
331fa1183a
Docs: Increase maximum languages count to 20 (#2843) 2023-06-17 06:18:02 +02:00
Alexandr Garbuzov
4db78d7796
Docs: improve GitHub media feature HTML example formatting (#2830) 2023-06-16 08:46:44 +02:00
Alexandr Garbuzov
05efc2811b
Docs: make discussion link clickable (#2831) 2023-06-16 08:45:25 +02:00
Markus Tyrkkö
1bb65ddc29
Added pr reviews to stats (#1404)
* Added pr reviews to stats

* Add 'show' query parameter

* Fix show test

* refactoring

* cleanup

* refactor: restructure stats-card code

---------

Co-authored-by: Markus <markus.tyrkko@gmail.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-15 09:35:09 +02:00
François Rozet
66e5492654
Add finer ranking levels (#2762)
* Add finer ranking levels

* Update rank description
2023-06-12 14:38:07 +02:00
Alexandr Garbuzov
dc60ea9b30
Docs: set correct separation symbol between translations links (#2806) 2023-06-11 12:11:17 +02:00
Alexandr Garbuzov
9520baac1f
Docs: rename wakatime stats card section (#2807) 2023-06-11 12:10:04 +02:00
Rick Staa
9105c74af4
docs: add PAT permission to docs (#2805)
This commit changes the README so that users are aware that they also
need to set the `user` permission when creating the PAT when they want
their private commits to show up.
2023-06-11 03:39:33 +03:00
Rick Staa
a6645325e7
docs: add FAQ to readme (#2804)
* docs: add FAQ to readme

* Change separation symbol to correct one

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-06-11 03:38:18 +03:00
Alexandr Garbuzov
5696c96372
Docs: fixed table of contents aligment (#2795)
* Fixed table of contents aligment inside README

* dev

* docs: decrease toc depth

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-11 03:18:56 +03:00
しぐれ
44c268e05a
Update readme.md about maxDuration (#2792)
* Update readme.md about maxDuration

I think we can remove this warning section since that value in  `.json` has been changed to 10 by default nowadays?

* Update readme.md

remove related section in self deployment section as well

* docs: add inverse maxDuration warning

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-09 10:06:45 +03:00
Alexandr Garbuzov
7a302f6f67
Docs: add warning about top languages card behavior. (#2789)
* Docs: add warning about top languages card behavior.

* dev

* dev
2023-06-09 07:43:32 +02:00
Rick Staa
3e66189c44
feat: add CACHE_SECONDS environment variable (#2266)
* feat: add CACHE_SECONDS environment variable

This commit adds the CACHE_SECONDS environment variable. This variable
can be used to circumvent our cache clamping values for self hosted
Vercel instances.

* refactor: apply formatter
2023-06-09 04:44:42 +03:00
Alexandr Garbuzov
7053a03081
Docs: fixed small typo inside readme in keep fork up to date section (#2787) 2023-06-08 08:09:21 +02:00
Rick Staa
b9200c6cf6
feat: remove 'include_private' (#2736)
* feat: remove 'include_private'

As explained in #2517 the 'include_private' flag is confusing and
doesn't work as expected. This commit therefore removes this flag.

* fix: fix tests

* docs: remove redundant private deploy note
2023-06-07 11:21:28 +03:00
Rick Staa
0fe51cd539
docs: fix some typos (#2783) 2023-06-07 10:59:59 +03:00
Rick Staa
31ffe56168
docs: improve readme links (#2696) 2023-06-07 10:17:20 +03:00
Alexandr Garbuzov
bdef1cccdd
Add note about private contributions into readme (#2776)
* Add note about private contributions into readme

* dev
2023-06-06 17:26:15 +02:00
Anurag Hazra
a8ecd3dc96
chore: added new dono link (#2779)
* chore: added new dono link

* chore: update
2023-06-06 20:35:11 +05:30
Alexandr Garbuzov
894f2e2c5a
Different default languages count for different languages card layouts (#2774)
* Different default languages count for different layouts

* docs: update default  documentation

Updates the README so that the new `langs_count` default behavoir is
explained to users.

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-06-06 16:42:46 +02:00
Rick Staa
c301289f7d
fix: Make WakaTime card compatible with new API (#2707)
* fix: Make WakaTime card compatible with new API

This commit makes sure that the WakaTime card works with the new
WakaTime API. See https://github.com/anuraghazra/github-readme-stats/issues/2698
for more information.

* fix: fix chinese simplified translations

* fix: improve WakaTime range order

* test: fix WakaTime tests

* refactor: remove WakaTime range loop

* refactor: remove redundant WakaTime call

* test: fix e2e tests

Co-authored-by: Hakula Chen <i@hakula.xyz>

---------

Co-authored-by: Hakula Chen <i@hakula.xyz>
2023-06-02 14:37:59 +05:30
François Rozet
c96e84a9ae
Ranking System v2 (#1186)
* Revise rank calculation

* Replace contributions by commits

* Lower average stats and S+ threshold

* Fix calculateRank.test.js

Missing key in dictionary constructor

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* refactor: run prettier

* feat: change star weight to 0.75

* Separate PRs and issues

* Tweak weights

* Add count_private back

* fix: enable 'count_private' again

* test: fix tests

* refactor: improve code formatting

* Higher targets

---------

Co-authored-by: Rick Staa <rick.staa@outlook.com>
2023-05-26 15:39:35 +02:00
Alexandr Garbuzov
ff2e02ba68
Docs: fix top languages card available layouts number (#2738) 2023-05-22 22:40:21 +02:00
Alexandr Garbuzov
f9427b2a54
Top languages card donut vertical layout (#2701)
* Top languages card donut layout

* dev

* dev

* dev

* dev
2023-05-19 10:45:29 +02:00
Alexandr Garbuzov
d59a80599f
Docs: add missing top languages card layouts. (#2717) 2023-05-13 13:20:18 +02:00
Alexandr Garbuzov
ff9839b73c
Top languages card pie layout (#2709)
* Top languages card donut layout

* Top languages card pie layout

* renames

* dev

* docs

* dev

* dev

* animations

* dev

* handle one language
2023-05-11 08:49:57 +02:00
Nabil Alamin
c5e7f7b490
add pie chart layout to language card (#2099)
* add pie chart layout to language card

* resolve failing top-lang card tests

* scale down pie chart

* update readme.md

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* style: format code

* update donut layout to be created without dependencies

* minor update

* style: format readme

* resolve failing tests

* refactor: clean up code and add extra tests

This commit cleans up the pie chart generation code and adds additional
tests.

* feat: improve pie chart positioning

* rename layout pie to donut

* add animation to donut layout

* refactor: rename pie and doughnut to donut

* feat: decrease donus animation delay

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-05-09 20:54:34 +02:00
Rick Staa
688f4e4975
docs: update wakatime user (#2697)
The old example user doesn't have a WakaTime account anymore.
2023-05-06 15:29:11 +05:30
Fabiano Couto
a340900e8a
fix(wakatime-fetcher): add default range to prevent user not found error (#2670)
* feat(theme): add github_dark_dimmed theme

* feat(theme): change github_dark_dimmed icon color

* contrast ratio adjustment

contrast ratio adjustment on github_dark_dimmed theme

* feat(theme): readme preview

* feat(theme): github themes next to each other

* github themes next to each other

* feat(RankIcon): add rank icon option

* feat(RankIcon): extract rankIcon to icons file

* feat(RankIcon): update readme

* feat(RankIcon): test coverage

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* add wakatime default range

* update wakatime demos in readme with most active user

* update wakatime demo in readme

* remove &range=all_time from wakatime demos in readme

---------

Co-authored-by: Rick Staa <rick.staa@outlook.com>
2023-05-05 23:12:28 +02:00
Rick Staa
3bd6519d39
docs: fix README language card usage order (#2659) 2023-04-29 08:25:37 +05:30
Alexandr Garbuzov
30a45d3c13
Fixed typo in word color inside README (#2652) 2023-04-28 09:50:57 +02:00