Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-07-16 17:28:28

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,259
GitHub

Textpattern 4.8.2 is nearly ready

Textpattern 4.8.2 is nearly ready for you, and we are confident it will be released soon.

Part of the pre-release process involves checking for bugs, inconsistencies, and other things that need attention.

I will defer to one or more of the core developer team to explain what particularly should be tested. Our release process has been streamlined over the years, and more testers = more eyeballs = more bugs found, and subsequently squashed.

Please spin up a test copy of the current 4.8.2 development branch of Textpattern if you are able to. Take a close look around the admin-side, note any anomalies, or unexpected behaviours, or other things that look wrong. Build up some tag scaffolds and see what happens.

Here is a .zip for testing – note this is not a final, supported production release, but barring any significant changes it is functionally close to it.

We hope to have a more regimented testing procedure in future, along with semi-automated testing, but nothing beats the Textpattern user community for poking and prodding at our plucky CMS.

Thank you.

Offline

#2 2020-07-16 19:07:46

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: Textpattern 4.8.2 is nearly ready

Yay. Pleased with how this release is shaping up; thank you to everyone involved so far.

The main things to check are:

  • No regressions in tags, so please test populated sites (or clones thereof) if you can.
  • <txp:yield> container tags to see if it’s fixed the regressions in 4.8.1.
  • <txp:posted format="%s" /> works and returns the correct unix epoch without error.
  • category matching in <txp:article_custom> using the match attribute.
  • The new size attribute in <txp:images> to filter by size or aspect ratio. Try: size=
    • "landscape"
    • "portrait"
    • "square" (or "1")
    • "16:9" or "4:3" or "480:720" or something like that as a ratio
    • "1.33" or "0.89" or "0.75" or something like that as a decimal ratio (>1 = width greater than height. <1 = height greater than width)
    • "200:" to match images of exactly that width
    • ":450" to match images of exactly that height
  • Language handling on the login panel. In multi-language admin environments you can now set your language on the login panel prior to login and it’ll stick. When you create new users you can also define their language on the Users panel and they’ll get invite/password reset messages in that language for a more seamless experience.
  • Plugins loaded from the cache directory get all strings translated, including menu labels.
  • Multi-edit works on all panels (there was a bug in 4.8.0 and 4.8.1 on the Forms panel).

There are other things, so please check HISTORY for the full list of alterations. The main thing is that the admin side and your sites continue to work without issue.

Please report anything squiffy and we’ll investigate. Thank you in advance.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2020-07-16 19:30:40

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

Re: Textpattern 4.8.2 is nearly ready

I confirm: it is way easier to patch a bug one week before the release than after it. So, please..

Offline

#4 2020-07-16 23:37:45

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

Re: Textpattern 4.8.2 is nearly ready

  1. yesterday and day before i’ve been working on the local copy of a real world site using 4.8.2. as I mentioned elsewhere the one issue with the “multi-edit” widget on the forms panel now works fine.
  2. non-english URI for category/author/… still work, afaik (dunno about the breadcrumb tag though).
  3. the way I use yield/@if_yield@ worked and still works
  4. the language selector on the login screens behaves, as far as I can tell.

As far as I understand, everything that is in 4.8.2 now is in 4.9.0-dev too, right ? My age-old playground runs dev and has lots of stuff that I don’t want to mix with that real-world site I use


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#5 2020-07-17 04:50:39

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

Re: Textpattern 4.8.2 is nearly ready

Uploaded and started testing. Thanks so much guys.

Can somebody give a simple example of how <txp:if_yield else /> can be used?

also..

  • Changed: Matching categories in <txp:article_custom> now performs AND. Use match=“Category” for previous OR behaviour.

Does this mean <txp:article_custom category match="cat1,cat2" />?

Last edited by colak (2020-07-17 05:01:30)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2020-07-17 09:11:57

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

Re: Textpattern 4.8.2 is nearly ready

colak wrote #324611:

Uploaded and started testing. Thanks so much guys.

