{"push_id":2519645470,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"c11d9492ce739fbdfd4057c76bc7fb9fdc52373d","before":"1a7980a8df3893799fc1d876c0bb4f49d5bc211d","commits":[{"sha":"c11d9492ce739fbdfd4057c76bc7fb9fdc52373d","author":{"name":"David Parsley","email":"62021ec709e63f1a3f71ed84000d47f34b1d6df3@linuxjedi.org"},"message":"Message formatting updates and more (#35)\n\n* Properly implement Variable & Raw\r\n\r\nFor Gopherbot to be more uniform across connectors, the characters\r\n\"_\", \"*\", and \"`\" should pass through unharmed to the user, as\r\nthose characters can be perfectly legitimate in a variety of\r\ncontexts. This commit 'escapes' those characters so they pass\r\nthrough for Variable, but leaves them alone when Format == Raw,\r\nwhich preserves the old behavior. This is a minor breaking change\r\nfor the benefit of correctness; plugin authors can use the 'raw'\r\nformat to restore the old behavior. Before merging, a convenience\r\nfunction should be provided for getting a Raw bot. Note, however,\r\nthat a well-behaved plugin will check the value of Protocol before\r\nsending a raw message, so it can use appropriate characters.\r\n\r\n* New MessageFormat method, doc update\r\n\r\n* Implement DefaultMessageFormat\r\n\r\nPython, Ruby and PowerShell still need to be tested.\r\n\r\nThe robot defaults to sending 'Raw' text to the protocol, but\r\ncan be configured to send 'Variable' or 'Fixed' messages by default.\r\n\r\n* Message format fixes\r\n\r\n* The long-awaited CHUCK NORRIS plugin\r\n\r\n* Move testing & sample plugins to samples\r\n\r\n* Formatting, case sensitivity, debugging\r\n\r\nAdded message formatting to test & terminal connectors:\r\n- FIXED (-> all upper)\r\n- variable (-> all lower)\r\n- Raw (mixed case)\r\n\r\nUpdated tests & added formatting tests\r\n\r\nForce lowercase for attributes in for Get*Attribute, for\r\ncase-insensitivity.\r\n\r\nNo longer 'reload' in debug plugin, it didn't help anything.\r\nTweak regex.\r\n\r\nReorganize testing plugins into 'samples'.\r\n\r\nAdded 'whoami' to the ping plugin.\r\n\r\n* Update Go version for build\r\n\r\n* Fix PowerShell lib, add format.ps1","distinct":true,"url":"https://api.github.com/repos/lnxjedi/gopherbot/commits/c11d9492ce739fbdfd4057c76bc7fb9fdc52373d"}]}
{"actor":{"display_login":"parsley42"}}