Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
4.6 branch
Apologies for the very basic question. I am getting some free time and I would like to give the 4.6 branch a spin. Would this be the one found here?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Offline
Re: 4.6 branch
Updated one of my sites on a dev environment and except from having to update adi_notes to the latest version all is currently running smoothly! Wonderful job guys!
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: 4.6 branch
There is one minor comment. As I am currently using the Remora admin theme, after updating the site, I got a white screen informing me that txp would use the default theme. This screen had no links to it. The way I went about it was to log out and then log in again.
Was that intended?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: 4.6 branch
colak wrote #298568:
There is one minor comment. As I am currently using the Remora admin theme, after updating the site, I got a white screen informing me that txp would use the default theme. This screen had no links to it. The way I went about it was to log out and then log in again.
Was that intended?
I have yet to experience that one issue…. Reloading the page should then load the default Hive styles, no ?
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: 4.6 branch
I’ll have to re-upload the old database so as to check:) In any case, a refresh might not be a good solution ether.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: 4.6 branch
colak wrote #298570:
In any case, a refresh might not be a good solution ether.
Oh, I certainly won’t disagree there :-)
I thought the workflow was supposed to be:
- You upload your txp4.6 files to your server
- you log in, the scripts run to update the DB
- the admin theme used is Hive (admin themes moved to a new folder), independently from the admin theme you might have been using previously
- you are directed to the languages tab to update the language files
Is that not what happened ?
Or, are the old stylesheet and js files still doing something? Some aggressive caching? That would surprise me as Textpattern does’t look for those anymore.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: 4.6 branch
phiw13 wrote #298571:
Or, are the old stylesheet and js files still doing something? Some aggressive caching? That would surprise me as Textpattern does’t look for those anymore.
Although I am yet to do another test, I have these in my htaccess file which might have tampered with the smooth transition
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/html "access plus 0 seconds"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType application/atom+xml "access plus 1 hour"
ExpiresByType application/rss+xml "access plus 1 hour"
ExpiresDefault "access plus 1 month"
</IfModule>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: 4.6 branch
Hi Yiannis,
I don’t know if it’s related, but textpattern.js has changes quite a bit in 4.6.
Offline
Re: 4.6 branch
There isn’t really much need to specifically cache Textpattern control panel resources, beyond the browser’s default rules. They are not public facing nor particularly large.
Offline
Re: 4.6 branch
philwareham wrote #298577:
There isn’t really much need to specifically cache Textpattern control panel resources, beyond the browser’s default rules. They are not public facing nor particularly large.
I suspect Ianis doesn’t put those rules in a /textpattern/ specific .htaccess file, but rather at the top level of the site, or in the Apache config files.
But as I said, at the presentation layer, this doesn’t really matter, as TXP 4.6 fetches the theme resources from a different folder. textpattern.js though, that one is fetched from the same location as TXP 4.5. If the browser still fetches the old file from cache, I imagine that could mean some level of trouble. Displaying a blank page is a bit much though.
Perhaps some kind of versioning for that file is still needed.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: 4.6 branch
We did look at versioning the CSS and JavaScript but no satisfactory solution presented itself (see discussion here).
Offline
Re: 4.6 branch
My only (atm) core issue were insufficient script privileges for removing import and other deprecated folders/files, redirecting all admin pages to ?event=lang, until I manually deleted them. I think, this part should be wrapped in try ... catch block with some explicit warning, since it requires user action anyway.
But there is also an annoying plugin issue. The upgrade script alters the db, replacing former 0000-00-00 datetime stamps with NULL. This potentially breaks any plugin that uses txp NULLDATETIME constant, making the upgrade plan rather complicated: core first (and then very quickly updated plugins) or inversely?
Offline
Re: 4.6 branch
The htaccess is in the root so, I guess that it is affecting the whole site. I might be wrong though. Tomorrow I’ll be trying a clean install and another update and make sure I take notes!!! Apart from the minor glitch mentioned above there is no other bugs that I can detect.
I do have another question though. Will 4.6 support unlimited custom fields? There was a big discussion about them but I do not see them there.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: 4.6 branch
Ok:) I found something in the languages pane.
I updated the language, en-gb on updating the site. Now I get an install link for a textpack which is older that the one I have.
Up-to-date 17 Mar 2016 10:52:49 Install Feb 18, 10:35 AM
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline