Commit graph

1096 commits

Author SHA1 Message Date
cetra3
3158cacc18 Remove federation worker count 2023-06-24 12:56:49 +09:30
Jay Sitter
b231fd1e5b feat: Clean up the Create Private Message page a bit 2023-06-23 23:13:09 -04:00
SleeplessOne1917
0ad285b166 Fix emojis being unable to save 2023-06-23 22:46:33 -04:00
Jay Sitter
251592c1bf fix: Use simpler syntax for languageId array 2023-06-23 22:09:27 -04:00
SleeplessOne1917
7cbdfce24c
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-24 00:53:03 +00:00
Jay Sitter
2bd8fdac33 fix: Add triangle alert icon to language warning 2023-06-23 17:50:30 -04:00
SleeplessOne1917
dac0fa50ad
Merge branch 'main' into fix/add-aria-describedby-lang-warn 2023-06-23 21:34:43 +00:00
Jay Sitter
ccf0a6dbaa fix: Fix language selection bug 2023-06-23 17:24:07 -04:00
Jay Sitter
bf54d40433 fix: Use Interface Language instead 2023-06-23 17:24:07 -04:00
SleeplessOne1917
64eb18c234
Merge branch 'main' into first-load-refactor 2023-06-23 15:47:51 -04:00
SleeplessOne1917
0d797a7033 Refactor first load handling 2023-06-23 15:41:10 -04:00
Jay Sitter
0c87ee9dab
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-23 15:37:54 -04:00
dankxiaobong
0fee7cba3b
Merge branch 'LemmyNet:main' into added-darkly-compact-552 2023-06-23 21:33:39 +02:00
Jay Sitter
87e8ce8d79 fix: Add aria-describedby for language warning 2023-06-23 15:20:49 -04:00
SleeplessOne1917
5e5e05c808 Fix issue when navigating awat from settings 2023-06-23 15:16:04 -04:00
dudeami0
cd139e3dd3 Merge branch 'main' into feature/home-scroll-restoration 2023-06-23 14:52:52 -04:00
SleeplessOne1917
2b8ee2fa31 Give function better name 2023-06-23 14:33:26 -04:00
dudeami0
d06d7f8123 Cache post listings and restore listing state when using browser back navigation buttons. 2023-06-23 14:27:35 -04:00
Jay Sitter
23b0cf001f
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-23 14:01:40 -04:00
Jay Sitter
41c9b3baf9 fix: Specify vote content type so buttons work for both comments and posts 2023-06-23 12:14:49 -04:00
dudeami0
340a9496dd Fix homepage scrollTo(0, 0) failing when document size changes. 2023-06-23 12:14:49 -04:00
dudeami0
a6a7d28f2d Moved !isBrowser() check to FirstLoadServer.isFirstLoad 2023-06-23 12:14:48 -04:00
dudeami0
a22fda4b6e Fix server-side rendering after first load. 2023-06-23 12:14:48 -04:00
Jay Sitter
787a75396b fix!: Try to get Vote Buttons component working in Comments 2023-06-23 12:14:48 -04:00
Jay Sitter
e9341e791b fix: Remove unused prop 2023-06-23 12:14:48 -04:00
SleeplessOne1917
25e9acee39 Merge branch 'main' into reduce-bundle 2023-06-23 10:39:01 -04:00
SleeplessOne1917
847b71319b Change function name 2023-06-23 10:36:21 -04:00
SleeplessOne1917
8f9b231487 Make date distance format use correct verbiage 2023-06-23 10:33:07 -04:00
SleeplessOne1917
5d664656a2 Extract date fns setup 2023-06-23 10:10:41 -04:00
dudeami0
955afeac3c Fix homepage scrollTo(0, 0) failing when document size changes. 2023-06-23 08:54:55 -04:00
dudeami0
d706b6ba27 Moved !isBrowser() check to FirstLoadServer.isFirstLoad 2023-06-23 01:04:03 -04:00
Jay Sitter
c79894a11c
Merge branch 'main' into feat/vote-components 2023-06-23 00:28:53 -04:00
Jay Sitter
094429ff1e fix: Rework some vote buttons architecture 2023-06-22 23:48:53 -04:00
SleeplessOne1917
a2568a41f3
Merge branch 'main' into reduce-bundle 2023-06-23 03:31:29 +00:00
dudeami0
2c85c87e44 Fix server-side rendering after first load. 2023-06-22 23:30:42 -04:00
Alec Armbruster
e5e8f29c67
Remove noIndent prop from comment nodes on person view (#1491)
* remove noIdent prop from person details comment nodes

* remove noIndent prop from usage in Inbox
2023-06-22 22:56:51 -04:00
Alec Armbruster
d127b5626d
Fix inability to go to Home from Settings (#1506) 2023-06-23 02:46:38 +00:00
SleeplessOne1917
d0dff77377 Replace momentjs with date-fns 2023-06-22 19:33:02 -04:00
Alec Armbruster
91a07e79fc
fix lack of modlog refetch on mount (#1490)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-22 18:44:15 -04:00
Jay Sitter
380d6f877c Merge remote-tracking branch 'origin/main' into feat/vote-components
* origin/main:
  fix: Add post body preview to desktop post listing view
  fix: Fix i18n UserService import issue
2023-06-22 18:10:22 -04:00
Jay Sitter
a9bcf0567d Merge remote-tracking branch 'origin/main' into feat/add-post-body-preview-to-desktop
* origin/main: (40 commits)
  Adding jsit to codeowners.
  Cleanup, only check for /u/ if /c/ and /m/ checks fail
  Rename function to be more generic, since it parses users
  Typescript linter fixes
  bandaid fix our video embeds
  Remove pipe from community link regex
  Add missing classes
  Use shorter regex in community link parser
  Move regex pattern to config
  Update community link markdown parsing
  Fix avatar alignment issue (#1475)
  Omit user-scalable to use default
  Update getHttpBase dependency reference
  Enable users to zoom on mobile
  rethink it a bit
  rethink it a bit
  add fallback style tag
  move env utils into folder
  fix capitalization (#1467)
  Fix buildThemeList() function to ensure no duplicates (#1466)
  ...
2023-06-22 17:37:10 -04:00
Jay Sitter
5648843f4e
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-22 17:34:20 -04:00
Jay Sitter
1ea33e8c7e fix: Undo some other extraneous changes 2023-06-22 17:32:24 -04:00
Jay Sitter
d0fb7e6147 fix: Undo some extraneous changes 2023-06-22 17:30:48 -04:00
Jay Sitter
7af899ee75 fix: Remove tippy duplicate functions 2023-06-22 17:06:33 -04:00
Jay Sitter
be6ec3692e Merge remote-tracking branch 'origin/main' into feat/vote-components
* origin/main: (26 commits)
  Adding jsit to codeowners.
  Cleanup, only check for /u/ if /c/ and /m/ checks fail
  Rename function to be more generic, since it parses users
  Typescript linter fixes
  bandaid fix our video embeds
  Remove pipe from community link regex
  Add missing classes
  Use shorter regex in community link parser
  Move regex pattern to config
  Update community link markdown parsing
  Fix avatar alignment issue (#1475)
  Omit user-scalable to use default
  Update getHttpBase dependency reference
  Enable users to zoom on mobile
  rethink it a bit
  rethink it a bit
  add fallback style tag
  Add community link class
  prettier
  Add local community link parser plugin for Markdown-It
  ...
2023-06-22 16:56:08 -04:00
SleeplessOne1917
cefea2a554
Merge branch 'main' into main 2023-06-22 20:22:43 +00:00
Alec Armbruster
6af2037625
Merge branch 'main' into fix-video-embeds-on-posts 2023-06-22 15:06:44 -04:00
Zetaphor
d58fd63113 Cleanup, only check for /u/ if /c/ and /m/ checks fail 2023-06-22 16:05:20 -03:00
Zetaphor
7bd90da1f8 Rename function to be more generic, since it parses users 2023-06-22 16:02:27 -03:00
Zetaphor
ade8e1a9ea
Merge branch 'main' into main 2023-06-22 15:53:50 -03:00
Zetaphor
110be607c5 Typescript linter fixes 2023-06-22 15:51:25 -03:00
Alec Armbruster
7571f7ac69
bandaid fix our video embeds 2023-06-22 14:45:09 -04:00
Zetaphor
773eef5126 Remove pipe from community link regex 2023-06-22 15:43:01 -03:00
Zetaphor
d6e9b20a6c Add missing classes 2023-06-22 15:40:06 -03:00
Zetaphor
73147ae37c Use shorter regex in community link parser 2023-06-22 15:33:45 -03:00
Zetaphor
fc0c063426 Move regex pattern to config 2023-06-22 15:17:34 -03:00
Jay Sitter
443c128e05 fix: Revert to old mobile vote style 2023-06-22 14:02:15 -04:00
Jay Sitter
7c13b8dba1 feat: Move vote buttons to separate component 2023-06-22 13:36:38 -04:00
Zetaphor
c5779cd9b1 Update community link markdown parsing
Remove links without remote servers, add kbin support, add user support
2023-06-22 14:28:32 -03:00
SleeplessOne1917
732d40493f
Merge branch 'main' into enable-zoom 2023-06-22 16:53:43 +00:00
SleeplessOne1917
aa72a7d805
Fix avatar alignment issue (#1475) 2023-06-22 12:52:47 -04:00
SleeplessOne1917
a9c3c5d0f8 Merge branch 'enable-zoom' of https://github.com/LemmyNet/lemmy-ui into enable-zoom 2023-06-22 12:50:42 -04:00
SleeplessOne1917
51a6681d15 Omit user-scalable to use default 2023-06-22 12:50:05 -04:00
Zetaphor
07235d7a5b Update getHttpBase dependency reference 2023-06-22 13:44:43 -03:00
Zetaphor
8eb588da1b
Merge branch 'main' into main 2023-06-22 13:38:04 -03:00
SleeplessOne1917
e76513acd1
Merge branch 'main' into enable-zoom 2023-06-22 16:31:19 +00:00
SleeplessOne1917
955ca826cd Enable users to zoom on mobile 2023-06-22 12:28:27 -04:00
Alec Armbruster
5c302cc47e
Merge branch 'main' into grave-scroll-issue-bugfix 2023-06-22 11:28:35 -04:00
Alec Armbruster
63b14accec
rethink it a bit 2023-06-22 11:22:36 -04:00
Ivo Barros
bf5564f3f8
Merge branch 'main' into main 2023-06-22 16:08:04 +01:00
dankxiaobong
37ac318806
Merge branch 'main' into added-darkly-compact-552 2023-06-22 16:53:00 +02:00
Alec Armbruster
a1d935991b
rethink it a bit 2023-06-22 10:43:03 -04:00
Ivo Barros
7fc35ff699
Merge branch 'main' into main 2023-06-22 15:36:05 +01:00
Alec Armbruster
5512ee205a
add fallback style tag 2023-06-22 10:32:39 -04:00
Zetaphor
8a64322c3b
Merge branch 'main' into main 2023-06-22 11:07:21 -03:00
Alec Armbruster
8e767f2331
fix merge conflicts 2023-06-22 09:04:25 -04:00
Alec Armbruster
fc40b473d7
move env utils into folder 2023-06-22 09:02:48 -04:00
Alec Armbruster
98cedb8832
fix capitalization (#1467)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-22 08:58:51 -04:00
Scott
0247f8a2cf
Fix buildThemeList() function to ensure no duplicates (#1466)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-22 08:55:11 -04:00
Alec Armbruster
9fc3da0264
Fix grave ReferenceError: fetch is not defined error (#1460)
* use cross-fetch

* remove from utils usage
2023-06-22 07:42:57 -04:00
dankxiaobong
dfe394adca
Merge branch 'LemmyNet:main' into added-darkly-compact-552 2023-06-22 12:29:01 +02:00
Jay Sitter
f0375889d3 feat: Default language dropdowns to user's primary language 2023-06-22 00:54:07 -04:00
Zetaphor
02717be15c Add community link class 2023-06-22 01:07:33 -03:00
Ivo Barros
c06d386337 prettier 2023-06-22 04:52:04 +01:00
Zetaphor
92482cbe6b Add local community link parser plugin for Markdown-It 2023-06-22 00:48:09 -03:00
Ivo Barros
aa36fe6e5e
Merge branch 'main' into main 2023-06-22 04:23:35 +01:00
SleeplessOne1917
cda9bd0a79
Regenerate manifest on HTTPBase external change (#1459)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-21 22:45:21 -04:00
Ivo Barros
0beb2a4341 Merge remote-tracking branch 'upstream/main' into main 2023-06-22 02:17:22 +01:00
SleeplessOne1917
32e1fa747e
Merge branch 'main' into remove-i18-circle 2023-06-22 01:06:23 +00:00
SleeplessOne1917
3664b0600b
(Hopefully) fix webmanifest different origin issue (#1457)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-21 21:04:28 -04:00
SleeplessOne1917
090adeece5
Merge branch 'main' into expand-video-embeds-to-fullwidth 2023-06-22 00:56:01 +00:00
SleeplessOne1917
eae0990442 Fix I18 next circular reference 2023-06-21 20:54:35 -04:00
David Palmer
924e670699
remove embed prefix until a translation can be added 2023-06-22 12:23:36 +12:00
Jay Sitter
bf0f80e798 fix: Add post body preview to desktop post listing view 2023-06-21 19:40:24 -04:00
SleeplessOne1917
8ffe153f63
Merge branch 'main' into fix/fix-i18n-user-service-import 2023-06-21 23:27:07 +00:00
Jay Sitter
8e711c6b54 fix: Fix i18n UserService import issue 2023-06-21 19:26:51 -04:00
Jay Sitter
3f4f319160 fix: Fix i18n UserService import issue 2023-06-21 19:24:01 -04:00
David Palmer
5109118525
Merge branch 'main' into expand-video-embeds-to-fullwidth 2023-06-22 10:52:56 +12:00
Dessalines
91ab497e95 Merge branch 'main' into remove_markdown_it_emoji 2023-06-21 18:31:53 -04:00
Alec Armbruster
043b522ff1
utils.ts organization, round two (#1427)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update src/shared/utils/app/convert-comment-sort-type.ts

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>

* prettier pass

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-21 18:28:24 -04:00
David Palmer
3fca825f1f
Merge branch 'main' into expand-video-embeds-to-fullwidth 2023-06-22 09:25:50 +12:00
SleeplessOne1917
9c88c68e2f
Merge branch 'main' into remove_markdown_it_emoji 2023-06-21 21:16:17 +00:00
SleeplessOne1917
1ba0d0f408
Merge branch 'main' into fix_new_comments_badge 2023-06-21 21:14:40 +00:00
SleeplessOne1917
6052f4d6dc
Merge branch 'main' into remove_markdown_it_emoji 2023-06-21 21:09:38 +00:00
SleeplessOne1917
a1ead2b90f
Merge branch 'main' into fix_new_comments_badge 2023-06-21 21:06:14 +00:00
SleeplessOne1917
6c2fc35450
Merge branch 'main' into center_emojis 2023-06-21 20:42:18 +00:00
Ivo Barros
0e052602ad
Merge branch 'main' into main 2023-06-21 20:45:58 +01:00
Dessalines
5c55b41971
Upgrade lemmy-js-client to 0.18.0-rc.2 (#1445)
* Updating translations.

* Upgrading lemmy-js-client.
2023-06-21 15:08:21 -04:00
Dessalines
3e6236ada3 Cleaning up new comment badge. Fixes #1443 2023-06-21 15:02:23 -04:00
Dessalines
9480e6337b Commenting out markdown_it_emoji, because it breaks bolds.
- Fixes #1439
2023-06-21 14:46:29 -04:00
Dessalines
0c78cf22a7 Centering emojimart in view. 2023-06-21 14:44:37 -04:00
dankxiaobong
c5542e9e9c
Merge branch 'LemmyNet:main' into added-darkly-compact-552 2023-06-21 17:24:15 +02:00
Nutomic
101b830d87
Remove docs translations from links (#1441)
See https://github.com/LemmyNet/lemmy-docs/pull/223

There are redirects in place so this is not urgent.
2023-06-21 10:41:08 -04:00
dankxiaobong
a8320c2fa4
Merge branch 'main' into added-darkly-compact-552 2023-06-21 16:29:01 +02:00
Jay Sitter
40eefb0c67
fix(tabs): Fix tab semantics and a11y (#1382)
* fix: Fix tab semantics for Settings page

* fix: Use new tabpanel markup for admin settings

* fix: Remove unused currentTab behavior

* fix: Remove Bootstrap tab JS dependency

* fix: Add tabpanel role to rate limit tab panels

* fix: Fix style of tabs

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-21 08:27:27 -04:00
dankxiaobong
376ca28f1d
Merge branch 'main' into added-darkly-compact-552 2023-06-21 14:22:22 +02:00
Dessalines
8819cd4976
Merge branch 'main' into fix/1417-communities-search-layout 2023-06-21 08:20:32 -04:00
Dessalines
d2f2d7442a Fixing handlePostNsfwChange. 2023-06-21 08:16:11 -04:00
Dessalines
3e0a32a634
Merge branch 'main' into fix/1417-communities-search-layout 2023-06-21 08:08:23 -04:00
Dessalines
c1e2168a43
Merge branch 'main' into fix/create-post-form-adjustments 2023-06-21 08:07:12 -04:00
Jay Sitter
1d0e96dbc4
fix: Remove Bootstrap JS in sidebars (#1434)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-21 08:05:32 -04:00
SleeplessOne1917
3db4fdddcd
Store manifest in memory so it does not need to be generated for every page request (#1433)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-21 07:55:27 -04:00
SleeplessOne1917
638ab2c462
Com create post (#1431)
* Fix create post for community not having community selected by default

* Fix issue where fields would reset when creating post

* Run prettier and lint
2023-06-21 07:52:32 -04:00
dankxiaobong
1c0f4f6002 added litely-compact 2023-06-21 13:46:31 +02:00
dankxiaobong
6d13c84f69 changed where custom compact code goes 2023-06-21 12:29:00 +02:00
dankxiaobong
d56aeb95ca added darkly-compact - issue 552 2023-06-21 11:19:30 +02:00
David Palmer
121ed585dc
Merge branch 'main' into expand-video-embeds-to-fullwidth 2023-06-21 16:31:13 +12:00
David Palmer
c16c00db0d
add a prefix to hint to screenreaders what this iframe is 2023-06-21 16:28:27 +12:00
Jay Sitter
deed524a7f fix: Small adjustments to create post form 2023-06-21 00:20:05 -04:00
David Palmer
9858514bb4
wrap video embeds in the ratio container
This should correctly size the embedded video iframe to the full
available width, which looks better and is compatible with mobile
devices.

Also add the "allowfullscreen" modifier to the iframe so that the video
can be expanded to the browser's fullscreen mode.

Also add the post.embed_title as the iframe "title" attribute.
2023-06-21 16:15:02 +12:00
Jay Sitter
65703793f6 fix: Fix Communities search/filter header #1417 2023-06-21 00:01:31 -04:00
SleeplessOne1917
dd9838a7a7
Merge branch 'main' into feat/shorten-comments-button-text 2023-06-21 00:27:52 +00:00
Ivo Barros
747bc943a9 refactor if into switch case 2023-06-21 01:21:14 +01:00
Ivo Barros
ced7b887d2 Merge branch 'main' of github.com:L3v3L/lemmy-ui into main 2023-06-21 01:19:33 +01:00
SleeplessOne1917
bc658a80a4
Fix mobile navbar bug (#1428)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-20 20:09:45 -04:00
Jay Sitter
3574212c76 feat: Hide 'comments' in post listing comments button; icon and title text is clear 2023-06-20 19:53:55 -04:00
n3oney
a7d91d3f2c
Merge branch 'main' into patch-1 2023-06-21 00:40:25 +02:00
Ivo Barros
a07fc75972
Merge branch 'main' into main 2023-06-20 23:07:57 +01:00
SleeplessOne1917
4da34c1370
Merge branch 'main' into breakout-role-utils 2023-06-20 21:12:18 +00:00
SleeplessOne1917
5960b85e46
Merge branch 'main' into feat/component-classes-v2 2023-06-20 21:09:17 +00:00
Alec Armbruster
671d903166
fix main.css vars (#1424) 2023-06-20 17:01:35 -04:00
Alec Armbruster
cc4ecb585e
forgot an import 2023-06-20 15:51:37 -04:00
djvs
5033b024f6 component classes v2 2023-06-20 14:46:16 -04:00
Alec Armbruster
697df71b2d
Merge branch 'breakout-role-utils' of https://github.com/alectrocute/lemmy-ui into breakout-role-utils 2023-06-20 10:21:41 -04:00
Alec Armbruster
2d4c9dd1c2
make suggested changes 2023-06-20 10:21:31 -04:00
Alec Armbruster
b8fd516f02
Merge branch 'main' into breakout-role-utils 2023-06-20 10:17:52 -04:00
Alec Armbruster
b874eaa38d
Merge branch 'breakout-role-utils' of https://github.com/alectrocute/lemmy-ui into breakout-role-utils 2023-06-20 10:17:29 -04:00
Alec Armbruster
e4f9c31cfa
make suggested changes 2023-06-20 10:17:16 -04:00
Jay Sitter
c77086a9d5
feat: Bootstrap 5 (#1378)
* feat: Use Bootstrap 5; remove Bootstrap 4

* feat: Add link decoration override global var

* fix: Change sr-only to visually-hidden

* fix: Fix missing toggle button classes

* fix: Use darker green to pass 3:1 contrast and allow foreground color generation

* fix: Replace all mr- and ml- classes with me- (end) and ms- (start) classes

* fix: Replace all pr- and pl- classes with pe- (end) and ps- (start) classes

* fix: Replace custom-select with form-select d-inline-block

* fix: Change max-width to Bootstrap 4's max-width

* fix: Fix badge colors

* fix: Replace deprecated btn-block class with d-block

* fix: Temporary fix for missing btn-block styles

* fix: Fix margin-left auto and margin-right auto

* fix: Fix default border color

* fix: Fix some button widths

* fix: Fix form row margins

* fix: Remove theme color maps; no longer necessary in Bootstrap 5

* fix: Remove unused gray

* test commit

* fix: Fix deprecated input-group-append usage

* fix: Add missing col-form-label classes

* fix: Fix some column widths

* fix: Fix language dropdown style regression

* fix: Fix toast background color

* fix: Fix missing colors in red themes

* fix: Fix default radio button appearance for toggles

* fix: Fix missing margin in search form

* fix: Fix search form widths

* fix: Fix rate limit form columns

* fix: Fix search filters layout

* fix: Fix weird table background issue; re-compile from main updates

* fix: Fix modlog filter layout

* fix: Fix some horizontal margins

* fix: Fix incorrect usage of input-group

* chore: Empty commit to re-trigger Woodpecker job

* fix: Fix incorrect Bootstrap 5 padding class

* fix: Tighten up the home filter bars for the hell of it

* fix: Fix home filter bar gap

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-20 08:01:29 -04:00