Commit Graph

105 Commits

Author SHA1 Message Date
ThibG
42b3b019e0 Fix blur behind closed registration message ()
* Fix closed registration message blur

* Adjust overlay margins to account for blur

Fixes 
2019-11-22 15:56:59 +01:00
BSKY
fccf83e1f2 Add noopener and/or noreferrer () 2019-10-24 22:44:42 +02:00
Eugen Rochko
19cdc62765
Remove fallback to long description on sidebar and meta description ()
Fix 
2019-10-08 22:08:55 +02:00
Eugen Rochko
c35376132b
Fix long domain block descriptions breaking table layout () 2019-10-01 04:54:29 +02:00
Eugen Rochko
bd9685f798
Fix public list of domain blocks being too verbose on about page () 2019-09-29 16:23:01 +02:00
Eugen Rochko
33b2e0f189
Fix "reason" prefix being shown with no reason for public blocks () 2019-09-21 20:01:02 +02:00
Eugen Rochko
d930eb88b6
Add table of contents to about page ()
Move public domain blocks information to about page
2019-09-19 11:09:05 +02:00
ThibG
2b2b03a7da Fix duplicate HTML ids in /about ()
Fixes 
2019-09-10 20:55:23 +02:00
ThibG
9b6a5ed109 Add public blocks to /about/blocks ()
* Add automatic blocklist display in /about/blocks

Inspired by https://github.com/Gargron/mastodon.social-misc

* Add admin option to set who can see instance blocks

* Normalize locales files

* Rename “Sandbox” to “Silence” for consistency

* Disable /about/blocks when in whitelist mode

* Optionally display rationale for domain blocks

* Only display domain blocks that have user-facing limitations, and order them

* Redesign table of blocked domains to better handle long domain names and rationales

* Change domain blocks ordering now that rationales aren't displayed right away

* Only show explanation for block severities actually in use

* Reword instance block explanations and add disclaimer for public fetch mode
2019-08-19 11:35:48 +02:00
ThibG
730c4053d6 Add ActivityPub actor representing the entire server ()
* Add support for an instance actor

* Skip username validation for local Application accounts

* Add migration script to create instance actor

* Make Codeclimate happy

* Switch to id -99 for instance actor

* Remove unused `icon` and `image` attributes from instance actor

* Use if/elsif/else instead of return + ternary operator

* Add instance actor to fresh installs

* Use instance actor as instance representative

Use instance actor for forwarding reports, relay operations, and spam
auto-reporting.

* Seed database in test environment

* Fix single-user mode

* Fix tests

* Fix specs to accomodate for an extra `Account`

* Auto-reject follows on instance actor

Following an instance actor might make sense, but we are not handling that
right now, so auto-reject.

* Fix webfinger lookup and serialization for instance actor

* Rename instance actor

* Make it clear in the HTML view that the instance actor should not be blocked

* Raise cache time for instance actor as there's no dynamic content

* Re-use /about/more with a flash message for instance actor profile
2019-07-19 01:44:42 +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
8b69a66380 Add "why do you want to join" field to invite requests ()
* Add "why do you want to join" field to invite requests

Fix 

* Remove unused translations

* Fix broken registrations when no invite request text is submitted
2019-04-09 23:06:30 +09:00
koyu
0f9278c3d3 Don't autofocus registration form () 2019-03-24 05:00:02 +01:00
Eugen Rochko
55a9658ad8
Add custom closed registrations message to landing page when set () 2019-03-23 02:24:01 +01:00
ThibG
d041b7a1e7 Do not show timeline preview or directory widgets if they are disabled () 2019-03-19 05:48:17 +01: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
Aditoo17
6c0a96912a Change joinmastodon.org to joinmastodon.org/#getting-started for sign up on another server () 2019-03-09 17:07:59 +01:00
ashleyhull-versent
2dba313100 Replace SVG asset with Custom mascot () 2018-10-08 00:20:45 +02: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
Naoki Kosaka
8bae14591b Migrate to font-awesome 5.0. () 2018-09-27 17:08:56 +02:00
Eugen Rochko
f4d549d300
Redesign forms, verify link ownership with rel="me" ()
* Verify link ownership with rel="me"

* Add explanation about verification to UI

* Perform link verifications

* Add click-to-copy widget for verification HTML

* Redesign edit profile page

* Redesign forms

* Improve responsive design of settings pages

* Restore landing page sign-up form

* Fix typo

* Support <link> tags, add spec

* Fix links not being verified on first discovery and passive updates
2018-09-18 16:45:58 +02:00
jacob
d16c3342ce add several missing alt tags ()
* add several missing alt tags

