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
Karina Kwiatek
c4b241f9e1
Prevent notifications dropdown from going off-screen
2022-07-20 21:46:41 +02:00
dependabot[bot]
db04f5c77c
Bump terser from 4.8.0 to 4.8.1
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 07:45:17 +02:00
Karina Kwiatek
8aee2533a0
Add Bootsnap
2022-07-19 22:54:03 +02:00
Andreas Nedbal
b5bf326cc0
Remove priority action route
2022-07-19 22:53:50 +02:00
Andreas Nedbal
7623213f96
Remove priority action views and links
2022-07-19 22:53:50 +02:00
Andreas Nedbal
fafefc3dc0
Remove priority action from `ModerationController`
2022-07-19 22:53:50 +02:00
Andreas Nedbal
32a973a048
Remove ip action route
2022-07-19 22:53:50 +02:00
Andreas Nedbal
67b6847311
Remove links to ip action from views
2022-07-19 22:53:50 +02:00
Andreas Nedbal
94bd339671
Remove ip action from `ModerationController`
2022-07-19 22:53:50 +02:00
Georg Gadinger
929e951b2d
Merge pull request #539 from Retrospring/acab
...
replace Timecop with ActiveSupport::Testing::TimeHelpers
2022-07-19 17:28:28 +02:00
Georg Gadinger
61cea34f5e
replace Timecop with ActiveSupport::Testing::TimeHelpers
...
resolves #525
2022-07-19 17:18:27 +02:00
Karina Kwiatek
c5a3f1cc2a
Bump version to 2022.0719.0
2022-07-19 12:22:01 +02:00
Andreas Nedbal
0e9d44a62a
Remove moderation comment locales
2022-07-19 11:17:45 +02:00
Andreas Nedbal
bdf409de1f
Remove moderation comment tests
2022-07-19 11:17:45 +02:00