Commit graph

128 commits

Author SHA1 Message Date
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
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
3143788d19 Changing all bigints to numbers 2023-05-15 15:53:29 -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
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
4499579380 Merge branch 'custom-emojis' of https://github.com/makotech222/lemmy-ui into makotech222-custom-emojis 2023-03-27 12:49:46 -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
1f15ea5aa8 Add Custom Emoji Support 2023-02-26 11:22:05 -06:00
Dessalines
b0755bc010
Adding reports send email to admins option (#932) 2023-02-16 21:07:22 -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
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
b8755f83d6
Make sure user is logged in for site creation. Fixes #838 (#858) 2022-11-17 19:20:25 -05:00
Dessalines
24548ccba8
Adding new site setup fields. (#840) 2022-11-09 14:53:07 -05:00
Dessalines
309c93e918
Fix admin default listing type. Fixes #797 (#818) 2022-10-21 15:27:59 -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
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
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
00790a344a
Fix private instance setting. Fixes #769 (#786) 2022-09-21 10:05:54 -04:00
c2f628312f Updating translations. 2022-08-17 19:28:40 -04:00
Anon
a8ab4e0558 Add support for filtering mod logs 2022-08-07 10:26:27 -05: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
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
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
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
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
2274f51e8d
Adding site sidebar for remote communities. Fixes #626 (#640) 2022-04-28 22:42:15 +02:00
Dessalines
2d1111fa74
Fixing initial loading of admin page. Fixes #635 (#638) 2022-04-27 19:09:36 +00:00
Dessalines
47a0b8d4b9
Adding sidebar and subscribed collapse. Fixes #609 (#622) 2022-04-15 16:21:57 +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
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
ea33553f65
Forgot to remove testing line. (#565) 2022-02-02 09:53:31 -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
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
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
Kradyz
df79492c4d
Update signup.tsx (#525) 2021-12-15 10:19:20 -05:00
Dessalines
324682b154
Fix tippy on component mount. Fixes #509 (#511) 2021-11-25 12:40:48 -05:00
d6f651568b A few fixes. 2021-11-22 15:04:20 -05:00
Dessalines
387f474b09
Fix setup password. Fixes #478 (#484) 2021-11-16 09:46:22 -05: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
0b3d7fbde4
Add honeypot for user and form creation. Fixes #433 (#435) 2021-10-01 10:19:47 -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
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
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
4b23b78efe
Use my fork of inferno-i18next. Fixes #413 (#415) 2021-09-18 10:27:49 -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
6994a3a691 Fix captcha replay issue. 2021-07-30 11:56:33 -04:00
Dessalines
1fd6bbc937
Have setting to disable notifs for new posts. Fixes #132 (#345) 2021-07-22 16:18:13 -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
79ce0e864a
Fix/front end helpers 1 (#346)
* Updating translations.

* Adding some descriptions to listing types. #341
2021-07-19 19:12:08 -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