Commit graph

90 commits

Author SHA1 Message Date
736dac1462 Using init constructors. 2022-06-13 22:54:20 -04:00
6aa4a8356b Trying to fix encodeGetParams 2. 2022-06-13 21:58:15 -04:00
4bc03b39e8 Trying to fix encodeGetParams. 2022-06-13 21:54:16 -04:00
052ea66973 Adding rust-style Options using @sniptt/monads
- Also added serialization with class-transformer
2022-06-13 13:16:50 -04:00
7a31f3ae23 Trying option-t 2022-06-04 21:13:32 -04:00
ad4369bfbe Trying swan.io boxed 2022-06-03 22:14:01 -04:00
0b620aba8c Merge branch 'main' into add_option_types 2022-06-03 21:57:56 -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
d9f92a3164 Simpler again. 2022-05-14 20:20:37 -04:00
bce8026a50 Removing a few to better test. 2022-05-14 20:01:20 -04:00
591c86f8e5 Testing some option types over the API. 2022-05-14 11:00:45 -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