Yamagishi Kazutoshi
a7b4c39def
Add meta tags for OGP to following & follow page ( #2052 )
...
* Add meta tags for OGP to following & follow page
* simplify render helper
* Follow up #2133
* og:type is only accounts/show
* revert accounts/{following,followers}
8 years ago
Matt Jankowski
2a86067f5e
Simplify renders in views ( #2084 )
...
* 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
8 years ago
Matt Jankowski
d087c95aa7
Instance helper to replace site title helper ( #2038 )
...
* 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
8 years ago
Matt Jankowski
dce20ec3f5
Use local vars in partials ( #1935 )
...
* Use local vars in accounts/header partial
* Use local variable in 2fa recovery codes partial
8 years ago
Matt Jankowski
d4d5135559
View spec fix ( #1888 )
...
* Add option to disable verify partial doubles
* Add show_landing_strip? helper method
* Use show_landing_strip? helper in accounts and stream entries views
* Fix naming in view specs
8 years ago
Marcin Cieślak
d67b8e90ea
Give SINGLE_USER a chance to register ( #1820 )
...
An attempt to open a brand new Mastodon instance configured
as SINGLE_USER_MODE=true will cause an exception.
Enable temporary registration if we have no users in the database
Fixes #1817
8 years ago
Matt Jankowski
fcec9fcd99
Pagination improvements ( #1445 )
...
* Replace will_paginate with kaminari
* Use #page instead of #paginate in controllers
* Replace will_paginate.page_gap with pagination.truncate in i18n
* Customize kaminari views to match prior styles
* Set kaminari options to match prior behavior
* Replace will_paginate with paginate in views
8 years ago
Matt Jankowski
0d9a420c1a
Use Setting.site_title value for `og:site_name` occurrences ( #1194 )
...
* Add helper method to return Setting.site_title
* Use site_title helper in application layout
* Use site_title value for og:site_name
8 years ago
Eugen Rochko
6cce7c58a0
Fix public profile pagination links
8 years ago
Eugen Rochko
47c74efa85
Add landing strip
8 years ago
Eugen Rochko
ecd7a46f98
Fix h-card classes and remote follow button appearing when it shouldn't
8 years ago
Greg V
8d6361b40b
Add Microformats2 markup
...
h-feed, h-card and h-entry
8 years ago
Effy Elden
fe31b43b75
Add twitter:card metatag to enable Twitter Cards support
8 years ago
Eugen Rochko
fd1f85e81c
Improve images in opengraph meta tags
8 years ago
Eugen Rochko
1184c6a4c7
Fix OpenGraph meta tags
8 years ago
Eugen Rochko
b506010b4f
Add "next" pagination to public profiles
8 years ago
Eugen Rochko
8260628fc8
Fix pt translations, improve pre-cache queries, removing will_paginate
...
from accounts/tags because it's a terribly inefficient way to paginate
large sets of data
8 years ago
Eugen Rochko
ebe726f774
Fix #122 - Add microformats-2 classes to mention links
8 years ago
Eugen Rochko
71836838dd
Enable caching for some rabl views
8 years ago
Eugen Rochko
57583f3fb8
Improve partial rendering and Haml performance (Haml->Hamlit)
8 years ago
Eugen Rochko
02696a063e
Change default avatar, redirect to home after sign up
9 years ago
Eugen Rochko
71ae4dd3d2
Adding public following and followers pages, fix #3
9 years ago
Eugen Rochko
c349200761
Removing some unused gems, adding pagination to profiles, fix #10
9 years ago
Eugen Rochko
3441361568
Adding simple_form, adding profile settings, header image
9 years ago
Eugen Rochko
aab330eb2d
Adjusting design of public pages, optimizing account page queries
9 years ago
Eugen Rochko
ab80ebdeec
Adjusting design of profile and entry pages, linkify mentions in statuses
9 years ago
Eugen Rochko
0e8f59c16f
Refactoring Grape API methods into normal controllers & other things
9 years ago