Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2016-12-06 06:06:30

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

Re: Forum updated

Might be a good idea to disable ligatures for code blocks, both inline code and inside pre blocks. See for example the word “files“ inside an inline code block at the bottom of this post (at least visible on OSX 10.11 + Safari)

Monospace font with ligatures? Weird…


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

Offline

#50 2016-12-06 10:36:10

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

Re: Forum updated

phiw13 wrote #303185:

Might be a good idea to disable ligatures for code blocks, both inline code and inside pre blocks.

Done!

Offline

#51 2016-12-06 11:53:26

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

Re: Forum updated

philwareham wrote #303190:

Done!

Looks better now, Thanks!


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

Offline

#52 2017-02-07 12:10:54

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

Re: Forum updated

The forum has been updated to v1.1.0 – let me know if there are any problems. Cheers!

Offline

#53 2017-02-07 14:40:19

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

Re: Forum updated

philwareham wrote #303869:

The forum has been updated to v1.1.0 – let me know if there are any problems. Cheers!

More of a question rather than a comment:

In the htaccess you have

# ETags.

<IfModule mod_headers.c>
    Header unset ETag
</IfModule>
FileETag None


# Content Security Policy.

<ifModule mod_headers.c>
    Header unset P3P
    Header append X-XSS-Protection "1; mode=block"
    Header append X-Frame-Options "DENY"
    Header append X-Content-Type-Options "nosniff"
    Header append Content-Security-Policy "default-src 'self'; font-src fonts.gstatic.com https://fonts.gstatic.com; img-src 'self' data: * https://*; style-src 'self' 'unsafe-inline' ajax.googleapis.com fonts.googleapis.com gist.github.com platform.twitter.com https://ajax.googleapis.com https://fonts.googleapis.com https://gist.github.com https://platform.twitter.com; script-src 'self' www.google.com ajax.googleapis.com gist.github.com cdnjs.cloudflare.com *.google-analytics.com https://www.google.com https://ajax.googleapis.com https://gist.github.com https://cdnjs.cloudflare.com https://*.google-analytics.com https://*.twitter.com; frame-src *.youtube-nocookie.com https://*.youtube-nocookie.com *.twitter.com https://*.twitter.com twitter.com https://twitter.com"
</ifModule>

Wouldn’t this also work if you had:

<IfModule mod_headers.c>
# ETags.
    Header unset ETag
    FileETag None
# Content Security Policy.
    Header unset P3P
    Header append X-XSS-Protection "1; mode=block"
    Header append X-Frame-Options "DENY"
    Header append X-Content-Type-Options "nosniff"
    Header append Content-Security-Policy "default-src 'self'; font-src fonts.gstatic.com https://fonts.gstatic.com; img-src 'self' data: * https://*; style-src 'self' 'unsafe-inline' ajax.googleapis.com fonts.googleapis.com gist.github.com platform.twitter.com https://ajax.googleapis.com https://fonts.googleapis.com https://gist.github.com https://platform.twitter.com; script-src 'self' www.google.com ajax.googleapis.com gist.github.com cdnjs.cloudflare.com *.google-analytics.com https://www.google.com https://ajax.googleapis.com https://gist.github.com https://cdnjs.cloudflare.com https://*.google-analytics.com https://*.twitter.com; frame-src *.youtube-nocookie.com https://*.youtube-nocookie.com *.twitter.com https://*.twitter.com twitter.com https://twitter.com"
</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

#54 2017-02-07 14:45:16

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

Re: Forum updated

colak wrote #303873:

Wouldn’t this also work if you had: ...

Sure, it’d work either way (although the FileETag None should be outside of the mod_headers check).

To be honest I don’t even know if we need the ETag rules, might already be unset properly in the server config. I’ve never tested. Tested and we do need the ETag rules in htaccess.

Last edited by philwareham (2017-02-07 14:54:50)

Offline

#55 2017-02-10 13:52:23

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

Re: Forum updated

Forum now uses Prism for code highlighting (instead of Google Code Prettify) – please note that the list of supported languages has changed.

TLDR you can now highlight these new ones:

apacheconf, git, haml, less, markdown, nginx, sass, scss, stylus, and textile.

Plus I removed some of the languages that I don’t think are relevant to this forum (such as dart and rust) for permanence gains.

Offline

#56 2017-03-14 13:22:06

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: Forum updated

philwareham wrote #303869:

The forum has been updated to v1.1.0

This seems to be an internal version number: What FluxBB version is the forum running, I just wanted to have a look at the correct documentation.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#57 2017-03-14 13:53:18

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

Re: Forum updated

It’s running FluxBB 1.5.10 (latest version available)

Offline

#58 2017-03-14 13:58:25

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: Forum updated

Ah, I was mislead by their docs page, where there is a v2.0. Thanks.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#59 2017-03-14 14:16:22

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

Re: Forum updated

uli wrote #304728:

Ah, I was mislead by their docs page, where there is a v2.0. Thanks.

Yes, the previously planned FluxBB version 2 is never going to happen now. Someday in the far future I may move the forum to FeatherBB (forked form FluxBB, and in beta) if needs be.

Offline

#60 2017-03-19 10:35:12

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

Re: Forum updated

Something to consider for a next upgrade: running OSX 10.11, the scrollbars knobs on the page are white in Safari / Opera / and I suppose Chrome – and thus near invisible (overlay scrollbars, the default with trackpads, Magic Mouse). A bit confusing (ahem).

That is because the background-color on <body> is set to #333 (propagated to the window), and the background on div.wrapper is set to white.

PS – Firefox also, they finally managed to follow the default OS rules…; I did not check iOS.


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

Offline

Board footer

Powered by FluxBB