Commit graph

1723 commits

Author SHA1 Message Date
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
SleeplessOne1917 ad6db69dda
Merge pull request #1698 from LemmyNet/fix_datetime_2
Removing unecessary timezone adjusting
2023-06-29 09:42:57 -04:00
SleeplessOne1917 6bf159261a
Merge branch 'main' into fix_datetime_2 2023-06-29 09:36:24 -04:00
Alec Armbruster 73be96880a
fix issue with thumbnails (#1695) 2023-06-29 09:34:47 -04:00
Alec Armbruster dc439b8dee
Merge branch 'main' into fix_datetime_2 2023-06-29 09:32:03 -04:00
Dessalines ec649d1911
Fixing site setup. Fixes #1694 (#1697) 2023-06-29 09:04:09 -04:00
Dessalines eee1f443a8 Removing unecessary timezone adjusting 2023-06-29 08:59:54 -04:00
SleeplessOne1917 67365d5878
Merge pull request #1685 from Raicuparta/community-search
Communities page: make search type default to "Communities'
2023-06-29 07:55:05 -04:00
Alec Armbruster d9d4a3195f
Merge branch 'main' into community-search 2023-06-29 07:31:50 -04:00
SleeplessOne1917 005135d4f2
Allow audio captcha through CSP (#1690)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-29 07:20:45 -04:00
Raicuparta 75c2e803c9 fix formatting 2023-06-29 13:12:30 +02:00
SleeplessOne1917 500003f310
Merge branch 'main' into community-search 2023-06-29 06:07:44 -04:00
Dessalines 6b1ea447e5
Fixing lints. (#1686) 2023-06-29 01:24:52 -04:00
Dessalines 083e468df5 v0.18.1-rc.3 2023-06-29 01:11:05 -04:00
Raicuparta 6305f593d0
Merge branch 'main' into community-search 2023-06-29 04:22:07 +01:00
Raicuparta 92f6fe914f
Search only communities by default when coming from communities page 2023-06-29 04:12:16 +01:00
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