From 390ef097644967355aad31cede426eb11bcf3296 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Thu, 11 Aug 2016 15:03:48 +0200 Subject: [PATCH 1/7] minor cleanup --- tst/Data/FilesystemTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tst/Data/FilesystemTest.php b/tst/Data/FilesystemTest.php index a8e5282..d76bab1 100644 --- a/tst/Data/FilesystemTest.php +++ b/tst/Data/FilesystemTest.php @@ -114,10 +114,9 @@ class FilesystemTest extends PHPUnit_Framework_TestCase public function testCommentErrorDetection() { $this->_model->delete(Helper::getPasteId()); - $paste = Helper::getPaste(); $comment = Helper::getComment(array('formatter' => "Invalid UTF-8 sequence: \xB1\x31")); $this->assertFalse($this->_model->exists(Helper::getPasteId()), 'paste does not yet exist'); - $this->assertTrue($this->_model->create(Helper::getPasteId(), Helper::getPaste()) === true, 'store new paste'); + $this->assertTrue($this->_model->create(Helper::getPasteId(), Helper::getPaste()), 'store new paste'); $this->assertTrue($this->_model->exists(Helper::getPasteId()), 'paste exists after storing it'); $this->assertFalse($this->_model->existsComment(Helper::getPasteId(), Helper::getPasteId(), Helper::getCommentId()), 'comment does not yet exist'); $this->assertFalse($this->_model->createComment(Helper::getPasteId(), Helper::getPasteId(), Helper::getCommentId(), $comment), 'unable to store broken comment'); From b02a31eac67950bba2d15e6d65c08f4d8f3d7938 Mon Sep 17 00:00:00 2001 From: rugk Date: Fri, 12 Aug 2016 20:49:14 +0200 Subject: [PATCH 2/7] Remove strange file Don't know this got in :) --- privatebin | 1 - 1 file changed, 1 deletion(-) delete mode 120000 privatebin diff --git a/privatebin b/privatebin deleted file mode 120000 index 127be32..0000000 --- a/privatebin +++ /dev/null @@ -1 +0,0 @@ -privatebin \ No newline at end of file From b94d2f2295614aa15bc33dbd94b35d53ea111e51 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Mon, 15 Aug 2016 14:24:42 +0200 Subject: [PATCH 3/7] resolving a few spacing issues in the templates --- tpl/bootstrap-compact.php | 32 ++++++++++++++++---------------- tpl/bootstrap-dark-page.php | 32 ++++++++++++++++---------------- tpl/bootstrap-dark.php | 36 ++++++++++++++++++------------------ tpl/bootstrap-page.php | 32 ++++++++++++++++---------------- tpl/bootstrap.php | 32 ++++++++++++++++---------------- tpl/page.php | 6 +++--- 6 files changed, 85 insertions(+), 85 deletions(-) diff --git a/tpl/bootstrap-compact.php b/tpl/bootstrap-compact.php index 161f0e8..560eda3 100644 --- a/tpl/bootstrap-compact.php +++ b/tpl/bootstrap-compact.php @@ -72,19 +72,19 @@ endif; @@ -233,7 +233,7 @@ endif; ?>
  • @@ -245,7 +245,7 @@ endif; if (strlen($NOTICE)): ?> alert alert-danger"> - - - - -