Commit Graph

43 Commits (f48cb3eb170314cba1938522c0da44af21d47e83)

Author SHA1 Message Date
Matt Jankowski 9262f6968b Fix broken spec for about/links view partial ()
Yamagishi Kazutoshi 01c206326f Hide get started link when register closed ()
Wesley Ellis a1174a6d7e Add og:url tags ()
* add og:url to stream_item view

* add og:url and text to about/show

* add og:url to profile, followers and follows pages
Yamagishi Kazutoshi ceecf96208 Add crossorigin="anonymous" to about ()
Ash Furrow a0ed88a99b Adds version to about/more and API ()
* Adds version.

* Cleans up code.

* Removes standalone endpoint and adds version to instance endpoint.

* Addresses feedback from .
Matt Jankowski 84b5fae8e3 Simplify renders in views ()
* Simplify render in mailer views

* Simplify render in about/more view

* Simplify render in accounts follow views

* Simplify render in recovery code views

* Simplify render in stream entry embed

* Simplify render in stream entries status partial

* Simplify render in authorize follow new view
Matt Jankowski 389f8f8249 Instance helper to replace site title helper ()
* Move site title helper to instance helper (name change only)

* Remove newline in <title> tag

* Add site_hostname helper method to wrap up local_domain value

* Use site_hostname helper in places that need local_domain value
Matt Jankowski f96f8d0176 Use .presence instead of ternary on site description for og: content ()
Matt Jankowski 26ec042f38 Remove trailing whitespace in terms.no.html ()
Matt Jankowski 3b8908c114 About page contact email ()
* Correct site_contact_email typo

* Separate about more page into partials, add specs
Alex Dunn 0f889523e4 views/about: use Setting.site_title instead of hardcoding ()
maxypy a6807201d2 Implementing Subresource Integrity ()
* Add sprockets-rails to Gemfile

* Add sprockets-rails to Gemfile.lock

* Update show.html.haml

* Update index.html.haml

* Update admin.html.haml

* Update auth.html.haml

* Update embedded.html.haml

* Update public.html.haml
Alyssa Ross 55b56e3f95 terms: remove redundant words ()
"at least X" and "X or older" have identical meanings.
Using both together feels a little jarring.
Knut Erik e1264bbd92 Added norwegian version of terms of service and privacy policy ()
lindwurm fc47c1d00e [about] Moving docs link to tootsuite/documentation ()
related: 1236529e39

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
Matt Jankowski e5282e4ec0 Clean up about page ()
* Add InstancePresenter to expose site details

* Clean up about controller, use instance presenter
Matt Jankowski ca44c13455 Use Setting.site_title value for `og:site_name` occurrences ()
* Add helper method to return Setting.site_title

* Use site_title helper in application layout

* Use site_title value for og:site_name
Eugen Rochko 5f54981846 New admin setting: open/close registrations, with custom message, from the admin UI
Eugen Rochko 433cb198fa Fix landing page sign up form ignoring username field
Eugen Rochko f864fee116 Fix up some localizations
Eugen Rochko 8803ca9efe Improved landing page
Eugen Rochko ac406a31b0 Start page links a bit more readable
shel 38dceb3bf7 Promote Apps ()
"Various apps are available" is now a hyperlink
shel 3f1f3d0827 Add link to other instances list
This should help federation
Eugen Rochko cde0476ca2 Fix
Eugen Rochko cc1eccc8bc Fix - when logged in, make "get started" link to the frontpage instead of sign up
Eugen Rochko 7cde08e30b Improve extended about page layout
Eugen Rochko c01dd089ff Adding about/more page with extended information that can be set up by an admin
Eugen Rochko e25170f960 Add extended about page stub
Eugen Rochko b11fdc3ae3 Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
with YAML-defined defaults. Add admin page for editing global settings. Add "site_description"
setting that would show as a paragraph on the frontpage
Effy Elden f876a8681d Update the Mastodon repository URL from Gargron/ to tootsuite/ in various places
Eugen Rochko 205ba00017 Fix sandboxed iOS login again
Effy Elden 819bfb75c6 Add twitter:card metatag to enable Twitter Cards support
Eugen Rochko b302b9202b Add page for authorizing/rejecting follow requests
Eugen Rochko e09d3a2c66 Fix - use window.location hack to let people login from sandboxed iOS homescreen
Eugen Rochko c4ffffbeed Add a better cropped image
Eugen Rochko 642e464670 Adding art by cutewitchirl, open graph tags for about page
Eugen Rochko 546c4718e7 Localizations for most server-side strings
Eugen Rochko 3f54fba0d3 Use privacy policy from Discourse
Eugen Rochko dd03118098 Fix follow icon changing plus to minus, add terms page stub
Eugen Rochko 57304ac375 Catch 404 errors when downloading remote media, add screenshot to landing page
Eugen Rochko 9b195f5dd3 Add window titles to auth pages and about page, link sign up/login from about page
Eugen Rochko e63aebff7a Adding landing page