[ZendTo] Not use before?
Jules
Jules at Zend.To
Thu Jun 3 11:04:43 BST 2021
Massimo,
The fix was a little more complicated than I thought.
I've just tested my new fix and it seems to work and look okay.
Please try the latest beta release 6.10-7 which you can download from
   https://zend.to/beta
That should solve it.
Please do let me know how you get on, I would like to do a production
release as soon as possible.
Cheers,
Jules.
On 02/06/2021 17:26, Massimo Forni wrote:
> Hello Jules, this did not fixed the issue :(
> Any ideas ?
>
>
>
> ________________________
>
> Live long and prosperÂ
>
>
> ------------------------------------------------------------------------
> *From:* Jules <Jules at Zend.To>
> *Sent:* Friday, May 28, 2021 10:27:16 AM
> *To:* Massimo Forni <Massimo.Forni at turboden.it>; ZendTo Users
> <zendto at zend.to>
> *Subject:* Re: [ZendTo] Not use before?
> Â
> You might need to clear the cache of compiled templates:
> Â Â Â sudo rm -f /var/zendto/templates_c/*php
>
> Cheers,
> Jules.
>
> On 28/05/2021 08:53, Massimo Forni wrote:
>> Hello Jules,
>>
>> So sorry for the late reply.
>>
>> I applied your fix, but the issue persists.
>> The target of the request need to wait 60 minutes to start dropping
>> the files
>>
>> Than k you
>> ------------------------------------------------------------------------
>> *From:* Jules <Jules at Zend.To> <mailto:Jules at Zend.To>
>> *Sent:* Monday, May 17, 2021 13:25
>> *To:* ZendTo Users <zendto at zend.to> <mailto:zendto at zend.to>
>> *Cc:* Massimo Forni <Massimo.Forni at turboden.it>
>> <mailto:Massimo.Forni at turboden.it>
>> *Subject:* Re: [ZendTo] Not use before?
>> Â
>> Hi Massimo,
>>
>> Yes, you're absolutely right. I was trying to solve the problem of
>> the user creating the request being East of the server's timezone,
>> and accidentally created a problem if the user is West of the
>> server's timezone.
>>
>> The simple fix to this, if you want to patch your server manually, is
>> to edit
>> Â Â Â /opt/zendto/templates/request.tpl
>> and change line 310 from
>> Â Â Â minDate: 0, // Disallow dates in the past
>> to
>> Â Â Â minDate: -1, // Start at yesterday to avoid timezone problems
>>
>> That should be the only change required.
>>
>> This fix will be in the next release.
>>
>> Cheers,
>> Jules.
>>
>> On 11/05/2021 11:13, Massimo Forni via ZendTo wrote:
>>> I see in the "reqtable" there is a column "Start" with a timestamp
>>> that is set to the date+time of the locale of the end user
>>>
>>> In this case it has been set to 1620728545 which is at 10:22:25 UTC
>>> The user created the request at 12:22:xx of his local time (09:22:xx
>>> UTC)
>>>
>>> I suspect there is some timezone miss-calculation somewhere
>>> ------------------------------------------------------------------------
>>> *From:* ZendTo <zendto-bounces at zend.to>
>>> <mailto:zendto-bounces at zend.to> on behalf of Massimo Forni via
>>> ZendTo <zendto at zend.to> <mailto:zendto at zend.to>
>>> *Sent:* Tuesday, May 11, 2021 11:47
>>> *To:* zendto at zend.to <mailto:zendto at zend.to> <zendto at zend.to>
>>> <mailto:zendto at zend.to>
>>> *Cc:* Massimo Forni <Massimo.Forni at turboden.it>
>>> <mailto:Massimo.Forni at turboden.it>
>>> *Subject:* [ZendTo] Not use before?
>>> Â
>>> Hello,
>>>
>>> I have some strange issue with the latest build.
>>> If a user with a different timezone (ahead of mine, in this case 1
>>> hour) uses the "Request a Drop-off" and I click on the link I am
>>> presented the following error:
>>>
>>>
>>> Could it be that when zendto generates the link for the request it
>>> sets a "not use before" field with the users local time?
>>>
>>> --
>>>
>>> *Massimo Forni*
>>> ICT Manager
>>>
>>> Mobile: +393474110278
>>>
>>> ------------------------------------------------------------------------
>>>
>>> *Turboden S.p.A.* *I* via Cernaia 10 *I* 25124 Brescia *I* Italy
>>> t. +39 030 3552001 *I* f. +39 030 3552011
>>> www.turboden.com <http://www.turboden.com>
>>>
>>>
>>> *Confidentiality notice*: this message, together with its
>>> attachments, may contain strictly confidential and/or legally
>>> privileged information and it is destined solely to the intended
>>> addressee(s), who only may use it under his/their responsibility.
>>> Opinions, conclusions and other information contained in this
>>> message, that do not relate to the official business of this firm,
>>> shall be considered as not given or endorsed by it. If you have
>>> received this communication in error, please notify us immediately
>>> by responding to this email and then delete it from your system. Any
>>> use, disclosure, copying or distribution of the contents of this
>>> communication by a not-intended recipient or in violation of the
>>> purposes of this communication is strictly prohibited and may be
>>> unlawful.
>>>
>>> --
>>>
>>> *Massimo Forni*
>>> ICT Manager
>>>
>>> Mobile: +393474110278
>>>
>>> ------------------------------------------------------------------------
>>>
>>> *Turboden S.p.A.* *I* via Cernaia 10 *I* 25124 Brescia *I* Italy
>>> t. +39 030 3552001 *I* f. +39 030 3552011
>>> www.turboden.com <http://www.turboden.com>
>>>
>>>
>>> *Confidentiality notice*: this message, together with its
>>> attachments, may contain strictly confidential and/or legally
>>> privileged information and it is destined solely to the intended
>>> addressee(s), who only may use it under his/their responsibility.
>>> Opinions, conclusions and other information contained in this
>>> message, that do not relate to the official business of this firm,
>>> shall be considered as not given or endorsed by it. If you have
>>> received this communication in error, please notify us immediately
>>> by responding to this email and then delete it from your system. Any
>>> use, disclosure, copying or distribution of the contents of this
>>> communication by a not-intended recipient or in violation of the
>>> purposes of this communication is strictly prohibited and may be
>>> unlawful.
>>>
>>>
>>> _______________________________________________
>>> ZendTo mailing list
>>> ZendTo at zend.to <mailto:ZendTo at zend.to>
>>> http://jul.es/mailman/listinfo/zendto [jul.es] <https://urldefense.com/v3/__http://jul.es/mailman/listinfo/zendto__;!!BYEqwblc0Q!jJ-PNPBCRrKruQLSwhw7QdEoMTRf5moZ70YUCLzAVrQkg_O8idHQGGykw2Qm1xaS0nV0ZA$>
>>
>> Jules
>>
>> --
>> Julian Field MEng CEng CITP MBCS MIEEE MACM
>>
>> 'When a man points a finger at someone else, he should remember
>> that four of his fingers are pointing at himself.' - Louis Nizer
>>
>> www.Zend.To [zend.to] <https://urldefense.com/v3/__http://www.Zend.To__;!!BYEqwblc0Q!jJ-PNPBCRrKruQLSwhw7QdEoMTRf5moZ70YUCLzAVrQkg_O8idHQGGykw2Qm1xa_UFyICw$>
>> Twitter: @JulesFM
>>
>> --
>>
>> *Massimo Forni*
>> ICT Manager
>>
>> Mobile: +393474110278
>>
>> ------------------------------------------------------------------------
>>
>> *Turboden S.p.A.* *I* via Cernaia 10 *I* 25124 Brescia *I* Italy
>> t. +39 030 3552001 *I* f. +39 030 3552011
>> www.turboden.com <http://www.turboden.com>
>>
>>
>> *Confidentiality notice*: this message, together with its
>> attachments, may contain strictly confidential and/or legally
>> privileged information and it is destined solely to the intended
>> addressee(s), who only may use it under his/their responsibility.
>> Opinions, conclusions and other information contained in this
>> message, that do not relate to the official business of this firm,
>> shall be considered as not given or endorsed by it. If you have
>> received this communication in error, please notify us immediately by
>> responding to this email and then delete it from your system. Any
>> use, disclosure, copying or distribution of the contents of this
>> communication by a not-intended recipient or in violation of the
>> purposes of this communication is strictly prohibited and may be
>> unlawful.
>>
>
> Jules
>
> --
> Julian Field MEng CEng CITP MBCS MIEEE MACM
>
> 'When a man points a finger at someone else, he should remember
> that four of his fingers are pointing at himself.' - Louis Nizer
>
> www.Zend.To [zend.to] <https://urldefense.com/v3/__http://www.Zend.To__;!!BYEqwblc0Q!m22vAermwNhzNM-jHRykuhuXBcMaQ1yHsVLU3vYHpi97C8H1xL15Mmhk2gEPpiRVEBo0bg$>
> Twitter: @JulesFM
>
> --
>
> *Massimo Forni*
> ICT Manager
>
> Mobile: +393474110278
>
> ------------------------------------------------------------------------
>
> *Turboden S.p.A.* *I* via Cernaia 10 *I* 25124 Brescia *I* Italy
> t. +39 030 3552001 *I* f. +39 030 3552011
> www.turboden.com <http://www.turboden.com>
>
>
> *Confidentiality notice*: this message, together with its attachments,
> may contain strictly confidential and/or legally privileged
> information and it is destined solely to the intended addressee(s),
> who only may use it under his/their responsibility. Opinions,
> conclusions and other information contained in this message, that do
> not relate to the official business of this firm, shall be considered
> as not given or endorsed by it. If you have received this
> communication in error, please notify us immediately by responding to
> this email and then delete it from your system. Any use, disclosure,
> copying or distribution of the contents of this communication by a
> not-intended recipient or in violation of the purposes of this
> communication is strictly prohibited and may be unlawful.
>
Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.
Though wise men at their end know dark is right,
Because their words had forked no lightning they
Do not go gentle into that good night.
Good men, the last wave by, crying how bright
Their frail deeds might have danced in a green bay,
Rage, rage against the dying of the light.
Wild men who caught and sang the sun in flight,
And learn, too late, they grieved it on its way,
Do not go gentle into that good night.
Grave men, near death, who see with blinding sight
Blind eyes could blaze like meteors and be gay,
Rage, rage against the dying of the light.
And you, my father, there on the sad height,
Curse, bless, me now with your fierce tears, I pray.
Do not go gentle into that good night.
Rage, rage against the dying of the light.'
- Dylan Thomas
www.Zend.To
Twitter: @JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20210603/469b77d7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 94307 bytes
Desc: not available
URL: <http://jul.es/pipermail/zendto/attachments/20210603/469b77d7/attachment-0001.png>
More information about the ZendTo
mailing list