Commit graph

309 commits

Author SHA1 Message Date
Eugen Rochko
8d5dcc9301
Use <use /> to render transparent SVG logo instead of inserting it () 2019-05-27 03:33:39 +02:00
Eugen Rochko
46cb36fd2c
Add invite request to pending account notification e-mail ()
Fix sorting of the pending accounts page
2019-04-10 00:36:01 +02:00
Eugen Rochko
67b3b62b98
Improve blocked view of profiles ()
* Revert "Fix filtering of favourited_by, reblogged_by, followers and following ()"

This reverts commit 120544067f.

* Revert "Hide blocking accounts from blocked users ()"

This reverts commit 62bafa20a1.

* Improve blocked view of profiles

- Change "You are blocked" to "Profile unavailable"
- Hide following/followers in API when blocked
- Disable follow button and show "Profile unavailable" on public profile as well
2019-04-07 04:59:13 +02:00
Eugen Rochko
f1bc90ab50
Rename :poll to :preloadable_poll and :owned_poll to :poll on Status ()
Also, fix some n+1 queries

Resolve 
2019-03-28 04:44:59 +01:00
Eugen Rochko
08ec7435ce
Add order options to relationship manager UI () 2019-03-28 02:16:01 +01:00
Eugen Rochko
e117964325
Change icons of features on admin dashboard to remove bias ()
Red crosses implied that it was bad/unexpected that certain features
were not enabled. In reality, they are options, so showing a green
or grey power-off icon is more appropriate.

Add status of timeline preview as well

Fix sample accounts changing too frequently due to wrong query

Sample accounts are intended to be sorted by popularity
2019-03-26 01:24:19 +01:00
Eugen Rochko
9d9b6e3543
Add missing locales (bn, ga, hi) () 2019-03-18 21:55:21 +01:00
Eugen Rochko
b8e4c85e69
Add dormant filter to relationship manager, rename other filters ()
Rename "abandoned" to "moved", and "active" to "primary"
2019-03-18 03:53:17 +01:00
Eugen Rochko
1c113fd72d
Add relationship manager UI () 2019-03-16 11:23:22 +01:00
ysksn
782b622f5f Add specs for action log helper ()
* Add specs for ActionLogHelper

* Make some methods private

methods below never referenced from outside of their module:

- #linkable_log_target
- #log_target_from_history
2019-03-16 00:57:23 +09:00
Eugen Rochko
51e154f5e8
Admission-based registrations mode ()
Fix 
Fix 
2019-03-14 05:28:30 +01:00
Eugen Rochko
9f5b55ad4f
Fix poll update handler calling method was that was not available ()
* Fix poll update handler calling method was that was not available

Fix regression from 

* Refactor VoteService

* Refactor ActivityPub::DistributePollUpdateWorker and optimize it

* Fix typo

* Fix typo
2019-03-12 22:58:59 +01:00
Eugen Rochko
65fffeac3f
Redesign landing page () 2019-03-12 17:34:00 +01:00
ThibG
df5924a1db Do not error out on unsalvageable errors in FetchRepliesService ()
* Do not error out on unsalvageable errors in FetchRepliesService

Fixes 

* Fix FetchRepliesWorker erroring out on deleted statuses
2019-03-05 15:21:14 +01:00
Eugen Rochko
a198add83b
Fix various issues in polls ()
* Fix ActivityPub poll results being serialized even with hide_totals

* Fix poll refresh button having a different font size

* Display poll in OpenGraph description

* Fix NoMethodError when serializing votes

Regression from 

* Fix polls on public pages being broken for non-logged-in users

* Do not show time remaining if poll has no expiration date
2019-03-05 03:51:18 +01:00
ThibG
9dd54ffb1c Avoid redundant HTTP request on some error cases () 2019-02-25 15:54:17 +01:00
Aditoo17
57483f2ffb I18n: Add language options for Kazakh and Lithuanian () 2019-02-23 22:20:35 +01:00
ThibG
6840a77711 Add domain search/filter to the "Federation" (/admin/instances) page () 2019-02-18 14:59:19 +01:00
Aditoo17
7750416597 I18n: Update Czech pluralization and fix some language names ()
* I18n: Update Czech pluralization

* I18n: Fix some language names

* I18n: Fix some language names
2019-02-13 18:53:01 +01:00
Eugen Rochko
c0a564feaa
Add available locales for lv, ms, sq () 2019-02-11 13:19:06 +01:00
Clar Charr
6513f6c953 Replace unlock-alt icon with unlock () 2019-01-31 13:45:15 +01:00
ThibG
4fb94c758e Add attachment list fallback to public pages ()
* Add attachment list fallback to public pages

