Commit Graph

543 Commits

Author SHA1 Message Date
Andreas Nedbal e0b531c9c5 Apply review suggestions from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-30 02:20:19 +02:00
Andreas Nedbal d23ace86b0 Remove legacy locales 2022-07-30 02:20:19 +02:00
Andreas Nedbal 4b65a5bb60 Move translations to new namespace and file 2022-07-30 02:20:19 +02:00
Georg Gadinger 216e6003c0
Merge pull request #584 from Retrospring/phpMyAdmin
rails_admin: group models together and add nice icons
2022-07-28 20:23:42 +02:00
Andreas Nedbal 5f1453103b Add pluralization to list member locale 2022-07-28 12:22:32 +02:00
Andreas Nedbal c2726687e4 Split all JS locales into frontend.en.yml 2022-07-28 12:22:32 +02:00
Andreas Nedbal 4a7aa7bae1 Apply suggestions from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-07-28 12:22:32 +02:00
Andreas Nedbal dc5300a6b0 Remove legacy locales 2022-07-28 12:22:32 +02:00
Andreas Nedbal 76845a55c0 Add new translations for user privilege modal 2022-07-28 12:22:32 +02:00
Andreas Nedbal 1492434e15 Add new translations for modal list items 2022-07-28 12:22:32 +02:00
Andreas Nedbal 8839139a72 Add new translations for list management modal 2022-07-28 12:22:32 +02:00
Andreas Nedbal c4fefbf0aa Add new translations for comment smiles modal 2022-07-28 12:22:32 +02:00
Andreas Nedbal 001e747efe Add new translations for ask modal 2022-07-28 12:22:32 +02:00
Georg Gadinger 1a9d88f9bd ACAB 2022-07-27 21:09:32 +02:00
Georg Gadinger b7ef83970b rails_admin: group models together and add nice icons 2022-07-27 21:09:27 +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 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 d33e0f86af Add `oj` 2022-07-21 16:09:00 +02:00
Karina Kwiatek d794a69729 Add translation for Public Timeline title 2022-07-21 16:08:51 +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 32a973a048 Remove ip action route 2022-07-19 22:53:50 +02:00
Andreas Nedbal 0e9d44a62a Remove moderation comment locales 2022-07-19 11:17:45 +02:00
Andreas Nedbal b1bb376abd Remove moderation comment routes 2022-07-19 11:17:45 +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 ab39a9e83c Remove vote action routes 2022-07-18 23:10:07 +02:00
Karina Kwiatek 7fdb2168a6 Move web app manifest into its own controller 2022-07-18 23:09:53 +02:00
Karina Kwiatek 5bd186bbe2 Deduplicate navigation dropdowns; Restore notification dropdown to mobile 2022-07-18 23:09:53 +02:00
Karina Kwiatek b3092d2070 Add PWA metadata endpoint and icons 2022-07-18 23:09:53 +02:00
Andreas Nedbal 2722f4fffb Fix comment notifications displaying escaped HTML 2022-07-17 09:40:47 +02:00
Karina Kwiatek c59a70844b Display if a context question has been deleted when viewing anon blocks 2022-07-16 21:29:20 +02:00
Karina Kwiatek d9f82c4985 Disallow deletion of accounts when a data export is pending 2022-07-16 21:29:20 +02:00
Andreas Nedbal b3f15fe409 Remove unnecessary duplicate locales 2022-07-07 16:51:05 +02:00
Andreas Nedbal a8362702e3 Localize notification page title 2022-07-07 16:51:05 +02:00
Andreas Nedbal f53f710452 Remove legacy notification locales 2022-07-07 16:51:05 +02:00
Andreas Nedbal b551b7acdb Add translations for notification navigation 2022-07-07 16:51:05 +02:00
Andreas Nedbal 86a63fe3b0 Add comment activerecord locale 2022-07-07 16:51:05 +02:00
Andreas Nedbal 73ac742332 Add translations for ajax controller error handling 2022-07-06 21:54:34 +02:00
Andreas Nedbal 6d4478b7c4 Remove subscription ajax controller locales 2022-07-06 21:54:34 +02:00
Andreas Nedbal e670a50adf Add translations for report ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal 9460bcfdd7 Add translations for answer ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal 80172d0852 Add translations for question ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal 2237ff8f04 Add translations for moderation ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal e6e7780142 Add translations for list ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal 1c31ff41db Add translations for inbox ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal 15946740eb Add translations for comment ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal 7381a685ac Add translations for smile ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal 34de119bb1 Add translations for block/relationship ajax controllers 2022-07-06 21:54:34 +02:00
Karina Kwiatek e7112f0244 Use `dependent: :destroy_async` instead of `DeletionWorker` 2022-07-06 20:58:53 +02:00
Karina Kwiatek cc4a8d6297 Add appendables to RailsAdmin 2022-07-05 23:23:37 +02:00
Karina Kwiatek a2f7ea2895 Configure RailsAdmin to use webpacker 2022-07-05 21:22:58 +02:00
Andreas Nedbal 7221762478 Adjust data action locale namespaces 2022-07-05 20:40:19 +02:00
Andreas Nedbal 565f7e4536 Move data action into `Settings::DataController` 2022-07-05 20:40:19 +02:00
Andreas Nedbal 4fcff867ae Adjust locale namespace of block action locales 2022-07-05 20:40:19 +02:00
Andreas Nedbal 72d37032e6 Move block action into `Settings::BlocksController` 2022-07-05 20:40:19 +02:00
Andreas Nedbal 51413bf55b Adjust locale namespace of mute view locales 2022-07-05 20:40:19 +02:00
Andreas Nedbal a4bc137aca Move mute action into `Settings::MutesController` 2022-07-05 20:40:19 +02:00
Georg Gadinger 917e32b4fc routes.rb: use 'authenticate' block from devise instead of defining the constraint ourselves 2022-07-05 18:20:30 +02:00
Karina Kwiatek 4e59b0a3d6 Remove uglifier
We don't use this since moving to webpacker, neither does it support ES6
2022-07-03 19:32:42 +02:00
Karina Kwiatek 8c140bc0a9 Enable Harmony support in Uglifier for production 2022-07-03 19:07:14 +02:00
Andreas Nedbal 645f6d87be Fix recovery key locales not being set 2022-07-03 18:32:36 +02:00
Andreas Nedbal 5c4c272d53 Update locale namespaces for totp actions 2022-07-03 18:32:36 +02:00
Andreas Nedbal fcd1da40a1 Move 2FA settings actions into `OtpAuthenticationController` 2022-07-03 18:32:36 +02:00
Karina Kwiatek 32865b528d Highlight current ban 2022-07-02 17:08:44 +02:00
Karina Kwiatek 990c67baea Move unban into own view 2022-07-02 17:08:44 +02:00
Karina Kwiatek a0877b102a Create tabs for ban modal 2022-07-02 17:08:44 +02:00
Karina Kwiatek bb23f6b3f0 Add translations for ban modal 2022-07-02 17:08:44 +02:00
Andreas Nedbal 126204d759 Update locale namespaces for export settings 2022-07-02 16:36:14 +02:00
Andreas Nedbal 2ee3aab14d Move export actions into `Settings::ExportController` 2022-07-02 16:36:14 +02:00
Andreas Nedbal b8f639b16b Update locale namespaces for privacy settings 2022-06-28 23:20:11 +02:00
Andreas Nedbal 8cf6be8067 Move privacy actions from user controller to `Settings::PrivacyController` 2022-06-28 23:20:11 +02:00
Karina Kwiatek 5a07c7a8ce Add well known route for changing password 2022-06-28 02:01:53 +02:00
Andreas Nedbal 8a56dccf18 Move locales to new namespaces 2022-06-26 22:45:52 +02:00
Andreas Nedbal 8141db2ca7 Move profile picture actions to `Settings::ProfilePictureController` 2022-06-26 22:45:52 +02:00
Andreas Nedbal efa0048c87 WIP: Move profile actions to `Settings::ProfileController` 2022-06-26 22:45:52 +02:00
Karina Kwiatek 1b09d51443 Add toggle for moderation view 2022-06-26 21:07:28 +02:00
Andreas Nedbal f9bb2a2271 Adjust action name for theme resource
following the general convention of using `destroy` now instead of `delete`
2022-06-26 17:52:44 +02:00
Andreas Nedbal a00910bef4 Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-06-26 17:52:44 +02:00
Andreas Nedbal 60b189959a Update route definitions for theme actions 2022-06-26 17:52:44 +02:00
Andreas Nedbal 4e363bb794 Update locale keys for theme settings 2022-06-26 17:52:44 +02:00
Andreas Nedbal d8b1bb3882 Update config/locales/views.en.yml
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-06-25 15:39:30 +02:00
Andreas Nedbal 1e8f2c59a5 Update config/locales/views.en.yml
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-06-25 15:39:30 +02:00
Andreas Nedbal 1724bb91b5 Update config/locales/views.en.yml
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-06-25 15:39:30 +02:00
Andreas Nedbal 3788e492dd Add text if no user is (anonymously) blocked 2022-06-25 15:39:30 +02:00
Andreas Nedbal d4c782c1ee Apply suggestions from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-06-25 15:39:30 +02:00
Andreas Nedbal bc986c6624 Add translations for block settings page 2022-06-25 15:39:30 +02:00
Andreas Nedbal 936b49eef0 WIP: Add UI to manage (anonymous) blocks 2022-06-25 15:39:30 +02:00
Karina Kwiatek 10ead35209 Add translations for inbox moderation 2022-06-23 22:17:14 +02:00
Karina Kwiatek be8ba63b95 Add a way for moderators to view user inboxes 2022-06-23 22:17:14 +02:00
Karina Kwiatek cd581fd2b1 Move anon icon tooltip text into translatable string 2022-06-23 21:29:27 +02:00
Karina Kwiatek 1142b68d68 Add strings for anon display name field 2022-06-23 21:29:27 +02:00
Karina Kwiatek a37b6135ec Display anonymous blocks and split relationship types in Rails Admin 2022-06-15 15:42:13 +02:00
Karina Kwiatek 7e98f427c6 Add endpoint for removing anon blocks 2022-06-15 14:26:48 +02:00
Karina Kwiatek f379845615 Add frontend for blocking anonymous users 2022-06-15 14:26:48 +02:00
Andreas Nedbal e4603ff852 Add block identifiers to questionbox 2022-06-13 22:59:41 +02:00