Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-04-09 17:13:31

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

#2 2016-04-09 18:58:47

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,596
Website

Re: 4.6 branch

Yes, that’s it!


TXP Builders – finely-crafted code, design and txp

Offline

#3 2016-04-10 06:37:07

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

#4 2016-04-10 07:38:30

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

#5 2016-04-10 08:27:35

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,079
Website

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

Offline

#6 2016-04-10 09:58:17

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

#7 2016-04-10 10:16:02

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,079
Website

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:

  1. You upload your txp4.6 files to your server
  2. you log in, the scripts run to update the DB
  3. the admin theme used is Hive (admin themes moved to a new folder), independently from the admin theme you might have been using previously
  4. 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

Offline

#8 2016-04-10 15:47:58

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

#9 2016-04-11 09:10:25

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

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

#10 2016-04-11 09:40:40

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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

#11 2016-04-11 13:26:13

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,079
Website

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

Offline

#12 2016-04-11 16:49:07

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: 4.6 branch

We did look at versioning the CSS and JavaScript but no satisfactory solution presented itself (see discussion here).

Offline

Board footer

Powered by FluxBB