David Dworken
|
87d3dc4d97
|
Log the actual remote addr in log lines
|
2022-10-18 14:35:03 -07:00 |
|
David Dworken
|
ad809efef6
|
Migrate hishtory from k8s to docker compose
|
2022-10-18 11:53:35 -07:00 |
|
David Dworken
|
ab95b16ea2
|
Update comment
|
2022-10-17 20:38:40 -07:00 |
|
David Dworken
|
0da8021ab7
|
HTML escape the forced banner to prevent XSS (though this domain has no cookies so there would have been very limited harm from an XSS)
|
2022-10-15 09:58:47 -07:00 |
|
David Dworken
|
a40e44c985
|
Add explanation of why expectedPasswordHash is ok
|
2022-10-15 09:26:54 -07:00 |
|
David Dworken
|
38c185c9f9
|
Add environ variable to configure the postgres DB
|
2022-10-15 09:21:10 -07:00 |
|
David Dworken
|
68416f9d0f
|
Better string formatting for the internal analytics endpoint
|
2022-10-04 12:58:00 -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
|
b7c64b61c8
|
Always check gorm interactions for errors
|
2022-10-02 19:41:00 -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
|
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
|
a108268925
|
Add TODOs
|
2022-09-27 22:15:31 -07:00 |
|
David Dworken
|
c18c2502cc
|
Add a complex test with many users
|
2022-09-22 21:45:20 -07:00 |
|
David Dworken
|
c6d4f1ef68
|
Fix missing newline in zshrc, add test for hishtory redact prompting, and tag TODOs with plans
|
2022-09-22 18:22:06 -07:00 |
|
David Dworken
|
ee6680f571
|
Remove debugging information and give up on that test, and add work around for weird zsh bug with importing
|
2022-09-22 18:09:51 -07:00 |
|
David Dworken
|
6db8044bec
|
Add server tests for redaction
|
2022-09-21 21:46:46 -07:00 |
|
David Dworken
|
27157e675d
|
Add TODOs
|
2022-09-21 19:59:31 -07:00 |
|
David Dworken
|
414d8926f6
|
Fix incorrect go version in dockerfile
|
2022-09-20 23:27:36 -07:00 |
|
David Dworken
|
80822c722e
|
Optimize SQL query so it only runs one query rather than N
|
2022-09-20 21:36:02 -07:00 |
|
David Dworken
|
19bbf27efd
|
More reliable handling for deletion requests
|
2022-09-20 21:28:49 -07:00 |
|
David Dworken
|
a2f95fdc4d
|
Fix typo in SQL query
|
2022-09-20 21:15:20 -07:00 |
|
David Dworken
|
41f82e8034
|
Add ReadCount field to deletion requests so that we can eventually delete them from the DB
|
2022-09-20 21:13:59 -07:00 |
|
David Dworken
|
5391ecd220
|
First version of working redaction with passing integration tests
|
2022-09-19 22:49:48 -07:00 |
|
David Dworken
|
1bf510ff8a
|
Better offline handling, implemented the local portion of delete, and maybe fixed the bug when running tests on github actions
|
2022-09-18 09:42:24 -07:00 |
|
David Dworken
|
158c2f2c57
|
Bump backend version to go1.18
|
2022-09-03 21:28:47 -07:00 |
|
David Dworken
|
0fac3b7286
|
Make query params required rather than having weird undefined behavior
|
2022-06-04 23:03:05 -07:00 |
|
David Dworken
|
b760db58cd
|
Update URL formats for backend
|
2022-06-04 20:36:34 -07:00 |
|
David Dworken
|
1da703e9c2
|
Working update code for macos
|
2022-05-26 23:45:08 -07:00 |
|
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 |
|