Commit Graph

132 Commits (c7da6db28d3c51a1f6b10e00c3f925bb7294e14f)

Author SHA1 Message Date
Eugen Rochko b9a8b38844
Fix page body not being scrollable in admin layout ()
Hide navigation behind hamburger icon on small screens in admin layout
2019-09-20 10:52:14 +02:00
Eugen Rochko e5cee8062f
Fix blurhash and autoplay not working on public pages () 2019-08-16 19:15:05 +02:00
Eugen Rochko 24552b5160
Add whitelist mode () 2019-07-30 11:10:46 +02:00
Eugen Rochko 20dda5cca0
Change full logo to use primary text color of the given theme ()
* Change full logo to use primary text color of the given theme

* Fix colors of public layout header in light theme
2019-06-08 15:30:06 +02:00
Eugen Rochko 1db4117030
Change preferences page into appearance, notifications, and other () 2019-06-07 03:39:24 +02:00
Eugen Rochko 8d5dcc9301
Use `<use />` to render transparent SVG logo instead of inserting it () 2019-05-27 03:33:39 +02:00
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>
2019-03-15 15:05:31 +01:00
Eugen Rochko 51e154f5e8
Admission-based registrations mode ()
Fix 
Fix 
2019-03-14 05:28:30 +01:00
Eugen Rochko 65fffeac3f
Redesign landing page () 2019-03-12 17:34:00 +01:00
Eugen Rochko 80388a3ffe
Change error graphic to hover-to-play ()
Fix 
2019-02-15 23:33:25 +01:00
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
2018-12-17 03:14:28 +01:00
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
2018-12-11 19:18:29 +01:00
Eugen Rochko 73be8f38c1
Add profile directory ()
Fix 
2018-12-06 17:36:11 +01:00
Yamagishi Kazutoshi e8ffecbd36 Set @body_classes to admin layout () 2018-10-25 00:10:01 +02:00
Eugen Rochko 22de24b8ca
Fix missing protocol in dns-prefetch, improve code style ()
Regression from 
2018-10-12 02:19:10 +02:00
Eugen Rochko da7705b274
Add dns-prefetch if using different host for assets or uploads () 2018-10-10 01:31:10 +02:00
Eugen Rochko 28401962ca Change documentation URL ()
* Change documentation URL

* Fix hardcoded documentation URL in locales
2018-10-06 14:33:36 +09:00
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.
2018-09-28 02:11:14 +02:00
mayaeh 17af4d27da Update the icon name changed by the Font Awesome 5. () 2018-09-25 15:52:12 +02:00
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
2018-09-09 04:10:44 +02:00
Eugen Rochko 22e46ebad8
Add theme identifier to body classes for easier custom CSS styling ()
Add forgotten custom CSS admin setting strings
2018-08-25 22:55:25 +02:00
Eugen Rochko a2cabf3f4a
Add admin custom CSS setting ()
Fix 
2018-08-24 04:33:27 +02:00
Eugen Rochko 69ba8f063c
When registrations closed, link "Sign up" to joinmastodon.org ()
Fix 
2018-08-23 19:11:41 +02:00
Eugen Rochko 0fc0980de1
Link to mobile apps page ()
Fix 
2018-08-19 01:17:44 +02:00
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
2018-08-18 03:03:12 +02:00
Eugen Rochko bb71538bb5
Redesign public profiles and toots () 2018-07-28 19:25:33 +02:00
Eugen Rochko 93c66f0c03
In footer, replace text "Mastodon" with logo () 2018-05-19 16:10:55 +02:00
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
2018-05-18 02:26:51 +02:00
Eugen Rochko 4476a45444
Fix : Do not double html-encode page titles () 2018-03-10 11:43:20 +01:00
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
2018-03-09 00:35:07 +01:00
Eugen Rochko 5f3bee345d
Fix container regression ()
* Update public.html.haml

* Update auth.html.haml

* Update modal.html.haml
2018-02-22 03:04:27 +01:00
Eugen Rochko 79bc3d5845
Add direction tags to HTML e-mails for RTL languages () 2018-01-29 00:22:20 +01:00
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
2018-01-20 01:32:21 +01:00
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
2018-01-18 19:17:25 +01:00
Yamagishi Kazutoshi 9a28052e92 Change image URL in mailer to full path () 2018-01-16 06:26:46 +01:00
Eugen Rochko 5276c0a090
HTML e-mails for UserMailer ()
- premailer gem to turn CSS into inline styles automatically
- rework UserMailer templates
- reword UserMailer templates
2018-01-16 03:29:11 +01:00
Otakan ce854ed506 delete X-UA-Compatible ()
* delete X-UA-Compatible

* undo

* restore
2018-01-02 13:38:12 +01:00
Akihiko Odaki 2c1ed5f872 Show mastodon on modal () 2018-01-02 05:07:56 +01:00
Nolan Lawson a8eb0bf44f Reduce motion for boost animation ()
* Reduce motion for boost animation

Fixes 

* Fix ternary expression
2017-12-24 04:48:31 +01:00
Nolan Lawson 3de22a82bf Refactor initial state: reduce_motion and auto_play_gif () 2017-10-28 00:04:44 +09:00
Nolan Lawson 8980aa804f Fix reduced motion breaking public galleries () 2017-10-16 21:08:01 +02:00
Nolan Lawson 6a50329a9c Only preload JS in /web pages () 2017-10-11 19:20:55 +02:00
Eugen Rochko 6e9e0c14e6 Fix dependency of error page generation on database () 2017-10-09 10:05:10 +02:00
Eugen Rochko 5b45c1646a Remove dependency on db during assets:precompile () 2017-09-29 03:03:03 +02:00
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
2017-09-25 23:05:54 +02:00
Eugen Rochko 2c8e3fbbfb Generate 500.html with assets:precompile, remove loading from Google Fonts () 2017-09-25 04:04:04 +02:00
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
2017-09-23 14:47:32 +02:00
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
2017-09-23 01:41:00 +02:00
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
2017-09-19 16:36:23 +02:00
Eugen Rochko 09cffaaf04 Fix - Use correct syntax for content preloading () 2017-09-04 02:14:12 +02:00