Commit Graph

2565 Commits

Author SHA1 Message Date
Karina Kwiatek 441530bc2c Make user avatars in comments link through to profiles 2022-01-29 21:41:23 +01:00
Karina Kwiatek f4066d55a1 Use translations for feedback page titles 2022-01-29 21:06:03 +01:00
Karina Kwiatek b49d505dca Add titles for feedback pages 2022-01-29 21:06:03 +01:00
Andreas Nedbal 544c184981 Fix expected flash texts in `ServicesController` tests 2022-01-29 20:08:41 +01:00
Andreas Nedbal 8838663528 Remove legacy service locales 2022-01-29 20:08:41 +01:00
Andreas Nedbal 1b67605e09 Fix HAML codestyle 2022-01-29 20:08:41 +01:00
Andreas Nedbal a05248fb13 Fix Ruby codestyle in `ServicesController` 2022-01-29 20:08:41 +01:00
Andreas Nedbal 45cb2e12af Turn Disconnect link for services red 2022-01-29 20:08:41 +01:00
Andreas Nedbal 383ef62603 Translate `ServicesController` views 2022-01-29 20:08:41 +01:00
Andreas Nedbal 592de78a4f Add translations for `ServicesController` 2022-01-29 20:08:41 +01:00
Karina Kwiatek abc884aefd Update CI to use main instead of master 2022-01-26 23:17:38 +01:00
Andreas Nedbal c2b448ae8c Fix codestyle of announcement controller spec 2022-01-25 22:31:25 +01:00
Andreas Nedbal a28f581aed Add tests announcement failure cases 2022-01-25 22:31:25 +01:00
Andreas Nedbal 6565805ef5 Add missing newline 2022-01-25 22:31:25 +01:00
Andreas Nedbal c08545fe7c Fix typo 2022-01-25 22:31:25 +01:00
Andreas Nedbal 594eaedce2 Fix HAML codestyle 2022-01-25 22:31:25 +01:00
Andreas Nedbal f334a6fea9 Remove error section on announcement new/edit forms 2022-01-25 22:31:25 +01:00
Andreas Nedbal 1a3cc96809 Translate `Announcement#index` 2022-01-25 22:31:25 +01:00
Andreas Nedbal 3404b337eb Add ActiveModel-scoped locales for `Announcement` model 2022-01-25 22:31:25 +01:00
Andreas Nedbal ac83995dfc Add controller-scoped locales for `AnnouncementController` 2022-01-25 22:31:25 +01:00
Andreas Nedbal 8d73008ebf Address review suggestions 2022-01-24 20:13:09 +01:00
Andreas Nedbal fb812d4f36 Appease the mighty dog overlords (fix Ruby code nits) 2022-01-24 20:13:09 +01:00
Andreas Nedbal aec10cbb9a Hide locale switcher 2022-01-24 20:13:09 +01:00
Andreas Nedbal ad60e3c753 Disable locale switching logic 2022-01-24 20:13:09 +01:00
Andreas Nedbal a8f184a001 Remove all non-english locales 2022-01-24 20:13:09 +01:00
Andreas Nedbal 04817f603c Remove margin on the last p inside cards, not the only p 2022-01-23 16:49:30 +01:00
Karina Kwiatek 1e5957bfe9 Test relationship use cases using both user objects and screen names as params 2022-01-23 16:48:53 +01:00
Karina Kwiatek b74c64c664 Fix order of types for relationship use case options 2022-01-23 16:48:53 +01:00
Karina Kwiatek 3b1287c424 Apply suggestions from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-23 16:48:53 +01:00
Karina Kwiatek aa683ca5d5 Appease the dog overlords (fix lint errors) 2022-01-23 16:48:53 +01:00
Karina Kwiatek 731ee4bf69 Address review comments from @nilsding 2022-01-23 16:48:53 +01:00
Karina Kwiatek 677ce26e6c Use generic handling of our own exceptions
Noticed that we shouldn't be trying to catch specific exceptions as `Dry::Types` will throw its own exceptions for validation errors.
2022-01-23 16:48:53 +01:00
Karina Kwiatek 29d46b43db Fix lint error; use fail message for relationship create failures 2022-01-23 16:48:53 +01:00
Karina Kwiatek 8d59ef9398 Use `screen_name` instead of `target_user` param in `Ajax::RelationshipController` 2022-01-23 16:48:53 +01:00
Karina Kwiatek b4e0699e82 Fix lint errors 2022-01-23 16:48:53 +01:00
Karina Kwiatek 0ab822c33a Use full translation key for messages 2022-01-23 16:48:53 +01:00
Karina Kwiatek d609435f7c Update `Ajax::RelationshipController` to use usernames; Test Use Case 2022-01-23 16:48:53 +01:00
Karina Kwiatek 4a1ed5394a Remove relationships where source == target prior to adding relationship type 2022-01-23 16:48:53 +01:00
Karina Kwiatek 5c9659ccf5 Update Exporter spec to not include removed relationship count fields 2022-01-23 16:48:53 +01:00
Karina Kwiatek c8059ccd6b Fix namespace resolution in relationship use cases 2022-01-23 16:48:53 +01:00
Karina Kwiatek ce57414595 Update `UserController` tests to match rename of followings 2022-01-23 16:48:53 +01:00
Karina Kwiatek 3962671135 Implement relationship logic as use case 2022-01-23 16:48:53 +01:00
Karina Kwiatek d20e07ee19 Remove relationship counters in `users` table 2022-01-23 16:48:53 +01:00
Karina Kwiatek ce951453a2 Make relationships polymorphic 2022-01-23 16:48:53 +01:00
Karina Kwiatek ee6ba8f9b7 Update `schema.rb` (post-rebase) 2022-01-23 16:48:53 +01:00
Andreas Nedbal d56dfc02f9 Move consent POST-logic to separate action 2022-01-22 22:50:32 +01:00
Andreas Nedbal 1933aaac7f Fix codestyle in `ScreenNameValidator` 2022-01-22 22:50:32 +01:00
Andreas Nedbal 77c6dc7120 Turn `feedback_features_path` into snake_case 2022-01-22 22:50:32 +01:00
Andreas Nedbal 8fba959f5e Add `feedback` to forbidden screen names 2022-01-22 22:50:32 +01:00
Andreas Nedbal 322048a48a Add final newline to config 2022-01-22 22:50:32 +01:00