Andreas Nedbal
658cb0442b
Rename all occurences of associative inbox entry access
2024-01-27 19:21:07 +01:00
Andreas Nedbal
06b2421f2c
Rename all occurences of Inbox
class to InboxEntry
2024-01-27 19:21:07 +01:00
Andreas Nedbal
af9cbcdb11
Rename Inbox
model to InboxEntry
2024-01-27 19:21:07 +01:00
Andreas Nedbal
1e29d3f86f
Rename Appendable::Reaction
to Reaction
2023-10-28 02:44:48 +02:00
Georg Gadinger
c4da510fe7
fix deletion of notification entries when deleting a user
2023-10-18 22:13:25 +02:00
Georg Gadinger
dc41f15097
fix deletion of inbox entries when deleting an user
2023-10-18 21:52:47 +02:00
Karina Kwiatek
4221f8cee9
Fix incorrect user being notified and mutes not being respected
2023-05-05 16:01:48 +02:00
Karina Kwiatek
55090a42f8
Merge pull request #1148 from Retrospring/moar-metrics
...
metrics: add counter for created/destroyed users
2023-04-29 09:54:53 +02:00
Georg Gadinger
48e63cf472
typoed_email_validator: add new endings to the typo list
2023-04-22 22:05:15 +02:00
Georg Gadinger
3508f846e7
pet the cyber canine 9000
2023-03-29 08:04:31 +02:00
Georg Gadinger
a9cf00f75e
metrics: add counter for created/destroyed users
2023-03-29 08:01:35 +02:00
Georg Gadinger
1ffa2e5125
filter out non-anon questions from blocked/muted users in questions view
2023-03-26 18:28:19 +02:00
Georg Gadinger
1791ea2d1a
move timeline test data to shared context
2023-03-26 18:28:19 +02:00
Georg Gadinger
920187bc88
filter out non-anon questions from blocked/muted users in public timeline
2023-03-26 18:28:19 +02:00
Georg Gadinger
f1a1321a25
filter out non-anon questions from blocked/muted users in list timeline
2023-03-26 18:28:19 +02:00
Georg Gadinger
765397d813
filter out non-anon questions from blocked/muted users in home timeline
2023-03-26 18:28:19 +02:00
Georg Gadinger
4e150945e5
typoed_email_validator: add new endings to the typo list
2023-03-09 20:08:15 +01:00
Karina Kwiatek
68e0f02a2d
Adapt tests to match new counter methods
2023-03-07 19:14:14 +01:00
Georg Gadinger
606629577a
make URI.parse part of the validation for the sharing URL
...
the regexp alone and web browsers allows URLs to contain non-ASCII
characters, which `URI.parse` does not like -- resulting in the inbox
page to suddenly break.
also changed the `redirect_to` in the controller to a `render :edit` so
that validation errors are shown properly
2023-02-10 20:48:15 +01:00
Andreas Nedbal
4e5aca9ab5
Add specs for URL validation
2023-02-05 21:54:51 +01:00
Andreas Nedbal
f0eaf9c4a2
Remove Services::Twitter
spec
2023-02-05 21:54:51 +01:00
Georg Gadinger
8b7ba59660
typoed_email_validator: add new endings to the typo list
2023-01-30 06:01:01 +01:00
Georg Gadinger
a59bc3ef92
typoed_email_validator: add new endings to the typo list
2023-01-29 19:19:35 +01:00
Karina Kwiatek
3a6814b908
Respect allow long questions setting
2023-01-08 14:03:54 +01:00
Georg Gadinger
b81bbc2483
typoed_email_validator: add new endings to the typo list
2023-01-06 10:26:32 +01:00
Georg Gadinger
0f9c6f1e07
typoed_email_validator: check for valid TLDs
...
i'm sure there are many more typos waiting to happen. one thing we
can already catch though is the usage of invalid TLDs.
this makes use of my new TLDv gem -- the data it uses can be updated
independently from the main gem.
2022-10-13 21:38:54 +02:00
Georg Gadinger
ea4a661368
typoed_email_validator: add new endings to the typo list
2022-10-13 07:59:54 +02:00
Georg Gadinger
0294225269
typoed_email_validator: add new endings to the typo list
...
gmail.co.uk is registered by the big ad company with the 5000 chat apps,
but it doesn't have a NX record
2022-10-11 20:43:29 +02:00
Georg Gadinger
2dfbc1dd3c
typoed_email_validator: add new endings to the typo list
2022-10-02 22:13:34 +02:00
Georg Gadinger
37b770ddef
typoed_email_validator: add new endings to the typo list
2022-08-25 20:28:29 +02:00
Georg Gadinger
cb158c1fac
typoed_email_validator: add new endings to the typo list
2022-08-14 20:49:51 +02:00
Georg Gadinger
5b70be74c2
typoed_email_validator: add new endings to the typo list
2022-07-24 21:44:27 +02:00
Georg Gadinger
58a3b89d67
add very important spec
2022-07-23 12:29:17 +02:00
Karina Kwiatek
fc161e2dcf
Use /@username
for profile paths
2022-07-23 09:11:32 +02:00
Georg Gadinger
61cea34f5e
replace Timecop with ActiveSupport::Testing::TimeHelpers
...
resolves #525
2022-07-19 17:18:27 +02:00
Karina Kwiatek
601aa07de1
Add model tests for Answer
2022-07-09 01:15:31 +02:00
Karina Kwiatek
90b2aa0110
Add model tests for Appendable::Reaction
2022-07-09 01:15:31 +02:00
Karina Kwiatek
400994179a
Add tests for UserBan
model
2022-07-02 17:08:44 +02:00
Georg Gadinger
c375775daa
typoed_email_validator: add new endings to the typo list
2022-06-21 20:46:48 +02:00
Georg Gadinger
6f2c2654a1
typoed_email_validator: add new ending to the typo list
2022-04-10 10:39:40 +02:00
Georg Gadinger
3d6fb9dc34
typoed_email_validator: add new ending to the typo list
...
also:
- consider '.mail' TLD a typo
- get rid of a deprecation warning
2022-03-04 21:12:35 +01:00
Georg Gadinger
1997f89cc0
typoed_email_validator: add new ending to the typo list
2022-01-17 20:41:39 +01:00
Georg Gadinger
989f4a5132
run Rubocop on changed files
2022-01-17 20:41:39 +01:00
Georg Gadinger
29923fac84
add validator for typoed emails
...
It happens quite often that people typo their email address (I blame
phone keyboards for that). Catch common cases in a validator and
tell the user that they have a typo in their email.
Why yes, I did write the tests for this first, thanks for asking!
2022-01-11 19:18:23 +01:00
Karina Kwiatek
d3aaaeb12d
Double question character limit ( #292 )
2022-01-10 22:01:47 +01:00
Georg Gadinger
3c58257d21
remove tumblr
...
Resolves #274
2022-01-05 19:32:52 +01:00
Karina Kwiatek
f85769eb55
Add mute rules
2022-01-01 00:38:36 +01:00
Karina Kwiatek
b438c89256
Fix broken tests
2021-12-28 15:11:41 +01:00
Andreas Nedbal
719e393ed1
Add test for Services::Tumblr
2021-12-27 14:28:11 +01:00
Karina Kwiatek
570425821f
Add test for handling answers that don't need to be shortened for tweets
2021-12-25 22:27:32 +01:00