{"push_id":537519812,"size":8,"distinct_size":1,"ref":"refs/heads/canonical-post-urls","head":"4b8f9ef887dff7b306f8525a9826cd076f6ebaf4","before":"a3a0746fcb75522e3749bf3c07e3e639d6dca0c9","commits":[{"sha":"24354a741f950c802f22d72b7fb1850f6b9d97c4","author":{"email":"17b9e1c64588c7fa6419b4d29dc1f4426279ba01@diglumi.com","name":"Michael Smith"},"message":"Fix: Only delete user's posts on account deletion\n\nPreviously this deleted all posts with the same creation time as the\nuser's posts.","distinct":false,"url":"https://api.github.com/repos/isaacs/bigboringsystem/commits/24354a741f950c802f22d72b7fb1850f6b9d97c4"},{"sha":"bc17457a24cc69f9112e30e4b70d60737aa86768","author":{"email":"84a375bc6014384b9c1c3586c284a50af6bc9db2@users.noreply.github.com","name":"Chris Van"},"message":"fix typo in comment in `lib.auth` (and reword slightly)","distinct":false,"url":"https://api.github.com/repos/isaacs/bigboringsystem/commits/bc17457a24cc69f9112e30e4b70d60737aa86768"},{"sha":"b318ea65ec1b7edd269ec35b8bed8e984cdc519c","author":{"email":"042dc4512fa3d391c5170cf3aa61e6a638f84342@izs.me","name":"Isaac Z. Schlueter"},"message":"Merge pull request #87 from spinda/account-deletion-fix\n\nFix: Don't delete other users' posts when deleting a user account\r\n\r\nreviewed by: @isaacs\r\npr-url: https://github.com/bigboringsystem/bigboringsystem/pull/87","distinct":false,"url":"https://api.github.com/repos/isaacs/bigboringsystem/commits/b318ea65ec1b7edd269ec35b8bed8e984cdc519c"},{"sha":"bd6688b9d6c9c2552462181ddd4c62d110ff3426","author":{"email":"042dc4512fa3d391c5170cf3aa61e6a638f84342@izs.me","name":"Isaac Z. Schlueter"},"message":"Merge pull request #89 from cvan/patch-1\n\nfix typo in comment in `lib.auth` (and reword slightly)","distinct":false,"url":"https://api.github.com/repos/isaacs/bigboringsystem/commits/bd6688b9d6c9c2552462181ddd4c62d110ff3426"},{"sha":"4bc2b82a53363f94b37ca47ca1cfdadd7ae9f996","author":{"email":"042dc4512fa3d391c5170cf3aa61e6a638f84342@izs.me","name":"isaacs"},"message":"Move config loading to ./lib/conf.js\n\nIf the `nconf.argv().env().file({ file: 'local.json' })` dance is done\nin multiple places, then each place wipes out the configs loaded by the\nlast run.\n\nSo, if you want to override the port or db root or other fun stuff in\ntesting, it's super tricky.\n\nWith this change, a test can do `require('../lib/conf').set(..)` and\nit'll Just Work.\n\nGranted, most configs are only actually *used* once at startup, so it\nhas to be the first thing that the test does, prior to loading any\nmodules or routes.","distinct":false,"url":"https://api.github.com/repos/isaacs/bigboringsystem/commits/4bc2b82a53363f94b37ca47ca1cfdadd7ae9f996"},{"sha":"08b2272946434d7e7a969f11672085ec3280a9ca","author":{"email":"042dc4512fa3d391c5170cf3aa61e6a638f84342@izs.me","name":"isaacs"},"message":"add rimraf for use in tests","distinct":false,"url":"https://api.github.com/repos/isaacs/bigboringsystem/commits/08b2272946434d7e7a969f11672085ec3280a9ca"},{"sha":"215e1812aab03720b36d01f6156958d289bc31bd","author":{"email":"042dc4512fa3d391c5170cf3aa61e6a638f84342@izs.me","name":"isaacs"},"message":"Refactor db to a single module, folder, conf value\n\nThe better to override in tests, and DRY up a bunch of duplicated code.\n\nIt feels like lib/db.js should be some kind of dedicated \"manage\nmultiple levelDBs in a single folder\" module or something, but there's a\nlot of BBS-specific stuff in there.  I'm not level-savvy enough to\nconfidently predict what other users might want in such a module, so I'm\ntempted to just leave it as-is for the next brave soul to figure out.\n\nConfiguring the location of the db root folder is super important,\nthough.  Now, you could very easily start the server with something like\n`node index.js --db /var/db/bbs` (or env or local.json) and it'll put\nall the levels in there.  For tests, this makes it easy to wipe the db's\nout and not accidentally the non-test databases.\n\nFixes #67","distinct":false,"url":"https://api.github.com/repos/isaacs/bigboringsystem/commits/215e1812aab03720b36d01f6156958d289bc31bd"},{"sha":"4b8f9ef887dff7b306f8525a9826cd076f6ebaf4","author":{"email":"042dc4512fa3d391c5170cf3aa61e6a638f84342@izs.me","name":"isaacs"},"message":"Canonicalize post urls to /post/post!<postid>\n\nFixes #56","distinct":true,"url":"https://api.github.com/repos/isaacs/bigboringsystem/commits/4b8f9ef887dff7b306f8525a9826cd076f6ebaf4"}]}