Commit graph

4727 commits

Author SHA1 Message Date
Meisam
a7080a1fc1
validate response of federation APIs (#2408)
* validate json responses

* update deps

* tmp disable header check

* log all the webfinger fails

refactor and filter more malformed requests

* don't set incorrect serverURL strings

* test failing through admin api

* fix server url in fedi tests

* check response.text

* validate json/xml response of all apis

test Content-Type of api response and cleanup

* improve logs

* fix rebase

* cleanup json parser in api tests

* mark the api tests performed by admin

* Separate check for reading and format of serverURL

* test /federation/user/ with wrong username in ci
2022-12-10 21:10:10 -08:00
gabek
81bc8cd1cf Bundle embedded web app 2022-12-11 04:02:09 +00:00
renovate[bot]
22eb9f3309
fix(deps): update dependency slate-react to v0.87.0 (#2427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-10 19:59:19 -08:00
gabek
c679bef82b Bundle embedded web app 2022-12-11 03:19:27 +00:00
renovate[bot]
1ea6356964
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.19.1 (#2428)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-10 19:16:38 -08:00
Gabe Kangas
9d540b30bc
Allow for retries of browser tests 2022-12-10 18:33:50 -08:00
gabek
9fd1e56d55 Bundle embedded web app 2022-12-11 02:01:13 +00:00
renovate[bot]
2507598c7f
chore(deps): update dependency prettier to v2.8.1 (#2429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-10 17:58:00 -08:00
renovate[bot]
1cb36da882 Bundle embedded web app 2022-12-10 17:11:36 +00:00
renovate[bot]
872b72178d chore(deps): update dependency storybook-dark-mode to v2.0.4 2022-12-10 17:07:54 +00:00
renovate[bot]
21ed815c79 Bundle embedded web app 2022-12-10 12:19:22 +00:00
renovate[bot]
8fcd069aaa
fix(deps): update dependency @uiw/react-codemirror to v4.19.1 2022-12-10 10:03:07 +00:00
renovate[bot]
cb933920bc Bundle embedded web app 2022-12-10 07:34:56 +00:00
renovate[bot]
d31d8b7e13
fix(deps): update dependency xstate to v4.35.0 2022-12-10 04:29:08 +00:00
Gabe Kangas
223b6dd388
Move custom emoji dir if it exists. Closes #2379 2022-12-09 19:56:55 -08:00
Gabe Kangas
61c07757b2
Why not. Its time to delete the past. Closes #2091 2022-12-09 18:38:12 -08:00
renovate[bot]
1f0ee25d9b Bundle embedded web app 2022-12-09 23:43:19 +00:00
Gabe Kangas
87d1e51af3
Add design doc for contribute.design. Closes #2413 2022-12-09 15:33:19 -08:00
Gabe Kangas
75e22c58ef
Explicitly block requests to /debug/vars 2022-12-09 15:33:18 -08:00
renovate[bot]
54472c6173
fix(deps): update dependency @uiw/react-codemirror to v4.17.1 2022-12-09 20:37:46 +00:00
gabek
7bc2ad311c Bundle embedded web app 2022-12-09 20:35:56 +00:00
renovate[bot]
5a6f2859d8
chore(deps): update peter-evans/create-or-update-comment digest to 927fa78 (#2424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 12:33:00 -08:00
renovate[bot]
9398ef2191
chore(deps): update dependency cypress to v12 (#2421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 12:32:25 -08:00
Gabe Kangas
f946b73f16
Fix CPU usage collection panic with default zero value. Closes #2423 2022-12-09 09:49:17 -08:00
renovate[bot]
7f0090a24f Bundle embedded web app 2022-12-09 17:12:08 +00:00
renovate[bot]
adabdedd65
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.17.1 2022-12-09 14:29:10 +00:00
renovate[bot]
7291d62117
chore(deps): update peter-evans/create-or-update-comment digest to 927fa78 2022-12-09 11:16:36 +00:00
renovate[bot]
64a18b7f9e Bundle embedded web app 2022-12-09 08:01:20 +00:00
renovate[bot]
7a55a00e9d
chore(deps): update dependency @types/node to v18.11.11 2022-12-09 05:06:07 +00:00
gabek
da3a392837 Bundle embedded web app 2022-12-09 02:40:48 +00:00
Gabe Kangas
eb1fc9706f
Add test for setting socket override and verify no errors are thrown on reload. Closes #2355 2022-12-08 18:37:10 -08:00
Gabe Kangas
3826f9380a
Listen for console errors in browser tests 2022-12-08 18:36:41 -08:00
Gabe Kangas
cb6c0a3495
Add api test to verify saving socket override. For #2355 2022-12-08 14:47:51 -08:00
Gabe Kangas
f8cbbec858
Change time webv2 docker image is built 2022-12-08 14:35:58 -08:00
Gabe Kangas
047e61133a
Reduce the height of the header 2022-12-08 14:35:57 -08:00
gabek
19632f31fe Bundle embedded web app 2022-12-08 21:49:31 +00:00
Meisam
12ec4b15cd
use lib/admin.js functions in api tests (#2419) 2022-12-08 13:46:57 -08:00
renovate[bot]
06c80f4540
chore(deps): update dependency storybook-dark-mode to v2 (#2422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 13:46:33 -08:00
renovate[bot]
27eccf3b7c Bundle embedded web app 2022-12-08 21:13:09 +00:00
renovate[bot]
77d3f59ca6
fix(deps): update module golang.org/x/net to v0.4.0 2022-12-08 21:09:08 +00:00
renovate[bot]
91753d403c
chore(deps): update typescript-eslint monorepo to v5.45.1 2022-12-08 19:33:21 +00:00
Meisam
fd683f0a72
refactor chatuser api tests (#2416)
* block and unblock ipv6 explicitly

* refactor admin api tests

* use sendAdminPayload() for chatuser tests

* fix sendAdminRequests

* add getAdminResponse() to api test lib/admin.js

* some admin apis don't have response body

* cleanup test/automated/api/chatusers.test.js

* cleanup test/automated/api/chatusers.test.js

use getAdminResponse() to access admin apis
2022-12-08 10:07:54 -08:00
renovate[bot]
e5fef18b1c Bundle embedded web app 2022-12-08 16:49:31 +00:00
renovate[bot]
69dfa94d03
chore(deps): update dependency eslint-plugin-storybook to v0.6.8 2022-12-08 13:23:26 +00:00
renovate[bot]
6ac713d76f Bundle embedded web app 2022-12-08 09:16:52 +00:00
renovate[bot]
aafc7914bd
fix(deps): update dependency slate to v0.87.0 2022-12-08 05:23:40 +00:00
Meisam
43560cc65b
fix webfinger responses according to the specs (#2397)
* webfinger query with no resource should get 400

* check valid webfinger query

* test webfinger query

... without acct: or with wrong server

* add test for invalid user query from webfinger

* reorder the tests to decouple from state

cleanup
2022-12-07 16:26:06 -08:00
dependabot[bot]
0608a1d59f
Bump qs from 6.9.4 to 6.11.0 in /test/automated/api (#2417)
Bumps [qs](https://github.com/ljharb/qs) from 6.9.4 to 6.11.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.9.4...v6.11.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 16:23:02 -08:00
gabek
96bde6dec0 Bundle embedded web app 2022-12-08 00:18:46 +00:00
dependabot[bot]
41e878b6a7
Bump decode-uri-component from 0.2.0 to 0.2.2 in /test/automated/hls (#2404)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 16:17:02 -08:00