diff --git a/CHANGELOG.md b/CHANGELOG.md index 4954d05..ed1d12e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ CHANGELOG ========================== +## 1.1.0 Alpha 3 (`1010013`) + +- **Fix:** Updated license and readme files are not copied correctly to add-on archives (#29) +- **Fix:** Unused content type fields still exist even after not being used at all anymore (#30) +- **Fix:** Argument 2 must be an instance of ForumEntity, instance of Finder given exception is thrown when seeding thread (#31) + ## 1.1.0 Alpha 2 (`1010012`) - **New:** Seed for media gallery comment (#12) diff --git a/Seed/Thread.php b/Seed/Thread.php index 7d65db9..9444adf 100644 --- a/Seed/Thread.php +++ b/Seed/Thread.php @@ -12,7 +12,7 @@ class Thread extends AbstractSeed protected function seed(array $params = []): bool { /** @var \XF\Entity\Forum $randomForum */ - $randomForum = $this->finderWithRandomOrder('XF:Forum'); + $randomForum = $this->finderWithRandomOrder('XF:Forum')->fetchOne(); if (!$randomForum) { return false; diff --git a/_no_upload/LICENSE.md b/_no_upload/LICENSE.md deleted file mode 100644 index 033bec5..0000000 --- a/_no_upload/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 TickTackk - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/_no_upload/README.md b/_no_upload/README.md deleted file mode 100644 index ec5ff34..0000000 --- a/_no_upload/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# SeederForXF2 -This add-on helps in filling development board with dummy data. - -## CLI Commands -| Option | Description | -| ------ | ----------- | -| `tck-seeder:seed` | Seeds only a specific seed. | -| `tck-seeder:bulk-seed` | Seeds provided or every seed available. | - -## License -This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details \ No newline at end of file diff --git a/_output/content_type_fields/category-entity.json b/_output/content_type_fields/category-entity.json deleted file mode 100644 index 4020b03..0000000 --- a/_output/content_type_fields/category-entity.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "content_type": "category", - "field_name": "entity", - "field_value": "XF:Category" -} \ No newline at end of file diff --git a/_output/content_type_fields/forum-entity.json b/_output/content_type_fields/forum-entity.json deleted file mode 100644 index 0a5d9e9..0000000 --- a/_output/content_type_fields/forum-entity.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "content_type": "forum", - "field_name": "entity", - "field_value": "XF:Forum" -} \ No newline at end of file diff --git a/addon.json b/addon.json index 6b735d6..47e9502 100644 --- a/addon.json +++ b/addon.json @@ -2,8 +2,8 @@ "legacy_addon_id": "", "title": "Seeder", "description": "This add-on helps in filling development board with dummy data.", - "version_id": 1010012, - "version_string": "1.1.0 Alpha 2", + "version_id": 1010013, + "version_string": "1.1.0 Alpha 3", "dev": "TickTackk", "dev_url": "https://xenforo.com/community/members/batpool52.90375/", "faq_url": "",