Commit graph

676 commits

Author SHA1 Message Date
Andreas Nedbal
d000ddaae4 Add AnonymousBlockController 2022-11-21 22:29:47 +01:00
Andreas Nedbal
ddded27757 Remove anonymous block AJAX implementation 2022-11-21 22:28:38 +01:00
Andreas Nedbal
efef85b7c6 Split mute rule form into seperate partial and replace on create 2022-11-21 20:26:19 +01:00
Andreas Nedbal
0c9bb05f29 Return 403 by default for Pundit errors 2022-11-21 20:26:19 +01:00
Andreas Nedbal
9a96010530 Move action locales to vocabulary 2022-11-21 20:26:19 +01:00
Andreas Nedbal
c08ff04738 Destroy Mute Rules using Turbo Streams 2022-11-21 20:26:19 +01:00
Andreas Nedbal
0dee066e9f Move announcement locales to proper namespace 2022-11-21 20:26:01 +01:00
Andreas Nedbal
54e157ec76 AnnouncementController -> Admin::AnnouncementController 2022-11-21 20:26:01 +01:00
Andreas Nedbal
23dc8a17f9 Move locales to proper namespaces 2022-11-21 20:26:01 +01:00
Andreas Nedbal
c61ccfa5c1 Add admin dashboard controller 2022-11-21 20:26:01 +01:00
Andreas Nedbal
44c0136c9e Remove AJAX question generation code 2022-11-18 23:35:38 +01:00
Andreas Nedbal
d3eae22f13 Generate inbox entries using Turbo Streams 2022-11-18 23:35:38 +01:00
Andreas Nedbal
23dafb5bcb
Merge branch 'main' into feature/privacy-noindex 2022-11-18 23:23:01 +01:00
Andreas Nedbal
aced806d02 Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-11-18 23:19:24 +01:00
Andreas Nedbal
9249ef976b Add social graph field to privacy settings view 2022-11-18 23:19:24 +01:00
Andreas Nedbal
f8e43a9bb0 Add noindex setting to privacy settings view 2022-11-16 22:32:40 +01:00
Andreas Nedbal
3cefc829f8
Merge branch 'main' into feature/privacy-require-user 2022-11-13 17:27:53 +01:00
Andreas Nedbal
9393374eab LoginRequired -> NotAuthorized 2022-11-13 14:38:11 +01:00
Andreas Nedbal
a705543d89 Add locales for user requirement setting and views 2022-11-13 14:28:03 +01:00
Andreas Nedbal
8bdf00e0e8 Add locales for inbox locking 2022-11-06 15:01:39 +01:00
Georg Gadinger
87ec3093a9 allow for using SVG logos in the navbar
this uses our new and improved logo by default, but can be easily
changed by modifying `/public/logo.svg`.  the svg is loaded only once
when the application starts, so any modifications to it after a
deployment are visible immediately.

