Earlopain
fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
...
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00
clragon
3a2987c84f
[Search] Allow ascending order for IDs
2023-07-07 14:55:30 +02:00
Earlopain
cc414d0320
[EmailBlacklist] Increase unverify treshold
2023-06-03 18:40:08 +02:00
Earlopain
b9ee500ec5
[Cleanup] Use same signature for cache methods as rails
2023-05-19 22:53:20 +02:00
Earlopain
cb3d34b650
[Cleanup] Use the same method names for Cache as Rails
2022-11-29 19:14:09 +01:00
Earlopain
3b714dd726
[EmailBlacklist] Only unverify exact domain matches
2022-05-23 08:10:54 +02:00
Earlopain
3108613b0e
[EmailBlacklist] Unverify existing users on create
2022-05-22 15:21:41 +02:00
Earlopain
fc285ad3c3
[Search] Remove legacy sort
options
...
Also removes an unnecessary default for the order of tag_relations
This puts nil in the params, making them non `empty?` and showing
the search form even when no parameters are set in the url
2022-04-02 16:52:38 +02:00
Earlopain
a7f129100e
[EmailBlacklist] Refactor is_banned? to be easier to read
2022-03-27 20:38:37 +02:00
Earlopain
ce7e5a1bc9
[Misc] Add created_at/updated_at to a few index pages
...
Also adds a user search to the email blacklist and removes a useless order option
2022-03-05 21:27:49 +01:00
Kira
81a1b4b544
Make tests about 300x faster by not doing expensive ops
2019-09-09 12:58:18 -07:00
Kira
b64d223b46
Update validations to use new syntax
2019-09-05 05:59:51 -07:00
Kira
cfd65dc20b
Add DNS email blacklist support
...
Look up the MX records for domains when validating blacklists.
A common trick is to register a domain and point it at a spam
email provider to bypass lists.
2019-02-09 18:57:35 -08:00
Kira
0bd76687a6
Add email blacklist controller
2019-02-09 18:42:43 -08:00
Kira
143e428bab
Add email blacklist to user model
...
Thi allows prevent specific email addresses from being used during
signup or email change.
2019-02-09 14:00:37 -08:00