* remove alt text from mascot images
2018-09-17 18:02:17 +02:00
M Somerville
ad41806e53 Allow use of plurals on about page stats. () 2018-08-22 19:42:47 +02:00
Eugen Rochko
5b8603879f
Adjust responsive design for /about/more and /terms ()
Follow-up to 
2018-08-10 06:43:02 +02:00
Eugen Rochko
0dcc1950d1
Update /terms and /about/more to use public layout () 2018-08-09 12:58:20 +02:00
Yamagishi Kazutoshi
e0b1e17bd0 Show media modal on public timeline () 2018-05-08 13:33:09 +02:00
Eugen Rochko
61a9018607
Enable custom emojis in profiles (notes, field values, display names) ()
Follow-up to 
2018-05-06 11:48:51 +02:00
Eugen Rochko
07a7d5959c
Fix missing "Administered by" when timeline preview disabled () 2018-04-17 13:51:14 +02:00
Eugen Rochko
07176fed37
Add contact account to landing page ("Administered by") () 2018-04-04 01:11:26 +02:00
Eugen Rochko
8bf3e750ab
Fix : Adjust RTL styles for landing page () 2018-03-13 08:14:08 +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
5acd5315f2
Improve styling of closed registrations message, rename button ()
* Improve styling of closed registrations message, rename button

"Sign up on another server"

Fix 

* Adjust styling of closed registrations message
2018-03-08 11:10:37 +01:00
Eugen Rochko
8de048fcdb
In wide layout, columnize Mastodon features on landing page () 2018-03-07 08:59:27 +01:00
Lynx Kotoura
a40167cf4d Better grid layout for the landing page ()
* Use grid layout for the landing page

* Fix column settings

Set the ratio explicitly

* Improve information board
2018-02-26 16:19:07 +01:00
Eugen Rochko
c71aa468b5
Redesign landing page (again) ()
* Redesign landing page (again)

* Move login form in small version to the right column

* Display closed registrations message

* Add site setting for the hero image

* Fix test

* Increase spacing, maximum width, change call to action section
2018-02-22 01:03:48 +01:00
Akihiko Odaki
5da5c65db8 Unify links container implementation in about pages ()
They were redundant, and also had a inconsistency; the button for
"other instances" had an icon for the external link in "more" page, but
it didn't in the other pages.

This unifies the implementation, and the external link icon is now shown
in all the about pages.
2018-02-02 10:32:21 +01:00
takayamaki
552d22bec9 sign_in and sign_up views present og meta infos () 2017-10-11 00:52:25 +02:00
Eugen Rochko
f486ef2666 Redesign public hashtag pages () 2017-10-07 20:00:35 +02:00
Lynx Kotoura
1e3b1d7211 Adjust landing pages 2 ()
* Adjust landing pages 2

Fix styles of terms page
Remove action buttons from timeline in about page
Adjust styles of short description
Adjust form inputs
Set autocomplete off for username and email box in registration form. Remove line breakings.

* Revert removing action buttons
2017-09-16 18:39:11 +02:00
Eugen Rochko
9239e4ce4d Uploads for admin site settings ()
* Improve OpenGraph tags for about pages

* Add thumbnail admin setting

* Fix error

* Fix up
2017-09-14 00:04:30 +02:00
Daigo 3 Dango
696c2c6f2f Add Mastodon::Source.url ()
* Add Mastodon::Source.url

* Update spec

* Refactor

Move things frmo Mastodon::Source to Mastodon::Version
2017-08-22 22:54:19 +02:00
Lynx Kotoura
dcbc1af38a Fix short description in about/more page () 2017-08-08 15:49:32 +02:00
TheInventrix
c9fd6f386c unify short description styling ()
apply same style class to the About description on both the landing page
and the about/more page
2017-08-08 01:50:15 +02:00
Yamagishi Kazutoshi
f91284d230 Do not create empty a element when there is no e-mail ()
Empty a element is created when there is no business e-mail input.
2017-07-30 16:24:18 +02:00
Lynx Kotoura
ea33cdc30b Set contact address in about/more as mailto link ()
* Set contact address as mailto link

To be able to copy long email address

* Set style for mailto link
2017-07-30 12:56:04 +02:00
Lynx Kotoura
57a794d8eb Fix autocomplete option in haml files ()
* Fix autocomplete in two_factor.html.haml

* Fix autocomplete in registrations edit.html.haml

* Fix autocomplete in passwords edit.html.haml

* Fix autocomplete in _registration.html.haml

* Fix autocomplete in new.html.haml

* Fix autocomplete in show.html.haml

* Add autocomplete option to sessions new.html.haml

* Add autocomplete option to 2FA new.html.haml

* Add autocomplete option to 2FA show.html.haml
2017-07-29 14:20:31 +02:00
Ondřej Hruška
4115043dc7 Added external link icons to joinmastodon navbar buttons () 2017-07-26 02:00:36 +02:00
Eugen Rochko
029f2c4545 Redesign /terms page ()
* Redesign /terms page

* Fix tests

* Remove unused keys
2017-07-24 17:15:15 +02:00