Hi Yiannis, thanks for testing.

Can somebody give a simple example of how <txp:if_yield else /> can be used?

A basic one: if_drunk shortcode:

<txp:evaluate query='<txp:yield name="bottles" escape="integer" /> > 2'>
    <txp:yield default="stop" />
<txp:else />
    <txp:if_yield else>
        <txp:yield else />
    <txp:else />
        decide yourself
    </txp:if_yield>
</txp:evaluate>

Used like this (outputs You'd better decide yourself)

You'd better
<txp::if_drunk bottles="2">
    sleep
</txp::if_drunk>

But you can take the hand (outputs You'd better continue)

You'd better
<txp::if_drunk bottles="2">
    sleep
<txp:else />
    continue
</txp::if_drunk>

Offline

#7 2020-07-17 09:19:30

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: Textpattern 4.8.2 is nearly ready

Nice example, Oleg! In my case the evaluate test would be > 1 though.

#GirlyLightweight


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#8 2020-07-17 09:27:30

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

Re: Textpattern 4.8.2 is nearly ready

Bloke wrote #324622:

In my case the evaluate test would be > 1 though.

I’m slowly tending to 0, but trying to resist.

Offline

#9 2020-07-17 12:21:09

singaz
Member
Registered: 2017-03-12
Posts: 150

Re: Textpattern 4.8.2 is nearly ready

Updated to 4.8.2. Thanks so much for the new version!

The category is displayed like this:

https://site.com/%d0%9a%d0%b0%d1%82%d0%b5%d0%b3%d0%be%d1%80%d0%b8%d1%8f/news/

P.S.
The category in this engine is a disaster. Only two positions are few. Complicated inconvenient url display for two categories. There is no way to create self-selected nested categories. There is no freedom of change to optimize SEO.

It would be better to introduce a new alternative the “Category”. Something like pageless sections.

Because the engine is compact, light, fast.


Sorry my horror English. I’m learning textpattern, I’m learning English

Offline

#10 2020-07-17 13:03:06

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: Textpattern 4.8.2 is nearly ready

singaz wrote #324632:

The category is displayed like this: https://site.com/%d0%9a%d0%b0%d1%82%d0%b5%d0%b3%d0%be%d1%80%d0%b8%d1%8f/news/

Weird. With a Chinese category name 芭蕉吊床 (allegedly, banana hammock!) and the front-end language set to zh-cn, it displays the URL fine in the browser but if you copy and paste the URL out, you get:

http://example.com/%e5%88%86%e7%b1%bb/%E8%8A%AD%E8%95%89%E5%90%8A%E5%BA%8A/

I’m not sure if that was always the same in 4.8.1 and earlier. Anyone confirm?

Singaz, what language are you using for the front-side and admin-sides, out of curiosity? And what permlink scheme?

The category in this engine is a disaster. Only two positions are few.

Yes, this is a noted weakness and we’re going to add Tags into the mix at some point. Categories will probably remain limited at two, but we’ll likely re-purpose the (largely redundant) keywords feature into an unlimited tagging system.

Last edited by Bloke (2020-07-17 13:04:14)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#11 2020-07-17 13:17:39

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

Re: Textpattern 4.8.2 is nearly ready

Bloke wrote #324633:

Weird. With a Chinese category name 芭蕉吊床 (allegedly, banana hammock!) and the front-end language set to zh-cn, it displays the URL fine in the browser but if you copy and paste the URL out, you get:

[…]

I’m not sure if that was always the same in 4.8.1 and earlier. Anyone confirm?

Firefox, right ? (or chromium based browser, on Windows). That is normal, we’ve been over that in the past.

that s the way those store the URL internally.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#12 2020-07-17 13:23:05

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: Textpattern 4.8.2 is nearly ready

phiw13 wrote #324634:

Firefox, right… that s the way those store the URL internally.

Yes. I’m just curious why it’s displaying this way for Singaz in the URL address bar? It doesn’t for me. Maybe it’s a browser thing.

Singaz: what browser are you using?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB