Andreas Nedbal
9be01a2a2d
Fix missing question mark in registrations_enabled? method call
2024-08-12 00:09:01 +02:00
Andreas Nedbal
1e267c8031
Add no sign-up locale variant for "require user" option
2024-08-10 01:52:00 +02:00
Andreas Nedbal
f19f7c9da5
Fix haml-lint nits
2024-08-10 01:52:00 +02:00
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
6cc8ebcba3
Add ability to disable registrations
2024-08-10 01:52:00 +02:00
Andreas Nedbal
54cff294b2
Re-add pinned indicator to answerboxes
2024-03-02 22:43:39 +01:00
Andreas Nedbal
9bc41e31ec
Remove human-readable "Answered by" answerbox text
2024-03-02 22:43:39 +01:00
Andreas Nedbal
fb6e6458c4
Remove conditional profile layout in answerboxes
2024-03-02 22:43:39 +01:00
Andreas Nedbal
e428d1e0c8
Add note to follower asking modal if on a user profile
2023-12-11 00:16:43 +01:00
Karina Kwiatek
b55e6da9a5
Use subqueries to check reaction/subscription state
2023-11-26 19:32:50 +01:00
Karina Kwiatek
f91d2f2d7f
Pre-emptively fetch answer reaction state
2023-11-07 22:53:10 +01:00
Andreas Nedbal
e6bd19790a
Replace question markup with `QuestionComponent`
2023-10-22 21:04:30 +02:00
Andreas Nedbal
a58e902a01
Replace plain avatar usage with `AvatarComponent`
2023-10-20 11:45:53 +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
Karina Kwiatek
142a31f655
Set `subscribed_answer_ids` in answerbox when user is not set
2023-05-05 16:01:48 +02:00
Karina Kwiatek
bbc0afe292
Move subscribed answer IDs to an ivar
2023-05-05 16:01:46 +02:00
Karina Kwiatek
7aed99d187
Appease the dog overlords
2023-05-05 16:01:38 +02:00
Karina Kwiatek
d684e8d782
Add shortcut for viewing answer page
2023-04-29 09:34:28 +02:00
Karina Kwiatek
a64a4699b0
Add Stimulus controller for navigation shortcuts
2023-04-29 09:34:15 +02:00
Karina Kwiatek
2ee25d264f
Simplify pinned check in answerbox
...
This is hidden by CSS in the prior case anyway
2023-02-12 20:19:50 +01:00
Karina Kwiatek
de73532bef
Show indicator for pinned answers
2023-02-12 20:19:50 +01:00
Andreas Nedbal
d4c2ca5e5e
Don't set the collapse controller for entries that aren't long
2023-01-21 04:43:48 +01:00
Andreas Nedbal
e85f9d6867
Re-add support for detail page `display_all` condition
2023-01-12 21:03:44 +01:00
Andreas Nedbal
a3b902b747
Add collapse to answerboxes and questions
2023-01-12 21:03:44 +01:00
Karina Kwiatek
7cdb0e4976
Respect long question setting in frontend
2023-01-08 17:12:46 +01:00
Andreas Nedbal
cea1190ab9
Remove and replace usage of media classes
2023-01-05 10:35:52 +01:00
Andreas Nedbal
5ce9972a3e
Fix usages of btn-block class
2023-01-05 10:35:52 +01:00
Andreas Nedbal
23c01a97be
Fix text alignment classes
2023-01-05 10:35:52 +01:00
Andreas Nedbal
5bbb798102
Fix spacing classes for Bootstrap 5
2023-01-05 10:35:52 +01:00
Andreas Nedbal
3cefc829f8
Merge branch 'main' into feature/privacy-require-user
2022-11-13 17:27:53 +01:00
Andreas Nedbal
16c6e7c096
Show message in questionbox that users need to log in
2022-11-13 14:27:33 +01:00
Andreas Nedbal
38332194c7
Show message in questionbox that user locked their inbox
2022-11-06 15:01:20 +01:00
Andreas Nedbal
15d05f1699
Merge branch 'main' into feature/stimulus-character-count
2022-10-31 20:56:38 +01:00
Georg Gadinger
caf73558d6
views: rename .haml to .html.haml
2022-10-25 20:10:31 +02:00
Andreas Nedbal
724c241bed
Count character count downwards instead of up
2022-10-13 22:29:04 +02:00
Andreas Nedbal
0983ffca3a
Merge branch 'main' into feature/stimulus-character-count
2022-10-13 22:07:15 +02:00
Andreas Nedbal
99b523bf9c
Use appropriate image sizes and lazy loading in answerbox
2022-10-10 23:14:07 +02:00
Andreas Nedbal
93d1a4e2cb
Add Stimulus controller to relevant views
2022-10-02 22:10:04 +02:00
Georg Gadinger
b41983a2bf
Disgustingly merge pull request #598 from Retrospring/feature/norway
...
Add new translations in various places
2022-08-20 17:22:37 +02:00
Georg Gadinger
8f86f8bc96
answerbox: use ActiveSupport's String#truncate
...
this change cuts off the answer after a word and not within one.
2022-08-19 16:49:08 +02:00
Andreas Nedbal
14221aea71
Fix legacy locale references
2022-08-02 19:13:23 +02:00
Andreas Nedbal
bb47e30ed1
Fix HAML codestyle of answerbox views
2022-07-31 15:14:02 +02:00
Andreas Nedbal
f4f581d12f
Add new translations for answerbox
2022-07-31 15:14:02 +02:00
Georg Gadinger
1da70158bf
questionbox: make "Hide your name" clickable
2022-07-27 20:16:11 +02:00
Georg Gadinger
66efa5d4f4
clean up routes
...
- replace `match` with `get`/`post`/`patch`/`delete`
- format routes.rb
- rename the `show_user_{profile,question,answer}` routes to
`profile`, `question`, `answer` so `url_for` (used by Rails Admin)
works fine for these things
- also add `to_param` to the `User` model so that `url_for(some_user)`
uses the user name
2022-07-23 12:14:06 +02:00
Karina Kwiatek
449aa1d998
Fix profiles failing to load when the user disallows anonymous questions
2022-06-26 12:00:31 +02:00
Andreas Nedbal
e4603ff852
Add block identifiers to questionbox
2022-06-13 22:59:41 +02:00
Andreas Nedbal
cf74d6f4c8
Add translations for questionbox
2022-06-13 22:59:41 +02:00
Andreas Nedbal
fdd8bf7962
Increase in-feed answer display length
2022-04-08 22:16:38 +02:00