Commit graph

702 commits

Author SHA1 Message Date
Karina Kwiatek
4f1b6ca03e Allow setting extra hosts in development environments 2023-10-17 22:00:48 +02:00
Karina Kwiatek
3bd45c8e96
Merge pull request #1196 from Retrospring/feature/turbo-comments
Move comments to a turbo frame
2023-10-16 18:02:46 +02:00
Andreas Nedbal
6aee2baa45 Name label iOS instead of iPhone 2023-10-16 15:27:34 +02:00
Andreas Nedbal
26e1a9df1a Suggest pure iPhone two factor capabilities 2023-10-16 15:27:34 +02:00
Karina Kwiatek
81b271ab03 Move reactions to separate view/endpoint 2023-10-15 18:42:30 +02:00
Karina Kwiatek
849d4f74f2 Move comments to a turbo frame 2023-10-15 18:42:30 +02:00
greyidol
e082b0da6e use .env and support SMTP configuration 2023-09-05 22:25:19 +02:00
Karina Kwiatek
c9c458252b Add functionality for marking all notifications as read 2023-05-05 15:59:25 +02:00
Karina Kwiatek
d684e8d782 Add shortcut for viewing answer page 2023-04-29 09:34:28 +02:00
Karina Kwiatek
9572f844ec Add hotkey help window 2023-04-29 09:34:28 +02:00
Karina Kwiatek
b5193cd1ac
Merge pull request #1129 from Retrospring/feature/multiline-comments
Allow multi-line comments
2023-04-29 08:52:24 +02:00
Karina Kwiatek
3fa607f39c Clean up User::SessionsController 2023-03-26 18:28:36 +02:00
Karina Kwiatek
06ecdd9e51 Upgrade Devise to 4.9.0 2023-03-26 18:28:36 +02:00
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