Commit graph

176 commits

Author SHA1 Message Date
Dessalines
5859830ad9
Adding creator_is_admin to various views. (#215)
- Backend PR: https://github.com/LemmyNet/lemmy/pull/4165
2023-11-22 09:58:05 -05:00
8f4860c01b
Properly handle pictrs delete image response (#214) 2023-11-15 08:37:40 -05:00
8d2364559d
Remove separate auth params for image endpoints (#212)
These use the same header/cookie auth now as all other api endpoints,
so there is no reason for separate auth param.
2023-11-14 13:26:25 -05:00
Dessalines
6f0fab6d7d
Adding changes from lemmy, mainly removing aggregate ids. (#211) 2023-11-13 19:41:44 +00:00
Dessalines
09c10493a9
Adding creator is moderator (#210)
* Adding creator_is_moderator to CommentReplyView and PersonMentionView.

* v0.19.0-alpha.16
2023-11-03 09:56:21 -04:00
Dessalines
991af27e42
Updating types from lemmy. (#209) 2023-10-31 09:00:44 -04:00
c47102bfb1
Add logout endpoint (fixes #206) (#208) 2023-10-31 08:44:04 -04:00
ArseniyGl
79710354bd
#186 wrap bare strings to Error object (#207)
Co-authored-by: Arseniy Golushkov <ars@MacBook-Pro-Arseniy.local>
2023-10-26 11:56:24 -04:00
Maarten Vercruysse
e65588ae3e
Fix other successResponses (#204)
* Fix other successResponses

* Remove remnants

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-21 08:44:04 -04:00
TheBrokenRail
6c7030cb13
Fix updateTotp Type Information (#205) 2023-10-20 20:55:23 -04:00
Maarten Vercruysse
a616cf017d
Fix MarkPostAsRead, wrong response (#203) 2023-10-20 18:00:59 -04:00
Dessalines
24eed9e7be
Adding mark multiple posts as read, and other API changes. (#201)
* Adding mark multiple posts as read, and other API changes.

* v0.19.0-alpha.10

* Adding animated_images boolean.

* v0.19.0-alpha.11

* Updating successresponses.

* v0.19.0-alpha.12

* Adding a few missing routes.

* Revert "Updating successresponses."

This reverts commit 6de51027d4.

* v0.19.0-alpha.13

* update before rc.3.
2023-10-19 20:22:35 -04:00
Dessalines
b58fbb51e0
Regenerating types from main. (#197) 2023-10-09 12:42:35 -04:00
Dessalines
140c756ea2
Adding deleteImage endpoint. Fixes #193 (#196) 2023-10-04 17:36:41 -04:00
Dessalines
b4f1bbcd63
Add totp token (#192)
* Adding new TOTP generate and update methods. Fixes #191

* Fix husky mode.
2023-09-27 14:55:29 +00:00
maarten.vercruysse
20587370ab Fix conflict issues 2023-09-26 18:40:22 +02:00
Maarten Vercruysse
a4d56f1133
Merge branch 'main' into add_int_visibility 2023-09-26 13:24:06 +02:00
Dessalines
ab7af88a2b
Removing auth and useless interfaces. (#181)
* Removing auth and useless interfaces.

* v0.19.0-rc.8

* v0.19.0-rc.10

* Changing jwt cookie to auth.

* Adding a few types merged from main.

* v0.19.0-rc.11

* Adding blockInstance fn.

* v0.19.0-rc.12
2023-09-25 21:47:28 -04:00
maarten.vercruysse
8f9fe6e435 type changes 2023-09-23 01:13:26 +02:00
SleeplessOne1917
61d4dbabea
Merge branch 'main' into add_community_hide 2023-09-18 19:47:24 -04:00
576b4b85d9 Adding a set header function. 2023-09-18 18:46:53 -04:00
51b17fe7f9 Adding hide community. Fixes #183 2023-09-18 18:08:34 -04:00
Dessalines
4439d22157
Adding block instance. (#178)
* Adding block instance.

- https://github.com/LemmyNet/lemmy/pull/3869

* v0.19.0-rc.4

* Forgot to add types.

* v0.19.0-rc.5

* Fixing optional site issue.
2023-09-06 08:28:00 -04:00
973b255c82 Updating moderator_view. 2023-08-29 15:53:23 -04:00
biosfood
981c866930 change moderator view to be a listing type 2023-07-31 12:01:53 +02:00
Dessalines
c77ee9ee16
Adding some additions from main. (#171) 2023-07-26 15:23:11 -04:00
SleeplessOne1917
b5355233fd
Generate error enum types (#161)
* Generate error enum types

* Remove unnecessary newline

* Catch errors not covered by LemmyErrorType

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-17 11:37:53 -04:00
SleeplessOne1917
ef5757dab5
Merge branch 'main' into update_prettier_3_0_0 2023-07-14 20:46:40 +00:00
Domenic Horner
0c1483f9fd
changes for blur_nsfw/auto_expand (#162)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-12 08:55:29 -04:00
Dessalines
120d1e8103
Adding moderator_view to GetPosts. (#166) 2023-07-12 08:37:57 -04:00
33519b2be7 Upgrade prettier. 2023-07-12 08:37:34 -04:00
Dessalines
8fa91b55bb
Add open links in new tab. (#160) 2023-07-03 18:38:57 -04:00
Sander Saarend
d497a1efea
Handle 413 response on image uploads (#154)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-03 17:59:54 -04:00
39d27b04d0 Add show_nsfw community sort. 2023-06-29 16:56:27 -04:00
SleeplessOne1917
f577df0a07
Make fetch function optional (#148) 2023-06-26 18:35:23 -04:00
Dessalines
ef5609dec9
Adding additional post sorts. (#153) 2023-06-26 16:34:43 -04:00
Cavanaugh Richards
b5fdfa6513
Add default object to client functions where the form data or query is optional 2023-06-23 12:16:57 -05:00
Cavanaugh Richards
9b73693910
Run prettier 2023-06-23 12:16:57 -05:00
Cavanaugh Richards
ea8cab69f4
Add default value to encodeGetParams body type param.
Fixes #146
2023-06-23 12:16:56 -05:00
Dessalines
4553c749cb
Removing websocket. (#145) 2023-06-21 11:40:11 -04:00
Ivo Barros
3a2a645487 add ending empty line 2023-06-20 22:37:59 +01:00
Ivo Barros
6b603d42b7
Merge branch 'main' into hour-sort-types 2023-06-20 22:26:29 +01:00
Ivo Barros
27d84695a2 Add Hour Sort types 2023-06-20 22:24:54 +01:00
SleeplessOne1917
389772ea75
Merge branch 'main' into custom-fetchinator 2023-06-20 17:59:05 +00:00
Dessalines
4116422023
Adding some 0.18.0 changes. (#138) 2023-06-16 10:30:50 -04:00
SleeplessOne1917
6e1c4162d1
Merge branch 'main' into custom-fetchinator 2023-06-15 15:50:20 +00:00
Gingka/Ginger Pepper
6ea0d653c4
DERP, forgot to actually set #fetchFunction 2023-06-14 21:45:11 -04:00
Gingka/Ginger Pepper
802bbeda1b
remove trailing slashes from instance url 2023-06-14 15:22:11 -04:00
Gingka/Ginger Pepper
44288b92ee
add support for a custom fetch function (closing #2) 2023-06-14 15:08:52 -04:00
22b0777f51 Add taglines to site response. 2023-06-06 09:06:58 -04:00