Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: magefan/module-blog
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.2.3
Choose a base ref
...
head repository: magefan/module-blog
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jul 30, 2016

  1. Copy the full SHA
    51b6f66 View commit details
  2. Copy the full SHA
    5e6b34f View commit details

Commits on Jul 31, 2016

  1. Copy the full SHA
    3252bb6 View commit details

Commits on Aug 1, 2016

  1. Fix exeptions in webapi

    ihorvansach committed Aug 1, 2016
    Copy the full SHA
    21ace74 View commit details

Commits on Aug 3, 2016

  1. Up version to 2.2.4

    ihorvansach committed Aug 3, 2016
    Copy the full SHA
    8085729 View commit details

Commits on Aug 16, 2016

  1. Copy the full SHA
    421e5db View commit details

Commits on Aug 30, 2016

  1. Copy the full SHA
    2092da6 View commit details

Commits on Sep 3, 2016

  1. Copy the full SHA
    5dca75b View commit details

Commits on Sep 5, 2016

  1. Improve rss feed

    ihorvansach committed Sep 5, 2016
    Copy the full SHA
    36d8d57 View commit details

Commits on Sep 6, 2016

  1. Copy the full SHA
    8628cd3 View commit details

Commits on Sep 9, 2016

  1. Add category to RSS Feed

    ihorvansach committed Sep 9, 2016
    Copy the full SHA
    1190c21 View commit details

Commits on Sep 26, 2016

  1. Copy the full SHA
    41cfdf7 View commit details

Commits on Sep 30, 2016

  1. Fixed issue #37

    ihorvansach committed Sep 30, 2016
    Copy the full SHA
    2644884 View commit details

Commits on Oct 5, 2016

  1. Add fix for rss feed

    ihorvansach committed Oct 5, 2016
    Copy the full SHA
    f984c19 View commit details
  2. Copy the full SHA
    bb711f3 View commit details

Commits on Oct 16, 2016

  1. Big commit 2.3.0

    1. New User Interface for post & category edit pages in Admin Panel
    2. Added Blog Tags
    3. New Tag Claud sidebar seaction
    4. Added OG Tags settings for post
    5. Added Meta Title settings for blog post & category
    6. Added Previous & Next post links on frontend post page
    7. Added "AddThis Enabled" setting with Yes/No parameter
    ihorvansach committed Oct 16, 2016
    Copy the full SHA
    c0887ed View commit details

Commits on Oct 17, 2016

  1. Copy the full SHA
    9e8f257 View commit details

Commits on Oct 25, 2016

  1. Copy the full SHA
    d045d42 View commit details

Commits on Oct 26, 2016

  1. Copy the full SHA
    9dccb27 View commit details
  2. Up version

    ihorvansach committed Oct 26, 2016
    Copy the full SHA
    67f7ef9 View commit details

Commits on Oct 28, 2016

  1. Copy the full SHA
    cfb73e5 View commit details

Commits on Oct 31, 2016

  1. Add image helper

    ihorvansach committed Oct 31, 2016
    Copy the full SHA
    10c8622 View commit details
  2. Copy the full SHA
    63def82 View commit details

Commits on Nov 9, 2016

  1. Copy the full SHA
    6201393 View commit details
  2. Copy the full SHA
    e869fcf View commit details
  3. Copy the full SHA
    16ebf63 View commit details

Commits on Nov 10, 2016

  1. Addedd Dutch Localization

    ihorvansach committed Nov 10, 2016
    Copy the full SHA
    e2abc87 View commit details
  2. Update fr_FR.csv

    dankocrama authored Nov 10, 2016
    Copy the full SHA
    4456e47 View commit details
  3. Merge pull request #39 from dankocrama980/patch-1

    Small Update of fr_FR.csv
    magefan authored Nov 10, 2016
    Copy the full SHA
    18741b0 View commit details

Commits on Nov 11, 2016

  1. Update Router.php

    Adds support for manually added folders in the URL Key of a post. This allows post URLs like `http://www.domain.com/blog/category-title/post-title/`.
    redelschaap authored Nov 11, 2016
    Copy the full SHA
    555d8a1 View commit details
  2. Copy the full SHA
    d3073ce View commit details

Commits on Nov 15, 2016

  1. Merge pull request #41 from Hevelop/master

    resize image only if not exist
    magefan authored Nov 15, 2016
    Copy the full SHA
    e4f6cd2 View commit details
  2. Merge pull request #40 from redelschaap/patch-1

    Adds support for manually added folders in the URL Key of a post. This allows post URLs like http://www.domain.com/blog/category-title/post-title/
    magefan authored Nov 15, 2016
    Copy the full SHA
    434cd3e View commit details
  3. Up version to 2.3.2

    ihorvansach committed Nov 15, 2016
    Copy the full SHA
    7b32731 View commit details

