]> git.mxchange.org Git - friendica.git/log
friendica.git
2 years agoFixed:
Roland Häder [Sat, 16 Jul 2022 10:18:08 +0000 (12:18 +0200)]
Fixed:
- $item is the proper array here,
- see https://github.com/friendica/friendica/issues/11632#issuecomment-1186119430

2 years agoMerge pull request #11735 from MrPetovan/bug/11732-frio-scheme-accent
Michael Vogel [Thu, 14 Jul 2022 03:37:38 +0000 (05:37 +0200)]
Merge pull request #11735 from MrPetovan/bug/11732-frio-scheme-accent

[frio] Accept 0 as a valid content background transparency in frio/style.php

2 years ago[frio] Accept 0 as a valid content background transparency in frio/style.php
Hypolite Petovan [Wed, 13 Jul 2022 21:51:07 +0000 (17:51 -0400)]
[frio] Accept 0 as a valid content background transparency in frio/style.php

2 years agoMerge pull request #11734 from Quix0r/fixes/added-final-check-link_item
Hypolite Petovan [Wed, 13 Jul 2022 21:08:48 +0000 (17:08 -0400)]
Merge pull request #11734 from Quix0r/fixes/added-final-check-link_item

$link_item might be boolean (no record found) under rare conditions

2 years agoChanged:
Roland Häder [Wed, 13 Jul 2022 20:04:16 +0000 (22:04 +0200)]
Changed:
- added a final check on $link_item, as it might not be initialized or no
  record was found, thanks to @AlfredSK for reporting this
- see #11632

2 years agoMerge pull request #11733 from Quix0r/fixes/returned-type-hint
Philipp [Wed, 13 Jul 2022 19:14:28 +0000 (21:14 +0200)]
Merge pull request #11733 from Quix0r/fixes/returned-type-hint

Added returned type-int "int"

2 years agoAdded returned type-int "int"
Roland Häder [Wed, 13 Jul 2022 19:09:49 +0000 (21:09 +0200)]
Added returned type-int "int"

2 years agoMerge pull request #11730 from HankG/bugfix-frio-display-settings-error
Hypolite Petovan [Wed, 13 Jul 2022 12:50:23 +0000 (08:50 -0400)]
Merge pull request #11730 from HankG/bugfix-frio-display-settings-error

Fix frio settings display error setting scheme to custom type if null

2 years agoFix frio settings display error setting scheme to custom type if null
Hank Grabowski [Wed, 13 Jul 2022 12:40:54 +0000 (08:40 -0400)]
Fix frio settings display error setting scheme to custom type if null

2 years agoMerge pull request #11729 from MrPetovan/bug/11723-maintenance-mode-view-module
Tobias Diekershoff [Wed, 13 Jul 2022 04:32:28 +0000 (06:32 +0200)]
Merge pull request #11729 from MrPetovan/bug/11723-maintenance-mode-view-module

Enable the view module in maintenance mode

2 years agoEnable the view module in maintenance mode
Hypolite Petovan [Tue, 12 Jul 2022 23:48:36 +0000 (19:48 -0400)]
Enable the view module in maintenance mode

- This allows to load the default theme CSS
- Theme scripts have been updated to reflect the possibility they will be included in maintenance mode

2 years agoMerge pull request #11728 from nupplaphil/feat/split_db_definitions
Hypolite Petovan [Tue, 12 Jul 2022 22:57:35 +0000 (18:57 -0400)]
Merge pull request #11728 from nupplaphil/feat/split_db_definitions

Split DBStructure & View

2 years agoAdd docs
Philipp [Tue, 12 Jul 2022 22:27:39 +0000 (00:27 +0200)]
Add docs

2 years agoinclude suggested changes
Philipp [Tue, 12 Jul 2022 22:23:12 +0000 (00:23 +0200)]
include suggested changes

2 years agoAdd dbview.config.php for vfs directory mocking
Philipp [Tue, 12 Jul 2022 21:46:21 +0000 (23:46 +0200)]
Add dbview.config.php for vfs directory mocking

2 years agoFix tests
Philipp [Tue, 12 Jul 2022 21:30:29 +0000 (23:30 +0200)]
Fix tests

