Gabe Kangas
c05a20a460
Use built-in Next layout support + lazy load
...
Instead of doing manual layout switching use the Nextjs nested layout
support. Also add some additional lazy loading of components. This is to
work on performance score re: #2167 .
2023-01-09 01:08:24 -08:00
Gabe Kangas
15747f86dd
Lazy load followers components
2023-01-09 01:08:24 -08:00
Gabe Kangas
6951943afe
Serve content with gzip encoding directly from our webserver. Improves performance re: #2167 . Closes #2566
2023-01-09 01:08:23 -08:00
Gabe Kangas
f95fbcc38b
Enable source maps in production
2023-01-08 20:41:46 -08:00
Gabe Kangas
1fbe89d703
Reduce SEO score and file issue to improve. #2565
2023-01-08 20:32:22 -08:00
Gabe Kangas
e4a02dea91
No reason to use the Image component here
2023-01-08 20:03:06 -08:00
Gabe Kangas
a3ea88a5b9
Lower performance threshold even lower because everything is awful
2023-01-08 17:00:13 -08:00
Gabe Kangas
e1c6ea9e21
Temporarily disable running Owncast under new user in #2496
2023-01-08 15:04:19 -08:00
Gabe Kangas
496bf3ecb3
Add details to temp dir removal error
2023-01-08 14:18:16 -08:00
Gabe Kangas
40c7d30c2e
Lower performance threshold until can be figured out
2023-01-05 02:35:55 -08:00
Gabe Kangas
81c505d731
Hack to force scroll to very bottom at mount. For #2500
2023-01-05 02:16:37 -08:00
Gabe Kangas
3620c2eb7d
Fix lint warnings
2023-01-04 22:25:51 -08:00
Gabe Kangas
80ab351cbe
Add performance testing to Cypress results
2023-01-04 22:18:21 -08:00
Gabe Kangas
2bd3ab82a9
Removing the attempt at an admin dark mode. #1904
2023-01-04 16:33:56 -08:00
Gabe Kangas
505b0bb7e8
Start on admin dark theme. Closes #1904
2023-01-04 16:06:32 -08:00
Gabe Kangas
2675150cdf
Revert "improve stream testing script ( #2525 )"
...
This reverts commit e748d8f765 .
2023-01-04 14:22:55 -08:00
Gabe Kangas
48f7a18419
Do not show followers bg color on mobile
2022-12-29 23:00:23 -08:00
Gabe Kangas
04b0f4548c
Remove duplicate API call + explicitly set loading state
2022-12-29 22:59:53 -08:00
Gabe Kangas
a971a79296
Fix name change clearing chat history. Closes #2532
2022-12-29 20:11:20 -08:00
Gabe Kangas and GitHub
533d33847c
Hide disabled features ( #2473 )
...
* Hide/show on notify and fediverse feature disable/enable
* Update browser tests to enable features for testing
* Hide/show features in mobile action menu
* Do not show fediauth option if fediverse features are not enabled.
* Force showing tabs when in Storybook
2022-12-29 16:26:04 -08:00
Gabe Kangas
0eba1685b3
Return the actual display name, not the proposed one
2022-12-29 14:52:15 -08:00
Gabe Kangas
6a8473a297
Enforce username limitations on registration for #2527
2022-12-29 14:13:23 -08:00
Gabe Kangas
0c03773c4c
Sanitize+truncate display names on registration+change. For #2527
2022-12-29 14:13:22 -08:00
Gabe Kangas
ccca93695a
Merge remote-tracking branch 'origin/develop' into webv2
2022-12-28 19:42:01 -08:00
Gabe Kangas
3819335090
Return error when data not found in logo upload API
2022-12-28 15:21:26 -08:00
Gabe Kangas
a88da10c74
Rework some of the css var state to fix flaky customization UI. Fixes #2505
2022-12-28 13:05:35 -08:00
Gabe Kangas
6b0ac9d0bc
Revert "chore(deps): update nextjs monorepo to v13.1.1"
...
This reverts commit 2af6a0b99d .
2022-12-28 10:44:15 -08:00
Gabe Kangas
5a41f4a1ea
Reorganize admin pages and consolidate some sections. For #1904
2022-12-27 18:51:13 -08:00
Gabe Kangas
8f5914bfc8
Increase default cache length to appease Lighthouse. For #2167
2022-12-26 21:50:54 -08:00
Gabe Kangas
b55b7a54ea
Specify what element the popup should draw in to fix scrolling. For #2358
2022-12-26 20:05:00 -08:00
Gabe Kangas
b21dfaa2b9
Tweak the border of account in follow modal
2022-12-26 20:04:59 -08:00
Gabe Kangas
d4ffe02645
Fix title getting lost due to multiple callbacks firing. Closes #2351
2022-12-25 16:04:01 -08:00
Gabe Kangas
353e9c5896
Add logging to troubleshoot #2351
2022-12-24 21:21:39 -08:00
Gabe Kangas
8890b564e8
Do not pass along the raw error. Closes #2491
2022-12-24 20:35:46 -08:00
Gabe Kangas
5c01efd3e2
Wrap title in header tag. Do not allow it to wrap. Closes #2474 #2446
2022-12-24 16:45:45 -08:00
Gabe Kangas
fb1aca165f
Give the chat text input surrounding a background color
2022-12-24 15:32:15 -08:00
Gabe Kangas
c871251769
Tweak positioning of emoji picker popover
2022-12-24 15:08:46 -08:00
Gabe Kangas
4d3be3eaaa
No need to have hundreds of similar images. A few of each category is fine.
2022-12-24 15:01:21 -08:00
Gabe Kangas
01082c5e0b
Reduce top padding in content header
2022-12-24 14:59:03 -08:00
Gabe Kangas
cd874cda93
Use subtle.ConstantTimeCompare instead of simple string compare. Closes #2489
2022-12-23 21:26:55 -08:00
Gabe Kangas
3894f410d2
Enforce https before indieauth parsing. For #2492
2022-12-23 20:50:12 -08:00
Gabe Kangas
87eeeffa1c
Prune expired auth requests + add global max limit. Closes #2490
2022-12-23 20:25:08 -08:00
Gabe Kangas
508ca8c5cb
Downgrade nextjs to get rid of the React error.
...
Revert "chore(deps): update nextjs monorepo to v13.0.7"
This reverts commit 3676e737b3 .
2022-12-23 11:59:34 -08:00
Gabe Kangas
543d8f258f
Check offline banner values before scrolling in browser test
2022-12-21 17:36:11 -08:00
Gabe Kangas
3b1a8828bb
Tweak modal drop shadow
2022-12-21 17:35:36 -08:00
Gabe Kangas
c9768bd8f8
Add appearance setting for rounded corners. Closes #2471
2022-12-20 23:55:07 -08:00
Gabe Kangas
31f77cf1f0
Tweaks to chat bottom handling for #2342
2022-12-20 00:37:22 -08:00
Gabe Kangas
c597a0de9e
Add accessibility properties to chat text input. Closes #2444
2022-12-19 21:49:11 -08:00
Gabe Kangas
e85f7c8086
Remove unused imports
2022-12-19 18:38:07 -08:00
Gabe Kangas
8376420e86
Add additional descriptive text to compose post modal.
2022-12-19 18:38:06 -08:00
Gabe Kangas
edfb44d7a8
Change style of compose post button + remove thumbnail preview. Closes #2463
2022-12-19 18:38:06 -08:00
Gabe Kangas
58e4a118a6
Add custom document in order to support lang attr on html. Closes #2445
2022-12-19 18:38:05 -08:00
Gabe Kangas
2b04b3e927
Add Blob emoji. For #1916
2022-12-17 10:59:06 -08:00
Gabe Kangas
f0953a957a
Fix exception with appearance reset. Closes #2459
2022-12-16 21:13:29 -08:00
Gabe Kangas
d5fd1bf169
Fix error handling for #1916
2022-12-16 20:30:24 -08:00
Gabe Kangas
60419008b9
Add new custom emoji images with respective license files. For #1916
2022-12-16 20:23:59 -08:00
Gabe Kangas
0ebb968074
Handle subdirectories of emoji in copying, fetching and deleting. For #1916
2022-12-16 20:23:58 -08:00
Gabe Kangas
71be5e4b41
Remove more unlicensed emoji. For #1916
2022-12-16 20:23:56 -08:00
Gabe Kangas
f992df8209
Add key to menu item
2022-12-16 18:06:03 -08:00
Gabe Kangas
aa5d5fc32d
Some admin related appearance tweaks. For working on #1904
2022-12-16 17:35:03 -08:00
Gabe Kangas
534891aabf
Remove unlicensed emoji images. For #1916
2022-12-16 11:28:57 -08:00
Gabe Kangas
b75ef37952
Fix text color. Closes #2447
2022-12-15 22:00:15 -08:00
Gabe Kangas
2d4e53ce4b
Update text to reflect new text
2022-12-15 21:45:46 -08:00
Gabe Kangas
9ed14ca73f
Refactor player button to fix Safari issues. Closes #2440
2022-12-15 21:28:09 -08:00
Gabe Kangas
fb7cff54d0
Tweak badge styles
2022-12-15 19:40:26 -08:00
Gabe Kangas
a2445e1fcf
Show hide/show chat instead of toggle in user menu. Closes #2454
2022-12-15 19:23:43 -08:00
Gabe Kangas
0d1684c1e0
Merge remote-tracking branch 'origin/develop' into webv2
2022-12-15 12:07:09 -08:00
Gabe Kangas
3d4c26ce39
Fix modal content height. Closes #2070
2022-12-14 23:54:48 -08:00
Gabe Kangas
7d2e2537cf
Fix default protocol validation list
2022-12-14 23:54:46 -08:00
Gabe Kangas
5951ce527b
Fix typo
2022-12-14 23:54:44 -08:00
Gabe Kangas
890ebdfff6
Tweak style of scroll to bottom button
2022-12-14 12:54:31 -08:00
Gabe Kangas
ba0c62e8a0
Support different link validation methods for platforms. Closes #2449
2022-12-14 11:53:13 -08:00
Gabe Kangas
11c4d80e28
Export new url validation functions
2022-12-14 11:52:11 -08:00
Gabe Kangas
3abc7a3ab8
Expose connected client ID to moderator client info api
2022-12-13 19:17:32 -08:00
Gabe Kangas
cdbb3b7a03
Update test to reflect content change
2022-12-13 19:17:04 -08:00
Gabe Kangas
12230fe7ba
Point to video on object storage if we are going to keep this
2022-12-13 18:53:09 -08:00
Gabe Kangas
e64da8003c
More component selectors for CSS overrides for #2193
2022-12-12 22:54:52 -08:00
Gabe Kangas
6c169bc9b7
visible -> exist in browser tests
2022-12-12 22:54:51 -08:00
Gabe Kangas
660ea10dab
Change loading state. Closes #2248
2022-12-12 19:10:49 -08:00
Gabe Kangas
9ddc41b2fc
Fix broken Fediverse logo in admin. Closes #2380
2022-12-12 17:43:29 -08:00
Gabe Kangas
efdce41d53
Fix sidebar link title
2022-12-12 17:25:15 -08:00
Gabe Kangas
2fdbb1e482
Support CSP nonce for webv2. Closes #2127
2022-12-12 17:04:00 -08:00
Gabe Kangas
9317efc253
Fix story using the wrong prop name
2022-12-12 10:30:13 -08:00
Gabe Kangas and GitHub
5b88ea8033
Move design badge
2022-12-12 09:40:03 -08:00
Gabe Kangas and GitHub
2c2f07cc52
Add contribute.design badge
2022-12-12 09:38:41 -08:00
Gabe Kangas
1d248a144b
Move where emoji migration is fired to match the new emoji work
2022-12-12 08:58:00 -08:00
Gabe Kangas
d49f001688
Ignore lint warning until this can be refactored
2022-12-12 08:55:03 -08:00
Gabe Kangas
014cc756bc
Only run css selector identifier tests to run on desktop
2022-12-12 00:22:31 -08:00
Gabe Kangas
14e4ca9c28
Change tab identifier
2022-12-11 21:16:29 -08:00
Gabe Kangas
c231fd3592
First pass at CSS identifiers + test to verify they are set. For #2193
2022-12-11 21:06:20 -08:00
Gabe Kangas and GitHub
9d540b30bc
Allow for retries of browser tests
2022-12-10 18:33:50 -08: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
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
Gabe Kangas
f946b73f16
Fix CPU usage collection panic with default zero value. Closes #2423
2022-12-09 09:49:17 -08: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