summaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* addJoey Hess2017-04-30
|
* Merge remote-tracking branch 'origin/master'Joey Hess2017-04-30
|\
| * initial commitadmin2017-04-30
|
* server: email logs to user, and option to delete old onesJoey Hess2017-04-30
|
* improceJoey Hess2017-04-30
|
* improveJoey Hess2017-04-30
|
* more message improvementsJoey Hess2017-04-30
|
* simplifyJoey Hess2017-04-30
| | | | Last commit allows this simplification
* fix probable race in use of restoreHashesJoey Hess2017-04-30
| | | | | | | | | | | | | I think there was a race where a SessionKey message had been drained from the TChan, but not yet added to the developer state, which was resonsible for recent instability at startup. It manifested as protocol errors where the prevActivity hash was wrongly Nothing. Fixed by adding a MissingHashes type to tag things whose hashes have been stripped, and adding back the hashes when needed, which always happens inside atomically blocks, so won't have such a race.
* dump developer state on protocol errorJoey Hess2017-04-30
|
* fix displayJoey Hess2017-04-30
|
* log remote logs to subdirJoey Hess2017-04-30
|
* avoid STM crash on protocol errorJoey Hess2017-04-30
|
* prevent terminal echo before user grants write accessJoey Hess2017-04-30
| | | | And improve some messages.
* make url work without --debugJoey Hess2017-04-30
|
* don't forward other developer's SessionKey control messages to control windowJoey Hess2017-04-29
| | | | | The control window doesn't know it's running for a developer, so it would prompt to allow these, which was pointless.
* correctionJoey Hess2017-04-29
|
* noteJoey Hess2017-04-29
|
* propritizeJoey Hess2017-04-29
|
* fix server to not relay developer messages back to selfJoey Hess2017-04-29
| | | | This fixes chat message echoing consistency too.
* be clear when control window is doneJoey Hess2017-04-29
| | | | Can be confusing otherwise when running debug-me --control
* use developer control window to tell when write access is grantedJoey Hess2017-04-29
|
* user gpg key checking and prompting done!Joey Hess2017-04-29
|
* add Gpg web of trust parserJoey Hess2017-04-29
|
* split moduleJoey Hess2017-04-29
|
* updateJoey Hess2017-04-28
|
* todoJoey Hess2017-04-28
|
* improve connection to done session displayJoey Hess2017-04-28
|
* reorder "Using gpg to sign the debug-me session key" message before session ↵Joey Hess2017-04-28
| | | | start
* only show log filename at endJoey Hess2017-04-28
|
* todoJoey Hess2017-04-28
|
* automatically open control windowJoey Hess2017-04-28
|
* reorgJoey Hess2017-04-28
|
* forgot to add earlierJoey Hess2017-04-28
|
* make gpg work when sshed into a hostJoey Hess2017-04-28
|
* avoid crash removing socket that DNEJoey Hess2017-04-28
|
* expand descriptionJoey Hess2017-04-28
|
* control window and chattingJoey Hess2017-04-28
| | | | Works!
* log to ~/.debug-me/log/Joey Hess2017-04-28
| | | | | | | | | Make watcher also log and display the name of the logfile at start and end of session. --download still downloads to current directory because that seems less surprising than downloading to elsewhere. Also, the user might want to keep a copy of the local log while downloading the server log.
* improved description and man pageJoey Hess2017-04-28
| | | | documenting well ahead of implementation now
* todoJoey Hess2017-04-28
|
* boundsJoey Hess2017-04-27
|
* put the hash of the publickey in the clearsigned gpg messageJoey Hess2017-04-27
| | | | This way changes to JSON won't risk breaking that.
* Leave the prevMessage out of Activity serialization to save BW.Joey Hess2017-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do include it in the data that gets signed, so it can be recovered by trying each likely (recently seen) Activity as the prevMessage, and checking the signature. The UserState and DeveloperState already had the necessary state about recently seen hashes, so this does not impact data use. One tricky bit is that relayFromSocket needs to wait for the TMChan to be empty before calling restorePrevActivityHash. Otherwise, the hashes of items in the channel that have not been processed yet won't be tried. The TMChan is not really being used as a channel since only 1 item can be in it. It could be converted to a TMVar, but closeTMChan is used so I left it as a channel. Note that the server does not restore hashes of messages that pass through it; it's just a dumb relay. Sending a single key press now only needs 94 bytes of data to be sent, down from 169! --- Also switched to SHA512, since hashes are no longer being sent over the wire and so the larger size does not matter. SHA512 is slightly faster and more secure. This commit was sponsored by Ewen McNeill.
* ideaJoey Hess2017-04-27
|
* switch wire message seralization to use protocol buffersJoey Hess2017-04-27
| | | | | | | | | | | | | | | | | | | | | | | | This way it's not tied to details of the haskell binary library, and implementations in other languages should be fairly simple to do. The haskell protobuf library was used because it does not need extra tooling or build steps. So I didn't write a .proto file, but one could fairly easily be written by following ProtocolBuffers.hs and translating it. ProtocolBuffers.hs is *extremely* repetative and tedious code. Surely there must be a way to not need to write all of that? Oh well, I wrote it.. Sizes of serialized messages: ">>> debug-me session started": 121 sending a single key press: 169 This seems equally as efficient as the binary serialization was; that was 165 bytes before elapsedTime was added. This commit was sponsored by Ethan Aubin.
* don't need Maybe ElapsedTimeJoey Hess2017-04-27
| | | | Make it a monoid and use mempty = 0
* rename LogMessage to AnyMessageJoey Hess2017-04-27
| | | | Not related to the Log anymore.
* Signed commits startJoey Hess2017-04-26
| | | | | | | I forgot to configure the git repo for debug-me to sign all commits, so this is the first signed commit. Every previous commit was made by me, so they're all good. :)
* ideaJoey Hess2017-04-26
|