Commit Graph

126 Commits (4be7952892e11ee2ff90f9235d499445a56cca03)

Author SHA1 Message Date
Yamagishi Kazutoshi 8347479f5d Bump webpacker from 3.5.5 to 4.0.2 ()
Bumps [webpacker](https://github.com/rails/webpacker) from 3.5.5 to 4.0.2.
- [Release notes](https://github.com/rails/webpacker/releases)
- [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/webpacker/compare/v3.5.5...v4.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Eugen Rochko 51e154f5e8
Admission-based registrations mode ()
Fix 
Fix 
Eugen Rochko 65fffeac3f
Redesign landing page ()
Eugen Rochko 80388a3ffe
Change error graphic to hover-to-play ()
Fix 
Eugen Rochko 087e118971
Remove "most popular" tab from profile directory, add responsive design ()
* Remove "most popular" tab from profile directory, add responsive design

* Remove unused translations
ThibG 720daa8143 Add instance-wide setting to disable profile directory ()
* Add instance-wide setting to disable profile directory

Fixes 

When the profile directory is disabled:
- The “discoverable” setting is hidden from users
- The “profile directory” link is not shown on public pages
- /explore returns 404

* Move Setting.profile_directory check to a before_action filter
Eugen Rochko 73be8f38c1
Add profile directory ()
Fix 
Yamagishi Kazutoshi e8ffecbd36 Set @body_classes to admin layout ()
Eugen Rochko 22de24b8ca
Fix missing protocol in dns-prefetch, improve code style ()
Regression from 
Eugen Rochko da7705b274
Add dns-prefetch if using different host for assets or uploads ()
Eugen Rochko 28401962ca Change documentation URL ()
* Change documentation URL

* Fix hardcoded documentation URL in locales
Eugen Rochko 3d7f68c273
Revert Font Awesome 5 upgrade ()
* Revert "Fix some icon names changed by the Font Awesome 5. ()"

This reverts commit 3f9ec3de82.

* Revert "Migrate to font-awesome 5.0. ()"

This reverts commit 8bae14591b.

* Revert "Fix some icons names, unavailable in fontawesome5 (free license). ()"

This reverts commit b9c727a945.

* Revert "Update the icon name changed by the Font Awesome 5. ()"

This reverts commit 17af4d27da.

* Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome ()"

This reverts commit 4b794e134d.
mayaeh 17af4d27da Update the icon name changed by the Font Awesome 5. ()
Eugen Rochko 2288d50a7b
Add force_login option to OAuth authorize page ()
* Add force_login option to OAuth authorize page

For when a user needs to sign into an app from multiple accounts
on the same server

* When logging out from modal header, redirect back after re-login
Eugen Rochko 22e46ebad8
Add theme identifier to body classes for easier custom CSS styling ()
Add forgotten custom CSS admin setting strings
Eugen Rochko a2cabf3f4a
Add admin custom CSS setting ()
Fix 
Eugen Rochko 69ba8f063c
When registrations closed, link "Sign up" to joinmastodon.org ()
Fix 
Eugen Rochko 0fc0980de1
Link to mobile apps page ()
Fix 
Eugen Rochko 78fa926ed5
Add remote interaction dialog for toots ()
* Add remote interaction dialog for toots

* Change AuthorizeFollow into AuthorizeInteraction, support statuses

* Update brakeman.ignore

* Adjust how interaction buttons are display on public pages

* Fix tests
Eugen Rochko bb71538bb5
Redesign public profiles and toots ()
Eugen Rochko 93c66f0c03
In footer, replace text "Mastodon" with logo ()
Eugen Rochko 1e02dc8715
Add preference to hide following/followers lists ()
* Add preference to hide following/followers lists

- Public pages
- ActivityPub collections (does not return pages but does give total)
- REST API (unless it's your own) (does not federate)

Fix 

* Add preference

* Add delegation

* Fix issue

* Fix issue
Eugen Rochko 4476a45444
Fix : Do not double html-encode page titles ()
Eugen Rochko ff44b2e92d
Add missing meta description to profiles, some other SEO stuff ()
- Add missing meta description to profiles
- Add canonical rel link to landing page
- Remove linebreaks from title tags
- Add username to profile title
- Add toots/following/followers to profile description tags
- Add next/prev rel links to profiles
- Do not index follower/following variants of profiles
Eugen Rochko 5f3bee345d
Fix container regression ()
* Update public.html.haml

* Update auth.html.haml

* Update modal.html.haml
Eugen Rochko 79bc3d5845
Add direction tags to HTML e-mails for RTL languages ()
Eugen Rochko 872a0d5bd8
Improve HTML e-mails based on Litmus tests ()
* Use PNG images in HTML e-mails

* Make webpack use URLs with host so fonts load inside HTML e-mails

Convert this back to a relative URL in the premailer CSS loader
since local requests are quicker

* Improve responsive design

* Add missing PNG icon
Eugen Rochko d799921c75
Replace tutorial modal with welcome e-mail ()
* Remove onboarding modal

* Welcome e-mail

* Send welcome e-mail after confirmation

* Remove obsolete translations
Yamagishi Kazutoshi 9a28052e92 Change image URL in mailer to full path ()
Eugen Rochko 5276c0a090
HTML e-mails for UserMailer ()
- premailer gem to turn CSS into inline styles automatically
- rework UserMailer templates
- reword UserMailer templates
Otakan ce854ed506 delete X-UA-Compatible ()
* delete X-UA-Compatible

* undo

* restore
Akihiko Odaki 2c1ed5f872 Show mastodon on modal ()
Nolan Lawson a8eb0bf44f Reduce motion for boost animation ()
* Reduce motion for boost animation

Fixes 

* Fix ternary expression
Nolan Lawson 3de22a82bf Refactor initial state: reduce_motion and auto_play_gif ()
Nolan Lawson 8980aa804f Fix reduced motion breaking public galleries ()
Nolan Lawson 6a50329a9c Only preload JS in /web pages ()
Eugen Rochko 6e9e0c14e6 Fix dependency of error page generation on database ()
Eugen Rochko 5b45c1646a Remove dependency on db during assets:precompile ()
Eugen Rochko 3b60832214 New error page graphic. Other error page improvements ()
- 500.html generated with admin-set default locale if set
- Error page `<title>` includes Mastodon site title
- 500 title changed to "This page is not
  correct" (ref: <https://www.youtube.com/watch?v=2VCAP_seh1A>)
- 500 content appended with "on our end" to make clear it's
  not user's fault
Eugen Rochko 2c8e3fbbfb Generate 500.html with assets:precompile, remove loading from Google Fonts ()
Eugen Rochko 1e02ba111a Add emoji autosuggest ()
* Add emoji autosuggest

Some credit goes to 

* Remove server-side shortcode->unicode conversion

* Insert shortcode when suggestion is custom emoji

* Remove remnant of server-side emojis

* Update style of autosuggestions

* Fix wrong emoji filenames generated in autosuggest item

* Do not lazy load emoji picker, as that no longer works

* Fix custom emoji autosuggest

* Fix multiple "Custom" categories getting added to emoji index, only add once
Eugen Rochko 846cd4e838 Switch from EmojiOne to Twemoji, different emoji picker ()
* Switch from EmojiOne to Twemoji, different emoji picker

* Make emoji-mart use a local spritesheet

* Fix emojify test

* yarn manage:translations
Andrew 0401a24558 Add support for multiple themes ()
* Add support for selecting a theme

* Fix codeclimate issues

* Look up site default style if current user is not available due to e.g. not being logged in

* Remove outdated comment in common.js

* Address requested changes in themes PR

* Fix codeclimate issues

* Explicitly check current_account in application controller and only check theme availability if non-nil

* codeclimate

* explicit precedence with &&

* Fix code style in application_controller according to @nightpool's suggestion, use default style in embedded.html.haml

* codeclimate: indentation + return
Eugen Rochko 09cffaaf04 Fix - Use correct syntax for content preloading ()
Yamagishi Kazutoshi 6fd2e8c3c5 Fix profile page when use system's font ()
Yamagishi Kazutoshi 2305f7c391 Use system's default font on non web UI pages ()
* Use system's default font on non web UI pages

* Remove import for Redirect
Eugen Rochko df605f0f8b Add "signed in as" header to some pages ()
Eugen Rochko 0e0f18ce7c New logo ()
* Add new logo

* Remove unused images
Sorin Davidoi c1f201c49a 🎄🔨 Force tree shake emojione ()
* chore(yarn): Install babel-plugin-preval as development dependency

* feat(babel): Add preval as a plugin

* feat(emojione_light): Prevaled module what tree-shaked emojione

* refactor(emoji): Use emojione_light

* feat: Preload emojione_picker bundle

* fix(emojione_light): Do not use Object.entries

* fix(emojify): Update tests

* chore(emojione_light): Remove silly ascii art
Eugen Rochko c42092ba7a Add option to opt out of search engines on public profile/status pages ()