- mai 02, 2018
-
-
Eugen Rochko a rédigé
Add raw bio fields to the source attribute on GET /api/v1/accounts/verify_credentials
-
- avr. 14, 2018
-
-
Eugen Rochko a rédigé
* Add bio fields - Fix #3211 - Fix #232 - Fix #121 * Display bio fields in web UI * Fix output of links and missing fields * Federate bio fields over ActivityPub as PropertyValue * Improve how the fields are stored, add to Edit profile form * Add rel=me to links in fields Fix #121
-
- avr. 01, 2018
-
-
David Underwood a rédigé
Federate custom emojis with accounts
-
- mars 22, 2018
-
-
Eugen Rochko a rédigé
Fix performance regression from #6836
-
- mars 19, 2018
-
-
ThibG a rédigé
Up until now, the order seemed to be in the *opposite* order, which caused the WebUI to populate mentions in reversed order when replying to toots local to one's instance.
-
- mars 04, 2018
-
-
Akihiko Odaki a rédigé
The default locale is now set by config.
-
- mars 01, 2018
-
-
Eugen Rochko a rédigé
-
- jan. 04, 2018
-
-
Yamagishi Kazutoshi a rédigé
-
- déc. 14, 2017
-
-
Eugen Rochko a rédigé
-
- déc. 07, 2017
-
-
Akihiko Odaki a rédigé
-
- déc. 06, 2017
-
-
aschmitz a rédigé
* Break out nested relationship API keys This closes #5856 by restoring the existing behavior of the `muting` and `following` keys (returning booleans rather than truthy or false). It adds `showing_reblogs` and `muting_notifications` keys: * `showing_reblogs` returns true if: 1. You've requested to follow the user, with reblogs shown, or 2. You are following the user, with reblogs shown. * `muting_notifications` returns true if you have muted the user and their notifications as well. * Rubocop fix * Fix pulling reblog/mute status from relationships I could swear this had passed tests before, but apparently not. Works now. * More test fixes Really, you'd expect this to be more straightforward.
-
- nov. 24, 2017
-
-
Eugen Rochko a rédigé
-
- nov. 18, 2017
-
-
Eugen Rochko a rédigé
* Serialize moved accounts into REST and ActivityPub APIs * Parse federated moved accounts from ActivityPub * Add note about moved accounts to public profiles * Add moved account message to web UI * Fix code style issues
-
- nov. 17, 2017
-
-
Eugen Rochko a rédigé
* Add structure for lists * Add list timeline streaming API * Add list APIs, bind list-account relation to follow relation * Add API for adding/removing accounts from lists * Add pagination to lists API * Add pagination to list accounts API * Adjust scopes for new APIs - Creating and modifying lists merely requires "write" scope - Fetching information about lists merely requires "read" scope * Add test for wrong user context on list timeline * Clean up tests
-
- oct. 27, 2017
-
-
nullkal a rédigé
-
- oct. 07, 2017
-
-
Eugen Rochko a rédigé
-
- oct. 05, 2017
-
-
Eugen Rochko a rédigé
Use the non-animated version in web UI, but return both in API
-
- sept. 28, 2017
-
-
Eugen Rochko a rédigé
* Fix #117 - Add ability to specify alternative text for media attachments - POST /api/v1/media accepts `description` straight away - PUT /api/v1/media/:id to update `description` (only for unattached ones) - Serialized as `name` of Document object in ActivityPub - Uploads form adjusted for better performance and description input * Add tests * Change undo button blend mode to difference
-
- sept. 24, 2017
-
-
Eugen Rochko a rédigé
-
- sept. 22, 2017
-
-
Eugen Rochko a rédigé
-
- sept. 20, 2017
-
-
aschmitz a rédigé
* 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.
-
- sept. 19, 2017
-
-
Akihiko Odaki a rédigé
-
Eugen Rochko a rédigé
* 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
-
- sept. 16, 2017
-
-
Eugen Rochko a rédigé
* When accessing uncached media attachment, redownload it * Prevent re-download of rejected media
-
- sept. 13, 2017
-
-
Eugen Rochko a rédigé
* Improve OpenGraph tags for about pages * Add thumbnail admin setting * Fix error * Fix up
-
- août 24, 2017
-
-
Eugen Rochko a rédigé
* Pinned statuses * yarn manage:translations
-
- août 08, 2017
-
-
Gergely Nagy a rédigé
To be able to pull some basic statistics from a Mastodon instance, include the user, status and connected domain counters in the `/api/v1/instance` response. Fixes #3570. Signed-off-by:
Gergely Nagy <algernon@madhouse-project.org>
-
- juil. 10, 2017
-
-
Yamagishi Kazutoshi a rédigé
-
Yamagishi Kazutoshi a rédigé
* Add attribute for default privacy to verify credentials * add raw_note * source
-
- juil. 08, 2017
-
-
unarist a rédigé
-
- juil. 07, 2017
-
-
Eugen Rochko a rédigé
-
Eugen Rochko a rédigé
-