Commit graph

227 commits

Author SHA1 Message Date
42bac94699 fix null 2024-12-13 15:37:28 +01:00
ed90884fdd rename params 2024-12-13 14:44:34 +01:00
b68dd9df8c rename 2024-12-13 13:01:28 +01:00
3185b36867 fix 2024-12-13 12:49:22 +01:00
c862bd816e Rework image api 2024-12-13 12:47:46 +01:00
792bed9a01
Changes for api v4 (#410)
* Instance blocks with mod log entry and expiration

* 0.20.0-instance-blocks.0

* fix methods

* 0.20.0-instance-blocks.1

* remove params

* 0.20.0-instance-blocks.2

* pass domain

* 0.20.0-instance-blocks.3

* add file

* 0.20.0-instance-blocks.4

* pass instance domain

* 0.20.0-instance-blocks.5

* Changes for api v4

* 0.20.0-api-v4.0

* 0.20.0-api-v4.1

* remove param

* 0.20.0-api-v4.2

* remove GetSiteResponse.my_user

* 0.20.0-api-v4.3

* 0.20.0-api-v4.4

* fix path

* 0.20.0-api-v4.5

* fix path

* 0.20.0-api-v4.6

* 0.20.0-api-v4.7

* 0.20.0-api-v4.8

* move block endpoints

* 0.20.0-api-v4.9

* fix path

* 0.20.0-api-v4.10

* fix

* 0.20.0-api-v4.11

* change /admin/block_instance to /admin/instance/block (and same for allow)

* 0.20.0-api-v4.12

* fix mark all read

* 0.20.0-api-v4.13

* fix user endpoints

* 0.20.0-api-v4.14

* add MarkManyPostsAsRead

* change account route

* 0.20.0-api-v4.15

* rename mention mark as read

* 0.20.0-api-v4.16

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-12-07 17:53:44 -05:00
Dessalines
ba49f4ea72
Adding pkce settings. (#411)
* Adding pkce settings.

* 0.20.0-pkce.1
2024-12-02 17:27:39 -05:00
efffc3c6e8
Instance blocks with mod log entry and expiration (#409)
* Instance blocks with mod log entry and expiration

* 0.20.0-instance-blocks.0

* fix methods

* 0.20.0-instance-blocks.1

* remove params

* 0.20.0-instance-blocks.2

* pass domain

* 0.20.0-instance-blocks.3

* add file

* 0.20.0-instance-blocks.4

* pass instance domain

* 0.20.0-instance-blocks.5
2024-12-02 17:26:30 -05:00
22fbe7eaeb
Private community (#371)
* Private community

* 0.20.0-private-community.1

* add missing files

* 0.20.0-private-community.2

* update

* 0.20.0-private-community.3

* rename

* 0.20.0-private-community.4

* change

* 0.20.0-private-community.5

* add file

* 0.20.0-private-community.6

* update

* 0.20.0-private-community.7

* 0.20.0-private-community.8

* lint

* 0.20.0-private-community.9

* fix null

* Updating types from main.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-11-07 12:19:30 -05:00
Dessalines
c1545659b2
Upgrading to use ts-rs 10.0.0 (#394)
* Upgrading to use ts-ns 10.0.0

* Adding no_comments_only
2024-11-07 12:07:49 -05:00
Alexander Harding
e284e7df14
Add support for request abort signal (#387) 2024-11-01 10:35:35 -04:00
Dessalines
482e4c65d0
Adding get random community, updating types from main. (#366) 2024-10-02 12:53:36 -04:00
Dessalines
3398af0f19
Update types 3 (#359)
* Updating types from main.

* 0.20.0-alpha.13

* 0.20.0-alpha.14

* Adding tagline http calls.

* 0.20.0-alpha.15

* Regenerating types from main.

- Also adding exports from other_types to node script.

* 0.20.0-alpha.16

* Add list custom emojis (#360)

* 0.20.0-alpha.17

---------

Co-authored-by: matc-pub <161147791+matc-pub@users.noreply.github.com>
2024-09-30 08:14:59 -04:00
5789a9a685
Post scheduling (#347)
* Post scheduling

* rename field

* 0.20.0-alpha.5

* fix type

* 0.20.0-alpha.6

* add EditPost.scheduled_publish_time

* 0.19.6-alpha.1

* add error

* fix
2024-09-24 15:00:49 -04:00
df67ca2220
Update types from main branch (#356)
* Update types from main branch

* 0.20.0-alpha.9

* add missing files

* 0.20.0-alpha.10

* add block back

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-09-23 08:39:46 -04:00
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
26d4656093 Fixing 2024-07-31 17:58:41 -04:00
Dessalines
261791dddc
Fixing error lint. (#324) 2024-07-31 21:54:25 +00: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
matc-pub
0923a67c93
Allow falsey get parameter values (#257) 2024-04-15 13:04:19 +00:00
Richard Schwab
b577deee2f
Add missing docs for logout endpoint (#256) 2024-03-29 14:03:35 -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
Alexander Harding
e0b12ffbb6
Remove dependencies (#251) 2024-03-20 01:46:31 +00: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
Dessalines
902ddf6ac8
Fix image exports (#241)
* Re-add image exports.

* 0.19.4-alpha.4
2024-02-20 16:59:15 +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
Maarten Vercruysse
c01fc0c017
Fix jsdoc comment for listCommentLikes (#231)
* Fix jsdoc comment for listCommentLikes

* Fix another jsdoc comment
2024-01-23 01:13:57 +00: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
Dessalines
b2b290b69b
Use string type instead of any for exportSettings. Fixes #229 (#230) 2024-01-10 03:00:00 +00: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
6530816821
Revert "Upgrading deps, removing cross_fetch." (#217)
* Revert "Upgrading deps, removing cross_fetch. (#216)"

This reverts commit 50e04a9703.

* Adding back in cross-fetch.

* Remove pointless await.
2023-11-29 12:24:43 -05:00