Commit graph

69 commits

Author SHA1 Message Date
Dessalines
920a35383b
Disable CSP when in debug mode. (#743) 2022-08-16 20:39:09 +00:00
Dessalines
df31cb53cb
Documenting and changing a few env vars. Fixes #661 (#739) 2022-08-04 20:21:20 +02:00
b12c606982
Change CSP rule for connect-src (websocket) to wildcard (fixes #730) (#737) 2022-08-03 17:33:17 -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
Dessalines
3e7579b8bb
Fixing CSP for iOS devices. Fixes #669 (#678) 2022-06-01 16:43:54 +00:00
Dessalines
e467b22ae0
Commenting out csp headers, since it broke iOS devices. Fixes #669 (#675) 2022-05-30 22:30:42 +00:00
Dessalines
fcb85efb19
Use LEMMY_UI_DEBUG for development mode. (#644) 2022-05-26 16:48:36 -04:00
Dessalines
c8869174e8
Add LEMMY_UI_CUSTOM_SCRIPT env var. Fixes #655 (#656)
* Add LEMMY_UI_CUSTOM_SCRIPT env var. Fixes #655

* Change name to LEMMY_UI_CUSTOM_HTML

* Change name to LEMMY_UI_CUSTOM_HTML_HEADER
2022-05-25 03:33:11 +00: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
b77689ebd1
Set content security policy http header for all responses (#621)
* Set content security policy http header for all responses

* add unsafe-eval

* fix websocket debug
2022-05-06 03:12:42 +00:00
Dessalines
6b53ae7f62
Adding litely-red and darkly-red themes. (#636) 2022-04-27 19:10:58 +00:00
Dessalines
35f1e06222
Adding a LEMMY_UI_DEBUG flag for eruda debugging (#624) 2022-04-13 15:33:00 +00:00
Dessalines
7d8843902a
Revert "Set content security policy http header for all responses (#608)" (#613)
This reverts commit f1c5c60c76.
2022-04-08 13:52:16 +00:00
f1c5c60c76
Set content security policy http header for all responses (#608) 2022-04-07 21:01:55 +00:00
Dessalines
6bd4ed4791
Remove auth token from error message. Fixes #600 (#601) 2022-03-24 20:34:04 +00:00
ada4b03615
Rename theme files from *.min.css to *.css (#590) 2022-03-03 12:55:26 -05: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
Dessalines
a406a87146
Don't redirect on server error. Fixes #570 (#582) 2022-02-17 18:08:13 +00: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
e976c45f88
Using console.error for error logs. (#517) 2021-12-02 11:46:32 -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
890239972f Fixing lint, adding a few endpoints. 2021-09-06 10:25:48 -04:00
mahanstreamer
c1001f602a
Add robots.txt file 2021-09-05 18:34:40 -04:00
48a6118173 Fix language bug on mobile browsers 2021-07-18 11:08:24 -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
b4bb672cc8
Merge pull request #321 from LemmyNet/fix/symbols_issue
Fix/symbols issue
2021-07-16 14:30:41 -04:00
Dessalines
8cf1efbcb7
Adding a few missing langs. (#325)
* Adding a few missing langs.

* Remove unused extra language issue.
2021-07-16 14:29:22 -04:00
1a4db014d7 Fix symbols issue. Fixes #319 2021-07-16 12:51:54 -04:00
a136d064ae Fix httpBase 2021-04-26 15:32:59 -04:00
6cec37322a Using LEMMY_UI_HOST 2021-03-29 21:46:42 -04:00
e152b353d7 Fixing lemmy-ui default port. 2021-03-29 21:17:19 -04:00
9d8123eb7d Updating to use api v3 lemmy-js-client. 2021-03-29 13:20:22 -04:00
Stefan Midjich
1f9a721a67
Set listen host and port with environment variables (#229)
* take host and port from environment

* force Number for lint to pass
2021-03-29 11:35:32 -04:00
159e3a0035 Fixing custom favicons. Fixes #220 2021-03-25 11:58:29 -04:00
45445fe0a3 Fixing an issue with incorrect jwts 2021-03-15 16:54:17 -04:00
440fda9d51 user_ -> person table migration. 2021-03-15 14:09:31 -04:00
e3a337fb23 Running newer prettier. 2021-02-21 21:39:04 -05:00
Dessalines
ee77f700b3
Extra lints (#192)
* Updating deps, fixing lints.

* Downgrading broken husky.

* Trying to upgrade husky to v5

* Trying a bad lint.

* Trying a bad lint 2.

* Trying a bad lint 3.

* Adding prettier.
2021-02-21 21:24:09 -05:00
Mischa Spiegelmock
99c7966200
Make WS host configurable (#167)
* Make WS host configurable

* indent

* Type fixes

* Type lemmyConfig

* typo

* Move lemmy config to interfaces.ts
2021-02-12 12:54:35 -05:00
b754a50dff Trying to fix manifest csp. 2021-01-24 13:52:52 -05:00
368d4199a5 Actually sending ws requests, some other fixes. 2020-12-24 17:05:57 -05:00
ea317af269 First pass at v2_api 2020-12-23 20:58:27 -05:00
9853369a08 Fix safari websocket bug. 2020-12-03 07:59:59 -06:00
c772da06fe Fixing CSP 2020-12-02 08:40:51 -06:00
fc2044580d Remove inline javascript. Fixes #83 2020-12-01 12:37:15 -06:00
7ebcb0563b Fixing CSP for local dev 2020-11-25 15:06:38 -05:00
235a6f2abe Adding a content security policy. Fixes #20 2020-11-23 11:41:57 -06:00
e86cd3eddb Copy forward-headers from nginx to local node-fetch. Fixes #73 2020-11-12 15:56:46 -06:00
ebe60406be Forwarding error code to 404 page. 2020-11-10 16:45:59 -06:00
d05001cb13 Fetching site data first to get UserService / my_user. Fixes #66 2020-11-10 15:50:23 -06:00