Surinna Curtis
21de45c7d2
Use Toggle in place of checkbox in the mute modal.
2017-10-22 20:52:54 -05:00
Surinna Curtis
88e52f3a2a
Fix wrong variable name in api/v2/mutes
2017-10-22 20:52:54 -05:00
Surinna Curtis
d4bb04c45c
Don't serialize "account" in MuteSerializer
...
Doing so is somewhat unnecessary since it's always the current user's account.
2017-10-22 20:52:54 -05:00
Surinna Curtis
33c56212b9
Rename /api/v1/mutes/details -> /api/v2/mutes
2017-10-22 20:52:54 -05:00
Surinna Curtis
bcd4b72223
Remove superfluous blank line
2017-10-22 20:52:54 -05:00
Surinna Curtis
f39bba9a90
Fix code style issues
2017-10-22 20:52:54 -05:00
Surinna Curtis
290c6b0f2e
Apply white-space: nowrap to account relationships icons
2017-10-22 20:52:54 -05:00
Surinna Curtis
d5d1dcab77
Fixed a typo that was breaking the account mute API endpoint
2017-10-22 20:52:54 -05:00
Surinna Curtis
da85bfc252
Refactor handling of default params for muting to make code cleaner
2017-10-22 20:52:54 -05:00
Surinna Curtis
d17255c0e0
add an explanatory comment to AccountInteractions
2017-10-22 20:52:54 -05:00
Surinna Curtis
74ce229101
fix a missing import
2017-10-22 20:52:54 -05:00
Surinna Curtis
fb8613d09b
In probably dead code, replace a dispatch of muteAccount that was skipping the modal with launching the mute modal.
2017-10-22 20:52:54 -05:00
Surinna Curtis
d73f437419
satisfy eslint
2017-10-22 20:52:54 -05:00
Surinna Curtis
343c358bb2
make the hide/unhide notifications buttons work
2017-10-22 20:52:54 -05:00
Surinna Curtis
8a6ad735f1
Allow modifying the hide_notifications of a mute with the /api/v1/accounts/:id/mute endpoint
2017-10-22 20:52:54 -05:00
Surinna Curtis
9fb8a6f231
Show whether muted users' notifications are muted in account lists
2017-10-22 20:52:54 -05:00
Surinna Curtis
f90ac53dc5
Expose whether a mute hides notifications in the api/v1/relationships endpoint
2017-10-22 20:52:54 -05:00
Surinna Curtis
27eb75878e
Define a serializer for /api/v1/mutes/details
2017-10-22 20:52:54 -05:00
Surinna Curtis
a81d3a2842
Add a /api/v1/mutes/details route that just returns the array of mutes.
2017-10-22 20:52:54 -05:00
Surinna Curtis
1fc0382d29
Put the label for the hide notifications checkbox in a label element.
2017-10-22 20:52:54 -05:00
Surinna Curtis
90db8b63b0
add trailing newlines to files for Pork :)
2017-10-22 20:52:54 -05:00
Surinna Curtis
d5dc4696a7
Satisfy eslint.
2017-10-22 20:52:54 -05:00
Surinna Curtis
eb6543b36b
Convert profile header mute to use mute modal
2017-10-22 20:52:54 -05:00
Surinna Curtis
920c7cdaf3
Break out a separate mute modal with a hide-notifications checkbox.
2017-10-22 20:52:54 -05:00
Surinna Curtis
f3aac23099
Less gross passing of notifications flag
2017-10-22 20:52:53 -05:00
Surinna Curtis
aded1acfda
API support for muting notifications (and specs)
2017-10-22 20:52:53 -05:00
Surinna Curtis
9855529a10
Add support for muting notifications in MuteService
2017-10-22 20:52:53 -05:00
Surinna Curtis
aa7e541780
block notifications in notify_service from hard muted accounts
2017-10-22 20:52:53 -05:00
Surinna Curtis
dac67960e0
Add muting_notifications? and a notifications argument to mute!
2017-10-22 20:52:53 -05:00
Marcin Mikołajczak
fdb0848e08
i18n: Update Polish Translation ( #5494 )
2017-10-22 08:34:39 +09:00
Nolan Lawson
8392ddbf87
Remove unnecessary translateZ(0) when doing scale() ( #5473 )
2017-10-19 18:27:55 +02:00
Sho Kusano
09d81defcd
Suppress type error(not a function) on calling fastSeek ( #5452 )
2017-10-18 17:13:51 +02:00
Renato "Lond" Cerqueira
26b2a6a71e
Fix pt-BR translation strings related to advanced search. ( #5449 )
2017-10-18 13:53:17 +02:00
Technowix
edf9a5e4fc
Revert #5438 for FR ( #5450 )
...
As said here https://github.com/tootsuite/mastodon/pull/5438 the point of shortening the timestamp is legit, and after some time of adaptation no mistakes can be mades.
2017-10-18 13:51:30 +02:00
Håkan Eriksson
c710069c12
Some typos and supplementation in sentence structures ( #5441 )
...
* Swedish file added
* Swedish file added
* Swedish file updated
* Swedish languagefile added
* Add Swedish translation
* Add Swedish translation
* Started the Swedish translation
* Added Swedish lang settings
* Updating Swedish language
* Updating Swedish language
* Updating Swedish language
* Updating Swedish language
* Updating Swedish language
* Updating Swedish language
* Swedish language completed and added
* Swedish language Simple_form added
* Swedish language Divise added
* Swedish language doorkeeper added
* Swedish language - now all file complete
* Swedish - Typos and supplementation in sentence structure
* Update simple_form.sv.yml
* Update sv.yml
* Update sv.yml
Rearranged the alphabetical order.
2017-10-18 13:50:52 +02:00
JohnD28
e7099d8d9e
fr.json typo (realtive time) ( #5447 )
...
Typo correction : https://fr.wikipedia.org/wiki/Heure#Typographie
2017-10-18 16:47:14 +09:00
YaQ
6e54719474
Make theme directory and Rename application.scss ( #5336 )
...
* Rename application.scss
* Move to 'default' directory
* Follow review
Move directory, and Rename "mastodon".
* Revert rename
* undo removal of newline
2017-10-18 05:20:07 +09:00
Eugen Rochko
f3003417c5
When unreblog arrives over streaming API, just delete in UI ( #5439 )
2017-10-17 22:17:02 +02:00
JeanGauthier
33ea042dec
i18n better wording (OC/CA/FR) + string added in FR ( #5438 )
...
* Update oc.json
* Update fr.json
* Update ca.json
* Update fr.json
* Update simple_form.fr.yml
* Update ca.json
* Update fr.json
* Update oc.json
* Update oc.json
* Update fr.json
2017-10-17 21:49:39 +02:00
Nolan Lawson
8b22a63ab0
Fix scrolling of dropdown when offscreen ( #5434 )
2017-10-17 20:38:16 +02:00
Eugen Rochko
05686cc99d
Fix unwanted content warning gap in CSS ( #5436 )
...
Fix #5356
2017-10-17 20:07:44 +02:00
Eugen Rochko
484208ce12
When status is fetched instead of delivered, do not stream it ( #5437 )
2017-10-17 20:05:21 +02:00
unarist
3bc8924940
Don't capture scheme-less URLs in the status ( #5435 )
...
Specifically, this fixes status length calculation to be same as JS side.
BTW, since this pattern used in not only preview card fetching, we
should extract it (with twitter-regex?) and write tests I think.
2017-10-17 18:32:25 +02:00
JeanGauthier
a02de9e012
i18n update ( #5427 ) in OC/CA/FR/ES ( #5431 )
...
* Update oc.json
* Update ca.json
* Update fr.json
* Update es.json
2017-10-17 13:03:28 +02:00
unarist
2d395324e1
Fix React warning about tabIndex on status with CW ( #5432 )
2017-10-17 13:03:12 +02:00
Jakob Kramer
e6c9756fa9
Update German translation ( #5425 )
2017-10-17 12:02:47 +02:00
Yamagishi Kazutoshi
5050719fac
Add Japanese translations ( #5427 )
...
* yarn manage:translations
* Add Japanese translation for #5410
* Add Japanese translation for #5393
2017-10-17 11:47:05 +02:00
aschmitz
554c2fd8af
Clean up reblog tracking keys, related improvements ( #5428 )
...
* Clean up reblog-tracking sets from FeedManager
Builds on #5419 , with a few minor optimizations and cleanup of sets
after they are no longer needed.
* Update tests, fix multiply-reblogged case
Previously, we would have lost the fact that a given status was
reblogged if the displayed reblog of it was removed, now we don't.
Also added tests to make sure FeedManager#trim cleans up our reblog
tracking keys, fixed up FeedCleanupScheduler to use the right loop,
and fixed the test for it.
2017-10-17 11:45:06 +02:00
Håkan Eriksson
a2b600428c
Swedish translation ( #5406 )
...
* Swedish file added
* Swedish file added
* Swedish file updated
* Swedish languagefile added
* Add Swedish translation
* Add Swedish translation
* Started the Swedish translation
* Added Swedish lang settings
* Updating Swedish language
* Updating Swedish language
* Updating Swedish language
* Updating Swedish language
* Updating Swedish language
* Updating Swedish language
* Swedish language completed and added
* Swedish language Simple_form added
* Swedish language Divise added
* Swedish language doorkeeper added
* Swedish language - now all file complete
2017-10-17 13:41:36 +09:00
Jeroen
df1a9c5ab5
Small update Dutch (nl) strings ( #5424 )
...
* Update Dutch strings
* Update Dutch
2017-10-17 01:00:23 +02:00