Andreas Nedbal
777b25f967
Add test for question create UseCase checking if direct is set
2022-07-24 21:59:55 +02:00
Andreas Nedbal
83dbd5d2e3
Don't list direct questions on user profiles
2022-07-24 21:56:03 +02:00
Andreas Nedbal
70e95375fb
Render questions on user profiles with markdown
2022-07-24 21:55:31 +02:00
Andreas Nedbal
c894551ffc
Add Rails Admin link to question partials
2022-07-24 21:44:46 +02:00
Karina Kwiatek
66cd8bfb2a
Bump version to 2022.0724.0
2022-07-24 15:39:48 +02:00
Andreas Nedbal
74dc7c4526
Improve profile header layout
2022-07-24 15:17:11 +02:00
Karina Kwiatek
21c81e7bcd
Update rubocop
2022-07-24 14:08:49 +02:00
Karina Kwiatek
ca1ed4b293
Switch to Reviewdog
2022-07-24 14:03:46 +02:00
Georg Gadinger
a8c936da8b
add some net gems
2022-07-23 13:22:04 +02:00
Karina Kwiatek
d62c4a69d1
Bump version to 2022.0723.1
2022-07-23 13:13:10 +02:00
Georg Gadinger
737ba177ce
Merge pull request #556 from Retrospring/winver.exe
...
add rake task for easier version bumping
2022-07-23 13:11:17 +02:00
Georg Gadinger
6d89304651
add rake task for easier version bumping
...
Just use `rake version:update` for bumping and creating the commit + tag.
2022-07-23 13:05:32 +02:00
Georg Gadinger
73da030395
version: convert to endless methods
2022-07-23 12:45:24 +02:00
Georg Gadinger
a45446db0f
Merge pull request #555 from Retrospring/C8500-12X4QC
...
clean up routes
2022-07-23 12:34:29 +02:00
Georg Gadinger
58a3b89d67
add very important spec
2022-07-23 12:29:17 +02:00
Georg Gadinger
434d176ebe
appease the Cyber Canine 9000
2022-07-23 12:19:47 +02:00
Georg Gadinger
1c546bc0bb
use a newer Bundler
2022-07-23 12:14:16 +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
37f4326d3b
Update Ruby version in Rubocop config
...
Was missed from #554
2022-07-23 12:07:16 +02:00
Karina Kwiatek
2dac4c09ed
Use endless method definition in UseCase::Base
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-23 12:06:24 +02:00
Karina Kwiatek
9ecbab9ddd
Update Ruby version in Docker & CI
2022-07-23 12:06:24 +02:00
Karina Kwiatek
db6f24473c
Upgrade to Ruby 3.1.2
2022-07-23 12:06:24 +02:00
Karina Kwiatek
62b29b3bd1
Upgrade to Ruby 3.0.4
2022-07-23 12:06:24 +02:00
Karina Kwiatek
ebda664898
Bump version to 2022.0723.0
2022-07-23 11:30:00 +02:00
Karina Kwiatek
0789ed773e
Update registration tests to use a fixed forbidden screen name list
2022-07-23 09:11:32 +02:00
Karina Kwiatek
fb73ce05db
Appease the dog overlords
2022-07-23 09:11:32 +02:00
Karina Kwiatek
5f60d86efe
Make forbidden screen names configurable
2022-07-23 09:11:32 +02:00
Karina Kwiatek
fc161e2dcf
Use /@username
for profile paths
2022-07-23 09:11:32 +02:00
Karina Kwiatek
fe8be8c3cb
Bump version to 2022.0722.0
2022-07-22 16:53:28 +02:00
Karina Kwiatek
81b73d5196
Replace options hash with keyword arguments
2022-07-22 16:52:42 +02:00
Karina Kwiatek
7b831875b0
Add index to notifications.type
and make it non-nullable
2022-07-22 16:52:42 +02:00
Karina Kwiatek
b534dc0bb8
Fix CommentSmile
notification type not being returned
2022-07-22 16:52:42 +02:00
Karina Kwiatek
6089c57a20
Appease the dog overlords
2022-07-22 16:52:42 +02:00
Karina Kwiatek
691f72d0ce
Set notification type for reactions based on what the reaction is attached to
2022-07-22 16:52:42 +02:00
Karina Kwiatek
0992d44aef
Filter notifications by target type
2022-07-22 16:52:42 +02:00
Karina Kwiatek
f475cd0a0b
Make notifications relation polymorphic
2022-07-22 16:52:42 +02:00
Karina Kwiatek
d33e0f86af
Add oj
2022-07-21 16:09:00 +02:00
Karina Kwiatek
cb061b1da5
Remove @title
assign inside view
2022-07-21 16:08:51 +02:00
Karina Kwiatek
a39960d269
Add tests for TimelineController
2022-07-21 16:08:51 +02:00
Karina Kwiatek
d794a69729
Add translation for Public Timeline title
2022-07-21 16:08:51 +02:00
Karina Kwiatek
6e61e0cabe
Deduplicate shared logic in TimelineController
2022-07-21 16:08:51 +02:00
Karina Kwiatek
ec702c90b8
Bump version to 2022.0721.0
2022-07-21 12:32:56 +02:00
Karina Kwiatek
fa712a547f
Update pagination to match template changes
2022-07-20 23:21:21 +02:00
Karina Kwiatek
0e2e2f35e1
Remove list styling from notification list
2022-07-20 23:21:21 +02:00
Karina Kwiatek
84abd1226d
Use only card classes
2022-07-20 23:21:21 +02:00
Karina Kwiatek
7c96627106
Add card to empty notifications list
2022-07-20 23:21:21 +02:00
Karina Kwiatek
83e0f7a711
Place notifications in individual cards
2022-07-20 23:21:21 +02:00
Karina Kwiatek
9a79670e53
Appease the dog overlords
2022-07-20 21:46:41 +02:00
Karina Kwiatek
5a33c77c3a
Prevent notification content from overflowing outside the container
2022-07-20 21:46:41 +02:00
Karina Kwiatek
e8f20d1fd8
Restore missing modifiers to notifications badge
2022-07-20 21:46:41 +02:00