Commit Graph
297 Commits
Author SHA1 Message Date
yoheizuhoandGitHub b7dcacedff Merge branch 'features/3.5.1' into 3.5.3 2022-09-02 06:52:20 +09:00
Eugen RochkoandGitHub 6c699b1723 Fix preferred posting language returning unusable value in REST API (#18428) 2022-05-16 19:13:36 +02:00
Eugen RochkoandGitHub 0cdb077570 Add language dropdown to compose in web UI (#18420) 2022-05-16 11:18:35 +02:00
Eugen RochkoandGitHub b4d373a3df Add limited attribute to accounts in REST API and a warning in web UI (#18344) 2022-05-10 09:44:35 +02:00
Eugen RochkoandGitHub 2b8dc58b7f Change RSS feeds (#18356)
* Change RSS feeds

- Use date and time for titles instead of ellipsized text
- Use full content in body, even when there is a content warning
- Use media extensions

* Change feed icons and add width and height attributes to custom emojis

* Fix custom emoji animate on hover breaking

* Fix tests
2022-05-09 07:43:08 +02:00
yoheizuhoandGitHub 6bde4d3e7f Merge branch 'features/3.5.1' into v3.5.1 2022-05-01 14:47:29 +09:00
yoheizuho 356c02d873 Merge branch 'features/3.5.0' into v3.5.0 2022-05-01 13:51:07 +09:00
ClaireandGitHub 8ffa96b059 Fix web push notifications containing HTML entities (#18071) 2022-04-23 21:47:43 +02:00
rinsukiandGitHub 275dad9702 fix: returns nil instead of empty URL on status.application.website (#17962) 2022-04-05 12:00:31 +02:00
HolgerandGitHub ea0cfd8e7e fix: PWA web manifest not changed to new routes (#17921) 2022-03-31 11:20:26 +02:00
ClaireandGitHub 2c45859ca9 Refactor account and status formatting (#17877)
* Refactor status formatting

* Add account formatting helpers

* Remove StatusFormatter

* Fixup

* Fix copied typo
2022-03-28 01:17:17 +02:00
Eugen RochkoandGitHub 24e78969ae Fix typo (#17875) 2022-03-26 04:02:19 +01:00
Eugen RochkoandGitHub cefa526c6d Refactor formatter (#17828)
* Refactor formatter

* Move custom emoji pre-rendering logic to view helpers

* Move more methods out of Formatter

* Fix code style issues

* Remove Formatter

* Add inline poll options to RSS feeds

* Remove unused helper method

* Fix code style issues

* Various fixes and improvements

* Fix test
2022-03-26 02:53:34 +01:00
yoheizuho bf0410af46 Merge tag 'v3.5.0rc1' into features/3.5.0 2022-03-15 17:33:28 +09:00
d17fb70131 Change how changes to media attachments are stored for edits (#17696)
* Change how changes to media attachments are stored for edits

Fix not being able to re-order media attachments

* Fix not broadcasting updates when polls/media is changed through ActivityPub

* Various fixes and improvements

* Update app/models/report.rb

Co-authored-by: Claire <[email protected]>

* Add tracking of media attachment description changes

* Change poll in status edit to have a structure closer to the real one

Co-authored-by: Claire <[email protected]>
2022-03-09 09:06:17 +01:00
Eugen RochkoandGitHub bd53dd5210 Change design of federation pages in admin UI (#17704)
* Change design of federation pages in admin UI

* Fix query performance in instance media attachments measure

* Fix reblogs being included in instance languages dimension
2022-03-09 08:52:32 +01:00
edf09ec747 Add /api/v1/accounts/familiar_followers to REST API (#17700)
* Add `/api/v1/accounts/familiar_followers` to REST API

* Change hide network preference to be stored consistently for local and remote accounts

* Add dummy classes to migration

* Apply suggestions from code review

Co-authored-by: Claire <[email protected]>

Co-authored-by: Claire <[email protected]>
2022-03-07 09:36:47 +01:00
Eugen RochkoandGitHub 8f03b7a2fb Add notifications when a reblogged status has been updated (#17404)
* Add notifications when a reblogged status has been updated

* Change wording to say "edit" instead of "update" and add missing controls

* Replace previous update notifications with the most up-to-date one
2022-02-11 22:20:19 +01:00
ClaireandGitHub d4e6774a0c Fix Undo Announce sometimes inlining the originally Announced status (#17516)
* Change tests to have more specific expectations on sent ActivityPub payloads

* Check that payload doesn't actually contain the contents of the boosted toot

* Fix Undo Announce sometimes inlining the originally Announced status
2022-02-11 14:52:07 +01:00
Eugen RochkoandGitHub fd3a45e348 Add edit history to web UI (#17390)
* Add edit history to web UI

* Change history reducer to store items per status

* Fix missing loading prop
2022-02-09 01:17:07 +01:00
ClaireandGitHub a63495230a Change percent to rate in retention metrics API (#16910) 2022-01-23 16:01:25 +01:00
Eugen RochkoandGitHub 1060666c58 Add support for editing for published statuses (#16697)
* Add support for editing for published statuses

* Fix references to stripped-out code

* Various fixes and improvements

* Further fixes and improvements

* Fix updates being potentially sent to unauthorized recipients

* Various fixes and improvements

* Fix wrong words in test

* Fix notifying accounts that were tagged but were not in the audience

* Fix mistake
2022-01-19 22:37:27 +01:00
ClaireandGitHub c60f8ce032 Fix pinned attribute not being set for private self-posts (#17304) 2022-01-17 11:59:46 +01:00
Eugen RochkoandGitHub 14f436c457 Add notifications for statuses deleted by moderators (#17204) 2022-01-17 09:41:33 +01:00
Eugen RochkoandGitHub 8e84ebf0cb Remove IP tracking columns from users table (#16409) 2022-01-16 13:23:50 +01:00
Eugen RochkoandGitHub 7de0ee7aba Remove Keybase integration (#17045) 2021-11-26 05:58:18 +01:00
Eugen RochkoandGitHub 6e50134a42 Add trending links (#16917)
* Add trending links

* Add overriding specific links trendability

* Add link type to preview cards and only trend articles

Change trends review notifications from being sent every 5 minutes to being sent every 2 hours

Change threshold from 5 unique accounts to 15 unique accounts

* Fix tests
2021-11-25 13:07:38 +01:00
yoheizuhoandGitHub 3d906de71e Merge branch 'main' into 3.4.2 2021-11-09 21:27:08 +09:00
Eugen Rochko d5a50e9dfb Add configuration attribute to GET /api/v1/instance (#16485)
List various values like file size limits and supported mime types
2021-11-05 20:30:02 +01:00
HolgerandEugen Rochko 663b58aaae use relative path for scope (#16714)
Use relative path for `scope` in web manifest to allow users use PWA correctly via alternate domains.
2021-11-05 20:28:27 +01:00
Eugen RochkoandGitHub 07341e7aa6 Add graphs and retention metrics to admin dashboard (#16829) 2021-10-14 20:44:59 +02:00
ClaireandGitHub db57bff11d Stop setting a shortcode to newly-created media attachments (#16730)
* Stop setting a shortcode to newly-created media attachments

The WebUI has stopped using the “short media URL” in ages. This isn't used
anywhere except for mail notifications.

Deprecating it would allow us to eventually get rid of at least a database
column and corruption-prone index, as well as a controller.

* Fix tests
2021-09-13 18:59:37 +02:00
HolgerandGitHub 209f8f3a60 use relative path for scope (#16714)
Use relative path for `scope` in web manifest to allow users use PWA correctly via alternate domains.
2021-09-08 23:33:36 +02:00
Eugen RochkoandGitHub 275fa4746b Add configuration attribute to GET /api/v1/instance (#16485)
List various values like file size limits and supported mime types
2021-07-10 17:58:41 +02:00
David SterryandGitHub 7c27ccb8d8 Fix #16407 (#16432) 2021-06-27 22:31:28 +02:00
yoheizuhoandGitHub 989be61e51 Merge branch 'back-3.3.0' into v3.4 2021-05-17 08:15:42 +09:00
52c4e17f7e Add width and height to attachments in ActivityPub (#16245)
Co-authored-by: dogelover911 <dogelover911@localhost>
2021-05-16 23:09:03 +02:00
yoheizuhoandGitHub dc591911ce Merge pull request #443 from YoheiZuho/quote-main
Quote main
2021-05-17 00:52:43 +09:00
yoheizuho 595c1443bf fix 2021-05-14 10:14:40 +09:00
noellaboandyoheizuho 124153f8e0 Add place tab bar at bottom and add short label
modified:   app/controllers/settings/preferences_controller.rb
	modified:   app/javascript/mastodon/features/compose/index.js
	modified:   app/javascript/mastodon/features/ui/components/columns_area.js
	modified:   app/javascript/mastodon/features/ui/components/tabs_bar.js
	modified:   app/javascript/mastodon/initial_state.js
	modified:   app/javascript/mastodon/locales/en.json
	modified:   app/javascript/mastodon/locales/ja.json
	modified:   app/javascript/styles/mastodon/basics.scss
	modified:   app/javascript/styles/mastodon/components.scss
	modified:   app/lib/user_settings_decorator.rb
	modified:   app/models/user.rb
	modified:   app/serializers/initial_state_serializer.rb
	modified:   app/views/layouts/application.html.haml
	modified:   app/views/layouts/error.html.haml
	modified:   app/views/settings/preferences/other/show.html.haml
	modified:   config/locales/simple_form.en.yml
	modified:   config/locales/simple_form.ja.yml
	modified:   config/settings.yml
2021-05-14 10:07:26 +09:00
noellabo 8402b7063e Fix to hide mute and blocked quotes 2021-05-12 07:24:18 +09:00
noellabo f63fe2bd7d Compatible with Misskey quote 2021-05-12 07:24:18 +09:00
noellabo ac776dbdfb Add feature_quote to instance API 2021-05-12 07:24:18 +09:00
noellabo 59749d09d9 Fix quote nesting at once, add quote_id 2021-05-12 07:24:18 +09:00
wakinandnoellabo 794ad9dbc6 remake quote feature 2021-05-12 07:24:18 +09:00
Eugen RochkoandGitHub be353bccbb Fix error when rendering actor with hashtags in bio (#16218)
Fix #16217, regression from #16160
2021-05-11 19:14:59 +02:00
rinsukiandGitHub 4d31cef19d Fix breaking change about format of accounts.created_at (#16186) 2021-05-09 10:39:13 +02:00
Eugen RochkoandGitHub 2c77d97e0d Add joined date to profiles in web UI (#16169) 2021-05-07 14:33:19 +02:00
Eugen RochkoandGitHub f7117646af Add cold-start follow recommendations (#15945) 2021-04-12 12:37:14 +02:00
Eugen RochkoandGitHub 8331fdf7e0 Add server rules (#15769) 2021-02-21 19:50:12 +01:00