Commit graph

22497 commits

Author SHA1 Message Date
ThatOneCalculator
33c58df79c Remove yarnrc for workspaces 2022-05-30 23:56:49 -07:00
ThatOneCalculator
a872e6e3bb :godmode: 2022-05-30 23:55:47 -07:00
ThatOneCalculator
71a907007c :goberserk: 2022-05-30 21:03:11 -07:00
ThatOneCalculator
9daea49275 Merge branch 'yarn-3' of https://github.com/ThatOneCalculator/misskey into yarn-3 2022-05-30 20:57:49 -07:00
Kainoa Kanter
54ed997e53
Merge branch 'misskey-dev:develop' into yarn-3 2022-05-30 20:57:45 -07:00
ThatOneCalculator
a2f9e1cec2 :finnadie: 2022-05-30 20:53:23 -07:00
ThatOneCalculator
de29d9adb2 Change browser-image-resizer 2022-05-30 20:45:54 -07:00
Andreas Nedbal
a98194bf1b
chore(meta): label Pull Requests containing tests (#8768) 2022-05-31 11:38:52 +09:00
ThatOneCalculator
5cf5a836df 🍀 2022-05-30 17:35:28 -07:00
ThatOneCalculator
95aff06dfc More yarn workspaces stuff 2022-05-30 17:31:24 -07:00
ThatOneCalculator
d76ec576b6 tbh 2022-05-30 15:02:52 -07:00
ThatOneCalculator
299ec96e0e tbh 2022-05-30 15:02:31 -07:00
tamaina
857055a9dd chore: fix import tinycolor 2022-05-30 12:09:22 +00:00
tamaina
465531d56c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-05-30 05:53:40 +00:00
tamaina
9759ca7d24 chore: remove packages/sw/webpack.config.js 2022-05-30 05:53:36 +00:00
ThatOneCalculator
dd1bfae823 fix the code that depends on node_modules 2022-05-29 22:19:40 -07:00
Kainoa Kanter
88c7594d2d
Update CHANGELOG.md 2022-05-29 20:29:32 -07:00
ThatOneCalculator
bc94eb8baf corepack enable for mocha/e2e 2022-05-29 20:26:38 -07:00
ThatOneCalculator
44c42f1715 yarn lint my beloved 2022-05-29 20:19:03 -07:00
ThatOneCalculator
db86110b97 Fix workflow! 2022-05-29 20:10:30 -07:00
Kainoa Kanter
c05cc01191
Merge branch 'misskey-dev:develop' into yarn-3 2022-05-29 19:43:38 -07:00
Andreas Nedbal
3905185463
fix(client): import shared ESLint config in client package (#8761) 2022-05-30 11:37:34 +09:00
Kainoa Kanter
6f2a9d567d
Update lint.yml
🤔
2022-05-29 19:06:52 -07:00
Kainoa Kanter
39f8cb3006
🙏 2022-05-29 19:03:59 -07:00
ThatOneCalculator
322fe727cb Regenerate yarn.lock 2022-05-29 18:44:10 -07:00
ThatOneCalculator
4970befc10 Add eslint 2022-05-29 18:42:19 -07:00
Kainoa Kanter
3208a2ef94
Update .github/workflows/lint.yml
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-05-29 18:39:49 -07:00
Kainoa Kanter
ff99a92f4d
Update .github/workflows/lint.yml
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-05-29 18:39:44 -07:00
ThatOneCalculator
6254a1e163 Improve lint workflow 2022-05-29 18:28:01 -07:00
ThatOneCalculator
f035817489 Merge branch 'yarn-3' of https://github.com/ThatOneCalculator/misskey into yarn-3 2022-05-29 18:19:39 -07:00
ThatOneCalculator
7bd65cf986 Remove packages/*/yarn.lock 2022-05-29 18:19:30 -07:00
Kainoa Kanter
7df83d7252
corepack enable for linting 2022-05-29 18:11:20 -07:00
ThatOneCalculator
9afb41042c Typo 2022-05-29 17:16:31 -07:00
ThatOneCalculator
6ba6dd1720 Replace install-packages.js with workspaces 2022-05-29 17:15:11 -07:00
ThatOneCalculator
fd8170f1dc Replace install-packages.js with workspaces 2022-05-29 17:14:52 -07:00
ThatOneCalculator
9d1c8b4f00 use "packageManager" 2022-05-29 17:08:57 -07:00
ThatOneCalculator
3140a3f9a2 Proper upgrade to yarn 2022-05-29 13:13:27 -07:00
Kainoa Kanter
9652183eff
Update Dockerfile 2022-05-29 12:48:03 -07:00
Kainoa Kanter
ea7d5353ca
Mention in CHANGELOG 2022-05-29 12:47:19 -07:00
Kainoa Kanter
76e399cd81
Add .yarn to dockerignore 2022-05-29 12:46:23 -07:00
ThatOneCalculator
5c7fca456c Yarn berry 2022-05-29 12:40:08 -07:00
Johann150
ebc2566130
fix: add missing import
fix #8756
2022-05-29 14:33:42 +02:00
Johann150
feba678e03
enhance(dev): ask for log snippets 2022-05-29 14:26:29 +02:00
futchitwo
d2784030ec
fix(client): fix popout url (#8494) 2022-05-29 12:21:36 +02:00
Johann150
804fa33535
refactor: improve code quality (#8751)
* remove unnecessary if

`Array.prototype.some` already returns a boolean so an if to return
true or false is completely unnecessary in this case.

* perf: use count instead of find

When using `count` instead of `findOneBy`, the data is not
unnecessarily loaded.

* remove duplicate null check

The variable is checked for null in the lines above and the function
returns if so. Therefore, it can not be null at this point.

* simplify `getJsonSchema`

Because the assigned value is `null` and the used keys are only
shallow, use of `nestedProperty.set` seems inappropriate. Because the
value is not read, the initial for loop can be replaced by a `for..in`
loop.

Since all keys will be assigned `null`, the condition of the ternary
expression in the nested function will always be true. Therefore the
recursion case will never happen. With this the nested function can be
eliminated.

* remove duplicate condition

The code above already checks `dragging` and returns if it is truthy.
Checking it again later is therefore unnecessary.

To make this more obvious the `return` is removed in favour of using
an if...else construct.

* remove impossible "unknown" time

The `ago` variable will always be a number and all non-negative numbers
are already covered by other cases, the negative case is handled with
`future` so there is no case when `unkown` could be achieved.
2022-05-29 15:15:52 +09:00
tamaina
f1d2398eac
fix(client): Vite related boot mechanism revision (#8753)
* preload app css

* remove salt

* APP_FETCH_FAILED error

* set max-age to 15s
2022-05-29 10:58:54 +09:00
tamaina
4917961736
preload app css (#8752) 2022-05-29 10:57:06 +09:00
Johann150
e54aa56ee1
chore: remove unused imports 2022-05-28 21:17:23 +02:00
Johann150
21d54f2758
fix: validate text is not empty
fix #8747
2022-05-28 17:26:17 +02:00
tamaina
abc8998b48
refactor: use css module at components/global/loading.vue (#8750)
* refactor: use css module at components/global/loading.vue

* rename class name to "root"
2022-05-29 00:15:32 +09:00