Fixes 

* Refactor attachments lists
2019-01-13 09:23:54 +00:00
Eugen Rochko
1c6588accc
Redesign admin instances area () 2019-01-08 13:39:49 +01:00
Aboobacker MK
fd16502ae4 Add support for Malayalam in language filter () 2018-12-25 18:29:30 +01:00
Eugen Rochko
3c033c4352
Add moderation warnings ()
* Add moderation warnings

Replace individual routes for disabling, silencing, and suspending
a user, as well as the report update route, with a unified account
action controller that allows you to select an action (none,
disable, silence, suspend) as well as whether it should generate an
e-mail notification with optional custom text. That notification,
with the optional custom text, is saved as a warning.

Additionally, there are warning presets you can configure to save
time when performing the above.

* Use Account#local_username_and_domain
2018-12-22 20:02:09 +01:00
ysksn
bd4ee732c2 Remove MailerHelper does nothing () 2018-12-22 02:35:55 +01:00
ThibG
7c48688d85 Make avatar and headers respect auto_play_gif ()
* Do not animate account header art if user's GIF autoplay setting is off

Fixes 

* Honour currently logged-in user's GIF autoplay setting for account avatars

Fixes 

* Fix avatar display on some public pages when data is stored on a different host

* Use ternary operator instead of if/else for avatar/header URL
2018-12-14 20:34:18 +01:00
ThibG
cf6ee4ff24 Add admin ability to remove an user's header image ()
* Fix markup in admin/accounts/:id table for avatar

* Add admin ability to remove an user's header image
2018-12-11 19:28:03 +01:00
Eugen Rochko
73be8f38c1
Add profile directory ()
Fix 
2018-12-06 17:36:11 +01:00
Eugen Rochko
73faadad28
Redesign admin accounts index ()
* Improve overview of accounts in admin UI

- Display suspended status, role, last activity and IP prominently
- Default to showing local accounts
- Default to not showing suspended accounts

* Remove unused strings

* Fix tests

* Allow filtering accounts by IP mask
2018-11-26 15:53:27 +01: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
e645ae9561
Change admin accounts default sort to most recent () 2018-10-04 16:05:38 +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
ThibG
c39183cc62 Refactor active_nav_class for use with multiple paths () 2018-09-23 20:42:13 +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
Eugen Rochko
011437dcb5
Group reports by target account ()
* Group reports by target account

* Improve CSS
2018-09-13 03:44:08 +02:00
Aditoo17
8c96fd4967 Add Czech language option and locale data ()
* Added Czech language option

* Added Czech language option

* Add Czech locale data

* Delete duplicate locale-data/cs.js

Duplicate locale-data is ignored in Mastodon.

see https://github.com/tootsuite/mastodon/blob/v2.5.0/config/webpack/generateLocalePacks.js#L25-L35
2018-09-05 08:50:06 +09:00
Eugen Rochko
14a300b428
Enable ro and ta locales in Rails ()
* Enable ro and ta locales in Rails

* Add Tamil and Romanian to language dropdown
2018-09-02 22:31:53 +02:00
Eugen Rochko
e926811724
Fix nil error in admin_account_link_to helper ()
Fix 
2018-09-02 19:10:32 +02:00
ThibG
45c0f5433c Do not show follow button on moved or memorial accounts ()
This restores the logic from before the public profile redesign. Fixes 
2018-08-31 20:33:01 +02:00
Eugen Rochko
562250246c Add Welsh language option () 2018-08-31 18:16:19 +09:00
M Somerville
b31449cd77 Better singulars of account followers/toots. () 2018-08-26 21:30:53 +02:00
Eugen Rochko
6c9be61f57
Fix regression from ()
Missing no-reduce-motion/reduce-motion body class
2018-08-26 14:29:58 +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
ThibG
56f882aed6 Avoid deleted attributes when building a Status from action log (fixes ) () 2018-08-22 20:55:50 +02:00
Eugen Rochko
802cf6a4c5
Improve federated ID validation ()
* Fix URI not being sufficiently validated with prefetched JSON

* Add additional id validation to OStatus documents, when possible
2018-08-22 20:55:14 +02:00
Eugen Rochko
19b07ba260
Make unfollow button light up red when hovered ()
Fix 
2018-08-19 03:28:43 +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