Commit graph

179 commits

Author SHA1 Message Date
3ece676b8f v0.17.2-rc.24 2023-06-06 09:10:13 -04:00
SleeplessOne1917
c758d480dc
Adjust version (#129) 2023-06-05 20:06:19 -04:00
SleeplessOne1917
fa1c032835
Make private class properties actually private (#128)
* Make private class properties actually private

* Update version in package.json
2023-06-05 19:32:23 -04:00
Anon
d866cae686 Remove BigInt 2023-06-04 20:46:09 -05:00
Dessalines
d886904888
Better error wrapping. (#126)
* Better error wrapping.

* Simplifying

* Moving return to else.
2023-05-29 22:28:26 -04:00
c4c97dcccd v0.17.2-rc.20 2023-05-26 19:50:32 -04:00
2e64d776b6 v0.17.2-rc.19 2023-05-26 19:46:53 -04:00
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