Commit graph

1741 commits

Author SHA1 Message Date
Alec Armbruster 0bcb2d77be
wip 2023-06-30 10:04:19 -04:00
Alec Armbruster 7743fa98b9
wip 2023-06-30 10:04:01 -04:00
Alec Armbruster c804cf958a
Merge branch 'main' of https://github.com/LemmyNet/lemmy-ui into fix-cache-auth 2023-06-30 09:52:15 -04:00
Diamond a7592d74bb
Enforce SameSite=Strict (#1713) 2023-06-30 09:51:41 -04:00
Alec Armbruster 1b7a9dcb8b
fix service worker path 2023-06-30 09:50:19 -04:00
Alec Armbruster da45ffb46b
fix cache auth method 2023-06-30 09:42:09 -04:00
SleeplessOne1917 b6415f828e
Merge pull request #1711 from LemmyNet/cache-dev
Fix some issues
2023-06-29 19:26:40 -04:00
SleeplessOne1917 cc184a86c8 Fix authorized route false flag 2023-06-29 18:12:22 -04:00
SleeplessOne1917 2d88e42cab Fix dev caching issue 2023-06-29 16:33:08 -04:00
Dessalines 9e7fec772d v0.18.1-rc.5 2023-06-29 16:20:38 -04:00
SleeplessOne1917 df39e0fe5d
Merge pull request #1708 from LemmyNet/cache-control
Cache static data for a day
2023-06-29 14:19:07 -04:00
SleeplessOne1917 fa41117320
Merge branch 'main' into cache-control 2023-06-29 13:35:44 -04:00
Alec Armbruster d8ee0ec78a
change max-age to 5 for non-authed responses 2023-06-29 13:33:30 -04:00
Alec Armbruster fead020bdc
Fix PostListing mobile margin layout issue (#1706) 2023-06-29 17:28:55 +00:00
SleeplessOne1917 339cefa2b0 Cache static data for a day 2023-06-29 13:14:48 -04:00
Dessalines 08370d4c4e Try increasing node memory. 2023-06-29 11:12:12 -04:00
Dessalines b73cb808e4 v0.18.1-rc.4 2023-06-29 10:40:19 -04:00
Alec Armbruster 80d9aac1ca
Fix taglines on Home (#1701)
* fix taglines on home

* fix error on admin panel
2023-06-29 10:38:35 -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
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