Commit Graph

667 Commits

Author SHA1 Message Date
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
Karina Kwiatek d45c6af853 Remove page parameter from `user/friends` redirects 2023-01-28 11:08:16 +01:00
Andreas Nedbal a0a7f4e124 Add raised-text and raised-accent-text theme variables 2023-01-23 23:36:38 +01:00
Georg Gadinger 3b81dc33db routes: remove unused `:page` param and all `:via` options 2023-01-22 00:04:33 +01:00
Georg Gadinger eb7abb33be user: only provide #questions as GET 2023-01-22 00:04:33 +01:00
Georg Gadinger 14f32aa3c0 question: only provide #show as GET 2023-01-22 00:04:33 +01:00
Georg Gadinger b019f24aaa user: only provide #followers and #followings as GET 2023-01-22 00:04:33 +01:00
Georg Gadinger 989873ba62 user: only provide #show as GET 2023-01-22 00:04:33 +01:00
Georg Gadinger d572734b96 notifications: only provide #index as GET 2023-01-22 00:04:33 +01:00
Georg Gadinger 77529c2217 moderation/reports: only provide #index as GET 2023-01-22 00:04:33 +01:00
Georg Gadinger 144db471d6 moderation/inbox: only provide #index as GET 2023-01-22 00:04:33 +01:00
Georg Gadinger 59d94d7ba0 timeline: only provide #index, #public and #list as GET 2023-01-22 00:04:33 +01:00
Georg Gadinger 9d7c99fe9b
Merge pull request #974 from Retrospring/refactor/inbox
refactor inbox
2023-01-21 13:59:39 +01:00
Andreas Nedbal fc30bf8cac Add more explicit message for format validation errors 2023-01-21 13:20:52 +01:00
Andreas Nedbal 7222f36ef3 Add format hint for screen_name input 2023-01-21 13:20:52 +01:00
Georg Gadinger 2f82e3be31 inbox: only provide #show as GET 2023-01-19 11:57:55 +01:00
Andreas Nedbal 3258ea4f0b Implement shared collapse partial 2023-01-12 21:03:44 +01:00
Karina Kwiatek c919b4913f
Merge branch 'main' into feature/long-questions 2023-01-11 22:24:58 +01:00
Andreas Nedbal 53bc270e08
Apply review suggestions from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-01-10 20:49:37 +01:00
Andreas Nedbal eccb51eab0 Add formatting help markup/translations 2023-01-10 15:48:56 +01:00
Karina Kwiatek 2e7fca67fa Update long question warning to be more descriptive 2023-01-08 17:20:12 +01:00
Karina Kwiatek 7cdb0e4976 Respect long question setting in frontend 2023-01-08 17:12:46 +01:00
Karina Kwiatek 122be928bf
Merge pull request #934 from Retrospring/more-obvious-sharing-options
Make sharing options more obvious
2023-01-08 11:24:50 +00:00