Commit graph

116 commits

Author SHA1 Message Date
Jyrki Gadinger
ca98b9dd7f move site config from initialiser to own module for potential improvements in how to access common configs when needed ... way better than using .dig by hand everywhere i'd say 2024-08-10 01:52:00 +02:00
Andreas Nedbal
9d7228d87a Make inbox entries visible in Rails Admin again 2024-03-10 19:18:39 +01:00
Karina Kwiatek
88fc0647b4 Place Reactions in User Content within Rails Admin 2023-12-08 00:25:44 +01:00
Andreas Nedbal
1e29d3f86f Rename Appendable::Reaction to Reaction 2023-10-28 02:44:48 +02:00
Karina Kwiatek
23dc19a665 Add cookie rotation for switching from SHA1 to SHA256 2023-10-20 08:33:16 +02:00
Karina Kwiatek
06ecdd9e51 Upgrade Devise to 4.9.0 2023-03-26 18:28:36 +02: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
f5050971e9 Remove raw markdown options 2023-02-18 20:19:31 +01:00
Karina Kwiatek
e85aaadb63 Pass Markdown renderer options into renderer 2023-02-15 23:50:55 +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
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