Official Feliday web-app
Find a file
SleeplessOne1917 2b1af707c3
Use http client (#1081)
* Beginning work on websocket -> http client conversion.

* About 30% done.

* half done.

* more done.

* Almost passing lint.

* Passing lint, but untested.

* Add back in event listeners.

* Fixing some community forms.

* Remove webpack cache.

* fixing some more.

* Fixed ISOwrappers.

* A few more fixes.

* Refactor utils

* Fix instance add/remove buttons

* Not catching errors in isoWrapper.

* Wrap Http client

* Fixing up tagline and ratelimit forms.

* Make all http client wrapping be in one place

* Reworking some more forms.

* Upgrading lemmy-js-client.

* Fixing verify email.

* Fix linting errors

* Upgrading woodpecker node.

* Fix comment scrolling rerender bug.

* Fixing a few things, commenting out props for now.

* v0.18.0-beta.1

* Trying to fix woodpecker, 1.

* Trying to fix woodpecker, 2.

* Handroll prompt

* Add navigation prompt to other pages

* Fix prompt navigation bug

* Fix prompt bug introduced from last bug fix

* Fix PWA bug

* Fix isoData not working

* Fix search page update url

* Fix sharp issue.

* v0.18.0-beta.2

* Make create post pre-fetch communities

* Fix bug from last commit

* Fix issue of posts/comments not being switched when changing select options

* Fix unnecessary fetches on home screen

* Make circular icon buttons not look stupid

* Prevent unnecessary fetches

* Make login experience smoother

* Add PWA shortcuts

* Add related application to PWA

* Update translations

* Forgot to add post editing.

* Fixing site setup.

* Deploy script setup.

* v0.18.0-beta.4

* Sanitize again.

* Adding sanitize json function.

* Upping version.

* Another sanitize fix.

* Upping version.

* Prevent search nav item from disappearing when on search page

* Allow admin and mod actions on non-local comments.

* Fix mobile menu collapse bug

* Completely fix prompt component

* Fix undefined value checks in use_http_client_2 (#1230)

* fix: filter out undefined from posts

* fix: emoji initialisation passing undefined

* fix: || => ?? to be more explicit

* linting

---------

Co-authored-by: Alex Maras <alexmaras@gmail.com>

* Re-add accidentally removed state

* Fix dropdown bug

* Use linkEvent where appropriate

* Fix navigation warnings.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Alex Maras <dev@alexmaras.com>
Co-authored-by: Alex Maras <alexmaras@gmail.com>
2023-06-14 08:20:40 -04:00
.github issue templates in yml format (#1211) 2023-06-12 14:49:53 -04:00
.husky Extra lints (#192) 2021-02-21 21:24:09 -05:00
lemmy-translations@f45ddff206 Use http client (#1081) 2023-06-14 08:20:40 -04:00
src Use http client (#1081) 2023-06-14 08:20:40 -04:00
.babelrc Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.dockerignore Somewhat working dockerfile, without the networking. 2020-09-09 18:56:02 -05:00
.eslintignore Merge branch 'main' into nicer-error-hnadling 2023-05-23 23:07:23 +00:00
.eslintrc.json Use http client (#1081) 2023-06-14 08:20:40 -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 Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.prettierrc.json Adding Community Language fixes. #783 (#868) 2022-12-19 10:57:29 -05:00
.woodpecker.yml Use http client (#1081) 2023-06-14 08:20:40 -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 2023-06-02 22:25:40 -07:00
deploy.sh Use http client (#1081) 2023-06-14 08:20:40 -04:00
dev.dockerfile Fix things not working in production build 2023-05-14 23:45:21 -04:00
Dockerfile Fix things not working in production build 2023-05-14 23:45:21 -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 Use http client (#1081) 2023-06-14 08:20:40 -04:00
README.md Use http client (#1081) 2023-06-14 08:20:40 -04:00
test_deploy.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
tsconfig.json Lint fix (#1035) 2023-05-23 18:55:36 -04:00
update_translations.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
webpack.config.js Use http client (#1081) 2023-06-14 08:20:40 -04:00
yarn.lock Use http client (#1081) 2023-06-14 08:20:40 -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_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>.