Commit graph

56 commits

Author SHA1 Message Date
Daniel
412b4242c2 FIx linter errors 2022-09-29 10:55:01 +02:00
Daniel
3c697abd5b Fix linter errors 2022-09-28 22:37:54 +02:00
Daniel
77a6ab050b Add path existence check to utils 2022-09-28 14:38:14 +02:00
Daniel
6ef0282dc4 Fix linter warnings 2022-03-21 15:42:41 +01:00
Daniel
1546261fcc Improve running commands 2022-03-19 22:00:15 +01:00
Daniel
cc1375e1de Fix go build flags 2022-02-14 16:01:42 +01:00
Daniel
6650fb3b19 Update linter settings and fix warnings 2022-02-02 14:58:27 +01:00
Daniel
f59ad0357a Fix tests and linter warnings 2022-02-01 13:12:46 +01:00
Daniel
28942e4232 Add module name to module error 2021-11-17 14:24:47 +01:00
Daniel
02a62c1126 Force permissions when creating directories 2021-10-07 11:53:04 +02:00
Daniel
a53b8e2de6 Add safe formatting function 2021-09-17 22:00:17 +02:00
Daniel
f6ec0514ff Use forked renameio package 2021-05-13 17:42:29 +02:00
Daniel
677511bbb7 Remove license banners 2021-05-13 17:41:52 +02:00
Daniel
a32fb3880e Fork github.com/google/renameio 2021-05-13 17:38:13 +02:00
Daniel
7be481362d Rename file 2021-04-03 14:14:59 +02:00
Daniel
2b07a6900e Rename FlagController to BroadcastFlag 2021-04-03 14:14:26 +02:00
Daniel
0d6ed34520 Improve powershell flags 2021-03-29 13:50:50 +02:00
Daniel
d6fd0d4018 Add Flag util 2021-03-29 13:50:29 +02:00
Daniel
5cc7f24268 Fix function name 2021-03-11 14:36:09 +01:00
Daniel
0aeb007138 Fix executable suffix detection 2021-02-19 09:52:37 +01:00
Daniel
8a1917c4e0 Fix name fragment grouping 2021-02-19 09:41:31 +01:00
Daniel
813a5f0f0d Add metrics module 2021-01-28 17:44:02 +01:00
Daniel
4b2bfc3e8f Implement review suggestions 2021-01-08 16:46:11 +01:00
Daniel
7c7340c2e7 Move debug util to separate pkg to avoid import loop 2021-01-07 12:32:23 +01:00
Daniel
c083e215a3 Improve name cleaner 2021-01-07 12:29:36 +01:00
Daniel
9bcb4e5e67 Set Powershell encoding to UTF-8 2021-01-07 12:29:17 +01:00
Daniel
5daeac8cf7 Add basic debug api endpoints 2020-12-30 23:50:17 +01:00
Daniel
77c46b550e Fix binary name getter on Windows 2020-12-11 14:28:27 +01:00
Daniel
dfa9e153fe Add error comments 2020-11-24 16:15:22 +01:00
Daniel
9e2699aa31 Ignore test bins 2020-11-24 16:15:11 +01:00
Daniel
3b2b4c052b Implement review suggestions 2020-11-17 10:04:32 +01:00
Daniel
2b91472204 Add binary metadata getters for windows
Also, add generic binary name generator
2020-11-17 09:30:55 +01:00
Daniel
eb0cbf58a8 Rename Cnt() to Size() and split up tests
From PR Review https://github.com/safing/portbase/pull/57
2020-07-10 12:02:55 +02:00
Daniel
6bf91e1232 Add StablePool 2020-06-11 16:41:49 +02:00
Patrick Pacher
f02672e313
Merge pull request #49 from safing/fix/deps
Switch uuid lib and update deps
2020-05-26 10:41:56 +02:00
Daniel
9283b00621 Add UUID utils 2020-05-26 10:16:02 +02:00
Daniel
77f159aa15 Add OnceAgain 2020-05-25 15:52:55 +02:00
Patrick Pacher
3936cf233e
Add support for packed resource files 2020-05-13 16:05:46 +02:00
Daniel
28445f642e Fix linter error 2020-05-01 22:20:27 +02:00
Daniel
0716a10400 Clean up utils package 2019-09-20 22:05:18 +02:00
Daniel
f5cfeb4c82 Remove unnecessary testutils 2019-09-06 22:33:43 +02:00
Raskaro
3264163f6c
Merge Pull Request #5 fix/windowsNTVersion into develop 2019-08-21 09:47:13 +02:00
Raskaro
dd6292b797 Rename Parameter 2019-08-12 12:16:39 +02:00
Raskaro
3845072094 Rewrite Windows version detection; fix minor bug 2019-08-12 11:45:48 +02:00
Daniel
c4b9c73f41 Add new dir structure util to ensure correct dir permissions in a structure 2019-07-31 22:30:57 +02:00
Daniel
0de310503a Add util function for creating/checking dirs 2019-07-04 13:47:18 +02:00
Daniel
8f3082f96f Update import paths 2019-06-27 13:29:56 +02:00
Daniel
bbf06b31ac Fix spacing in svchost parsing, again 2019-05-22 16:11:05 +02:00
Daniel
6cf262aae9 Trim spaces when getting svchost service names 2019-05-10 11:51:49 +02:00
Daniel
8493fcdc93 Add test package for testing GetServiceNames 2019-05-06 10:49:33 +02:00