Add options to protect against brute-force login attempts.
1) Maximum login frequency by IP address
2) Maximum login frequency (global)
The format would be...
[<num>/<seconds>[,]]*
e.g. 3/10,7/60,20/3600,30/86400
This means "Max 3 attempts within last 10 seconds, Max 7 attempts within last…
Suggested by Chris Graham on 1st October 2019
» Full details and sponsorship (2 comments)
A good way to attract attention in a crowded inbox, and to summarise an email, is to use an emoji at the start of the subject lines.
Consider an option to the mailer function that specifies what emoji to use, and a global option to decide if the feature is on or not.
Suggested by Chris Graham on 9th October 2019
» Full details and sponsorship (0 comments)
Currently the referrals export is done in real-time.
For sites with very large referrer bases, running on systems with short timeouts, this isn't going to work.
Suggested by Chris Graham on 18th October 2019
» Full details and sponsorship (0 comments)
We do a pretty good job of validating CSS, but there's always more to do.
Here's some things that are just pass-through in the validator, but could be properly validated:
- @font-face
- @keyframes
- @namespace
- animation property (due to great complexity, lots of shorthanded properties repeated…
Suggested by Chris Graham on 22nd October 2019
» Full details and sponsorship (1 comment)
Do a big code and UI audit, maybe both myself and Patrick.
Suggested by Chris Graham on 23rd October 2019
» Full details and sponsorship (7 comments)
I think currently for Composr internal validation we are not doing API checks, otherwise it'd be failing because there are a lot of JS core functions available since the JS validation code was written.
Ideally we'd rebase the JS API to what is in our minimum IE/Edge version, and re-enable. Or maybe we s…
Suggested by Chris Graham on 29th October 2019
» Full details and sponsorship (0 comments)
We parse regexp's with the assumption that any '/' that is not escaped closes the regexp.
This seems like a reasonable assumption, but is not true within character class definitions (square brackets).
Currently we just enforce that even within character classes, slashes must be escaped.
Ideally th…
Suggested by Chris Graham on 29th October 2019
» Full details and sponsorship (0 comments)
There's a new 'samesite' cookie attribute, which can be used to reduce the potential for CSRF attacks.
Make use of it for the session cookie.
Suggested by Chris Graham on 7th November 2019
» Full details and sponsorship (0 comments)
E-mail is implemented in a complicated way, more complicated and error prone than it needs to be for our situation.
A mail client connects to an SMTP relay server (smarthost), and the message goes into that server's queue - and that server then connects to the recipient's SMTP server (or another relay,…
Suggested by Chris Graham on 7th November 2019
» Full details and sponsorship (0 comments)
This issue is to solve a few distinct issues:
1) We cannot have the session ID as httponly as it is used as an ad-hoc CSRF token (getCsrfToken function).
2) CSRF tokens may expire which is poor user experience (for example, a form is opened, a user goes to sleep, and submits it the next day - but the t…
Suggested by Chris Graham on 15th November 2019
» Full details and sponsorship (0 comments)