File tree 18 files changed +69
-35
lines changed
add_attachment_btn_plugin
attachments_finder_plugin
attachments_plugin_framework
attachments_quickicon_plugin
insert_attachments_id_token_btn_plugin
insert_attachments_token_btn_plugin
show_attachments_in_editor_plugin
18 files changed +69
-35
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ This will update all xml versions (package/component/plugins)
15
15
Update the README.md with new fix/features
16
16
launch make
17
17
this will create a attachments-<version >.zip in root directory
18
- git pull of all modifications
18
+ launch make fixsha
19
+ this will update the hecksums in file update_pkg.xml
20
+ git push of all modifications
19
21
create a release with v<version > as name
20
22
upload the package file attachments-<version >.zip into this release
21
23
Original file line number Diff line number Diff line change 1
- VERSION = "4.1.0 "
1
+ VERSION = "4.1.1 "
2
2
VERSION2 = $(shell echo $(VERSION ) |sed 's/ /-/g')
3
3
ZIPFILE = attachments-$(VERSION2 ) .zip
4
4
5
+
5
6
# Only set DATE if you need to force the date.
6
7
# (Otherwise it uses the current date.)
7
8
# DATE = "February 19, 2011"
@@ -74,7 +75,11 @@ fixversions:
74
75
75
76
revertversions :
76
77
@echo " Reverting all install xml files"
77
- @find . \( -name ' defines.php' -o -name ' help.rst' -o -name ' *.xml' ! -name ' default.xml' ! -name ' metadata.xml' ! -name ' config.xml' \) -exec git checkout {} \;
78
+ @find . \( -name ' AttachmentsDefines.php' -o -name ' help.rst' -o -name ' *.xml' ! -name ' default.xml' ! -name ' metadata.xml' ! -name ' config.xml' \) -exec git checkout {} \;
79
+
80
+ fixsha :
81
+ @echo " Updating update xml files with checksums"
82
+ ./fixsha.sh $(ZIPFILE ) ' update_pkg.xml'
78
83
79
84
fixcopyrights :
80
85
@find . \( -name ' *.php' -o -name ' *.ini' -o -name ' *.xml' \) -exec ./fixcopyright {} \;
Original file line number Diff line number Diff line change 1
- # attachments 4.0.4
1
+ # attachments 4.1.1
2
2
3
3
## Quick Start
4
4
@@ -8,6 +8,12 @@ Download <a href="https://github.com/jmcameron/attachments/releases/latest" targ
8
8
9
9
Joomla 4.0+ compatible also with Joomla 5.0+
10
10
11
+ ## 2025-02-07 version 4.1.1
12
+
13
+ - improve help pages for english/french
14
+ - Check if $attachment_id[ $i] exists [ #103 ] ( /../../pull/103 )
15
+ - Add download link to be able to view attachement in a popup or download it [ #102 ] ( /../../pull/102 )
16
+
11
17
## 2025-01-01 version 4.1.0
12
18
13
19
- Make filename safe adapt {PR #23 ] ( /../../pull/23 ) for Joomla 4+ [ #98 ] ( /../../pull/98 )
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<extension type =" plugin" group =" editors-xtd" version =" 4.0" method =" upgrade" >
3
3
<name >plg_editors-xtd_add_attachment_btn</name >
4
- <version >4.1.0 </version >
5
- <creationDate >January 1 , 2025</creationDate >
4
+ <version >4.1.1 </version >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<author >Jonathan M. Cameron</author >
7
7
<copyright >(C) 2007-2024 Jonathan M. Cameron. All rights reserved.</copyright >
8
8
<license >http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<extension type =" component" version =" 4.0" method =" upgrade" >
3
3
<name >com_attachments</name >
4
- <version >4.1.0 </version >
5
- <creationDate >January 1 , 2025</creationDate >
4
+ <version >4.1.1 </version >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<author >Jonathan M. Cameron</author >
7
7
<
authorEmail >
[email protected] </
authorEmail >
8
8
<authorUrl >http://joomlacode.org/gf/project/attachments3/</authorUrl >
Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ class AttachmentsDefines
27
27
{
28
28
/** The Attachments extension version number
29
29
*/
30
- public static $ ATTACHMENTS_VERSION = '4.1.0 ' ;
30
+ public static $ ATTACHMENTS_VERSION = '4.1.1 ' ;
31
31
32
32
/** The Attachments extension version date
33
33
*/
34
- public static $ ATTACHMENTS_VERSION_DATE = 'January 1 , 2025 ' ;
34
+ public static $ ATTACHMENTS_VERSION_DATE = 'February 7 , 2025 ' ;
35
35
36
36
/** Project URL
37
37
*/
Original file line number Diff line number Diff line change 2
2
<extension type =" plugin" group =" finder" method =" upgrade" >
3
3
<name >plg_finder_attachments</name >
4
4
<author >Jonathan M. Cameron</author >
5
- <creationDate >January 1 , 2025</creationDate >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<copyright >(C) 2024 Jonathan M. Cameron</copyright >
7
7
<license >http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license >
8
8
<
authorEmail >
[email protected] </
authorEmail >
9
9
<authorUrl >https://github.com/jmcameron/attachments</authorUrl >
10
- <version >4.1.0 </version >
10
+ <version >4.1.1 </version >
11
11
<description >ATTACH_ATTACHMENTS_FINDER_PLUGIN_DESCRIPTION</description >
12
12
<namespace path =" src" >JMCameron\Plugin\Finder\Attachments</namespace >
13
13
<files >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<extension type =" plugin" group =" attachments" version =" 2.5" method =" upgrade" >
3
3
<name >plg_attachments_for_content</name >
4
- <version >4.1.0 </version >
5
- <creationDate >January 1 , 2025</creationDate >
4
+ <version >4.1.1 </version >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<author >Jonathan M. Cameron</author >
7
7
<
authorEmail >
[email protected] </
authorEmail >
8
8
<authorUrl >http://joomlacode.org/gf/project/attachments/</authorUrl >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<extension type =" plugin" group =" content" version =" 4.0" method =" upgrade" >
3
3
<name >plg_content_attachments</name >
4
- <version >4.1.0 </version >
5
- <creationDate >January 1 , 2025</creationDate >
4
+ <version >4.1.1 </version >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<author >Jonathan M. Cameron</author >
7
7
<
authorEmail >
[email protected] </
authorEmail >
8
8
<authorUrl >http://joomlacode.org/gf/project/attachments/</authorUrl >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<extension type =" plugin" group =" attachments" version =" 4.0" method =" upgrade" >
3
3
<name >plg_attachments_plugin_framework</name >
4
- <version >4.1.0 </version >
5
- <creationDate >January 1 , 2025</creationDate >
4
+ <version >4.1.1 </version >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<author >Jonathan M. Cameron</author >
7
7
<
authorEmail >
[email protected] </
authorEmail >
8
8
<authorUrl >http://joomlacode.org/gf/project/attachments/</authorUrl >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<extension type =" plugin" group =" quickicon" version =" 4.0" method =" upgrade" >
3
3
<name >plg_quickicon_attachments</name >
4
- <version >4.1.0 </version >
5
- <creationDate >January 1 , 2025</creationDate >
4
+ <version >4.1.1 </version >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<author >Jonathan M. Cameron</author >
7
7
<copyright >(C) 2007-2018 Jonathan M. Cameron. All rights reserved.</copyright >
8
8
<license >http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<extension type =" plugin" group =" search" version =" 4.0" method =" upgrade" >
3
3
<name >plg_search_attachments</name >
4
- <version >4.1.0 </version >
5
- <creationDate >January 1 , 2025</creationDate >
4
+ <version >4.1.1 </version >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<author >Jonathan M. Cameron</author >
7
7
<
authorEmail >
[email protected] </
authorEmail >
8
8
<authorUrl >http://joomlacode.org/gf/project/attachments/</authorUrl >
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Get the release version number
4
+ ZIPFILE=$1
5
+ UPDATEFILE=$( find . -name $2 | tr -d ' \n' )
6
+
7
+ echo " fixsha : $UPDATEFILE with sha256 of $1 " ;
8
+
9
+ SHA256=$( sha256sum $1 | cut -f 1 -d ' ' | tr -d ' \n' | tr ' [a-z]' ' [A-Z]' )
10
+ echo " SHA256:$SHA256 "
11
+
12
+ SHA384=$( sha384sum $1 | cut -f 1 -d ' ' | tr -d ' \n' | tr ' [a-z]' ' [A-Z]' )
13
+ echo " SHA384:$SHA384 "
14
+
15
+ SHA512=$( sha512sum $1 | cut -f 1 -d ' ' | tr -d ' \n' | tr ' [a-z]' ' [A-Z]' )
16
+ echo " SHA512:$SHA512 "
17
+
18
+
19
+ sed -i ' s%<sha256>.*</sha256>%<sha256>' $SHA256 ' </sha256>%g' $UPDATEFILE
20
+ sed -i ' s%<sha384>.*</sha384>%<sha384>' $SHA384 ' </sha384>%g' $UPDATEFILE
21
+ sed -i ' s%<sha512>.*</sha512>%<sha512>' $SHA512 ' </sha512>%g' $UPDATEFILE
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<extension type =" plugin" group =" editors-xtd" version =" 4.0" method =" upgrade" >
3
3
<name >plg_editors-xtd_insert_attachments_id_token_btn</name >
4
- <version >4.1.0 </version >
5
- <creationDate >January 1 , 2025</creationDate >
4
+ <version >4.1.1 </version >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<author >Jonathan M. Cameron</author >
7
7
<copyright >(C) 2007-2024 Jonathan M. Cameron. All rights reserved.</copyright >
8
8
<license >http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<extension type =" plugin" group =" editors-xtd" version =" 4.0" method =" upgrade" >
3
3
<name >plg_editors-xtd_insert_attachments_token_btn</name >
4
- <version >4.1.0 </version >
5
- <creationDate >January 1 , 2025</creationDate >
4
+ <version >4.1.1 </version >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<author >Jonathan M. Cameron</author >
7
7
<copyright >(C) 2007-2024 Jonathan M. Cameron. All rights reserved.</copyright >
8
8
<license >http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license >
Original file line number Diff line number Diff line change 2
2
<extension type =" package" version =" 4.0" method =" upgrade" >
3
3
<name >pkg_attachments</name >
4
4
<packagename >attachments</packagename >
5
- <version >4.1.0 </version >
6
- <creationDate >January 1 , 2025</creationDate >
5
+ <version >4.1.1 </version >
6
+ <creationDate >February 7 , 2025</creationDate >
7
7
<copyright >(C) 2007-2024 Jonathan M. Cameron. All rights reserved.</copyright >
8
8
<license >http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license >
9
9
<author >Jonathan M. Cameron</author >
Original file line number Diff line number Diff line change 6
6
<element >pkg_attachments</element >
7
7
<type >package</type >
8
8
<client >site</client >
9
- <version >4.1.0 </version >
9
+ <version >4.1.1 </version >
10
10
<infourl title =" Attachments" >https://github.com/jmcameron/attachments/</infourl >
11
11
<downloads >
12
- <downloadurl type =" full" format =" zip" >https://github.com/jmcameron/attachments/releases/download/v4.1.0 /attachments-4.1.0 .zip</downloadurl >
12
+ <downloadurl type =" full" format =" zip" >https://github.com/jmcameron/attachments/releases/download/v4.1.1 /attachments-4.1.1 .zip</downloadurl >
13
13
</downloads >
14
14
<tags >
15
15
<tag >Stable</tag >
18
18
<maintainerurl >https://github.com/jmcameron/attachments</maintainerurl >
19
19
<php_minimum >8.0</php_minimum >
20
20
<targetplatform name =" joomla" version =" (4\.[01234]|5\.[0123])" />
21
- <sha256 >A4F273ADA42AAAB5782E7E1F4752F52ECF79F0C08C8F39F316FE66D66F4F33B2 </sha256 >
22
- <sha384 >7B839D0976ABE6C133DF77200A3E7214F639E9E1CCC36905ABB178F2D5667CBA37A6160C840BAA95912BA67568692A1A </sha384 >
23
- <sha512 >D61F7FD1BACE6141FACF3C19DAAD249B755C3AE33ACC81747CFD62148F063BA101971142576E4B785931713156EB73EC0ECDF5D8BA95E7C2EFDB15D7B75F5A28 </sha512 >
21
+ <sha256 >E24ABD26A47335A46803913173BB8FB495F0A102E92D9357B3C15409C24CDBAF </sha256 >
22
+ <sha384 >ED179DF3F630FF94B28DB066480EB84684C92D5E69C8BE9F9C2647F673716749914168BCF3199F81A602C3340C2DA35F </sha384 >
23
+ <sha512 >9252E3355BBA35E82955296CCB9464F20AC6CC0735B3A5CF48D53F8FEEE42BD3577739EAC9B2C9538C4C8ADE5A46E6EAE52CF18953BBCF91503590658726E8A9 </sha512 >
24
24
</update >
25
25
</updates >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<extension type =" plugin" group =" system" version =" 4.0" method =" upgrade" >
3
3
<name >plg_system_show_attachments_in_editor</name >
4
- <version >4.1.0 </version >
5
- <creationDate >January 1 , 2025</creationDate >
4
+ <version >4.1.1 </version >
5
+ <creationDate >February 7 , 2025</creationDate >
6
6
<author >Jonathan M. Cameron</author >
7
7
<copyright >(C) 2011-2024 Jonathan M. Cameron. All rights reserved.</copyright >
8
8
<license >http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license >
You can’t perform that action at this time.
0 commit comments