David Dworken
47d13a9c27
Passing the basic dump testss
2022-05-22 19:45:46 -07:00
David Dworken
feaa8b2bd1
Add a DB dump test that passes on zsh (is failing for an unknown reason on bash currently) + fix backup and restore for WAL files + better offline support
2022-05-01 22:37:26 -04:00
David Dworken
cbc4e70605
Integrated client-side with dump requests, haven't written any integration tests yet
2022-04-28 11:46:14 -07:00
David Dworken
46d7e9e013
Tests passing when being run offline, still not integrated with the new API endpoints yet
2022-04-28 11:26:55 -07:00
David Dworken
8a018b71b8
Add back in the bootstrap handler since I realized it is still useful to provide some amount of history at first install immediately
2022-04-28 11:05:56 -07:00
David Dworken
0499010981
Remove the 'e' prefix from api endpoints + implement backend APIs for clean loading of all data from other instances
2022-04-28 10:56:59 -07:00
David Dworken
c79a510b9c
Maybe working xattr support for code signing
2022-04-25 22:03:31 -07:00
David Dworken
be27d190c6
Improve the code for the /download API endpoint so that it auto-decrements the tag until it finds a valid version
2022-04-21 22:02:28 -07:00
David Dworken
ec4d64dedf
Delete test that was testing deleted HTTP handlers
2022-04-17 12:56:10 -07:00
David Dworken
f3cbe98091
Fix download URLs for the new git tag format
2022-04-17 12:07:32 -07:00
David Dworken
e98783d30f
Add server-side code to handle updates for non-linux
2022-04-17 12:02:56 -07:00
David Dworken
f22bb5b4d9
Fix TODOs in tests
2022-04-16 23:02:36 -07:00
David Dworken
735a98a611
Add API endpoint for getting information about the latest hishtory version and download URLs
2022-04-16 16:34:09 -07:00
David Dworken
05f1af8714
Add trigger-cron endpoint + optimize dockerfile for server
2022-04-16 16:28:53 -07:00
David Dworken
d7ad96906f
Add todo + remove pending features that are already done
2022-04-16 12:39:28 -07:00
David Dworken
a436edbd16
Add backend code to delete entries that have already been read + start collecitng data on usage data so we can eventually prune data from users that are no longer using hishtory
2022-04-16 11:37:43 -07:00
David Dworken
2b676a935b
Optimize server by only sending new-ish records to the client
2022-04-16 10:30:39 -07:00
David Dworken
c369661e53
More server-side logging + client-side logging
2022-04-16 00:44:47 -07:00
David Dworken
df59b43e03
Add request logs to the backend
2022-04-15 23:19:39 -07:00
David Dworken
ab0d9d4c90
optimize test runtime by running a single server instance per-file rather than one per test
2022-04-15 11:20:23 -07:00
David Dworken
dc6fb6a47b
Refactor tests to make them non-flakey and pass on actions
...
This required adding the ability to have hishtory run synchronously to avoid reconditions. I also added additional waiting code. Also a whole bunch of new tests and disabled gorm's default logger which also caued flakeyness
2022-04-14 20:18:49 -07:00
David Dworken
e2b5fd13bf
tests passing inside act, hopefully on real actions
2022-04-13 21:30:27 -07:00
David Dworken
970e5d75db
add tests for user and hostname atoms + moved server tests to server_test.go
2022-04-10 17:38:20 -07:00
David Dworken
bf789605d1
record registration ip and date in the server-side DB for usage analytics
2022-04-09 16:37:51 -07:00
David Dworken
64935391b6
More tests
2022-04-09 13:02:30 -07:00
David Dworken
b92087fc1d
Try again to fix timezone test
2022-04-09 12:57:58 -07:00
David Dworken
c8ba560e0c
handle github api rate limit, tests for the update command, and fix timezone bug in tests
2022-04-09 12:50:01 -07:00
David Dworken
f7627d3e77
add links to github repo and better format the installation instructions
2022-04-09 00:33:20 -07:00
David Dworken
57a95fb9a7
Moved all backend code into the backend/ directory
2022-04-08 23:56:02 -07:00