thanks to the power of CSS and SVG being able to make use of it, custom
colour schemes still work too.
2022-10-24 23:19:51 +02:00
Andreas Nedbal
c5efbee938 Remove sidebar from timeline layout 2022-10-24 23:19:39 +02:00
Andreas Nedbal
70d5f932fc Adjust locales as requested in review 2022-10-24 13:58:54 +02:00
Andreas Nedbal
02721fc22d Move sidebar locale namespace to actions 2022-10-24 13:58:54 +02:00
Andreas Nedbal
591a912666 Make i18n-js configuration compatible with 4.x 2022-10-10 21:40:41 +02:00
Andreas Nedbal
6ae03dbd7f Refactor questions to use a Turbo Stream-backed pagination 2022-09-08 23:35:41 +02:00
Andreas Nedbal
b595910564 Refactor timelines to use a Turbo Stream-backed pagination 2022-09-08 23:18:21 +02:00
Andreas Nedbal
c60acebf21 Refactor user relationships to use a Turbo Stream-backed pagination 2022-09-08 22:11:26 +02:00
Andreas Nedbal
688a68e769 Refactor user questions to use a Turbo Stream-backed pagination 2022-09-08 22:11:26 +02:00
Andreas Nedbal
753424f2d2 Refactor user answers to use a Turbo Stream-backed pagination 2022-09-08 22:11:26 +02:00
Andreas Nedbal
1375293f31 Refactor moderation to use a Turbo Stream-backed pagination 2022-09-08 01:00:06 +02:00
Andreas Nedbal
c118dab903 Refactor notifications to use a Turbo Stream-backed pagination 2022-09-08 00:04:27 +02:00
Andreas Nedbal
8c14fb5423 Refactor mod inbox to use a Turbo Stream-backed pagination 2022-09-07 22:31:28 +02:00
Andreas Nedbal
136f7f117d Refactor inbox to use a Turbo Stream-backed pagination 2022-09-04 20:24:32 +02:00
Andreas Nedbal
4ba954a3cf Add (un)subscribing to vocabulary 2022-08-21 16:55:09 +02:00
Andreas Nedbal
fa1bfd7bb9 Adjust locale paths 2022-08-21 15:05:16 +02:00
Andreas Nedbal
b46fae5ebd Rename index action to show action 2022-08-21 13:17:45 +02:00
Andreas Nedbal
f521b5f160 Implement moderation question view layout 2022-08-21 13:17:45 +02:00
Andreas Nedbal
778cf90f85 Add Moderation::QuestionsController 2022-08-21 13:17:45 +02:00
Andreas Nedbal
922799f123 Adjust route and alias naming 2022-08-21 01:13:10 +02:00
Karina Kwiatek
2d01d9b365 Apply review suggestions
Co-authored-by: Andreas Nedbal <git@pixelde.su>
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-08-20 19:05:55 +02:00
Karina Kwiatek
136eac8bdd Add page for managing site-wide anonymous-blocks 2022-08-20 19:05:55 +02:00
Karina Kwiatek
ae5d8931af Implement frontend for blocking users site-wide 2022-08-20 19:03:05 +02:00
Georg Gadinger
ccbd42666d locales: rewrite it in European (and the rest of the world) 2022-08-20 17:37:33 +02:00
Andreas Nedbal
2a8711e7db Fix asked header in question and answerbox 2022-08-17 22:18:37 +02:00
Andreas Nedbal
842d9faa3f
Update config/locales/voc.en.yml
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-08-03 11:56:05 +02:00
Andreas Nedbal
7a6c5cab3f
Apply review suggestion from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-08-02 22:31:16 +02:00
Andreas Nedbal
f526dd86b0 Add final newline to views.en.yml 2022-08-02 19:37:50 +02:00
Andreas Nedbal
b4d380e57e Add missing badges 2022-08-02 19:13:23 +02:00
Andreas Nedbal
1ac4049007 Remove legacy locale file 2022-08-02 19:13:23 +02:00
Andreas Nedbal
77685d4229 Add new translations for navigation 2022-08-02 19:13:23 +02:00
Andreas Nedbal
bf2c97184a Add new translations for feedback pages 2022-08-02 19:13:23 +02:00
Andreas Nedbal
569f2e3458 Remove legacy translations 2022-08-02 19:13:23 +02:00
Andreas Nedbal
c9c0a8e296 Add new translations for sidebar 2022-08-02 19:13:23 +02:00
Andreas Nedbal
196433052b Add new translations for feed tabs 2022-08-02 19:13:23 +02:00
Andreas Nedbal
0575bb8ee3 Add new translations for profile tabs 2022-08-02 19:13:23 +02:00
Andreas Nedbal
f22c69cfe8 Add new translations for profile badges 2022-08-02 19:13:23 +02:00
Andreas Nedbal
77abb202d7 Add new translation for questionbox title 2022-08-02 19:13:23 +02:00
Andreas Nedbal
318ad270eb Add new translation for noscript message 2022-08-02 19:13:23 +02:00
Andreas Nedbal
437e72a322 Translate share alt title in answerbox actions 2022-07-31 15:14:02 +02:00
Andreas Nedbal
8314d0740d Remove legacy locales 2022-07-31 15:14:02 +02:00
Andreas Nedbal
f4f581d12f Add new translations for answerbox 2022-07-31 15:14:02 +02:00
Karina Kwiatek
961d7b752e Quote boolean string keys 2022-07-31 02:37:56 +02:00
Karina Kwiatek
8972ce8da5 Quote Yes/No vocab strings 2022-07-31 02:30:23 +02:00
Karina Kwiatek
cce7a8da8f Remove string copy for frontend strings 2022-07-31 02:28:50 +02:00
Andreas Nedbal
be20b64e43 Fix vocabulary export to i18n-js 2022-07-30 23:47:03 +02:00
Karina Kwiatek
561d402ff7
Merge pull request #593 from Retrospring/action-strings
Refactor action strings
2022-07-30 20:37:22 +02:00
Karina Kwiatek
d026020ef6
Remove leftover "This"
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-30 18:24:22 +00:00
Karina Kwiatek
55cb43c876 Move "Manage list memberships" user action title 2022-07-30 20:14:02 +02:00
Karina Kwiatek
91df126132 Move follow/unfollow user actions 2022-07-30 20:01:08 +02:00
Karina Kwiatek
c9bc92e60e Re-word strings used in controllers 2022-07-30 19:01:57 +02:00
Karina Kwiatek
a03fe85b33 Re-word strings used in ServicesController 2022-07-30 19:01:49 +02:00
Karina Kwiatek
a9482c188d Re-word self-action error message 2022-07-30 19:01:49 +02:00
Karina Kwiatek
808556c5c6 Re-word email help text 2022-07-30 19:01:49 +02:00
Karina Kwiatek
3f2cdbb911 Re-word strings used in views 2022-07-30 19:01:49 +02:00
Karina Kwiatek
6564ef5efb Re-word frontend strings
- Re-word confirmation dialogs
- Reused translations
- Merged duplicated list key
- Replaced ellipsis with ellipsis character
2022-07-30 19:01:49 +02:00
Karina Kwiatek
67bf884f45 Re-word noauth message 2022-07-30 19:01:49 +02:00
Karina Kwiatek
e887e8c4fc Refactor action strings 2022-07-30 18:50:46 +02:00
Andreas Nedbal
a527329294 Remove legacy locales 2022-07-30 16:51:07 +02:00
Andreas Nedbal
39639c2d85 Add new translations for ban flash message 2022-07-30 16:51:07 +02:00
Andreas Nedbal
9c08522a7a Remove legacy locales 2022-07-30 05:07:54 +02:00
Andreas Nedbal
a4c090d594 Add new translations for moderationbox 2022-07-30 04:58:20 +02:00
Andreas Nedbal
0ca8c20845 Add new translations for moderation tabs 2022-07-30 02:55:56 +02:00
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