Commit graph

300 commits

Author SHA1 Message Date
SleeplessOne1917 c311bca8d2
Merge branch 'main' into nicer-error-hnadling 2023-05-23 12:07:08 +00: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
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
Dessalines 6ac5435fe9
Upgrade lemmy-js-client to work with bigints. Fixes #1018 (#1022) 2023-05-15 14:39:11 -04:00
abias dbee2533a2 Fix things not working in production build 2023-05-14 23:45:21 -04:00
SleeplessOne1917 2d7c7664ee
Update JS client to version with fixed JSON serialization (#1017) 2023-05-13 13:36:36 -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 f7ace27477
Upgrading deps. (#1004) 2023-05-11 13:06:32 -04:00
Dessalines 457187693f
Prettier css (#995)
* Add prettier lint for css and scss files.

* Fixing eslint issue.

* Run prettier
2023-05-03 22:09:27 -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
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
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
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 1f15ea5aa8 Add Custom Emoji Support 2023-02-26 11:22:05 -06:00
Dessalines 7e17998777
Upgrading deps (#951) 2023-02-21 16:15:13 -05:00
Dessalines b0755bc010
Adding reports send email to admins option (#932) 2023-02-16 21:07:22 -05:00
Dessalines 5151b7c307 v0.17.1 2023-02-03 09:38:57 -05:00
Dessalines 6cca9a9874 v0.17.0 2023-01-31 08:30:44 -05:00
Dessalines 4e21230cfa v0.17.0-rc.4 2023-01-30 22:38:25 -05:00
Dessalines 8a37db56f3 Upgrading deps. 2023-01-30 22:37:48 -05:00
Dessalines a4548ebe89 v0.17.0-rc.3 2023-01-26 09:08:41 -05:00
Dessalines 7da39246ce v0.17.0-rc.2 2023-01-18 22:42:53 -05:00
Dessalines bc2910edbe
Fixing requireapplication string. (#895) 2023-01-18 22:23:07 -05:00
Dessalines 26aed2b1e5 v0.17.0-rc.1 2023-01-06 08:34:19 -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
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 765ed9549a
Dont render images in tippy. Fixes #776 (#864) 2022-11-18 21:02:38 -05:00
Dessalines 24548ccba8
Adding new site setup fields. (#840) 2022-11-09 14:53:07 -05:00
Dessalines a4edfd11f9
Strip html from og descriptions. Fixes #830 (#831) 2022-10-21 20:14:53 +00:00
Dessalines 4983cb82b5
Cleanup docker builds (#829)
* Making docker builds smaller. Fixes #828

* Running sortpack
2022-10-21 15:28:18 -04:00
Dessalines ef28f3c4d9 Updating translations. 2022-09-28 22:39:25 -04:00
Dessalines dc62cab7e9
Adding private message reporting. Fixes #782 (#806) 2022-09-28 08:50:47 -04:00
Dessalines 80be834867
Adding new unread comments. (#749) 2022-09-27 15:42:24 -04: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 c9620af5de Upgrading deps 2022-08-17 19:34:06 -04:00
Dessalines 3bf1cc2797
Adding mod / admin distinguish. (#744) 2022-08-17 19:26:50 -04: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 49ceb00dc8
Upgrading deps (#732) 2022-07-30 05:44:10 +02:00
Dessalines 2afcdf0759
Fix community filtering. (#729) 2022-07-29 23:37:20 -04:00
Dessalines 0c5bc518ee
Fixing linkify GC crash. (#715) 2022-07-14 17:52:14 +00: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
Dessalines 9f9b9ca115 v0.16.5 2022-05-30 18:31:52 -04:00
Dessalines fcf0df4f36 Using correct lemmy-js-client version. 2022-05-26 18:38:09 -04:00
Dessalines 4730fe618b Revert "Fix lint"
This reverts commit 29bdd3bafd.
2022-05-26 18:36:34 -04:00
Dessalines 023cb78594 v0.16.4-rc.10 2022-05-26 15:00:49 -04: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 2274f51e8d
Adding site sidebar for remote communities. Fixes #626 (#640) 2022-04-28 22:42:15 +02:00
Dessalines 2c97b3d050
Upgrading deps (#637) 2022-04-27 18:24:19 +00:00
Dessalines de5552f870 v0.16.3 2022-04-08 10:19:10 -04:00
Dessalines 4eecc294a8 v0.16.3-rc.2 2022-04-08 09:52:36 -04:00
Dessalines 052438f39a v0.16.3-rc.1 2022-04-08 09:31:54 -04:00
Dessalines a15c9d0793 v0.16.2 2022-03-29 12:53:44 -04:00
Dessalines 068c154f3d v0.16.2-rc.3 2022-03-29 12:39:57 -04:00
Dessalines 2d8532ca0b
Upgrade deps (#604) 2022-03-29 16:39:30 +00:00
Dessalines 4255514919 v0.16.1 2022-03-15 17:23:48 -04:00
Dessalines daabd398ee v0.16.1-rc.1 2022-03-15 16:51:09 -04:00
Dessalines ac2b49f904 v0.16.0 2022-03-08 13:44:08 -05:00
Dessalines 2a381c7616 v0.16.0-rc.3 2022-03-07 18:58:40 -05:00
Dessalines 18ab0732cc v0.16.0-rc.2 2022-03-03 14:38:46 -05:00
Dessalines a71d4d5981 v0.16.0-rc.1 2022-03-02 12:40:13 -05:00
Dessalines 20207bd599 Upping lemmy-js-client version. 2022-03-01 11:57:09 -05:00
Felix Ableitner 0ab1777046 Add option to set site default theme (fixes #559) 2022-02-25 14:41:10 +01: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 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 cd4f97593b
Add markdown footnotes. Fixes #561 (#562) 2022-02-02 09:53:09 -05:00
Dessalines 5c93406199 v0.15.2 2022-01-27 14:01:22 -05:00
Dessalines e94d14ca48 v0.15.2-rc.1 2022-01-27 13:47:49 -05:00
Dessalines cd338b081b v0.15.1 2022-01-12 09:44:59 -05:00
Dessalines 5ad51adc2f v0.15.0 2022-01-12 08:46:43 -05:00
Dessalines 4abcd45550 Upgrading deps 2022-01-12 08:46:21 -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 656f023a06 v0.15.0-rc.7 2022-01-09 12:59:20 -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 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 c7a0741978 v0.14.5 2021-12-09 09:51:55 -05:00
Dessalines 3c1ec1b311 v0.14.5-rc.2 2021-12-09 09:36:23 -05:00
Dessalines 96499991a0 Upgrading deps 2021-12-06 14:58:03 -05:00
Dessalines f0f97f2eb6 Upgrade deps 2021-12-01 16:05:48 -05:00
Dessalines f410648e79
Switching to websocket-ts. #247 (#515) 2021-12-01 15:54:46 -05:00
Dessalines ece262993a
Fix docker latest (#510)
* Testing out docker:latest.

* v0.14.4-rc.1

* Try 2

* v0.14.4-rc.2

* Try 3

* v0.14.4-rc.3
2021-11-25 12:15:22 -05:00
Dessalines c0741e403b v0.14.3 2021-11-23 14:38:30 -05:00
Dessalines c81d18f68d v0.14.2 2021-11-23 11:46:52 -05:00
Dessalines 8727551ab4 v0.14.2-rc.1 2021-11-23 11:11:09 -05:00
Dessalines 9e1706690a Upgrading deps 2021-11-23 09:33:49 -05:00
Dessalines b133406568 v0.14.1 2021-11-17 16:24:16 -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 b167deeebf v0.14.0 2021-11-17 11:25:47 -05:00
Dessalines e4988cdb6a v0.14.0-rc.2 2021-11-17 09:12:56 -05:00
Dessalines 8e424a3f06 Upgrade deps 2021-11-15 13:16:48 -05:00
Dessalines a824c5b04f Upgrade deps 2021-11-12 12:33:15 -05:00
Dessalines 100d91c9b6 v0.14.0-rc.1 2021-11-11 14:58:29 -05:00
Dessalines 87aa08db2d v0.13.6-rc.2 2021-11-08 10:27:47 -05:00
Dessalines 8356ece70e
Try fixing crypto node bug. Fixes #473 (#474)
* Try fixing crypto node bug. Fixes #473

* v0.13.6-rc.1
2021-11-03 12:57:13 -04:00
Dessalines 5fb0cdc5b5
Using i18next compatibility v3 (#465) 2021-10-18 20:42:24 -04:00
Dessalines cf69754cab
Revert version of i18next to fix plurals. Fixes #451 (#460) 2021-10-17 21:44:56 -04:00
Dessalines 99c9a608d9
Simplifying getunreadcount. (#455) 2021-10-17 13:42:30 -04:00
Dessalines bcd6d3a078 Force husky install 2021-10-04 10:51:38 -04:00
Dessalines 0b3d7fbde4
Add honeypot for user and form creation. Fixes #433 (#435) 2021-10-01 10:19:47 -04:00
Dessalines 3afdbdb941 v0.13.0 2021-09-29 16:05:00 -04:00
Dessalines 68badab1a3 Upgrade deps 2021-09-29 16:01:51 -04:00
Dessalines af3d2d0192 Upgrading deps 2021-09-28 12:22:46 -04:00
Dessalines e8eaa9a4bb v0.13.0-rc.1 2021-09-28 10:57:03 -04:00
Dessalines 06099fee8a
Reporting (#434)
* Updating translations.

* A first pass at reporting. Fixes #102
2021-09-28 10:38:59 +00: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 ba07aa3126
Upgrading deps (#422) 2021-09-18 15:53:34 -04:00
Dessalines 28b848ce2c
Adding markdown audio and video embeds. Fixes #420 (#421) 2021-09-18 15:44:39 -04:00
Dessalines 4b23b78efe
Use my fork of inferno-i18next. Fixes #413 (#415) 2021-09-18 10:27:49 -04:00
Dessalines ebe4ecd9f4 v0.12.2 2021-09-14 19:12:05 -04:00
Dessalines 11b8171fde Upgrading to lemmy-js-client 0.12.0 2021-09-03 09:11:34 -04:00
Dessalines f695b9316d Using 0.12.0-rc.1 2021-08-25 12:57:40 -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 1ab899be2a upgrade deps. 2021-08-21 15:51:53 -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 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
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 be3480dacb Upgrade deps 2021-07-16 09:54:48 -04:00
Dessalines 15eb832606
Upgrading deps. (#294)
* Upgrading deps.

* Upgrading deps again
2021-06-03 12:05:59 -04:00
Dessalines d174b53876 Upgrading lemmy-js-client. 2021-04-27 10:29:17 -04:00
Dessalines 440d0c9b77
Merge pull request #277 from LemmyNet/feature/mark_post_as_read
Add show read posts option. Fixes #276
2021-04-25 14:35:40 -04:00
Dessalines 277b451ce0 Add show read posts option. Fixes #276 2021-04-24 18:19:48 -04:00
Dessalines fbc51735f2 Upgrading deps. 2021-04-24 00:17:25 -04:00
Dessalines a93c7d93ee Adding only admins can create communities. Fixes #268 2021-04-23 23:55:51 -04:00
Dessalines affae3d67f Adding bot acct settings. Fixes #242 2021-04-23 23:19:59 -04:00
Dessalines d43f22ede5 Adding site desc. Fixes #266 2021-04-23 18:26:36 -04:00
Dessalines 55e53582aa
Adding listing_type to search. #143 (#264)
* Adding listing_type to search. #143

* Adding async community searching. Fixes #262

* Some search additions.

- Adding an async community picker.
- Adding community_id to search page.

* Adding creator search.

* Accidentally removed line.
2021-04-23 17:48:31 -04:00
Dessalines 6f1fb6b3bf Showing / hiding scores based on setting. Fixes #241 2021-04-09 12:23:30 -04:00
Dessalines 7ebb96e608 Moved ChangePassword to its own action.
- Fixes #246
- Changing preferred to display_name. Fixes #243
- Fixing a drone issue
2021-04-08 21:59:34 -04:00
Dessalines b94d3afb84 Updating translations. 2021-04-07 12:09:02 -04:00
Dessalines 9d8123eb7d Updating to use api v3 lemmy-js-client. 2021-03-29 13:20:22 -04:00
Dessalines 7430d3045c Updating deps 2021-03-25 15:18:19 -04:00
Dessalines b830c0f60e Some fixes.
- Use ISO-630 library for native language names
- Add sr-only to svg tooltips. Fixes #218
- Change support link and icon.
2021-03-25 11:20:54 -04:00
Dessalines a2d0aa8824 Fixing saved_only 2021-03-23 18:58:13 -04:00
Dessalines 62a6e82e9b New fixes. 2021-03-23 18:40:49 -04:00