52 Commits

Author SHA1 Message Date
Jovial Joe Jayarson
60fa45f3f0 feat: bumped version to 0.1.9
- updates dependencies
- prefer type inference with function return
- fix typos / minor improvements
- ignore all ``*.env` files
- bumped package version to 0.1.9
2023-03-25 10:05:49 +05:30
Jovial Joe Jayarson
29dba6dd79 fix: adds check to find placeholder in old readme 2023-02-27 12:36:25 +05:30
Jovial Joe Jayarson
b2db3c3280 fix: adds lang count option properly
- adds language count, thanks @novialriptide
- validates language count input
- adds documentation for lang count
- adds lang count in action.yml
- stricter type checks & changes were made
- formatting changes
- updates dependencies
2023-02-04 17:31:44 +05:30
Andrew Hong
de673c4749 Add language_count 2023-02-02 01:18:18 -05:00
Jovial Joe Jayarson
bd7707fc5a maint: misc. refactorings, fixes, updates
- puts tests in the correct location of github workflow
- fixes `.env` values not loading via `load_dotenv` - required early loading
- corrects many static type linting errors
- combines all inputs into a single class with validation
- formats markdown & python files, as well as output
- slightly improved log messages, caught potential attribute error
- updates dependencies
2022-12-01 07:41:38 +05:30
Erwin Lejeune
8ffb95d479 Customizable Section Name 2022-11-28 15:30:28 +04:00
Jovial Joe Jayarson
44f2fac0d4 feat: updated dockerfile, deps, guide & fix src
- fix logical error, better non 200 resp message in main.py
- updated dependencies
- major updates to contributing guide
- quicker prod builds with reduced docker layers
- adds dockerfile for development
- updates github action for unit-tests
2022-09-21 09:21:22 +05:30
Jovial Joe Jayarson
6c57b99980 maint: attempt to fix repeated HTTP 202
- removes http:// & https:// mount from request session
- removes request session (corrupt cookies might cause trouble)
- uses fake user-agent for each fresh requsts (new depns)
- updt. deps, adds SAST dev deps - bandit
2022-08-12 21:06:41 +05:30
Jovial Joe Jayarson
30c19dde74 feat: bumped versions, upd. deps
- Fix issues with retry while fetching API data
- Made readme more reader friendly
- Some improvements in log messages
- Update project dependencies
2022-08-06 22:55:51 +05:30
Jovial Joe Jayarson
9a92d7a3c8 feat: adds show-time flag for unclassified langs
- Adds hardcoded defaults for envars
- Updates default commit message
- Uses __slots__ for constants
2022-08-06 12:27:53 +05:30
Jovial Joe Jayarson
8d3bca6e36 maint: update depens, fix misc typos 2022-07-19 21:00:32 +05:30
Jovial Joe Jayarson
9915bc091b fix: runs in dkrfile & tstng.yml, md fmt err, rm distutils, time delay 2022-02-27 16:01:33 +05:30
Jovial Joe Jayarson
88979b6b3c feat: bye travis, hi gh actn, hndl empty resp, tip in readme 2022-02-26 12:32:16 +05:30
Jovial Joe Jayarson
c1064d56ae feat: total refactoring of project, code, depns and workflow 2022-02-25 08:28:04 +05:30
jameshwc
1b31f85a36
Add time range as a parameter (#75)
* Add time range as a parameter

* Update the format of time range title; validate the json from wakatime API

* Update README to introduce TIME_RANGE parameter

Authored by: @jameshwc
2022-02-21 07:28:47 +05:30
Jovial Joe Jayarson
29044e8e52 feat: new dev depns, adds total coding time 2022-02-15 23:14:38 +05:30
Jovial Joe Jayarson
c1c945d84e Merge branch 'master' into declandragon/master 2022-02-15 23:01:47 +05:30
dragon
dbc6d0363d
add total time 2022-02-13 13:50:49 +08:00
Lucas dos Santos Abreu
9837d10946 (feat): allow user to hide time
`SHOW_TIME` will increase the size of the graph, and hide the `text`
string with the amount of time.
2021-10-06 13:21:46 -03:00
Hong-ryul Jung
4aeea1e94b Fix #63: The week_start is different from WakaTime 2021-06-23 01:44:44 +09:00
Mimori256
49dcb5d3d7 Fix typos 2021-05-08 10:13:05 +09:00
Ferdinand Mütsch
49db3cb845 feat: allow to configure api url (resolve #59) 2021-04-16 11:32:24 +05:30
Yufan You
25201232d8
Fix the graph is incorrect when the length of the blocks is not 4 (#45) 2020-11-16 20:30:01 +05:30
Athul Cyriac Ajay
1f2d0f1334
Merge pull request #39 from malkam03/hotfix-default-branch
Support default branches with names other than master
2020-09-14 21:22:17 +05:30
Malcolm Davis Steele
2e05fe3bf2 Support default branches with names other than master. Fixes athul/waka-readme#34. 2020-09-13 03:56:42 -06:00
Malcolm Davis
c5aaa5ad5d Add support for parametrized blocks
- Modify action to support input of block string
- Modify make graph function to support parametrized blocks
- Add tests for parametrized blocks
- Update README with new issue
- Fix some format errors and typos
2020-09-13 03:16:27 -06:00
Gautam krishna R
edf6e1715e
using single quotes 2020-09-08 13:51:27 +05:30
Gautam krishna R
8605a9760e
Ignoring zero graph, fixes: #35 2020-09-08 12:16:10 +05:30
saltbo
8a3ea94195 feat: support custom repository 2020-08-23 14:04:56 +08:00
Athul Cyriac Ajay
aaff45b1d4
Merge pull request #30 from ouuan/accurate-graph
feat: more accurate graph
2020-08-16 15:50:54 +05:30
Yufan You
d827cb172d
feat: more accurate graph 2020-08-16 15:57:38 +08:00
RyuaNerin
73c1050f48
Insert space at the end of each line for text centering 2020-08-16 16:39:45 +09:00
Athul Cyriac Ajay
442c0dae4d
Add flag to specify a commit message of user's choice (#25)
* Make commit message configurable
Fixes #24

* Update Readme for Commit_message flag

Make commit message configurable #24
2020-08-02 17:50:23 +05:30
Ashraf Ali
55aaf85a2f
Added Tests (#23)
* Fixed Spelling mistake

* Added UnitTesting

* Removed pycache

* Updated Readme to include testing info

* Added gititnore

* Added Travis for Testing
2020-07-27 21:49:32 +05:30
Athul Cyriac Ajay
580f6d4639
Add try-except if an empty list occurs and removed the exit function (#19)
* Add try-except if an empty list occurs and removed the exit fn

Closes #18

* Updated Try-except to print to readme
2020-07-22 22:40:00 +05:30
Jovial Joe Jayarson
fd7a6214c1
Fixes #15: Long Program Name (#16)
* fix: fixes long language issue

* fix: removed reduant line
2020-07-22 15:39:59 +05:30
athul
c487876563 Fixed Error Handler bug 2020-07-21 00:21:44 +05:30
Athul Cyriac Ajay
744bf5ae56
Add a try/except block for catching errors (#14)
* Add a try/except block for catching errors

* Refactored the try/except to catch the GitHub error
2020-07-20 11:18:23 +05:30
athul
0edb69508c Fixed the SHOW_TITLE bug 2020-07-18 21:38:48 +05:30
athul
610c67b096 Fixed old code problem and add return types 2020-07-18 19:11:04 +05:30
Jovial Joe Jayarson
15c5dbcc49
fix: adds padding to float for neater look (#11) 2020-07-18 12:39:17 +05:30
Jovial Joe Jayarson
49b64c7be8 fix: fixed month / year roll-over issue 2020-07-18 09:31:13 +05:30
Jovial Joe Jayarson
d0c5208665 fix: added space before % 2020-07-18 09:15:18 +05:30
Jovial Joe Jayarson
02b84ff4ca fix: week streak changed to last 7 days from today 2020-07-18 08:49:37 +05:30
Jovial Joe Jayarson
8d201a6313 feat: Added week span and % 2020-07-17 09:06:56 +05:30
joe733
b9ef50f20a fix: Redefining name 'stats' from outer scope ln62 2020-07-15 12:18:05 +05:30
joe733
0dc06a87bd fix & feat: added week numbers; applied linting; 2020-07-15 12:12:23 +05:30
Sourcery AI
4e3dc0a20a 'Refactored by Sourcery' 2020-07-12 16:25:58 +00:00
Gautam krishna R
8e15ddefda
Updated code to do commit only if readme changed 2020-07-10 17:33:04 +05:30
athul
4a9a347d32 Actions Init 2020-07-10 08:20:35 +05:30