Commit graph

48 commits

Author SHA1 Message Date
biosfood
8e2609a96d
Add moderator view button (#1993)
* update lemmy-js-client version

* add moderator view to moderator view select

* fix some linting problems introduced in recent lemmy-js-client changes

* remove form id from mardown-textarea submit

* add default delete_content as false

* manually check if a user is an admin

* update lemmy-js-client to 0.19.0-rc.7
2023-09-06 08:43:19 -04:00
Anon
f27cbb3224
Temp fix to modlog failing to render future dates (#2058) 2023-08-12 22:46:26 -04:00
Dessalines
ff62915ddf
Fix comment insertion from context views. Fixes #2030 (#2031) 2023-08-07 12:53:21 -04:00
SomeoneStoleMyNickname
2531d05191
Expanded the RegEx to check if the title contains new line caracters. Should fix issue #1962 (#1965)
* Expanded the RegEx to check if the title contains new line caracters.
Should fix the issue #1962.
Also added Comments for clarity.

* ran yarn and changed according to recommendations
2023-08-04 10:44:03 -04:00
Dessalines
9f2289d466
Upgrading deps, running prettier. (#1987) 2023-07-28 16:15:42 -04:00
SleeplessOne1917
dd42bc2a3d
ES-Lint tweak (#2001) 2023-07-28 16:07:16 -04:00
Hamzah Mansour
908b7c5bb1
Use proper modifier key in markdown text input on macOS (#1995)
* add os detect util, use meta key on macos

* pr feedback
2023-07-28 15:25:02 -04:00
c-andy-candies
214eae5be5
Reopen PR 1420 Feature add three six and nine months options frontend (#1689)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-07 13:37:50 -04:00
SleeplessOne1917
322a44bf24
Fix data-bs-theme (#1810)
* Fix data-bs-theme

* Add other dark themes

* Add vaporwave-dark to dark theme list
2023-07-04 16:53:28 -04:00
Alec Armbruster
7eddc52c13
Attempt to fix inability to logout from some instances (subdomains) (#1809)
* slight refactor, tweak params

* fix paths

* remove domain

* remove expires

* Use maxAge instead of expires

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-07-04 12:52:14 -04:00
Security-Chief-Odo
ba9389c15e
Updated the regex for isAuthPath to reduce false positive hits (#1806)
* OUpdated the regex for isAuthPath to reduce false positive hits as described in issue #1704

* Updated the regex for isAuthPath to reduce false positive hits - Re-ran Linting
2023-07-04 11:13:04 -04:00
Jay Sitter
b1292b958a
fix: Add data-bs-theme attribute for user dark/light modes (#1782)
* fix: Add data-bs-theme attribute for user dark/light modes

* fix: Remove unnecessary optional chain

* fix: Oops -- add missing files
2023-07-03 20:02:24 -04:00
Jay Sitter
6cb49967c2 fix: Move getRoleLabelPill to the only component that uses it 2023-07-02 19:47:12 -04:00
Jay Sitter
50b1a395f1
Merge branch 'main' into fix/fix-badges-spacing-componentize 2023-07-02 18:59:15 -04:00
Jay Sitter
9869b911cf fix: Fix badge alignment and break out into component 2023-07-02 18:48:35 -04:00
SleeplessOne1917
02adbea61f Move export to barrel file 2023-07-02 18:14:13 -04:00
SleeplessOne1917
31789495a2 Prevent JWT token from showing up on error page 2023-07-02 15:45:45 -04:00
sunaurus
515f5f5af3
Add fallback date-fns locale import 2023-07-01 18:57:19 +03:00
sunaurus
ed1f208e47
Fix date-fns locale import failing for some locales 2023-06-30 19:59:44 +03:00
SleeplessOne1917
cc184a86c8 Fix authorized route false flag 2023-06-29 18:12:22 -04:00
SleeplessOne1917
751495702c
Use git hash to break cache (#1684)
* Use git hash to break cache

* Address PR feedback

* Make hash docker agnostic

* Add trailing slash

* Update .prettierignore

Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>

* Remove debugging log

* implement getStaticDir util

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
2023-06-29 10:29:33 -04:00
Dessalines
a2716d5f48
Fixing timezone issue with date-fns. Fixes #1680 (#1681)
Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
2023-06-28 23:09:25 -04:00
Jay Sitter
7be10eb35b Revert #1463, markdown default lang select 2023-06-28 08:44:39 -04:00
Alec Armbruster
8f1b0ad559
refactor 2023-06-27 15:49:14 -04:00
Jay Sitter
8184e33c9f fix: Fix up some interface language logic and design 2023-06-24 00:44:01 -04: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
Jay Sitter
0c87ee9dab
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-23 15:37:54 -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
SleeplessOne1917
d0dff77377 Replace momentjs with date-fns 2023-06-22 19:33:02 -04:00
Jay Sitter
5648843f4e
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-22 17:34:20 -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
7fc35ff699
Merge branch 'main' into main 2023-06-22 15:36:05 +01:00
Alec Armbruster
fc40b473d7
move env utils into folder 2023-06-22 09:02:48 -04:00
Jay Sitter
f0375889d3 feat: Default language dropdowns to user's primary language 2023-06-22 00:54:07 -04:00
Ivo Barros
aa36fe6e5e
Merge branch 'main' into main 2023-06-22 04:23:35 +01:00
Ivo Barros
0beb2a4341 Merge remote-tracking branch 'upstream/main' into main 2023-06-22 02:17:22 +01:00
SleeplessOne1917
eae0990442 Fix I18 next circular reference 2023-06-21 20:54:35 -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
Alec Armbruster
e4f9c31cfa
make suggested changes 2023-06-20 10:17:16 -04:00
Alec Armbruster
f53d5db007
export default everything, will fix type errors next 2023-06-19 21:12:42 -04:00
Alec Armbruster
571b1faf70
remove comments 2023-06-17 08:46:19 -04:00
Alec Armbruster
6c6ddd5b51
reset, merge issues 2023-06-16 18:56:23 -04:00
Alec Armbruster
976ed12d07
break out browser and helper methods 2023-06-16 17:25:53 -04:00
Alec Armbruster
0854af3794
break out all role utils 2023-06-16 17:07:55 -04:00