Change privacy policy to be rendered in web UI, add REST API (#19310)
Source string no longer localized, Markdown instead of raw HTML
Showing
- Gemfile 1 addition, 0 deletionsGemfile
- Gemfile.lock 4 additions, 4 deletionsGemfile.lock
- app/controllers/api/v1/instances/privacy_policies_controller.rb 18 additions, 0 deletions...ntrollers/api/v1/instances/privacy_policies_controller.rb
- app/controllers/privacy_controller.rb 3 additions, 14 deletionsapp/controllers/privacy_controller.rb
- app/javascript/mastodon/features/privacy_policy/index.js 60 additions, 0 deletionsapp/javascript/mastodon/features/privacy_policy/index.js
- app/javascript/mastodon/features/ui/components/link_footer.js 1 addition, 1 deletion...javascript/mastodon/features/ui/components/link_footer.js
- app/javascript/mastodon/features/ui/index.js 2 additions, 0 deletionsapp/javascript/mastodon/features/ui/index.js
- app/javascript/mastodon/features/ui/util/async-components.js 4 additions, 0 deletionsapp/javascript/mastodon/features/ui/util/async-components.js
- app/javascript/styles/mastodon/components.scss 87 additions, 1 deletionapp/javascript/styles/mastodon/components.scss
- app/models/privacy_policy.rb 77 additions, 0 deletionsapp/models/privacy_policy.rb
- app/serializers/rest/privacy_policy_serializer.rb 19 additions, 0 deletionsapp/serializers/rest/privacy_policy_serializer.rb
- app/views/privacy/show.html.haml 2 additions, 7 deletionsapp/views/privacy/show.html.haml
- config/i18n-tasks.yml 0 additions, 1 deletionconfig/i18n-tasks.yml
- config/locales/en.yml 2 additions, 83 deletionsconfig/locales/en.yml
- config/routes.rb 2 additions, 1 deletionconfig/routes.rb
Loading
Please register or sign in to comment