Commits on Nov 16, 2016

  1. prevents "Fatal error: Call to a member function getId() on null in /…

    …home/asianocc/staging/vendor/magefan/module-blog/Block/Post/View/RelatedProducts.php on line 135" without turning off caching completely
    cefar-pauld committed Nov 16, 2016
    Copy the full SHA
    5d1a720 View commit details
  2. Update fr_FR.csv Compleet

    dankocrama authored Nov 16, 2016
    Copy the full SHA
    741db01 View commit details

Commits on Nov 17, 2016

  1. Merge pull request #43 from dankocrama980/patch-2

    Update fr_FR.csv Compleet
    magefan authored Nov 17, 2016
    Copy the full SHA
    0af2ef1 View commit details
  2. Merge pull request #42 from cefar-pauld/master

    prevents Blog/Post/View/RelatedProducts error
    magefan authored Nov 17, 2016
    Copy the full SHA
    1b20500 View commit details

Commits on Nov 20, 2016

  1. Create zh_HANS_cn.csv

    create chinese language pack.
    shuaiZend authored Nov 20, 2016
    Copy the full SHA
    03cc12b View commit details
  2. Merge pull request #44 from shuaiZend/patch-1

    Create zh_HANS_cn.csv
    magefan authored Nov 20, 2016
    Copy the full SHA
    2862506 View commit details
  3. Relate csv file

    ihorvansach committed Nov 20, 2016
    Copy the full SHA
    e273b34 View commit details

Commits on Nov 21, 2016

  1. Post content UTF-8 Support

    fixed the problem of Chinese Japanese garbled.
    shuaiZend authored Nov 21, 2016
    Copy the full SHA
    2d41081 View commit details
  2. List content UTF-8 Support

    fixed the problem of Chinese Japanese garbled.
    shuaiZend authored Nov 21, 2016
    Copy the full SHA
    6518124 View commit details
  3. Merge pull request #45 from shuaiZend/patch-1

    Fixed the problem of Chinese Japanese garbled.
    magefan authored Nov 21, 2016
    Copy the full SHA
    fba3303 View commit details
  4. Merge pull request #46 from shuaiZend/patch-2

    Fixed the problem of Chinese Japanese garbled.
    magefan authored Nov 21, 2016
    Copy the full SHA
    0dd11ef View commit details

Commits on Nov 22, 2016

  1. Copy the full SHA
    74f91fb View commit details
  2. Up version to 2.3.3

    ihorvansach committed Nov 22, 2016
    Copy the full SHA
    9215de8 View commit details

Commits on Nov 26, 2016

  1. 2
    Copy the full SHA
    d2ce78c View commit details

Commits on Nov 30, 2016

  1. Copy the full SHA
    49ece35 View commit details
  2. Up version to 2.4.0

    ihorvansach committed Nov 30, 2016
    Copy the full SHA
    e58730a View commit details
Showing 524 changed files with 39,234 additions and 6,137 deletions.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Preconditions:**
- Magento Version: [e.g. 2.4.2]
- Module Version: [e.g. 2.9.8]
- PHP Version [e.g. 7.4.0]

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Actual behavior**
A clear and concise description of what actually happened.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
14 changes: 14 additions & 0 deletions Api/AuthorCollectionInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
/**
* Copyright © Magefan (support@magefan.com). All rights reserved.
* Please visit Magefan.com for license details (https://magefan.com/end-user-license-agreement).
*
* Glory to Ukraine! Glory to the heroes!
*/

namespace Magefan\Blog\Api;

interface AuthorCollectionInterface
{

}
19 changes: 19 additions & 0 deletions Api/AuthorInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
/**
* Copyright © Magefan (support@magefan.com). All rights reserved.
* Please visit Magefan.com for license details (https://magefan.com/end-user-license-agreement).
*
* Glory to Ukraine! Glory to the heroes!
*/
declare(strict_types=1);

namespace Magefan\Blog\Api;

interface AuthorInterface
{
/**
* @param int $storeId
* @return bool
*/
public function isVisibleOnStore(int $storeId): bool;
}
57 changes: 57 additions & 0 deletions Api/AuthorRepositoryInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?php
/**
* Copyright © Magefan (support@magefan.com). All rights reserved.
* Please visit Magefan.com for license details (https://magefan.com/end-user-license-agreement).
*
* Glory to Ukraine! Glory to the heroes!
*/

namespace Magefan\Blog\Api;

