Very commonly you have conventions for how things are worded, or common mistakes in HTML when using a WYSIWYG editor.
Examples...
1) A multi-word proper noun needing nbsp entity rather than spaces
2) Accidental double spacing using nbsp entity
3) Accidental white-space at end of a line
4) ... or a p…
Suggested by Chris Graham on 24th March 2019
» Full details and sponsorship (1 comment)
In various places we use can_arbitrary_groupby and/or remove_duplicate_rows to strip out duplicated rows coming out of SQL queries.
This is because doing JOINs on tables will multiply up rows on the main table being queried, if the joined table has multiple matching records.
For example, if you are usi…
Suggested by Chris Graham on 3rd April 2019
» Full details and sponsorship (6 comments)
Little known trick that PHP's isset can take multiple arguments:
https://twitter.com/ericlbarnes/status/1113869112390967296?s=19
Employ this where appropriate in our code.
Suggested by Chris Graham on 5th April 2019
» Full details and sponsorship (0 comments)
https://wicg.github.io/web-share/
At this time I think only Safari supports it, so it's very early days. It is interesting though.
EDIT: And Chrome, but not Firefox.
Update tut_webapp to reference the spec.
Suggested by Chris Graham on 5th April 2019
» Full details and sponsorship (3 comments)
See Safari's announcement:
https://webkit.org/blog/8718/new-webkit-features-in-safari-12-1/
You can make a website light/dark based on media queries. This would be a really cool feature for Composr's default theme.
Currently it's non-standardised.
What is exciting to me is that this may be cool e…
Suggested by Chris Graham on 5th April 2019
» Full details and sponsorship (1 comment)
I put through a patch allowing country names to be internationalised.
https://github.com/ocproducts/composr/commit/e8a2e2829f6738cee61001429ff09d33b2894ee6
I did not document it.
However, this is messy because it just overrides the hard-coded English strings. Ideally the English strings should be lang…
Suggested by Chris Graham on 9th May 2019
» Full details and sponsorship (0 comments)
Here's a simple idea, but I think a more effective and useful way of thinking about marketing...
Rather than directly trying to promote Composr, pick individual users (say for a month), and mentor them to ensure they are successful. The hopeful result is another successful Composr site, another happy co…
Suggested by Chris Graham on 13th May 2019
» Full details and sponsorship (0 comments)
Current LDAP support just assumes the original LDAP protocol, with no encryption layer.
PHP has functionality for STARTTLS:
https://www.php.net/manual/en/function.ldap-start-tls.php
It's undocumented, but usage seems straight forward.
An option (or even unofficial hidden option) could be added to s…
Suggested by Chris Graham on 16th May 2019
» Full details and sponsorship (0 comments)
See this topic:
https://compo.sr/forum/topicview/browse/deploying/apache-access-deny-vs.htm
Remove the compat code I added around my changes, and also add a check into Health Check.
Suggested by Chris Graham on 24th May 2019
» Full details and sponsorship (0 comments)
https://cloud.google.com/translate/docs/intro-to-v3
They offer a free tier (I don't believe they did so before).
They provide support for defining terms... so we could provide some kind of editable master-list of terms that should not be translated.
Suggested by Chris Graham on 8th June 2019
» Full details and sponsorship (4 comments)