Commit graph

1539 commits

Author SHA1 Message Date
SleeplessOne1917
33cbc8b50e
Merge branch 'main' into fix_language_select_custom 2023-06-20 00:21:43 +00:00
SleeplessOne1917
41cc3d35ea
Merge branch 'main' into breakout-role-utils 2023-06-20 00:14:00 +00:00
SleeplessOne1917
fd2e8fb90a
Merge branch 'main' into fix/fix-wrong-litely-red-import 2023-06-20 00:08:51 +00:00
SleeplessOne1917
13df4b9c56
Merge branch 'main' into fix/add-aria-label-to-featured-pins 2023-06-19 23:32:00 +00:00
Alec Armbruster
b1b0fdf5f8
fix missing imports 2023-06-19 19:10:53 -04:00
Dessalines
0c95172993
Merge branch 'main' into breakout-role-utils 2023-06-19 18:48:59 -04:00
Jay Sitter
7dc06199f2 fix: Litely Red was importing the wrong vars 2023-06-19 17:21:08 -04:00
Jay Sitter
e8dfaa458a fix: Always show advanced post buttons dropdown 2023-06-19 15:56:55 -04:00
b7da6851aa Fixing missing class for language select. 2023-06-19 11:53:18 -04:00
Jay Sitter
94274a1e7f
feat(post): Move post domain beneath post title (#1363)
* feat(post): Move post domain and preview button beneath post title

* fix: Move the 'show body' button back to actions line; only show if there is something to show; add 'active' color

* fix: Fix some margins
2023-06-19 11:26:29 -04:00
Dessalines
02ffa85b58
Merge branch 'main' into breakout-role-utils 2023-06-19 10:04:19 -04:00
ayan4m1
5ccd8922da feat(css): make vertical rhythm more consistent for post listings 2023-06-18 23:55:04 -04:00
Jay Sitter
2348bbbf5b
Merge branch 'main' into fix/fix-post-creator-alignment 2023-06-18 23:45:06 -04:00
SleeplessOne1917
edf13f39e6
Merge branch 'main' into fix/fix-post-creator-alignment 2023-06-19 03:36:32 +00:00
Jay Sitter
6e4b2004dd
Merge branch 'main' into fix/add-labels-to-block-report 2023-06-18 23:23:44 -04:00
SleeplessOne1917
61586459ea
Merge branch 'main' into fix/fix-intense-hr-color 2023-06-19 03:20:59 +00:00
Jay Sitter
ad984c8584 fix: Use classnames 2023-06-18 23:19:56 -04:00
Jay Sitter
b55cf01e72 Merge remote-tracking branch 'origin/main' into fix/fix-post-creator-alignment
* origin/main:
  fix: Prettier ignore generated themes, as they aren't written by humans
  feat: Badge-ify NSFW and removed by mod title info
2023-06-18 23:18:03 -04:00
Jay Sitter
7f818921d2 fix(post): Fix missing labels on block/report buttons in new dropdown 2023-06-18 16:02:55 -04:00
Jay Sitter
eb9bc1d4fb fix: Add compiled theme stylesheets 2023-06-18 15:45:01 -04:00
Jay Sitter
473406d1da fix: Fix too-intense hr color between posts 2023-06-18 15:38:16 -04:00
Jay Sitter
90cd24b8ca fix: Fix post creator text alignment 2023-06-18 12:46:31 -04:00
Jay Sitter
28fd28f6d3 feat: Badge-ify NSFW and removed by mod title info 2023-06-18 10:47:29 -04:00
Jay Sitter
3e0ad0d56d fix: Fix display inline of post title 2023-06-18 10:19:42 -04:00
Jay Sitter
fbd2b727cb fix: Only post title should be inside h5, not the additional metadata icons 2023-06-18 10:19:40 -04:00
Jay Sitter
dcf576ff41 fix: Use btn-sm for advanced menu dropdown buttons 2023-06-18 10:18:17 -04:00
Jay Sitter
2e98e28e71 fix: Remove some extra classes on flag/report buttons 2023-06-18 10:18:17 -04:00
Jay Sitter
b4c83b214b fix: Fix vertical alignment and border radius of advanced dropdown menu items 2023-06-18 10:18:17 -04:00
Jay Sitter
fb2c9f7491 fix(a11y): Add aria-controls for advanced button dropdown 2023-06-18 10:18:17 -04:00
Jay Sitter
fc1c4f3279 fix: Fix some button labels and tippy text 2023-06-18 10:18:17 -04:00
Jay Sitter
96a4df220a fix: Remove unused var 2023-06-18 10:18:17 -04:00
Jay Sitter
7c264916a3 feat: Move advanced post menu into dropdown 2023-06-18 10:18:17 -04:00
SleeplessOne1917
0668a52daa
Merge branch 'main' into feat/move-advanced-post-menu-into-dropdown 2023-06-18 13:58:51 +00:00
SleeplessOne1917
37c9d3a9a1
Merge branch 'main' into fix/fix-post-title-element 2023-06-18 13:53:29 +00:00
SleeplessOne1917
30e6cdf29f
Merge branch 'main' into fix/add-aria-label-to-featured-pins 2023-06-18 13:48:45 +00:00
SleeplessOne1917
8df8c71a1f
Merge branch 'main' into main 2023-06-18 13:43:12 +00:00
Jay Sitter
4aacb38de6
Merge branch 'main' into feat/move-advanced-post-menu-into-dropdown 2023-06-18 09:38:25 -04:00
Jay Sitter
137498bfb9
Merge branch 'main' into fix/fix-post-title-element 2023-06-18 09:37:58 -04:00
Jay Sitter
982dbe39da
Merge branch 'main' into fix/add-aria-label-to-featured-pins 2023-06-18 09:37:52 -04:00
sunaurus
3f80010434
Always allow users to control whether they see NSFW content 2023-06-18 14:05:01 +03:00
Jay Sitter
cd0a5a60c6 fix: Fix display inline of post title 2023-06-18 00:41:47 -04:00
Jay Sitter
4da9fcdce9 fix: Use btn-sm for advanced menu dropdown buttons 2023-06-17 21:09:43 -04:00
Jay Sitter
bc69e0116c fix: Remove some extra classes on flag/report buttons 2023-06-17 21:04:40 -04:00
Jay Sitter
d0ae0f7543 fix: Fix vertical alignment and border radius of advanced dropdown menu items 2023-06-17 21:02:58 -04:00
Ivo Barros
5e9a414dfc clean code 2023-06-18 00:51:32 +01:00
Jay Sitter
f702cbd256 fix: Fix build error 2023-06-17 19:27:11 -04:00
Jay Sitter
560f1e3c18
Merge branch 'main' into fix/fix-post-title-element 2023-06-17 19:22:39 -04:00
Jay Sitter
ffaa3c4fc5 fix: Remove unused var 2023-06-17 19:16:52 -04:00
Jay Sitter
0d35d9a8d2
Merge branch 'main' into fix/site-sidebar-collapse 2023-06-17 19:12:29 -04:00
Jay Sitter
a7b0e2002d fix(a11y): Add aria-controls for advanced button dropdown 2023-06-17 19:10:53 -04:00
Jay Sitter
c48ee703c0 fix: Fix some button labels and tippy text 2023-06-17 18:28:35 -04:00
Jay Sitter
57ef993b82 fix: Remove unused var 2023-06-17 18:17:22 -04:00
Jay Sitter
086b0c0cc9 feat: Move advanced post menu into dropdown 2023-06-17 18:03:12 -04:00
Jay Sitter
3564c6c379 fix: Fix some small style issues 2023-06-17 17:01:14 -04:00
Jay Sitter
c8758317f7 fix: Fix Trending sidebar card too 2023-06-17 15:32:49 -04:00
Jay Sitter
0d302c0e40 fix: Cleaner logic 2023-06-17 15:32:29 -04:00
Jay Sitter
cf5c8a1c07 fix(a11y): Fix some mobile styles for Sidebar Cards 2023-06-17 15:24:55 -04:00
SleeplessOne1917
f0283ac9b3
Merge branch 'main' into fix/add-aria-label-to-featured-pins 2023-06-17 19:15:06 +00:00
Jay Sitter
072d253baa fix(a11y): Apply same accordion/collapse markup to Subscribed Communities sidebar card 2023-06-17 15:09:10 -04:00
SleeplessOne1917
1347ec6cbb
Merge branch 'main' into refactor-server-tidy 2023-06-17 19:01:44 +00:00
Jay Sitter
878e0f0f85 fix: Add .accordion wrapper around sidebar to obtain negative bottom margin 2023-06-17 14:24:13 -04:00
Jay Sitter
ff4d37d03a fix(a11y): Fix some a11y issues in Site Sidebar and use native Bootstrap Collapse and Card classes 2023-06-17 13:52:23 -04:00
Jay Sitter
ec1d3726ed fix(a11y): Add aria-label to fetaured pins 2023-06-17 13:08:56 -04:00
Jay Sitter
84887b6feb fix: Only post title should be inside h5, not the additional metadata icons 2023-06-17 12:32:12 -04:00
Alec Armbruster
e21029602b
Merge branch 'main' into refactor-server-tidy 2023-06-17 12:08:37 -04:00
Jay Sitter
c5e55fb286 fix: Remove some unused vars 2023-06-17 11:16:04 -04:00
SleeplessOne1917
b52b18939c
Merge branch 'main' into refactor-server-tidy 2023-06-17 15:06:09 +00:00
Jay Sitter
77ab1f9e85 fix: Fix some references to ; they should refer to a specific gray in case changes 2023-06-17 10:58:22 -04:00
Jay Sitter
77a3e57f94 fix: Move var to grays area 2023-06-17 10:56:17 -04:00
Jay Sitter
6bb44191ae fix: Fix broken theme overrides; group theme variable files by variable type 2023-06-17 10:54:49 -04:00
SleeplessOne1917
2f1e349e17
Merge branch 'main' into chore/sass-cleanup 2023-06-17 14:15:09 +00:00
Alec Armbruster
f8fd90cc2e
fix accidental changes 2023-06-17 08:47:43 -04:00
Alec Armbruster
571b1faf70
remove comments 2023-06-17 08:46:19 -04:00
Alec Armbruster
7f48a38b72
Merge branch 'main' into breakout-role-utils 2023-06-17 08:44:47 -04:00
Alec Armbruster
96abf25d00
fix merge conflicts 2023-06-17 08:07:25 -04:00
Alec Armbruster
e6005daadf
Merge branch 'main' into refactor-server-tidy 2023-06-17 08:02:46 -04:00
SleeplessOne1917
4bdddb1710
Add default profile picture for users who do not set one (#1339) 2023-06-17 08:00:13 -04:00
Marcin Mróz
7c2a471031
feat(navbar): Add labels for navbar items on mobile (#1323)
* feat(navbar): Add labels for navbar items on mobile

* fix(navbar): Fix icons positioning on desktop

---------

Co-authored-by: Marcin Mróz <marcin.mroz@displate.com>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-17 07:55:59 -04:00
Ivo Barros
3ca24607fb add hours as sorting options 2023-06-17 09:37:03 +01:00
Jay Sitter
fef03525f1 fix: Fix rounded top corners in markdown textarea 2023-06-17 01:43:05 -04:00
Jay Sitter
b59ddb1810 fix: Fix input-bg for darkly theme 2023-06-17 01:39:48 -04:00
Jay Sitter
9885bc31eb chore: Fix a missing theme color 2023-06-17 01:20:49 -04:00
Jay Sitter
f0bbbd181d chore: Remove some more redundancies 2023-06-17 01:19:45 -04:00
Jay Sitter
87cf5d9b6c chore: Remove some more redundancies 2023-06-17 01:18:35 -04:00
Jay Sitter
d2dac88cd8 chore: Fix vars 2023-06-17 00:53:44 -04:00
Jay Sitter
fb60612066 Merge remote-tracking branch 'origin/main' into chore/sass-cleanup
* origin/main:
  Revert "fix: Sass files don't need to refer to full node_modules path"
2023-06-17 00:39:13 -04:00
Jay Sitter
42c46c18ca chore: Remove some redundant Sass variable declarations and re-organize them 2023-06-17 00:38:30 -04:00
Jay Sitter
a41079929d fix: Fix imports 2023-06-17 00:12:01 -04:00
Jay Sitter
366acfe106 Revert "fix: Sass files don't need to refer to full node_modules path"
This reverts commit ab92d7264d.
2023-06-16 23:32:59 -04:00
Jay Sitter
ab92d7264d fix: Sass files don't need to refer to full node_modules path 2023-06-16 23:14:39 -04:00
Jay Sitter
cd259cd416
Merge branch 'main' into fix/markdown-bootstrap-classes 2023-06-16 21:48:33 -05:00
Jay Sitter
133951bc84 fix: Remove inline styles and use Bootstrap classes 2023-06-16 22:43:46 -04:00
Jay Sitter
fb678d10f8
Merge branch 'main' into feat/add-badges-common-component 2023-06-16 21:35:14 -05:00
Jay Sitter
4ec7c26707
Merge branch 'main' into feat/add-badges-common-component 2023-06-16 21:31:03 -05:00
SleeplessOne1917
72655e0714
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-17 02:29:33 +00:00
Jay Sitter
d951fb57da fix: Fix missing prop 2023-06-16 22:25:35 -04:00
SleeplessOne1917
6c998ed862
Merge branch 'main' into route-data-refactor 2023-06-17 02:25:18 +00:00
SleeplessOne1917
61cbbfe57f
Merge branch 'main' into route-data-refactor 2023-06-17 02:22:36 +00:00
SleeplessOne1917
28023bb3a6
Merge branch 'main' into generate-theme-css 2023-06-17 02:22:10 +00:00
SleeplessOne1917
9165433282
Merge branch 'main' into 1117-jump-to-main-content 2023-06-17 02:19:59 +00:00
SleeplessOne1917
5033d03ed2
Merge branch 'main' into generate-theme-css 2023-06-17 02:17:45 +00:00
SleeplessOne1917
879e3b6f70
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-17 02:17:04 +00:00
SleeplessOne1917
8b2bcd5a99
Merge branch 'main' into feat/markdown-format-bar-above 2023-06-17 02:16:36 +00:00
SleeplessOne1917
7a105942b0
Merge branch 'main' into feat/add-badges-common-component 2023-06-17 02:08:34 +00:00
Jay Sitter
ba3a565d2b fix: Vertically align icons in post listing 2023-06-16 21:50:31 -04:00
Jay Sitter
f7f8ddcd7c fix: Add total users in site sidebar 2023-06-16 21:44:45 -04:00
Jay Sitter
fe64edd2fc fix: Re-add 'number of communities' to site sidebar 2023-06-16 20:56:01 -04:00
Jay Sitter
cb72180f97 fix: Fix broken link 2023-06-16 20:54:13 -04:00
Jay Sitter
8bbb6c9652 Merge remote-tracking branch 'origin/main' into feat/add-badges-common-component
* origin/main:
  handle login failures correctly
  wrap login call in try/catch for error handling
  Remove extra div in post sidebar
  Add a class to the more button on a comment node
  Switch navbar classes to ids
  Adding a few more 0.18.0 API changes. (#1324)
  Use aside semantic HTML tag for sidebars
  Use article semantic HTML tag for posts/comments
  Use footer semantic HTML tag
  Adding codeowners.
  Add lemmy-site class for easier detection
  Add ID's and classes to sidebars
  Add clases and ID's to post form/listing
  Add classes to post and comment repy textareas
  Rename markdown-textarea ID's
  Add nav and footer ID's
2023-06-16 20:35:44 -04:00
Jay Sitter
e540b1e4a9
Merge branch 'main' into feat/markdown-format-bar-above 2023-06-16 19:14:48 -05:00
Jay Sitter
f037220d5e fix: Fix rounded textarea in Markdown box 2023-06-16 20:13:25 -04:00
Jay Sitter
3d24a108ae feat: Fix some colors on dark mode 2023-06-16 20:02:07 -04:00
Jay Sitter
f9f4caf260 feat: Redesign the format bar / textarea into a single bordered area with divider 2023-06-16 19:49:28 -04:00
Alec Armbruster
b3a25a3bb3
hopefully last merge fiasco cleanup 2023-06-16 19:20:43 -04:00
Alec Armbruster
fbc13249ca
more cleanup 2023-06-16 19:18:06 -04:00
Alec Armbruster
768ed8ea94
even more cleanup 2023-06-16 19:16:00 -04:00
Alec Armbruster
8fcde4bdd0
more cleanup 2023-06-16 19:14:35 -04:00
Alec Armbruster
e164a3b9a1
attempt to fix crazy merge fiasco 2023-06-16 19:10:25 -04:00
Alec Armbruster
3ee47d38b8
Merge branch 'LemmyNet:main' into breakout-role-utils 2023-06-16 18:57:20 -04:00
Alec Armbruster
6c6ddd5b51
reset, merge issues 2023-06-16 18:56:23 -04:00
Alec Armbruster
6105c1e035
Merge branch 'main' into refactor-server-tidy 2023-06-16 18:41:44 -04:00
Jay Sitter
f8f1f49250 feat: Move Badges to common component 2023-06-16 18:31:47 -04:00
SleeplessOne1917
f0a7b58ee3
Merge branch 'main' into route-data-refactor 2023-06-16 22:24:29 +00:00
abias
9fb1a28763 Merge branch 'main' into route-data-refactor 2023-06-16 18:23:06 -04:00
Alec Armbruster
d773f8c262
Merge branch 'main' into refactor-server-tidy 2023-06-16 18:21:14 -04:00
SleeplessOne1917
7e01c9e166
Merge branch 'main' into feature/login-error 2023-06-16 22:21:12 +00:00
ayan4m1
93e3598328 handle login failures correctly 2023-06-16 18:18:36 -04:00
ayan4m1
55512a2eae wrap login call in try/catch for error handling 2023-06-16 18:18:36 -04:00
abias
4d716e039b Merge branch 'main' into route-data-refactor 2023-06-16 18:17:17 -04:00
abias
71336002e7 Fix first loads not working 2023-06-16 18:12:14 -04:00
Zetaphor
e13d6145cb Remove extra div in post sidebar 2023-06-16 18:56:06 -03:00
Jay Sitter
ebba5bdd80 feat: Move text formatting bar above textarea 2023-06-16 17:47:43 -04:00
Zetaphor
a03bee512a Add a class to the more button on a comment node 2023-06-16 18:47:37 -03:00
Alec Armbruster
9c37cea106
Merge branch 'main' into breakout-role-utils 2023-06-16 17:33:46 -04:00
Zetaphor
f38630b224 Merge branch 'feature/add-ids-and-classes' of github.com:Zetaphor/lemmy-ui into feature/add-ids-and-classes 2023-06-16 18:29:29 -03:00
Zetaphor
fe54ae9715 Switch navbar classes to ids 2023-06-16 18:28:50 -03:00
Alec Armbruster
976ed12d07
break out browser and helper methods 2023-06-16 17:25:53 -04:00
Sean Spade
d3e181222a feat: Adds Jump to main content functionality
feat: Adds media query for prefers reduced motion

chore: remove <a/> from index.tsx

chore: remove tranisiton for skip link

chore: remove omitted error variable

update translations

chore: update translations

chore: Covert <a/> jump to content from html to Inferno JSX

chore: add translation

feat: add main as a parent to routes so jump to content always skips navigation on every page

chore: Use bootstrap classes

feat: Tidy Jump to content feature with some basic JS

feat: Jump to main content
2023-06-16 17:22:05 -04:00
Sean Spade
4da2438638 chore: ensures validURL function does not throw exception 2023-06-16 17:18:11 -04:00
SleeplessOne1917
e456121137
Merge branch 'main' into feature/add-ids-and-classes 2023-06-16 21:17:48 +00:00
Alec Armbruster
0854af3794
break out all role utils 2023-06-16 17:07:55 -04:00
SleeplessOne1917
242eeb5646
Merge branch 'main' into generate-theme-css 2023-06-16 21:07:49 +00:00
Dessalines
e0cc7ba3c3
Adding a few more 0.18.0 API changes. (#1324)
- Removes number_online
2023-06-16 17:06:14 -04:00
Zetaphor
9a943e1f2e Use aside semantic HTML tag for sidebars 2023-06-16 17:27:55 -03:00
Zetaphor
5d7e5cac33 Use article semantic HTML tag for posts/comments 2023-06-16 17:27:41 -03:00
Zetaphor
c4146cc66a Use footer semantic HTML tag 2023-06-16 17:26:58 -03:00
SleeplessOne1917
d3a19751d5
Merge branch 'main' into generate-theme-css 2023-06-16 20:00:46 +00:00
SleeplessOne1917
65079cf61e
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-16 19:57:12 +00:00
Alec Armbruster
ea61cbbd46
Merge branch 'main' into refactor-server-tidy 2023-06-16 14:09:02 -04:00
Zetaphor
e597e59bfe Add lemmy-site class for easier detection 2023-06-16 14:21:01 -03:00
Zetaphor
6a9b936d08 Merge branch 'main' into feature/add-ids-and-classes 2023-06-16 14:14:10 -03:00
Zetaphor
da1a4f81df Add ID's and classes to sidebars 2023-06-16 14:12:27 -03:00
Zetaphor
2d79ad32b5 Add clases and ID's to post form/listing 2023-06-16 14:12:07 -03:00
Zetaphor
3ca2bce9f0 Add classes to post and comment repy textareas 2023-06-16 14:10:56 -03:00
Zetaphor
a5dc5c0b3f Rename markdown-textarea ID's 2023-06-16 14:09:35 -03:00
Zetaphor
197b736f3e Add nav and footer ID's 2023-06-16 14:08:53 -03:00
Jordan Enterkin
afcffce572
fix block community functionality in sidebar (#1316)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 13:01:09 -04:00
Michał
ad2bf18ab4
fix: fix loading custom themes with a custom LEMMY_UI_EXTRA_THEMES_FOLDER 2023-06-16 18:32:21 +02:00
Alec Armbruster
96f6152a15
Merge branch 'main' into refactor-server-tidy 2023-06-16 11:54:09 -04:00
Alec Armbruster
80e2c9602e
Admin Settings: Bugfixes (#1313)
* move loading state to AdminSettings, pass as prop, tweak margin on some labels, add missing bind

* default loading state to false on setup.tsx, add util

* rename util to make more sense

* make @dessalines suggested changes
2023-06-16 11:52:47 -04:00
Alec Armbruster
90bad6d077
Merge branch 'main' into refactor-server-tidy 2023-06-16 11:04:31 -04:00
Alec Armbruster
64191f2d21
set loading state attribute to false if createPost fails (#1311)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 11:02:28 -04:00
Sunny
1c26a85fff
Make community IDs more easily selectable (#1306)
* Make community IDs more easily selectable

* Use T component for alert

* Use T component for alert

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 11:00:01 -04:00
Jay Sitter
b228214cd0
Re-arrange elements beneath markdown textarea #1057 (#1288)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 10:53:46 -04:00
Alec Armbruster
c3f3c14a1c
Merge branch 'main' into refactor-server-tidy 2023-06-16 10:50:18 -04:00
Dessalines
b44ae192d2
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-16 10:49:42 -04:00
Yuri Pieters
882efe128a
Match more specific locales to supported ones (#1241)
To do this, replace the current system for choosing the language with one that makes use of i18next features.

Co-authored-by: Yuri Pieters <yuri@zopatista.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 10:49:23 -04:00
Alec Armbruster
7727a4a3a3
Merge branch 'main' into refactor-server-tidy 2023-06-16 10:45:31 -04:00
Alec Armbruster
b568756b83
formatting 2023-06-16 10:42:35 -04:00
Alec Armbruster
dba041fb90
use tsx ext only when needed 2023-06-16 10:38:40 -04:00
Alec Armbruster
88780ba9ab
refactor server, tidy up, use handlers/middleware/utils pattern 2023-06-16 10:34:36 -04:00
Florian Heft
3afd636b9e Fixed color scheme variables of litely-red
* Adapted variables to the actual color that
  was used before
2023-06-16 10:53:26 +02:00
abias
2a16c85ed0 Cleanup 2023-06-15 22:39:04 -04:00
abias
88842a52c0 Merge branch 'main' into route-data-refactor 2023-06-15 22:11:19 -04:00
abias
9265fc5894 Merge branch 'main' into route-data-refactor 2023-06-15 22:08:14 -04:00
Andrew DeLisa
79f4009541
Improve the look of tables (#1299)
* feat(css): remove table styling that overrides bootstrap

* feat(utils): style MD tables appropriately with bootstrap class
2023-06-15 17:42:22 -04:00
SleeplessOne1917
f39b3019c0
Merge branch 'main' into main 2023-06-15 17:24:53 +00:00
Marcin Mróz
e470db3fde feat(post-listing): Add link to post for mobile preview 2023-06-15 19:21:42 +02:00
Alec Armbruster
565071ef13
Merge branch 'main' into go-back-after-login 2023-06-15 12:41:29 -04:00
Alec Armbruster
114ad262c3
use .replace() instead 2023-06-15 12:38:42 -04:00
Alec Armbruster
4da9bcd793
go back if last history action was push, fix bug preventing navigation to / working from login 2023-06-15 12:29:24 -04:00
SleeplessOne1917
5e8c0ef45c
Merge branch 'main' into add-user-scalable-no 2023-06-15 15:56:39 +00:00
SleeplessOne1917
4c67ff255b
Merge branch 'main' into generate-theme-css 2023-06-15 15:51:52 +00:00
Alec Armbruster
09ac948d4a
add user-scalable=no to meta tag 2023-06-15 11:48:30 -04:00
ayan4m1
1dd8cb0994 remove explicit types 2023-06-15 08:31:36 -04:00
ayan4m1
1ed148d3d2 fix: <hr> is almost invisible in darkly theme 2023-06-15 08:23:55 -04:00
Dessalines
1088ee293b
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-15 07:55:09 -04:00
Florian Heft
535e9ae337 Removed duplicated CSS rule
* Bootstrap has us covered already
2023-06-15 09:00:29 +02:00
abias
97f23821f5 Merge branch 'comment-depth' of https://github.com/LemmyNet/lemmy-ui into comment-depth 2023-06-14 21:23:21 -04:00
abias
b0189658a2 Address PR feedback 2023-06-14 21:14:21 -04:00
SleeplessOne1917
a880db43a1
Merge branch 'main' into comment-depth 2023-06-15 00:53:20 +00:00
abias
ab0805432d Make comment border colors semi-transparent 2023-06-14 20:52:31 -04:00
Dessalines
89be27bb9d
Add long polling to update unread counts in navbar. (#1271)
* Upping version.

* Add long-polling to update unread counts in navbar.

- Fixes #1148

* Using async for polling.

* Update src/shared/utils.ts

Co-authored-by: Sander Saarend <sander@saarend.com>

* Adding window visibility check, removing generic sleep.

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Sander Saarend <sander@saarend.com>
2023-06-14 20:28:20 -04:00
SleeplessOne1917
8ce6e5bc32
Merge branch 'main' into comment-depth 2023-06-15 00:22:29 +00:00
SleeplessOne1917
f86b9ede07
Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform 2023-06-15 00:05:27 +00:00
SleeplessOne1917
31e61e7449
Merge branch 'main' into comment-depth 2023-06-14 23:46:11 +00:00
SleeplessOne1917
506839610e
Merge branch 'main' into AA/missing-tooltip-from-post-listing 2023-06-14 23:28:43 +00:00
SleeplessOne1917
81187c85d8
Merge branch 'main' into AA/trim-all-username-inputs 2023-06-14 23:25:59 +00:00
SleeplessOne1917
39e20e5c67
Merge branch 'main' into patch-1 2023-06-14 23:23:11 +00:00
SleeplessOne1917
d84af4a3ef
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-14 23:16:26 +00:00
Alec Armbruster
aa48adc2c3
Merge branch 'AA/remove-pictrsdeletetoast-from-postform' of https://github.com/alectrocute/lemmy-ui into AA/remove-pictrsdeletetoast-from-postform 2023-06-14 16:46:03 -04:00
Alec Armbruster
44e45bb84d
make button a tad smaller 2023-06-14 16:45:56 -04:00
Alec Armbruster
12298c3132
Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform 2023-06-14 16:41:28 -04:00
Alec Armbruster
d75e4365c4
remove pictrsDeleteToast usage from PostForm, add delete image button, fix infinite loading bug if upload error occured 2023-06-14 16:29:04 -04:00
Alec Armbruster
84a380606c
Merge branch 'main' into AA/missing-tooltip-from-post-listing 2023-06-14 12:05:53 -04:00
Alec Armbruster
66dc499864
Merge branch 'main' into AA/trim-all-username-inputs 2023-06-14 12:05:42 -04:00
Alec Armbruster
99f81f8d63
adds missing tooltip 2023-06-14 10:03:00 -04:00
Alec Armbruster
520efdcada
trim all username state input 2023-06-14 09:47:33 -04:00
Alec Armbruster
cd9de0b2e0
update prop name 2023-06-14 09:39:19 -04:00
Alec Armbruster
b076427e8d
handle loading state on community-form.tsx 2023-06-14 09:32:25 -04:00
SleeplessOne1917
2b1af707c3
Use http client (#1081)
* Beginning work on websocket -> http client conversion.

* About 30% done.

* half done.

* more done.

* Almost passing lint.

* Passing lint, but untested.

* Add back in event listeners.

* Fixing some community forms.

* Remove webpack cache.

* fixing some more.

* Fixed ISOwrappers.

* A few more fixes.

* Refactor utils

* Fix instance add/remove buttons

* Not catching errors in isoWrapper.

* Wrap Http client

* Fixing up tagline and ratelimit forms.

* Make all http client wrapping be in one place

* Reworking some more forms.

* Upgrading lemmy-js-client.

* Fixing verify email.

* Fix linting errors

* Upgrading woodpecker node.

* Fix comment scrolling rerender bug.

* Fixing a few things, commenting out props for now.

* v0.18.0-beta.1

* Trying to fix woodpecker, 1.

* Trying to fix woodpecker, 2.

* Handroll prompt

* Add navigation prompt to other pages

* Fix prompt navigation bug

* Fix prompt bug introduced from last bug fix

* Fix PWA bug

* Fix isoData not working

* Fix search page update url

* Fix sharp issue.

* v0.18.0-beta.2

* Make create post pre-fetch communities

* Fix bug from last commit

* Fix issue of posts/comments not being switched when changing select options

* Fix unnecessary fetches on home screen

* Make circular icon buttons not look stupid

* Prevent unnecessary fetches

* Make login experience smoother

* Add PWA shortcuts

* Add related application to PWA

* Update translations

* Forgot to add post editing.

* Fixing site setup.

* Deploy script setup.

* v0.18.0-beta.4

* Sanitize again.

* Adding sanitize json function.

* Upping version.

* Another sanitize fix.

* Upping version.

* Prevent search nav item from disappearing when on search page

* Allow admin and mod actions on non-local comments.

* Fix mobile menu collapse bug

* Completely fix prompt component

* Fix undefined value checks in use_http_client_2 (#1230)

* fix: filter out undefined from posts

* fix: emoji initialisation passing undefined

* fix: || => ?? to be more explicit

* linting

---------

Co-authored-by: Alex Maras <alexmaras@gmail.com>

* Re-add accidentally removed state

* Fix dropdown bug

* Use linkEvent where appropriate

* Fix navigation warnings.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Alex Maras <dev@alexmaras.com>
Co-authored-by: Alex Maras <alexmaras@gmail.com>
2023-06-14 08:20:40 -04:00
Camel Coder
be60dae9f8
Horizontally scrollable code blocks, instead of wrapping.
This disables word wrapping for code generated from markdown, and instead enables a horizontal scroll bar.
2023-06-14 12:00:13 +00:00
Florian Heft
14775734fa Fixed NSFW image blur spilling outside the preview
* Hide overflow of wrapping picture element
  to contain the blur of the inner img element.
* This aligns the visible image area to the
  clickable area.
* fixes #1245
2023-06-14 10:11:27 +02:00
Florian Heft
20c3b6bfb3 Recompiled theme files using latest Bootstrap 4
* Rebuild the existing theme files using the
  new build system (93f00c9e).
* Files should be functionally the same apart
  from possibly some Bootstrap fixes. Most
  of the diff is reordering and formatting
  (e.g. color values).
2023-06-14 01:14:18 +02:00
Florian Heft
a170a0cc74 Added npm scripts to rebuild theme files
* Add Bootstrap 4 dependency
* Add scripts to compile theme files using SASS
* Remove circular dependency of theme variables
  and Bootstrap base variables
2023-06-14 01:14:18 +02:00
Zetaphor
31257b9dd4
Add title to pictrs-image
This adds a title tag to images, uses the alt tag value. This improves accessibility for sighted users and screen readers.
2023-06-13 12:24:15 -05:00
cmp
0d67c64af9
Make the community title in the sidebar link to the local community. (#1161)
* Make the community title in the sidebar link to the local community.

* Ternary erudaStr for PR.

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-13 06:34:21 -04:00
SleeplessOne1917
5f5ef404d2
Fix prompt component (#1223)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-13 06:33:27 -04:00
SleeplessOne1917
2053c4e4e1
Fix mobile menu collapse bug (#1222) 2023-06-12 22:24:24 -04:00
SleeplessOne1917
8dedeb6824
Merge branch 'main' into fix-button-click-area 2023-06-12 23:02:28 +00:00
SleeplessOne1917
800c1655fe
Merge branch 'main' into avatar-aspect-ratio-fix 2023-06-12 21:12:49 +00:00
Dessalines
a605c72859
Another try at sanitize. (#1208)
* Sanitize again.

* Adding sanitize json function.

* Using serialize instead.
2023-06-12 16:17:57 -04:00
Raymond Berger
de230a5e2f
remove unused theme files (#1202)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-12 14:57:52 -04:00
SleeplessOne1917
a7450325a1
Make preview button say "edit" when in preview mode (#1164)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-12 14:14:03 -04:00
SleeplessOne1917
1f12ce9790
Add shortcut for submitting post (#1163)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-12 14:13:33 -04:00
Alec Armbruster
636d87e4cc
Merge branch 'main' into avatar-aspect-ratio-fix 2023-06-12 13:10:25 -04:00
Alec Armbruster
0d868d9005
format with prettier 2023-06-12 13:09:50 -04:00
Alec Armbruster
1aa934584f
add .img-cover class, implement 2023-06-12 13:00:18 -04:00
SleeplessOne1917
3438dac98b
Merge branch 'main' into fix-button-click-area 2023-06-12 14:33:28 +00:00
Ikko Eltociear Ashimine
b0b3d526cf
Fix typo in post-listing.tsx (#1181)
recieve -> receive
2023-06-12 10:05:36 -04:00
Florian Heft
170949f34f Fixed unclickable button paddings
* Remove the wrapping <button> element that
  visually seems clickable but has no click
  handling (only its child link can be
  clicked)
* fixes #1193
2023-06-12 11:40:44 +02:00
Yuri Pieters
10a29f053f Set html lang attr to the interface language 2023-06-12 00:26:01 +01:00
Yuri Pieters
6462cd5208 Run prettier 2023-06-11 22:47:57 +01:00
Alec Armbruster
5932fadc3a
make suggested change 2023-06-11 10:06:10 -04:00
Alec Armbruster
b90c0b2bbe
move expand/collapse button 2023-06-11 09:53:08 -04:00
Adam Shea
1f118e8bcc
Remove unnecessary comments 2023-06-10 12:12:48 +00:00
Adam Shea
cc64f71072
Added additional keybinds 2023-06-10 09:15:22 +00:00
SleeplessOne1917
cd6a2f47a1
Merge branch 'main' into 1078-language-select-disable-warning 2023-06-10 00:58:04 +00:00
Florian Heft
b54be0586d Only show 'saved' tab on own profile page
* Users can't view saved posts of other users.
* fixes #1090
2023-06-10 01:08:08 +02:00
Adam Shea
400f345182
Added Ctrl-K keybind 2023-06-09 21:30:12 +00:00
SleeplessOne1917
2c9fd462b2
Merge branch 'main' into 1078-language-select-disable-warning 2023-06-09 16:41:28 +00:00
2a5c690bdc
Fix quotes (#1131)
Need to replace before rendering markdown, not after
2023-06-09 09:00:45 -04:00
4867e455f8
Alternative way to sanitize isoData (#1129)
* Alternative way to sanitize isoData

* use split/join instead of replaceAll

* Use sanitize, then restore > chars for markdown render
2023-06-09 08:17:02 -04:00
Sean Spade
23c4b685ed chore: switched to enabling language warning by prop rather than disabling 2023-06-08 23:36:35 -04:00
Sean Spade
9d45b4afe3 fix: Adds ability to hide language warning 2023-06-08 23:36:35 -04:00
Marcin Mróz
7366846849 styles(#1067): Run prettier 2023-06-08 21:08:28 +02:00
Marcin Mróz
7dfda39db0 fix(#1067): Fix language not updating when editing post 2023-06-08 20:48:32 +02:00
0xDEADCADE
22a4fae0c2
Fix isoData can contain user generated content (#1114)
* Fix isoData can contain user generated content

* Fix formatting
2023-06-08 11:15:03 -04:00
Thomas
6a9d61a6dd
Add media-src * to Content-Security-Policy header 2023-06-06 13:45:17 +01:00
SleeplessOne1917
21a290a940
Merge branch 'main' into fix/1039 2023-06-05 23:27:50 +00:00
James Whitmarsh
0754b9ba19 Refactor lets to consts 2023-06-05 22:31:12 +01:00
James Whitmarsh
3cb3fc6b1e Fix aria-label for language select 2023-06-05 22:06:54 +01:00
SleeplessOne1917
400e62b21c
Add aria attribute to track toggle status of up/down votes. (#1074) 2023-06-05 11:49:03 -04:00
SleeplessOne1917
48c16cc977 Make comment depth easier to track visually 2023-06-03 23:49:49 -04:00
abias
b12399de5f Make comments nested lists 2023-06-03 22:02:07 -04:00
mezzode
1df655d40d
Fix sorting help link 2023-06-02 22:18:00 -07:00
abias
72b4d14b47 Merge branch 'main' into route-data-refactor 2023-05-29 20:41:54 -04:00
abias
feb4c434d1 Refactor route data 2023-05-29 20:40:00 -04:00
SleeplessOne1917
7720e37a63
Do not refresh when community is selected in create post (#1042) 2023-05-29 09:01:52 -04:00
8837cf568e remove badge-muted 2023-05-25 10:52:34 +02:00
SleeplessOne1917
7b96c89dcb
Merge branch 'main' into language-tag-changes 2023-05-24 13:34:04 +00:00
SleeplessOne1917
2ca53fae5b
Merge branch 'main' into rate-limiting-tab 2023-05-24 13:31:12 +00:00
15f75a26e9 use badge-muted 2023-05-24 12:22:24 +02:00
SleeplessOne1917
42ebb57b22
Navbar fix 2 (#1038)
* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags

* Forgot to include this
2023-05-23 20:42:19 -04:00
abias
98167b50dc Add translations 2023-05-23 19:31:33 -04:00
abias
7face53efd Merge branch 'main' into rate-limiting-tab 2023-05-23 19:14:44 -04:00
90a9f72817 Changes to language tag
- Dont use bright white color because its not that important
- Hide tag in case of undetermined (doesnt add any information)
2023-05-23 22:16:54 +02:00
abias
06a553c7a4 Hopefully stop lint command from erroring 2023-05-23 08:34:20 -04:00
SleeplessOne1917
c311bca8d2
Merge branch 'main' into nicer-error-hnadling 2023-05-23 12:07:08 +00:00
abias
5af62ebd84 Merge branch 'main' into nicer-error-hnadling 2023-05-23 08:01:09 -04:00
abias
ee95bd05fb Always replace host with internal host 2023-05-22 19:15:11 -04:00
abias
19408b26bf Revert "User HTTP instead of HTTPS when fetching icon in docker internal network"
This reverts commit 498de660ba.
2023-05-22 18:42:05 -04:00
abias
fd39b21b12 Revert "Add debug statement."
This reverts commit 7fbb12a4bd.
2023-05-22 18:41:33 -04:00
abias
7fbb12a4bd Add debug statement. 2023-05-22 18:15:44 -04:00
abias
498de660ba User HTTP instead of HTTPS when fetching icon in docker internal network 2023-05-22 18:10:16 -04:00
abias
51c0c98faa Add error message paragraph 2023-05-22 12:57:52 -04:00
abias
83fc9f3949 Make error code always display 2023-05-22 08:38:05 -04:00
abias
fe69f8ee5f Merge branch 'main' into nicer-error-hnadling 2023-05-22 07:47:17 -04:00
SleeplessOne1917
ffe95ee1c6
Navbar hide menu fix (#1033)
* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags
2023-05-21 23:31:08 -04:00
Dessalines
26de38a869
Show parent comment for comment link. Fixes #1030 (#1032)
* Show parent comment for comment link. Fixes #1030

* Changing let to const.
2023-05-21 21:30:13 -04:00
abias
f51cc697a7 Merge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui into rate-limiting-tab 2023-05-21 15:32:00 -04:00
abias
9998d64d75 Add heading tag to rate limit form 2023-05-21 15:31:42 -04:00
SleeplessOne1917
f051eee8e9
Merge branch 'main' into rate-limiting-tab 2023-05-21 19:13:03 +00:00
abias
132f241e63 Remove console log 2023-05-21 15:11:20 -04:00
abias
117e85a967 Include forgotten translation 2023-05-21 14:42:17 -04:00
abias
a8e2b43952 Remove console logs 2023-05-21 14:41:41 -04:00
SleeplessOne1917
0bd9a17009
Add web share for browsers that have it enabled (#1029)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-21 14:17:56 -04:00
SleeplessOne1917
a447e432db
Show language on posts and comments (#1026)
* Show language on posts and comments

* Revert "Show language on posts and comments"

This reverts commit 54267903fc.

* Change language indicator look
2023-05-21 14:13:25 -04:00
abias
e542aa872d Incorporate translations 2023-05-21 14:13:06 -04:00
abias
cf58a0c451 Allow user to submit rate limit changes 2023-05-21 12:40:22 -04:00
abias
2e3c1a6cfa Put rate limit options in its own tab 2023-05-21 09:07:22 -04:00
abias
b1a7a679f0 Refactor tabs into reuseable component 2023-05-20 15:39:12 -04:00
abias
cbee588484 Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling 2023-05-19 13:06:34 -04:00
abias
75d2fb8d27 Replace link to issue tracker with proper support spaces 2023-05-19 13:06:14 -04:00
SleeplessOne1917
7241abc25e
Merge branch 'main' into nicer-error-hnadling 2023-05-17 01:10:51 +00:00
abias
256420b303 Fix isoData bug 2023-05-16 21:07:57 -04:00
abias
4f1d357b5b Refactor how error data is passed from server to client 2023-05-16 20:34:15 -04:00
SleeplessOne1917
0d30f4c731
Make admin UI for allowing/blocking instances easier to work with (#1012)
* Make admin UI for allowing/blocking instances easier to work with

* Tweak styles

* Remove log statements

* Trim instance names and slight refactor

* Use linkEvent
2023-05-16 09:08:52 -04:00
abias
24c4427c82 Get rid or forced error 2023-05-15 21:02:34 -04:00
abias
900bf2099b Cleanup 2023-05-15 20:56:08 -04:00
abias
5068df6bf5 Merge branch 'main' into nicer-error-hnadling 2023-05-15 20:34:45 -04:00
3143788d19 Changing all bigints to numbers 2023-05-15 15:53:29 -04:00
SleeplessOne1917
d56d20d0be
Redirect from pages that require auth on logout (#1016)
* Redirect fomr pages that require auth on logout

* Extract helper function

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-15 11:22:35 -04:00
abias
dbee2533a2 Fix things not working in production build 2023-05-14 23:45:21 -04:00
abias
23d7751523 Fix error page not showing when site not fetched and adjust styles 2023-05-14 23:01:39 -04:00
abias
3996cdaae3 Handle error when site not returned 2023-05-14 19:49:55 -04:00
abias
025daaa582 Use node env instead of version for environment specific logic 2023-05-14 16:25:03 -04:00
abias
76f0292862 Redirect to login and remove duplicated code 2023-05-14 15:28:38 -04:00
abias
8f2d964062 Fix server redirect error 2023-05-14 14:59:42 -04:00
abias
d944140a76 Merge branch 'main' into nicer-error-hnadling 2023-05-14 11:09:13 -04:00
abias
bcee6aad5b Set up logic for handling errors 2023-05-14 11:08:06 -04:00
abias
ab3fed3ddf Extract helper function 2023-05-13 23:09:05 -04:00
1683a745b5
Dont preselect new post language (#1008)
Lemmy-ui currently preselects the first language in the user
settings when creating a new post or comment. This is a bad
idea because this language might not actually be allowed in
the community. It is better to pass the language as None if
the user didnt specify it explicitly, because then the backend
can smartly choose a language based on the overlap of user
languages and community languages.

This fixes the problem described in
[this thread](https://lemmy.ml/post/1066608), where a user
tries to post in a community that has only English allowed,
with all languages enabled in user settings. In this case
lemmy-ui preselects "undetermined language" as default, which
is not allowed and results in an error. This PR fixes the issue
because it lets the backend automatically select the correct
language (English).
2023-05-13 16:07:05 -04:00
SleeplessOne1917
f31cd42d8e Redirect fomr pages that require auth on logout 2023-05-13 10:38:43 -04:00
8c06eb9749
Remove "banned" badge from posts and comments (fixes 899) (#1011)
It doesnt need to be emphasized so much that a user is banned.
Anyway this can already be seen in the mod log. For users who
are banned from the entire site it is still shown on the profile.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-11 21:15:04 -04:00
SleeplessOne1917
b19b51c78c
Add support for PWA (#1005)
* Add logic for dynamically generating web manifest

* Make PWA icon get autogenerated

* Make service worker work

* Tweak things for PWA

* Handle apple icons and refactor

* Update prod dockerfile

* Remove jimp

* Remove unnecessary option

* Use different function syntax
2023-05-11 21:07:59 -04:00
Dessalines
c5fd084577
Using auto-generated types from ts-rs. (#1003)
* Using auto-generated types from ts-rs.

- Fixes #998
- Added support for new `GetFederatedInstances`
- Fixed a few bugs in the process.

* Update imports to use SleeplessOne1917's fix.
2023-05-11 14:32:32 -04:00
Dessalines
06bfb7eadf
Fixing some outdated docs links. Fixes #1006 (#1007) 2023-05-11 13:13:09 -04:00
Dessalines
f7ace27477
Upgrading deps. (#1004) 2023-05-11 13:06:32 -04:00
Dessalines
457187693f
Prettier css (#995)
* Add prettier lint for css and scss files.

* Fixing eslint issue.

* Run prettier
2023-05-03 22:09:27 -04:00
SleeplessOne1917
3a88f6e854
Add content warning to modlog and fix modlog routing bug (#994)
* Add content warning to modlog and fix modlog routing bug

* Add translation logic
2023-05-03 22:06:59 -04:00
SleeplessOne1917
a027595eaa
Get rid of "No Results" showing while search is still loading. (#997) 2023-05-03 21:47:37 -04:00
SleeplessOne1917
2e78191dae
Handle when logged out (#986)
* Add logged out messages to profile and community

* Remove errors when not logged in

* Add logged out translations
2023-05-03 12:09:47 -04:00
SleeplessOne1917
3526baf465
Make pages use query params instead of route params where appropriate (#977)
* feat: Add multiple image upload

* refactor: Slight cleanup

* feat: Add progress bar for multi-image upload

* fix: Fix progress bar

* fix: Messed up fix last time

* refactor: Use await where possible

* Add query params to search page

* Update translation logic

* Did suggested PR changes

* Updating translations

* Fix i18 issue

* Make prettier actually check src in hopes it will fix CI issue

* Make home page use query params in URL

* Remove unnecessary part of private message url

* Make communities page use query params

* Make community page use query params

* Make user profile use query params

* Make modlog use query params

* Replace choices.js searchable select entirely

* Make 404 screen show up when expected

* Refactor query params code

* Remove unnecessary boolean literal

* Fix query param bug

* Address bug with searchable select and initial fetch

* Only import what is needed from bootstrap

* Undo change to comment nodes component

* Convert closure style functions to normal functions

* Updated translations

* Use translation for loading

* Fix create post select community bug

* Fix community query params bug
2023-04-15 10:47:10 -04:00
SleeplessOne1917
699c3ff4b1
Multiple image upload (#971)
* feat: Add multiple image upload

* refactor: Slight cleanup

* feat: Add progress bar for multi-image upload

* fix: Fix progress bar

* fix: Messed up fix last time

* refactor: Use await where possible

* Update translation logic

* Did suggested PR changes

* Updating translations

* Fix i18 issue

* Make prettier actually check src in hopes it will fix CI issue
2023-04-04 08:40:00 -04:00
SleeplessOne1917
e947549cdc
I18 quality of life change (#973)
* I18 quality of life change

* Cleanup
2023-04-03 09:28:56 -04:00
Anon
16cb506147
Optimize Tagline Form page (#972)
* Move taglines to its own tab. Optimize for editing.

* Small fix

* null -> undefined
2023-03-30 16:36:57 -04:00
4499579380 Merge branch 'custom-emojis' of https://github.com/makotech222/lemmy-ui into makotech222-custom-emojis 2023-03-27 12:49:46 -04:00
Dessalines
9bab9c3cab
Don't show icons / banners for banned users and removed communities. (#962)
- Fixes #961
2023-03-26 22:10:35 -04:00
SleeplessOne1917
1ad36d2c1d
fix: Fix undefined showing up in markdown (#970) 2023-03-26 22:10:08 -04:00
SleeplessOne1917
47daa9d143
refactor: update UI to use new client uploadImage function (#967)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-03-26 22:06:42 -04:00
SleeplessOne1917
fe0ebbeec1
fix: Make search screen able to change type, listing type, and sort when there is no query (#966) 2023-03-26 21:56:49 -04:00
Anon
4b6851d246
Merge branch 'main' into custom-emojis 2023-03-14 12:59:21 -05:00
Dessalines
07e7e1eb87
Adding 2FA support. Fixes #938 (#939)
* Adding 2FA support. Fixes #938

* Updating totp_2fa names.
2023-03-02 18:30:38 -05:00
Anon
96827a0dc9 Fix table layout on mobile 2023-02-26 11:22:05 -06:00
Anon
f1147f5891 Fix improper use of map 2023-02-26 11:22:05 -06:00
Anon
d7f4d2ccc1 Fix loading emojis 2023-02-26 11:22:05 -06:00
Anon
c22eafad56 fix casing 2023-02-26 11:22:05 -06:00
Anon
1f15ea5aa8 Add Custom Emoji Support 2023-02-26 11:22:05 -06:00
Dessalines
578709b986
Only show the determined warning for multiple. (#952) 2023-02-22 08:03:04 -05:00
Dessalines
8df9aa1d5a
Adding ban_from_community to be more clear. Fixes #872 (#943) 2023-02-21 16:12:00 -05:00
Dessalines
49acf514e9
Let any mod feature and lock posts. Fixes #875 (#944)
* Let any mod feature and lock posts. Fixes #875

* Change to amAdmin
2023-02-21 15:53:51 -05:00
Dessalines
12ed6ed31a
Adding a warning for deselecting the undetermined language. (#945)
- Fixes #930
2023-02-21 15:53:35 -05:00
Dessalines
a09b301429
Fixing line formatting. (#947) 2023-02-21 15:53:15 -05:00
Dessalines
1b1168d79f
Do local community checks for buttons. Fixes #918 (#948) 2023-02-21 15:52:57 -05:00
Dessalines
b1dcd222ab
Check to make sure post is correct. Fixes #934 (#949) 2023-02-21 15:52:34 -05:00
Dessalines
6aa33e6809
Remove buggy navbar search. Fixes #921 (#950) 2023-02-21 15:52:12 -05:00
Dessalines
deffaf1ee0
Fix issue with empty markdown content not nulling DB. Fixes #924 (#925)
* Fix issue with empty markdown content not nulling DB. Fixes #924

* Better syntax
2023-02-16 21:10:03 -05:00
Dessalines
b0755bc010
Adding reports send email to admins option (#932) 2023-02-16 21:07:22 -05:00
Dessalines
3ad7644725
Fix comment box closing. Fixes #904 (#914) 2023-02-02 21:26:18 -05:00
Dessalines
1dd86fdf91
Fix showing crosspost dupes. Fixes #900 (#912) 2023-02-02 21:15:36 -05:00
Dessalines
e03d3c40e6
Fix live updating postres edit. Fixes #908 (#911) 2023-02-02 21:15:21 -05:00
Dessalines
31715ca75c
Removing extra themes. Fixes #905 (#910) 2023-02-02 21:14:59 -05:00
Dessalines
87c30705ef
Fixing post setState error. Fixes #902 (#903) 2023-01-31 20:09:51 -05:00
Dessalines
53b1625026
Fixing PWA install. Fixes #822 (#893) 2023-01-17 14:38:21 -05:00
Dessalines
b64f47cfe9
Removing monads. Fixes #884 (#886)
* Removing monads. Fixes #884

* Fixing post fetching.

* Dont show not_logged_in error for navbar.

* Adding the lemmy-js-client RC.

* Fixing registration application mode
2023-01-04 11:56:24 -05:00
Dessalines
37c200571b
Sanitize article html. Fixes #882 (#883) 2022-12-29 12:35:43 -05:00
Zachary Dunn
62139df0c3
Add id to App component (#880)
Fixes #204. There's already a style block for `#app` so this just sets the id so those styles are applied.
2022-12-22 16:54:52 -05:00
Dessalines
afeb64009b
Adding Community Language fixes. #783 (#868)
* Partially done with language tagging. #783

* A few more updates.
2022-12-19 10:57:29 -05:00
Anon
003b177f6e
Add FeaturedPost Support (#873) 2022-12-14 10:03:18 -05:00
Dessalines
a6c0643428
Fix csp header for svgs in firefox. Fixes #869 (#870) 2022-11-22 16:39:55 -05:00
Dessalines
56c79bd2f4
Remove federation strict_allowlist and retry_count. (#867) 2022-11-21 12:40:48 -05:00
Anon
e2a29a5bad
Add Taglines support (#854)
* Add Taglines support

* Fix issue with deletion not rendering properly.

* Address PR comments

* Missed alllanguages

* Cleanup tagline match

* Update js client

* Move taglines to siteres

* Only show taglines editor after site setup

* Update js client
2022-11-20 11:08:44 -05:00
Dessalines
36c1c1f262
Fix wrong comment link. Fixes #714 (#865) 2022-11-18 23:39:32 -05:00
Dessalines
765ed9549a
Dont render images in tippy. Fixes #776 (#864) 2022-11-18 21:02:38 -05:00
Dessalines
6e3a6a601b
Move symbols to its own cacheable file. Fixes #809 (#862) 2022-11-18 13:28:05 -05:00
Dessalines
f90fa6dd3b
Hide post report images. Fixes #824 (#861) 2022-11-17 21:11:30 -05:00
Dessalines
78a6a19d8d
Add inline markdown rendering for post titles. Fixes #827 (#860) 2022-11-17 21:01:52 -05:00
Dessalines
927702625a
Show deleted on profile page. Fixes #834 (#859) 2022-11-17 20:58:43 -05:00
Dessalines
b8755f83d6
Make sure user is logged in for site creation. Fixes #838 (#858) 2022-11-17 19:20:25 -05:00
Dessalines
03045c2e04
Fix missing report shield. Fixes #842 (#855) 2022-11-17 18:59:49 -05:00
Dessalines
ee0cdde3b8
Increase markdown field char limit to 50k. Fixes #849 (#850) 2022-11-12 12:06:41 -05:00
Dessalines
24548ccba8
Adding new site setup fields. (#840) 2022-11-09 14:53:07 -05:00
sam365724
8fdbaf4499
Fix workaround for broken logout (#836)
Use hostname without port for setting empty cookie, avoids error in browser: 
Cookie “jwt” has been rejected for invalid domain.
2022-11-02 14:32:30 -04:00
Dessalines
a4edfd11f9
Strip html from og descriptions. Fixes #830 (#831) 2022-10-21 20:14:53 +00:00
Dessalines
309c93e918
Fix admin default listing type. Fixes #797 (#818) 2022-10-21 15:27:59 -04:00
7f5b260681 Merge branch 'browser_popup' 2022-10-21 14:14:42 -04:00
6bd795c89b Fixing up popup code. 2022-10-21 14:14:28 -04:00
Rens Groothuijsen
b979e0a3a9
Search button and input style fixes (#825)
* Align search button style with other navbar buttons, disable search box when hidden, adjust search box size

* Align search button margin with other navigation bar buttons
2022-10-20 23:56:57 -04:00
daaac3dfe8
Support new video embed api format (fixes #709) (#817) 2022-10-04 16:35:20 -04:00
umamawme
d412baf758
Change for container divs to container-lg (#813)
* Change for container divs to container-lg

* Apply container-lg to footer.tsx
2022-10-03 14:16:36 -04:00
sam365724
dd0ce307f5
Remove newline, save space for toast message. 2022-10-01 22:05:17 +02:00
sam365724
059dfbd3a5
Merge branch 'LemmyNet:main' into multiple-images-upload 2022-09-30 22:36:55 +02:00
sam365724
f2a4ebd92a Avoid browser warning about leaving page, handle delete image fail and add user filenames to messages. 2022-09-30 22:28:56 +02:00
Dessalines
dc62cab7e9
Adding private message reporting. Fixes #782 (#806) 2022-09-28 08:50:47 -04:00
Dessalines
333642e065
Adding the email_admins for new application config. (#742) 2022-09-27 15:45:42 -04:00
Dessalines
80be834867
Adding new unread comments. (#749) 2022-09-27 15:42:24 -04:00
Dessalines
32b32aa164
Fix broken profile page, and missing sidebars. (#795) 2022-09-23 04:41:04 +00:00
Dessalines
93bee57c4c
Adding a loading indicator for post community searching. Fixes #692 (#794) 2022-09-22 18:13:22 +00:00
Dessalines
67c83ece5b
Fix missing initial load of discussion languages. (#793) 2022-09-22 17:15:59 +00:00
Dessalines
c5f84649dd
Fix posts pushed from blocked users/comms. Fixes #697 (#792) 2022-09-22 17:13:59 +00:00
Dessalines
c6e3a4213a
Hide create community (#787)
* Adding post and comment language tagging. Fixes #771

* Hiding create community button. Fixes #754
2022-09-22 11:14:58 -04:00
Dessalines
6320357d21
Upgrade inferno v8.0.0 try2 (#790)
* Upgrade non-breaking deps.

* Upgrade to Inferno v8. Fixes #731

* Upgrading inferno-i18next-dess
2022-09-22 11:03:35 -04:00
cc90ded31e Merge branch 'fix/notif_new_fetch_bug' of https://github.com/ernestwisniewski/lemmy-ui into notif_bug 2022-09-21 10:16:54 -04:00
Dessalines
035739fb62
Increase fetch limit for user and community searches. Fixes #756 (#773) 2022-09-21 10:06:24 -04:00
Dessalines
00790a344a
Fix private instance setting. Fixes #769 (#786) 2022-09-21 10:05:54 -04:00
Dessalines
4b763d1b06
Hide extra comment and post functionality from search page. Fixes #752 (#788) 2022-09-21 10:05:19 -04:00
Dessalines
61b6810466
Show create post even if not subscribed. Fixes #768 (#789) 2022-09-21 10:04:57 -04:00
Sergio Varela
326beabda1
Cantarell for darkly/darkly-red. Fixes #779 (#784)
* Adds Cantarell

See: Use Cantarell instead of Liberation Sans for GNOME users on darkly/darkly-red themes. #779 (https://github.com/LemmyNet/lemmy-ui/issues/779)

* Adds Cantarell

See: Use Cantarell instead of Liberation Sans for GNOME users on darkly/darkly-red themes. #779 (https://github.com/LemmyNet/lemmy-ui/issues/779)
2022-09-20 22:43:33 -04:00
c2f628312f Updating translations. 2022-08-17 19:28:40 -04:00
Dessalines
3bf1cc2797
Adding mod / admin distinguish. (#744) 2022-08-17 19:26:50 -04:00
Dessalines
920a35383b
Disable CSP when in debug mode. (#743) 2022-08-16 20:39:09 +00:00
Dessalines
cc1308a7d0
Reduce search minLength to 1. Fixes #750 (#751) 2022-08-16 10:22:48 +00:00
Anon
dbb5c10da9 Use match 2022-08-08 16:41:07 -05:00
Anon
a8ab4e0558 Add support for filtering mod logs 2022-08-07 10:26:27 -05:00
Dessalines
df31cb53cb
Documenting and changing a few env vars. Fixes #661 (#739) 2022-08-04 20:21:20 +02:00
Dessalines
b0cfb4fe4a
Fixing post_view glitch. Fixes #740 (#741) 2022-08-04 16:28:58 +02:00
b12c606982
Change CSP rule for connect-src (websocket) to wildcard (fixes #730) (#737) 2022-08-03 17:33:17 -04:00
Dessalines
69b623b8fb
Comment Tree paging (#726)
* Updating translations.

* Forgot to add comment-sort-select

* Upgrading deps
2022-07-30 15:28:08 +02:00
Dessalines
e68babe38b
Adding block from community sidebar. Fixes #690 (#716)
* Adding block from community sidebar. Fixes #690

* Fixing lint
2022-07-29 23:38:37 -04:00
Dessalines
b2cab8d126
Fix suggested post title html. Fixes #691 (#717) 2022-07-29 23:38:10 -04:00
Dessalines
5b682271ad
Fix missing deny button. Fixes #723 (#728) 2022-07-29 23:37:48 -04:00
Dessalines
2afcdf0759
Fix community filtering. (#729) 2022-07-29 23:37:20 -04:00
sonata-chen
4117d04196
use zh-TW for language code, instead of zh_Hant. (#725)
Browser never returns zh_Hant. Chinese language code is usually categorized according to geographical region. (zh-CN, zh-HK, zh-TW)
2022-07-27 16:58:34 -04:00
Ernest
982fae53c8 Fix Notification browser fetch 2022-07-24 14:08:23 +02:00
Dessalines
c2c98ac638
Forgot to type a few Searches. Fixes #718 (#722) 2022-07-18 19:58:37 +00:00
Dessalines
08bee55056
New communities fetch limit is 50. (#711) 2022-07-13 14:27:43 +00:00
5dfb26cfd8
Clicking "subscribe pending" button performs unsubscribe (fixes #705) (#706) 2022-07-11 14:07:47 -04:00
Dessalines
130748a0c3
Fix site setup and login. Fixes #699 (#702) 2022-06-27 16:50:47 -04:00
Dessalines
96583bee47
Adding purging of comments, posts, communities, and users. (#459)
* Starting on admin purge.

* Updating translations.

* Finishing up item purging.
2022-06-23 15:44:05 -04:00
Dessalines
75d52f1e4e
Removing save and read config hjson. Fixes #695 (#696) 2022-06-23 10:05:56 -04:00
Dessalines
46c610990a
Expose pending 2 (#662)
* Updating translations.

* Adding better subscribe type.

* Fix extra pending string.
2022-06-23 13:35:53 +00:00
Dessalines
d905c91e1b
Adding option types 2 (#689)
* Not working, because of wrong API types.

* Adding Rust-style Result and Option types.

- Fixes #646

* Updating to use new lemmy-js-client with Options.
2022-06-21 17:42:29 -04:00
kac-
d41e19f3f1
Fix NPE during new site startup (#677) 2022-06-02 09:51:28 -04:00
Dessalines
3e7579b8bb
Fixing CSP for iOS devices. Fixes #669 (#678) 2022-06-01 16:43:54 +00:00
Dessalines
e467b22ae0
Commenting out csp headers, since it broke iOS devices. Fixes #669 (#675) 2022-05-30 22:30:42 +00:00
ianiiaannn
3c42aad2b1
Fix names for Chinese. (#668) 2022-05-28 15:17:55 -04:00
4730fe618b Revert "Fix lint"
This reverts commit 29bdd3bafd.
2022-05-26 18:36:34 -04:00
Dessalines
36297366fa
Legal info dess (#666)
* Add legal information (fixes #652)

* add legal_info field to SiteForm, add missing file

* Moving legal to SiteForm.

Co-authored-by: Felix Ableitner <me@nutomic.com>
2022-05-26 16:48:58 -04:00
Dessalines
fcb85efb19
Use LEMMY_UI_DEBUG for development mode. (#644) 2022-05-26 16:48:36 -04:00
Dessalines
c8869174e8
Add LEMMY_UI_CUSTOM_SCRIPT env var. Fixes #655 (#656)
* Add LEMMY_UI_CUSTOM_SCRIPT env var. Fixes #655

* Change name to LEMMY_UI_CUSTOM_HTML

* Change name to LEMMY_UI_CUSTOM_HTML_HEADER
2022-05-25 03:33:11 +00:00
Dessalines
0fc7808f3a
Turn off html in markdown. Fixes #650 (#657) 2022-05-24 16:40:31 +00:00
29bdd3bafd Fix lint 2022-05-24 12:36:02 -04:00
Dessalines
2d0da58793
Add posting restricted to mods (#642)
* Adding only mods can post. Fixes #641

* Fixing canPost check
2022-05-23 15:22:15 -04:00
Dessalines
d4ca2085ad
Add default post listing (#645)
* Fix local development.

* Updating translations.

* Adding default site post listing. Fixes #625
2022-05-23 15:19:14 -04:00
Dessalines
321339c6c5
Don't render markdown for summaries. Fixes #658 (#659) 2022-05-23 11:13:41 +00:00
b77689ebd1
Set content security policy http header for all responses (#621)
* Set content security policy http header for all responses

* add unsafe-eval

* fix websocket debug
2022-05-06 03:12:42 +00:00
Dessalines
2274f51e8d
Adding site sidebar for remote communities. Fixes #626 (#640) 2022-04-28 22:42:15 +02:00
Dessalines
130bfc9c8b
Properly debouncing tribute mentions. Fixes #633 (#639) 2022-04-27 22:57:55 +02:00
Dessalines
6b53ae7f62
Adding litely-red and darkly-red themes. (#636) 2022-04-27 19:10:58 +00:00
Dessalines
2d1111fa74
Fixing initial loading of admin page. Fixes #635 (#638) 2022-04-27 19:09:36 +00:00
Dessalines
f7dc1a52da
Fixing helmet theme bug. Fixes #628 (#629) 2022-04-15 21:22:57 +00:00
Dessalines
9c2f70e5e0
Adding site ban from profile page. Fixes #588 (#627) 2022-04-15 21:22:39 +00:00
Dessalines
47a0b8d4b9
Adding sidebar and subscribed collapse. Fixes #609 (#622) 2022-04-15 16:21:57 +00:00
Dessalines
35f1e06222
Adding a LEMMY_UI_DEBUG flag for eruda debugging (#624) 2022-04-13 15:33:00 +00:00
ensag-dev
d3775b0247
Adds OC (#620)
For the translations are back
2022-04-11 22:52:47 +00:00
Dessalines
7d8843902a
Revert "Set content security policy http header for all responses (#608)" (#613)
This reverts commit f1c5c60c76.
2022-04-08 13:52:16 +00:00
06c3e547fb
Dont allow community urls like /c/{id} (fixes #611) (#612)
* Dont allow community urls like /c/{id} (fixes #611)

* Also remove usage of numeric ids for user profiles

* fix

* fix
2022-04-08 13:29:02 +00:00
f1c5c60c76
Set content security policy http header for all responses (#608) 2022-04-07 21:01:55 +00:00
057a9ff4f5
Fix loading indicator on search page (fixes #443) (#606)
* Fix loading indicator on search page (fixes #443)

* fix lints

* review fix

* remove .filter
2022-04-05 10:41:50 +00:00
Dessalines
6bd4ed4791
Remove auth token from error message. Fixes #600 (#601) 2022-03-24 20:34:04 +00:00
0619b162d6
Fix error during new site setup (#596)
* Fix error during new site setup

* remove logging
2022-03-14 20:11:21 +00:00
3fe9dc0d7b
Differentiate between mods and admins in mod log (#597) 2022-03-14 20:09:29 +00:00
8f38213780
Fix comment fedilink (fixes #594) (#595) 2022-03-14 18:33:59 +00:00
ada4b03615
Rename theme files from *.min.css to *.css (#590) 2022-03-03 12:55:26 -05:00
Dessalines
aef6a66824
Fixing custom theme issue. (#589) 2022-03-02 21:15:04 +00:00
2ffe7e4c6f
Custom themes (#584)
* Add support for custom themes (fixes #560)

* load theme list in site-form.tsx
2022-03-02 10:35:59 -05:00
c394ddcbad address review comments 2022-03-01 14:47:52 +01:00
0ab1777046 Add option to set site default theme (fixes #559) 2022-02-25 14:41:10 +01:00
Dessalines
6684bbeaf6
Adding nofollow to links. Fixes #542 (#543)
* Adding nofollow to links. Fixes #542

* Running prettier.
2022-02-24 15:31:44 +00:00
2663e19fdc
Fix language names (#580)
* Fix language names

* Remove translations which are less than 70% completed, simplify localization code

* address review comment

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-02-18 19:34:11 +00:00
Dessalines
67593746e0
Move fedi link in post listing location. Fixes #569 (#583) 2022-02-17 18:28:43 +00:00
Dessalines
a406a87146
Don't redirect on server error. Fixes #570 (#582) 2022-02-17 18:08:13 +00:00
Dessalines
99f652422f
Smart select inner content after bold or italics. Fixes #497 (#577) 2022-02-14 19:43:07 +00:00
Dessalines
a1125ddbf0
Fix comment jumping. Fixes #529 (#576) 2022-02-14 19:10:11 +00:00
Dessalines
e13ab2ee46
Add federated post and comment links. Fixes #569 (#575) 2022-02-14 18:49:57 +00:00
Dessalines
7d578d2abc
Fix community comments iso fetch. Fixes #572 (#574) 2022-02-14 17:37:26 +00:00
Dessalines
399149b278
Don't allow transfer site. (#551)
* Don't allow transfer site.

* Updating translations.

* Adding leave admin team.
2022-02-14 12:27:43 -05:00
Dessalines
26fbd3c8e2
Fix report page bugs. Fixes #558 (#568) 2022-02-02 09:56:43 -05:00
Dessalines
ea33553f65
Forgot to remove testing line. (#565) 2022-02-02 09:53:31 -05:00
Dessalines
0ca801522b
Fix post title link bug. Fixes #547 (#563) 2022-02-02 09:53:17 -05:00
Dessalines
cd4f97593b
Add markdown footnotes. Fixes #561 (#562) 2022-02-02 09:53:09 -05:00
0da5fb9623
Move lemmy.ml signup message to top of registration page (#554)
* Move lemmy.ml signup message to top of registration page

* Fix warning css class, fix message padding
2022-01-27 13:44:08 -05:00
Dessalines
1d085dea12
Adding rss links. Fixes #548 (#549) 2022-01-24 22:24:32 -05:00
b06b641c9e Fixing issue with offset post body and metadata card. Fixes #544 2022-01-12 09:42:14 -05:00
eduardog3000
5f6ea5de6d
Improvements to post listings (#536)
* Improvements to post listings.

* Expanded image and body now show below the rest of the listing.
* The above are also offset to not be under the votes and thumbnail.
* Post title doesn't jump to a new line when you expand the image.
* Thumbnail doesn't disappear when you expand the image.
* Does not apply on mobile since things don't jump around as much.
* Clicking expanded image opens the original in a new tab.
* Does not apply on mobile since you can just long press.
* Instead tapping the image closes it.
* pictrs images now prefer the original format over jpg.
* Rendering split into many functions to improve readability.
* Post actions are now on the same line as the comments button.
* Post actions now show on mobile.
* Comments button made larger.
* Expanding or contracting an image now expands or contracts the body.

* Regenerated yarn.lock

To avoid problems resulting from malicous changes by the dev of `colors`
2022-01-11 19:53:23 -05:00
534b0f7398 Adding as and lt languages. 2022-01-09 12:57:39 -05:00
Dessalines
4915193ae5
Temp bans (#524)
* Updating translations.

* Adding temp bans.

* Using new lemmy-js-client with temp bans

* Fixing some lint and dep issues
2022-01-09 12:53:11 -05:00
Dessalines
9abe811021
Revert "Update signup.tsx (#525)" (#541)
This reverts commit df79492c4d.
2022-01-06 12:40:57 -05:00
Dessalines
89c68a8478
Fix banner. Fixes #466 (#534) 2022-01-06 11:26:32 -05:00
Dessalines
08ae106992
Making the modlog badge stand out more. Fixes #531 (#539) 2022-01-06 11:26:06 -05:00
Marek Ľach
f7e65d1dc0
Add some fallback properties for display in older browsers (#535)
* Update main.css

* Add some fallback for better rendering in older browsers

* Add some fallback for rendering in older browsers

* Add some fallback properties for older browsers

* Try to fix build for legacy browser improvements

* Update main.css
2022-01-03 15:32:37 -05:00
Dessalines
b96e16b4e9
Private instances (#523)
* Updating translations.

* Adding registration applications.

* Updating translations.

* Adding verify email route.

* Fix missing signup question bug.

* Updating translations.

* A few fixes from comments on lemmy PR.

* v0.15.0-rc.4

* Some suggestions from PR.

* v0.15.0-rc.5

* Adding optional auth to modlog fetches.

* v0.15.0-rc.6

* Hide deny / approve buttons
2021-12-30 10:26:45 -05:00
Dessalines
4c6713d3f2
Add nord theme. Fixes #520 (#527) 2021-12-22 10:50:55 -05:00
Kradyz
df79492c4d
Update signup.tsx (#525) 2021-12-15 10:19:20 -05:00
Dessalines
5074165226
Dont receive post room comments from blocked users. (#516) 2021-12-02 11:46:41 -05:00
Dessalines
e976c45f88
Using console.error for error logs. (#517) 2021-12-02 11:46:32 -05:00
a4f023d250 Fix issue with websocket buffer. 2021-12-02 09:59:31 -05:00
Dessalines
f410648e79
Switching to websocket-ts. #247 (#515) 2021-12-01 15:54:46 -05:00
Dessalines
a11cbb29c7
Fix native language issue. (zh_Hant) (#513) 2021-12-01 15:50:56 -05:00
Dessalines
324682b154
Fix tippy on component mount. Fixes #509 (#511) 2021-11-25 12:40:48 -05:00
Dessalines
b1158b9f73
Merge pull request #502 from LemmyNet/a_few_small_fixes
A few fixes.
2021-11-22 15:08:11 -05:00
d6f651568b A few fixes. 2021-11-22 15:04:20 -05:00
5d5b302676 Enabling html tags in markdown. Fixes #498 2021-11-19 16:09:28 -05:00
Dessalines
ebf216ccc9
Merge pull request #495 from LemmyNet/comment_scroll_bug
Fix comment scroll bug. Fixes #492
2021-11-18 12:21:11 -05:00
aff768edaa Fix comment scroll bug. Fixes #492 2021-11-18 10:37:24 -05:00
b27d6e904c Fixing error for null person_block. Fixes #491 2021-11-18 10:33:27 -05:00
Dessalines
ba06c1ae47
Trying to catch promise and json parse errors. #489 (#490)
* Trying to catch promise and json parse errors. #489

* A few more promises.
2021-11-17 16:23:46 -05:00
Dessalines
83b8bcd5e1
Fixing unload (#487) 2021-11-16 10:37:40 -05:00
Dessalines
387f474b09
Fix setup password. Fixes #478 (#484) 2021-11-16 09:46:22 -05:00
Dessalines
fac71d1749
Adding post comment scrolling hack. Fixes #480 (#486) 2021-11-16 09:46:12 -05:00
b4837add6e Fixing nav-link 2021-11-15 13:13:36 -05:00
9f57f7dd78 Remove another touch end. 2021-11-12 12:31:56 -05:00
dayinjing
579c4424d9
Remove touch events
Remove touch events, it breaks clicking links on mobile
2021-11-11 20:33:56 -06:00
be153c7676 Fix markdown guide url. 2021-11-05 16:34:57 -04:00
Dessalines
cd9bd19b7f
Navbar links (#476)
* Try using navbar links. Not working currently

* Updating using touch and mouse up events.

- Fixes #475
- Fixes #467
2021-11-05 16:34:35 -04:00
bfb43aae77 Use community title and user display name for dropdown. 2021-10-29 14:55:14 -04:00
ed37b30723 Merge branch 'upstream-patch-name' of https://github.com/theowenyoung/lemmy-ui into theowenyoung-upstream-patch-name 2021-10-29 14:52:40 -04:00
Owen Young
0ef0ea7dfa chore: in case display_name not exist 2021-10-29 12:29:45 +08:00
Owen Young
96afee5b09
ui: show user's display_name instead of username 2021-10-29 11:53:14 +08:00
9ed0fb3cbc Run prettier 2021-10-28 22:42:54 -04:00
e1ca2bd7b5 Merge branch 'archi' of https://github.com/mahanstreamer/lemmy-ui into mahanstreamer-archi 2021-10-28 22:34:24 -04:00
Dessalines
8a80b95189
Mahanstreamer userpage (#471)
* Added user page block functionality

* Add in suggested changes

adding in suggested changes

* fix lint

* change var name

* Update profile.tsx

* Update profile.tsx

* Some fixes.

Co-authored-by: mahanstreamer <84676642+mahanstreamer@users.noreply.github.com>
2021-10-28 22:31:12 -04:00
mahanstreamer
25bfa84134
Update post-form.tsx 2021-10-28 21:58:49 -04:00
mahanstreamer
2472bc251d
Update utils.ts 2021-10-28 21:57:36 -04:00
Owen Young
7d7b1f2475 feat: post form community use title instead of name 2021-10-29 05:39:41 +08:00
Dessalines
5fb0cdc5b5
Using i18next compatibility v3 (#465) 2021-10-18 20:42:24 -04:00
Dessalines
de4b407f71
Show original created time tooltip (#462)
* Updating translations.

* Show created and modified times on tippy. Fixes #438
2021-10-17 21:46:15 -04:00
Dessalines
9068a6415d
Fixing cross-posts showing on initial load. Fixes #457 (#464) 2021-10-17 21:44:39 -04:00
Dessalines
d664b03ab3
Show bot account info. Fixes #458 (#463) 2021-10-17 21:44:02 -04:00
Dessalines
107c46104e
Very weak (#461)
* Updating translations.

* Changing too_weak to very_weak for passwordmeter. Fixes #450
2021-10-17 21:43:45 -04:00
Dessalines
99c9a608d9
Simplifying getunreadcount. (#455) 2021-10-17 13:42:30 -04:00
Luna
73af3fd9ee
ui changes for marking comment as read on reply (#454)
* ui changes for marking comment as read on reply

* refactor
2021-10-12 13:01:49 -04:00
Luna
5de39ca39d
hide mod actions appropriately fix #441 (#447)
Thx!
2021-10-03 12:18:10 -04:00
Dessalines
0b3d7fbde4
Add honeypot for user and form creation. Fixes #433 (#435) 2021-10-01 10:19:47 -04:00
8a6a8981fc Adding bn, ml, and cs langs 2021-09-28 10:56:38 -04:00
Dessalines
06099fee8a
Reporting (#434)
* Updating translations.

* A first pass at reporting. Fixes #102
2021-09-28 10:38:59 +00:00
Dessalines
65be5c7833
Splitting login and signup pages. Fixes #386 (#431) 2021-09-19 16:31:17 -04:00
Dessalines
ca301277a2
Fixing image in newtab. Fixes #382 (#430) 2021-09-19 16:29:03 -04:00
Dessalines
6929b87dae
Navigate away from login page if already logged in. (#429)
- Fixes #370
2021-09-19 16:28:44 -04:00
Dessalines
0560e9dae9
Add username validation message. Fixes #387 (#428) 2021-09-19 15:33:05 -04:00
Dessalines
d66931e1c6
Password strength meter (#427)
* Updating translations.

* Updating translations.

* Add password strength meter. Fixes #388
2021-09-19 15:32:51 -04:00
Dessalines
bf93e29f4c
Adding JWT secure flag. (#426)
- Couldn't add samesite due to isomorphic library.
- Couldn't add httponly, because the js needs it for calls.
- Fixes #389
2021-09-18 17:59:28 -04:00
Dessalines
967b0dd964
Fix community display name overflow. Fixes #390 (#425) 2021-09-18 17:59:20 -04:00
Dessalines
9a26d4bbdf
Fix logout bug. Fixes #391 (#424) 2021-09-18 17:23:11 -04:00
Dessalines
8f132f67fa
Fix up post, profile and community forms. Fixes #409 (#423) 2021-09-18 16:40:59 -04:00
Dessalines
28b848ce2c
Adding markdown audio and video embeds. Fixes #420 (#421) 2021-09-18 15:44:39 -04:00
Dessalines
33bb8250cb
Remove active in the last (#419)
* Updating translations.

* Removing active_in_the_last for i18n.

- Fixes https://github.com/LemmyNet/lemmy-translations/issues/17
2021-09-18 13:06:12 -04:00
Dessalines
a2aac813cf
Si simplifier (#418)
* Updating translations.

* Use a number simplifier for counts. Fixes #407
2021-09-18 12:35:49 -04:00
Dessalines
4ec200ae6d
Fix profile paging. Fixes #416 (#417) 2021-09-18 10:30:03 -04:00
Dessalines
4b23b78efe
Use my fork of inferno-i18next. Fixes #413 (#415) 2021-09-18 10:27:49 -04:00
Dessalines
018c10c919
Don't show your own subscribed on other users profiles. (#405)
- Fixes #402
2021-09-06 11:03:18 -04:00
4137d47648 Fixing missing arabic. Fixes #404 2021-09-06 10:54:03 -04:00
890239972f Fixing lint, adding a few endpoints. 2021-09-06 10:25:48 -04:00
mahanstreamer
c1001f602a
Add robots.txt file 2021-09-05 18:34:40 -04:00
Dessalines
6091f07d20
Fix comment scrolling bug. Fixes #394 (#397) 2021-09-04 01:20:34 -04:00
Dessalines
a19c84c03e
Fix issue with new notification trying to do a fetch. (#398) 2021-09-04 01:20:25 -04:00
501a5fb1e7 Fix issue with new notification trying to do a fetch. 2021-09-04 01:10:00 -04:00
ad04657f81 Add pt lang. 2021-09-02 23:12:08 -04:00
Dessalines
0d3e8cac1d
Integrating resolve_user into search. (#377)
* Integrating resolve_user into search.

* Upgrading lemmy-js-client.
2021-08-23 16:18:11 -04:00
Dessalines
6a3bdaa85c
Add lazy loading of images. Fixes #329 (#379) 2021-08-23 16:16:05 -04:00
Dessalines
08aa1bb511
Adding vi, sk, mnc, and cy languages. (#378) 2021-08-21 16:11:28 -04:00
Dessalines
b27d982a7b
Feature/user community block (#362)
* Extracting user settings and profile page.

- Auto-collapsing dropdown and navbar on link clicks.
- Fixes #180

* Adding User and Community blocking. Fixes #295

- Added a new settings page.
- Switched to myUserInfo.
- Removing GetFollowedCommunities endpoint

* Fixing blocks
2021-08-19 22:56:18 -04:00
Dessalines
2356b0d62f
Swapping out iframely. (#374)
* Swapping out iframely.

* Renaming iframely-card to metadata-card
2021-08-19 11:24:13 -04:00
Dessalines
62e410c382
Adding mod transfer community (#373) 2021-08-18 19:07:54 -04:00
Dessalines
03a2b467ef
Remove content more (#372)
* Updating translations.

* Changing to remove content with tippy.

* Use title instead
2021-08-17 17:46:27 -04:00
5e5695c3ea Cleaning up scroll to comments 2021-08-11 21:06:54 -04:00
hammsvietro
3870703b12
Scroll to comments on post's x comments button (#312)
* scroll to comments on post's x comments button

* scrolls down to comments using url params
2021-08-11 21:00:26 -04:00
a4300d9624 Merge branch 'main' of https://github.com/LemmyNet/lemmy-ui 2021-07-31 15:41:57 -04:00
440d0f9156 Remove websocket connection messages. Fixes #355 2021-07-31 15:41:51 -04:00
e17a1da767 Center spinner, make smaller. Fixes #203 2021-07-31 15:41:21 -04:00
08d635c30e Fix font issues. Fixes #354 2021-07-31 15:40:22 -04:00
6994a3a691 Fix captcha replay issue. 2021-07-30 11:56:33 -04:00
782587b1a7 Fixing darkly danger color 2021-07-23 12:13:44 -04:00
Dessalines
1fd6bbc937
Have setting to disable notifs for new posts. Fixes #132 (#345) 2021-07-22 16:18:13 -04:00
e9896eb469 Revert "Update litely"
This reverts commit b7cffe8ac3.
2021-07-22 11:40:39 -04:00
Dessalines
199fc14daa
Remove max length constraints on actors. Fixes #350 (#351) 2021-07-22 11:39:33 -04:00
Dessalines
49d5810103
Fix captcha replay bug. Fixes #348 (#349) 2021-07-22 11:37:37 -04:00
Dessalines
cffdfab8eb
Removing community and user routes in favor of shortnames. Fixes #317 (#343) 2021-07-21 11:01:32 -04:00
Dessalines
79ce0e864a
Fix/front end helpers 1 (#346)
* Updating translations.

* Adding some descriptions to listing types. #341
2021-07-19 19:12:08 -04:00
055f7bb0db Don't use default subscribed for communities page. 2021-07-19 09:05:18 -04:00
Dessalines
5f8809c344
Adding Listing type to communities page, default local. #190 (#342) 2021-07-18 12:17:50 -04:00
48a6118173 Fix language bug on mobile browsers 2021-07-18 11:08:24 -04:00
Dessalines
3a593addfd
Collapse sidebar on mobile. Fixes #335 (#340) 2021-07-17 23:56:33 -04:00
Dessalines
eed07b66aa
Re-organized components folder. (#339)
* Fixing too many large spinners

* Re-organized components folder.

- Cleaned up spans. Fixes #173
- Fixes #320

* Fixing miscolored edit
2021-07-17 16:42:55 -04:00
Dessalines
2d8be72b33
Fixing too many large spinners (#337) 2021-07-17 16:21:31 -04:00
Dessalines
0774ea6372
Moving comment link to top bar. Fixes #307 (#336) 2021-07-17 12:59:00 -04:00
Dessalines
a0d9e5c672
Fix/ws error messages (#334)
* Updating translations.

* Translation updates

* Adding websocket error and reconnect toasts. Fixes #129
2021-07-17 11:38:28 -04:00
5f741b420a Make spinner bigger. Fixes #203 2021-07-17 00:24:12 -04:00
Dessalines
8902e15888
Merge pull request #330 from LemmyNet/update_darkly_colors_1
Update darkly, make danger darker. Fixes #16
2021-07-16 23:43:30 -04:00
74f1f07ab1 Fix preview description html. Fixes #110 2021-07-16 23:41:00 -04:00
b7cffe8ac3 Update litely 2021-07-16 21:44:17 -04:00
fae866e83b Update darkly, make danger darker. Fixes #16 2021-07-16 21:33:50 -04:00
0361b2c700 Always show previous paginator, extract paginator component.
- Fixes #304
2021-07-16 15:40:56 -04:00
Dessalines
0e25ced312
Merge pull request #322 from LemmyNet/fix/comment_collapse
Fix/comment collapse
2021-07-16 14:31:23 -04:00
Dessalines
535bdf36c2
Merge pull request #323 from LemmyNet/fix/page-refresh
Don't restore scroll position on page refresh. Fixes #186
2021-07-16 14:30:56 -04:00
Dessalines
b4bb672cc8
Merge pull request #321 from LemmyNet/fix/symbols_issue
Fix/symbols issue
2021-07-16 14:30:41 -04:00
Dessalines
98f88b8a26
Fix/multilang (#326)
* Adding a few missing langs.

* Remove unused extra language issue.

* Fix secondary languages. Fixes #265
2021-07-16 14:29:48 -04:00
Dessalines
8cf1efbcb7
Adding a few missing langs. (#325)
* Adding a few missing langs.

* Remove unused extra language issue.
2021-07-16 14:29:22 -04:00
0c45d61eeb Use better comment collapse icon, and add text. Fixes #318 2021-07-16 13:04:35 -04:00
1a4db014d7 Fix symbols issue. Fixes #319 2021-07-16 12:51:54 -04:00
35f1b18e67 Don't restore scroll position on page refresh. Fixes #186 2021-07-16 09:05:28 -04:00
hammsvietro
b5e87781ea
Insert triple backticks for 'code' button when multiple lines are selected. (#311)
* Insert triple backquotes for 'code' button when multiple lines are selected

* uses theme's purple var in multiline code md
2021-06-24 15:05:11 -04:00
4dd71588fa Change join.lemmy.ml to join-lemmy.org 2021-06-03 16:57:50 -04:00
Dessalines
15eb832606
Upgrading deps. (#294)
* Upgrading deps.

* Upgrading deps again
2021-06-03 12:05:59 -04:00
76dd9b1b77 Adding a comment here placeholder. Fixes #301 2021-06-03 11:24:45 -04:00
Dessalines
89f692ae6d
Merge pull request #292 from LemmyNet/bug/delete_acct_logout
Fixing delete acct logout bug.
2021-05-06 12:39:30 -04:00
277cd2ac37 Fixing delete acct logout bug. 2021-05-06 12:05:34 -04:00
fed9bddbb2 Fix non-local community and person links. Fixes #290 2021-05-05 10:57:41 -04:00
b0e456d754 Fix navbar bug. Fixes #289 2021-05-05 10:29:14 -04:00
Dessalines
3bdeacde9a
Merge pull request #288 from LemmyNet/hide_modlog_names
Hide names of mods / admins without priveleges. Fixes #285
2021-05-05 09:55:47 -04:00
Dessalines
9119b2d1da
Merge pull request #287 from LemmyNet/feature/url_search
Feature/url search
2021-05-05 09:55:34 -04:00
Dessalines
8456f692a6
Merge pull request #283 from LemmyNet/dupe_site_desc
Fix duped site description. Fixes #281
2021-05-05 09:55:24 -04:00
68cc228a96 Hide names of mods / admins without priveleges. Fixes #285 2021-05-04 18:17:15 -04:00
caeba89983 Adding URL search type. Fixes #286 2021-05-04 17:31:38 -04:00
e2a5a85c4e Add a link to joinlemmy on lemmy.ml signup. Fixes #235 2021-05-04 14:51:16 -04:00
f1f8757dd2 Fix duped site description. Fixes #281 2021-05-04 13:57:02 -04:00
15305f4b29 Fixing an issue with federated search names 2021-04-26 16:06:16 -04:00
a136d064ae Fix httpBase 2021-04-26 15:32:59 -04:00
091f998b5f Only show UI version if they are different 2021-04-26 10:54:41 -04:00
Dessalines
7f348fd074
Add UI version to UI via docker. Fixes #263 (#278)
* Add UI version to UI via docker. Fixes #263

* Adding git fetch tags to CI.
2021-04-26 09:57:41 -04:00
277b451ce0 Add show read posts option. Fixes #276 2021-04-24 18:19:48 -04:00
a93c7d93ee Adding only admins can create communities. Fixes #268 2021-04-23 23:55:51 -04:00
affae3d67f Adding bot acct settings. Fixes #242 2021-04-23 23:19:59 -04:00
d43f22ede5 Adding site desc. Fixes #266 2021-04-23 18:26:36 -04:00
Dessalines
55e53582aa
Adding listing_type to search. #143 (#264)
* Adding listing_type to search. #143

* Adding async community searching. Fixes #262

* Some search additions.

- Adding an async community picker.
- Adding community_id to search page.

* Adding creator search.

* Accidentally removed line.
2021-04-23 17:48:31 -04:00
Hermanto Lim
9e77148cb1 Change from using Link to NavLink. resolve #269 2021-04-24 02:13:21 +07:00
4114e4000b Add check for unused languages in update_translations.sh 2021-04-21 13:55:17 +02:00
6f1fb6b3bf Showing / hiding scores based on setting. Fixes #241 2021-04-09 12:23:30 -04:00
Dessalines
733e4a413b
Merge pull request #259 from LemmyNet/community_sort_top_monthly
Communities page sorts by monthly active users. Fixes #244
2021-04-09 09:17:22 -04:00
9305b24794 Validate matrix id on the front end. Fixes #245 2021-04-09 00:20:34 -04:00
1dfdb977ef Communities page sorts by monthly active users. Fixes #244 2021-04-08 22:28:39 -04:00
Dessalines
2cde42a48a
Merge pull request #258 from LemmyNet/change_password
Moved ChangePassword to its own action.
2021-04-08 22:12:35 -04:00
7ebb96e608 Moved ChangePassword to its own action.
- Fixes #246
- Changing preferred to display_name. Fixes #243
- Fixing a drone issue
2021-04-08 21:59:34 -04:00
005631b038 Fix html notif bug. Fixes #254 2021-04-08 20:53:39 -04:00
2c80cea36f Fixing unban. Fixes #248 2021-04-07 13:01:58 -04:00
Dessalines
f9a2f7899f
Merge pull request #252 from LemmyNet/fetch_url_title
Fixing issue with debounce. Fixes #236
2021-04-07 12:53:30 -04:00
Dessalines
f4f836cabd
Merge pull request #250 from LemmyNet/fix_user_page
Fix user page
2021-04-07 12:53:00 -04:00
af44b62107 Fixing issue with debounce. Fixes #236 2021-04-07 12:46:12 -04:00
756a811b1d Fixing user page, issue with matrix button. Fixes #239 2021-04-07 12:02:11 -04:00
65606dd413 Adding back in logging 2021-04-07 11:54:38 -04:00
e74db79c0f Fix instances page. Fixes #237 2021-04-07 11:35:24 -04:00
5def7e6bc8 Adding bulgarian language. 2021-04-02 10:14:33 -04:00
6cec37322a Using LEMMY_UI_HOST 2021-03-29 21:46:42 -04:00
e152b353d7 Fixing lemmy-ui default port. 2021-03-29 21:17:19 -04:00
9d8123eb7d Updating to use api v3 lemmy-js-client. 2021-03-29 13:20:22 -04:00
Stefan Midjich
1f9a721a67
Set listen host and port with environment variables (#229)
* take host and port from environment

* force Number for lint to pass
2021-03-29 11:35:32 -04:00
bc39e44af8 Fix loading indicator. Fixes #188 2021-03-25 13:36:09 -04:00
5ca2c8a7cf Remove extra cross-post lines 2021-03-25 13:30:25 -04:00
d8346d9e95 Adding cross-post quote and link. Fixes #189 2021-03-25 13:28:47 -04:00
1a1a522d9e Merge branch 'split_user_table' 2021-03-25 13:08:49 -04:00
a4fddd6d7f Adding expandable post texts by clicking on book. Fixes #225 2021-03-25 12:44:16 -04:00
e362b30130 Adding more footer margin. Fixes #204 2021-03-25 12:29:20 -04:00
34450857ee Adding not allowed to password reset. Fixes #205 2021-03-25 12:17:42 -04:00
f2e9617038 Adding autocomplete for login fields. Fixes #206 2021-03-25 12:09:08 -04:00
1c5b86353d Fix import. 2021-03-25 12:04:05 -04:00
159e3a0035 Fixing custom favicons. Fixes #220 2021-03-25 11:58:29 -04:00
ffc218f268 Merge branch 'remote-mods' 2021-03-25 11:47:43 -04:00
fea6227258 Remove creator local check from modding on comment-node 2021-03-25 11:47:31 -04:00
f4f7a24b3c Merge branch 'main' into add_password_length 2021-03-25 11:43:32 -04:00
97219bd73b Fix restore scroll position. Fixes #227 2021-03-25 11:38:37 -04:00
c23e494dd4 Fix type names. Fixes #219 2021-03-25 11:30:45 -04:00
b830c0f60e Some fixes.
- Use ISO-630 library for native language names
- Add sr-only to svg tooltips. Fixes #218
- Change support link and icon.
2021-03-25 11:20:54 -04:00
a2d0aa8824 Fixing saved_only 2021-03-23 18:58:13 -04:00
62a6e82e9b New fixes. 2021-03-23 18:40:49 -04:00
c7db597e3f Allow adding and removing remote mods 2021-03-22 14:18:46 +01:00
4568e5a5ab Updating claims. 2021-03-19 10:22:47 -04:00
45445fe0a3 Fixing an issue with incorrect jwts 2021-03-15 16:54:17 -04:00
440fda9d51 user_ -> person table migration. 2021-03-15 14:09:31 -04:00
b778ca8e22 Fixing an issue with remove categories 2021-03-03 22:42:11 -05:00
e02075d52d Remove categories 2021-03-03 17:59:57 +01:00
345e992d0f Merge branch 'feature/i18n-type-constraint' of https://github.com/shilangyu/lemmy-ui into shilangyu-feature/i18n-type-constraint 2021-03-01 16:24:17 -05:00
5248c9e58c Fixing private message disclaimer. 2021-03-01 16:23:25 -05:00
aea005b4cc Adding thai language. 2021-03-01 16:20:08 -05:00
shilangyu
1939664d73 Add I18nKeys type to errCode 2021-03-01 21:44:02 +01:00
shilangyu
66cc9416e4 Improve type safety 2021-03-01 21:33:57 +01:00
7ada591f2e Adding more max password lengths. Fixes #211 2021-03-01 12:38:03 -05:00
Marek Ľach
658aee2e53
Improve rendering in older browsers
...like SailfishOS.
2021-02-23 21:36:53 +00:00
2e2b18c717 Merge branch 'main' of https://github.com/LemmyNet/lemmy-ui 2021-02-23 09:59:03 -05:00
e33102bca3 Change subscribers to users. Fixes #195 2021-02-23 09:58:31 -05:00
994bdbb74e Merge branch 'run_prettier_1' into markup_bug 2021-02-21 21:39:49 -05:00
e3a337fb23 Running newer prettier. 2021-02-21 21:39:04 -05:00
12e27b4c64 Fixing markup not throwing onContentChange. Fixes #182 2021-02-21 21:30:11 -05:00
Dessalines
ee77f700b3
Extra lints (#192)
* Updating deps, fixing lints.

* Downgrading broken husky.

* Trying to upgrade husky to v5

* Trying a bad lint.

* Trying a bad lint 2.

* Trying a bad lint 3.

* Adding prettier.
2021-02-21 21:24:09 -05:00
55e0eb52ce Using utf-8 emojis. Fixes #184 2021-02-21 16:22:53 -05:00
Dessalines
f764a79cd8
Adding new comment sort. (#175)
* Adding new comment sort.

* Updating translations.
2021-02-18 10:57:00 -05:00
Dessalines
2fe02bec7c
Removing targets (#179) 2021-02-12 12:55:07 -05:00
Mischa Spiegelmock
99c7966200
Make WS host configurable (#167)
* Make WS host configurable

* indent

* Type fixes

* Type lemmyConfig

* typo

* Move lemmy config to interfaces.ts
2021-02-12 12:54:35 -05:00
58bbb51f8f Merge branch 'main' into more_accessibility 2021-02-11 15:43:06 -05:00
Dessalines
9e8d0b525a
Merge pull request #178 from LemmyNet/icon_component
Adding an icon component. Fixes #172
2021-02-11 15:40:39 -05:00
2a85b93c58 Adding an icon component. Fixes #172 2021-02-11 15:35:27 -05:00
5c66424516 Always show password reset link. Fixes #176 2021-02-11 13:52:26 -05:00
2cbdcba47b Fixing lint 2021-02-09 12:01:36 -05:00
ae18b91292 Adding accessibility tests script. 2021-02-09 11:54:41 -05:00
2c507a474d Adding more aria labels based on tota11y recs. #170 2021-02-09 11:21:24 -05:00
4b43cdf143 Fixing broken federated community paging. Fixes #166 2021-02-08 15:14:34 -05:00
66fd6b8ffb Adding post title expanding on copy. Fixes #168 2021-02-08 11:36:16 -05:00
b24eba6fea Comments and posts no longer live-sorted. Fixes #51
- Only changing the view or sort, or reloading the page will resort.
- New comments by default added to the top, and left unsorted.
2021-02-07 23:23:31 -05:00
Mitch Lillie
04955cc45e
Add aria attributes where possible (#156)
* Add aria attributes where possible

* Bump submodule to get aria translations
2021-02-06 15:20:41 -05:00
ef19b9f6b8 Adding croatian. 2021-02-05 13:13:39 -05:00
2c0d0fb361 Trying to fix form bug. Fixes #165 2021-02-04 21:38:09 -05:00
aade5e3c7f Updating docs locations. 2021-02-04 15:50:07 -05:00
2b0f4929af Reworking combined inbox. Fixes #161 2021-02-02 15:24:25 -05:00
Dessalines
192ec14441
Adding simple scroll position restore. Fixes #18 (#162)
* Adding simple scroll position restore. Fixes #18

* Removing isBrowser check from community.tsx.
2021-02-02 13:36:59 -05:00
a28a8d059e Ignore updated for user page. Fixes #139 2021-02-02 12:26:08 -05:00
f9eeabb2f9 Fixing uri protected params getting clipped from cross posts. Fixes #141 2021-02-02 12:18:18 -05:00
6a75db6887 Adding tippy to active users badges. Fixes #150 2021-02-02 12:12:16 -05:00
398cdf682c Add preventDefaults to stop form submits on likes. Fixes #153 2021-02-02 11:52:44 -05:00
7d8f1a1ced Fix url link selection placement. Fixes #155 2021-02-02 11:45:38 -05:00
Dessalines
27fd4a4626
Add most commented (#159)
* Adding MostComments sort.

* Updating translations.
2021-02-01 13:48:42 -05:00
fc3524d9ca Fixing showLocal. 2021-02-01 13:26:24 -05:00
b4ed4e5ec5 Updating federated instances page. 2021-02-01 13:08:45 -05:00
Dessalines
e78862a8ae
Adding some active users aggregate fields. (#148)
* Adding some active users aggregate fields.

* Adding active users / month to communities page.
2021-01-29 10:10:37 -05:00
cab454dd89 Fixing post title height. Fixes #147 2021-01-27 10:29:01 -05:00
9d94cc9094 Adding maxLength to verify_password field. Fixes #145 2021-01-26 18:21:32 -05:00
ac3b9e68f3 Fixing mod ban removeData default. 2021-01-26 12:21:10 -05:00
3ac41faabd Make sure trending is local only. Fixes #142 2021-01-26 10:59:38 -05:00
d91587957f Fixing service worker lint. 2021-01-24 13:59:50 -05:00
b754a50dff Trying to fix manifest csp. 2021-01-24 13:52:52 -05:00
a4e207bde7 Only push notifs if on first page, and right local context. Fixes #131 2021-01-24 00:56:00 -05:00
829b617b17 Fixing switch user navbar info remnant. Fixes #128 2021-01-23 23:41:04 -05:00
0949244d6c Try standalone. Fixes #138 2021-01-23 20:44:11 -05:00
baee514303 Show cross-posts for isomorphic loading. Fixes #113 2021-01-23 20:41:23 -05:00
9dcc998878 Fixing markdown spaces. Fixes #101 Fixes #126 2021-01-23 20:28:37 -05:00
bf52dec0a1 Dont replace edited comment if text selected. Fixes #125 2021-01-23 18:48:20 -05:00
8c3c27002b Fixing views for remote users. Fixes #120 2021-01-23 18:23:09 -05:00
94e36ad757 Add search field to communities page. Fixes #118 2021-01-23 18:07:02 -05:00
c5bc46d350 Adding a few markdown header sizes. Fixes #99 2021-01-23 17:32:04 -05:00
de8ac823b3 Fix search page community titles. 2021-01-23 17:26:51 -05:00
f2999df300 Use display titles for community links. Fixes #98 2021-01-23 17:23:49 -05:00
b8c3c2bcd4 Using fully qualified actor_ids for name and community tributes. Fixes #93 2021-01-23 17:07:46 -05:00
2be380ef76 Adding tippy to new comments. Fixes #92 2021-01-23 16:40:24 -05:00
f008af8497 Fixing top_time translations. 2021-01-22 12:19:12 -05:00
23179d8951 Fix issue with site view for initial site setup. 2021-01-19 10:34:04 -05:00
6a3329f9a2 Updating v2 API based on nutomics recommends. 2021-01-18 17:42:41 -05:00
a2b0f6ec04 Adding occitan. 2021-01-15 16:57:45 -05:00
bb4a18510c Fixing docs location 2021-01-15 12:42:39 -05:00
aeff5d2190 Adding live comment count. 2021-01-15 12:42:05 -05:00
9c57e6b33e Fixing comment issue. 2021-01-13 12:06:56 -05:00
73ca6ac0a5 Fixing community link wrapping. Fixes #96 2021-01-08 00:03:02 -05:00
c14ec3beb7 Fixing websockets. 2021-01-07 13:55:09 -05:00
57a7de64c0 Fix mark as read. 2021-01-06 16:07:13 -05:00
524711e05e Add proper docs url. 2021-01-06 16:06:42 -05:00
9e5c955a2f Fix user mentions read. 2021-01-06 16:05:42 -05:00
325285951c A few fixes. 2020-12-25 22:28:05 -05:00
368d4199a5 Actually sending ws requests, some other fixes. 2020-12-24 17:05:57 -05:00
ea317af269 First pass at v2_api 2020-12-23 20:58:27 -05:00
6ffe0c530d Simplifying html tags code. 2020-12-15 18:34:14 -06:00
222c9cee1d Converting html tags description field from md to html. Fixes #110 2020-12-15 18:21:08 -06:00
edcaf00486 Redirect inbox to login. Fixes #105 2020-12-15 18:43:35 -05:00
Adam Clark
5143300598 Fix guide URL, fixes link breakages in moved docs. This should resolve Issue 108. 2020-12-15 11:16:33 -08:00
99796c99ca Adding danish, not yet translated. 2020-12-09 10:15:53 -05:00
3278576927 Trying to fix site loading errors. #104 2020-12-05 20:26:01 -06:00
1b8fe6f6e6 Fixing max image size. 2020-12-03 08:28:13 -06:00
9853369a08 Fix safari websocket bug. 2020-12-03 07:59:59 -06:00
fa4a6bd389 fixing loading on community page. Fixes #91 2020-12-02 09:13:01 -06:00
c772da06fe Fixing CSP 2020-12-02 08:40:51 -06:00
ee64d03ba7 Fixing side scrolling community links. Fixes #89 2020-12-01 13:12:08 -06:00
ab5d893c75 Adding a proper navbar toggler icon. Fixes #90 2020-12-01 12:49:41 -06:00
fc2044580d Remove inline javascript. Fixes #83 2020-12-01 12:37:15 -06:00