2 years agoSplit DBStructure & View to avoid DB-calls and dependencies for basic operations
Philipp [Tue, 12 Jul 2022 21:21:16 +0000 (23:21 +0200)]
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys

2 years agoMerge pull request #11727 from nupplaphil/bug/redirect
Hypolite Petovan [Tue, 12 Jul 2022 19:24:58 +0000 (15:24 -0400)]
Merge pull request #11727 from nupplaphil/bug/redirect

Fix HTTP Client redirect Bug

2 years agoFix HTTP Client redirect Bug
Philipp [Tue, 12 Jul 2022 18:09:18 +0000 (20:09 +0200)]
Fix HTTP Client redirect Bug

2 years agoAdd test case for https://github.com/friendica/friendica/issues/11726
Philipp [Tue, 12 Jul 2022 17:49:39 +0000 (19:49 +0200)]
Add test case for https://github.com/friendica/friendica/issues/11726

2 years agoMerge pull request #11725 from MrPetovan/bug/fatal-errors
Michael Vogel [Tue, 12 Jul 2022 05:13:27 +0000 (07:13 +0200)]
Merge pull request #11725 from MrPetovan/bug/fatal-errors

Fix type hint typo in Protocol\Email::messageGetPart

2 years agoFix type hint typo in Protocol\Email::messageGetPart
Hypolite Petovan [Tue, 12 Jul 2022 03:05:13 +0000 (23:05 -0400)]
Fix type hint typo in Protocol\Email::messageGetPart

- Address https://github.com/friendica/friendica/issues/11724

2 years agoMerge pull request #11719 from nupplaphil/feat/type_use
Hypolite Petovan [Sat, 9 Jul 2022 21:42:42 +0000 (17:42 -0400)]
Merge pull request #11719 from nupplaphil/feat/type_use

adhere `use` and type-hints :-)

2 years agoMerge pull request #11720 from MrPetovan/bug/fatal-errors
Michael Vogel [Sat, 9 Jul 2022 11:52:57 +0000 (13:52 +0200)]
Merge pull request #11720 from MrPetovan/bug/fatal-errors

Remove unused uid parameter in Item::newURI

2 years agoRemove unused uid parameter in Item::newURI
Hypolite Petovan [Sat, 9 Jul 2022 11:32:32 +0000 (07:32 -0400)]
Remove unused uid parameter in Item::newURI

2 years agoadhere `use` and type-hints :-)
Philipp [Sat, 9 Jul 2022 09:41:36 +0000 (11:41 +0200)]
adhere `use` and type-hints :-)

2 years agoMerge pull request #11718 from HankG/feature-optional-network-group-count
Hypolite Petovan [Sat, 9 Jul 2022 00:40:22 +0000 (20:40 -0400)]
Merge pull request #11718 from HankG/feature-optional-network-group-count

Feature optional network group count

2 years agoMerge branch 'develop' into feature-optional-network-group-count
Hank Grabowski [Fri, 8 Jul 2022 19:35:26 +0000 (15:35 -0400)]
Merge branch 'develop' into feature-optional-network-group-count

2 years agoMake network counts at the group level system level configurable
Hank Grabowski [Fri, 8 Jul 2022 19:29:34 +0000 (15:29 -0400)]
Make network counts at the group level system level configurable

2 years agoMerge pull request #11717 from tobiasd/20220708-de2
Hypolite Petovan [Fri, 8 Jul 2022 14:16:47 +0000 (10:16 -0400)]
Merge pull request #11717 from tobiasd/20220708-de2

DE translation updates THX FOSS+

2 years agoDE translation updates THX FOSS+
Tobias Diekershoff [Fri, 8 Jul 2022 13:33:12 +0000 (15:33 +0200)]
DE translation updates THX FOSS+

2 years agoMerge pull request #11715 from tobiasd/20220708-de
Philipp [Fri, 8 Jul 2022 06:29:38 +0000 (08:29 +0200)]
Merge pull request #11715 from tobiasd/20220708-de

DE translation updates

2 years agoDE translation updates
Tobias Diekershoff [Fri, 8 Jul 2022 06:23:25 +0000 (08:23 +0200)]
DE translation updates

