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).
* 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
* 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.
* 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
* 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
* 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
* 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
* 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.