Skip to content

Commit

Permalink
Fix: errant entry in XML manifest prevents installation
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosdion committed Oct 15, 2023
1 parent 891006f commit f422a20
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 17 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Social Magick 2.0.0
# Social Magick 2.0.1
* Fix: errant entry in XML manifest prevents installation

We have Joomla 5 support! And no more zombie update notices.
# Social Magick 2.0.0

* Upgrade: Joomla 4.2, PHP 7.4+ required; compatible with Joomla! up to 5.0, PHP up to 8.3
* Fix: ImageRendererGD throws a PHP 8 notice
Expand Down
12 changes: 3 additions & 9 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
Welcome to Social Magick!

This plugin automatically generates Open Graph images for your site's pages. These images are used when sharing a link to your site on social media (e.g. Facebook, Twitter, …) and chat applications (e.g. Slack, …).

The images are generated from a template image with superimposed title text. By default, the article text used is (in order of preference) the core content category or article's title, the page title you've set up in the menu item or the page title Joomla has generated for the page.

Your templates can use an image as well. It can be the category image; the article intro or full text image; or an image you provide in a custom field, the name of which you can choose per menu item. This works best on sites which make extensive use of article images.
We have Joomla 5 support! And no more zombie update notices.

### Requirements

* Joomla 4.2
* PHP 7.4, 8.0, 8.1 or 8.2.
* Joomla 4.3, 4.4, or 5.0
* PHP 7.4, 8.0, 8.1, 8.2, or 8.3.
* The PHP `gd` or `imagick` extension installed and enabled.

### Quick start
Expand Down
6 changes: 2 additions & 4 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,14 @@
basedir="${dirs.root}"
comment="Lucid Fox Social Magick ${version}">
<fileset dir="${dirs.root}">
<include name="fields/**" />
<include name="fonts/**" />
<include name="form/**" />
<include name="images/**" />
<include name="language/**" />
<include name="media/**" />
<include name="library/**" />
<include name="services/**" />
<include name="sql/**" />
<include name="src/**" />
<include name="script.plg_system_socialmagick.php" />
<include name="socialmagick.php" />
<include name="socialmagick.xml" />
<include name=".htaccess" />
<include name="web.config" />
Expand Down
3 changes: 1 addition & 2 deletions socialmagick.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@
<namespace path="src">LucidFox\Plugin\System\SocialMagick</namespace>

<files>
<folder>fields</folder>
<folder>fonts</folder>
<folder>form</folder>
<folder>images</folder>
<folder plugin="socialmagick">services</folder>
<folder>src</folder>
<folder>sql</folder>
<folder>src</folder>

<filename>.htaccess</filename>
<filename>web.config</filename>
Expand Down
33 changes: 33 additions & 0 deletions update/socialmagick.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,39 @@
-->

<updates>
<update>
<section>Updates</section>
<name>
<![CDATA[Social Magick]]>
</name>
<description>
<![CDATA[Updates for Lucid Fox Social Magick – A Joomla 4 and 5 plugin to automatically generate Open Graph images.]]>
</description>
<maintainer>
<![CDATA[Lucid Fox]]>
</maintainer>
<maintainerurl>https://lucidfox.studio</maintainerurl>
<type>plugin</type>
<element>socialmagick</element>
<folder>system</folder>
<client>0</client>
<client_id>0</client_id>
<version>2.0.1</version>
<infourl title="Social Magick 2.0.1">
<![CDATA[https://github.com/lucid-fox/social-magick/releases/tag/2.0.1]]>
</infourl>
<downloads>
<downloadurl type="full" format="zip">
<![CDATA[https://github.com/lucid-fox/social-magick/releases/download/2.0.1/socialmagick-2.0.1.zip]]>
</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<targetplatform name="joomla" version="((4\.3)|(4\.4)|(5\.0))"/>
<php_minimum>7.4</php_minimum>
<supported_databases mysql="5.7.0" mariadb="10.3" />
</update>
<update>
<section>Updates</section>
<name>
Expand Down

0 comments on commit f422a20

Please sign in to comment.