2 years agoMerge pull request #11714 from nupplaphil/bug/trust
Hypolite Petovan [Thu, 7 Jul 2022 22:10:40 +0000 (18:10 -0400)]
Merge pull request #11714 from nupplaphil/bug/trust

[2FA] Add a lot of log-points

2 years agoAdd the right exceptions for BaseUrl::redirect and respect them when catching excepti...
Philipp [Thu, 7 Jul 2022 19:47:39 +0000 (21:47 +0200)]
Add the right exceptions for BaseUrl::redirect and respect them when catching exceptions at the Trust page

2 years agoAdd a lot of log-points
Philipp [Thu, 7 Jul 2022 19:33:41 +0000 (21:33 +0200)]
Add a lot of log-points

2 years agoMerge pull request #11711 from tobiasd/20220707_plsv
Hypolite Petovan [Thu, 7 Jul 2022 12:47:31 +0000 (08:47 -0400)]
Merge pull request #11711 from tobiasd/20220707_plsv

PL, SV translation updates THX strebski and viktorbagare

2 years agoSV update to the strings THX viktorbagare
Tobias Diekershoff [Thu, 7 Jul 2022 09:08:05 +0000 (11:08 +0200)]
SV update to the strings THX viktorbagare

2 years agoPL translation update THX strebski
Tobias Diekershoff [Thu, 7 Jul 2022 09:07:26 +0000 (11:07 +0200)]
PL translation update THX strebski

2 years agoMerge pull request #11710 from Quix0r/fixes/type-error-send-contact-reject
Hypolite Petovan [Wed, 6 Jul 2022 07:56:12 +0000 (03:56 -0400)]
Merge pull request #11710 from Quix0r/fixes/type-error-send-contact-reject

Type-hint has to be string, instead of int

2 years agoFixed:
Roland Häder [Wed, 6 Jul 2022 03:41:48 +0000 (05:41 +0200)]
Fixed:
> TypeError: "Argument 2 passed to Friendica\Protocol\ActivityPub\Transmitter::sendContactReject()
> must be of the type int, string given

I followed here here the documentation, may fix #11708

2 years agoMerge pull request #11709 from Quix0r/fixes/type-error-null-uri-id
Philipp [Tue, 5 Jul 2022 17:38:18 +0000 (19:38 +0200)]
Merge pull request #11709 from Quix0r/fixes/type-error-null-uri-id

Avoid TypeError because of missing "uri-id" entry

2 years agoFixed:
Roland Häder [Tue, 5 Jul 2022 16:51:29 +0000 (18:51 +0200)]
Fixed:
- added exception to prevent `TypeError` because of missing `uri-id` entry
- maybe fixes #11708

2 years agoMerge pull request #11705 from Quix0r/fixes/null-value-invocation
Hypolite Petovan [Sun, 3 Jul 2022 12:57:23 +0000 (08:57 -0400)]
Merge pull request #11705 from Quix0r/fixes/null-value-invocation

Fix for "Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of the type string, null given"

2 years agoFixes:
Roland Häder [Sun, 3 Jul 2022 12:43:45 +0000 (14:43 +0200)]
Fixes:
"Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of the type string, null given, called in /var/www/.../htdocs/mod/display.php on line 305"

2 years agoMerge pull request #11703 from MrPetovan/bug/fatal-errors
Tobias Diekershoff [Sun, 3 Jul 2022 04:32:37 +0000 (06:32 +0200)]
Merge pull request #11703 from MrPetovan/bug/fatal-errors

Fix fatal errors

2 years agoRemove overly strict type-hint in ActivityPub\Transmission::createCachedActivityFromItem
Hypolite Petovan [Sun, 3 Jul 2022 02:16:46 +0000 (22:16 -0400)]
Remove overly strict type-hint in ActivityPub\Transmission::createCachedActivityFromItem

- Fix "Return value of Friendica\Protocol\ActivityPub\Transmitter::createCachedActivityFromItem() must be of the type array, bool returned" error

2 years agoRename Smilies::pregHeart to better match its purpose
Hypolite Petovan [Sun, 3 Jul 2022 02:14:20 +0000 (22:14 -0400)]
Rename Smilies::pregHeart to better match its purpose

- Fix "Argument 1 passed to Friendica\Content\Smilies::pregHeart() must be of the type string, array given" error

