Slug-Boi
|
04a5cd3bd9
|
test: more gh tui tests
|
2025-04-16 13:26:40 +02:00 |
|
Slug-Boi
|
a0880457f7
|
fix: more nil pointers
|
2025-04-16 13:26:28 +02:00 |
|
Slug-Boi
|
a84843c48a
|
fix: return wrong model when gh tui open
|
2025-04-16 13:18:44 +02:00 |
|
Slug-Boi
|
59674fe823
|
test: add some tui tests for the new gh command
|
2025-04-16 13:16:14 +02:00 |
|
Slug-Boi
|
0fe4624854
|
fix: nil pointer
|
2025-04-16 13:16:02 +02:00 |
|
Slug-Boi
|
c24c277fb1
|
fix: remember to toggle off tempAuthorAdd when quitting
|
2025-04-11 16:05:13 +02:00 |
|
Slug-Boi
|
951dbee1d0
|
test: loop the correct amount of items
|
2025-04-11 15:54:22 +02:00 |
|
Slug-Boi
|
9b367ba86e
|
test: create temp file when testing the git commit command
|
2025-04-11 15:49:02 +02:00 |
|
Slug-Boi
|
acf756dae1
|
fix: clear screen to remove ghost elements
|
2025-04-11 15:37:51 +02:00 |
|
Slug-Boi
|
b41ec63fde
|
fix: fix tui wrap around issue with temp author
|
2025-04-11 15:37:51 +02:00 |
|
Slug-Boi
|
53419329a0
|
refactor: no args means tui opens
|
2025-04-11 15:37:51 +02:00 |
|
Slug-Boi
|
53fef652b1
|
refactor: edit existing tui elements to add new gh add tui component
|
2025-04-11 15:37:51 +02:00 |
|
Slug-Boi
|
4dd972c355
|
feat: add gh add tui component
|
2025-04-11 15:37:50 +02:00 |
|
Slug-Boi
|
3e4c01c8bd
|
test: fix linux not panic on authorfile test
|
2025-04-10 13:31:01 +02:00 |
|
Slug-Boi
|
5cd8ee63b6
|
test: increase test coverage of tui to around 70%
|
2025-04-10 12:43:24 +02:00 |
|
Slug-Boi
|
e7656ae4e0
|
test: extend tui test coverage
|
2025-04-10 12:17:08 +02:00 |
|
Slug-Boi
|
e8933bc764
|
refactor: use panic
|
2025-04-10 12:16:57 +02:00 |
|
Slug-Boi
|
1d432f61ed
|
refactor: longname and remove emptystring on errors
|
2025-04-10 12:16:48 +02:00 |
|
Slug-Boi
|
7cededcdab
|
test: final extend to utils test coverage
|
2025-04-09 22:36:05 +02:00 |
|
Slug-Boi
|
ee14a9f141
|
refactor: add error handler
|
2025-04-09 22:35:52 +02:00 |
|
Slug-Boi
|
c8923525ea
|
refactor(depen_injec): add dependency injection to CheckAuthorFile and change to panics
remove comment
|
2025-04-09 22:35:33 +02:00 |
|
Slug-Boi
|
73020870a1
|
test: add all flag to hopefully fix ci workflow
|
2025-04-09 21:17:47 +02:00 |
|
Slug-Boi
|
5123e63d9f
|
test: even more extended test coverage
|
2025-04-09 21:01:44 +02:00 |
|
Slug-Boi
|
aafba935c3
|
refactor: error handling and add flags to git push command
|
2025-04-09 21:01:19 +02:00 |
|
Slug-Boi
|
81adc7e2c3
|
refactor: move error handling
|
2025-04-09 21:01:00 +02:00 |
|
Slug-Boi
|
4696f58bf5
|
refactor: add error returns and flags
|
2025-04-09 21:00:51 +02:00 |
|
Slug-Boi
|
33d93c834d
|
refactor: panic and rename variable plus move an error so it can actually trigger
|
2025-04-09 21:00:30 +02:00 |
|
Slug-Boi
|
3db2ca2566
|
test: extend test coverage by adding more utils tests
|
2025-04-09 20:01:17 +02:00 |
|
Slug-Boi
|
b7729c3194
|
refactor: panic not print
|
2025-04-09 20:01:17 +02:00 |
|
Slug-Boi
|
d81e13bbc5
|
refactor(gh_fetcher): integreate the gh-cli using its api access to authenticate
Helps reduce rate limits and in some cases automates email fetching if
the user has one public on their account
|
2025-04-09 20:01:17 +02:00 |
|
Slug-Boi
|
6e0d7c57f2
|
refactor: rewrite parts of the commit function to be a bit more sane, removed the jump as well
|
2025-04-09 20:01:17 +02:00 |
|
Slug-Boi
|
a89b33f0db
|
refactor(cmd): reformat the command to match other commands
|
2025-04-09 13:07:34 +02:00 |
|
Slug-Boi
|
823dc0ff3d
|
test(gh): add utils tests to gh
|
2025-04-09 13:07:09 +02:00 |
|
Slug-Boi
|
c59d8ddc85
|
feat(gh): new gh command to add an author from a github username
|
2025-04-04 19:46:32 +02:00 |
|
Slug-Boi
|
187fbed439
|
feat(gh_fetcher): a small fetcher designed to get info of a github user through gh API
might try and see if the gh cli allows for tokened requests later this
will maek life a lot easier for the user
|
2025-04-04 19:46:00 +02:00 |
|
Slug-Boi
|
97f514ccce
|
feat(CA): create author function (required for gh command)
|
2025-04-04 19:44:55 +02:00 |
|
Slug-Boi
|
d70825da65
|
feat(error): add error message popup and retry when creating all kinds of authors
This is very much so hacky jank on top of more hacky jank but it works
|
2025-04-04 19:44:26 +02:00 |
|
Slug-Boi
|
6602b199c5
|
chore: add go files for gh fetcher part
|
2025-04-02 21:02:43 +02:00 |
|
Theis
|
3690597b0a
|
Update src/cmd/utils/author_file_utils.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2025-04-02 19:30:43 +02:00 |
|
Slug-Boi
|
36023787b4
|
test(json): change all test data to json
|
2025-04-02 19:27:45 +02:00 |
|
Slug-Boi
|
bddcaa9ba2
|
refactor(json): change create authorfile to json file and update directory creator to not panic
|
2025-04-02 19:27:32 +02:00 |
|
Slug-Boi
|
375d7f98e5
|
fix(json): change groups default from empty string to empty string slice
|
2025-04-02 19:27:03 +02:00 |
|
Slug-Boi
|
5106e9ce1e
|
refactor(json): create author now works on new json authorfile
|
2025-04-02 18:35:10 +02:00 |
|
Slug-Boi
|
4a8572efdf
|
chore: defer close
|
2025-04-02 18:34:43 +02:00 |
|
Slug-Boi
|
39781da299
|
refactor(json): add ability to delete author using the new json author file
|
2025-04-02 18:25:14 +02:00 |
|
Slug-Boi
|
ec2f361583
|
feat: allow for json files to be opened instead of the weird self made csv format
|
2025-03-29 22:12:52 +01:00 |
|
Slug-Boi
|
9c98cd1c59
|
refactor: call update check on users cmd
|
2025-01-14 14:40:44 +01:00 |
|
Slug-Boi
|
1ea3d94421
|
fix: bug with the update tool and paths not being correct. Changed to abs path checks
|
2025-01-14 14:40:31 +01:00 |
|
Slug-Boi
|
667c25b162
|
refactor: add update check to cz command
|
2025-01-14 14:14:24 +01:00 |
|
Slug-Boi
|
106957c290
|
refactor: Fix terrible code and flag handling in root
WIP this will be passed down to the cz command most likely as well
|
2025-01-14 13:49:54 +01:00 |
|