When pushing a bug fix, have JS copy the selected list of files to a text field, and allow customising that to determine what files will go into the hotfix.
OR
Separate hotfix generation to a second step, with a repeat of the list box given, to allow re-customisation for the hotfix.
Suggested by Chris Graham on 8th October 2020
» Full details and sponsorship (0 comments)
PHP has a hodge-podge of errors, exceptions, functions to find recent errors (e.g. json_last_error), and error return values (e.g. false for strpos).
Composr (v11+) handles errors in a configurable way. You can make them fatal, or attach warnings, or log them.
But we don't do it with exceptions, we d…
Suggested by Chris Graham on 10th October 2020
» Full details and sponsorship (0 comments)
1) Do not strip out directives entirely from Comcode to plain text conversion. This may have resulted in no unsubscribe link for the text-version of e-mails.
2) Use explicit Comcode 'url' tag in default unsubscribe text. Not needed but makes behaviour clearer.
3) Improve testing of newsletter parsing and…
Suggested by Chris Graham on 24th October 2020
» Full details and sponsorship (1 comment)
Not all social networks implement oEmbed or Opengraph, meaning embed links may not work for them all.
Hybridauth (implemented in v11, and being enhanced by me) will have an API to generate Atom post data for individual URLs for a connected social network.
Integrate this into the Composr media embed s…
Suggested by Chris Graham on 7th November 2020
» Full details and sponsorship (0 comments)
These are all tricky to merge, so assigning to Salman...
https://gitlab.com/composr-foundation/composr/-/commit/e3001cb1df56166ad25815058ab06a541e574d09 - Fixed MANTIS-4462 (Signature WYSIWYG has issues if there's a posting-field CPF)
https://gitlab.com/composr-foundation/composr/-/commit/2c60e5f49108a…
Suggested by Chris Graham on 16th November 2020
» Full details and sponsorship (0 comments)
For large category structures, it is necessary to have a cache table for all the structural relationships going all the way down the tree, to be able to find all categories that exist underneath another without recursion.
catalogue_cat_treecache does this for catalogue categories already.
Doing this,…
Suggested by Chris Graham on 26th November 2020
» Full details and sponsorship (0 comments)
Experts recommend 16px, but v11 will be on 14px (v10 13px).
Popular social networking sites on average are using about 14px.
Suggested by Chris Graham on 29th November 2020
» Full details and sponsorship (1 comment)
Implement Patreon webhooks (https://docs.patreon.com/#webhooks) and initial sync (https://docs.patreon.com/#paging-through-a-list-of-pledges) so that we have a database table listing email addresses of Patrons. Any email matching to a logged in user will then be put into a configured Patron usergroup.
Mak…
Suggested by Chris Graham on 29th November 2020
» Full details and sponsorship (0 comments)
Add some banners to the site:
1) Consider contributing (links to contribution page)
2) Consider supporting a contributor (links to contributors page, where there's Patreon links etc)
Suggested by Chris Graham on 29th November 2020
» Full details and sponsorship (1 comment)
In the past the t_cache_first_title field was used to hold IDs of comment topics, but it was moved to t_description.
Write upgrade code to migrate this over, then remove legacy code from cns.php.
Suggested by Chris Graham on 2nd December 2020
» Full details and sponsorship (0 comments)