2 years agoMerge pull request #11701 from Quix0r/fixes/missing-type-hints-getstart
Tobias Diekershoff [Fri, 1 Jul 2022 04:40:54 +0000 (06:40 +0200)]
Merge pull request #11701 from Quix0r/fixes/missing-type-hints-getstart

Added missing type-hints

2 years agoAdded missing type-hints, #11700
Roland Häder [Fri, 1 Jul 2022 00:50:03 +0000 (02:50 +0200)]
Added missing type-hints, #11700

2 years agoMerge pull request #11699 from Quix0r/rewrites/type-hints-001
Hypolite Petovan [Thu, 30 Jun 2022 16:25:20 +0000 (12:25 -0400)]
Merge pull request #11699 from Quix0r/rewrites/type-hints-001

Type-hints added, method renamed

2 years agoChanged double-quotes to single
Roland Häder [Thu, 30 Jun 2022 15:43:22 +0000 (17:43 +0200)]
Changed double-quotes to single

2 years agoChanges:
Roland Häder [Thu, 30 Jun 2022 13:02:37 +0000 (15:02 +0200)]
Changes:
- no NULL anymore for 2nd parameter OEmbed::toHTML()
- some double-quotes to single

2 years agoFixed type-hints
Roland Häder [Thu, 30 Jun 2022 12:58:36 +0000 (14:58 +0200)]
Fixed type-hints

2 years agoChanges
Roland Häder [Thu, 30 Jun 2022 12:52:14 +0000 (14:52 +0200)]
Changes
- ops, also this needs change since null is no longer wanted

2 years agoChanges
Roland Häder [Thu, 30 Jun 2022 12:49:51 +0000 (14:49 +0200)]
Changes
- renamed Widget::accounttypes() to Widget::accountTypes()
- fixed type-hint the documentation was wrong

2 years agoChanges
Roland Häder [Thu, 30 Jun 2022 12:16:30 +0000 (14:16 +0200)]
Changes
- renamed Item::visibleActivity() to Item::isVisibleActivity() as this returns
  a boolean value
- added some type-hints
- added some documentation

2 years agoChanges:
Roland Häder [Mon, 27 Jun 2022 10:09:31 +0000 (12:09 +0200)]
Changes:
- added some type-hints
- added some documentation
- changed some double-quotes to single

2 years agoChanges:
Roland Häder [Mon, 27 Jun 2022 09:39:26 +0000 (11:39 +0200)]
Changes:
- added some type-hints
- fixed some documentation (void is lately returned, not null)
- added some documentation

2 years agoSome empty lines
Roland Häder [Sun, 26 Jun 2022 23:16:35 +0000 (01:16 +0200)]
Some empty lines

2 years agoA bit more documentation
Roland Häder [Sun, 26 Jun 2022 13:57:09 +0000 (15:57 +0200)]
A bit more documentation

2 years agoChanges:
Roland Häder [Sun, 26 Jun 2022 13:14:51 +0000 (15:14 +0200)]
Changes:
- added some type-hints

2 years agoFixed:
Roland Häder [Tue, 21 Jun 2022 16:54:21 +0000 (18:54 +0200)]
Fixed:
- "Argument 3 passed to Friendica\Model\Photo::createPhotoForExternalResource()
  must be of the type string, null given

2 years agoFixed:
Roland Häder [Tue, 21 Jun 2022 16:51:27 +0000 (18:51 +0200)]
Fixed:
- Friendica\Content\BoundariesPager::renderFull(int $itemCount) must be
  compatible with Friendica\Content\Pager::renderFull(int $itemCount): string

2 years agoMerge pull request #11697 from Quix0r/fixes/contact-user-isblocked-retuning-null
Hypolite Petovan [Mon, 27 Jun 2022 11:57:55 +0000 (07:57 -0400)]
Merge pull request #11697 from Quix0r/fixes/contact-user-isblocked-retuning-null

Fixed: TypeError: "Return value of Friendica\Model\Contact\User::isBlocked() must be of the type bool, null returned"

2 years agoFixes:
Roland Häder [Mon, 27 Jun 2022 11:49:26 +0000 (13:49 +0200)]
Fixes:
- more "bool expected but null returned" errors

