Skip to content

Commit 30cbb3e

Browse files
authored
v0.0.3
1 parent 5bd7508 commit 30cbb3e

File tree

14 files changed

+138
-123
lines changed

14 files changed

+138
-123
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ For full functionality "Maximum file size" in "ACP" > "Posting" > "Attachment se
2727
For full functionality "Maximum image dimensions" in "ACP" > "Posting" > "Attachment settings" must be set to 0. This is done automatically during the migration.
2828

2929
## Update
30-
For update from v0.01 to v0.0.2 please `disable` the extension and `delete data` before copy the new files to `phpBB3/ext/imcger/imgupload`.
30+
For update to v0.0.3 please `disable` the extension and `delete data` before copy the new files to `phpBB3/ext/imcger/imgupload`.
3131

3232
## Changelog
3333

34-
### v0.0.2 (19-02-2022)
35-
Code changes. Takes into account other settings from "Attachment settings".
34+
### v0.0.3 (20-02-2022) Code changes
35+
36+
### v0.0.2 (19-02-2022) Code changes
3637

3738
### v0.0.1 (18-02-2022)
3839

imcger/imgupload/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ For full functionality "Maximum file size" in "ACP" > "Posting" > "Attachment se
2727
For full functionality "Maximum image dimensions" in "ACP" > "Posting" > "Attachment settings" must be set to 0. This is done automatically during the migration.
2828

2929
## Update
30-
For update from v0.01 to v0.0.2 please `disable` the extension and `delete data` before copy the new files to `phpBB3/ext/imcger/imgupload`.
30+
For update to v0.0.3 please `disable` the extension and `delete data` before copy the new files to `phpBB3/ext/imcger/imgupload`.
3131

3232
## Changelog
3333

34-
### v0.0.2 (19-02-2022)
35-
Code changes. Takes into account other settings from "Attachment settings".
34+
### v0.0.3 (20-02-2022) Code changes
35+
36+
### v0.0.2 (19-02-2022) Code changes
3637

3738
### v0.0.1 (18-02-2022)
3839

imcger/imgupload/adm/style/acp_imgupload_body.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ <h1>{{ lang('ACP_IMCGER_IMGUPLOAD_TITLE') }}</h1>
1818

1919
<dl>
2020
<dt><label for="imcger_imgupload_max_width">{{ lang('ACP_IMCGER_MAX_WIDTH') ~ lang('COLON') }}</label><br/><span>{{ lang('ACP_IMCGER_MAX_WIDTH_DESC') }}</span></dt>
21-
<dd><input type="number" id="imcger_imgupload_max_width" min="0" max="99999999999" step="any" maxlength="10" name="imcger_imgupload_max_width" value="{{ IMCGER_MAX_WIDTH }}" /></dd>
21+
<dd><input type="number" id="imcger_imgupload_max_width" min="0" max="9999999999" step="any" maxlength="10" name="imcger_imgupload_max_width" value="{{ IMCGER_MAX_WIDTH }}" /></dd>
2222
</dl>
2323

2424
<dl>
2525
<dt><label for="imcger_imgupload_max_height">{{ lang('ACP_IMCGER_MAX_HEIGTH') ~ lang('COLON') }}</label><br/><span>{{ lang('ACP_IMCGER_MAX_HEIGTH_DESC') }}</span></dt>
26-
<dd><input type="number" id="imcger_imgupload_max_height" min="0" max="99999999999" step="any" maxlength="10" name="imcger_imgupload_max_height" value="{{ IMCGER_MAX_HEIGHT }}" /></dd>
26+
<dd><input type="number" id="imcger_imgupload_max_height" min="0" max="9999999999" step="any" maxlength="10" name="imcger_imgupload_max_height" value="{{ IMCGER_MAX_HEIGHT }}" /></dd>
2727
</dl>
2828

2929
<dl>
30-
<dt><label for="imcger_imgupload_max_filesize">{{ lang('MAX_EXTGROUP_FILESIZE') ~ lang('COLON') }}</label><br/><span>{{ lang('MAX_EXTGROUP_FILESIZE_DESC') }}</span></dt>
31-
<dd><input type="number" id="imcger_imgupload_max_filesize" min="0" max="999999999999999" step="any" name="imcger_imgupload_max_filesize" value="{{ IMCGER_MAX_FILESIZE }}"/> <select name="size_select"><option value="b" {% if IMCGER_UNIT == 'b' %} selected="selected"{% endif %}>Bytes</option><option value="kb" {% if IMCGER_UNIT == 'kb' %} selected="selected"{% endif %}>KiB</option><option value="mb" {% if IMCGER_UNIT == 'mb' %} selected="selected"{% endif %}>MiB</option></select></dd>
30+
<dt><label for="imcger_imgupload_max_filesize">{{ lang('ACP_IMCGER_MAX_FILESIZE') ~ lang('COLON') }}</label><br/><span>{{ lang('ACP_IMCGER_MAX_FILESIZE_DESC') }}</span></dt>
31+
<dd><input type="number" id="imcger_imgupload_max_filesize" min="0" max="9999999999" step="any" name="imcger_imgupload_max_filesize" value="{{ IMCGER_MAX_FILESIZE }}"/> <select name="size_select"><option value="b" {% if IMCGER_UNIT == 'b' %} selected="selected"{% endif %}>Bytes</option><option value="kb" {% if IMCGER_UNIT == 'kb' %} selected="selected"{% endif %}>KiB</option><option value="mb" {% if IMCGER_UNIT == 'mb' %} selected="selected"{% endif %}>MiB</option></select></dd>
3232
</dl>
3333

3434
<dl>

imcger/imgupload/composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"type" : "phpbb-extension",
44
"description" : "Using ImageMagick php librarie for image attachments and creating thumbnails.",
55
"homepage" : "https://github.com/IMC-GER/phpBB-Image-upload-use-ImageMagick",
6-
"version" : "0.0.2",
7-
"time" : "2022-02-19",
6+
"version" : "0.0.3",
7+
"time" : "2022-02-20",
88
"license" : "GPL-2.0-only",
99
"authors" : [{
1010
"name" : "imc-ger",
@@ -14,13 +14,13 @@
1414
}
1515
],
1616
"require" : {
17-
"php" : ">=7.3.0",
17+
"php" : ">=7.4.0",
1818
"composer/installers" : "~1.0"
1919
},
2020
"extra" : {
2121
"display-name" : "Image upload use ImageMagick",
2222
"soft-require" : {
23-
"phpbb/phpbb" : ">=3.2.4,<3.3.0@dev"
23+
"phpbb/phpbb" : ">=3.2.4"
2424
}
2525
}
2626
}

imcger/imgupload/config/services.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@ services:
33
class: imcger\imgupload\event\main_listener
44
arguments:
55
- '@config'
6-
- '@request'
7-
- '@user'
8-
- '@language'
96
tags:
107
- { name: event.listener }

0 commit comments

Comments
 (0)