Commit Graph

106 Commits

Author SHA1 Message Date
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 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
Georg Gadinger b0644b26c7 allow to set some configuration options via ENV 2023-02-04 07:24:14 +01:00
Georg Gadinger 3f0e690f28 provide our own default questions file independent from the questiongenerator gem 2023-01-31 23:22:21 +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 ffb849047f Categorise Web Push Subscriptions in Rails Admin 2023-01-05 00:00:57 +01:00
Karina Kwiatek ae52810aae Add WebPushSubscription to Rails Admin 2023-01-03 18:12:13 +01:00
Andreas Nedbal 077958bc5c Install Font Awesome 6 2023-01-03 17:21:09 +01:00
Andreas Nedbal 3799640538 Make RailsAdmin use Sprockets again 2023-01-03 14:14:23 +01:00
Andreas Nedbal 219a4fbbbc Configure Sprockets to work with cssbundling-rails 2023-01-03 14:14:23 +01:00
Karina Kwiatek e0195654b5 Send notification on 3 push failures 2023-01-02 11:52:00 +01:00
Karina Kwiatek 1cfd3250c0 Track failures on Web Push subscriptions 2023-01-02 11:51:46 +01:00
Karina Kwiatek 91d3db4034 Move rpush init/exit logic into Sidekiq initializer
Co-authored-by: nilsding <nilsding@nilsding.org>
2023-01-02 11:50:48 +01:00
Karina Kwiatek 8b98c278da Send push notifications on question create 2023-01-02 11:50:47 +01:00
Karina Kwiatek 92ba2d7c9b Add `rpush` 2023-01-02 11:50:47 +01:00
Andreas Nedbal 0d34037dc7 Add mute relationships to Rails Admin 2023-01-01 22:42:50 +01:00
Georg Gadinger 312fadff2a fix images when not using S3/radosgw
"das system ist das problem, ja?"

fixes #822
2022-12-22 17:29:38 +01:00
Georg Gadinger 87ec3093a9 allow for using SVG logos in the navbar
this uses our new and improved logo by default, but can be easily
changed by modifying `/public/logo.svg`.  the svg is loaded only once
when the application starts, so any modifications to it after a
deployment are visible immediately.

thanks to the power of CSS and SVG being able to make use of it, custom
colour schemes still work too.
2022-10-24 23:19:51 +02:00
Georg Gadinger 1a9d88f9bd ACAB 2022-07-27 21:09:32 +02:00
Georg Gadinger b7ef83970b rails_admin: group models together and add nice icons 2022-07-27 21:09:27 +02:00
Karina Kwiatek d33e0f86af Add `oj` 2022-07-21 16:09:00 +02:00
Karina Kwiatek cc4a8d6297 Add appendables to RailsAdmin 2022-07-05 23:23:37 +02:00
Karina Kwiatek a2f7ea2895 Configure RailsAdmin to use webpacker 2022-07-05 21:22:58 +02:00
Karina Kwiatek a37b6135ec Display anonymous blocks and split relationship types in Rails Admin 2022-06-15 15:42:13 +02:00
Andreas Nedbal aa48a53cb7 Track release version in Sentry 2022-04-16 12:56:18 +02:00
Karina Kwiatek 45854894dc Upgrade to Rails 6.0 2022-01-13 21:42:06 +01:00
Karina Kwiatek 96e48a833b
Merge pull request #194 from Retrospring/refactor/user-bans
Implement ban history
2022-01-06 14:05:33 +01:00
Georg Gadinger 3c58257d21 remove tumblr
Resolves #274
2022-01-05 19:32:52 +01:00
Karina Kwiatek 374da66cd1 Add `UserBan` to Rails Admin 2022-01-02 19:50:45 +01:00
Georg Gadinger 506984ecfb rails_admin: include the new MuteRule model 2022-01-02 16:25:57 +01:00
Andreas Nedbal f871ab45e8 Allow `rel` in sanitized links 2021-12-31 22:40:38 +01:00
Andreas Nedbal 8bbc9c72c1 Rename const/config option to `allowed_hosts_in_markdown` 2021-12-31 22:40:38 +01:00
Andreas Nedbal 3d04f54a0f Allow target for links in sanitizer 2021-12-31 22:40:38 +01:00
Andreas Nedbal 02a5e7029e Add linkfilter logic to existing renderers 2021-12-31 22:40:38 +01:00
Georg Gadinger a7c942e4b8 rails_admin: include the new Profile model 2021-12-31 19:25:17 +01:00
Karina Kwiatek 4a039937d6 Reduce Sentry sample rate to 25% 2021-12-31 11:59:07 +01:00
Andreas Nedbal 66638caedf Initialize Sentry regardless of `APP_CONFIG[:sentry_dsn]` being set or not 2021-12-29 22:35:29 +01:00
Karina Kwiatek 751ba0f446 Configure traces sample rate 2021-12-28 19:49:31 +01:00
Karina Kwiatek 065e56ccf1 Replace New Relic with Sentry 2021-12-28 18:32:03 +01:00
Dominik M. Kwiatek 7a62f7d2c9
Set session duration to 90 days (#169) 2021-02-25 17:12:30 +01:00
Andreas Nedbal 07134f6f94 Remove policy declaration for local webpack-dev-server 2020-12-25 18:22:03 +01:00
Andreas Nedbal 059471e5cf Initial Webpacker setup 2020-12-25 18:22:03 +01:00
Dominik M. Kwiatek d448d293de Remove test env skip 2020-05-27 22:33:54 +01:00
Dominik M. Kwiatek 4c7ec05198 Address @nilsding's review comments 2020-05-27 22:27:54 +01:00
Dominik M. Kwiatek c4fb5d1db9 Add registration tests 2020-05-27 20:07:39 +01:00
Dominik M. Kwiatek a92dd54be3 Address @nilsding's review comments 2020-05-27 20:07:39 +01:00