Commit Graph

20 Commits (924af400da330f8a168afe2b4ffb5dc50dbd8ce9)

Author SHA1 Message Date
HTeuMeuLeu 1a3859d8e2
Update follow and follow_request emails ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 5a3f174d56
Fix follow link style in embeds ()
Trevor Wolf ea10febd25
fix buttons showing inconsistent styles ()
Eugen Rochko 839f893168
Change public accounts pages to mount the web UI ()
* Change public accounts pages to mount the web UI

* Fix handling of remote usernames in routes

- When logged in, serve web app
- When logged out, redirect to permalink
- Fix `app-body` class not being set sometimes due to name conflict

* Fix missing `multiColumn` prop

* Fix failing test

* Use `discoverable` attribute to control indexing directives

* Fix `<ColumnLoading />` not using `multiColumn`

* Add `noindex` to accounts in REST API

* Change noindex directive to not be rendered by default before a route is mounted

* Add loading indicator for detailed status in web UI

* Fix missing indicator appearing while account is loading in web UI
Eugen Rochko 44b2ee3485
Add customizable user roles ()
* Add customizable user roles

* Various fixes and improvements

* Add migration for old settings and fix tootctl role management
Eugen Rochko 45aa5781ce
Change brand color and logotypes ()
- Add rake task for generating Apple/Android icons and favicons from SVG
- Add rake task for generating PNG icons and logos for e-mails from SVG
- Remove obsolete Microsoft icons and configuration
- Remove PWA shortcut icons
Eugen Rochko cefa526c6d
Refactor formatter ()
* Refactor formatter

* Move custom emoji pre-rendering logic to view helpers

* Move more methods out of Formatter

* Fix code style issues

* Remove Formatter

* Add inline poll options to RSS feeds

* Remove unused helper method

* Fix code style issues

* Various fixes and improvements

* Fix test
Claire 443d114574
Fix encoding error in OpenGraph account description ()
Fixes 
Claire e2844b7e58
Change number_to_human calls to always use 3-digits precision ()
Fixes 
Eugen Rochko c253f5c57e
Fix punycode being rendered instead of unicode in some places ()
Daigo 3 Dango 206dfd7dad Clarify keyword arguments with ** ()
This change is to suppress the warning below on on ruby-2.7.0:

- warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
Eugen Rochko f86ee4b59f
Fix IDN mentions not being processed, IDN domains not being rendered ()
This changes the REST API to return unicode domains in the `acct`
attribute instead of punycode, and to render unicode instead of
punycode on public HTML pages as well.

Fix , fix 
Takeshi Umeda 04582e3c3e Remove some duplicate methods from StatusHelper and reflect changes to AccountHelper ()
Takeshi Umeda a6269b2f83 Split AccountsHelper from StatusesHelper ()
Matt Jankowski 4ada50985a Pagination improvements ()
* 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
Eugen Rochko 3ce6ac0ce2 Adding some localizations
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
Eugen Rochko b3c7c8700d Fix most pages on small screens
Eugen Rochko 71ae4dd3d2 Adding public following and followers pages, fix
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things