Karina Kwiatek
abff39557d
Allow multi-line comments
2023-03-07 17:57:41 +01:00
Georg Gadinger
0451e2fedd
actions/_share: add telegram
2023-02-19 21:15:56 +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
Karina Kwiatek
ef828462e1
Remove line about creating paragraphs in formatting help
...
This is now not needed as line breaks are kept during render
2023-02-18 20:21:28 +01:00
Karina Kwiatek
f5050971e9
Remove raw markdown options
2023-02-18 20:19:31 +01:00
Karina Kwiatek
7635d3a491
Humanise numbers on about page
2023-02-17 15:58:46 +01:00
Georg Gadinger
2de6ed9bf9
Merge pull request #1082 from Retrospring/app-metrics
...
Export question and comment metrics via Prometheus
2023-02-16 22:10:57 +01:00
Karina Kwiatek
e85aaadb63
Pass Markdown renderer options into renderer
2023-02-15 23:50:55 +01:00
Georg Gadinger
7cc2a1adf7
questions: remove "where do you..."
2023-02-15 23:12:36 +01:00
Georg Gadinger
c5c95a7365
questions: apply suggestions from merge request
...
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2023-02-15 23:12:36 +01:00
Georg Gadinger
ddc792d0df
questions: sort bits alphabetically and combine them where possible
2023-02-15 21:33:20 +01:00
Georg Gadinger
841157c790
questions: remove 'and why is it' and add some new ones
2023-02-15 20:50:33 +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
c338a0c8cc
add prometheus initialiser
...
this ensures it works great in multi-process setups (like with puma)
2023-02-13 22:17:46 +01:00
Georg Gadinger
bc6806aa89
initial metrics
2023-02-13 22:17:46 +01:00
Karina Kwiatek
520f7eb9ef
Show toasts on pin/unpin
2023-02-12 20:29:36 +01:00
Karina Kwiatek
de73532bef
Show indicator for pinned answers
2023-02-12 20:19:50 +01:00
Karina Kwiatek
410d9b5d8e
Implement unpinning answers
2023-02-12 20:19:50 +01:00
Karina Kwiatek
b196909b79
Create frontend endpoint for pinning answers
2023-02-12 20:19:50 +01:00
Karina Kwiatek
3451ae1fb0
Display pinned answers on profiles
2023-02-12 20:19:50 +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
c880fade4e
Add TurboStreamable concern to Settings::MutesController
2023-02-12 20:16:36 +01:00
Andreas Nedbal
f2024a990e
Add TurboStreamable concern to AnonymousBlock controller
2023-02-12 20:16:36 +01:00
Georg Gadinger
5799a6f4d4
locales/views: reword "share your answers" bit on the landingpage
2023-02-12 19:26:31 +01:00
Georg Gadinger
e1aee89be0
remove expired service connection notifications
2023-02-12 19:26:31 +01:00
Karina Kwiatek
0c3e54de6b
Use icons with tooltips instead
2023-02-12 18:21:14 +01:00
Karina Kwiatek
dd3f86988a
Localise strings for question visibility
2023-02-12 18:21:14 +01:00
Karina Kwiatek
42a78cd286
Provide a way of using Redis for Rails cache
2023-02-12 18:18:38 +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
Georg Gadinger
c5b442c529
Merge pull request #1043 from Retrospring/configurable-log-levels
...
allow log level, site_name, and hostname to be configured via ENV
2023-02-06 15:25:44 +01:00
Andreas Nedbal
2ba2367e7e
Apply suggestions from @raccube
...
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2023-02-05 21:54:51 +01:00
Andreas Nedbal
a564bd740b
Apply review suggestion from @nilsding
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-02-05 21:54:51 +01:00
Andreas Nedbal
247604f48f
Remove Twitter API key config values
2023-02-05 21:54:51 +01:00
Andreas Nedbal
83aa4ed1bc
Implement new sharing layout
2023-02-05 21:54:51 +01:00
Andreas Nedbal
926be13fa6
Add `Settings::SharingController`
2023-02-05 21:54:51 +01:00
Andreas Nedbal
a86dcde30a
Remove omniauth and twitter (sharing) related gems
...
`twitter-text` is still required to generate the shared post bodies
2023-02-05 21:54:51 +01:00
Andreas Nedbal
d520755bc2
Remove service model
2023-02-05 21:54:51 +01:00
Andreas Nedbal
c327eee38e
Remove services controller
2023-02-05 21:54:51 +01:00
Georg Gadinger
b0644b26c7
allow to set some configuration options via ENV
2023-02-04 07:24:14 +01:00
Georg Gadinger
1f4a92b6d4
allow log levels to be configurable via ENV
2023-02-04 07:07:43 +01:00
Georg Gadinger
3f0e690f28
provide our own default questions file independent from the questiongenerator gem
2023-01-31 23:22:21 +01:00
Andreas Nedbal
6b3342036f
Merge branch 'main' into feature/raised-texts
2023-01-29 19:38:32 +01:00
Karina Kwiatek
452266b77a
Merge pull request #1015 from Retrospring/sentry-filtering
...
Add filtering for events reported to Sentry
2023-01-29 00:46:22 +01:00
Karina Kwiatek
9ef6e8fdc1
Use class instead of class name for matching exception types
2023-01-28 22:30:03 +01:00
Karina Kwiatek
354407cd79
Use next to return out of `before_send`
2023-01-28 22:29:41 +01:00
Karina Kwiatek
272b98c954
`before_send` should be assigned a lambda
2023-01-28 22:18:43 +01:00
Karina Kwiatek
da9a170e67
Set event fingerprint for exceptions relating to external services
2023-01-28 22:14:02 +01:00
Karina Kwiatek
7d5104d09d
Filter out user-facing errors from Sentry
2023-01-28 22:10:14 +01:00
Karina Kwiatek
e9c397a013
Replace `@title` and `@type` ivars
2023-01-28 19:08:28 +01:00