/**
* Interface AuthorRepositoryInterface
*/
interface AuthorRepositoryInterface
{
/**
* @return AuthorInterfaceFactory
*/
public function getFactory();

/**
* @param AuthorInterface $author
* @return mixed
*/
public function save(AuthorInterface $author);

/**
* @param $authorId
* @return mixed
*/
public function getById($authorId);

/**
* Retrieve Author matching the specified criteria.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
* @return \Magento\Framework\Api\SearchResults
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);

/**
* @param AuthorInterface $author
* @return mixed
*/
public function delete(AuthorInterface $author);

/**
* Delete Author by ID.
*
* @param int $authorId
* @return bool true on success
* @throws \Magento\Framework\Exception\NoSuchEntityException
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function deleteById($authorId);
}
14 changes: 14 additions & 0 deletions Api/AuthorResourceModelInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
/**
* Copyright © Magefan (support@magefan.com). All rights reserved.
* Please visit Magefan.com for license details (https://magefan.com/end-user-license-agreement).
*
* Glory to Ukraine! Glory to the heroes!
*/

namespace Magefan\Blog\Api;

interface AuthorResourceModelInterface
{

}
6 changes: 3 additions & 3 deletions Api/CategoryManagementInterface.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © 2016 Ihor Vansach (ihor@magefan.com). All rights reserved.
* See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php).
* Copyright © Magefan (support@magefan.com). All rights reserved.
* Please visit Magefan.com for license details (https://magefan.com/end-user-license-agreement).
*
* Glory to Ukraine! Glory to the heroes!
*/
@@ -11,4 +11,4 @@
interface CategoryManagementInterface extends ManagementInterface
{

}
}
60 changes: 60 additions & 0 deletions Api/CategoryRepositoryInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
/**
* Copyright © Magefan (support@magefan.com). All rights reserved.
* Please visit Magefan.com for license details (https://magefan.com/end-user-license-agreement).
*
* Glory to Ukraine! Glory to the heroes!
*/

namespace Magefan\Blog\Api;

use Magefan\Blog\Model\Category;
use Magefan\Blog\Model\CategoryFactory;

/**
* Interface PostRepositoryInterface
*/
interface CategoryRepositoryInterface
{
/**
* @return CategoryFactory
*/
public function getFactory();

/**
* @param Category $category
* @return mixed
*/
public function save(Category $category);

/**
* @param $categoryId
* @return mixed
*/
public function getById($categoryId);

/**
* Retrieve Category matching the specified criteria.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
* @return \Magento\Framework\Api\SearchResults
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);

/**
* @param Category $category
* @return mixed
*/
public function delete(Category $category);

/**
* Delete Category by ID.
*
* @param int $categoryId
* @return bool true on success
* @throws \Magento\Framework\Exception\NoSuchEntityException
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function deleteById($categoryId);
}
16 changes: 16 additions & 0 deletions Api/CommentManagementInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
/**
* Copyright © Magefan (support@magefan.com). All rights reserved.
* Please visit Magefan.com for license details (https://magefan.com/end-user-license-agreement).
*
* Glory to Ukraine! Glory to the heroes!
*/

declare(strict_types=1);

namespace Magefan\Blog\Api;

interface CommentManagementInterface extends ManagementInterface
{

}
60 changes: 60 additions & 0 deletions Api/CommentRepositoryInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
/**
* Copyright © Magefan (support@magefan.com). All rights reserved.
* Please visit Magefan.com for license details (https://magefan.com/end-user-license-agreement).
*
* Glory to Ukraine! Glory to the heroes!
*/

namespace Magefan\Blog\Api;

use Magefan\Blog\Model\Comment;
use Magefan\Blog\Model\CommentFactory;

/**
* Interface CommentRepositoryInterface
*/
interface CommentRepositoryInterface
{
/**
* @return CommentFactory
*/
public function getFactory();

/**
* @param Comment $comment
* @return mixed
*/
public function save(Comment $comment);

/**
* @param $commentId
* @return mixed
*/
public function getById($commentId);

/**
* Retrieve Comment matching the specified criteria.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
* @return \Magento\Framework\Api\SearchResults
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);

/**
* @param Comment $comment
* @return mixed
*/
public function delete(Comment $comment);

/**
* Delete Comment by ID.
*
* @param int $commentId
* @return bool true on success
* @throws \Magento\Framework\Exception\NoSuchEntityException
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function deleteById($commentId);
}
52 changes: 42 additions & 10 deletions Api/ManagementInterface.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © 2016 Ihor Vansach (ihor@magefan.com). All rights reserved.
* See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php).
* Copyright © Magefan (support@magefan.com). All rights reserved.
* Please visit Magefan.com for license details (https://magefan.com/end-user-license-agreement).
*
* Glory to Ukraine! Glory to the heroes!
*/
@@ -14,27 +14,59 @@ interface ManagementInterface
* Create new item.
*
* @api
* @param string $data.
* @return string.
* @param string $data
* @return string
*/
public function create($data);

/**
* Update item by id.
*
* @api
* @param int $id.
* @param string $data.
* @return string.
* @param int $id
* @param string $data
* @return string
*/
public function update($id, $data);

/**
* Remove item by id.
*
* @api
* @param int $id.
* @return bool.
* @param int $id
* @return bool
*/
public function delete($id);
}

/**
* Get item by id.
*
* @api
* @param int $id
* @param int|null $storeId
* @return bool
*/
public function get($id, $storeId = null);

/**
* Get item by id and store id, only if item published
*
* @api
* @param int $id
* @param int $storeId
* @return bool
*/
public function view($id, $storeId);

/**
* Retrieve list by page type, term, store, etc
*
* @param string $type
* @param string $term
* @param int $storeId
* @param int $page
* @param int $limit
* @return string
*/
public function getList($type, $term, $storeId, $page, $limit);
}
Loading