Commit graph

93 commits

Author SHA1 Message Date
abias
025daaa582 Use node env instead of version for environment specific logic 2023-05-14 16:25:03 -04:00
abias
bcee6aad5b Set up logic for handling errors 2023-05-14 11:08:06 -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
Dessalines
c5fd084577
Using auto-generated types from ts-rs. (#1003)
* 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.
2023-05-11 14:32:32 -04:00
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
SleeplessOne1917
e947549cdc
I18 quality of life change (#973)
* I18 quality of life change

* Cleanup
2023-04-03 09:28:56 -04:00
Dessalines
6aa33e6809
Remove buggy navbar search. Fixes #921 (#950) 2023-02-21 15:52:12 -05:00
Dessalines
b64f47cfe9
Removing monads. Fixes #884 (#886)
* 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
2023-01-04 11:56:24 -05:00
Zachary Dunn
62139df0c3
Add id to App component (#880)
Fixes #204. There's already a style block for `#app` so this just sets the id so those styles are applied.
2022-12-22 16:54:52 -05:00
Dessalines
03045c2e04
Fix missing report shield. Fixes #842 (#855) 2022-11-17 18:59:49 -05:00
Dessalines
24548ccba8
Adding new site setup fields. (#840) 2022-11-09 14:53:07 -05:00
Rens Groothuijsen
b979e0a3a9
Search button and input style fixes (#825)
* Align search button style with other navbar buttons, disable search box when hidden, adjust search box size

* Align search button margin with other navigation bar buttons
2022-10-20 23:56:57 -04:00
umamawme
d412baf758
Change for container divs to container-lg (#813)
* Change for container divs to container-lg

* Apply container-lg to footer.tsx
2022-10-03 14:16:36 -04:00
Dessalines
dc62cab7e9
Adding private message reporting. Fixes #782 (#806) 2022-09-28 08:50:47 -04:00
Dessalines
c6e3a4213a
Hide create community (#787)
* Adding post and comment language tagging. Fixes #771

* Hiding create community button. Fixes #754
2022-09-22 11:14:58 -04:00
Dessalines
6320357d21
Upgrade inferno v8.0.0 try2 (#790)
* Upgrade non-breaking deps.

* Upgrade to Inferno v8. Fixes #731

* Upgrading inferno-i18next-dess
2022-09-22 11:03:35 -04:00
Dessalines
130748a0c3
Fix site setup and login. Fixes #699 (#702) 2022-06-27 16:50:47 -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
36297366fa
Legal info dess (#666)
* Add legal information (fixes #652)

* add legal_info field to SiteForm, add missing file

* Moving legal to SiteForm.

Co-authored-by: Felix Ableitner <me@nutomic.com>
2022-05-26 16:48:58 -04:00
Dessalines
f7dc1a52da
Fixing helmet theme bug. Fixes #628 (#629) 2022-04-15 21:22:57 +00:00
0619b162d6
Fix error during new site setup (#596)
* Fix error during new site setup

* remove logging
2022-03-14 20:11:21 +00:00
ada4b03615
Rename theme files from *.min.css to *.css (#590) 2022-03-03 12:55:26 -05:00
Dessalines
aef6a66824
Fixing custom theme issue. (#589) 2022-03-02 21:15:04 +00: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
c394ddcbad address review comments 2022-03-01 14:47:52 +01:00
0ab1777046 Add option to set site default theme (fixes #559) 2022-02-25 14:41:10 +01:00
2663e19fdc
Fix language names (#580)
* Fix language names

* Remove translations which are less than 70% completed, simplify localization code

* address review comment

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-02-18 19:34:11 +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
f410648e79
Switching to websocket-ts. #247 (#515) 2021-12-01 15:54:46 -05:00
b4837add6e Fixing nav-link 2021-11-15 13:13:36 -05:00
9f57f7dd78 Remove another touch end. 2021-11-12 12:31:56 -05:00
dayinjing
579c4424d9
Remove touch events
Remove touch events, it breaks clicking links on mobile
2021-11-11 20:33:56 -06:00
Dessalines
cd9bd19b7f
Navbar links (#476)
* Try using navbar links. Not working currently

* Updating using touch and mouse up events.

- Fixes #475
- Fixes #467
2021-11-05 16:34:35 -04:00
Dessalines
99c9a608d9
Simplifying getunreadcount. (#455) 2021-10-17 13:42:30 -04:00
Dessalines
06099fee8a
Reporting (#434)
* Updating translations.

* A first pass at reporting. Fixes #102
2021-09-28 10:38:59 +00:00
Dessalines
65be5c7833
Splitting login and signup pages. Fixes #386 (#431) 2021-09-19 16:31:17 -04:00
Dessalines
9a26d4bbdf
Fix logout bug. Fixes #391 (#424) 2021-09-18 17:23:11 -04:00
Dessalines
8f132f67fa
Fix up post, profile and community forms. Fixes #409 (#423) 2021-09-18 16:40:59 -04:00
Dessalines
a2aac813cf
Si simplifier (#418)
* Updating translations.

* Use a number simplifier for counts. Fixes #407
2021-09-18 12:35:49 -04:00
Dessalines
4b23b78efe
Use my fork of inferno-i18next. Fixes #413 (#415) 2021-09-18 10:27:49 -04:00
Dessalines
b27d982a7b
Feature/user community block (#362)
* Extracting user settings and profile page.

- Auto-collapsing dropdown and navbar on link clicks.
- Fixes #180

* Adding User and Community blocking. Fixes #295

- Added a new settings page.
- Switched to myUserInfo.
- Removing GetFollowedCommunities endpoint

* Fixing blocks
2021-08-19 22:56:18 -04:00
440d0f9156 Remove websocket connection messages. Fixes #355 2021-07-31 15:41:51 -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