v1.0.0
Changelog
4ffdb49 Changes for v1
3f55195 Create CODE_OF_CONDUCT.md
c390ea8 Fix alternate-language param info
2a84dde Update version of semver action
8f85286 Update allowed branch pattern
9b93879 Mark deprecated flags
71568a2 Add support for ooc chroma spelling
0947c9e Add support for HXML chroma spelling
3a9da15 Add support for JSONLD chroma spelling
d24fe85 Add support for Cuda chroma spelling
187c5bd Add support for Cpp-ObjDump chroma spelling
051afc4 Add support for ColdFusion CFC chroma spelling
000bee8 Add support for c-objdump chroma spelling
95c7775 Add support for autohotkey chroma spelling
094b98f Add support for AMPL chroma spelling
c122e31 Update chroma to latest version v0.8.2-wakatime.7
c95a7cc Add support for D-F wakatime verified languages
7ff712d Remove welcome message on open issue
d1e7947 Add LICENSE
b05fdd2 Add name to on_open_issue workflow
bd5007f Add test for multine submodules
d10625a apply label on new issues
8afc613 Fix title case
efb41e9 Fix CONTRIBUTING link
b2719a5 Improve documentation
edb7f99 Provide all release assets as zip archives
65ac19b Remove plugin specific language standardization code
c14c4d8 Handle alternate language as fallback
b7ded6b Change type heartbeat.Language property to string
3e4c702 Remove ignore case directive from go deps exclude regex
c3d9bda Fix logging caller
8d359ae Adjust Visual Basic .NET language constants
1b9a3e1 Adjust Classic ASP language constants
4618f01 Adjust Batchfile language constants
ad5fe7d Adjust Apache Config language constants
7e9d2bb Add --useragent flag
e95ee88 Add missing curly brackets to variable
ca78e00 Use commit sha as current tag
12772ab Change workflow to auto create tag and release
5d12afb Build bsd binaries
9a0594f Improve logging
403dcac Add transact sql language alias
24aaa12 Add support for S wakatime verified languages
63e0888 Remove old condition
c27dfd7 Add support for L wakatime verified languages
e7f67f2 Add support for K wakatime verified languages
a87d670 Add support for J wakatime verified languages
d52c3cf Add support for I wakatime verified languages
399141d Add support for H wakatime verified languages
90a89a0 Add support for G wakatime verified languages
08a79c4 Add support for C wakatime verified languages
e308f9e Add support for B wakatime verified languages
732f11a Add support for A wakatime verified languages
0c2828e Add support for wakatime verified languages
fb13204 Add apple binary notarization to on release workflow
b96331e Update build commands in Makefile
c9f4665 Suppress svn error "not found"
d174ba1 fix linter
a35bd7b remove newlines from extra heartbeats test data
69c40eb Read extra heartbeats only until newline and discard any extra stdin
175ec84 Upgrade to bbolt 1.3.5 fixes checkptr issue
271b0db Make offline bucket configurable for tests
4e7200b Replace sqlite db by bold db in offline package
53c6363 Implement bolt offline queue main functions
eeb0185 Add today-goal command
35263e7 parse editor from plugin
e139c4b set debug level based also on settings file
0854e25 Allow setting version on Makefile
a6321e5 Add support for Z wakatime verified languages
0e695d8 Add support for Y wakatime verified languages
ed75a16 Add support for X wakatime verified languages
556fc1e Ensure language support for Z lexers
179ceef Ensure language support for Y lexers
ee9b815 Ensure language support for X lexers
1d0def0 Add support for W wakatime verified languages
17d3faa Add support for V wakatime verified languages
f9a113b Add support for U wakatime verified languages
a62babc Ensure language support for W lexers
405d79a Ensure language support for V lexers
49d256a Ensure language support for U lexers
bb8d29a Add support for T wakatime verified languages
9965061 Ensure language support for T lexers
be81b21 Bump Golang to 1.16
f20fa76 Add support for R wakatime verified languages
d405386 Ensure language support for R lexers
9992f42 Add language support for Parrot
dd6bf44 Ensure language support for Q lexers
8aa8fce Add support for P wakatime verified languages
eadaea1 Ensure language support for P lexers
3bfe846 Fix language spelling for Awk
2ee5c10 Add tests for heartbeat.StringChroma()
70105ec Do not evaluate Gosu Template as Gosu language upon parsing lexer name
0076b2c Ensure language support for chroma S lexers
92aad46 Ensure language support for O lexers
8d0ef86 Add support for N wakatime verified languages
d07366b Ensure language support for N lexers
a4cc8aa Add support for M wakatime verified languages
c3d8299 Ensure language support for M lexers
8f8dc84 Fix queue filepath to read appropriately the user's home directory
fcf19bb Add Blazor language constant
745e6d7 Enable multiline configs via viper.IniLoadOptions
a413e23 Reference wakatime fork of viper in go.mod
fc3b1da Ensure language support for chroma F-L lexers
d71629d adjust todo comment
367cf40 Add support for additional wakatime verified languages
f77c563 Ensure language support for chroma A-E lexers
5c7fe76 Integrate html dependency parser
9ef61e9 Add html dependency parser
615a33a Add gh workflow to build release artifacts
b349087 Extend version package
55abfb5 Handle vhdl lexer name conflict
5f53083 Add unknown dependency parser
6591330 Add JSON dependency parser
7d809dd Add typescript dependency parser
96579a0 Add vb.net dependency parser
af98975 Add c++ dependency parser
3fe1bc1 Simplify dependency parser interface
93f43f9 add missing project field when parsing extra heartbeats
f5f1d76 Integrate objective-c dependency parser
ee811c3 Add objective-c dependency parser
74d2050 Integrate kotlin dependency parser
6024c31 Add kotlin dependency parser
c719a5f Integrate scala dependency parser
e84933c Add scala dependency parser
08915e1 Integrate javascript dependency parser
e84d835 Add javascript dependency parser
5d6dd1e Integrate haskell dependency parser
94c514d Add haskell dependency parser
9ba6454 Add csharp dependency parser
1b324aa Add java dependency parser
036b32a Add c dependency parser
0ec0b96 Integrate swift dependency parser
b25c5c7 Add swift dependency parser
1ec2630 Integrate haxe dependency parser
1801f1d Add haxe dependency parser
47ccb90 Simplify python dependency truncate
1112a1d Reset state in init()
method of all existing dependency parsers
302772f Add separate method appendTruncate
7eeaa69 Optimize append
method
551553b Add exclude regex
ca32297 Integrate php parser
30aa9d1 Add php dependency parser
39750f9 Adjust cmd/legacy testdata file
75be920 Integrate python dependency parser including long dependency removal
d03c6ef Add python dependency parser
6a0f151 add missing entity_type field when parsing extra heartbeats
323c8e1 add missing lines field when parsing extra heartbeats
dd00e37 add ignore case to golang parser exclude regex
0b74460 Rename elm parser methods
f7ab09e Rename golang parser methods
ef641bd Add elm dependency parser
243163d Add missing rust tests
79801e9 Add rust parser to Detect
d877854 Add language property parsing support to extra heartbeats
7644c5c Update language params handling
b5a4155 Remove language.Config
f483716 Change Language
property of heartbeat.Heartbeat to pointer type
95b0bd6 Do not change order of dependencies in duplicated filtering
0afe651 Improve golang dependency parser
53cc1ca skip lines counting if it's already done
b91f145 Add test for Detect to verify integration of all parsers
f887a36 Remove duplicates and sort dependencies
553b9a0 use vipertools on logfile
b4f9f64 Skip deps scanning if sensitive data is hidden
2abc28a move State type to inside Go Parser
b3d13f5 Add rust dep parser
e283597 Ensure alphabetical sorting for language constants
757605e Adjust language spellings to latest state in wakatime py
9f5a9f7 Move testdata language codefiles
a35d1c3 Perform lower case matching as fallback in lexers discovery
35e15ea Adjust typescript priority to match pygments value
72e6261 Add special cases detection for go.mod
and CMmakeLists.txt
files
d8b487e Adjust and extend basic language support
fb8602e Add test for top languages chroma retrofit
7ddcb60 Exclude fmt dependency in golang dependency parser
6c87425 Integrate dependency detection into heartbeats processing pipeline
a8436b7 Add deps package basic functions
b3f9281 Add deps package with golang dependency parser
5dbdaae bump chroma to v0.8.2-wakatime.1
edbaba6 Add lines-in-file argument
884d146 Accept empty password for ntml auth
7fd12c2 Adjust proxy url validation
a9c6ac6 Integrate ntlm retry option into today command
694ffc6 Integrate ntlm retry option into heartbeats command
284092b Add WithNTLMRtk\equestRetry api client option
86930a3 Extend api client request/response manipulation capabilities
d7cbd34 Add api.ErrRequest error to detect api request failure
252adf2 Add NTLM option for api client
9e64b68 Use gocertifi ca bundle by default for ssl api requests
caaceed Split ssl cert file option for api client
5dfe039 Either disable ssl verification or use distinct certs file
af3811d Integrate plugin language parsing to language detection
edce2b1 Add plugin parsing function to heartbeat package
210b874 Add standard language parsing as fallback to plugin language parsing
ce964c5 Add vim modeline parsing function
9e6255c Add test for default plugin language parsing
058d9a8 Update plugins.go file
2b4c37d Add README file to plugins folder
ca0fd43 Update generate script
36b3724 Add additional basic language support
c512b3d Add basic language support for Basic, HAML, Makefile, SKILL, VB.Net
a545fa5 Add language validation to generate script
54cf83c Update plugin language files
d80c7a7 Make language parsing function accept more variations
e13bec4 Execute plugin language code generation in standard make targets
2751e4d Add plugin language parsing code
f506252 Use wakatime chroma fork
9ee8495 Integrate chroma customized matching into language detection
83cd62c Fix f# language parsing from chroma
2ebbd57 Add typoscript basic language support
8fd2758 keep golangci-lint always up to date
11206f9 bump go to 1.15 for windows ci
4b23ec3 fixup! Add support for C/CPP/Objective-C/Matlab special cases
a4451ba Add support for C/CPP/Objective-C/Matlab special cases
86c4718 Add matlab basic language support
a16f7c6 Add objective-c like basic language support
2e7b679 Add debug log for heartbeat params
447f725 Accept extra heartbeats with "timestamp" property
5f42d43 Use regex package for sanitizing heartbeats and project detection
a163125 Use regex package for heartbeat filtering
83bf8cd Add regex package
c35b545 Accept extra heartbeats with string value for int property
241708f add test run on windows to ci (#106)
fe53854 upgrade dependencies
2399562 Handle API error response in offline queue
a721b19 Add windows test
a709236 Use local file in file stats detection
d123f78 Integrate local file usage into heartbeats command
8f42266 Add constructor for heartbeat.Heartbeat, which formats paths
1a1c9bd Parse --local-file flag value
d71e700 Add --local-file flag
0f0abe9 Sanitize all categories (#103)
fdadcf3 Add FormatFilePath() function to windows package
c84cb3c add additional comments on test approach
b84295e Add windows package for UNC path operations using net use
command
13a63af fixup! Sanitize all categories
30f4d50 Sanitize all categories
dc1d048 fix Git function name typos
916364b Integrate language detection into heartbeats processing pipeline
03bacc1 Add language.WithDetection scaffold
ba2d611 Parse language flag params
62bcb9d Add language flags
95de01e fixup! save current folder for wakatime random project name
b6bbf70 fixup! save current folder for wakatime random project name
e657c58 Add bool as second parameter to language parsing functions
f192a95 Integrate language type in heartbeat
4de7828 Add basic language type and constants
76a4057 Add --extra-heartbeats flag support
3bbcda6 save current folder for wakatime random project name
89c1587 Add handling of leftover heartbeats
5fe0203 Add puncuation to unexported comments
181cd99 Integrate offline queue handle option in heartbeat command
8170dc8 Load offline queue params in heartbeat command
a27b847 Add offline queue flags
01076a9 skip svn tests if binary not found on local machine
e246901 remove unnecessary svn files
e2a04a5 Add test for max file size exceeded
b7594c4 Skip files bigger than 2MB
a0581b3 Integrate filestats detection into send heartbeats command
0003564 Add filestats flags
60b0f90 Add filestats package
37e5c26 add subversion to rev control list
5d57e73 add subversion project detection
a50171e fixup! add mercurial project detection
537d523 add mercurial project detection
ed9a5f4 fixup! add git project detection
a4515fd fixup! add git project detection
def35b9 fixup! add git project detection
79bde8c remove setup_git.sh
16eb052 set identity for git tests
6dcb7fc add git project detection
36d83da Add offline.WithQueue option
13b6676 Add PopMany method to offline Queue
be6edd4 Add offline Queue with PushMany method
b4e3d56 Add ID() method to heartbeat.Heartbeat
80ae74d Integrate filter handle option into heartbeat command
130a6e0 Load params for heartbeat filtering
c77e532 Add flags to viper
656ffd4 Abort heartbeat handling, if all heartbeats are filtered out
4a1bf2f Remove filtering, if language is unknown
8493b05 fixup! Add filter package
b771360 Adjust test to support MacOS
b3f47c2 Adjust draft
38754c5 Add filter package
b820219 Export find project file function
9f6bba4 Integrate sanitization into heartbeat command
aa3c7cb Load sanitize params
aa50c46 Integrate new options into today command
ed40852 Integrate new options into heartbeat command
a23139a Add function FirstNonEmptyBool to vipertools package
ee47390 Add WithProxy api client option
b2be860 Add SSL options for api client
f164ec6 Adjust sanitize config property names
b1de31b Condense tests by removing specification of nil fields
60b226f Fix nil pointer errors
a2f7853 Add sanitization option in heartbeat
package
5c7979c fixup! fixup! add file and map project detection
9755296 add unit test for detect method
5f1fc2b add test for parent folder
d817e54 fixup! add file and map project detection
e129f49 add file and map project detection
884c747 Fix command handling
43acb5a Update draft
769dcc5 Implement heartbeat command
e91ecc6 Add types to heartbeat package
b535b68 Rename api client method
753c523 Move user-agent generation into heartbeat package
dcfd2ef Load params for heartbeat command
7927d3c Add entity type parsing function
f0fc8c8 Add heartbeat category parsing function
6a95e59 add missing test case for logfile
b17fcc0 fix error message for logfile
b1343c1 set logging to output to file
a21965b add config-write flag
a126d7e fix error handling for configread
53f884b Fix option name
d9c9a8e Test api client options separately
fd5ac3c Add WithHostName api client option
71fcfaa Make Do()
function public to test api client options separately
af29dfa Move package-wide used setupTestServer helper function
2ad0908 Add vipertools package
12410e6 Merge branch 'feature/configread-coverage' of https://github.com/wakatime/wakatime-cli into feature/configread-coverage
1e5fa8c increase configread coverage
1f6f238 Update draft
2ad09e9 Adjust error messages
f73a25e Add method for sending heartbeats
06cb3cf Add functions for parsing heartbeat response body
d6e5dfd Add pointer values to heartbeat struct to detect unset fields
63338f6 increase configread coverage
abb17e0 Merge branch 'master' into feature/config-package
ee9dea2 Move test code to correct file in api
package
d18c6c4 add Run/Read methods
ac65a1d move config-read to configread package
c6683a0 Add test for main procedure of today command
672d06f Add today command
717596e Adjust names of activity categories to uppercase
5d86c32 Add today summary rendering function
2f704c7 Add test for summary response parsing function
691ab4b Adjust summary.Summary struct
ff0eee9 Move summaries code to distinct file
d6be95f Set start and end query params on summaries request in api client
c3fb702 Add command subfolder to cmd/legacy
411bfa9 exit with success after version flag being called
23eb6bd add unit tests for RunConfigRead
755d6cf check if returned value is empty
b5f2634 load config file after version flag
3463556 linting
bd29534 add unit tests for cmd and config
3a940be make legacy.Run() handle errors
29532fd add punctuation to comments
eee3a8c make .wakatime.cfg a constant string
444a7fb make flags alphabetically ordered
5349463 print a custom error when running cobra
a216b47 renamed getConfigFile to a more declarative name
61d17bf add error validation when reading config file
052c380 load config file on cmd package
019df35 add config-read flag
900fdba Adjust comments
8c30815 Add heartbeat struct
224ce10 Add heartbeat subtypes
a94a070 Upgrade testify
8f1be1f fixup! Add wakatime api client to fetch summaries
f565490 Add updated test for timeout option
16680a8 Remove data race on call verification of test server handlers
9847b22 Fix linter errors
7353da0 Replace error vars by error types
acf3a7d Add API client functional options
7dd017e Add wakatime api client to fetch summaries
50bf51c Add flexible auth config, which can be used for api key and ntlm auth
f741303 Fix linter errors
c816b33 Adjust on_push workflow
3a1380e Add commands for tests and linter to Makefile
67f64c6 Add on_push workflow v1
f330819 Rename draft usage example file
7926134 Adjust import paths after moving repo between organizations
fff4cfd Make package structure draft more concise
3af63a0 Add repo structure draft v1
caaad04 formatting
38593db remove flag config
738c79f move pieces to the correct packages
5ee328b add version flag