Commit graph

1505 commits

Author SHA1 Message Date
Dessalines 2efe167f6d
Add open links in new tab (#2032)
* Open links in a new tab setting in UI

* fixes according to review

* also open external links when setting is enabled

* oopsie

* oopsie 2

* pull translations

* Fixing PR comments.

* Fix prettier.

---------

Co-authored-by: Dogeek <simon.bordeyne@gmail.com>
Co-authored-by: Simon Bordeyne <Dogeek@users.noreply.github.com>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-08-07 12:59:19 -04:00
Dessalines ff62915ddf
Fix comment insertion from context views. Fixes #2030 (#2031) 2023-08-07 12:53:21 -04:00
SleeplessOne1917 61e0241d89
Fix password autocomplete (#2033) 2023-08-07 12:51:19 -04:00
maxime.io 76a656bc5b
Fix suggested title "&nbsp;" spaces (#2037)
* Fix imported title &nbsp spaces

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

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>

* Fix lint issue

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-08-07 12:39:44 +00:00
Pavlos Smith d923cfa522
Lemmy 2515 controversial posts and comments (#1727)
* Added buttons to be able to sort posts and comments by controversy rank

* Added buttons to be able to sort posts and comments by controversy rank

* lost changes

* Hiding controversial sort if downvotes disabled (unfinished)

* Finished hiding sort option correctly

* Removed newline

* Removed hiding logic for now, this should be included in a future PR

* woodpecker re-run

* woodpecker re-run

* woodpecker re-run

* Update lemmy js-client version

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-08-04 16:32:07 -04:00
Milan Damen afafb777b4
Mark post as read when clicking "Expand here" on the preview image on the post listing page (#1600) (#1978)
* Mark post as read when clicking "Expand here" on the preview image on the post listing page (#1600)

* Simplified check for mark post as read

* Implemented mark post as read as a property callback instead of directly using HttpService

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-08-04 10:47:17 -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
HKayn 8edf69559e
Fix document title of admin settings being overwritten by tagline and emoji forms (#2003)
* Fix document title of admin settings being overwritten

* Remove obsolete imports
2023-08-03 12:27:06 -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
Dessalines 88f89cb953
Fixing comment report showing dot. (#1989)
* Fixing comment report showing dot.

* Using list-unstyled instead of removing <ul and <li
2023-07-26 17:11:40 -04:00
Dessalines 2ccaaf1bcd
Make sure comment score color matches your vote. (#1988)
* Make sure comment score color matches your vote.

* Fixing lints.
2023-07-26 19:51:43 +00:00
creesch 925d9624d5
Allow limited set of markdown in title rendering (#1977) 2023-07-26 13:41:57 -04:00
Nutomic a67c70a449
Allow selecting from all languages in person settings (fixes #1971) (#1985) 2023-07-26 13:39:06 -04:00
djvs d42aabb3ca
Separate final comment row + add classes (#1982)
Co-authored-by: djvs <djvs@users.noreply.github.com>
2023-07-25 14:07:17 -04:00
Ben Wyatt 6331323554
Allow sorting on /communities (#1934)
* Allow sorting on communities page

Just a few minor changes to communities.tsx that add a sort dropdown - same element as the sort dropdown in home.tsx

* Fix alignment of communities.tsx selector row

Simple CSS fix for correct alignment of a few elements

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-17 11:22:01 -04:00
SleeplessOne1917 b7ec7ae311
Add show/hide button to password fields (#1861)
* Make working password inputs

* Make show/hide password button use icon

* Tweak look

* Handle delete account form separately from change settings form

* Adjust password strengthometer position

* Incorporate PR feedback

* Add translations
2023-07-14 13:33:24 -04:00
randfur cd1a11c77a
Fix start_url and scope (#1931)
Remove unused import
2023-07-13 20:01:14 -04:00
Lionir 9e246beb03
Set person_id to myId in handleLeaveModTeam (#1929) 2023-07-12 22:26:21 -04:00
Lemmus.org 021677316d
Remove invalid default option from language list (#1919) 2023-07-12 10:04:16 -04:00
Sander Saarend 5d4edf555e
Fix CSP in dev mode (#1918) 2023-07-12 10:03:49 -04:00
rosenjcb 7a804ff333
Add Toast Messages for Bad Logins (#1874)
* Added toast prompts

* Using generic  message instead.

---------

Co-authored-by: Jacob Rosenzweig <rosenjcb@Jacobs-MacBook-Pro.local>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-07-12 10:01:47 -04:00
SleeplessOne1917 2911cd8cdb
Comment border tweak (#1820)
* Tweak border depth

* Tweak top level margins
2023-07-10 19:16:03 -04:00
Sander Saarend 546f0ad704
Add nonce-based CSP header (#1907)
* Remove websocket config

* Add nonce based CSP
2023-07-10 14:26:41 -04:00
Klemen Košir ed0fd264de
Add community name to featured post action in Modlog (#1891) 2023-07-10 10:48:27 -04:00
Matthew Miner 53c3cfeade
Use canonical URLs (#1883) 2023-07-10 10:46:36 -04:00
Lemmus.org 6350f68579
Add theme option for compact that respects browser default (#1870) 2023-07-10 10:33:58 -04:00
Lemmus.org 1bd705d7bc
Update post listing to prefer local image when available (#1858) 2023-07-10 10:22:12 -04:00
drumlinish 1774ecdf6c
Disallow /modlog since it is not relevant for bots (#1850) 2023-07-10 10:17:24 -04:00
Anon e80bcf53ac
Fix XSS vuln (#1897) 2023-07-10 07:37:07 -04:00
SleeplessOne1917 3d58baea7c
User inferno prompt instead of handrolled one (#1867) 2023-07-07 19:33:03 -04:00
SleeplessOne1917 45333d8c10
Darkly tweak (#1811)
* Make outline buttons have better contrast in dark themes

* Change secondary color for darkly themes

* Put compact styles back to how they were before

* Forgot to build themes
2023-07-07 14:27:25 -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 f854a51090
Dark theme tweaks (#1840)
* Make post titles visible on i386

* Make post titles visible on vaporwave dark

* Undo unnecessary changes
2023-07-07 08:23:25 -04:00
Oliver White 53a5bfe592
fix: Adjust sidebar banner to wrap bellow the title (#1819)
* fix: Adjust sidebar banner to wrap bellow the title

* remove flex and add bottom border when uncollapsed

* use classnames utility
2023-07-07 08:22:50 -04:00
Michael Charles Aubrey 1de0fdb8c2
add ruby annotation support (#1831) 2023-07-06 07:44:32 -04:00
Jay Sitter 9ce164245f
fix: Fix mobile thumbnail being too small (#1814)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-07-05 15:31:08 -04:00
Dennis Saw 3a89454e82
Use Join Lemmy hostname as link text in footer (#1737)
* Use Join Lemmy URL as link text in footer when there's a user

I think it makes sense to keep a link to the Join Lemmy website even
though there's a logged in user. There's plenty of other useful info on
that website beyond just joining Lemmy.

Using the URL avoids the phrase "Join Lemmy" and should indicate that
you're navigating to said website.

* Extract hostname from the existing URL constant instead

* Just use hostname of join lemmy site in footer

To maintain consistency whether logged in or not.
2023-07-05 11:42:44 -04:00
Jay Sitter 53348d5ac4
fix: Add focus ring color to post action buttons and markdown help link (#1816) 2023-07-05 11:41:12 -04:00
Jay Sitter b45c24537d
fix: Fix focus ring styles for radio button toggles #1772 (#1773) 2023-07-04 17:24:57 -04:00
Alec Armbruster c3ab9e74f8
fix toaster upon user settings change (#1802)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-07-04 17:08:32 -04:00
jcgurango 26ff0f7e06
Fix home page not using site-level listing type #1612 (#1778)
* Fix home page not using site-level listing type

* Use null handling instead
2023-07-04 17:06:34 -04:00
Jay Sitter 778c3533f0
feat: Subtler user badge style (#1796) 2023-07-04 16:54:38 -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
SleeplessOne1917 f6cbc896af
feat(theme): Vaporwave (#1682)
* Make vaporwave dark theme work

* Tweak vaporwave light theme

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-04 12:13:31 -04:00
Jay Sitter 8323bc9ab6
fix: Revert smaller text size (#1795) 2023-07-04 11:58:54 -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 21c8b64cda fix: Add focus border to markdown toolbar buttons 2023-07-04 00:53:52 -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 976812a446 Merge remote-tracking branch 'lemmy/main' into fix/fix-long-words-in-titles-overflow
* lemmy/main:
  v0.18.1-rc.9
  fix: Fix comment collapse and vote buttons not having focus style (#1789)
  Add missing modlog reasons (#1787)
  Fix search page breaking on initial load when logged in (#1781)
  feat: Add PR template (#1785)
  v0.18.1-rc.8
  Fix profile loading spinner
  fix: Move getRoleLabelPill to the only component that uses it
  fix: Remove unused hasBadges() function
  fix: Fix badge alignment and break out into component
  fix: Fix up filter row gaps and margins a little
  fix: Fix heading levels
  fix: Simplify row classes a bit
  fix: Fix some gaps in search filters
  fix: Fix row gap on search options
  fix: Add bottom margin to inbox controls
  fix: Small cleanup to search/inbox controls
2023-07-03 17:13:33 -04:00
Jay Sitter 5a95a058ae
fix: Fix comment collapse and vote buttons not having focus style (#1789) 2023-07-03 16:53:10 -04:00
SleeplessOne1917 e829b13053
Add missing modlog reasons (#1787) 2023-07-03 16:52:33 -04:00
SleeplessOne1917 a0cf54c0a0
Fix search page breaking on initial load when logged in (#1781)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-03 16:43:52 -04:00
SleeplessOne1917 f89a788a9f
Merge branch 'main' into fix-profile-loading-spinner 2023-07-03 14:12:14 +00:00
SleeplessOne1917 34f04e6758
Merge branch 'main' into fix/fix-badges-spacing-componentize 2023-07-03 12:29:55 +00:00
m-gail fa4fe57a86
Fix profile loading spinner 2023-07-03 12:56:22 +02:00
Jay Sitter 8a163fedde fix: Break text on post titles so long words don't overflow 2023-07-02 20:20:08 -04:00
Jay Sitter 1e69129b10
Merge branch 'main' into fix/h1-page-titles 2023-07-02 20:08:55 -04:00
SleeplessOne1917 7389b1f9c8
Merge branch 'main' into fix/use-row-in-filters 2023-07-02 23:56:46 +00:00
Jay Sitter 7b34022e0d
Merge branch 'main' into fix/h1-page-titles 2023-07-02 19:54:03 -04:00
Jay Sitter 4e1e29b9a5
Merge branch 'main' into fix/fix-badges-spacing-componentize 2023-07-02 19:47:41 -04:00
Jay Sitter 6cb49967c2 fix: Move getRoleLabelPill to the only component that uses it 2023-07-02 19:47:12 -04:00
Alec Armbruster c0193fa2de
Merge branch 'main' into fix/expand-button-when-no-link 2023-07-02 19:20:32 -04:00
Jay Sitter 61867ee73d fix: Remove unused hasBadges() function 2023-07-02 19:01:14 -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 74727cacd4
Merge branch 'main' into auth-error-message 2023-07-02 22:35:17 +00:00
SleeplessOne1917 e7f7bc2e36
Merge branch 'main' into feat/create-post-file-upload-a11y 2023-07-02 22:22:15 +00:00
SleeplessOne1917 73198ac03a
Merge branch 'main' into auth-error-message 2023-07-02 22:14:46 +00:00
SleeplessOne1917 02adbea61f Move export to barrel file 2023-07-02 18:14:13 -04:00
Jay Sitter 23ee563dfb
Merge branch 'main' into fix/vote-button-no-spinners-1761 2023-07-02 17:36:52 -04:00
Jay Sitter d620dea0b3
Merge branch 'main' into feat/create-post-file-upload-a11y 2023-07-02 17:33:01 -04:00
Jay Sitter 0047c17eb3 fix: Fix avatar image overlay aspect ratio 2023-07-02 17:24:06 -04:00
Jay Sitter 61276ec4e5 fix: Fix circle image aspect ratio 2023-07-02 17:14:00 -04:00
Jay Sitter 3c6505b9fd fix: Add some spacing between upload field and image; fix circle image aspect ratio 2023-07-02 16:08:55 -04:00
SleeplessOne1917 31789495a2 Prevent JWT token from showing up on error page 2023-07-02 15:45:45 -04:00
SleeplessOne1917 b3d096d41d
Merge branch 'main' into fix/fix-joined-check-color 2023-07-02 19:25:36 +00:00
Jay Sitter 0bd0a49730
Merge branch 'main' into feat/create-post-file-upload-a11y 2023-07-02 15:24:18 -04:00
Jay Sitter c2990fd644
Merge branch 'main' into undefined_quote 2023-07-02 15:11:48 -04:00
Jay Sitter 65fcaafab7 fix: Fix vote buttons not showing spinners while registering vote #1761 2023-07-02 15:07:37 -04:00
Jay Sitter 548e5560a1 fix: Fix joined button check color 2023-07-02 14:47:45 -04:00
Jay Sitter b8c2e1e2ca fix: Fix up filter row gaps and margins a little 2023-07-02 14:42:30 -04:00
Jay Sitter a48c20a772 fix: Fix heading levels 2023-07-02 14:29:56 -04:00
Jay Sitter 93d0bc44ea fix: Simplify row classes a bit 2023-07-02 13:43:28 -04:00
Jay Sitter 302c6b496d fix: Fix some gaps in search filters 2023-07-02 13:36:29 -04:00
Jay Sitter 2c56c2e59d fix: Fix row gap on search options 2023-07-02 13:26:07 -04:00
Jay Sitter 350b1b28ee fix: Add bottom margin to inbox controls 2023-07-02 13:22:03 -04:00
Jay Sitter d258edfbaf fix: Small cleanup to search/inbox controls 2023-07-02 13:18:16 -04:00
SleeplessOne1917 1e2f333bb0
Merge branch 'main' into fix/expand-button-when-no-link 2023-07-02 15:48:24 +00:00
Jay Sitter 28dc62d44c
Merge branch 'main' into dm_fix 2023-07-02 11:46:51 -04:00
Jay Sitter 868601fa58 fix: Update comment to reflect new logic 2023-07-02 11:26:44 -04:00
Jay Sitter 195e258a51 fix: Post expand button was not showing if body-only post 2023-07-02 11:23:42 -04:00
SleeplessOne1917 53a5bdbb5c
Merge branch 'main' into fix/list-view-vote-button-width 2023-07-02 15:23:23 +00:00
Jay Sitter a72cc6807e fix: Fix vote buttons in list view variable width 2023-07-02 11:20:02 -04:00
Jay Sitter 34f2b73063 fix: Fix thumb buttons having gray background #1754 2023-07-02 11:02:53 -04:00
Jeff Sandberg 17bcfe5257
Add metaKey to markdown-textarea, for macos
On MacOS, Ctrl is less commonly used than Command (⌘).
Javascript expresses command as `metaKey`.

This allows for _either_ Ctrl or Command to be used in the Markdown text
area.

Note that on Windows, on some browsers, the "windows" key is labeled as meta, so it would
work on windows as well.

http://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey
2023-07-02 04:11:09 -06:00
SleeplessOne1917 2c335483dd
Merge branch 'main' into undefined_quote 2023-07-01 23:32:59 +00:00
sunaurus c68d2b8ee6
Fix jwt cookie path 2023-07-02 02:04:44 +03:00
sunaurus 47cbe3e002
Fix quotedText bugs in markdown editor 2023-07-01 19:57:06 +03:00
sunaurus 653094eddb
Fix DM replies 2023-07-01 19:26:30 +03: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
Alec Armbruster af22947c0f
fix req.cookie nonexistent -.- 2023-06-30 10:35:57 -04:00
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 da45ffb46b
fix cache auth method 2023-06-30 09:42:09 -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
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
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 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
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
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
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
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
Alec Armbruster 068e6eb4a2
Merge branch 'main' into bugfix/fix-subscribe-button-layout 2023-06-28 11:43:40 -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 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
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
Alec Armbruster 68b3940a9b
Merge branch 'main' into fix/thumb-action-button-alignment 2023-06-27 17:16:26 -04:00
Alec Armbruster 8f1b0ad559
refactor 2023-06-27 15:49:14 -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
Alec Armbruster 746b52f378
add @jsit advice 2023-06-27 13:41:31 -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 8dfe3c6106
Merge branch 'main' into feat/toggle-body-1595 2023-06-27 08:57:06 -04:00
SleeplessOne1917 34188ebd84
Fix allowed and blocked instances not being fetched for admin settings (#1627)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-27 08:09:55 -04:00
Dessalines 857b0d9db3
Merge branch 'main' into create_space_between_cancel_and_ban_button 2023-06-27 07:46:25 -04:00
Jay Sitter 3439512a1c fix: Restore mdNoImages import 2023-06-26 21:12:43 -04:00
Jay Sitter ee84634a73 fix: Fix alignment of preview mini-overlay buttons on thumbs 2023-06-26 21:05:50 -04:00
Jay Sitter 5da6f27227 fix: Remove body preview 2023-06-26 20:37:28 -04:00
SleeplessOne1917 eef3ac41d3
Merge branch 'main' into fix/wider-max-width-1536 2023-06-26 20:29:13 -04:00
Jay Sitter 084345f0c5
Merge branch 'main' into fix/wider-max-width-1536 2023-06-26 20:22:38 -04:00
Jay Sitter af67240163
Merge branch 'main' into feat/hide-avatars-on-listings 2023-06-26 20:22:26 -04:00
Jay Sitter 8b637a1773 fix: Move toggle button to its own function 2023-06-26 20:20:14 -04:00
Jay Sitter 5c964440da fix: Show metadata preview card on all post pages 2023-06-26 20:13:30 -04:00
Pascal de Vink 1dd83dafdc Fix feedback on banning an unbanning
When banning or unbanning, the API call was done, but updating the
frontend failed. This caused a confusing experience for an admin, until
the page was reloaded.
2023-06-26 20:13:30 -04:00
Alec Armbruster 936eb115bc fix vote button alignment 2023-06-26 20:13:30 -04:00
Alec Armbruster 0956863b28 remove icon (#1618)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 20:13:28 -04:00
dullbananas 7efc136ff5 Indicate valid and invalid fields in signup form (#1450)
* Use was-validated class in signup form

* Update signup.tsx

* Update signup.tsx

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-26 20:12:41 -04:00
Alec Armbruster 7d63117c28 capitalize button (#1616)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 20:12:41 -04:00
Alec Armbruster 921cd976a4 Move password reset form to separate route, view (#1390)
* rework password reset form

* make self-suggested changes

* cleaning

* validate in handlePasswordReset as well

* update submodule

* partially make suggested changes

* make suggested changes

* resolve merge conflicts

* resolve merge conflicts

* resolve merge conflicts

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 20:12:41 -04:00
Jay Sitter 6edbb027f1 feat(UI): Reduce base font size (#1591)
* feat: Reduce base font size

* chore: Build themes

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 20:12:41 -04:00
Anansi b2bd193160 Fix: missing semantic css classes and html elements (#1583)
* Fix: missing semantic css classes and html elements.

Now all pages have a main and aside element when a sidebar is present to facilitate custom theming. This does not impact the default behavior of the front.

* Fix: re-added communityref on main element

---------

Co-authored-by: 0xAnansi <0xAnansi@omageni.com>
Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 20:12:41 -04:00
Alec Armbruster 87a5231745 partially revert change 2023-06-26 20:12:41 -04:00
Jay Sitter a320f1edb1 fix: Remove unnecessary class 2023-06-26 20:12:41 -04:00
Jay Sitter e84e2bfd1d fix: Remove unnecessary classes 2023-06-26 20:12:41 -04:00
Jay Sitter 6e6bbb06c0 fix: Restore removed classes 2023-06-26 20:12:40 -04:00
Jay Sitter ffb0ffb255 fix: Remove wrapping li's 2023-06-26 20:12:40 -04:00
Jay Sitter 2547f68a6b fix: Remove extraneous classes 2023-06-26 20:12:40 -04:00
Jay Sitter a4c819cdeb fix: Move things back to where they were 2023-06-26 20:12:40 -04:00
Jay Sitter 7e7bbde721 chore: Separate post mod buttons into functions 2023-06-26 20:12:40 -04:00
Alec Armbruster a29cb0e83b remove hook entirely 2023-06-26 20:12:40 -04:00
Alec Armbruster a6b59b78d2 fix bug collapsing previews when voting 2023-06-26 20:12:40 -04:00
Jay Sitter 4b5fe717ad fix: Remove unnecessary string interpolations 2023-06-26 20:12:40 -04:00
Jay Sitter 319bb4116f fix: Remove smallavatars prop 2023-06-26 19:46:29 -04:00
Jay Sitter f57bf3bb8b fix: Restore icon avatars; make smaller and roundrect 2023-06-26 19:04:13 -04:00
SleeplessOne1917 6021d20559
Merge branch 'main' into bug/fix-image-collapse-upon-vote 2023-06-26 18:47:49 -04:00
SleeplessOne1917 165d1aa181
Merge branch 'main' into create_space_between_cancel_and_ban_button 2023-06-26 18:46:22 -04:00