Commit graph

26 commits

Author SHA1 Message Date
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
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
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
Dessalines
df31cb53cb
Documenting and changing a few env vars. Fixes #661 (#739) 2022-08-04 20:21:20 +02:00
Dessalines
3e7579b8bb
Fixing CSP for iOS devices. Fixes #669 (#678) 2022-06-01 16:43:54 +00: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
0da5fb9623
Move lemmy.ml signup message to top of registration page (#554)
* Move lemmy.ml signup message to top of registration page

* Fix warning css class, fix message padding
2022-01-27 13:44:08 -05:00
Dessalines
bf93e29f4c
Adding JWT secure flag. (#426)
- Couldn't add samesite due to isomorphic library.
- Couldn't add httponly, because the js needs it for calls.
- Fixes #389
2021-09-18 17:59:28 -04:00
a136d064ae Fix httpBase 2021-04-26 15:32:59 -04:00
9d8123eb7d Updating to use api v3 lemmy-js-client. 2021-03-29 13:20:22 -04:00
e3a337fb23 Running newer prettier. 2021-02-21 21:39:04 -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
368d4199a5 Actually sending ws requests, some other fixes. 2020-12-24 17:05:57 -05:00
1e468ab671 Upgrading deps, moving to webpack 5 2020-10-24 12:12:13 -05:00
300a8467c8 Fix issue with env.ts 2020-10-14 14:37:25 -05:00
ecb54ed43d Fix httpBase adding a : . Fixes #56 2020-10-13 15:43:05 -05:00
538965cad0 Fix pictrs fetch url to use https 2020-09-15 12:54:10 -05:00
3d9f8ed9f9 Adding some logging. 2020-09-15 10:55:38 -05:00
124219b253 Trying out ignoring secure for httpBase. #13 2020-09-15 10:26:59 -05:00
8dd3697d38 Adding https flag. Fixes #7 2020-09-11 21:37:27 -05:00
89d15c9d09 Adding opengraph tags. Fixes #5 2020-09-11 13:09:21 -05:00
fce2d73958 Trying to fix picture uploads. 2020-09-10 22:19:43 -05:00
1ab6f90599 Fixing docker
Adding service worker
Adding a sigint
2020-09-10 11:39:01 -05:00
beb41bb76c Upgrading deps, cleaning up package.json. 2020-09-09 17:07:58 -05:00
241ef72290 Somewhat working webpack. Sponsors and communities pages done. 2020-09-06 22:41:46 -05:00
2eee936026 Partly functioning fuse-box, but moving te webpack now. 2020-09-06 11:15:25 -05:00