Commit graph

2188 commits

Author SHA1 Message Date
Daniele Basso dbeab6450b
Remove lodash.merge dependency (#1911)
Remove lodash.merge dependency from webpack.config.js file, replacing it with using spread sintax (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax)
2023-07-13 20:05:28 +00: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
cmp 462bdb10c9
Use the 'node' user instead of root when running. (#1894) 2023-07-10 10:50:25 -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
Felix Ableitner 51842d6410 v0.18.2-rc.1 2023-07-10 13:58:16 +02: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
Sander Saarend 497fb7014f
Update lemmy-js-client and lemmy-translations (#1848) 2023-07-07 14:53:42 +00:00
Dessalines 7197474633 v0.18.1 2023-07-07 09:17:00 -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
Dessalines 02198f1076 v0.18.1-rc.11 2023-07-06 09:15:44 -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
SleeplessOne1917 4a0368bd5b v0.18.1-rc.10 2023-07-04 12:52:17 -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
SleeplessOne1917 26979b91c2
Merge pull request #1797 from jsit/fix/markdown-toolbar-button-focus
fix: Add focus border to markdown toolbar buttons
2023-07-04 05:30:10 +00: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
SleeplessOne1917 8730f157da
Merge pull request #1771 from jsit/fix/fix-long-words-in-titles-overflow
fix: Break text on post titles so long words don't overflow
2023-07-03 21:30:32 +00: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
Dessalines b9d9231520 v0.18.1-rc.9 2023-07-03 16:55:54 -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
Jay Sitter ca05902423
feat: Add PR template (#1785) 2023-07-03 14:18:22 -04:00
SleeplessOne1917 8b478e9712 v0.18.1-rc.8 2023-07-03 10:22:12 -04:00
SleeplessOne1917 43869824bf
Merge pull request #1780 from m-gail/fix-profile-loading-spinner
Fix profile loading spinner
2023-07-03 14:15:22 +00:00
SleeplessOne1917 f89a788a9f
Merge branch 'main' into fix-profile-loading-spinner 2023-07-03 14:12:14 +00:00