Commit graph

17 commits

Author SHA1 Message Date
SleeplessOne1917 6cb4220201 Allow Arabic and Cyrillic characters when signing up or creating community (#2780)
* Allow Arabic and Cyrillic characters when signing up or creating community

* Fix mistake with escape

* Another escape mistake
2024-10-31 19:39:04 -04:00
Dessalines 8d5e7de18e
Add torrent help (#2650)
* Updating translations.

* Adding a link to view all a user's moderation history from an item.

- Also making moderation history strings more detailed.

* Fix.

* Adding admin view moderation history to profile page.

* Adding a torrent help message.

* Updating translations.

* Updating translations.
2024-08-03 16:11:31 -04:00
Dessalines 72a3a3dbb9
Remove trending communities card from home. (#2639)
* Remove trending communities card from home.

- This proved after time to be pointless. I thought about keeping the
  create and explore communities buttons, but these are already in the
  navbar, and so just take up more pointless space.
- Fixes #2027
- Fixes #2007

* Forgot to remove trending loading skeleton.
2024-07-29 15:10:21 +00:00
SleeplessOne1917 643c1f6f01
Make confirm popup for adult consent (#2419)
* Make confirm popup for adult consent

* Fix import

* Fix blur and adjust user settings

* Make confirmation popup more stylish

* Add setting to site settings form

* Fix modal bug

* Put adult consent logic all in one place

* Make modal use markdown

* Fix consent modal showing up for currently logged in admin

* Add go-back redirect countdown

* Center modal title

* Handle enable_nsfw correctly

* Blur background of modal to hide spicy things

* Add translations
2024-04-18 19:54:16 -04:00
SleeplessOne1917 72b3d6b828
Fix links to users and communities not including query in hyperlink (#2368)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-02-16 17:59:26 -05:00
Dessalines 5ba9da1545
Make a separate post markdown field character limit. (#2331)
Context: https://github.com/LemmyNet/lemmy/issues/3262
2024-01-19 00:54:27 +00:00
Dessalines f245d2b517
Changing auth cookie name back to jwt. (#2269) 2023-12-05 12:56:29 -05:00
Dessalines 7222632389
Trying another SSR fix. #2243 (#2251) 2023-11-29 09:44:31 -05:00
Jarosław d98009c7d5
Disable "Next" button in Paginator when the next page is empty (#2114)
* Store communityLimit as a constant in the config

* Block Next button on communities list if the next page is empty

* Use this.props instead of undefined props, compare number to the length of the array, not the array itself

* Set nextDisabled prop for Paginator in registration-applications component

* Set nextDisabled prop in Paginator required

* Ignore nextDisabled prop in Paginator component used in person/inbox.tsx and modlog.tsx

* Set nextDisabled to true if community is not yet loaded or no more pages are expected

* Set nextDisabled to false for Paginator in emojis-form.tsx

* Fix swapped bool logic in community.tsx

* Set nextDisabled for Paginator in home.tsx

* Set nextDisabled for Comments and Posts in person-details.tsx

* Set nextDisabled for reports.tsx

* Set nextDisabled for search.tsx

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-09-07 09:33:43 -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
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
Sander Saarend 934cabcec4
Reduce fetchLimit (40 -> 20) (#1638)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-27 10:52:01 -04:00
Zetaphor 773eef5126 Remove pipe from community link regex 2023-06-22 15:43:01 -03:00
Zetaphor 73147ae37c Use shorter regex in community link parser 2023-06-22 15:33:45 -03:00
Zetaphor fc0c063426 Move regex pattern to config 2023-06-22 15:17:34 -03:00
Alec Armbruster fc40b473d7
move env utils into folder 2023-06-22 09:02:48 -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