Commit graph

1707 commits

Author SHA1 Message Date
Robert C. Maehl 9a04d0c58e
Add Security.txt (#1408)
* Create security-handler.ts

https://securitytxt.org/

* Add SecurityHandler

* Update security-handler.ts

* Update index.tsx

* Ensure external domain.tld is used

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-28 23:10:13 -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
Sander Saarend bca438b2c6
Add error toast for 413 content too large response on image uploads (#1675)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-28 22:53:15 -04:00
Sander Saarend 0764b75dc2
Add publicPath for static js (#1672)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-28 22:45:44 -04:00
Scott a077924f38
Fix search page to stop couldnt_find_object error (#1669)
* Add silent client and use it for resolve object

* more changes

* Fix more issues

* make double equals a triple equals
2023-06-28 22:44:47 -04:00
Alec Armbruster 38a109ba92
Add fixed width/height to PostListing thumbnail parent (#1660)
* add static width/height for post listing thumbnails

* Update src/shared/components/post/post-listing.tsx

Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>

* make hopefully final tweaks

* remove .overflow-hidden

---------

Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-28 22:44:10 -04:00
Jay Sitter a30c112048
fix: Add user action buttons to post dropdown #1653 (#1655)
* fix: Add user action buttons to post dropdown #1653

* fix: Fix alignment of preview mini-overlay buttons on thumbs

* fix: Restore mdNoImages import

* fix: Change style and capitalization of post user action buttons

* fix: Move Trasnfer Community button to dropdown

* fix: Remove some changes that shouldn't have been in here

* chore: Empty commit to re-trigger Woodpecker

* fix: Remove some unnecessary aria-labels

* fix: Capitalize first letter on transfer community button

* chore: Empty commit to re-trigger Woodpecker

---------

Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-28 22:43:44 -04:00
Dessalines 4674f6ff57 v0.18.1-rc.2 2023-06-28 17:00:43 -04:00
Dessalines 504e4fb4da
Adding nightly docker build. (#1678) 2023-06-28 16:55:04 -04:00
SleeplessOne1917 ef66dfa6fd
Return appropriate error codes (#1665)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-28 16:44:26 -04:00
SleeplessOne1917 5c16be767c
Add i386 theme (#1662)
* Add i386 theme

* Make searchable selects display properly

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-28 16:43:33 -04:00
Nutomic 32063a5794
Set cache-control headers to reduce server load (fixes #412) (#1641)
* Set cache-control headers to reduce server load (fixes #412)

* add missing file

* remove old middleware folder

* use let

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-28 16:32:07 -04:00
SleeplessOne1917 0e9faf75da
Merge pull request #1670 from LemmyNet/bugfix/fix-subscribe-button-layout
Make community sidebar "Subscribe"/"Joined"/"Pending" button consistent
2023-06-28 13:51:36 -04:00
Alec Armbruster 068e6eb4a2
Merge branch 'main' into bugfix/fix-subscribe-button-layout 2023-06-28 11:43:40 -04:00
SleeplessOne1917 d5c45aa9de
Merge pull request #1610 from LemmyNet/feat/pureblack-theme
Add `darkly-pureblack` theme
2023-06-28 11:17:28 -04:00
Alec Armbruster 2f3aa5a26d
formatting 2023-06-28 11:09:52 -04:00
Alec Armbruster a8339c38c7
make subscribe/unsub/pending button consistent 2023-06-28 11:06:55 -04:00
Alec Armbruster 3c11b61961
Merge branch 'main' into feat/pureblack-theme 2023-06-28 10:52:24 -04:00
Jay Sitter 98fc8af062
Merge pull request #1667 from jsit/fix/revert-lang-auto-select
Revert #1463, markdown default lang select
2023-06-28 09:35:26 -04:00
Jay Sitter 7be10eb35b Revert #1463, markdown default lang select 2023-06-28 08:44:39 -04:00
Alec Armbruster 0ef2e8969c
Merge branch 'main' into feat/pureblack-theme 2023-06-28 00:12:10 -04:00
Jay Sitter 314aa796c0
Merge pull request #1661 from LemmyNet/subscribe-fix
Fix subscribe and block community buttons not showing up on first load
2023-06-27 19:50:47 -04:00
SleeplessOne1917 cf26c3d8e9
Merge branch 'main' into subscribe-fix 2023-06-27 19:28:52 -04:00
Alec Armbruster 874ae62fba
remove hard-coded text foreground color classes (#1658)
Signed-off-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
2023-06-27 19:08:01 -04:00
SleeplessOne1917 e7c121aff9 Fix subscribe and block community buttons not showing up on first load 2023-06-27 19:01:47 -04:00
SleeplessOne1917 1c759cc83b
Merge pull request #1630 from jsit/fix/thumb-action-button-alignment
fix: Fix alignment of preview mini-overlay buttons on thumbs
2023-06-27 17:18:56 -04:00
Alec Armbruster 68b3940a9b
Merge branch 'main' into fix/thumb-action-button-alignment 2023-06-27 17:16:26 -04:00
SleeplessOne1917 f4e30daf79
Merge pull request #1656 from LemmyNet/refactor/move-role-pill-to-util
Move `getRoleLabelPill` to `@utils/app`
2023-06-27 16:42:42 -04:00
Alec Armbruster 8f1b0ad559
refactor 2023-06-27 15:49:14 -04:00
SleeplessOne1917 51a80a8255
Merge pull request #1623 from LemmyNet/bugfix/make-post-creator-badge-stand-out-more
Distinguish "Creator" badge on comments
2023-06-27 15:10:43 -04:00
Alec Armbruster 4e161f5f91
refactor again 2023-06-27 15:00:35 -04:00
Alec Armbruster 4944f19143
change me-2 to me-1, no need for me-2 width 2023-06-27 14:39:30 -04:00
Alec Armbruster f333710077
make mod shrunken label text-primary 2023-06-27 14:36:19 -04:00
Alec Armbruster 0b7e2b7e4d
oops 2023-06-27 14:31:53 -04:00
Alec Armbruster 086052a69a
refactor x2 2023-06-27 14:29:44 -04:00
Alec Armbruster 6d65abc3ee
refactor 2023-06-27 14:10:05 -04:00
Alec Armbruster e9f3701d8d
Merge branch 'main' of https://github.com/LemmyNet/lemmy-ui into bugfix/make-post-creator-badge-stand-out-more 2023-06-27 13:49:34 -04:00
SleeplessOne1917 06b0151621
Merge pull request #1651 from LemmyNet/chore/use-classnames-instead
Use `classNames` in #1650
2023-06-27 13:48:50 -04:00
Alec Armbruster 746b52f378
add @jsit advice 2023-06-27 13:41:31 -04:00
SleeplessOne1917 0c37502318
Merge pull request #1650 from LemmyNet/bugfix/fix-markdown-textarea-disabled-button-borders
Fix borders on `MarkdownTextarea` buttons when disabled
2023-06-27 13:22:57 -04:00
Alec Armbruster 9cf3c33823
fix weird borders when markdown textarea is disabled 2023-06-27 12:59:06 -04:00
Alec Armbruster c020debf6d
use span 2023-06-27 11:44:17 -04:00
Jay Sitter 1e4e468e5a
Merge branch 'main' into fix/thumb-action-button-alignment 2023-06-27 11:42:31 -04:00
Alec Armbruster 9e1eb5fe19
always show badge on mobile 2023-06-27 11:42:00 -04:00
Alec Armbruster 06736c3df1
Merge branch 'main' of https://github.com/LemmyNet/lemmy-ui into bugfix/make-post-creator-badge-stand-out-more 2023-06-27 11:41:15 -04:00
Alec Armbruster 93e015393c
Merge branch 'main' into feat/pureblack-theme 2023-06-27 11:31:07 -04:00
Alec Armbruster 63337848ed
fix a few colors 2023-06-27 11:30:32 -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
Jay Sitter ef3924507b
Merge pull request #1596 from jsit/feat/toggle-body-1595
feat(UI): Always put post body behind toggle on post listings
2023-06-27 09:13:20 -04:00
Jay Sitter 3cf84f5693
Merge branch 'main' into feat/toggle-body-1595 2023-06-27 09:11:01 -04:00