Commit Graph

20210 Commits

Author SHA1 Message Date
ThatOneCalculator
2ce567c73a Skip extra install 2022-05-31 00:18:29 -07:00
ThatOneCalculator
77b1477e87 Add proper packages for eslint 2022-05-31 00:16:01 -07:00
ThatOneCalculator
bcb2355bbb 🙏 2022-05-31 00:13:41 -07:00
ThatOneCalculator
071c8958d1 Remove yarnrc for workspaces 2022-05-30 23:56:49 -07:00
ThatOneCalculator
480a8ffa6d :godmode: 2022-05-30 23:55:47 -07:00
ThatOneCalculator
ee9fb2d5d9 :goberserk: 2022-05-30 21:03:11 -07:00
ThatOneCalculator
f109b5703c Merge branch 'yarn-3' of https://github.com/ThatOneCalculator/misskey into yarn-3 2022-05-30 20:57:49 -07:00
Kainoa Kanter
e442ef38d9 Merge branch 'misskey-dev:develop' into yarn-3 2022-05-30 20:57:45 -07:00
ThatOneCalculator
67dc0550be :finnadie: 2022-05-30 20:53:23 -07:00
ThatOneCalculator
6dc161534a Change browser-image-resizer 2022-05-30 20:45:54 -07:00
Andreas Nedbal
7261baa7dc chore(meta): label Pull Requests containing tests (#8768) 2022-05-31 11:38:52 +09:00
ThatOneCalculator
a1227da807 🍀 2022-05-30 17:35:28 -07:00
ThatOneCalculator
6e16bed0a8 More yarn workspaces stuff 2022-05-30 17:31:24 -07:00
ThatOneCalculator
10a73439a9 tbh 2022-05-30 15:02:52 -07:00
ThatOneCalculator
caa9905c7d tbh 2022-05-30 15:02:31 -07:00
tamaina
d1a90695a2 chore: fix import tinycolor 2022-05-30 12:09:22 +00:00
tamaina
db26061f90 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-05-30 05:53:40 +00:00
tamaina
3d33296741 chore: remove packages/sw/webpack.config.js 2022-05-30 05:53:36 +00:00
ThatOneCalculator
f325574ca1 fix the code that depends on node_modules 2022-05-29 22:19:40 -07:00
Kainoa Kanter
60dc890593 Update CHANGELOG.md 2022-05-29 20:29:32 -07:00
ThatOneCalculator
b98bd10265 corepack enable for mocha/e2e 2022-05-29 20:26:38 -07:00
ThatOneCalculator
c7f0af59c3 yarn lint my beloved 2022-05-29 20:19:03 -07:00
ThatOneCalculator
605fff5296 Fix workflow! 2022-05-29 20:10:30 -07:00
Kainoa Kanter
cc72e7bc39 Merge branch 'misskey-dev:develop' into yarn-3 2022-05-29 19:43:38 -07:00
Andreas Nedbal
3b0e1037f5 fix(client): import shared ESLint config in client package (#8761) 2022-05-30 11:37:34 +09:00
Kainoa Kanter
79d2a425ef Update lint.yml
🤔
2022-05-29 19:06:52 -07:00
Kainoa Kanter
50046c454d 🙏 2022-05-29 19:03:59 -07:00
ThatOneCalculator
889b3c67f5 Regenerate yarn.lock 2022-05-29 18:44:10 -07:00
ThatOneCalculator
86a660209a Add eslint 2022-05-29 18:42:19 -07:00
Kainoa Kanter
fc4488bf64 Update .github/workflows/lint.yml
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-05-29 18:39:49 -07:00
Kainoa Kanter
c2f018b86b Update .github/workflows/lint.yml
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-05-29 18:39:44 -07:00
ThatOneCalculator
c469cbd010 Improve lint workflow 2022-05-29 18:28:01 -07:00
ThatOneCalculator
1ea6311341 Merge branch 'yarn-3' of https://github.com/ThatOneCalculator/misskey into yarn-3 2022-05-29 18:19:39 -07:00
ThatOneCalculator
e50e8b98a1 Remove packages/*/yarn.lock 2022-05-29 18:19:30 -07:00
Kainoa Kanter
630163ff79 corepack enable for linting 2022-05-29 18:11:20 -07:00
ThatOneCalculator
871174c185 Typo 2022-05-29 17:16:31 -07:00
ThatOneCalculator
f94381a784 Replace install-packages.js with workspaces 2022-05-29 17:15:11 -07:00
ThatOneCalculator
30396139bc Replace install-packages.js with workspaces 2022-05-29 17:14:52 -07:00
ThatOneCalculator
eb9fbc99e1 use "packageManager" 2022-05-29 17:08:57 -07:00
ThatOneCalculator
f8477b9277 Proper upgrade to yarn 2022-05-29 13:13:27 -07:00
Kainoa Kanter
83803083cd Update Dockerfile 2022-05-29 12:48:03 -07:00
Kainoa Kanter
482ffd9288 Mention in CHANGELOG 2022-05-29 12:47:19 -07:00
Kainoa Kanter
d3244a8fbd Add .yarn to dockerignore 2022-05-29 12:46:23 -07:00
ThatOneCalculator
daa6ae548d Yarn berry 2022-05-29 12:40:08 -07:00
Johann150
3b970aae8a fix: add missing import
fix #8756
2022-05-29 14:33:42 +02:00
Johann150
47b80744e8 enhance(dev): ask for log snippets 2022-05-29 14:26:29 +02:00
futchitwo
eb3a114027 fix(client): fix popout url (#8494) 2022-05-29 12:21:36 +02:00
Johann150
ec47b46423 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
1fe73d31ad 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
86e6126dd7 preload app css (#8752) 2022-05-29 10:57:06 +09:00