No description
Find a file
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
.github Add codeowners. 2022-02-02 11:11:34 -05:00
.husky Extra lints (#192) 2021-02-21 21:24:09 -05:00
lemmy-translations@5c50ce3eba Make pages use query params instead of route params where appropriate (#977) 2023-04-15 10:47:10 -04:00
src Make pages use query params instead of route params where appropriate (#977) 2023-04-15 10:47:10 -04:00
.babelrc Somewhat working webpack. Sponsors and communities pages done. 2020-09-06 22:41:46 -05:00
.dockerignore Somewhat working dockerfile, without the networking. 2020-09-09 18:56:02 -05:00
.eslintignore Somewhat working webpack. Sponsors and communities pages done. 2020-09-06 22:41:46 -05:00
.eslintrc.json Upgrade inferno v8.0.0 try2 (#790) 2022-09-22 11:03:35 -04:00
.gitignore Partly functioning fuse-box, but moving te webpack now. 2020-09-06 11:15:25 -05:00
.gitmodules Test submodules (#6) 2020-09-10 15:22:21 -04:00
.prettierignore Multiple image upload (#971) 2023-04-04 08:40:00 -04:00
.prettierrc.json Adding Community Language fixes. #783 (#868) 2022-12-19 10:57:29 -05:00
.woodpecker.yml Add woodpecker ci (#964) 2023-03-26 21:59:33 -04:00
accessibility_tests.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
CONTRIBUTING.md Fix Contributing link 2021-07-16 09:55:58 -04:00
deploy.sh Add version to package.json . Fixes #411 2021-09-14 19:13:13 -04:00
dev.dockerfile Adding new site setup fields. (#840) 2022-11-09 14:53:07 -05:00
Dockerfile Cleanup docker builds (#829) 2022-10-21 15:28:18 -04:00
generate_translations.js I18 quality of life change (#973) 2023-04-03 09:28:56 -04:00
LICENSE Adding prettier 2020-08-23 00:04:58 -04:00
package.json Make pages use query params instead of route params where appropriate (#977) 2023-04-15 10:47:10 -04:00
README.md Documenting and changing a few env vars. Fixes #661 (#739) 2022-08-04 20:21:20 +02:00
test_deploy.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
tsconfig.json Removing monads. Fixes #884 (#886) 2023-01-04 11:56:24 -05:00
update_translations.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
webpack.config.js Try fixing crypto node bug. Fixes #473 (#474) 2021-11-03 12:57:13 -04:00
yarn.lock Make pages use query params instead of route params where appropriate (#977) 2023-04-15 10:47:10 -04:00

lemmy-ui

The official web app for Lemmy, written in inferno.

Based off of MrFoxPro's inferno-isomorphic-template.

Configuration

The following environment variables can be used to configure lemmy-ui:

ENV_VAR type default description
LEMMY_UI_HOST string 0.0.0.0:1234 The IP / port that the lemmy-ui isomorphic node server is hosted at.
LEMMY_UI_LEMMY_INTERNAL_HOST string 0.0.0.0:8536 The internal IP / port that lemmy is hosted at. Often lemmy:8536 if using docker.
LEMMY_UI_LEMMY_EXTERNAL_HOST string 0.0.0.0:8536 The external IP / port that lemmy is hosted at. Often DOMAIN.TLD.
LEMMY_UI_LEMMY_WS_HOST string 0.0.0.0:8536 An alternate location for lemmy's websocket address. Not usually necessary.
LEMMY_UI_HTTPS bool false Whether to use https.
LEMMY_UI_EXTRA_THEMES_FOLDER string ./extra_themes A location for additional lemmy css themes.
LEMMY_UI_DEBUG bool false Loads the Eruda debugging utility.
LEMMY_UI_DISABLE_CSP bool false Disables CSP security headers
LEMMY_UI_CUSTOM_HTML_HEADER string Injects a custom script into <head>.