Commit graph

755 commits

Author SHA1 Message Date
Yamagishi Kazutoshi
35beafabe9 Fix static URL when disable autoplay () 2018-09-01 16:09:24 +02:00
Renato "Lond" Cerqueira
d516e7fa62 Fix autoplay issue with spoiler tag ()
Add tests to avoid similar issues in the future
2018-08-31 15:16:59 +02:00
M Somerville
2903971e04 Inactive header in main profile to match column. () 2018-08-30 23:53:30 +02:00
Renato "Lond" Cerqueira
c7423078ce Add animate custom emoji param to embed pages ()
* Add animate custom emoji param to embed pages

* Rename param, use it for avatars and gifs

* Fix issues pointed by codeclimate and breaking test

* Ignore brakeman warning
2018-08-30 23:14:01 +02:00
Eugen Rochko
f507c9713f Display pending message on admin relays UI ()
* Add missing specs for relay accept/reject

* Display pending message on admin relays UI
2018-08-28 05:39:43 +02:00
M Somerville
9fe24fbf4b Better singulars of account followers/toots. () 2018-08-26 21:30:53 +02:00
Tad Thorley
c0bfd1a830 Update _bio.html.haml ()
On my local instance (https://ruby.social) we have a custom emoji for octocat (:octocat:). I would love to be able to use the emoji in the metadata for my profile. Instead of:

| github | https://github.com/phaedryx

It could be:

| :octocat: | https://github.com/phaedryx

(using a single emoji makes it easier to read the urls)
2018-08-26 14:33:59 +02:00
Eugen Rochko
660475198b 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
M Somerville
f1a00fbbcf Hide reject media checkbox when not relevant. () 2018-08-25 13:26:17 +02:00
M Somerville
5b773a2c9c Add missing video descriptions ()
* Pass through video description as necessary.

* Add title to video, matching aria-label.
2018-08-24 23:55:41 +02:00
Eugen Rochko
94b7dddeac Add admin custom CSS setting ()
Fix 
2018-08-24 04:33:27 +02:00
Eugen Rochko
0c6c9b733a When registrations closed, link "Sign up" to joinmastodon.org ()
Fix 
2018-08-23 19:11:41 +02:00
Jakub Mendyk
289b4f2838 Add ability to change an instance default theme from the administration panel () ()
* Add default_settings class method to ScopedSettings

ScopedSettings was extended to use value of unscoped setting instead of
only using defaults set in config/settings.yml for selected settings.
This adds possibility for admins to set default values of users' settings,
for example default theme (as requested in ).

* Add ability to change an instance default theme

Closes 
2018-08-23 14:17:35 +02:00
M Somerville
e42c06ec01 Allow use of plurals on about page stats. () 2018-08-22 19:42:47 +02:00
Eugen Rochko
801b0f583f Add confirmation step to account suspensions ()
* Add confirmation page for suspensions

* Suspension confirmation closes reports, linked from report UI

* Fix tests
2018-08-22 11:53:41 +02:00
Eugen Rochko
85990d2886 Link to mobile apps page ()
Fix 
2018-08-19 01:17:44 +02:00
Eugen Rochko
834df855e2 Add admin function to deactivate all invites ()
Fix 
2018-08-19 00:58:53 +02:00
Eugen Rochko
5c32fbce98 Add "sign in to participate" message to public toot page () 2018-08-18 12:48:27 +02:00
Eugen Rochko
273e8f0474 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
ThibG
f17d517aec Get rid of the Content Warning rainbows ()
* Disable the animated rainbow text when the “Reduce motion” setting is set

* Get rid of the Content Warning rainbows

* Revert to default color for CWs in admin view

Since that colorscheme is apparently broken for some colorblind people.

* Use HTML5's details and summary for statuses with CWs in admin interface
2018-08-15 19:38:56 +02:00
Eugen Rochko
55094f6941 Show exact number of followers/statuses on export page/in tooltip ()
* Show exact number of followers/statuses on export page/in tooltip

* Fix tests
2018-08-14 21:56:17 +02:00
Eugen Rochko
0dcd212735 Adjust responsive design for /about/more and /terms ()
Follow-up to 
2018-08-10 06:43:02 +02:00
Eugen Rochko
9e8366d4cb Update /terms and /about/more to use public layout () 2018-08-09 12:58:20 +02:00
Eugen Rochko
6e3cb11f3c Public profile endorsements (accounts picked by profile owner) () 2018-08-09 09:56:53 +02:00
ThibG
8f61dfe044 Render custom emoji in display name on public profile () 2018-08-02 15:08:29 +02:00
Eugen Rochko
934d50daf0 Add separate setting for sidebar text (site_short_description) ()
* Add separate setting for sidebar text (site_short_description)

* Fix tests
2018-07-31 18:59:34 +02:00
Eugen Rochko
f53755aaad Fix size/dimension values in avatar/header hint localizations () 2018-07-29 09:57:13 +09:00
Eugen Rochko
13df3889f0 Redesign public profiles and toots () 2018-07-28 19:25:33 +02:00
Eugen Rochko
d987567b39 Fix tag usage display on admin dashboard 2018-07-16 19:51:16 +02:00
Eugen Rochko
2f6967913a Display trending hashtags on admin dashboard () 2018-07-16 19:21:27 +02:00
Eugen Rochko
d0b14eaee2 Add admin dashboard () 2018-07-16 01:11:53 +02:00
Eugen Rochko
171c20ce72 Add federation relay support ()
* Add federation relay support

* Add admin UI for managing relays

* Include actor on relay-related activities

* Fix i18n
2018-07-13 02:16:06 +02:00
ThibG
4c70bb6d6d Add option to not consider word boundaries when processing keyword filtering ()
* Add option to not consider word boundaries when filtering phrases

* Add a few tests for keyword/phrase filtering
2018-07-09 02:22:09 +02:00
Eugen Rochko
5294f3a1d2 Add follow button to detailed status, add gradient to mask bio cut-off ()
* Add follow button to detailed status, add gradient to mask bio cut-off

* In landing strip, show sign up link even if closed (different href)

Point to joinmastodon.org
2018-07-07 22:20:14 +02:00
Eugen Rochko
5f3ef03156 Remove .p-name microformat class ()
Fix 
2018-07-07 18:51:56 +02:00
Eugen Rochko
5bec5c3e6e Add admin setting to enable OG previews for sensitive media () 2018-07-06 02:15:56 +02:00
Eugen Rochko
34fdf77f48 Add more granular OAuth scopes ()
* Add more granular OAuth scopes

* Add human-readable descriptions of the new scopes

* Ensure new scopes look good on the app UI

* Add tests

* Group scopes in screen and color-code dangerous ones

* Fix wrong extra scope
2018-07-05 18:31:35 +02:00
Maciek Baron
4ebdff6e25 Respect noindex rule in remote follow view (fix ) () 2018-07-04 02:58:44 +02:00
Eugen Rochko
23624f709a Improve embeds ()
* Make embeds cacheable by reverse proxy

* Make follow button on embeds open remote follow modal

Instead of web+mastodon://, also, turn the button blue, and add a
sign up prompt to the remote follow modal
2018-07-01 04:12:34 +02:00
Eugen Rochko
d878e3e945 Keyword/phrase filtering ()
* Add keyword filtering

    GET|POST       /api/v1/filters
    GET|PUT|DELETE /api/v1/filters/:id

- Irreversible filters can drop toots from home or notifications
- Other filters can hide toots through the client app
- Filters use a phrase valid in particular contexts, expiration

* Make sure expired filters don't get applied client-side

* Add missing API methods

* Remove "regex filter" from column settings

* Add tests

* Add test for FeedManager

* Add CustomFilter test

* Add UI for managing filters

* Add streaming API event to allow syncing filters

* Fix tests
2018-06-29 15:34:36 +02:00
Eugen Rochko
f91fa10804 Allow selecting default posting language instead of auto-detect ()
* Allow selecting default posting language instead of auto-detect

* Enable default language setting in credentials API

* Fix form saving
2018-06-17 18:57:31 +02:00
Eugen Rochko
499a9f5f11 Change language opt-out to language opt-in ()
* Switch filtered_languages to chosen_languages

* Adjust interface

* Remove unused translations
2018-06-17 13:54:02 +02:00
Eugen Rochko
907694df6a Add autofollow option to invites ()
* Add autofollow option to invites

* Trigger CodeClimate rebuild
2018-06-15 18:00:23 +02:00
Eugen Rochko
e1054a747e Add "Edit profile" link to public profile page, increase bottom padding () 2018-06-07 22:40:55 +02:00
Yamagishi Kazutoshi
f4a6f6fb89 Remove unnecessary underline on accounts table () 2018-06-04 13:09:36 +02:00
Eugen Rochko
f548332935 Display only domain of report account if remote under comment () 2018-05-21 17:33:20 +02:00
Ash Furrow
3646b280d9 Disables autocorrect/autocapitalize on remote username field. () 2018-05-19 19:36:23 +02:00
Eugen Rochko
95385ebe3e In footer, replace text "Mastodon" with logo () 2018-05-19 16:10:55 +02:00
Eugen Rochko
aeceb63275 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
ThibG
4072475241 Improvements to toots display in admin view ()
* Distinguish boosts from original statuses in the admin panel (fixes )

* Show the “show more” button in admin view to make CWs clearer (fixes )

* Make content warnings swag
2018-05-12 17:44:15 +02:00