Commit Graph

56 Commits

Author SHA1 Message Date
tamaina abc296cdcc
refactor: use Object.fromEntries() instead of in-house implementation (#6401)
* refactor: use Object.fromEntries()
instead of in-house implementation

* Remove extra type assertions
2020-05-23 23:21:09 +09:00
tamaina 3963ed8ff7
feat(client): 翻訳をIndexedDBに保存・プッシュ通知を翻訳 (#6396)
* wip

* tabun ok

* better msg

* oops

* fix lint

* Update gulpfile.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update src/client/scripts/set-i18n-contexts.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* refactor

Co-authored-by: acid-chicken <root@acid-chicken.com>

* 

* wip

* fix lint

* たぶんおk

* fix flush

* Translate Notification

* remove console.log

* fix

* add notifications

* remove san

* wip

* ok

* ✌️

* Update src/prelude/array.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* wip

* i18n refactor

* Update init.ts

* ✌️

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2020-05-23 13:19:31 +09:00
MeiMei 4090922e7e
CI通らないの修正 (#6173)
* CI通らないの修正

* Revert "CI通らないの修正"

This reverts commit 3eab7eab90.

* ts-ignore

* んー
2020-03-22 09:21:21 +09:00
MeiMei 1b48e0d6e0
Revert "Update dependencies (#6167)" (#6168)
This reverts commit 0420c548da.
2020-03-20 02:46:13 +09:00
MeiMei 0420c548da
Update dependencies (#6167)
* Update CI (#11)

* Update nodejs.yml

* Fix time

* no docker

* no CI

* build only

* Update dependencies
2020-03-20 02:40:35 +09:00
syuilo 917726fecc wip #6140 2020-03-07 11:23:31 +09:00
syuilo 1947835c51 Resolve #6137 2020-03-07 01:04:36 +09:00
syuilo 2309680c38 Refactor 2020-02-29 16:38:07 +09:00
MeiMei 4c6c06c80a Improve emoji-picker (#5515)
* Improve emoji-picker

* remove unimplanted translation

* カテゴリのサジェスト

* use unique
2019-10-21 00:43:39 +09:00
MeiMei e14509574d AP featured collectionの修正 / Collection Activityの対応 / typeの修正など (#5460)
* resolver type / fix updateFeatured

* type ApObject

* fix strange type

* AP Activity

* Collection Activityが失敗したらとりあえず無視
2019-09-27 04:58:28 +09:00
Satsuki Yanagi 88f5e8e8e2 Bye moment from package.json (#5215)
* Bye moment from package.json

* Use Mapped types for argument type definition
2019-07-25 01:36:48 +09:00
syuilo 5aa5896b22
Cache meta 2019-04-24 08:11:19 +09:00
syuilo 701ab6cc68
Refactor 2019-04-24 03:26:02 +09:00
syuilo 0463c6bb0f
Refactor API (#4770)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update description.ts

* wip
2019-04-23 22:35:26 +09:00
tamaina 94f8a145ec Better permisson Fix #2341 (#4611)
* Better permisson Fix #2341

* add kinds.ts

* test

* fix

* v11

* fix
2019-04-15 12:10:40 +09:00
Acid Chicken (硫酸鶏) 054220db70 リファクタリング (#4587)
* Use I cap

* Avoid _

* Use default value instead of optional boolean

* Bye useless variable

* Bye verbose try-catch
2019-04-14 17:18:17 +09:00
syuilo e3b3f8fac1
Better error handling 2019-04-14 04:17:24 +09:00
syuilo 78414dee29
Add note 2019-04-13 14:45:51 +09:00
syuilo 987168b863
strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
tamaina de47a17be7 Improve drive downloading (#4523)
* Improve drive file downloading

* fix name

* wtf crlf

* semicolon
2019-03-18 13:20:49 +09:00
syuilo 563d604812
Refactor 2019-02-24 17:28:51 +09:00
syuilo 012d744f4c
Fix doc 2019-02-24 17:28:15 +09:00
syuilo b679163d01
Improve type definitions 2019-02-24 09:45:27 +09:00
Acid Chicken (硫酸鶏) 81aa21915b Fix #4329 (#4330)
* Create xml.ts

* Update well-known.ts

* Update well-known.ts

* Fix typo

* Update well-known.ts

* Update well-known.ts
2019-02-20 16:13:43 +09:00
Acid Chicken (硫酸鶏) 357528d139 Use object instead of if chain (#4212) 2019-02-17 21:40:53 +09:00
Acid Chicken (硫酸鶏) 4b6c113251
Add prelude function for URL Query (#4135)
* Update string.ts

* Refactor

* Update string.ts

* Update wrap-url.ts

* Update string.ts

* Update get-static-image-url.ts

* Use querystring.stringify

* Update outbox.ts

* Back to the urlQuery

* Update followers.ts

* Update following.ts

* Update outbox.ts

* Update string.ts

* Update get-static-image-url.ts

* Update string.ts

* Update string.ts

* Separate prelude files
2019-02-13 23:45:35 +09:00
syuilo 5448c22031
Revert 96bc17aa10 2019-02-07 21:02:33 +09:00
Aya Morisawa 96bc17aa10 Check config on load (#4170)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-02-06 22:44:55 +09:00
Aya Morisawa e9955e01d6
Introduce option type (#4150)
* Introduce option type

* Improve test naming
2019-02-06 13:42:35 +09:00
Aya Morisawa 0938ea3964
Use join instead of reduce 2018-12-24 17:02:15 +09:00
Aya Morisawa 580191fb17
Improve MFM bracket matching
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2018-12-22 00:44:38 +09:00
Aya Morisawa e9f8897fe2
Refactor MFM
Co-authored-by: syuilo syuilotan@yahoo.co.jp
2018-12-20 19:42:10 +09:00
MeiMei c03e2dfbc0 Change naming (#3678)
* Change naming

* x to a
2018-12-19 22:38:27 +09:00
Acid Chicken (硫酸鶏) c81a94ff75 Resolve #3676 (#3677) 2018-12-19 21:20:25 +09:00
Aya Morisawa 8025b121af
Add Predicate type 2018-12-19 17:08:09 +09:00
Aya Morisawa 78ec06bda3
Add relation types 2018-12-19 17:00:07 +09:00
Aya Morisawa 624fd093f2
Fix comment 2018-12-19 10:02:58 +09:00
Aya Morisawa 2ee438dece
Add comments for prelude/array.ts 2018-12-19 09:54:45 +09:00
Aya Morisawa 534de24406
Use consistent naming convention 2018-12-19 09:14:05 +09:00
Aya Morisawa 125849673a
Use for-of instead of forEach (#3583)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2018-12-11 20:36:55 +09:00
Aya Morisawa 928d359dd2
Use takeWhile instead of some (#3475) 2018-12-02 20:28:22 +09:00
Aya Morisawa b62203b1f1 Check MongoDB version (#3185)
* Check MongoDB version

* Fix bug
2018-11-11 14:27:00 +09:00
Aya Morisawa 3c0d2db3bc
Rename: setDifference -> difference (#3177)
* Improve setDifference

* Rename: setDifference -> difference
2018-11-09 14:14:53 +09:00
Aya Morisawa 500fc47618 Add group function (#3175) 2018-11-09 13:03:46 +09:00
Aya Morisawa a9436306ab Fix #3170 (#3173) 2018-11-09 11:01:55 +09:00
syuilo 25ec5a24ab
Add toLowerCase 2018-09-12 06:33:02 +09:00
Aya Morisawa 2118fadc48 Add toUpperCase function (#2697) 2018-09-12 03:51:33 +09:00
Aya Morisawa 7959196dc7 Add sum function (#2653) 2018-09-07 04:21:04 +09:00
Aya Morisawa c6ff6939a5 Add capitalize function (#2651) 2018-09-07 03:22:55 +09:00
Aya Morisawa ff0a05a2d6 Add unique function (#2644) 2018-09-07 00:10:03 +09:00