Commit graph

672 commits

Author SHA1 Message Date
SleeplessOne1917
7b96c89dcb
Merge branch 'main' into language-tag-changes 2023-05-24 13:34:04 +00:00
SleeplessOne1917
2ca53fae5b
Merge branch 'main' into rate-limiting-tab 2023-05-24 13:31:12 +00:00
Felix Ableitner
15f75a26e9 use badge-muted 2023-05-24 12:22:24 +02:00
SleeplessOne1917
42ebb57b22
Navbar fix 2 (#1038)
* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags

* Forgot to include this
2023-05-23 20:42:19 -04:00
abias
98167b50dc Add translations 2023-05-23 19:31:33 -04:00
abias
7face53efd Merge branch 'main' into rate-limiting-tab 2023-05-23 19:14:44 -04:00
Felix Ableitner
90a9f72817 Changes to language tag
- Dont use bright white color because its not that important
- Hide tag in case of undetermined (doesnt add any information)
2023-05-23 22:16:54 +02:00
abias
06a553c7a4 Hopefully stop lint command from erroring 2023-05-23 08:34:20 -04:00
SleeplessOne1917
c311bca8d2
Merge branch 'main' into nicer-error-hnadling 2023-05-23 12:07:08 +00:00
abias
51c0c98faa Add error message paragraph 2023-05-22 12:57:52 -04:00
abias
83fc9f3949 Make error code always display 2023-05-22 08:38:05 -04:00
abias
fe69f8ee5f Merge branch 'main' into nicer-error-hnadling 2023-05-22 07:47:17 -04:00
SleeplessOne1917
ffe95ee1c6
Navbar hide menu fix (#1033)
* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags
2023-05-21 23:31:08 -04:00
Dessalines
26de38a869
Show parent comment for comment link. Fixes #1030 (#1032)
* Show parent comment for comment link. Fixes #1030

* Changing let to const.
2023-05-21 21:30:13 -04:00
abias
f51cc697a7 Merge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui into rate-limiting-tab 2023-05-21 15:32:00 -04:00
abias
9998d64d75 Add heading tag to rate limit form 2023-05-21 15:31:42 -04:00
SleeplessOne1917
f051eee8e9
Merge branch 'main' into rate-limiting-tab 2023-05-21 19:13:03 +00:00
abias
132f241e63 Remove console log 2023-05-21 15:11:20 -04:00
abias
117e85a967 Include forgotten translation 2023-05-21 14:42:17 -04:00
abias
a8e2b43952 Remove console logs 2023-05-21 14:41:41 -04:00
SleeplessOne1917
0bd9a17009
Add web share for browsers that have it enabled (#1029)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-21 14:17:56 -04:00
SleeplessOne1917
a447e432db
Show language on posts and comments (#1026)
* Show language on posts and comments

* Revert "Show language on posts and comments"

This reverts commit 54267903fc.

* Change language indicator look
2023-05-21 14:13:25 -04:00
abias
e542aa872d Incorporate translations 2023-05-21 14:13:06 -04:00
abias
cf58a0c451 Allow user to submit rate limit changes 2023-05-21 12:40:22 -04:00
abias
2e3c1a6cfa Put rate limit options in its own tab 2023-05-21 09:07:22 -04:00
abias
b1a7a679f0 Refactor tabs into reuseable component 2023-05-20 15:39:12 -04:00
abias
cbee588484 Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling 2023-05-19 13:06:34 -04:00
abias
75d2fb8d27 Replace link to issue tracker with proper support spaces 2023-05-19 13:06:14 -04:00
SleeplessOne1917
7241abc25e
Merge branch 'main' into nicer-error-hnadling 2023-05-17 01:10:51 +00:00
abias
256420b303 Fix isoData bug 2023-05-16 21:07:57 -04:00
abias
4f1d357b5b Refactor how error data is passed from server to client 2023-05-16 20:34:15 -04:00
SleeplessOne1917
0d30f4c731
Make admin UI for allowing/blocking instances easier to work with (#1012)
* Make admin UI for allowing/blocking instances easier to work with

* Tweak styles

* Remove log statements

* Trim instance names and slight refactor

* Use linkEvent
2023-05-16 09:08:52 -04:00
abias
900bf2099b Cleanup 2023-05-15 20:56:08 -04:00
abias
5068df6bf5 Merge branch 'main' into nicer-error-hnadling 2023-05-15 20:34:45 -04:00
Dessalines
3143788d19 Changing all bigints to numbers 2023-05-15 15:53:29 -04:00
SleeplessOne1917
d56d20d0be
Redirect from pages that require auth on logout (#1016)
* Redirect fomr pages that require auth on logout

* Extract helper function

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-15 11:22:35 -04:00
abias
23d7751523 Fix error page not showing when site not fetched and adjust styles 2023-05-14 23:01:39 -04:00
abias
3996cdaae3 Handle error when site not returned 2023-05-14 19:49:55 -04:00
abias
025daaa582 Use node env instead of version for environment specific logic 2023-05-14 16:25:03 -04:00
abias
76f0292862 Redirect to login and remove duplicated code 2023-05-14 15:28:38 -04:00
abias
d944140a76 Merge branch 'main' into nicer-error-hnadling 2023-05-14 11:09:13 -04:00
abias
bcee6aad5b Set up logic for handling errors 2023-05-14 11:08:06 -04:00
abias
ab3fed3ddf Extract helper function 2023-05-13 23:09:05 -04:00
Nutomic
1683a745b5
Dont preselect new post language (#1008)
Lemmy-ui currently preselects the first language in the user
settings when creating a new post or comment. This is a bad
idea because this language might not actually be allowed in
the community. It is better to pass the language as None if
the user didnt specify it explicitly, because then the backend
can smartly choose a language based on the overlap of user
languages and community languages.

This fixes the problem described in
[this thread](https://lemmy.ml/post/1066608), where a user
tries to post in a community that has only English allowed,
with all languages enabled in user settings. In this case
lemmy-ui preselects "undetermined language" as default, which
is not allowed and results in an error. This PR fixes the issue
because it lets the backend automatically select the correct
language (English).
2023-05-13 16:07:05 -04:00
SleeplessOne1917
f31cd42d8e Redirect fomr pages that require auth on logout 2023-05-13 10:38:43 -04:00
Nutomic
8c06eb9749
Remove "banned" badge from posts and comments (fixes 899) (#1011)
It doesnt need to be emphasized so much that a user is banned.
Anyway this can already be seen in the mod log. For users who
are banned from the entire site it is still shown on the profile.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-11 21:15:04 -04:00
SleeplessOne1917
b19b51c78c
Add support for PWA (#1005)
* Add logic for dynamically generating web manifest

* Make PWA icon get autogenerated

* Make service worker work

* Tweak things for PWA

* Handle apple icons and refactor

* Update prod dockerfile

* Remove jimp

* Remove unnecessary option

* Use different function syntax
2023-05-11 21:07:59 -04:00
Dessalines
c5fd084577
Using auto-generated types from ts-rs. (#1003)
* Using auto-generated types from ts-rs.

- Fixes #998
- Added support for new `GetFederatedInstances`
- Fixed a few bugs in the process.

* Update imports to use SleeplessOne1917's fix.
2023-05-11 14:32:32 -04:00
Dessalines
06bfb7eadf
Fixing some outdated docs links. Fixes #1006 (#1007) 2023-05-11 13:13:09 -04:00
Dessalines
f7ace27477
Upgrading deps. (#1004) 2023-05-11 13:06:32 -04:00
SleeplessOne1917
3a88f6e854
Add content warning to modlog and fix modlog routing bug (#994)
* Add content warning to modlog and fix modlog routing bug

* Add translation logic
2023-05-03 22:06:59 -04:00
SleeplessOne1917
a027595eaa
Get rid of "No Results" showing while search is still loading. (#997) 2023-05-03 21:47:37 -04:00
SleeplessOne1917
2e78191dae
Handle when logged out (#986)
* Add logged out messages to profile and community

* Remove errors when not logged in

* Add logged out translations
2023-05-03 12:09:47 -04:00
SleeplessOne1917
3526baf465
Make pages use query params instead of route params where appropriate (#977)
* feat: Add multiple image upload

* refactor: Slight cleanup

* feat: Add progress bar for multi-image upload

* fix: Fix progress bar

* fix: Messed up fix last time

* refactor: Use await where possible

* Add query params to search page

* Update translation logic

* Did suggested PR changes

* Updating translations

* Fix i18 issue

* Make prettier actually check src in hopes it will fix CI issue

* Make home page use query params in URL

* Remove unnecessary part of private message url

* Make communities page use query params

* Make community page use query params

* Make user profile use query params

* Make modlog use query params

* Replace choices.js searchable select entirely

* Make 404 screen show up when expected

* Refactor query params code

* Remove unnecessary boolean literal

* Fix query param bug

* Address bug with searchable select and initial fetch

* Only import what is needed from bootstrap

* Undo change to comment nodes component

* Convert closure style functions to normal functions

* Updated translations

* Use translation for loading

* Fix create post select community bug

* Fix community query params bug
2023-04-15 10:47:10 -04:00
SleeplessOne1917
699c3ff4b1
Multiple image upload (#971)
* feat: Add multiple image upload

* refactor: Slight cleanup

* feat: Add progress bar for multi-image upload

* fix: Fix progress bar

* fix: Messed up fix last time

* refactor: Use await where possible

* Update translation logic

* Did suggested PR changes

* Updating translations

* Fix i18 issue

* Make prettier actually check src in hopes it will fix CI issue
2023-04-04 08:40:00 -04:00
SleeplessOne1917
e947549cdc
I18 quality of life change (#973)
* I18 quality of life change

* Cleanup
2023-04-03 09:28:56 -04:00
Anon
16cb506147
Optimize Tagline Form page (#972)
* Move taglines to its own tab. Optimize for editing.

* Small fix

* null -> undefined
2023-03-30 16:36:57 -04:00
Dessalines
4499579380 Merge branch 'custom-emojis' of https://github.com/makotech222/lemmy-ui into makotech222-custom-emojis 2023-03-27 12:49:46 -04:00
Dessalines
9bab9c3cab
Don't show icons / banners for banned users and removed communities. (#962)
- Fixes #961
2023-03-26 22:10:35 -04:00
SleeplessOne1917
1ad36d2c1d
fix: Fix undefined showing up in markdown (#970) 2023-03-26 22:10:08 -04:00
SleeplessOne1917
47daa9d143
refactor: update UI to use new client uploadImage function (#967)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-03-26 22:06:42 -04:00
SleeplessOne1917
fe0ebbeec1
fix: Make search screen able to change type, listing type, and sort when there is no query (#966) 2023-03-26 21:56:49 -04:00
Anon
4b6851d246
Merge branch 'main' into custom-emojis 2023-03-14 12:59:21 -05:00
Dessalines
07e7e1eb87
Adding 2FA support. Fixes #938 (#939)
* Adding 2FA support. Fixes #938

* Updating totp_2fa names.
2023-03-02 18:30:38 -05:00
Anon
96827a0dc9 Fix table layout on mobile 2023-02-26 11:22:05 -06:00
Anon
f1147f5891 Fix improper use of map 2023-02-26 11:22:05 -06:00
Anon
d7f4d2ccc1 Fix loading emojis 2023-02-26 11:22:05 -06:00
Anon
c22eafad56 fix casing 2023-02-26 11:22:05 -06:00
Anon
1f15ea5aa8 Add Custom Emoji Support 2023-02-26 11:22:05 -06:00
Dessalines
578709b986
Only show the determined warning for multiple. (#952) 2023-02-22 08:03:04 -05:00
Dessalines
8df9aa1d5a
Adding ban_from_community to be more clear. Fixes #872 (#943) 2023-02-21 16:12:00 -05:00
Dessalines
49acf514e9
Let any mod feature and lock posts. Fixes #875 (#944)
* Let any mod feature and lock posts. Fixes #875

* Change to amAdmin
2023-02-21 15:53:51 -05:00
Dessalines
12ed6ed31a
Adding a warning for deselecting the undetermined language. (#945)
- Fixes #930
2023-02-21 15:53:35 -05:00
Dessalines
a09b301429
Fixing line formatting. (#947) 2023-02-21 15:53:15 -05:00
Dessalines
1b1168d79f
Do local community checks for buttons. Fixes #918 (#948) 2023-02-21 15:52:57 -05:00
Dessalines
b1dcd222ab
Check to make sure post is correct. Fixes #934 (#949) 2023-02-21 15:52:34 -05:00
Dessalines
6aa33e6809
Remove buggy navbar search. Fixes #921 (#950) 2023-02-21 15:52:12 -05:00
Dessalines
deffaf1ee0
Fix issue with empty markdown content not nulling DB. Fixes #924 (#925)
* Fix issue with empty markdown content not nulling DB. Fixes #924

* Better syntax
2023-02-16 21:10:03 -05:00
Dessalines
b0755bc010
Adding reports send email to admins option (#932) 2023-02-16 21:07:22 -05:00
Dessalines
3ad7644725
Fix comment box closing. Fixes #904 (#914) 2023-02-02 21:26:18 -05:00
Dessalines
1dd86fdf91
Fix showing crosspost dupes. Fixes #900 (#912) 2023-02-02 21:15:36 -05:00
Dessalines
e03d3c40e6
Fix live updating postres edit. Fixes #908 (#911) 2023-02-02 21:15:21 -05:00
Dessalines
87c30705ef
Fixing post setState error. Fixes #902 (#903) 2023-01-31 20:09:51 -05:00
Dessalines
b64f47cfe9
Removing monads. Fixes #884 (#886)
* Removing monads. Fixes #884

* Fixing post fetching.

* Dont show not_logged_in error for navbar.

* Adding the lemmy-js-client RC.

* Fixing registration application mode
2023-01-04 11:56:24 -05:00
Dessalines
37c200571b
Sanitize article html. Fixes #882 (#883) 2022-12-29 12:35:43 -05:00
Zachary Dunn
62139df0c3
Add id to App component (#880)
Fixes #204. There's already a style block for `#app` so this just sets the id so those styles are applied.
2022-12-22 16:54:52 -05:00
Dessalines
afeb64009b
Adding Community Language fixes. #783 (#868)
* Partially done with language tagging. #783

* A few more updates.
2022-12-19 10:57:29 -05:00
Anon
003b177f6e
Add FeaturedPost Support (#873) 2022-12-14 10:03:18 -05:00
Dessalines
56c79bd2f4
Remove federation strict_allowlist and retry_count. (#867) 2022-11-21 12:40:48 -05:00
Anon
e2a29a5bad
Add Taglines support (#854)
* Add Taglines support

* Fix issue with deletion not rendering properly.

* Address PR comments

* Missed alllanguages

* Cleanup tagline match

* Update js client

* Move taglines to siteres

* Only show taglines editor after site setup

* Update js client
2022-11-20 11:08:44 -05:00
Dessalines
36c1c1f262
Fix wrong comment link. Fixes #714 (#865) 2022-11-18 23:39:32 -05:00
Dessalines
765ed9549a
Dont render images in tippy. Fixes #776 (#864) 2022-11-18 21:02:38 -05:00
Dessalines
6e3a6a601b
Move symbols to its own cacheable file. Fixes #809 (#862) 2022-11-18 13:28:05 -05:00
Dessalines
f90fa6dd3b
Hide post report images. Fixes #824 (#861) 2022-11-17 21:11:30 -05:00
Dessalines
78a6a19d8d
Add inline markdown rendering for post titles. Fixes #827 (#860) 2022-11-17 21:01:52 -05:00
Dessalines
927702625a
Show deleted on profile page. Fixes #834 (#859) 2022-11-17 20:58:43 -05:00
Dessalines
b8755f83d6
Make sure user is logged in for site creation. Fixes #838 (#858) 2022-11-17 19:20:25 -05:00
Dessalines
03045c2e04
Fix missing report shield. Fixes #842 (#855) 2022-11-17 18:59:49 -05:00
Dessalines
ee0cdde3b8
Increase markdown field char limit to 50k. Fixes #849 (#850) 2022-11-12 12:06:41 -05:00
Dessalines
24548ccba8
Adding new site setup fields. (#840) 2022-11-09 14:53:07 -05:00
sam365724
8fdbaf4499
Fix workaround for broken logout (#836)
Use hostname without port for setting empty cookie, avoids error in browser: 
Cookie “jwt” has been rejected for invalid domain.
2022-11-02 14:32:30 -04:00
Dessalines
a4edfd11f9
Strip html from og descriptions. Fixes #830 (#831) 2022-10-21 20:14:53 +00:00
Dessalines
309c93e918
Fix admin default listing type. Fixes #797 (#818) 2022-10-21 15:27:59 -04:00
Dessalines
7f5b260681 Merge branch 'browser_popup' 2022-10-21 14:14:42 -04:00
Dessalines
6bd795c89b Fixing up popup code. 2022-10-21 14:14:28 -04:00
Rens Groothuijsen
b979e0a3a9
Search button and input style fixes (#825)
* Align search button style with other navbar buttons, disable search box when hidden, adjust search box size

* Align search button margin with other navigation bar buttons
2022-10-20 23:56:57 -04:00
Nutomic
daaac3dfe8
Support new video embed api format (fixes #709) (#817) 2022-10-04 16:35:20 -04:00
umamawme
d412baf758
Change for container divs to container-lg (#813)
* Change for container divs to container-lg

* Apply container-lg to footer.tsx
2022-10-03 14:16:36 -04:00
sam365724
dd0ce307f5
Remove newline, save space for toast message. 2022-10-01 22:05:17 +02:00
sam365724
059dfbd3a5
Merge branch 'LemmyNet:main' into multiple-images-upload 2022-09-30 22:36:55 +02:00
sam365724
f2a4ebd92a Avoid browser warning about leaving page, handle delete image fail and add user filenames to messages. 2022-09-30 22:28:56 +02:00
Dessalines
dc62cab7e9
Adding private message reporting. Fixes #782 (#806) 2022-09-28 08:50:47 -04:00
Dessalines
333642e065
Adding the email_admins for new application config. (#742) 2022-09-27 15:45:42 -04:00
Dessalines
80be834867
Adding new unread comments. (#749) 2022-09-27 15:42:24 -04:00
Dessalines
32b32aa164
Fix broken profile page, and missing sidebars. (#795) 2022-09-23 04:41:04 +00:00
Dessalines
93bee57c4c
Adding a loading indicator for post community searching. Fixes #692 (#794) 2022-09-22 18:13:22 +00:00
Dessalines
67c83ece5b
Fix missing initial load of discussion languages. (#793) 2022-09-22 17:15:59 +00:00
Dessalines
c5f84649dd
Fix posts pushed from blocked users/comms. Fixes #697 (#792) 2022-09-22 17:13:59 +00:00
Dessalines
c6e3a4213a
Hide create community (#787)
* Adding post and comment language tagging. Fixes #771

* Hiding create community button. Fixes #754
2022-09-22 11:14:58 -04:00
Dessalines
6320357d21
Upgrade inferno v8.0.0 try2 (#790)
* Upgrade non-breaking deps.

* Upgrade to Inferno v8. Fixes #731

* Upgrading inferno-i18next-dess
2022-09-22 11:03:35 -04:00
Dessalines
cc90ded31e Merge branch 'fix/notif_new_fetch_bug' of https://github.com/ernestwisniewski/lemmy-ui into notif_bug 2022-09-21 10:16:54 -04:00
Dessalines
035739fb62
Increase fetch limit for user and community searches. Fixes #756 (#773) 2022-09-21 10:06:24 -04:00
Dessalines
00790a344a
Fix private instance setting. Fixes #769 (#786) 2022-09-21 10:05:54 -04:00
Dessalines
4b763d1b06
Hide extra comment and post functionality from search page. Fixes #752 (#788) 2022-09-21 10:05:19 -04:00
Dessalines
61b6810466
Show create post even if not subscribed. Fixes #768 (#789) 2022-09-21 10:04:57 -04:00
Dessalines
c2f628312f Updating translations. 2022-08-17 19:28:40 -04:00
Dessalines
3bf1cc2797
Adding mod / admin distinguish. (#744) 2022-08-17 19:26:50 -04:00
Dessalines
cc1308a7d0
Reduce search minLength to 1. Fixes #750 (#751) 2022-08-16 10:22:48 +00:00
Anon
dbb5c10da9 Use match 2022-08-08 16:41:07 -05:00
Anon
a8ab4e0558 Add support for filtering mod logs 2022-08-07 10:26:27 -05:00
Dessalines
df31cb53cb
Documenting and changing a few env vars. Fixes #661 (#739) 2022-08-04 20:21:20 +02:00
Dessalines
b0cfb4fe4a
Fixing post_view glitch. Fixes #740 (#741) 2022-08-04 16:28:58 +02:00
Dessalines
69b623b8fb
Comment Tree paging (#726)
* Updating translations.

* Forgot to add comment-sort-select

* Upgrading deps
2022-07-30 15:28:08 +02:00
Dessalines
e68babe38b
Adding block from community sidebar. Fixes #690 (#716)
* Adding block from community sidebar. Fixes #690

* Fixing lint
2022-07-29 23:38:37 -04:00
Dessalines
b2cab8d126
Fix suggested post title html. Fixes #691 (#717) 2022-07-29 23:38:10 -04:00
Dessalines
5b682271ad
Fix missing deny button. Fixes #723 (#728) 2022-07-29 23:37:48 -04:00
Dessalines
2afcdf0759
Fix community filtering. (#729) 2022-07-29 23:37:20 -04:00
sonata-chen
4117d04196
use zh-TW for language code, instead of zh_Hant. (#725)
Browser never returns zh_Hant. Chinese language code is usually categorized according to geographical region. (zh-CN, zh-HK, zh-TW)
2022-07-27 16:58:34 -04:00
Ernest
982fae53c8 Fix Notification browser fetch 2022-07-24 14:08:23 +02:00
Dessalines
c2c98ac638
Forgot to type a few Searches. Fixes #718 (#722) 2022-07-18 19:58:37 +00:00
Dessalines
08bee55056
New communities fetch limit is 50. (#711) 2022-07-13 14:27:43 +00:00
Nutomic
5dfb26cfd8
Clicking "subscribe pending" button performs unsubscribe (fixes #705) (#706) 2022-07-11 14:07:47 -04:00
Dessalines
130748a0c3
Fix site setup and login. Fixes #699 (#702) 2022-06-27 16:50:47 -04:00
Dessalines
96583bee47
Adding purging of comments, posts, communities, and users. (#459)
* Starting on admin purge.

* Updating translations.

* Finishing up item purging.
2022-06-23 15:44:05 -04:00
Dessalines
75d52f1e4e
Removing save and read config hjson. Fixes #695 (#696) 2022-06-23 10:05:56 -04:00
Dessalines
46c610990a
Expose pending 2 (#662)
* Updating translations.

* Adding better subscribe type.

* Fix extra pending string.
2022-06-23 13:35:53 +00:00
Dessalines
d905c91e1b
Adding option types 2 (#689)
* Not working, because of wrong API types.

* Adding Rust-style Result and Option types.

- Fixes #646

* Updating to use new lemmy-js-client with Options.
2022-06-21 17:42:29 -04:00
kac-
d41e19f3f1
Fix NPE during new site startup (#677) 2022-06-02 09:51:28 -04:00
Dessalines
3e7579b8bb
Fixing CSP for iOS devices. Fixes #669 (#678) 2022-06-01 16:43:54 +00:00
ianiiaannn
3c42aad2b1
Fix names for Chinese. (#668) 2022-05-28 15:17:55 -04:00
Dessalines
4730fe618b Revert "Fix lint"
This reverts commit 29bdd3bafd.
2022-05-26 18:36:34 -04:00
Dessalines
36297366fa
Legal info dess (#666)
* Add legal information (fixes #652)

* add legal_info field to SiteForm, add missing file

* Moving legal to SiteForm.

Co-authored-by: Felix Ableitner <me@nutomic.com>
2022-05-26 16:48:58 -04:00
Dessalines
0fc7808f3a
Turn off html in markdown. Fixes #650 (#657) 2022-05-24 16:40:31 +00:00
Dessalines
29bdd3bafd Fix lint 2022-05-24 12:36:02 -04:00
Dessalines
2d0da58793
Add posting restricted to mods (#642)
* Adding only mods can post. Fixes #641

* Fixing canPost check
2022-05-23 15:22:15 -04:00
Dessalines
d4ca2085ad
Add default post listing (#645)
* Fix local development.

* Updating translations.

* Adding default site post listing. Fixes #625
2022-05-23 15:19:14 -04:00
Dessalines
321339c6c5
Don't render markdown for summaries. Fixes #658 (#659) 2022-05-23 11:13:41 +00:00
Nutomic
b77689ebd1
Set content security policy http header for all responses (#621)
* Set content security policy http header for all responses

* add unsafe-eval

* fix websocket debug
2022-05-06 03:12:42 +00:00
Dessalines
2274f51e8d
Adding site sidebar for remote communities. Fixes #626 (#640) 2022-04-28 22:42:15 +02:00
Dessalines
130bfc9c8b
Properly debouncing tribute mentions. Fixes #633 (#639) 2022-04-27 22:57:55 +02:00
Dessalines
2d1111fa74
Fixing initial loading of admin page. Fixes #635 (#638) 2022-04-27 19:09:36 +00:00
Dessalines
f7dc1a52da
Fixing helmet theme bug. Fixes #628 (#629) 2022-04-15 21:22:57 +00:00
Dessalines
9c2f70e5e0
Adding site ban from profile page. Fixes #588 (#627) 2022-04-15 21:22:39 +00:00
Dessalines
47a0b8d4b9
Adding sidebar and subscribed collapse. Fixes #609 (#622) 2022-04-15 16:21:57 +00:00
ensag-dev
d3775b0247
Adds OC (#620)
For the translations are back
2022-04-11 22:52:47 +00:00
Nutomic
06c3e547fb
Dont allow community urls like /c/{id} (fixes #611) (#612)
* Dont allow community urls like /c/{id} (fixes #611)

* Also remove usage of numeric ids for user profiles

* fix

* fix
2022-04-08 13:29:02 +00:00
Nutomic
057a9ff4f5
Fix loading indicator on search page (fixes #443) (#606)
* Fix loading indicator on search page (fixes #443)

* fix lints

* review fix

* remove .filter
2022-04-05 10:41:50 +00:00
Nutomic
0619b162d6
Fix error during new site setup (#596)
* Fix error during new site setup

* remove logging
2022-03-14 20:11:21 +00:00
Nutomic
3fe9dc0d7b
Differentiate between mods and admins in mod log (#597) 2022-03-14 20:09:29 +00:00
Nutomic
8f38213780
Fix comment fedilink (fixes #594) (#595) 2022-03-14 18:33:59 +00:00
Nutomic
ada4b03615
Rename theme files from *.min.css to *.css (#590) 2022-03-03 12:55:26 -05:00
Dessalines
aef6a66824
Fixing custom theme issue. (#589) 2022-03-02 21:15:04 +00:00
Nutomic
2ffe7e4c6f
Custom themes (#584)
* Add support for custom themes (fixes #560)

* load theme list in site-form.tsx
2022-03-02 10:35:59 -05:00
Felix Ableitner
c394ddcbad address review comments 2022-03-01 14:47:52 +01:00
Felix Ableitner
0ab1777046 Add option to set site default theme (fixes #559) 2022-02-25 14:41:10 +01:00
Dessalines
6684bbeaf6
Adding nofollow to links. Fixes #542 (#543)
* Adding nofollow to links. Fixes #542

* Running prettier.
2022-02-24 15:31:44 +00:00
Nutomic
2663e19fdc
Fix language names (#580)
* Fix language names

* Remove translations which are less than 70% completed, simplify localization code

* address review comment

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-02-18 19:34:11 +00:00
Dessalines
67593746e0
Move fedi link in post listing location. Fixes #569 (#583) 2022-02-17 18:28:43 +00:00
Dessalines
99f652422f
Smart select inner content after bold or italics. Fixes #497 (#577) 2022-02-14 19:43:07 +00:00
Dessalines
a1125ddbf0
Fix comment jumping. Fixes #529 (#576) 2022-02-14 19:10:11 +00:00
Dessalines
e13ab2ee46
Add federated post and comment links. Fixes #569 (#575) 2022-02-14 18:49:57 +00:00
Dessalines
7d578d2abc
Fix community comments iso fetch. Fixes #572 (#574) 2022-02-14 17:37:26 +00:00
Dessalines
399149b278
Don't allow transfer site. (#551)
* Don't allow transfer site.

* Updating translations.

* Adding leave admin team.
2022-02-14 12:27:43 -05:00
Dessalines
26fbd3c8e2
Fix report page bugs. Fixes #558 (#568) 2022-02-02 09:56:43 -05:00
Dessalines
ea33553f65
Forgot to remove testing line. (#565) 2022-02-02 09:53:31 -05:00
Dessalines
0ca801522b
Fix post title link bug. Fixes #547 (#563) 2022-02-02 09:53:17 -05:00
Dessalines
cd4f97593b
Add markdown footnotes. Fixes #561 (#562) 2022-02-02 09:53:09 -05:00
Nutomic
0da5fb9623
Move lemmy.ml signup message to top of registration page (#554)
* Move lemmy.ml signup message to top of registration page

* Fix warning css class, fix message padding
2022-01-27 13:44:08 -05:00
Dessalines
1d085dea12
Adding rss links. Fixes #548 (#549) 2022-01-24 22:24:32 -05:00
Dessalines
b06b641c9e Fixing issue with offset post body and metadata card. Fixes #544 2022-01-12 09:42:14 -05:00
eduardog3000
5f6ea5de6d
Improvements to post listings (#536)
* Improvements to post listings.

* Expanded image and body now show below the rest of the listing.
* The above are also offset to not be under the votes and thumbnail.
* Post title doesn't jump to a new line when you expand the image.
* Thumbnail doesn't disappear when you expand the image.
* Does not apply on mobile since things don't jump around as much.
* Clicking expanded image opens the original in a new tab.
* Does not apply on mobile since you can just long press.
* Instead tapping the image closes it.
* pictrs images now prefer the original format over jpg.
* Rendering split into many functions to improve readability.
* Post actions are now on the same line as the comments button.
* Post actions now show on mobile.
* Comments button made larger.
* Expanding or contracting an image now expands or contracts the body.

* Regenerated yarn.lock

To avoid problems resulting from malicous changes by the dev of `colors`
2022-01-11 19:53:23 -05:00
Dessalines
534b0f7398 Adding as and lt languages. 2022-01-09 12:57:39 -05:00
Dessalines
4915193ae5
Temp bans (#524)
* Updating translations.

* Adding temp bans.

* Using new lemmy-js-client with temp bans

* Fixing some lint and dep issues
2022-01-09 12:53:11 -05:00
Dessalines
9abe811021
Revert "Update signup.tsx (#525)" (#541)
This reverts commit df79492c4d.
2022-01-06 12:40:57 -05:00
Dessalines
89c68a8478
Fix banner. Fixes #466 (#534) 2022-01-06 11:26:32 -05:00
Dessalines
08ae106992
Making the modlog badge stand out more. Fixes #531 (#539) 2022-01-06 11:26:06 -05:00
Dessalines
b96e16b4e9
Private instances (#523)
* Updating translations.

* Adding registration applications.

* Updating translations.

* Adding verify email route.

* Fix missing signup question bug.

* Updating translations.

* A few fixes from comments on lemmy PR.

* v0.15.0-rc.4

* Some suggestions from PR.

* v0.15.0-rc.5

* Adding optional auth to modlog fetches.

* v0.15.0-rc.6

* Hide deny / approve buttons
2021-12-30 10:26:45 -05:00
Dessalines
4c6713d3f2
Add nord theme. Fixes #520 (#527) 2021-12-22 10:50:55 -05:00
Kradyz
df79492c4d
Update signup.tsx (#525) 2021-12-15 10:19:20 -05:00
Dessalines
5074165226
Dont receive post room comments from blocked users. (#516) 2021-12-02 11:46:41 -05:00