Commit graph

56 commits

Author SHA1 Message Date
Dessalines
66540056fb
Updating types from main. (#349) 2024-09-18 23:21:57 -04:00
Dessalines
6cec6f044a
Restore content on unban (#278)
* Updating remove_or_restore_data field.

* 0.20.0-alpha.1

* 0.20.0-alpha.3

* 0.20.0-alpha.4
2024-09-18 09:38:55 -04:00
Dessalines
eb84a74b99
Sso support dess (#348)
* WIP Implemented OAuth

* Added OAUTH2 OIDC support

* update based on the latest changes in the lemmy repo PR

* updating types based on the latest changes in the Lemmy PR

* removed the auto_approve_application

* support registration application with sso

* update to reflect the changes in lemmy

* updated the latest types from main

---------

Co-authored-by: Anthony Lawn <thepaperpilot@gmail.com>
Co-authored-by: privacyguard <privacyguard@users.noreply.github.com>
2024-09-18 09:36:47 -04:00
SleeplessOne1917
8a65fc0ca5
0.19.6 update (#326)
* Generate types needed to use v0.19.6 API

* Add method for getting individual application
2024-08-03 09:45:37 -04:00
Dessalines
f0329b6d86
Updating changes from main before a 0.19.4 release. (#275) 2024-06-06 17:39:32 -04:00
Dessalines
9587670e33
Remove pointless integer annotations. #190 (#260) 2024-04-30 06:34:18 -04:00
Dessalines
d53af8c1cc
Adding LocalImageView. (#258)
* Adding LocalImageView.

* 0.19.4-alpha.17

* Removing local_user from LocalImageView.

* 0.19.4-alpha.18

* Upgrading to pnpm v9.0.1
2024-04-16 19:10:57 -04:00
Dessalines
5157c28aba
Add list media (#247)
* Adding listMedia, and a few more additions from main.

* 0.19.4-alpha.7

* Make local_user optional.

* Adding listAllMedia.

* 0.19.4-alpha.9

* Default param.

* 0.19.4-alpha.10

* Move list_media to /account/

* 0.19.4-alpha.12

* Adding other is_banned fields.

* 0.19.4-alpha.13

* Adding more from main.

---------

Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-03-26 18:36:20 -04:00
SleeplessOne1917
5566125d47
Add changes for PostView and CommentView (#252)
* Add changes for PostView and CommentView

* Re-add other types

---------
2024-03-23 21:49:46 -04:00
Dessalines
657c1f17f1
Reapply "Add URL blocklist (#245)" (#248) (#249)
This reverts commit e449cf84cf.
2024-03-15 08:50:18 -04:00
Dessalines
e449cf84cf
Revert "Add URL blocklist (#245)" (#248)
This reverts commit 8fd4367206.
2024-03-14 12:25:42 -04:00
flamingos-cant
8fd4367206
Add URL blocklist (#245)
* Add URL blocklist

* Regenerate blocklist.

* 0.19.4-alpha.8

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-03-13 17:43:31 -04:00
Dessalines
42874f0348
Adding vote display modes and other additions from main. (#246) 2024-03-13 15:40:53 -04:00
Dessalines
c89acdd8df
Add list media (#244)
* Adding listMedia, and a few more additions from main.

* 0.19.4-alpha.7
2024-03-06 00:49:47 +00:00
Dessalines
97a3b59e8a
Adding hide post. (#243)
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-03-01 17:05:36 -05:00
Dessalines
e24ef22b5a
Add alt text (#242)
* Adding post alt text.

* 0.19.4-alpha.5

* 0.19.4-alpha.6
2024-03-01 04:03:37 +00:00
SleeplessOne1917
0ac3c0adc4
Bring in banned_from_community and other type changes (#239)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-02-19 12:28:35 -05:00
Dessalines
83a1c677ae
Updating types from lemmy main branch. (#234) 2024-01-24 15:38:46 -05:00
f2868f31de
Integrate changes from lemmynsfw fork (#232)
See https://github.com/LemmyNet/lemmy/pull/4393
2024-01-23 07:44:58 -05:00
Dessalines
fcee76937b
Adding back newest_comment_time to PostAggregates (#227)
Context: https://github.com/LemmyNet/lemmy/issues/4351

Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-01-10 11:12:39 -05:00
d5c2fca01c
API changes for local-only community (#228)
https://github.com/LemmyNet/lemmy/pull/4350

Please push to npm for writing api tests.
2024-01-08 12:30:44 +00:00
Dessalines
81684bc84e
Adding admin view votes. (#225)
* Adding admin view votes.

* Forgot to add endpoints.

* v0.19.2-alpha.1
2024-01-03 18:54:56 +00:00
İsmail Karslı
79b59ecd21
Add subscribers_local to community aggregates (#226)
* Add local_subscribers field to CommunityAggregates

* Move local_subscribers field to match backend order

* Rename local_subscribers to subscribers_local
2023-12-28 20:23:18 +00:00
Dessalines
f759fc3583
Revert "Add local_subscribers field to CommunityAggregates (#221)" (#223)
This reverts commit ff7dec8cd1.
2023-12-18 11:11:41 -05:00
İsmail Karslı
ff7dec8cd1
Add local_subscribers field to CommunityAggregates (#221)
* Add local_subscribers field to CommunityAggregates

* Move local_subscribers field to match backend order
2023-12-15 20:16:18 -05:00
Dessalines
f36360cab2
Adding an error type. (#220) 2023-12-13 10:41:14 -05:00
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
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
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
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
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
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
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
Dessalines
8fa91b55bb
Add open links in new tab. (#160) 2023-07-03 18:38:57 -04:00
39d27b04d0 Add show_nsfw community sort. 2023-06-29 16:56:27 -04:00
Dessalines
ef5609dec9
Adding additional post sorts. (#153) 2023-06-26 16:34:43 -04: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