Commit Graph

651 Commits

Author SHA1 Message Date
Rick Staa ada9cf4e0e feat: add INCLUDE_ORGS env variable (#2275)
This commit adds an INCLUDE_ORGS ENV variable that can be used to include results from
organizations into the GRS cards for self-deployed Vercel instances.

**Warning**
This is a hidden feature since we can not officially support this on the Public
Vercel instance due to GraphQL and Vercel rate/timeout limits. You can set this env
variable via Vercel's ENV variable menu (see
https://vercel.com/docs/concepts/projects/environment-variables).
2022-11-21 11:08:05 +01:00
Rick Staa 3cb205c65b feat: improve card loading speed (#2124)
* feat: improve card loading times

This commit adds the `stale-while-revalidate` option to speed up the
card loading times.

* mend
2022-11-21 10:21:46 +01:00
Rick Staa f07cd133d3 fix: fix retry max-out bug (#2121)
* fix: fix retry max-out bug

This commit makes sure that the retry function tests all PATs.

* style: format code

* test: fix retry tests

* style: format code
2022-11-21 10:15:43 +01:00
Rick Staa 42a4b6f60a refactor: remove unused dotenv calls (#2059)
As explained in the Vercel documentation vercel ignores dot files (see
https://github.com/vercel/vercel/discussions/3962#discussioncomment-4277). It
instead loads the env variables defined in the vercel instance. As a
result we can therefore remove dotenv.
2022-11-21 10:13:14 +01:00
Rick Staa 5df25a6472 fix: improve boolean parse behaviour (#2029) 2022-11-21 10:10:46 +01:00
Rick Staa 4b656ebabb refactor: migrate to using arrow functions (#2033) 2022-11-21 10:07:09 +01:00
rickstaa b2e34ac8db test: update snapshots 2022-11-20 08:39:44 +01:00
Bradley Jester 0e02523459 feat: added Date Night theme to index.js (#2264)
* Added Date Night theme to index.js

* My theme name should be in snake_case now
2022-11-19 22:44:42 +01:00
Pranav Joglekar 9aa39dfe81 feat: allow users to pass ring_color param (#2075)
* fix: prevent crash if undefined color is passed to func fallbackColor

* feat: allow users to pass ring_color param

Before this commit, the ring color was always equal to the title color.
This commit allows the user to pass a ring_color property to allow him
to style the ring color the way he pleases to. If no ring_color is
passed we default to the title color.

* docs: improves ring color documentation

* fix: improve code style

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-11-19 20:18:42 +01:00
Ítalo Sousa 0c829e9488 Updates the brazilian readme (#2245) 2022-11-18 15:49:38 +01:00
Fabian Joswig 26cde6bfe9 Missing term in calculation of TOTAL_VALUES. (#2116)
* fix: added missing term in calculation of TOTAL_VALUES.

* fix: fix rank test

* refactor: update code formatting

* refactor: update code formatting

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-11-18 15:19:04 +01:00
Rick Staa 1a4e5a6955 ci: update theme stale close message 2022-11-18 11:06:24 +01:00
Rick Staa 56aa307094 ci: update theme stale close message 2022-11-18 11:05:10 +01:00
Tymoteusz Marzec f9e95b166d Corrections of Polish expressions in translations.js (#2240) 2022-10-29 15:41:04 +02:00
Ray Chan c0d7493c3f Fix truncation of compact wakatime progress bar when langs_count is set (#2228)
* refactor: use default value for languages

* fix: truncated compact progress bar

* test: add test for truncated compact progress bar with langs_count set
2022-10-28 20:47:09 +02:00
Rick Staa f993f21379 Update readme.md 2022-10-28 10:03:11 +02:00
Falguni Sarkar 45f434f083 docs: document auto theme change #2074 (#2229)
* Document auto theme change in README #2074

* Document auto theme change in README

Document auto theme change in README #2074 (update-1)

* Document auto theme change updates

#2074

* docs: improve dynamic theme documentation

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-28 09:43:17 +02:00
Frieder Bluemle 199870aa9f refactor: fix GitHub capitalization (#2232) 2022-10-26 16:41:59 +02:00
Rick Staa 8e3147014c refactor: make issue templates required (#2226) 2022-10-24 14:18:37 +02:00
Rick Staa 98f9045f98 fix: improve error caching behavoir (#2211)
This commit ensures that the GraphQL Pat error is not cached in any
browser. See
https://github.com/anuraghazra/github-readme-stats/issues/1471#issuecomment-1282630614.
2022-10-18 18:07:38 +02:00
Rick Staa dcc4ccd18c ci: increase invalid theme close time (#2210)
This commits increases the theme invalid close time to 20 days.
2022-10-18 17:15:25 +02:00
Rick Staa 1d10912646 ci: fix stale closer action review sort bug (#2201)
This commit makes sure the PR staleness is checked by the latest review that
is done.
2022-10-16 12:18:21 +02:00
Kurt bb56e3bb7b fix: text overlapped on zh-tw locale (#2192) 2022-10-15 08:19:33 +02:00
Rick Staa 54cc291978 Revert "fix: improve json import (#2190)" (#2191)
This reverts commit 65424fa90f.
2022-10-13 11:55:01 +02:00
Rick Staa 65424fa90f fix: improve json import (#2190) 2022-10-13 11:26:13 +02:00
rickstaa f7a2b2162b fix: fix I18n import error 2022-10-13 10:50:32 +02:00
Rick Staa dea583d426 build: create npm package (#2151)
* build: create npm package

This commit makes sure that the common modules of the GRS package can be
imported as an npm package.

* feat: export card render functions

* style: update formatting
2022-10-13 10:27:19 +02:00
Rick Staa 6fdf73f39c test: increase e2e test timeout 2022-10-11 18:10:44 +02:00
Rick Staa 8dd70924da refactor: improve issues template formatting 2022-10-11 18:07:36 +02:00
Rick Staa 32b8daa71d refactor: improve issues template (#2180) 2022-10-11 18:02:29 +02:00
Rick Staa 7eb85d3b31 refactor: add extra links to issues template 2022-10-11 18:00:05 +02:00
rickstaa 166972d7e4 docs: improve syntax 2022-10-10 13:49:48 +02:00
rickstaa c4bfacb9e0 docs: add fork update guide 2022-10-10 13:48:35 +02:00
rickstaa f0f92c2635 test: add cache on error test 2022-10-10 12:48:26 +02:00
Rick Staa 4df8094e52 fix: prevent errors from being cached (#2160) 2022-10-09 20:23:31 +02:00
rickstaa 0a394a625b ci: add issues template config and remove question template 2022-10-09 17:46:11 +02:00
rickstaa f77e34e383 ci: add question template 2022-10-09 17:31:24 +02:00
rickstaa fcd0588786 test: cleanup tests 2022-10-09 15:18:11 +02:00
rickstaa 60012707c7 test: increase stats card e2e timeout 2022-10-08 15:04:49 +02:00
Rick Staa bd9865d5a2 test: burst cache in e2e tests (#2154) 2022-10-07 20:01:01 +02:00
rickstaa 39535db38c style: update formatting 2022-10-07 19:46:05 +02:00
rickstaa 80e8233c53 style: improve templates formatting 2022-10-07 19:25:36 +02:00
Brian Choromanski 06e3e052df ci: updated issue template (#2127)
* Updated issue templates

* style: improve template formatting

* style: update formatting

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-07 19:20:57 +02:00
rickstaa 36a8c392d0 fix: improve graphql error handling 2022-10-07 17:40:26 +02:00
Shivam Kotak 343058cc15 fix: adding doc strings to files in src folder where it was missing (#2129)
* fix: adding doc strings to files in src folder where it was missing

* refactor: add docstrings

* style: run formatter

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-07 16:22:02 +02:00
rickstaa d7451d8288 docs: improve caching documentation 2022-10-07 14:53:51 +02:00
rickstaa 5c514dbda0 docs: improve admonition boxes 2022-10-07 14:43:16 +02:00
rickstaa 15533596e6 docs: add admonition boxes 2022-10-07 14:40:19 +02:00
rickstaa df243efdd5 docs: update readme 2022-10-07 14:32:01 +02:00
rickstaa 15620a11db test: fix tests 2022-10-07 12:42:04 +02:00