2 years agoFixed:
Roland Häder [Mon, 27 Jun 2022 09:37:34 +0000 (11:37 +0200)]
Fixed:
- Contact/User::isBlocked() needs to return boolean, but sometimes (strangely)
  a NULL can come from database, so let's cast it

This tries to fix:
TypeError: "Return value of Friendica\Model\Contact\User::isBlocked() must be of the type bool, null returned"

2 years agoMerge pull request #11696 from Quix0r/fixed-twitter-api-empty-about
Hypolite Petovan [Sun, 26 Jun 2022 22:46:15 +0000 (18:46 -0400)]
Merge pull request #11696 from Quix0r/fixed-twitter-api-empty-about

Fixed "Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of the type string, null given"

2 years agoChanged:
Roland Häder [Sun, 26 Jun 2022 21:18:05 +0000 (23:18 +0200)]
Changed:
- $publicContact['about'] can be NULL, causing following error:
--------------------------
Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of
the type string, null given, called in /.../src/Object/Api/Twitter/User.php
--------------------------
The "expensive" code there can be avoided being called by an empty string or
NULL to increase performance.

2 years agoMerge pull request #11693 from nupplaphil/feat/woodpecker
Tobias Diekershoff [Sun, 26 Jun 2022 13:56:58 +0000 (15:56 +0200)]
Merge pull request #11693 from nupplaphil/feat/woodpecker

Use labels for woodpecker continuous deployments

2 years agoUse labels for woodpecker continuous deployments
Philipp [Sun, 26 Jun 2022 13:45:58 +0000 (15:45 +0200)]
Use labels for woodpecker continuous deployments

2 years agoMerge pull request #11684 from MrPetovan/bug/11651-ap-fetch-queue
Philipp [Sun, 26 Jun 2022 11:36:19 +0000 (13:36 +0200)]
Merge pull request #11684 from MrPetovan/bug/11651-ap-fetch-queue

Create ActivityPub\FetchQueue and ActivityPub\FetchQueueItem classes

2 years agoMerge pull request #11692 from MrPetovan/bug/fatal-errors
Philipp [Sun, 26 Jun 2022 11:34:23 +0000 (13:34 +0200)]
Merge pull request #11692 from MrPetovan/bug/fatal-errors

Convert potential spaces in Memcache(d) key names

2 years agoConvert potential spaces in Memcache(d) key names
Hypolite Petovan [Sun, 26 Jun 2022 09:56:13 +0000 (05:56 -0400)]
Convert potential spaces in Memcache(d) key names

- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1166475036
- Add test for space in cache keys

2 years agoMerge pull request #11690 from nupplaphil/feat/2fa_improv
Hypolite Petovan [Sun, 26 Jun 2022 09:42:58 +0000 (05:42 -0400)]
Merge pull request #11690 from nupplaphil/feat/2fa_improv

2 Factor Authentication improvements

2 years agoadaptions
Philipp [Sun, 26 Jun 2022 08:13:32 +0000 (10:13 +0200)]
adaptions

2 years agoadd anything ..
Philipp [Sat, 25 Jun 2022 21:06:42 +0000 (23:06 +0200)]
add anything ..

2 years agoUpdate messages.po
Philipp [Sat, 25 Jun 2022 20:37:50 +0000 (22:37 +0200)]
Update messages.po

2 years agoImprove 2 factor usage
Philipp [Sat, 25 Jun 2022 12:45:33 +0000 (14:45 +0200)]
Improve 2 factor usage

2 years agoimprove 2fa token field
Philipp [Thu, 23 Jun 2022 21:30:33 +0000 (23:30 +0200)]
improve 2fa token field

2 years agoAdd more 2fa properties
Philipp [Thu, 23 Jun 2022 21:29:56 +0000 (23:29 +0200)]
Add more 2fa properties

2 years agoRename 2FA recovery message
Philipp [Thu, 23 Jun 2022 20:56:25 +0000 (22:56 +0200)]
Rename 2FA recovery message

2 years agoCreate ActivityPub\FetchQueue and ActivityPub\FetchQueueItem classes
Hypolite Petovan [Sat, 25 Jun 2022 03:48:49 +0000 (23:48 -0400)]
Create ActivityPub\FetchQueue and ActivityPub\FetchQueueItem classes

