Commit graph

272 commits

Author SHA1 Message Date
d8ee5f31ea v0.17.2-rc.18 2023-05-26 16:35:31 -04:00
6801b2ae24 v0.17.2-rc.17 2023-05-15 15:42:08 -04:00
a5fb8c19e2 v0.17.2-rc.16 2023-05-15 12:24:08 -04:00
6743d28f7f v0.17.2-rc.15 2023-05-13 10:50:56 -04:00
968e1c0049 v0.17.2-rc.14 2023-05-11 14:02:02 -04:00
82ac85785d v0.17.2-rc.13 2023-05-10 11:17:03 -04:00
Dessalines
68f0b8152f
Upgrading deps (#117)
* Upgrading deps

* Upgrading node
2023-05-10 11:15:51 -04:00
Dessalines
0078d575b3
Adding bindings from rust. Fixes #113 (#114)
* Adding bindings from rust. Fixes #113

* v0.17.2-rc.7

* v0.17.2-rc.8

* v0.17.2-rc.9

* Trying encode 1

* v0.17.2-rc.10

* Nixing encode

* Switching to old comment GetPost.

* v0.17.2-rc.11
2023-05-02 17:15:36 -04:00
Dessalines
cfc1dcf0f4
Adding diesel SortType and ListingType enums. (#112)
* Adding diesel SortType and ListingType enums.

* v0.17.2-rc.6

* Remove comment.
2023-04-17 19:12:56 -04:00
afea84aa8d v0.17.2-rc.5 2023-03-27 12:27:07 -04:00
Dessalines
e371115323
Add woodpecker (#110)
* Adding woodpecker 1

* Adding woodpecker 2

* v0.17.2-rc.4
2023-03-27 12:19:19 -04:00
SleeplessOne1917
360196c8ae
feat: add image upload method to http client (#108)
* feat: add image upload method to http client

* fix: Make files optional on UploadImageResponse

* fix: Fix comment typo

* fix: replace loose equals with strict equals

* fix: Remove useless awaits

* fix: Add explicit return types to image upload helper functions

* fix: Include client headers in image upload request

* fix: Change type of uploadImage arg to File | Buffer instead of Blob | Buffer

* doc: Add doc string

* refactor: Switch to using cross-fetch instead of node-fetch v3

* chore: remove unnecessary asyncs
2023-03-22 14:33:54 -04:00
Dessalines
72b3877693
Totp (#106)
* Adding TOTP support.

* v0.17.2-rc.2

* Fix name.

* v0.17.2-rc.3
2023-03-02 18:26:44 -05:00
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
2477b17a45 v0.17.0-rc.62 2023-01-18 22:14:37 -05:00
e844f95acf v0.17.0-rc.61 2023-01-04 11:30:18 -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
f1d164fca3 v0.17.0-rc.59 2023-01-03 14:46:24 -05:00
3f53c66dbf v0.17.0-rc.58 2022-12-29 09:54:24 -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
2c58e2193e v0.17.0-rc.56 2022-12-11 12:00:44 -05:00
SleeplessOne1917
a4ed93ae16
fix: Move required dependencies to prod dependencies instead of devependencies (#91)
* fix: Move required dependencies to prod dependencies instead of dev dependencies

* fix: Make node-fetch types match version

* Delete accidental pnpm lockfile
2022-12-09 10:01:21 -05:00
b356f750e1 v0.17.0-rc.54 2022-11-21 11:49:50 -05:00
c3ec443cfa v0.17.0-rc.53 2022-11-19 19:17:23 -05:00
ab6eda43f7 v0.17.0-rc.52 2022-11-18 12:21:04 -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
c254359ec8 v0.17.0-rc.45 2022-09-27 15:36:08 -04:00
Dessalines
e57cd12ca8
v0.17.0-rc.40 (#72) 2022-09-27 15:34: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
e266c65a7f v0.17.0-rc.43 2022-08-17 19:30:44 -04:00
Dessalines
8d0b25d862
Distinguish (#73)
* Add distinguish

* v0.17.0-rc.41
2022-08-17 19:29:58 -04:00
96879bf1b3 v0.17.0-rc.39 2022-07-30 08:57:37 -04:00
Dessalines
0f8e6f754d
Upgrade deps (#71) 2022-07-29 23:35:59 -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
82cb50227d v0.17.0-rc.31 2022-06-22 15:43:24 -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
54a61241ce v0.16.4-rc.3 2022-05-26 10:48:45 -04:00
fc210e6494 v0.17.0-rc.10 2022-05-23 19:35:04 -04:00
Dessalines
f67a5c12f6
Upgrading deps. (#58) 2022-05-22 15:46:02 -04:00
0a61424ca9 v0.17.0-rc.9 2022-05-15 15:26:59 -04:00
af760304d8 v0.16.4-rc.2 2022-04-29 13:21:51 -04:00
8d0fc63474 v0.16.4-rc.1 2022-04-27 16:58:52 -04:00
72f29cb684 v0.16.0-rc.1 2022-03-04 09:17:24 -05:00
b450c4fe63 v0.15.4-rc.3 2022-03-01 11:55:15 -05: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
7a592b9719 v0.15.4-rc.2 2022-02-24 14:28:58 -05:00
8915dc4c25 v0.15.4-rc.1 2022-02-23 11:55:03 -05:00
Dessalines
fa04408c5a
Upgrading deps. (#43) 2022-01-24 22:12:50 -05:00
42c3421411 v0.15.0 2022-01-12 08:43:40 -05:00
63b42bf826 v0.15.0-rc.34 2022-01-09 11:51:35 -05:00
176d237166 v0.15.0-rc.33 2022-01-09 11:47:11 -05:00
72379213ca v0.15.0-rc.32 2022-01-09 11:46:04 -05:00
0dabf969ab v0.15.0-rc.31 2022-01-09 11:42:11 -05:00
8dc60607c9 v0.15.0-rc.30 2022-01-09 11:31:29 -05:00
1c7eb8a026 v0.15.0-rc.29 2022-01-09 11:29:44 -05:00
676e376a77 v0.15.0-rc.28 2022-01-09 11:28:31 -05:00
bb1e195a76 v0.15.0-rc.27 2022-01-09 11:26:00 -05:00
0f941f634f v0.15.0-rc.26 2022-01-09 11:22:22 -05:00
279c7cbf24 v0.15.0-rc.25 2022-01-09 11:20:47 -05:00
4f725597ad v0.15.0-rc.24 2022-01-09 11:16:58 -05:00
4cd629f97a v0.15.0-rc.23 2022-01-09 11:16:00 -05:00
326ad04ed3 v0.15.0-rc.22 2022-01-09 11:15:51 -05:00
7672f83362 v0.15.0-rc.21 2022-01-09 11:14:59 -05:00
94ace4dc9c v0.15.0-rc.20 2022-01-09 11:13:43 -05:00
63c73e6235 v0.15.0-rc.19 2022-01-09 11:07:33 -05:00
8bf141c0bf v0.15.0-rc.18 2022-01-09 11:03:27 -05:00
b554f18c87 v0.15.0-rc.17 2022-01-09 11:01:39 -05:00
b698ad1c1e Trying to publish with npm token 9 2022-01-09 11:01:32 -05:00
e4387d57cf v0.15.0-rc.16 2022-01-09 10:57:35 -05:00
2e534ae174 v0.15.0-rc.15 2022-01-09 10:51:49 -05:00
b8297ac82f Trying to publish with npm token 7 2022-01-09 10:51:41 -05:00
db30ddfe9a v0.15.0-rc.14 2022-01-09 10:50:19 -05:00
bbb7d68393 v0.15.0-rc.13 2022-01-09 10:47:18 -05:00
0f8e3997eb Trying to publish with npm token 5 2022-01-09 10:47:10 -05:00
c8a3b8e767 v0.15.0-rc.12 2022-01-09 10:38:07 -05:00
276389e17c v0.15.0-rc.11 2022-01-09 10:35:57 -05:00
dadfd77efc v0.15.0-rc.10 2022-01-09 10:33:41 -05:00
249066955c v0.15.0-rc.9 2022-01-09 10:29:34 -05:00
54d9db4fb1 v0.15.0-rc.8 2022-01-06 13:55:39 -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
edcd37d507 v0.14.0-rc.1 2021-11-12 11:38:16 -05:00
Dessalines
52b456827d
Get unread count (#34)
* Adding GetUnreadCount

* v0.13.4-rc.1
2021-10-17 13:42:40 -04:00
e88a992d25 Adding husky hook 2021-10-14 14:41:39 -04:00
Dessalines
ae670251ab
v0.13.1-rc.1 (#33) 2021-10-01 10:18:47 -04:00
93cdfa0eed Downgrading typedocs 2021-09-30 11:28:12 -04:00
013c4f5af3 v0.13.0 2021-09-29 16:00:03 -04:00
cbc0c46d85 upgrade deps. 2021-09-29 15:59:41 -04:00
f26f901878 v0.13.0-rc.2 2021-09-28 12:10:34 -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
69d84445f8 v0.12.0 2021-09-03 09:09:00 -04:00
Dessalines
f87f1e1a11
Fix defined in links via docker. (#31) 2021-09-01 10:52:23 -04:00
b87370230a v0.12.0-rc.1 2021-08-25 12:45:38 -04:00
9aa1c6f112 v0.11.4-rc.16 2021-08-23 16:15:49 -04: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
Dessalines
8f35e63b3a
Adding typedoc, and code comments. Fixes #29 (#30) 2021-08-22 21:01:40 -04:00
1ce122e4be v0.11.4-rc.12 2021-08-19 11:16:31 -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
768d930592 v0.11.3-rc.4 2021-07-23 10:01:19 -04:00
2c66bd6b4c Removing husky postinstall 2021-07-23 10:00:59 -04:00
d17be0fa31 v0.11.3-rc.3 2021-07-23 09:54:56 -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
a35afab102
Upgrade deps (#23)
* Upgrading deps

* Upgrading deps
2021-07-19 10:11:44 -04:00
3fc2a6c5e1 v0.11.0 2021-04-27 10:19:43 -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
54f94ee953 v0.11.0-rc.11 2021-04-23 19:45:29 -04:00
9d501e825b v0.11.0-rc.10 2021-04-23 17:55:09 -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
d1eacb0314 v0.11.0-rc.8 2021-04-09 16:48:07 -04:00
1b603c48cc v0.11.0-rc.7 2021-04-09 16:15:13 -04:00
353f62f7db v0.11.0-rc.6 2021-04-09 11:22:36 -04:00
e152a3d82d v0.11.0-rc.5 2021-04-09 11:10:30 -04:00
d0aeddca51 v0.11.0-rc.4 2021-04-08 21:08:24 -04:00
417af10b8e v0.11.0-rc.3 2021-04-07 16:18:22 -04:00
72584a2dc2 v0.10.3 2021-04-07 11:22:42 -04:00
4e32a1f53b v0.10.0 2021-04-05 10:27:15 -04:00
96a6d3ff3f v0.10.0-rc.13 2021-03-29 10:31:21 -04:00
414c601429 v0.10.0-rc.12 2021-03-25 15:15:52 -04:00
0337b3b380 v0.10.0-rc.10 2021-03-23 18:54:31 -04:00
e6b0e418fa v0.10.0-rc.9 2021-03-23 13:02:59 -04:00
4c0ed18453 v0.10.0-rc.5 2021-03-12 17:36:03 -05:00
1e16c99ca5 v0.10.0-rc.4 2021-03-12 14:04:21 -05:00
2fa73e1195 v0.10.0-rc.3 2021-03-12 13:59:11 -05:00
a913c0a1a7 v0.10.0-rc.2 2021-03-12 13:25:24 -05:00
e61cb5d7ba v0.10.0-rc.1 2021-03-03 11:41:54 -05:00
4b9591670f v0.9.9 2021-02-19 13:07:20 -05:00
cc59060920 v0.9.8 2021-02-19 11:33:02 -05:00
Dessalines
85f19d28da
New comment sort (#5)
* Adding NewComments sort.

* v0.9.8-rc.3
2021-02-18 10:54:10 -05:00
a564816fe5 v0.9.4 2021-02-02 15:25:28 -05:00
95034020cc v0.9.4-rc.1 2021-02-01 12:43:28 -05:00
30a53b7c3f v0.9.1 2021-01-29 11:39:31 -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
8723a9c68f v0.9.1-rc.1 2021-01-26 10:33:09 -05:00
abbc304c3b v0.9.0 2021-01-24 22:32:18 -05:00
838628b0b3 v0.9.0-rc.18 2021-01-24 12:37:33 -05:00
6d5c35b2fc v0.9.0-rc.17 2021-01-23 23:56:39 -05:00
fa3178cf5a v0.9.0-rc.16 2021-01-20 10:35:23 -05:00
16194031c8 v0.9.0-rc.13 2021-01-20 10:34:27 -05:00
52fbba26e5 Merge branch 'v2_api' 2021-01-20 10:05:51 -05:00
cfe6d66556 v0.9.0-rc.12 2021-01-18 16:46:34 -05:00
fe1b1b4c1f v0.9.0-rc.11 2021-01-18 14:35:30 -05:00
e2bcc3f476 v1.0.17-beta6 2020-12-25 21:49:47 -05:00
ed46e72925 v1.0.17-beta5 2020-12-23 15:38:49 -05:00
769666f37e v1.0.17-beta4 2020-12-23 15:28:09 -05:00