Kay Faraday
365b0832a7
back to fog
2024-08-13 16:47:28 -07:00
Kay Faraday
08c7908b52
Merge branch 'origin'
2024-08-13 14:43:35 -07:00
Kay Faraday
0500bd9bfb
fix image filesystem permissions 🎉
2024-08-12 21:56:30 -07:00
Andreas Nedbal
9be01a2a2d
Fix missing question mark in registrations_enabled? method call
2024-08-12 00:09:01 +02:00
Andreas Nedbal
a07c5b962a
Hide register button in simple layout when registrations are disabled
2024-08-11 20:33:51 +02:00
Andreas Nedbal
8ad12c33a8
Fix lint nits
2024-08-11 20:33:51 +02:00
Andreas Nedbal
7c475b5ff3
Add advanced frontpage layout config option
2024-08-11 20:33:51 +02:00
Andreas Nedbal
66a1998957
Make site tagline configurable
2024-08-10 21:59:50 +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
da0570164a
remove sign up link on devise views when registrations are disabled
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
Jyrki Gadinger
076f71860f
herr inspektor, bei allem respekt, gusch herst
2024-08-10 01:52:00 +02:00
Andreas Nedbal
6cc8ebcba3
Add ability to disable registrations
2024-08-10 01:52:00 +02:00
Kay Faraday
1aca0560f6
Merge remote-tracking branch 'origin/main'
2024-07-20 15:15:27 -07:00
Andreas Nedbal
b160fa21f6
Re-add accessors for singular answer cases
...
Otherwise rendering fails
2024-03-19 22:45:19 +01:00
Andreas Nedbal
25cbb962dd
Use newer validation syntax for uniqueness in Reaction
2024-03-19 22:45:19 +01:00
Andreas Nedbal
a4a2aba13d
Remove old attribute accessors from Answer
2024-03-19 22:45:19 +01:00
Andreas Nedbal
cc7fa787e8
Pass IDs to Reaction usecases instead of user instances
...
For some wild reason this locally sometimes causes coercion errors in the user instance check, restarting fixes it (temporarily?) so letting the UseCase resolve users is a cleaner solution here.
2024-03-19 22:45:19 +01:00
Andreas Nedbal
b4cfc95c83
Adjust accessors to pull values from attributes if they exist
...
This has to be done because using multiple queries in a select statement does not automatically map into an ActiveRecord model and the values we want wait in the `self.attributes` hash.
2024-03-19 22:45:19 +01:00
Andreas Nedbal
536d50f53d
Add uniqueness validation to Reactions
2024-03-19 22:45:19 +01:00
Andreas Nedbal
b7e8187cd4
Add max question content limit of 32,768 characters
2024-03-10 21:23:14 +01:00
Andreas Nedbal
597c859c2d
Refactor comments into CommentComponent
2024-03-10 18:23:28 +01:00
Andreas Nedbal
07cafb9b30
Use new date format in notifications
2024-03-10 17:29:55 +01:00
Andreas Nedbal
04931b627c
Adjust manual tooltip initializations
2024-03-10 17:29:32 +01:00
Andreas Nedbal
95c79216cb
Update tooltip helper to use `data-controller` instead
2024-03-10 17:29:32 +01:00
Andreas Nedbal
7f93fabb62
Remove tooltip initializer from Bootstrap file
2024-03-10 17:29:32 +01:00
Andreas Nedbal
94f027f546
Add Stimulus tooltip controller
2024-03-10 17:29:32 +01:00
Georg Gadinger
96794029b3
use time_tooltip for comments, fixes #1650
2024-03-10 01:59:13 +01:00
Andreas Nedbal
900fc1c646
Remove linking of (possibly) anonymous questions
...
I'll come back to properly linking this up later
2024-03-02 22:43:39 +01:00
Andreas Nedbal
54cff294b2
Re-add pinned indicator to answerboxes
2024-03-02 22:43:39 +01:00
Andreas Nedbal
6c38f61d5c
Fix coloring of action toggle in new inbox entries
2024-03-02 22:43:39 +01:00
Andreas Nedbal
b3cbfc762b
Initialize Bootstrap dropdowns on the toggle data attribute
2024-03-02 22:43:39 +01:00
Andreas Nedbal
e264a785f4
Remove hidden overflow styling from question user heading
2024-03-02 22:43:39 +01:00
Andreas Nedbal
45907c9260
Use ellipsis icon for action dropdowns
2024-03-02 22:43:39 +01:00
Andreas Nedbal
f4095c42ec
Adjust `time_tooltip` method to show shorter time format
2024-03-02 22:43:39 +01:00
Andreas Nedbal
e8f661f555
Remove hidespan helper method
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
8b3690fcf2
Remove full-width class from reaction icons
2024-03-02 22:43:39 +01:00
Andreas Nedbal
92c9ed011f
Fix rubocop nits
2024-03-01 23:58:35 +01:00
Andreas Nedbal
3a801baf1a
Add highlight to moderation panel link if there are new reports
2024-03-01 23:58:35 +01:00
Andreas Nedbal
34421b34f3
Set `has_new_reports` global in ApplicationController
2024-03-01 23:58:35 +01:00
Andreas Nedbal
f3cba7b620
Set `last_reports_visit` when visiting the reports listing
2024-03-01 23:58:35 +01:00
Andreas Nedbal
507c27da06
Add Bluesky to answerbox sharing options
2024-03-01 21:14:59 +01:00
Andreas Nedbal
4ed9cf5a32
Add Bluesky to inbox entry sharing dialog
2024-03-01 21:14:59 +01:00
Andreas Nedbal
e90b4b8580
Add Bluesky link to sharing options
2024-03-01 21:14:59 +01:00
Andreas Nedbal
50097d629e
Add `SocialHelper::BlueskyMethods`
2024-03-01 21:14:59 +01:00
Andreas Nedbal
04d3e050ab
Show actions to moderators on banned profiles
2024-02-29 00:06:19 +01:00
Andreas Nedbal
1914c56b05
Adjust what content gets hidden on banned user profiles
2024-02-29 00:06:19 +01:00