]> cat aescling's git repositories - mastodon.git/log
mastodon.git
8 years agoChange IDs to strings rather than numbers in API JSON output (#5019)
aschmitz [Wed, 20 Sep 2017 12:53:48 +0000 (07:53 -0500)]
Change IDs to strings rather than numbers in API JSON output (#5019)

* Fix JavaScript interface with long IDs

Somewhat predictably, the JS interface handled IDs as numbers, which in
JS are IEEE double-precision floats. This loses some precision when
working with numbers as large as those generated by the new ID scheme,
so we instead handle them here as strings. This is relatively simple,
and doesn't appear to have caused any problems, but should definitely
be tested more thoroughly than the built-in tests. Several days of use
appear to support this working properly.

BREAKING CHANGE:

The major(!) change here is that IDs are now returned as strings by the
REST endpoints, rather than as integers. In practice, relatively few
changes were required to make the existing JS UI work with this change,
but it will likely hit API clients pretty hard: it's an entirely
different type to consume. (The one API client I tested, Tusky, handles
this with no problems, however.)

Twitter ran into this issue when introducing Snowflake IDs, and decided
to instead introduce an `id_str` field in JSON responses. I have opted
to *not* do that, and instead force all IDs to 64-bit integers
represented by strings in one go. (I believe Twitter exacerbated their
problem by rolling out the changes three times: once for statuses, once
for DMs, and once for user IDs, as well as by leaving an integer ID
value in JSON. As they said, "If you’re using the `id` field with JSON
in a Javascript-related language, there is a very high likelihood that
the integers will be silently munged by Javascript interpreters. In most
cases, this will result in behavior such as being unable to load or
delete a specific direct message, because the ID you're sending to the
API is different than the actual identifier associated with the
message." [1]) However, given that this is a significant change for API
users, alternatives or a transition time may be appropriate.

1: https://blog.twitter.com/developer/en_us/a/2011/direct-messages-going-snowflake-on-sep-30-2011.html

* Additional fixes for stringified IDs in JSON

These should be the last two. These were identified using eslint to try
to identify any plain casts to JavaScript numbers. (Some such casts are
legitimate, but these were not.)

Adding the following to .eslintrc.yml will identify casts to numbers:

~~~
  no-restricted-syntax:
  - warn
  - selector: UnaryExpression[operator='+'] > :not(Literal)
    message: Avoid the use of unary +
  - selector: CallExpression[callee.name='Number']
    message: Casting with Number() may coerce string IDs to numbers
~~~

The remaining three casts appear legitimate: two casts to array indices,
one in a server to turn an environment variable into a number.

* Back out RelationshipsController Change

This was made to make a test a bit less flakey, but has nothing to
do with this branch.

* Change internal streaming payloads to stringified IDs as well

Per
https://github.com/tootsuite/mastodon/pull/5019#issuecomment-330736452
we need these changes to send deleted status IDs as strings, not
integers.

8 years agoPinned toots; embeds
kibigo! [Wed, 20 Sep 2017 09:50:53 +0000 (02:50 -0700)]
Pinned toots; embeds

8 years agoAdded GIF hover-to-play support
kibigo! [Wed, 20 Sep 2017 09:19:36 +0000 (02:19 -0700)]
Added GIF hover-to-play support

8 years agoImprovements to status headers
kibigo! [Wed, 20 Sep 2017 08:57:08 +0000 (01:57 -0700)]
Improvements to status headers

8 years agoFixed disabled boost SVG (#106)
kibigo! [Wed, 20 Sep 2017 07:40:54 +0000 (00:40 -0700)]
Fixed disabled boost SVG (#106)

8 years agoFixed #133 (only parse links in status text)
kibigo! [Wed, 20 Sep 2017 07:20:11 +0000 (00:20 -0700)]
Fixed #133 (only parse links in status text)

8 years agoFix custom emojis with non-1:1 aspect ratio being stretched (#5017)
Eugen Rochko [Wed, 20 Sep 2017 01:38:38 +0000 (03:38 +0200)]
Fix custom emojis with non-1:1 aspect ratio being stretched (#5017)

8 years agoredo #4500 with customEmojis (#5016)
MIYAGI Hikaru [Tue, 19 Sep 2017 21:27:29 +0000 (21:27 +0000)]
redo #4500 with customEmojis (#5016)

8 years agoi18n: Update Polish translation (#5015)
m4sk1n [Tue, 19 Sep 2017 21:25:17 +0000 (23:25 +0200)]
i18n: Update Polish translation (#5015)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoFix race condition when processing incoming OStatus messages (#5013)
ThibG [Tue, 19 Sep 2017 19:44:18 +0000 (21:44 +0200)]
Fix race condition when processing incoming OStatus messages (#5013)

* Avoid races in incoming OStatus toots processing

* oops

* oops again

8 years agoIntroduce OStatus::TagManager (#5008)
Akihiko Odaki [Tue, 19 Sep 2017 16:08:08 +0000 (01:08 +0900)]
Introduce OStatus::TagManager (#5008)

8 years agoFix non-local statuses are html_encoded in public_page. (#5012)
Naoki Kosaka [Tue, 19 Sep 2017 15:55:48 +0000 (00:55 +0900)]
Fix non-local statuses are html_encoded in public_page. (#5012)

8 years agoSet touchstart listener to 'passive', remove 'once' (#5011)
Nolan Lawson [Tue, 19 Sep 2017 15:00:29 +0000 (08:00 -0700)]
Set touchstart listener to 'passive', remove 'once' (#5011)

8 years agoUse OrderedCollectionPage to return followers/following list (#4949)
nullkal [Tue, 19 Sep 2017 14:37:06 +0000 (23:37 +0900)]
Use OrderedCollectionPage to return followers/following list (#4949)

8 years agoAdd support for multiple themes (#4959)
Andrew [Tue, 19 Sep 2017 14:36:23 +0000 (07:36 -0700)]
Add support for multiple themes (#4959)

* Add support for selecting a theme

* Fix codeclimate issues

* Look up site default style if current user is not available due to e.g. not being logged in

* Remove outdated comment in common.js

* Address requested changes in themes PR

* Fix codeclimate issues

* Explicitly check current_account in application controller and only check theme availability if non-nil

* codeclimate

* explicit precedence with &&

* Fix code style in application_controller according to @nightpool's suggestion, use default style in embedded.html.haml

* codeclimate: indentation + return

8 years agoHide sensitive image in default on the public pages (#5009)
unarist [Tue, 19 Sep 2017 14:03:45 +0000 (23:03 +0900)]
Hide sensitive image in default on the public pages (#5009)

Additionally, this restores previous background / text color for media spoiler.

8 years agoFix incomplete account records being read (#4998)
Eugen Rochko [Tue, 19 Sep 2017 04:53:16 +0000 (06:53 +0200)]
Fix incomplete account records being read (#4998)

* Fix incomplete account records being read

- Put account processing into redis lock
- Do not save until record is complete

* Fix spaces

8 years agoRemove ubuntu-toolchain-r-test (#5005)
Akihiko Odaki [Tue, 19 Sep 2017 03:06:27 +0000 (12:06 +0900)]
Remove ubuntu-toolchain-r-test (#5005)

8 years agoFix custom emojis index (#5006)
Yamagishi Kazutoshi [Tue, 19 Sep 2017 03:06:13 +0000 (12:06 +0900)]
Fix custom emojis index (#5006)

8 years agoDefine emoji context for ActivityPub (#5004)
Eugen Rochko [Tue, 19 Sep 2017 03:05:48 +0000 (05:05 +0200)]
Define emoji context for ActivityPub (#5004)

* Define emoji context for ActivityPub

* Fix the emojo

* Use general Mastodon context instead

8 years agoAdmin interface for listing, adding and removing custom emojis (#5002)
Eugen Rochko [Tue, 19 Sep 2017 01:52:38 +0000 (03:52 +0200)]
Admin interface for listing, adding and removing custom emojis (#5002)

* Admin interface for listing, adding and removing custom emojis

* Only display local ones in the list

8 years agoRun i18n-tasks normalize (#5003)
Eugen Rochko [Tue, 19 Sep 2017 01:27:08 +0000 (03:27 +0200)]
Run i18n-tasks normalize (#5003)

8 years agoCustom emoji (#4988)
Eugen Rochko [Tue, 19 Sep 2017 00:42:40 +0000 (02:42 +0200)]
Custom emoji (#4988)

* Custom emoji

- In OStatus: `<link rel="emoji" name="coolcat" href="http://..." />`
- In ActivityPub: `{ type: "Emoji", name: ":coolcat:", href: "http://..." }`
- In REST API: Status object includes `emojis` array (`shortcode`, `url`)
- Domain blocks with reject media stop emojis
- Emoji file up to 50KB
- Web UI handles custom emojis
- Static pages render custom emojis as `<img />` tags

Side effects:

- Undo #4500 optimization, as I needed to modify it to restore
  shortcode handling in emojify()
- Formatter#plaintext should now make sure stripped out line-breaks
  and paragraphs are replaced with newlines

* Fix emoji at the start not being converted

8 years agoA few updates to the Spanish translation and some typos fixing (#4997)
BruWalfas [Mon, 18 Sep 2017 22:47:48 +0000 (19:47 -0300)]
A few updates to the Spanish translation and some typos fixing (#4997)

* So Spanish. Much changes. Wow.

* Some little fixes

* Updated es.yml, and fixed some ortographical errors

* Some little changes to simple_form.es.yml

* Yeah, so much translations

* Spanish e-mail messages

* Remove unused message

8 years agoAdd will-change to improve scrolling perf (#5001)
Nolan Lawson [Mon, 18 Sep 2017 21:29:15 +0000 (14:29 -0700)]
Add will-change to improve scrolling perf (#5001)

8 years agoRe-allow underscore on valid_url_path_ending_chars (#4999)
unarist [Mon, 18 Sep 2017 19:25:40 +0000 (04:25 +0900)]
Re-allow underscore on valid_url_path_ending_chars (#4999)

Limiting allowed characters in the last character of the URL is came from twitter-text, but underscore is allowed on there, and Mastodon before #4941.

8 years agoAdd published property to ActivityPub activity for reblogs (#5000)
unarist [Mon, 18 Sep 2017 18:30:11 +0000 (03:30 +0900)]
Add published property to ActivityPub activity for reblogs (#5000)

Since reblogs are serialized as Announce activity, its published property can be used for the creation time of reblog.

8 years agoDo not add image size without meta to OGP (regression from #4901) (#4995)
Yamagishi Kazutoshi [Mon, 18 Sep 2017 13:00:29 +0000 (22:00 +0900)]
Do not add image size without meta to OGP (regression from #4901) (#4995)

8 years agoUse Account.local.sum(statuses_count) instead of Status.local.count (#4996)
Akihiko Odaki [Mon, 18 Sep 2017 12:59:57 +0000 (21:59 +0900)]
Use Account.local.sum(statuses_count) instead of Status.local.count (#4996)

It is faster.

8 years agoBump ruby version to 2.4.2 (#4958)
Daigo 3 Dango [Mon, 18 Sep 2017 02:55:57 +0000 (16:55 -1000)]
Bump ruby version to 2.4.2 (#4958)

* Bump ruby version to 2.4.2

https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-4-2-released/

Gemfile.lock is also updated.

TODO
- [ ] Update Dockerfile with Alpine release of ruby-2.4.2

* Revert jwt version

It seems that jwt 2.0.0 fails in some environment.
ref. https://github.com/zaru/webpush/issues/42

* Bump Ruby version on docker image

8 years agoAdd `strip_insignificant_zeros: true` option to `number_to_human` (#4993)
Yamagishi Kazutoshi [Mon, 18 Sep 2017 02:55:23 +0000 (11:55 +0900)]
Add `strip_insignificant_zeros: true` option to `number_to_human` (#4993)

8 years agoSome improvements in the Spanish translation (#4991)
febrezo [Mon, 18 Sep 2017 02:52:34 +0000 (04:52 +0200)]
Some improvements in the Spanish translation (#4991)

8 years agoOauth code in input form and add description message (#4986)
Lynx Kotoura [Sun, 17 Sep 2017 13:23:44 +0000 (22:23 +0900)]
Oauth code in input form and add description message (#4986)

* Oauth code in a input form and add description

* New authcode description

8 years agoValidate uri presence for remote status (#4985)
unarist [Sun, 17 Sep 2017 13:21:57 +0000 (22:21 +0900)]
Validate uri presence for remote status (#4985)

8 years agoRaise an error on getting activity uri for remote status (#4984)
unarist [Sun, 17 Sep 2017 11:51:34 +0000 (20:51 +0900)]
Raise an error on getting activity uri for remote status (#4984)

We had returned `nil` for that case, but this raises an error instead, as a wrong usage of the method.
This method is currently only used in ActivitySerializer.

8 years agoFix cancellation of scroll to the right (#4978)
abcang [Sun, 17 Sep 2017 09:59:23 +0000 (18:59 +0900)]
Fix cancellation of scroll to the right (#4978)

8 years agoRandomize sidekiq-scheduler cron schedule (#4980)
Patrick Figel [Sun, 17 Sep 2017 09:58:20 +0000 (11:58 +0200)]
Randomize sidekiq-scheduler cron schedule (#4980)

SubscriptionsScheduler in particular causes high load across the
entire fediverse at 5 AM UTC every day. Randomizing cron schedules
and/or adding a random delay is considered best practice to avoid
this issue.

8 years agoFix an error when actor json couldn't be fetched in ResolveRemoteAccountService ...
unarist [Sun, 17 Sep 2017 09:54:23 +0000 (18:54 +0900)]
Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979)

* Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService

* Add specs

8 years agoSo Spanish. Much changes. Wow. (#4976)
BruWalfas [Sun, 17 Sep 2017 09:16:43 +0000 (06:16 -0300)]
So Spanish. Much changes. Wow. (#4976)

8 years agoRemove local_only scope in Status (#4977)
Akihiko Odaki [Sun, 17 Sep 2017 03:29:43 +0000 (12:29 +0900)]
Remove local_only scope in Status (#4977)

8 years agoEscape URL parts on formatting local status (#4975)
unarist [Sat, 16 Sep 2017 19:33:52 +0000 (04:33 +0900)]
Escape URL parts on formatting local status (#4975)

8 years agoMinor Chinese check & jsx addition (#4973)
Mingye Wang [Sat, 16 Sep 2017 16:48:38 +0000 (12:48 -0400)]
Minor Chinese check & jsx addition (#4973)

* zh-*: transition from "like" back to "fav"

This commit reverts the translation for the yellow-star "fav" button
back to "fav" in Chinese. Some ambuiguity between "like" and "fav" is
deliberately used in zh-TW/HK by using the existing phrase "最爱"
(favorite (adj.), lit. love-most) instead of "收藏" (favourite (v.),
"collect") in some instances.

Fixes #3511.

* zh-*: apply suggestions for PR #4557

* zh-cn: de-monetize ya account

In Chinese two separate characters, 账 and 帐, can be used to spell the
word for account (账/帐户). However, the one with a 贝 on the left is
evolved from the latter specifically for monetary purposes. Since
people usually can't figure out which one to use, it might be a good
idea to use the original not-so-money one.

* zh-*: complete jsx translation

8 years agoRe-center hidden media text vertical
Surinna Curtis [Sat, 16 Sep 2017 16:44:17 +0000 (11:44 -0500)]
Re-center hidden media text vertical

8 years agoAdjust landing pages 2 (#4967)
Lynx Kotoura [Sat, 16 Sep 2017 16:39:12 +0000 (01:39 +0900)]
Adjust landing pages 2 (#4967)

* 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

8 years agoMerge pull request #147 from yipdw/sync/upstream
David Yip [Sat, 16 Sep 2017 16:37:53 +0000 (11:37 -0500)]
Merge pull request #147 from yipdw/sync/upstream

Fix error when following locked accounts (#4896)

8 years agoFix an error in ReplyDistributionWorker when replied status was deleted (#4974)
unarist [Sat, 16 Sep 2017 16:18:00 +0000 (01:18 +0900)]
Fix an error in ReplyDistributionWorker when replied status was deleted (#4974)

Reply distribution is proceed by Sidekiq, so replied status may be deleted before this.

8 years agoFix error when following locked accounts (#4896)
Eugen Rochko [Mon, 11 Sep 2017 21:50:37 +0000 (23:50 +0200)]
Fix error when following locked accounts (#4896)

(cherry picked from commit 0ef9d45d0581dddf2f325033c43721f42fcfca9e)

8 years agocorrect URL pattern used in text length counter in WebUI (#4968)
ふぁぼ原 [Sat, 16 Sep 2017 13:01:15 +0000 (22:01 +0900)]
correct URL pattern used in text length counter in WebUI (#4968)

8 years agoFix AP serialization error when thread is missing (#4970)
unarist [Sat, 16 Sep 2017 13:00:36 +0000 (22:00 +0900)]
Fix AP serialization error when thread is missing (#4970)

`Status#reply?` may returns true even if the thread is missing.
e.g. the replied status was deleted or couldn't be fetched.

Then it raises NoMethodError on various AP json serialization.

This issue won't happen on Atom serialization because it checks thread
existence using `StreamEntry#threaded?` instead.

8 years agoFix hasSize condition in secSet and sizes. (#4969)
Naoki Kosaka [Sat, 16 Sep 2017 13:00:01 +0000 (22:00 +0900)]
Fix hasSize condition in secSet and sizes. (#4969)

8 years agoFix filterable_languages method of SettingsHelper (#4966)
Akihiko Odaki [Sat, 16 Sep 2017 12:59:41 +0000 (21:59 +0900)]
Fix filterable_languages method of SettingsHelper (#4966)

8 years agoBump to 1.6.1
Eugen Rochko [Sat, 16 Sep 2017 01:08:29 +0000 (03:08 +0200)]
Bump to 1.6.1

8 years agoWhen accessing uncached media attachment, redownload it (#4955)
Eugen Rochko [Sat, 16 Sep 2017 01:01:45 +0000 (03:01 +0200)]
When accessing uncached media attachment, redownload it (#4955)

* When accessing uncached media attachment, redownload it

* Prevent re-download of rejected media

8 years agoFix invisible load more button (#4962)
unarist [Fri, 15 Sep 2017 22:32:43 +0000 (07:32 +0900)]
Fix invisible load more button (#4962)

* Fix behavior while the button is invisible
e.g. pointer cursor, couldn't open contextmenu
* Avoid rendering the button to remove blank space if no more items are available or no items are rendered

8 years agoWhen web UI URL used while logged out, redirect to static page (#4954)
Eugen Rochko [Thu, 14 Sep 2017 22:57:08 +0000 (00:57 +0200)]
When web UI URL used while logged out, redirect to static page (#4954)

8 years agoRemove redundant width/height values from SVGs to fix Safari bug (#4956)
Eugen Rochko [Thu, 14 Sep 2017 22:51:00 +0000 (00:51 +0200)]
Remove redundant width/height values from SVGs to fix Safari bug (#4956)

8 years agol10n: PT-BR translation updated (#4953)
Anna e só [Thu, 14 Sep 2017 22:02:38 +0000 (19:02 -0300)]
l10n: PT-BR translation updated (#4953)

* devise.pt-BR.yml now fully translated

* pt-BR.json now fully translated

* pt-BR.yml partially translated; 46 lines left

* pt-BR.yml now fully translated

* simple_form.pt-BR.yml fully translated

* doorkeeper.pt-BR.yml now fully translated

* E-mail instructions on app/views/user_mailer added and fully translated

* PT-BR translation for #4871

* Deleted an unwanted caracter on pt-BR.yml

* Fixing typos on pt-BR.yml

* Added translation for Pinned toots tab on pt-BR.json

* Added missing translation for navigation_bar.pins

* Fixed spelling on pt-BR.yml

* Update pt-BR.json

8 years agoAdd scheduled worker to purge old user IPs (#4951)
sdukhovni [Thu, 14 Sep 2017 20:26:38 +0000 (16:26 -0400)]
Add scheduled worker to purge old user IPs (#4951)

* Add scheduled worker to purge old user IPs

* Use ruby 1.9 hash syntax

8 years agoFix race condition when receiving an ActivityPub Create multiple times (#4930)
ThibG [Thu, 14 Sep 2017 20:26:22 +0000 (22:26 +0200)]
Fix race condition when receiving an ActivityPub Create multiple times (#4930)

* Fix race condition when receiving an ActivityPub Create multiple times

* Use a RedisLock to avoid concurrent processing of a same Create activity

8 years agoAdd missing Japanese translations (#4947)
Yamagishi Kazutoshi [Thu, 14 Sep 2017 16:03:34 +0000 (01:03 +0900)]
Add missing Japanese translations (#4947)

8 years agoEnable to recognize most kinds of characters as URL paths (#4941)
ふぁぼ原 [Thu, 14 Sep 2017 16:03:20 +0000 (01:03 +0900)]
Enable to recognize most kinds of characters as URL paths (#4941)

8 years agol10n: update Persian translation (#4946)
Masoud Abkenar [Thu, 14 Sep 2017 15:13:38 +0000 (17:13 +0200)]
l10n: update Persian translation (#4946)

8 years agoFix #4908 - Do not keep remote file names, generate random (#4934)
Eugen Rochko [Thu, 14 Sep 2017 14:41:59 +0000 (16:41 +0200)]
Fix #4908 - Do not keep remote file names, generate random (#4934)

8 years agoInclude requested URL into the message on network errors (#4945)
unarist [Thu, 14 Sep 2017 14:12:50 +0000 (23:12 +0900)]
Include requested URL into the message on network errors (#4945)

8 years agoRevert unique retry job (#4937)
abcang [Thu, 14 Sep 2017 13:12:43 +0000 (22:12 +0900)]
Revert unique retry job (#4937)

* Revert "Enable UniqueRetryJobMiddleware even when called from sidekiq worker (#4836)"

This reverts commit 6859d4c0289e767955aac3f345074220fe200604.

* Revert "Do not execute the job with the same arguments as the retry job (#4814)"

This reverts commit be7ffa2d7539d5a1946a3933cb9d242b9fac0ddc.

8 years agoi18n: Update Polish translation (#4942)
m4sk1n [Thu, 14 Sep 2017 12:58:48 +0000 (14:58 +0200)]
i18n: Update Polish translation (#4942)

* i18n: Update Polish translation

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* i18n: Update Polish translation

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* Update pl.yml

8 years agoAnother Dutch language update (#4944)
Jeroen [Thu, 14 Sep 2017 12:52:47 +0000 (14:52 +0200)]
Another Dutch language update (#4944)

* Update nl.json

* Update nl.yml

* Update nl.json

8 years agoApply white-space: nowrap to account relationships icons
Surinna Curtis [Thu, 14 Sep 2017 12:37:39 +0000 (07:37 -0500)]
Apply white-space: nowrap to account relationships icons

8 years agoAdd Japanese translate for #4911 (#4943)
Naf [Thu, 14 Sep 2017 09:20:04 +0000 (18:20 +0900)]
Add Japanese translate for #4911 (#4943)

8 years agol10n update OC/FR video redesign (#4938)
Quent-in [Thu, 14 Sep 2017 07:32:14 +0000 (09:32 +0200)]
l10n update OC/FR video redesign (#4938)

* l10n update for Redesign video player (#4911)

* Update videp

* Update

I hope this time format works well.

* One missing string

* Update time format

I'd like the complete name of the month in the Long format and the short one in the short format.
I hope it works now

8 years agoTweak title text for mute notifications toggle to be clearer
Surinna Curtis [Thu, 14 Sep 2017 03:54:14 +0000 (22:54 -0500)]
Tweak title text for mute notifications toggle to be clearer

8 years agofix typos in the migration
Surinna Curtis [Thu, 14 Sep 2017 03:35:48 +0000 (22:35 -0500)]
fix typos in the migration

8 years agoAdd migration to default Mute#hide_notifications? to true
Surinna Curtis [Thu, 14 Sep 2017 03:26:43 +0000 (22:26 -0500)]
Add migration to default Mute#hide_notifications? to true

8 years agoAdd Japanese translate for #4913 (#4936)
N氏 [Thu, 14 Sep 2017 03:25:18 +0000 (12:25 +0900)]
Add Japanese translate for #4913 (#4936)

8 years agoFixed a typo that was breaking the account mute API endpoint
Surinna Curtis [Thu, 14 Sep 2017 02:04:05 +0000 (21:04 -0500)]
Fixed a typo that was breaking the account mute API endpoint

8 years agominor code style fixes oops
Surinna Curtis [Thu, 14 Sep 2017 01:44:38 +0000 (20:44 -0500)]
minor code style fixes oops

8 years agoRefactor handling of default params for muting to make code cleaner
Surinna Curtis [Wed, 13 Sep 2017 23:32:10 +0000 (18:32 -0500)]
Refactor handling of default params for muting to make code cleaner

8 years agoadd an explanatory comment to AccountInteractions
Surinna Curtis [Wed, 13 Sep 2017 22:42:52 +0000 (17:42 -0500)]
add an explanatory comment to AccountInteractions

8 years agofix a missing import
Surinna Curtis [Sat, 9 Sep 2017 12:36:23 +0000 (07:36 -0500)]
fix a missing import

8 years agoIn probably dead code, replace a dispatch of muteAccount that was skipping the modal...
Surinna Curtis [Sat, 9 Sep 2017 12:26:32 +0000 (07:26 -0500)]
In probably dead code, replace a dispatch of muteAccount that was skipping the modal with launching the mute modal.

8 years agosatisfy eslint
Surinna Curtis [Sat, 9 Sep 2017 10:25:33 +0000 (05:25 -0500)]
satisfy eslint

8 years agomake the hide/unhide notifications buttons work
Surinna Curtis [Sat, 9 Sep 2017 10:16:27 +0000 (05:16 -0500)]
make the hide/unhide notifications buttons work

8 years agoAllow modifying the hide_notifications of a mute with the /api/v1/accounts/:id/mute...
Surinna Curtis [Sat, 9 Sep 2017 10:16:06 +0000 (05:16 -0500)]
Allow modifying the hide_notifications of a mute with the /api/v1/accounts/:id/mute endpoint

8 years agoShow whether muted users' notifications are muted in account lists
Surinna Curtis [Sat, 9 Sep 2017 10:06:50 +0000 (05:06 -0500)]
Show whether muted users' notifications are muted in account lists

8 years agoExpose whether a mute hides notifications in the api/v1/relationships endpoint
Surinna Curtis [Sat, 9 Sep 2017 10:05:43 +0000 (05:05 -0500)]
Expose whether a mute hides notifications in the api/v1/relationships endpoint

8 years agoAdd more specs for the /api/v1/mutes/details endpoint
Surinna Curtis [Sat, 2 Sep 2017 18:19:19 +0000 (13:19 -0500)]
Add more specs for the /api/v1/mutes/details endpoint

8 years agoDefine a serializer for /api/v1/mutes/details
Surinna Curtis [Sat, 2 Sep 2017 18:10:10 +0000 (13:10 -0500)]
Define a serializer for /api/v1/mutes/details

8 years agoAdd a /api/v1/mutes/details route that just returns the array of mutes.
Surinna Curtis [Sat, 2 Sep 2017 17:24:58 +0000 (12:24 -0500)]
Add a /api/v1/mutes/details route that just returns the array of mutes.

8 years agoPut the label for the hide notifications checkbox in a label element.
Surinna Curtis [Fri, 1 Sep 2017 01:59:47 +0000 (20:59 -0500)]
Put the label for the hide notifications checkbox in a label element.

8 years agoadd trailing newlines to files for Pork :)
Surinna Curtis [Sun, 6 Aug 2017 23:15:44 +0000 (20:15 -0300)]
add trailing newlines to files for Pork :)

8 years agospecs for MuteService notifications params
Surinna Curtis [Sun, 6 Aug 2017 23:13:12 +0000 (20:13 -0300)]
specs for MuteService notifications params

8 years agoSatisfy eslint.
Surinna Curtis [Sun, 6 Aug 2017 23:00:38 +0000 (20:00 -0300)]
Satisfy eslint.

8 years agoConvert profile header mute to use mute modal
Surinna Curtis [Sun, 6 Aug 2017 22:43:58 +0000 (19:43 -0300)]
Convert profile header mute to use mute modal

8 years agoBreak out a separate mute modal with a hide-notifications checkbox.
Surinna Curtis [Sun, 6 Aug 2017 22:36:04 +0000 (19:36 -0300)]
Break out a separate mute modal with a hide-notifications checkbox.

8 years agoLess gross passing of notifications flag
Surinna Curtis [Fri, 28 Jul 2017 05:12:34 +0000 (00:12 -0500)]
Less gross passing of notifications flag

8 years agoAPI support for muting notifications (and specs)
Surinna Curtis [Fri, 28 Jul 2017 04:31:39 +0000 (23:31 -0500)]
API support for muting notifications (and specs)

8 years agoAdd support for muting notifications in MuteService
Surinna Curtis [Fri, 28 Jul 2017 04:28:57 +0000 (23:28 -0500)]
Add support for muting notifications in MuteService

8 years agospecs testing that hide_notifications in mutes actually hides notifications
Surinna Curtis [Thu, 27 Jul 2017 14:08:45 +0000 (09:08 -0500)]
specs testing that hide_notifications in mutes actually hides notifications

8 years agoAdd specs for how mute! interacts with muting_notifications?
Surinna Curtis [Thu, 27 Jul 2017 14:00:29 +0000 (09:00 -0500)]
Add specs for how mute! interacts with muting_notifications?

8 years agoblock notifications in notify_service from hard muted accounts
Surinna Curtis [Thu, 27 Jul 2017 12:52:45 +0000 (07:52 -0500)]
block notifications in notify_service from hard muted accounts

This page took 0.086674 seconds and 4 git commands to generate.