Karina Kwiatek
b02375985a
Add option to send question to own inbox
2023-12-11 23:14:58 +01:00
Karina Kwiatek
b2b9826071
Fix lint errors
2023-12-11 19:59:07 +01:00
Karina Kwiatek
64ac18843e
Replace usages of `QuestionWorker`
2023-12-11 19:56:50 +01:00
Georg Gadinger
9a77b89cda
use remote_ip 2: electric boogaloo
2023-02-07 07:38:59 +01:00
Georg Gadinger
f1a545aea5
use remote_ip
2023-02-04 22:31:53 +01:00
Georg Gadinger
fb07eda972
remove errors
2022-12-29 20:57:28 +01:00
Georg Gadinger
9413d23a02
let Zeitwerk autoload the `lib/` directory
...
this also allows the UseCase classes to be hot reloaded in dev 🎉
- remove use_case requires (except for the exporter as Zeitwerk
doesn't know about the subclasses)
- move version.rb to lib/retrospring so that Zeitwerk knows where
to find Retrospring::Version
2022-12-29 20:57:28 +01:00
Karina Kwiatek
0e9be78588
Create use case for deleting questions
2022-07-17 10:05:20 +02:00
Karina Kwiatek
72906ca549
Fix lint errors
2022-07-17 10:05:20 +02:00
Karina Kwiatek
22a66f4d1a
Fix lint errors
2022-07-17 10:05:20 +02:00
Karina Kwiatek
d9ff4d5765
Refactor Ajax::QuestionController#create into separate UseCases
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-17 10:05:20 +02:00
Andreas Nedbal
80172d0852
Add translations for question ajax controller
2022-07-06 21:54:34 +02:00
Karina Kwiatek
41e476a2f7
Prevent other user's anon blocks from affecting each other
2022-06-15 14:26:48 +02:00
Karina Kwiatek
e660b731d7
Appease the dog overlords
2022-06-15 14:26:48 +02:00
Karina Kwiatek
4e80b4f9ab
Prevent anon questions from being sent while blocked
2022-06-15 14:26:48 +02:00
Karina Kwiatek
1a68c1b46f
Rename `author_email` field to `author_identifier`
2022-06-15 14:26:48 +02:00
Karina Kwiatek
0eb3f53b45
Add tests for asking questions while blocked
2022-06-13 11:56:34 +02:00
Karina Kwiatek
04243c2ec8
Appease the dog overlords
2022-06-13 11:56:34 +02:00
Karina Kwiatek
ea3bbcef17
Update question controller block handling to account for users not being logged in
2022-06-13 11:56:34 +02:00
Karina Kwiatek
9f06b48569
Disallow creating questions when blocked by the user being asked
2022-06-13 11:56:34 +02:00
Karina Kwiatek
c31ab3578d
Apply mute filters to questions asked directly
2022-01-01 00:38:38 +01:00
Karina Kwiatek
065e56ccf1
Replace New Relic with Sentry
2021-12-28 18:32:03 +01:00
Karina Kwiatek
56786ebb38
Add direct field to questions
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2021-08-11 16:56:58 +02:00
Georg Gadinger
b58883e004
Remove "ask a group" feature
2020-05-25 18:34:43 +02:00
Georg Gadinger
ea0685136e
Rename Groups to Lists
...
haha regexp go brrr
special thanks to @seatsea for helping me out with the French locales
2020-05-25 18:04:54 +02:00
Georg Gadinger
54532c71e1
add spec for Ajax::QuestionController
...
also fix some minor annoyances
2020-05-01 10:17:05 +02:00
Georg Gadinger
2f2b9ab1f4
New Relic be like: *notices your errors* OwO what's this?
2020-04-28 20:32:36 +02:00
Georg Gadinger
e07d069c73
Refactor Ajax::*Controllers
...
Also removed the unused `Ajax::QuestionController#preview` method and
route
2020-04-28 20:28:00 +02:00
Yuki
26a517a650
Fixes, workers now output to sidekiq, not rails
2015-07-27 12:42:12 +05:30
Yuki
92bbfef2df
Moved ask all + ask group to worker, validates user_id for ask person now
2015-07-27 12:29:56 +05:30
pixeldesu
0aeab3b7f7
fix merge conflict
2015-06-08 22:17:14 +02:00
pixeldesu
e6e1d03187
localized ajax controllers
2015-06-07 18:24:01 +02:00
Yuki
d11b16dad6
Possibly fix /ajax/preview
2015-06-06 05:57:15 +05:30
Yuki
05ca42c819
Fix Retrospring/bugs#49
2015-05-09 05:01:31 +05:30
Yuki
ac14fefb3c
Check privilege
2015-04-26 07:09:51 +05:30
Yuki
ee29e1f28f
Reporting and Deleting logic
2015-04-26 07:06:25 +05:30
Georg G
141db2e521
Merge branch 'master' of github.com:Retrospring/retrospring
2015-04-19 00:43:04 +02:00
Georg G
399bdf21ee
include MarkdownHelper
2015-04-19 00:42:58 +02:00
Yuki
e2bfc26c75
Markdown preview through AJAX (/ajax/preview)
2015-04-19 03:47:13 +05:30
nilsding
a05d763b75
selecting the group from the ask followers modal works now.
2015-01-13 15:45:32 +01:00
nilsding
72c259bd0d
question#content now has a validation.
2014-12-08 15:34:37 +01:00
nilsding
58d0efc219
implemented "ask your followers"
2014-12-07 20:13:45 +01:00
nilsding
0226cff3e4
now incrementing asked_count
2014-11-11 07:18:34 +01:00
nilsding
abe75c89a2
fixed fuckups™
2014-11-11 07:08:59 +01:00
nilsding
fa96e84239
the user who asked is now stored in the question
2014-11-11 06:51:56 +01:00
nilsding
f8c81f679d
now actually adding the asked question to the inbox
2014-11-10 23:46:38 +01:00
nilsding
ba71902c27
asking questions is now possible! …kinda.
2014-11-10 21:56:30 +01:00