Output streaming was a cool idea - have pages be able to put out HTML quickly and stream it, rather than waiting for the whole page to generate.
However, now I can see this is not very practical. Any kind of output compression (gzip, Brotli) requires putting in place a PHP output handler. This output ha…
Suggested by Chris Graham on 12th December 2019
» Full details and sponsorship (0 comments)
There is currently no direct unit testing for the points system.
Test giving points ('give_points' function) to member #2 and that those points raise what the API claims are the total points for that member by the expected amount. Test that 'get_gift_points_used' goes up for get_member() as expected and…
Suggested by Chris Graham on 28th December 2019
» Full details and sponsorship (0 comments)
Within first hour of a new year, decache GLOBAL_HTML_WRAP.tpl IF it the modification date is from the previous year. Do this in Cron.
This is necessary as the $COPYRIGHT symbol is pre-compiled into templates, and thus even if a dynamic date is configured, it will only work once that template is re-compi…
Suggested by Chris Graham on 3rd January 2020
» Full details and sponsorship (0 comments)
1) Cannot do default reverse sorting
2) Blank cells create various issues
3) IDs should be able to have dashes
4) When rows are filtered the bottom of the table looks ugly
Suggested by Chris Graham on 3rd January 2020
» Full details and sponsorship (0 comments)
Google is pushing for getting rid of the old UA string, over the next few years.
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/-2JIRNMWJ7s/yHe4tQNLCgAJ
It's not so bad for now, as they are just freezing the string, but eventually it will probably be removed entirely - in which case w…
Suggested by Chris Graham on 14th January 2020
» Full details and sponsorship (2 comments)
webp is now supported in all the major browsers but Composr doesn't allow uploading of webp. Given the files are smaller and faster loading with no loss of quality I think it's about time we allowed this image type.
Suggested by Adam Edington on 23rd January 2020
» Full details and sponsorship (2 comments)
Rather than just logging to text files, make it configure on a per-log basis if logs should go to syslog. A sysadmin can then have the syslog be rsyslog, configured to send to a central network location.
This is useful when hosting across multiple servers, not having to chase down logs on individual mac…
Suggested by Chris Graham on 26th January 2020
» Full details and sponsorship (5 comments)
Our downloader recognises '403' as a responsible code, but IIS has non-standard subcodes...
https://en.wikipedia.org/wiki/HTTP_403#Substatus_error_codes_for_IIS
As things are currently implemented, these will be handled as unknown responses, rather than just as 403 responses (which they should be han…
Suggested by Chris Graham on 26th January 2020
» Full details and sponsorship (2 comments)
Reference fields allow input via tree-list selection. This may be cumbersome for some sites, especially relationship-heavy catalogue structures.
Via field-options, provide the option to instead allow input via a <select> (with select2 support so you can type and have it auto-complete by substring).
A…
Suggested by Chris Graham on 29th January 2020
» Full details and sponsorship (0 comments)
When you add a catalogue you can specify to pre-create a lot of categories.
This is nice, but could use some work...
1) It would be better to have a text input area and have new lines as delimiters rather than "|" symbols.
2) It would be good to be able to see what exists on another catalogue so you…
Suggested by Chris Graham on 29th January 2020
» Full details and sponsorship (0 comments)