Currently, only the download privacy action handles catalogue fields (via serialise).
Also handle catalogue fields in the anonymise privacy action, and get_selection_sql privacy code module function:
get_selection_sql:
piggy-back off of catalogue_entries... in catalogue_entries, JOIN on the catalogu…
Suggested by Patrick Schmalstig on 30th January 2024
» Full details and sponsorship (2 comments)
It is possible for a server to get overloaded with multiple tasks running at the same time. This is because Cron will start a new task from the queue regardless of the number of tasks locked.
Perhaps this behaviour should be modified. Maybe Cron should not start a new task if X tasks are currently locke…
Suggested by Patrick Schmalstig on 31st January 2024
» Full details and sponsorship (3 comments)
On the screen for correcting MySQL schema issues, present each detected issue in a table of tick boxes. Add a new button that says "Fix Selected" or something like that. Allow ticking off queries to run when the new fix button is clicked.
The name of each tick box should be the MD5 of the query so we ca…
Suggested by Patrick Schmalstig on 4th February 2024
» Full details and sponsorship (6 comments)
The points system currently has "Points Balance", "Gift Points", and "Life-Time Points".
Add a new one called "Activity Points". This operates similar to life-time points in that they cannot be spent on anything. However unlike life-time points, this value more clearly represents a member's total amount…
Suggested by Patrick Schmalstig on 6th February 2024
» Full details and sponsorship (4 comments)
Since it is not possible at this time to maintain the special ocp PHP (much less compile it on certain machines), we should consider adding declare(strict_types=1) at the top of every PHP file in the v11 codebase.
Be cautious about its implementation; it must also be explicitly included in eval code (un…
Suggested by Patrick Schmalstig on 7th February 2024
» Full details and sponsorship (9 comments)
Currently, the Composr standard is to use the long-form of int and bool in PHPDoc, and the short form in actual code. This is in violation of PSR-12. It MUST always be short form.
Fix code quality checker, documentation, code, etc.
Suggested by Patrick Schmalstig on 7th February 2024
» Full details and sponsorship (0 comments)
PSR-12 does not allow "else if", but this also includes uses like this:
if ($something) {
} else {
if ($something_else) {
}
}
This can (and MUST according to PSR-12) be merged into...
if ($something) {
} elseif ($something_else) {
}
Fix all of these occurrences, document it in coding st…
Suggested by Patrick Schmalstig on 7th February 2024
» Full details and sponsorship (5 comments)
Make new hooks->systems->form_handlers in Composr v10 to handle forms submitted (such as sending form data to external software systems).
A hook can be created within form_handlers to handle forms submitted. Available methods (for now) include handle_catalogue_entry, handle_registration, handle_profile_…
Suggested by Patrick Schmalstig on 8th February 2024
» Full details and sponsorship (9 comments)
Some sites may prefer the ability to send warning PTs anonymously to discourage staff harassment (since violators won't know which staff member issued the warning). Add this as a tick box option on the warnings form.
If ticked and a PT is sent, the PT is sent from system instead of the staff member issu…
Suggested by Patrick Schmalstig on 9th February 2024
» Full details and sponsorship (1 comment)
Currently we are limited to underscores and perhaps hyphens
I have created pages such as "numento.fi.txt" which work as intended on the frontend but they cannot be edited via Composr due to the period (as you Americans like to call it).
Suggested by Adam Edington on 10th February 2024
» Full details and sponsorship (3 comments)