Karina Kwiatek
f3c7132103
Allow use of `USE_FOG_IN_TESTS` env var
2023-03-05 20:37:52 +01:00
Karina Kwiatek
36c52db8b9
Fix lint errors
2023-03-05 14:06:16 +01:00
Karina Kwiatek
f1809c4dd3
Disable fog in tests
2023-03-05 13:53:27 +01:00
Georg Gadinger
0451e2fedd
actions/_share: add telegram
2023-02-19 21:15:56 +01:00
Georg Gadinger
4ee2b46b32
add sharing to telegram
2023-02-19 20:58:47 +01:00
Karina Kwiatek
61b7281544
Merge pull request #1085 from Retrospring/fix/markdown-rendering
...
Markdown rendering fixes
2023-02-18 21:00:40 +01:00
Georg Gadinger
a6dc08ad9a
Merge pull request #1086 from Retrospring/view-specs
...
add some view specs for inbox
2023-02-18 19:33:22 +01:00
Georg Gadinger
1a0ca59113
replace matchers in view specs with nokogiri-based ones
2023-02-16 21:50:12 +01:00
Georg Gadinger
caccf8b1b3
add view specs for inbox/_entry.html
2023-02-16 21:26:09 +01:00
Georg Gadinger
221cb6a6c1
add view specs for inbox/_actions.html
2023-02-16 20:35:14 +01:00
Georg Gadinger
63481de48f
add view specs for inbox/_push_settings
2023-02-16 19:51:42 +01:00
Georg Gadinger
61713dda6b
add view specs for inbox/show.turbo_stream
2023-02-16 13:18:51 +01:00
Georg Gadinger
9f082c23a1
add view specs for inbox/show.html
2023-02-16 13:18:40 +01:00
Karina Kwiatek
9988527580
Hard wrap in question markdown
2023-02-15 23:52:10 +01:00
Karina Kwiatek
062ca6e65a
Ensure `hard_wrap` renderer option is respected
2023-02-15 23:51:59 +01:00
Georg Gadinger
8a055341c8
add metrics for sidekiq
2023-02-14 05:31:54 +01:00
Georg Gadinger
64adbb5707
allow /metrics to be reached from private subnets only
...
this commit is not approved by the IPv6 crowd. patches welcome
2023-02-13 22:17:46 +01:00
Georg Gadinger
bc6806aa89
initial metrics
2023-02-13 22:17:46 +01:00
Karina Kwiatek
793fec7da1
Update pinning tests to match new Turbo Stream behaviour
2023-02-12 21:06:16 +01:00
Karina Kwiatek
dcad9073a8
Fix typos in pinning tests
2023-02-12 20:19:50 +01:00
Karina Kwiatek
dd8f51160f
Add test for unpinning when the answer is not pinned
2023-02-12 20:19:50 +01:00
Karina Kwiatek
baea942975
Add check for pinning when the answer is already pinned
2023-02-12 20:19:50 +01:00
Karina Kwiatek
04303c667e
Add tests for pin/unpin endpoints
2023-02-12 20:19:50 +01:00
Karina Kwiatek
664bf5eab2
Add test for unpin use case
2023-02-12 20:19:50 +01:00
Karina Kwiatek
438884e13a
Add trailing commas (lint)
2023-02-12 20:19:50 +01:00
Karina Kwiatek
5f50a08f03
Adjust answer export test to include pinned_at field
2023-02-12 20:19:50 +01:00
Karina Kwiatek
ed4ec98455
Add use case for pinning answers
2023-02-12 20:19:50 +01:00
Andreas Nedbal
5579489a92
Apply review suggestion from @nilsding
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-02-12 20:16:36 +01:00
Andreas Nedbal
bc52eb8cb5
Add specs for Turbo Stream responses
2023-02-12 20:16:36 +01:00
Andreas Nedbal
4dc88fe1ef
Refactor TurboStreamable spec to use an anonymous controller
2023-02-12 20:16:36 +01:00
Andreas Nedbal
0aac4caf45
Register test routes in routes.rb
2023-02-12 20:16:36 +01:00
Andreas Nedbal
72ad8f6699
Add tests for TurboStreamable concern
2023-02-12 20:16:36 +01:00
Georg Gadinger
065d35c288
well_known/node_info: remove twitter as outbound service
2023-02-12 19:04:01 +01:00
Georg Gadinger
71be21cccc
add specs for Settings::SharingController
2023-02-10 21:16:21 +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
b0f5294243
Appease the dog overlords
2023-02-05 21:54:51 +01:00
Andreas Nedbal
024127e62f
Remove connected user transformation from TwitteredMarkdown
2023-02-05 21:54:51 +01:00
Andreas Nedbal
d43e27bcd2
Fix data export specs
2023-02-05 21:54:51 +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
Andreas Nedbal
06d7db7ff8
Remove ShareWorker
2023-02-05 21:54:51 +01:00
Andreas Nedbal
c327eee38e
Remove services controller
2023-02-05 21:54:51 +01:00
Karina Kwiatek
2517b1330a
Merge pull request #1017 from Retrospring/feature/raised-texts
...
Add new raised text and raised accent text theme fields
2023-01-31 12:57:15 +01:00
Georg Gadinger
8b7ba59660
typoed_email_validator: add new endings to the typo list
2023-01-30 06:01:01 +01:00
Karina Kwiatek
4dc5a65f74
Merge pull request #1014 from Retrospring/fix/inbox-services-query
...
Move fetching of services to controller to avoid n+1 queries
2023-01-29 23:07:46 +01:00
Karina Kwiatek
666f95c143
Adjust tests to not check ivars that are no longer used when filter is empty
2023-01-29 21:37:22 +01:00
Andreas Nedbal
92cb5da58a
Fix theme export specs
2023-01-29 21:17:23 +01:00
Georg Gadinger
a59bc3ef92
typoed_email_validator: add new endings to the typo list
2023-01-29 19:19:35 +01:00
Georg Gadinger
3e3501d201
inbox: update inbox entries in controller
2023-01-27 20:36:22 +01:00
Georg Gadinger
58705fffba
mark notifications as "read" in the controller and when you see them
...
this makes it behave a bit more like the inbox
2023-01-24 15:54:41 +01:00