Commit Graph

878 Commits

Author SHA1 Message Date
David Dworken
a61e56a01b Remove no longer used dot files 2022-10-14 22:28:30 -07:00
David Dworken
13906185be Explicitly note that we support linux and macos 2022-10-14 21:06:01 -07:00
David Dworken
1b69bf1736 Release v0.140 2022-10-14 17:09:01 -07:00
David Dworken
bb36a30ded Avoid partial file writes by writing to a tmp file and then renaming 2022-10-14 16:42:47 -07:00
David Dworken
51c4792e84 Release v0.139 2022-10-10 22:05:53 -07:00
David Dworken
9da18eb7d5 Chunk the uploads when reuploading to avoid having one giant request 2022-10-10 22:04:59 -07:00
David Dworken
8e6a55237c Try running all tests in github actions with a longer timeout 2022-10-09 19:04:03 -07:00
David Dworken
889f12d4bd Release v0.138 2022-10-09 19:02:45 -07:00
David Dworken
20af97c2d2 Fix bug where hishtory import wouldn't upload entries and thus those entries would be forever on the local device only 2022-10-09 17:19:15 -07:00
David Dworken
9bfd4bf173 Make uploading skipped history entries more efficient and use only one HTTP request 2022-10-09 17:13:40 -07:00
David Dworken
c16d260643 Make the reupload command more efficient by sending multiple entries at once 2022-10-09 17:10:11 -07:00
David Dworken
6671a108d1 Release v0.137 2022-10-09 16:54:25 -07:00
David Dworken
52c3b13cb6 Add reupload command + include source_device_id query param when submitting entries 2022-10-09 12:13:05 -07:00
David Dworken
f7a1e14451
Fix typo 2022-10-09 10:45:00 -07:00
David Dworken
68416f9d0f Better string formatting for the internal analytics endpoint 2022-10-04 12:58:00 -07:00
David Dworken
6fe2257313 Release v0.136 2022-10-03 23:14:20 -07:00
David Dworken
e1c968fb21 Support an undocumented hishtory import command that can be used to import hishtory items from a pipe 2022-10-03 23:14:06 -07:00
David Dworken
c7e7a9e04a Release v0.135 2022-10-03 14:32:02 -07:00
David Dworken
c9df6639e8 Upgrade slsa-verifier per https://github.com/slsa-framework/slsa-verifier/issues/285 2022-10-03 14:31:50 -07:00
David Dworken
9d95b4ca70 Add comma separation in stats page 2022-10-02 20:42:10 -07:00
David Dworken
a85315d366 Log hishtory version in internal analytics 2022-10-02 20:39:52 -07:00
David Dworken
f533004d6b Release v0.134 2022-10-02 20:15:03 -07:00
David Dworken
30e6f048ab Add better handling for SLSA errors 2022-10-02 20:14:54 -07:00
David Dworken
b7c64b61c8 Always check gorm interactions for errors 2022-10-02 19:41:00 -07:00
David Dworken
77e078489e Release v0.133 2022-10-02 19:37:13 -07:00
David Dworken
1d8973ed2a Revert "Disable SLSA verification pending slsa-verifier bug"
This reverts commit baf9f7d9c1.
2022-10-02 19:37:07 -07:00
David Dworken
93a9045c21 Release v0.132 2022-10-01 15:26:46 -07:00
David Dworken
baf9f7d9c1 Disable SLSA verification pending slsa-verifier bug 2022-10-01 15:26:42 -07:00
David Dworken
010b33f197 Release v0.131 2022-10-01 15:15:02 -07:00
David Dworken
e594375e08 Add workaround for slsa breakage 2022-10-01 15:14:51 -07:00
David Dworken
a2ff28ca89 Release v0.130 2022-10-01 14:58:26 -07:00
David Dworken
757ebb9547 Prompt people if they run hishtory init and already have a bunch of entries + fix tests + add TODOs + add hishtory version to requests 2022-10-01 09:50:06 -07:00
David Dworken
4f94698ca6 Fix bug in tests that made tests fail if the date is between the first and the ninth 2022-09-30 23:56:04 -07:00
David Dworken
09fd371662 Remote outdated TODOs 2022-09-30 23:51:05 -07:00
David Dworken
6cd7fa00fc Have hishtory import also read from stdin 2022-09-30 23:50:25 -07:00
David Dworken
18ddbf2ca9 Track queries in usage data + better formatting in the internal usage page 2022-09-30 23:38:35 -07:00
David Dworken
98a4f002fa Get RemoteAddr from X-Real-Ip header 2022-09-29 23:51:45 -07:00
David Dworken
f0a3caed1c Add an internal only handler to expose basic usage stats via HTTP and keep a per-device counter of number of history entries for my own vanity stats 2022-09-29 23:32:13 -07:00
David Dworken
d987edb86c Add server binary to .gitignore 2022-09-29 23:27:17 -07:00
David Dworken
6439dd2f32 Release v0.129 2022-09-29 22:43:15 -07:00
David Dworken
36993fb12b Add another error message that means the device is offline 2022-09-29 22:43:03 -07:00
David Dworken
89990927c9 Release v0.128 2022-09-27 22:35:53 -07:00
David Dworken
06590601f0 Add fix for bash weirdness introduced by the previous commit 2022-09-27 22:30:35 -07:00
David Dworken
b5907379ac Export HISTTIMEFORMAT so that it is available to hishtory for usage 2022-09-27 22:25:57 -07:00
David Dworken
6b29591eec Re-add running the test server for some tests do actually sometimes need it 2022-09-27 22:25:14 -07:00
David Dworken
a108268925 Add TODOs 2022-09-27 22:15:31 -07:00
David Dworken
070f8cf3d3 Add more timestamp stripping tests 2022-09-27 22:07:54 -07:00
David Dworken
2bdfe3d64f Add FAST=1 env that can be used to run just some fast tests for quick testing 2022-09-27 22:03:37 -07:00
David Dworken
e91e6ab237 Add longer timeout for running tests because github actions on macos are slow 2022-09-27 22:02:55 -07:00
David Dworken
9a4e3a0a24 Add another time format test 2022-09-27 21:25:33 -07:00