Commit graph

501 commits

Author SHA1 Message Date
Dessalines
130bfc9c8b
Properly debouncing tribute mentions. Fixes #633 (#639) 2022-04-27 22:57:55 +02:00
Dessalines
6b53ae7f62
Adding litely-red and darkly-red themes. (#636) 2022-04-27 19:10:58 +00: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
Dessalines
35f1e06222
Adding a LEMMY_UI_DEBUG flag for eruda debugging (#624) 2022-04-13 15:33:00 +00:00
ensag-dev
d3775b0247
Adds OC (#620)
For the translations are back
2022-04-11 22:52:47 +00:00
Dessalines
7d8843902a
Revert "Set content security policy http header for all responses (#608)" (#613)
This reverts commit f1c5c60c76.
2022-04-08 13:52:16 +00:00
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
f1c5c60c76
Set content security policy http header for all responses (#608) 2022-04-07 21:01:55 +00:00
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
Dessalines
6bd4ed4791
Remove auth token from error message. Fixes #600 (#601) 2022-03-24 20:34:04 +00:00
0619b162d6
Fix error during new site setup (#596)
* Fix error during new site setup

* remove logging
2022-03-14 20:11:21 +00:00
3fe9dc0d7b
Differentiate between mods and admins in mod log (#597) 2022-03-14 20:09:29 +00:00
8f38213780
Fix comment fedilink (fixes #594) (#595) 2022-03-14 18:33:59 +00:00
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
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
c394ddcbad address review comments 2022-03-01 14:47:52 +01:00
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
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
a406a87146
Don't redirect on server error. Fixes #570 (#582) 2022-02-17 18:08:13 +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
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
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
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
Marek Ľach
f7e65d1dc0
Add some fallback properties for display in older browsers (#535)
* Update main.css

* Add some fallback for better rendering in older browsers

* Add some fallback for rendering in older browsers

* Add some fallback properties for older browsers

* Try to fix build for legacy browser improvements

* Update main.css
2022-01-03 15:32:37 -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
Dessalines
e976c45f88
Using console.error for error logs. (#517) 2021-12-02 11:46:32 -05:00
a4f023d250 Fix issue with websocket buffer. 2021-12-02 09:59:31 -05:00
Dessalines
f410648e79
Switching to websocket-ts. #247 (#515) 2021-12-01 15:54:46 -05:00
Dessalines
a11cbb29c7
Fix native language issue. (zh_Hant) (#513) 2021-12-01 15:50:56 -05:00
Dessalines
324682b154
Fix tippy on component mount. Fixes #509 (#511) 2021-11-25 12:40:48 -05:00
Dessalines
b1158b9f73
Merge pull request #502 from LemmyNet/a_few_small_fixes
A few fixes.
2021-11-22 15:08:11 -05:00
d6f651568b A few fixes. 2021-11-22 15:04:20 -05:00
5d5b302676 Enabling html tags in markdown. Fixes #498 2021-11-19 16:09:28 -05:00
Dessalines
ebf216ccc9
Merge pull request #495 from LemmyNet/comment_scroll_bug
Fix comment scroll bug. Fixes #492
2021-11-18 12:21:11 -05:00
aff768edaa Fix comment scroll bug. Fixes #492 2021-11-18 10:37:24 -05:00
b27d6e904c Fixing error for null person_block. Fixes #491 2021-11-18 10:33:27 -05:00
Dessalines
ba06c1ae47
Trying to catch promise and json parse errors. #489 (#490)
* Trying to catch promise and json parse errors. #489

* A few more promises.
2021-11-17 16:23:46 -05:00
Dessalines
83b8bcd5e1
Fixing unload (#487) 2021-11-16 10:37:40 -05:00
Dessalines
387f474b09
Fix setup password. Fixes #478 (#484) 2021-11-16 09:46:22 -05:00
Dessalines
fac71d1749
Adding post comment scrolling hack. Fixes #480 (#486) 2021-11-16 09:46:12 -05:00
b4837add6e Fixing nav-link 2021-11-15 13:13:36 -05:00
9f57f7dd78 Remove another touch end. 2021-11-12 12:31:56 -05:00
dayinjing
579c4424d9
Remove touch events
Remove touch events, it breaks clicking links on mobile
2021-11-11 20:33:56 -06:00
be153c7676 Fix markdown guide url. 2021-11-05 16:34:57 -04:00
Dessalines
cd9bd19b7f
Navbar links (#476)
* Try using navbar links. Not working currently

* Updating using touch and mouse up events.

- Fixes #475
- Fixes #467
2021-11-05 16:34:35 -04:00
bfb43aae77 Use community title and user display name for dropdown. 2021-10-29 14:55:14 -04:00
ed37b30723 Merge branch 'upstream-patch-name' of https://github.com/theowenyoung/lemmy-ui into theowenyoung-upstream-patch-name 2021-10-29 14:52:40 -04:00
Owen Young
0ef0ea7dfa chore: in case display_name not exist 2021-10-29 12:29:45 +08:00
Owen Young
96afee5b09
ui: show user's display_name instead of username 2021-10-29 11:53:14 +08:00
9ed0fb3cbc Run prettier 2021-10-28 22:42:54 -04:00
e1ca2bd7b5 Merge branch 'archi' of https://github.com/mahanstreamer/lemmy-ui into mahanstreamer-archi 2021-10-28 22:34:24 -04:00
Dessalines
8a80b95189
Mahanstreamer userpage (#471)
* Added user page block functionality

* Add in suggested changes

adding in suggested changes

* fix lint

* change var name

* Update profile.tsx

* Update profile.tsx

* Some fixes.

Co-authored-by: mahanstreamer <84676642+mahanstreamer@users.noreply.github.com>
2021-10-28 22:31:12 -04:00
mahanstreamer
25bfa84134
Update post-form.tsx 2021-10-28 21:58:49 -04:00
mahanstreamer
2472bc251d
Update utils.ts 2021-10-28 21:57:36 -04:00
Owen Young
7d7b1f2475 feat: post form community use title instead of name 2021-10-29 05:39:41 +08:00
Dessalines
5fb0cdc5b5
Using i18next compatibility v3 (#465) 2021-10-18 20:42:24 -04:00
Dessalines
de4b407f71
Show original created time tooltip (#462)
* Updating translations.

* Show created and modified times on tippy. Fixes #438
2021-10-17 21:46:15 -04:00
Dessalines
9068a6415d
Fixing cross-posts showing on initial load. Fixes #457 (#464) 2021-10-17 21:44:39 -04:00
Dessalines
d664b03ab3
Show bot account info. Fixes #458 (#463) 2021-10-17 21:44:02 -04:00
Dessalines
107c46104e
Very weak (#461)
* Updating translations.

* Changing too_weak to very_weak for passwordmeter. Fixes #450
2021-10-17 21:43:45 -04:00
Dessalines
99c9a608d9
Simplifying getunreadcount. (#455) 2021-10-17 13:42:30 -04:00
Luna
73af3fd9ee
ui changes for marking comment as read on reply (#454)
* ui changes for marking comment as read on reply

* refactor
2021-10-12 13:01:49 -04:00
Luna
5de39ca39d
hide mod actions appropriately fix #441 (#447)
Thx!
2021-10-03 12:18:10 -04:00
Dessalines
0b3d7fbde4
Add honeypot for user and form creation. Fixes #433 (#435) 2021-10-01 10:19:47 -04:00
8a6a8981fc Adding bn, ml, and cs langs 2021-09-28 10:56:38 -04:00
Dessalines
06099fee8a
Reporting (#434)
* Updating translations.

* A first pass at reporting. Fixes #102
2021-09-28 10:38:59 +00:00
Dessalines
65be5c7833
Splitting login and signup pages. Fixes #386 (#431) 2021-09-19 16:31:17 -04:00
Dessalines
ca301277a2
Fixing image in newtab. Fixes #382 (#430) 2021-09-19 16:29:03 -04:00
Dessalines
6929b87dae
Navigate away from login page if already logged in. (#429)
- Fixes #370
2021-09-19 16:28:44 -04:00
Dessalines
0560e9dae9
Add username validation message. Fixes #387 (#428) 2021-09-19 15:33:05 -04:00
Dessalines
d66931e1c6
Password strength meter (#427)
* Updating translations.

* Updating translations.

* Add password strength meter. Fixes #388
2021-09-19 15:32:51 -04:00
Dessalines
bf93e29f4c
Adding JWT secure flag. (#426)
- Couldn't add samesite due to isomorphic library.
- Couldn't add httponly, because the js needs it for calls.
- Fixes #389
2021-09-18 17:59:28 -04:00
Dessalines
967b0dd964
Fix community display name overflow. Fixes #390 (#425) 2021-09-18 17:59:20 -04:00
Dessalines
9a26d4bbdf
Fix logout bug. Fixes #391 (#424) 2021-09-18 17:23:11 -04:00
Dessalines
8f132f67fa
Fix up post, profile and community forms. Fixes #409 (#423) 2021-09-18 16:40:59 -04:00
Dessalines
28b848ce2c
Adding markdown audio and video embeds. Fixes #420 (#421) 2021-09-18 15:44:39 -04:00
Dessalines
33bb8250cb
Remove active in the last (#419)
* Updating translations.

* Removing active_in_the_last for i18n.

- Fixes https://github.com/LemmyNet/lemmy-translations/issues/17
2021-09-18 13:06:12 -04:00
Dessalines
a2aac813cf
Si simplifier (#418)
* Updating translations.

* Use a number simplifier for counts. Fixes #407
2021-09-18 12:35:49 -04:00
Dessalines
4ec200ae6d
Fix profile paging. Fixes #416 (#417) 2021-09-18 10:30:03 -04:00
Dessalines
4b23b78efe
Use my fork of inferno-i18next. Fixes #413 (#415) 2021-09-18 10:27:49 -04:00
Dessalines
018c10c919
Don't show your own subscribed on other users profiles. (#405)
- Fixes #402
2021-09-06 11:03:18 -04:00
4137d47648 Fixing missing arabic. Fixes #404 2021-09-06 10:54:03 -04:00
890239972f Fixing lint, adding a few endpoints. 2021-09-06 10:25:48 -04:00
mahanstreamer
c1001f602a
Add robots.txt file 2021-09-05 18:34:40 -04:00
Dessalines
6091f07d20
Fix comment scrolling bug. Fixes #394 (#397) 2021-09-04 01:20:34 -04:00
Dessalines
a19c84c03e
Fix issue with new notification trying to do a fetch. (#398) 2021-09-04 01:20:25 -04:00
501a5fb1e7 Fix issue with new notification trying to do a fetch. 2021-09-04 01:10:00 -04:00
ad04657f81 Add pt lang. 2021-09-02 23:12:08 -04:00
Dessalines
0d3e8cac1d
Integrating resolve_user into search. (#377)
* Integrating resolve_user into search.

* Upgrading lemmy-js-client.
2021-08-23 16:18:11 -04:00
Dessalines
6a3bdaa85c
Add lazy loading of images. Fixes #329 (#379) 2021-08-23 16:16:05 -04:00
Dessalines
08aa1bb511
Adding vi, sk, mnc, and cy languages. (#378) 2021-08-21 16:11:28 -04:00
Dessalines
b27d982a7b
Feature/user community block (#362)
* Extracting user settings and profile page.

- Auto-collapsing dropdown and navbar on link clicks.
- Fixes #180

* Adding User and Community blocking. Fixes #295

- Added a new settings page.
- Switched to myUserInfo.
- Removing GetFollowedCommunities endpoint

* Fixing blocks
2021-08-19 22:56:18 -04:00
Dessalines
2356b0d62f
Swapping out iframely. (#374)
* Swapping out iframely.

* Renaming iframely-card to metadata-card
2021-08-19 11:24:13 -04:00
Dessalines
62e410c382
Adding mod transfer community (#373) 2021-08-18 19:07:54 -04:00
Dessalines
03a2b467ef
Remove content more (#372)
* Updating translations.

* Changing to remove content with tippy.

* Use title instead
2021-08-17 17:46:27 -04:00
5e5695c3ea Cleaning up scroll to comments 2021-08-11 21:06:54 -04:00
hammsvietro
3870703b12
Scroll to comments on post's x comments button (#312)
* scroll to comments on post's x comments button

* scrolls down to comments using url params
2021-08-11 21:00:26 -04:00
a4300d9624 Merge branch 'main' of https://github.com/LemmyNet/lemmy-ui 2021-07-31 15:41:57 -04:00
440d0f9156 Remove websocket connection messages. Fixes #355 2021-07-31 15:41:51 -04:00
e17a1da767 Center spinner, make smaller. Fixes #203 2021-07-31 15:41:21 -04:00
08d635c30e Fix font issues. Fixes #354 2021-07-31 15:40:22 -04:00
6994a3a691 Fix captcha replay issue. 2021-07-30 11:56:33 -04:00
782587b1a7 Fixing darkly danger color 2021-07-23 12:13:44 -04:00
Dessalines
1fd6bbc937
Have setting to disable notifs for new posts. Fixes #132 (#345) 2021-07-22 16:18:13 -04:00
e9896eb469 Revert "Update litely"
This reverts commit b7cffe8ac3.
2021-07-22 11:40:39 -04:00
Dessalines
199fc14daa
Remove max length constraints on actors. Fixes #350 (#351) 2021-07-22 11:39:33 -04:00
Dessalines
49d5810103
Fix captcha replay bug. Fixes #348 (#349) 2021-07-22 11:37:37 -04:00
Dessalines
cffdfab8eb
Removing community and user routes in favor of shortnames. Fixes #317 (#343) 2021-07-21 11:01:32 -04:00
Dessalines
79ce0e864a
Fix/front end helpers 1 (#346)
* Updating translations.

* Adding some descriptions to listing types. #341
2021-07-19 19:12:08 -04:00
055f7bb0db Don't use default subscribed for communities page. 2021-07-19 09:05:18 -04:00
Dessalines
5f8809c344
Adding Listing type to communities page, default local. #190 (#342) 2021-07-18 12:17:50 -04:00
48a6118173 Fix language bug on mobile browsers 2021-07-18 11:08:24 -04:00
Dessalines
3a593addfd
Collapse sidebar on mobile. Fixes #335 (#340) 2021-07-17 23:56:33 -04:00
Dessalines
eed07b66aa
Re-organized components folder. (#339)
* Fixing too many large spinners

* Re-organized components folder.

- Cleaned up spans. Fixes #173
- Fixes #320

* Fixing miscolored edit
2021-07-17 16:42:55 -04:00
Dessalines
2d8be72b33
Fixing too many large spinners (#337) 2021-07-17 16:21:31 -04:00
Dessalines
0774ea6372
Moving comment link to top bar. Fixes #307 (#336) 2021-07-17 12:59:00 -04:00
Dessalines
a0d9e5c672
Fix/ws error messages (#334)
* Updating translations.

* Translation updates

* Adding websocket error and reconnect toasts. Fixes #129
2021-07-17 11:38:28 -04:00
5f741b420a Make spinner bigger. Fixes #203 2021-07-17 00:24:12 -04:00
Dessalines
8902e15888
Merge pull request #330 from LemmyNet/update_darkly_colors_1
Update darkly, make danger darker. Fixes #16
2021-07-16 23:43:30 -04:00
74f1f07ab1 Fix preview description html. Fixes #110 2021-07-16 23:41:00 -04:00
b7cffe8ac3 Update litely 2021-07-16 21:44:17 -04:00
fae866e83b Update darkly, make danger darker. Fixes #16 2021-07-16 21:33:50 -04:00
0361b2c700 Always show previous paginator, extract paginator component.
- Fixes #304
2021-07-16 15:40:56 -04:00
Dessalines
0e25ced312
Merge pull request #322 from LemmyNet/fix/comment_collapse
Fix/comment collapse
2021-07-16 14:31:23 -04:00
Dessalines
535bdf36c2
Merge pull request #323 from LemmyNet/fix/page-refresh
Don't restore scroll position on page refresh. Fixes #186
2021-07-16 14:30:56 -04:00
Dessalines
b4bb672cc8
Merge pull request #321 from LemmyNet/fix/symbols_issue
Fix/symbols issue
2021-07-16 14:30:41 -04:00
Dessalines
98f88b8a26
Fix/multilang (#326)
* Adding a few missing langs.

* Remove unused extra language issue.

* Fix secondary languages. Fixes #265
2021-07-16 14:29:48 -04:00