Commit graph

966 commits

Author SHA1 Message Date
Alec Armbruster 88780ba9ab
refactor server, tidy up, use handlers/middleware/utils pattern 2023-06-16 10:34:36 -04:00
SleeplessOne1917 f2db90196d
Merge pull request #1310 from mr00z/main 2023-06-15 17:38:07 +00:00
SleeplessOne1917 f39b3019c0
Merge branch 'main' into main 2023-06-15 17:24:53 +00:00
SleeplessOne1917 9d91b6a6cb
Merge pull request #1309 from alectrocute/go-back-after-login
Go back to previous page after login
2023-06-15 17:23:20 +00:00
Marcin Mróz e470db3fde feat(post-listing): Add link to post for mobile preview 2023-06-15 19:21:42 +02:00
Alec Armbruster 565071ef13
Merge branch 'main' into go-back-after-login 2023-06-15 12:41:29 -04:00
Alec Armbruster 114ad262c3
use .replace() instead 2023-06-15 12:38:42 -04:00
Alec Armbruster 4da9bcd793
go back if last history action was push, fix bug preventing navigation to / working from login 2023-06-15 12:29:24 -04:00
SleeplessOne1917 f2d8c5e07b
Merge pull request #1308 from alectrocute/add-user-scalable-no
Prevent dragging zoom on mobile
2023-06-15 15:59:05 +00:00
SleeplessOne1917 5e8c0ef45c
Merge branch 'main' into add-user-scalable-no 2023-06-15 15:56:39 +00:00
SleeplessOne1917 212a8e4dd4
Merge pull request #1304 from ayan4m1/fix/hr-border
Fix <hr> being almost invisible
2023-06-15 15:54:35 +00:00
Alec Armbruster 09ac948d4a
add user-scalable=no to meta tag 2023-06-15 11:48:30 -04:00
ayan4m1 1dd8cb0994 remove explicit types 2023-06-15 08:31:36 -04:00
ayan4m1 1ed148d3d2 fix: <hr> is almost invisible in darkly theme 2023-06-15 08:23:55 -04:00
SleeplessOne1917 de4b1a0518
Merge pull request #1072 from LemmyNet/comment-depth
Comment depth
2023-06-15 02:46:28 +00:00
abias 97f23821f5 Merge branch 'comment-depth' of https://github.com/LemmyNet/lemmy-ui into comment-depth 2023-06-14 21:23:21 -04:00
abias b0189658a2 Address PR feedback 2023-06-14 21:14:21 -04:00
SleeplessOne1917 a880db43a1
Merge branch 'main' into comment-depth 2023-06-15 00:53:20 +00:00
abias ab0805432d Make comment border colors semi-transparent 2023-06-14 20:52:31 -04:00
Dessalines 89be27bb9d
Add long polling to update unread counts in navbar. (#1271)
* Upping version.

* Add long-polling to update unread counts in navbar.

- Fixes #1148

* Using async for polling.

* Update src/shared/utils.ts

Co-authored-by: Sander Saarend <sander@saarend.com>

* Adding window visibility check, removing generic sleep.

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Sander Saarend <sander@saarend.com>
2023-06-14 20:28:20 -04:00
SleeplessOne1917 8ce6e5bc32
Merge branch 'main' into comment-depth 2023-06-15 00:22:29 +00:00
SleeplessOne1917 d75e0506da
Merge pull request #1250 from RayBB/issue-template-checkboxes
Add checkboxes to issue template
2023-06-15 00:13:19 +00:00
SleeplessOne1917 46a9cde48f
Merge branch 'main' into issue-template-checkboxes 2023-06-15 00:11:01 +00:00
SleeplessOne1917 148c79502e
Merge pull request #1284 from alectrocute/AA/remove-pictrsdeletetoast-from-postform
Remove `pictrsDeleteToast` usage from `PostForm`
2023-06-15 00:10:47 +00:00
SleeplessOne1917 f86b9ede07
Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform 2023-06-15 00:05:27 +00:00
SleeplessOne1917 31e61e7449
Merge branch 'main' into comment-depth 2023-06-14 23:46:11 +00:00
SleeplessOne1917 d3e01ac19d
Merge pull request #1269 from alectrocute/AA/missing-tooltip-from-post-listing
Add missing tooltip for `cross-post` button on `PostListing`
2023-06-14 23:30:47 +00:00
SleeplessOne1917 506839610e
Merge branch 'main' into AA/missing-tooltip-from-post-listing 2023-06-14 23:28:43 +00:00
SleeplessOne1917 a2855ad983
Merge pull request #1265 from alectrocute/AA/trim-all-username-inputs
Remove whitespace from all username input fields
2023-06-14 23:28:26 +00:00
SleeplessOne1917 81187c85d8
Merge branch 'main' into AA/trim-all-username-inputs 2023-06-14 23:25:59 +00:00
SleeplessOne1917 a53dfd4735
Merge pull request #1261 from camel-cdr/patch-1
Horizontally scrollable code blocks, instead of wrapping.
2023-06-14 23:25:30 +00:00
SleeplessOne1917 39e20e5c67
Merge branch 'main' into patch-1 2023-06-14 23:23:11 +00:00
Raymond Berger f3f634e8e0
Merge branch 'main' into issue-template-checkboxes 2023-06-14 23:03:39 +02:00
Alec Armbruster aa48adc2c3
Merge branch 'AA/remove-pictrsdeletetoast-from-postform' of https://github.com/alectrocute/lemmy-ui into AA/remove-pictrsdeletetoast-from-postform 2023-06-14 16:46:03 -04:00
Alec Armbruster 44e45bb84d
make button a tad smaller 2023-06-14 16:45:56 -04:00
Alec Armbruster 12298c3132
Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform 2023-06-14 16:41:28 -04:00
Alec Armbruster d75e4365c4
remove pictrsDeleteToast usage from PostForm, add delete image button, fix infinite loading bug if upload error occured 2023-06-14 16:29:04 -04:00
Alec Armbruster 84a380606c
Merge branch 'main' into AA/missing-tooltip-from-post-listing 2023-06-14 12:05:53 -04:00
Alec Armbruster 66dc499864
Merge branch 'main' into AA/trim-all-username-inputs 2023-06-14 12:05:42 -04:00
SleeplessOne1917 c0abfb154e
Merge pull request #1264 from alectrocute/AA/create-community-infinite-loading-bug 2023-06-14 15:50:31 +00:00
Alec Armbruster 99f81f8d63
adds missing tooltip 2023-06-14 10:03:00 -04:00
Alec Armbruster 520efdcada
trim all username state input 2023-06-14 09:47:33 -04:00
Alec Armbruster cd9de0b2e0
update prop name 2023-06-14 09:39:19 -04:00
Alec Armbruster b076427e8d
handle loading state on community-form.tsx 2023-06-14 09:32:25 -04:00
SleeplessOne1917 2b1af707c3
Use http client (#1081)
* Beginning work on websocket -> http client conversion.

* About 30% done.

* half done.

* more done.

* Almost passing lint.

* Passing lint, but untested.

* Add back in event listeners.

* Fixing some community forms.

* Remove webpack cache.

* fixing some more.

* Fixed ISOwrappers.

* A few more fixes.

* Refactor utils

* Fix instance add/remove buttons

* Not catching errors in isoWrapper.

* Wrap Http client

* Fixing up tagline and ratelimit forms.

* Make all http client wrapping be in one place

* Reworking some more forms.

* Upgrading lemmy-js-client.

* Fixing verify email.

* Fix linting errors

* Upgrading woodpecker node.

* Fix comment scrolling rerender bug.

* Fixing a few things, commenting out props for now.

* v0.18.0-beta.1

* Trying to fix woodpecker, 1.

* Trying to fix woodpecker, 2.

* Handroll prompt

* Add navigation prompt to other pages

* Fix prompt navigation bug

* Fix prompt bug introduced from last bug fix

* Fix PWA bug

* Fix isoData not working

* Fix search page update url

* Fix sharp issue.

* v0.18.0-beta.2

* Make create post pre-fetch communities

* Fix bug from last commit

* Fix issue of posts/comments not being switched when changing select options

* Fix unnecessary fetches on home screen

* Make circular icon buttons not look stupid

* Prevent unnecessary fetches

* Make login experience smoother

* Add PWA shortcuts

* Add related application to PWA

* Update translations

* Forgot to add post editing.

* Fixing site setup.

* Deploy script setup.

* v0.18.0-beta.4

* Sanitize again.

* Adding sanitize json function.

* Upping version.

* Another sanitize fix.

* Upping version.

* Prevent search nav item from disappearing when on search page

* Allow admin and mod actions on non-local comments.

* Fix mobile menu collapse bug

* Completely fix prompt component

* Fix undefined value checks in use_http_client_2 (#1230)

* fix: filter out undefined from posts

* fix: emoji initialisation passing undefined

* fix: || => ?? to be more explicit

* linting

---------

Co-authored-by: Alex Maras <alexmaras@gmail.com>

* Re-add accidentally removed state

* Fix dropdown bug

* Use linkEvent where appropriate

* Fix navigation warnings.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Alex Maras <dev@alexmaras.com>
Co-authored-by: Alex Maras <alexmaras@gmail.com>
2023-06-14 08:20:40 -04:00
Camel Coder be60dae9f8
Horizontally scrollable code blocks, instead of wrapping.
This disables word wrapping for code generated from markdown, and instead enables a horizontal scroll bar.
2023-06-14 12:00:13 +00:00
RayBB 374629f689 add instance url 2023-06-14 12:06:26 +02:00
RayBB 97ef46a256 no comma 2023-06-14 11:41:56 +02:00
RayBB 1f04febd11 reorder questions 2023-06-14 11:39:18 +02:00
Raymond Berger 58954e5bee
improve q for feature request 2023-06-14 11:25:49 +02:00