- These classes are used to flatten the recursive missing activity fetch that can hit PHP's maximum function nesting limit
- The original caller is responsible for processing the remaining queue once the original activity has been fetched

2 years agoMerge pull request #11689 from Quix0r/rewrites/double-quotes-single
Hypolite Petovan [Sat, 25 Jun 2022 16:02:01 +0000 (12:02 -0400)]
Merge pull request #11689 from Quix0r/rewrites/double-quotes-single

Changed more double-quotes to single

2 years agoMade @TODO more clear?
Roland Häder [Sat, 25 Jun 2022 15:58:27 +0000 (17:58 +0200)]
Made @TODO more clear?

2 years agoMerge pull request #11688 from MrPetovan/bug/11635-mod-photos-posted
Philipp [Sat, 25 Jun 2022 15:54:49 +0000 (17:54 +0200)]
Merge pull request #11688 from MrPetovan/bug/11635-mod-photos-posted

Replace obsolete posted sort field by created in mod\photos

2 years agoReplace obsolete posted sort field by created in mod\photos
Hypolite Petovan [Sat, 25 Jun 2022 10:17:56 +0000 (06:17 -0400)]
Replace obsolete posted sort field by created in mod\photos

2 years agoAdd tests for BBCode::fetchShareAttributes
Hypolite Petovan [Sat, 25 Jun 2022 15:46:12 +0000 (11:46 -0400)]
Add tests for BBCode::fetchShareAttributes

2 years agoCentralize share tag attribute extraction code in Content\Text\BBCode
Hypolite Petovan [Sat, 25 Jun 2022 10:15:26 +0000 (06:15 -0400)]
Centralize share tag attribute extraction code in Content\Text\BBCode

2 years agoChanges:
Roland Häder [Fri, 24 Jun 2022 04:27:38 +0000 (06:27 +0200)]
Changes:
- added type-hints
- added documentation

2 years agoChanges:
Roland Häder [Fri, 24 Jun 2022 03:47:53 +0000 (05:47 +0200)]
Changes:
- let's get rid of that `Database::exists()` is being misused for checking table existence
- reformatted array

2 years agoChanged double-quotes to single
Roland Häder [Fri, 24 Jun 2022 03:27:33 +0000 (05:27 +0200)]
Changed double-quotes to single

2 years agoChanges:
Roland Häder [Fri, 24 Jun 2022 02:42:35 +0000 (04:42 +0200)]
Changes:
- added some type-hints
- added documentation

2 years agoSpace for the rescue. ;-)
Roland Häder [Fri, 24 Jun 2022 01:44:52 +0000 (03:44 +0200)]
Space for the rescue. ;-)

2 years agoReformatted array
Roland Häder [Fri, 24 Jun 2022 01:24:51 +0000 (03:24 +0200)]
Reformatted array

2 years agoChanges:
Roland Häder [Fri, 24 Jun 2022 01:01:13 +0000 (03:01 +0200)]
Changes:
- added some type-hints
- changed some double-quotes to single

2 years agoChanged doubled-quotes to single
Roland Häder [Wed, 22 Jun 2022 23:46:37 +0000 (01:46 +0200)]
Changed doubled-quotes to single

2 years agoMerge pull request #11685 from MrPetovan/bug/11638-gserver_site_name-length
Michael Vogel [Sat, 25 Jun 2022 10:39:06 +0000 (12:39 +0200)]
Merge pull request #11685 from MrPetovan/bug/11638-gserver_site_name-length

Add explicit gserver.site_name string truncate in Model\GServer

2 years agoAdd explicit gserver.site_name string truncate in Model\GServer
Hypolite Petovan [Sat, 25 Jun 2022 09:28:06 +0000 (05:28 -0400)]
Add explicit gserver.site_name string truncate in Model\GServer

- Avoids "Data too long for column 'site_name'" database errors

2 years agoMerge pull request #11686 from MrPetovan/bug/11636-emailer-message-id-check
Philipp [Sat, 25 Jun 2022 09:58:23 +0000 (11:58 +0200)]
Merge pull request #11686 from MrPetovan/bug/11636-emailer-message-id-check

Fix off-by-one error in Message ID header count check in Util\Emailer