Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from anuraghazra:master #2

Merged
merged 82 commits into from
Jun 5, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Jan 28, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

rickstaa and others added 2 commits January 28, 2023 19:52
* feat: add PAT monitoring functions

This commit adds two monitoring functions that can be used to check
whether the PATs are functioning correctly:
 - status/up: Returns whether the PATs are rate limited.
 - status/pat-info: Returns information about the PATs.

* feat: add shields.io dynamic badge json response

This commit adds the ability to set the return format of the
`/api/status/up` cloud function. When this format is set to `shields` a
dynamic shields.io badge json is returned.

* feat: add 'json' type to up monitor

* feat: cleanup status functions

* ci: decrease pat-info rate limiting time

* feat: decrease monitoring functions rate limits

* refactor: pat code

* feat: add PAT monitoring functions

This commit adds two monitoring functions that can be used to check
whether the PATs are functioning correctly:
 - status/up: Returns whether the PATs are rate limited.
 - status/pat-info: Returns information about the PATs.

* feat: add shields.io dynamic badge json response

This commit adds the ability to set the return format of the
`/api/status/up` cloud function. When this format is set to `shields` a
dynamic shields.io badge json is returned.

* feat: add 'json' type to up monitor

* feat: cleanup status functions

* ci: decrease pat-info rate limiting time

* feat: decrease monitoring functions rate limits

* refactor: pat code

* test: fix pat-info tests

* Update api/status/pat-info.js

Co-authored-by: Anurag Hazra <[email protected]>

* test: fix broken tests

* chore: fix suspended account

* chore: simplify and refactor

* chore: fix test

* chore: add resetIn field

---------

Co-authored-by: Anurag <[email protected]>
@vercel
Copy link

vercel bot commented Jan 28, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @miku-o on Vercel.

@miku-o first needs to authorize it.

@codecov-commenter
Copy link

codecov-commenter commented Jan 28, 2023

Codecov Report

Merging #2 (ba7c2f8) into master (9ad062a) will increase coverage by 2.59%.
The diff coverage is 97.44%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   94.68%   97.27%   +2.59%     
==========================================
  Files          22       24       +2     
  Lines         752     4178    +3426     
  Branches      205      384     +179     
==========================================
+ Hits          712     4064    +3352     
- Misses         36      112      +76     
+ Partials        4        2       -2     
Impacted Files Coverage Δ
src/fetchers/top-languages-fetcher.js 87.05% <65.38%> (-10.18%) ⬇️
src/fetchers/stats-fetcher.js 93.14% <93.85%> (+2.02%) ⬆️
api/status/up.js 95.14% <95.14%> (ø)
src/common/retryer.js 96.87% <96.00%> (+24.65%) ⬆️
src/fetchers/repo-fetcher.js 98.11% <96.42%> (+2.27%) ⬆️
src/calculateRank.js 99.03% <97.72%> (+7.54%) ⬆️
api/status/pat-info.js 97.84% <97.84%> (ø)
api/index.js 95.95% <100.00%> (+5.48%) ⬆️
api/pin.js 93.02% <100.00%> (+4.13%) ⬆️
api/top-langs.js 95.45% <100.00%> (+4.97%) ⬆️
... and 36 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pull pull bot added the ⤵️ pull label Jan 28, 2023
rickstaa and others added 2 commits January 29, 2023 15:19
* ci: add update languages action

* ci: make sure PR is created when upstream languages are updated
Co-authored-by: 강민지 <[email protected]>
@github-actions
Copy link

github-actions bot commented Feb 14, 2023

Automated Theme Preview

Hi, thanks for the theme contribution. Please read our theme contribution guidelines.

We are currently only accepting color combinations from any VSCode theme or themes with good colour combinations to minimize bloating the themes collection.

Also, note that if this theme is exclusively for your personal use, then instead of adding it to our theme collection, you can use card customization options.

✔️ Theme PR does adhere to our guidelines.

Test results

  • ✔️ shadow_red
  • ✔️ shadow_green
  • ✔️ shadow_blue

Result: ✔️ All themes are valid.

Details

Shadow_red theme preview

title_color: #9A0000 | icon_color: #4F0000 | text_color: #444 | bg_color: #ffffff00 | border_color: #4F0000

Preview Link

Shadow_green theme preview

title_color: #007A00 | icon_color: #003D00 | text_color: #444 | bg_color: #ffffff00 | border_color: #003D00

Preview Link

Shadow_blue theme preview

title_color: #00779A | icon_color: #004450 | text_color: #444 | bg_color: #ffffff00 | border_color: #004490

Preview Link

* Add support for hide_progress in top languages feature

* Fix mistake

* Add documents for all languages

* Remove unnecessary value check

* Update top-languages-card.js

* Revert document for all languages except English

* Update documentation

* Update documentation

---------

Co-authored-by: Zohan Subhash <[email protected]>
mohamedhassan279 and others added 3 commits February 25, 2023 12:19
* add holi_theme

* add holi_theme
This colors were taken from One Dark Pro theme in VSCode extention. Please add it and I will use it in my profile

Co-authored-by: Zohan Subhash <[email protected]>
This fixes a JSON bug that was introduced in #2507.
This commit fixes a bug that was introduced due to a upstream change in
the git package. See https://stackoverflow.com/questions/71849415/i-cannot-add-the-parent-directory-to-safe-directory-in-git/71904131#71904131
for more information.
fix: missing "&" in show_icons=true in Showing icons section
* Create express.js

* Update readme.md

* Update readme.md
* Top languages card donut layout

* Top languages card pie layout

* renames

* dev

* docs

* dev

* dev

* animations

* dev

* handle one language
* Top languages card donut layout

* dev

* dev

* dev

* dev
* 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 <[email protected]>

* 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 <[email protected]>
* Show message about no languages data instead of empty card

* dev

* dev

* dev

* dev

* dev

* dev
* fix: Make WakaTime card compatible with new API

This commit makes sure that the WakaTime card works with the new
WakaTime API. See #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 <[email protected]>

---------

Co-authored-by: Hakula Chen <[email protected]>
@miku2365 miku2365 merged commit 6714de2 into miku2365:master Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.