Textpattern CMS support forum

You are not logged in. Register | Login | Help

#151 2018-10-20 19:38:34

etc
Developer
Registered: 2010-11-11
Posts: 2,947
Website

Re: Testers needed: flat development (4.7+ only)

Vienuolis wrote #314661:

I mean we should avoid dependence from Apache and other non-standard rules, at least in documentation.

I concur, but we seem to do it already.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#152 2018-10-21 09:59:26

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 172
Website

Re: Testers needed: flat development (4.7+ only)

Being lean, smart, and secure web-publishing loom, Texpattern should respect right web-servers, too. Hiawatha is standards-complied, full-featured, completely documented, light, secure and robust, free open-source HTTP server software, far human-friendlier than NginX, Apache.

Could I submit the third section of that docs with Hiawatha configuration tips?

Offline

#153 2018-10-21 10:49:17

etc
Developer
Registered: 2010-11-11
Posts: 2,947
Website

Re: Testers needed: flat development (4.7+ only)

Vienuolis wrote #314670:

Could I submit the third section of that docs with Hiawatha configuration tips?

No doubt you can, that would be ace. Textpattern has a small dev team, so community contributions are essential. I’m not in charge of the docs, but a pull request on this should suffice. Thanks!


etc_[ query | search | pagination | date | tree | cache ]

Offline

#154 2018-10-21 12:57:21

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,378

Re: Testers needed: flat development (4.7+ only)

etc wrote #314660:

Servers configuration is not my cup of tea, NginX even less. I guess you’d need to forbid the direct access to .txp files, and Pete @gaekwad should know how :-)

We have this sort-of covered already with the Nginx boilerplate here — these lines:

  location ^~ /themes/\.txp$ {
    return 403;
  }

Define the thing you want to prevent access to with a regex, then give it the http error code in this case and you’re done.

I will enthusiastically +1 the proposal from Vienuolis to add info about Hiawatha, especially since that will mean I can take a look over winter to tidying up and expanding some of the older documents. I’m very in favour of more ‘how to’ config guides.

Offline

#155 2018-10-21 12:58:34

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,378

Re: Testers needed: flat development (4.7+ only)

etc wrote #314671:

No doubt you can, that would be ace. Textpattern has a small dev team, so community contributions are essential. I’m not in charge of the docs, but a pull request on this should suffice. Thanks!

…and if you’re not comfortable with GitHub, I will gladly help with putting it all together.

Offline

#156 2018-10-21 19:03:12

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 172
Website

Re: Testers needed: flat development (4.7+ only)

Thank you both for the kind invitation. I have registered to Github today, and made my first contribution, despite I am not a programmer, though. Will correct to fit the high TxP community standards, thanks for your advice.

Offline

#157 2018-10-22 08:24:19

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,092
Website

Re: Testers needed: flat development (4.7+ only)

@Vienuolis that’s great! Thanks for contributing.

When you are ready for it to be added to the docs site please open a pull request from your GitHub patch-1 branch back to the master repo – we will then proof-read, edit if necessary and then merge. After-which, the docs will be live for all to see.

Thanks again!

Offline

#158 2018-10-22 10:54:54

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 172
Website

Re: Testers needed: flat development (4.7+ only)

Thanks, I have just made my first pull request, patch-1 titled as „Hiawatha for Texpattern“. Sorry for my poor English language, and thank you for spelling it correctly.

Offline

#159 2018-10-22 15:30:51

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 172
Website

Re: Testers needed: flat development (4.7+ only)

Github crashed yesterday, and jobs are still suspended — will postpone tomorrow, SYL!

Offline

#160 2018-10-23 06:50:12

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 172
Website

Re: Testers needed: flat development (4.7+ only)

Everything is OK now, AFAIK. You can verify and merge my commit, if such how-to is appropriate.

Last edited by Vienuolis (2018-10-23 06:52:02)

Offline

Board footer

Powered by FluxBB