<feed xmlns='http://www.w3.org/2005/Atom'>
<title>misskey/src/server/api/endpoints/drive, branch master</title>
<subtitle>my misskey fork
</subtitle>
<id>http://g.freya.cat/misskey/atom?h=master</id>
<link rel='self' href='http://g.freya.cat/misskey/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/'/>
<updated>2021-11-11T17:02:25Z</updated>
<entry>
<title>refactoring</title>
<updated>2021-11-11T17:02:25Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2021-11-11T17:02:25Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=0e4a111f81cceed275d9bec2695f6e401fb654d8'/>
<id>urn:sha1:0e4a111f81cceed275d9bec2695f6e401fb654d8</id>
<content type='text'>
Resolve #7779
</content>
</entry>
<entry>
<title>fix: truncate image descriptions (#7699)</title>
<updated>2021-09-29T16:44:22Z</updated>
<author>
<name>Johann150</name>
<email>johann.galle@protonmail.com</email>
</author>
<published>2021-09-29T16:44:22Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=414f1d11582510f77ea3a927053fe68fa160278b'/>
<id>urn:sha1:414f1d11582510f77ea3a927053fe68fa160278b</id>
<content type='text'>
* move truncate function to separate file to reuse it

* truncate image descriptions

* show image description limit in UI

* correctly treat null

Co-authored-by: nullobsi &lt;me@nullob.si&gt;

* make truncate Unicode-aware

The strings that truncate returns should now be valid Unicode.

PostgreSQL also counts Unicode Code Points instead of bytes so this
should be correct.

* move truncate to internal, validate in API

Truncating could also be done in src/services/drive/add-file.ts or
src/services/drive/upload-from-url.ts but those would also affect
local images. But local images should result in a hard error if the
image comment is too long.

* avoid overwriting

Co-authored-by: nullobsi &lt;me@nullob.si&gt;</content>
</entry>
<entry>
<title>fix: mochaが動かないため拡張子なしに戻した</title>
<updated>2021-08-19T12:55:45Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2021-08-19T12:55:45Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=42cc93dd0f189995f29fc87d2734fc809105a7cf'/>
<id>urn:sha1:42cc93dd0f189995f29fc87d2734fc809105a7cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: refactoring imports</title>
<updated>2021-08-19T09:33:41Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2021-08-19T09:33:41Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=b9cb6d1c10729869cbb57ce50c8174ad7474db75'/>
<id>urn:sha1:b9cb6d1c10729869cbb57ce50c8174ad7474db75</id>
<content type='text'>
将来ESMに移行しやすいように
Related: #7658

なんかmochaが起動しなくなってるけど理由不明
すぐ直したい
</content>
</entry>
<entry>
<title>refactor type</title>
<updated>2021-06-08T05:14:58Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2021-06-08T05:14:58Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=56600ba1df2186bd3b0d5d30b4f1fd53bf5efd5d'/>
<id>urn:sha1:56600ba1df2186bd3b0d5d30b4f1fd53bf5efd5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove endpoint descriptions</title>
<updated>2021-06-08T05:09:32Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2021-06-08T05:09:32Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=6b312f755eb171df0afd95a2d4e51cfd7300fa16'/>
<id>urn:sha1:6b312f755eb171df0afd95a2d4e51cfd7300fa16</id>
<content type='text'>
#6627
</content>
</entry>
<entry>
<title>Add image description support (#7518)</title>
<updated>2021-05-28T00:38:09Z</updated>
<author>
<name>nullobsi</name>
<email>me@nullob.si</email>
</author>
<published>2021-05-28T00:38:09Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=ffb9646ce9c3d2326a3e922e58702674eb65646c'/>
<id>urn:sha1:ffb9646ce9c3d2326a3e922e58702674eb65646c</id>
<content type='text'>
* recieve image descriptions under the name property

* fix other components

* use comment for alt and title

* allow editing of file comment

* allow editing of file comment in note dialog

* federate note comments

* use file instead of this

* backend should accept comment on update

* update now actually accepts comment

* allow multiline descriptions

* image should also have description attached

* Update locales/ja-JP.yml

Co-authored-by: rinsuki &lt;428rinsuki+git@gmail.com&gt;

* Use custom component with side-by-side image

* improve usability on mobile devices

* revert changes

* Update post-form-attaches.vue

* Update drive.file.vue

* Update media-caption.vue

Co-authored-by: rinsuki &lt;428rinsuki+git@gmail.com&gt;
Co-authored-by: syuilo &lt;Syuilotan@yahoo.co.jp&gt;</content>
</entry>
<entry>
<title>Refactor (#7394)</title>
<updated>2021-03-24T02:05:37Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2021-03-24T02:05:37Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=ce340aba7a37394c70b9f3d7cece9cfa5e91d94c'/>
<id>urn:sha1:ce340aba7a37394c70b9f3d7cece9cfa5e91d94c</id>
<content type='text'>
* wip

* wip

* wip

* wip

* wip

* Update define.ts

* Update update.ts

* Update user.ts

* wip

* wip

* Update request.ts

* URL

* wip

* wip

* wip

* wip

* Update invite.ts

* Update create.ts</content>
</entry>
<entry>
<title>refactor: Use path alias</title>
<updated>2021-03-23T08:43:07Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2021-03-23T08:43:07Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=c74fe3c6e2aae3df4624b9b3a55b45293223ebf5'/>
<id>urn:sha1:c74fe3c6e2aae3df4624b9b3a55b45293223ebf5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>APIドキュメントの改善 (#6757)</title>
<updated>2021-03-06T13:34:11Z</updated>
<author>
<name>YuzuRyo61</name>
<email>yuzuryo61@yuzulia.work</email>
</author>
<published>2021-03-06T13:34:11Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=a07d753da84191bc8c185a7bcd6d73fab9529b5d'/>
<id>urn:sha1:a07d753da84191bc8c185a7bcd6d73fab9529b5d</id>
<content type='text'>
* Update api document in admin/announcements

* Update api document in announcements

* Update api document in i/read-announcements

* Update api document in username/available

* Update api document &amp; Fix typo in API 403 error

* Update api document

* Update api document

* Update api document

* Fix API permission definition

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Fix bug in users (api)

* Apply reviews #6757

* Apply reviews #6757

Co-authored-by: syuilo &lt;Syuilotan@yahoo.co.jp&gt;</content>
</entry>
</feed>
