Commit graph

205 commits

Author SHA1 Message Date
Dessalines
dcb849bdd9
Adding email admins for new reports. (#105)
* Adding email admins for new reports.

* v0.17.2-rc.1
2023-02-16 21:06:56 -05:00
Anon
13ed39d527 Fixes for monads 2023-01-31 19:05:46 -06:00
Anon
50285bd049 Add custom emojis 2023-01-31 19:05:46 -06:00
Dessalines
8d7f40554a
Fixing requireapplication string. (#104) 2023-01-18 22:13:59 -05:00
Dessalines
8065620cb5
Removing monads. Fixes #98 (#99)
* Removing monads. Fixes #98

* Fixing http get params

* In encode get params, dont serialize the undefineds.

* v0.17.0-rc.60
2023-01-04 11:29:06 -05:00
81c0be5931
Udate CreateSite/EditSite structs for registration mode (#100) 2023-01-03 14:44:53 -05:00
f3dd61731f
Add LocalSite.registration_mode (#96) 2022-12-29 09:51:34 -05:00
Dessalines
0b6e2af513
Add community language (#85)
* Adding some API fixes.

* v0.17.0-rc.55

* Adding create community discussion languages.

* v0.17.0-rc.57
2022-12-19 10:57:02 -05:00
Anon
60c5c85cd7
Add FeaturePost support (#88)
* Add FeaturePost support

* Make featured not optional
2022-12-11 10:20:01 -05:00
Dessalines
d31d7a0993
Remove federation strict_allowlist and retry_count. Fixes #82 (#83) 2022-11-21 11:49:24 -05:00
Anon
dbc846bb44
Update Taglines pt 2 (#81)
* Add Tagline structs

* updated is an option<string>

* Address PR Comments

* Move taglines to siteres

* Add Type
2022-11-19 19:17:09 -05:00
Anon
14ed320d90
Add Tagline structs (#80)
* Add Tagline structs

* updated is an option<string>

* Address PR Comments
2022-11-18 12:19:56 -05:00
Dessalines
ad5be5ce3a
Move settings to database (#79)
* Adding site settings to DB.

* v0.17.0-rc.47

* Forgot some fields

* v0.17.0-rc.48

* Fixing some missing fields.

* v0.17.0-rc.49

* Fixing some missing fields.

* v0.17.0-rc.50

* Fixing some missing fields 3.

* v0.17.0-rc.51
2022-11-05 15:50:19 -04:00
Dessalines
00189a6462
Private message report (#78)
* Adding private message reporting.

* v0.17.0-rc.46
2022-09-27 22:57:11 -04:00
Dessalines
e57cd12ca8
v0.17.0-rc.40 (#72) 2022-09-27 15:34:53 -04:00
Dessalines
f7d19d1aed
Person post unread comments (#74)
* Add unread post comments.

* v0.17.0-rc.42
2022-09-27 15:32:53 -04:00
Dessalines
c3b76c88b0
Add language (#77)
* Add language_id for user, post, and comment creation.

* v0.17.0-rc.44
2022-09-22 12:52:44 -04:00
ca66e1b8ba
Rename post.embed_html field to embed_video_url (#75)
https://github.com/LemmyNet/lemmy/pull/2261
2022-09-13 17:23:11 -04:00
Anon
c3be80f46c
Add Modlog Filters (#65)
* Add types for Modlog Filters

* Update for optionals
2022-08-17 19:30:14 -04:00
Dessalines
8d0b25d862
Distinguish (#73)
* Add distinguish

* v0.17.0-rc.41
2022-08-17 19:29:58 -04:00
Dessalines
54bc5139ee
Starting to add comment tree paging (#70)
* Starting to add comment tree paging

* Switching comment_read to mark_comment_reply_read.

* Finishing up comment tree paging.

* v0.17.0-rc.35

* Get rid of circular dependency

* Upgrade deps

* v0.17.0-rc.36

* Fix deserializing non HTTP gets

* v0.17.0-rc.37
2022-07-29 23:33:06 -04:00
Dessalines
e7f5a5d05f
Admin purge (#35)
* Adding admin purge to API.

* v0.13.4-rc.2

* v0.17.0-rc.10

* v0.17.0-rc.12

* Fixing a few purge issues.

* v0.17.0-rc.33
2022-06-23 14:50:20 -04:00
Dessalines
adf324df19
Remove save and get SiteConfig. Fixes #68 (#69)
* Remove save and get SiteConfig. Fixes #68

* v0.17.0-rc.32
2022-06-23 09:59:12 -04:00
Dessalines
637ada9f9f
Removing CommunityFollowerResponse, using SubscribedType. (#62)
* Removing CommunityFollowerResponse, using SubscribedType.

* v0.17.0-rc.11
2022-06-22 15:43:00 -04:00
Dessalines
36103fbca0
Add option types (#67)
* Testing some option types over the API.

* v0.17.0-rc.6

* Removing a few to better test.

* v0.17.0-rc.7

* Simpler again.

* v0.17.0-rc.8

* Trying swan.io boxed

* v0.17.0-rc.13

* Trying option-t

* v0.17.0-rc.14

* Adding rust-style Options using @sniptt/monads

- Also added serialization with class-transformer

* v0.17.0-rc.15

* Trying to fix encodeGetParams.

* v0.17.0-rc.16

* Trying to fix encodeGetParams 2.

* v0.17.0-rc.17

* Using init constructors.

* v0.17.0-rc.18

* v0.17.0-rc.19

* Add more type info.

* v0.17.0-rc.20

* Adding reflect-metadata

* v0.17.0-rc.21

* Adding type to siteview.site

* v0.17.0-rc.22

* Adding rest of nested types.

* v0.17.0-rc.23

* Adding toOption function.

* v0.17.0-rc.24

* Trying to fix send.

* v0.17.0-rc.25

* Try to stringify jsonres.

* v0.17.0-rc.26

* Try to stringify jsonres 2.

* v0.17.0-rc.27

* Adding toOption function.

* v0.17.0-rc.28

* Forgot to type a communityview.

* v0.17.0-rc.29

* Forgot to type a registrationapplicationview.

* v0.17.0-rc.30
2022-06-21 17:42:09 -04:00
Dessalines
a03b88ccab
Revert "Add follow pending. (#52)" (#63)
This reverts commit 57de18c17e.
2022-05-26 10:47:40 -04:00
6bf01146f0
Add legal information (#61)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-05-22 15:48:08 -04:00
Dessalines
44e5c91042
Add default_post_listing_type (#53)
* Add default_post_listing_type

* v0.17.0-rc.4

* Forgot to add to the Site interface.

* v0.17.0-rc.5
2022-05-22 15:47:15 -04:00
Dessalines
357bf2f011
Adding mark post as read. Fixes #36 (#57) 2022-05-22 15:46:20 -04:00
Dessalines
07919905c3
Adding endpoint comments. Fixes #50 (#56) 2022-05-22 15:45:53 -04:00
Dessalines
57de18c17e
Add follow pending. (#52)
* Add follow pending.

* v0.17.0-rc.1

* Make follower optional.

* v0.17.0-rc.2

* Pending is now required.

* v0.17.0-rc.3
2022-05-22 15:44:30 -04:00
a8f4298f06 Use enum types in API. Fixes #51 2022-05-15 15:26:40 -04:00
Marcin Wojnarowski
7203e3dce6
Remove creator from SiteView (#49) 2022-05-03 18:12:41 +00:00
Dessalines
4e41168488
Adding posting_restricted_to_mods (#48) 2022-04-29 17:21:23 +00:00
4d6be6e9c2
Add site to GetCommunityResponse (#47)
* Add site to GetCommunityResponse

* Add new site fields (fixes #44)
2022-04-25 21:10:02 +00:00
Dessalines
9f4a112a18
Removing site_creator, adding LeaveAdmin. (#42)
* Removing site_creator, adding LeaveAdmin.

* v0.15.1-rc.1
2022-03-01 11:54:51 -05:00
1b31b8ffd2
Add field Site.default_theme in missing places (#46) 2022-02-24 13:18:35 -05:00
a86ade901b
Add field Site.default_theme (#45) 2022-02-23 11:53:29 -05:00
Dessalines
ada672c225
Adding ban_expires to person (#40) 2022-01-09 11:51:16 -05:00
Dessalines
e201e1c1b4
Adding bannedpersons endpoint. (#41) 2022-01-06 11:19:36 -05:00
Dessalines
c4827a62c0
Adding private instance related endpoints. (#38)
* Adding private instance related endpoints.

* Running prettier.

* v0.15.0-rc.1

* v0.15.0-rc.2

* Remove VerifyEmailResponse

* v0.15.0-rc.3

* Revert "Remove VerifyEmailResponse"

This reverts commit 49713c23c6.

* Add optional auth to modlog.

* v0.15.0-rc.6
2021-12-30 10:27:05 -05:00
Dessalines
5e4ff291c5
Upgrade deps 2 (#39)
* Upgrade deps

* Running prettier.
2021-12-06 14:44:10 -05:00
Dessalines
52b456827d
Get unread count (#34)
* Adding GetUnreadCount

* v0.13.4-rc.1
2021-10-17 13:42:40 -04:00
Dessalines
ae670251ab
v0.13.1-rc.1 (#33) 2021-10-01 10:18:47 -04:00
81ff3d4137 Upgrade deps 2021-09-28 12:08:22 -04:00
Dessalines
7758a7772e
Updating reporting API. (#32)
* Updating reporting API.

* v0.12.3-rc.1

* Fix names

* v0.12.3-rc.2

* Adding creator_banned and counts to report views

* v0.12.3-rc.3

* Adding unresolved_only

* v0.12.3-rc.4

* Adding my_vote to report views

* v0.12.3-rc.5

* Fix comment
2021-09-28 10:38:49 +00:00
Dessalines
f32772c2e1
Resolve endpoint (#28)
* Adding ResolveObject to the API. Fixes #27

* v0.11.4-rc.13

* v0.11.4-rc.14

* Forgot to add the websocket

* v0.11.4-rc.15
2021-08-23 16:15:24 -04:00
0fb3e3b7e4 Fix link to websocketresponse. 2021-08-23 11:18:08 -04:00
Dessalines
8f35e63b3a
Adding typedoc, and code comments. Fixes #29 (#30) 2021-08-22 21:01:40 -04:00
Dessalines
a0b3f7606b
Adding block person and block community actions (#22)
* Adding block person and block community actions

* Forgot creator_blocked from views

* Adding creator_blocked to PersonMentionView

* Moving blocked and follows to MyUserInfo

* Change to local_user_view

* Add moderates to MyUserInfo

* Adding blockcommunityresponse

* rename recipient to target
2021-08-19 20:49:15 -04:00
Dessalines
a408457bcf
Adding GetSiteMetadata (#26)
* Adding GetSiteMetadata

* v0.11.4-rc.11
2021-08-19 11:14:39 -04:00
Dessalines
0c63a87707
Mod transfer community (#25)
* Adding ModTransferCommunity to API

* v0.11.4-rc.10
2021-08-18 19:07:36 -04:00
Dessalines
4a860ce2c2
Feature/show post notifs (#24)
* Show new post notifs to SaveUserSettings

* v0.11.3-rc.1

* Forgot to add to localusersettings

* v0.11.3-rc.2
2021-07-22 16:29:56 -04:00
Dessalines
3778e7fc87
Feature/mark post as read (#21)
* Show / hide read posts

* v0.11.0-rc.13
2021-04-26 14:58:47 -04:00
Dessalines
040dd38e13
Add admin community_creation_admin_only. (#20)
* Add admin community_creation_admin_only.

* v0.11.0-rc.12
2021-04-24 14:20:23 -04:00
669b1eb531 Adding bot accounts 2021-04-23 19:45:00 -04:00
1f754e7083 Change long desc to sidebar, add short site description 2021-04-23 17:54:17 -04:00
Dessalines
a201586142
Feature/optional fields (#19)
* Making more form fields optional.

* v0.11.0-rc.9
2021-04-23 17:48:54 -04:00
ff2588bf90 Adding listing_type to search. 2021-04-09 16:37:53 -04:00
491f8176b2 Add creator_id to search. 2021-04-09 16:12:10 -04:00
fb41660a8a Adding show scores to LocalUserSettings and SaveUserSettings 2021-04-09 11:05:49 -04:00
90623a56e4 Merge branch 'remove_community_creator' 2021-04-07 16:36:40 -04:00
d601200a12 Merge branch 'main' into change_password 2021-04-07 16:35:02 -04:00
d77c8fee17 Merge branch 'main' into change_password 2021-04-07 16:32:49 -04:00
ea80993246 Merge branch 'main' into display_name 2021-04-07 16:32:02 -04:00
1e60699901 Remove community creator. 2021-04-07 16:17:41 -04:00
cda85ca712 Fixing allowed and blocked 2021-04-07 11:22:24 -04:00
0ef7f5001c Adding change password endpoint. 2021-04-01 17:35:37 -04:00
f1dffff556 v0.11.0-rc.1 2021-04-01 13:50:34 -04:00
9be225add3 Including API version in HTTP constructor. 2021-03-29 10:29:27 -04:00
9bb31e3ff8 Adding saved_only to GetComments and GetPosts 2021-03-23 18:53:59 -04:00
b60ceb49e0 Moving matrix_user_id and admin to Person table. 2021-03-23 13:02:06 -04:00
0012c349a2 Merge branch 'main' into split_user_table_2 2021-03-22 10:46:52 -04:00
Marcin Wojnarowski
0456ad6a1c
Fix markAllAsRead response type
As per 4b92e35edc/crates/api/src/local_user.rs (L902)
2021-03-21 20:51:40 +01:00
f8066b27e7 Fixing AddAdmin. 2021-03-12 17:35:53 -05:00
c836a28a97 Fixing saveusersettings 2021-03-12 14:03:44 -05:00
a7937e53f2 Update API to deal with new person table. Fixes #7 2021-03-12 13:22:16 -05:00
71a451fa60 Remove categories 2021-03-03 16:28:55 +01:00
Dessalines
85f19d28da
New comment sort (#5)
* Adding NewComments sort.

* v0.9.8-rc.3
2021-02-18 10:54:10 -05:00
46abc4db80 Adding MostComments sort, and FederatedInstances 2021-02-01 12:43:10 -05:00
Dessalines
32b783b407
Add active aggregates (#3)
* Adding some more active aggregates fields.

* v0.9.1-rc.2

* v0.9.1-rc.3
2021-01-29 10:11:11 -05:00
dddac9f9ff Adding listing_type to ListCommunities. 2021-01-26 10:31:56 -05:00
9bd5dab517 Adding some comments. 2021-01-24 12:37:04 -05:00
c4e66821c6 Revert "Trying to add string dates to javascript Date."
This reverts commit e294b8bdee.
2021-01-24 00:22:43 -05:00
e294b8bdee Trying to add string dates to javascript Date. 2021-01-23 23:56:26 -05:00
e4b54162a4 Making a few API v2 changes. 2021-01-18 16:45:43 -05:00
365bc490b4 Adding some API comments. 2021-01-18 14:32:18 -05:00
66fdef9f1d Changing default_sort and listing back to numbers. 2020-12-25 21:49:01 -05:00
644860499b PostView still does need community. 2020-12-23 15:38:08 -05:00
637ecb2393 Moving post community_view. 2020-12-23 15:26:52 -05:00
2aca4387e5 Fixing comment 2020-12-20 15:15:50 -05:00
7ba95c72f3 Use proper generics for messagetype and responsetype. 2020-12-20 14:21:26 -05:00
e812a627b1 Adding index.ts s 2020-12-20 13:50:08 -05:00
e0bc14593b Adding websocket. 2020-12-20 12:38:55 -05:00
2f777a91fd Initial commit of API v2 2020-12-20 12:33:14 -05:00
d96b14b5d1 Updating postformparams. 2020-11-16 18:34:03 -06:00
9f8c55402d Adding optional headers to the http client. 2020-11-12 13:42:31 -06:00
3dd0ad2682 Adding community_name for search. 2020-10-04 19:38:38 -05:00
5d4fcab2c4 Removing auth from post and community join. 2020-09-13 09:24:45 -05:00
e40a2e9d69 Adding post and community join. 2020-09-13 08:49:35 -05:00
5ce4bf4d72 Adding community_name for getposts and getcomments. 2020-09-08 09:40:07 -05:00
d00e2d6294 Adding local. 2020-08-31 14:05:27 -05:00
fc7b4b820a Fixing url. 2020-08-19 23:51:57 -04:00
18d5ed8414 Adding an HTTP client. Cleaning up Websocket client. 2020-08-19 22:25:21 -04:00
329987893f Initial commit. 2020-08-19 13:29:37 -04:00