Commit Graph

3277 Commits

Author SHA1 Message Date
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
Andreas Nedbal 05986a124b Add migration to drop `moderation_comments` table 2022-07-19 11:17:45 +02:00
Andreas Nedbal b1bb376abd Remove moderation comment routes 2022-07-19 11:17:45 +02:00
Andreas Nedbal cbd9106a87 Remove `ModerationComment` model, relations and methods 2022-07-19 11:17:45 +02:00
Andreas Nedbal 5c3d003c2b Remove moderation comment functionality from TypeScript 2022-07-19 11:17:45 +02:00
Andreas Nedbal b7bdf2de02 Remove comment functionality from `Ajax::ModerationController` 2022-07-19 11:17:45 +02:00
Andreas Nedbal 4df4e41a47 Remove moderation comments from report view 2022-07-19 11:17:45 +02:00
Karina Kwiatek 8d8c07371f Remove FAQ action
This was removed a while ago
2022-07-18 23:24:05 +02:00
Karina Kwiatek 977ebdfe4d Appease the dog overlords 2022-07-18 23:24:05 +02:00
Karina Kwiatek 6344b55b44 Move public & list timelines into `TimelineController` 2022-07-18 23:24:05 +02:00
Karina Kwiatek 98d7bec924 Move link filter into its own controller 2022-07-18 23:24:05 +02:00
Karina Kwiatek 7abdac2d8a Move About, ToS & Privacy Policy into `AboutController` 2022-07-18 23:24:05 +02:00
Karina Kwiatek f3b58c1d33 Split front page into separate actions 2022-07-18 23:24:05 +02:00
Andreas Nedbal dda407972c Remove vote action locales 2022-07-18 23:10:07 +02:00
Andreas Nedbal 840ae55198 Remove vote method tests 2022-07-18 23:10:07 +02:00
Andreas Nedbal 5052bfb9b9 Appease the dog overlords 2022-07-18 23:10:07 +02:00
Andreas Nedbal d2a6b2bb57 Add migration to drop `moderation_votes` table 2022-07-18 23:10:07 +02:00