Commit graph

56 commits

Author SHA1 Message Date
Alex Gleason
da07c9355a
Account: normalize fqn 2022-03-17 15:52:57 -05:00
Alex Gleason
19e8751178
Change default avatar, add default header 2022-03-17 15:21:55 -05:00
Alex Gleason
7c6c373eb2
Support account website field 2022-03-17 14:49:42 -05:00
Alex Gleason
58466ce79c
Normalize Mastodon RC version 2022-03-16 22:41:25 -05:00
Alex Gleason
b0623597ea
Fix comment 2022-03-16 21:58:30 -05:00
Alex Gleason
8167b72762
Call fromJS in all normalizers 2022-03-16 21:47:58 -05:00
Alex Gleason
6b8e79d898
Export Record entities 2022-03-16 21:15:38 -05:00
40b5761460 Normalize Pleroma account location
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-14 22:55:55 +01:00
Alex Gleason
28ecb9d912
Normalize Card entity 2022-03-12 15:54:28 -06:00
Alex Gleason
5c8e8d9f99
Break Attachment normalizer into its own module 2022-03-12 15:33:53 -06:00
Alex Gleason
6812e7bfd4
Move Poll normalizer into its own module 2022-03-12 15:22:18 -06:00
Alex Gleason
08f219ab64
Break Mention normalizer into its own module (with tests) 2022-03-12 15:12:16 -06:00
Alex Gleason
b100068b95
Normalizers: add jsdoc heading 2022-03-12 15:01:00 -06:00
Alex Gleason
66e51fa5ef
Status normalizer: revert update() refactor 2022-03-12 14:29:02 -06:00
Alex Gleason
b46f31e9f4
Account normalizer emojification tests 2022-03-12 14:19:34 -06:00
Alex Gleason
049d726ff5
Merge remote-tracking branch 'origin/develop' into normal-account-refactor 2022-03-11 21:22:19 -06:00
Alex Gleason
6fa973aec0
Remove importer/normalizer.js 2022-03-11 21:22:11 -06:00
Alex Gleason
2cd6499454
Attachment: add missing internal fields 2022-03-11 21:05:42 -06:00
Alex Gleason
4c2cdc4ac2
StatusRecord: let account be null by default 2022-03-11 12:15:49 -06:00
Alex Gleason
d48a9586e5
Convert Instance normalizer into TypeScript 2022-03-11 12:14:32 -06:00
Alex Gleason
37827c34d9
Create Notification normalizer 2022-03-11 12:13:36 -06:00
Alex Gleason
ecaf726a19
Rename map --> entity 2022-03-10 20:40:04 -06:00
Alex Gleason
75db92719d
Normalize poll emoji 2022-03-10 19:55:14 -06:00
Alex Gleason
f91344366d
Instance normalizer: remove unneeded line 2022-03-10 18:08:41 -06:00
Alex Gleason
8decaa2d9f
Parse Mentions as Immutable.Record 2022-03-10 17:57:12 -06:00
Alex Gleason
9afd43a42d
Normalize Attachment entities as Immutable.Record 2022-03-10 17:15:09 -06:00
Alex Gleason
4bd1531056
More poll normalization fixes 2022-03-10 16:25:11 -06:00
Alex Gleason
2dcd05651e
Improve Poll normalization, store as Immutable.Record 2022-03-10 15:32:01 -06:00
Alex Gleason
f75c0738a7
Instance normalizer: add default stats, remove default media_attachments 2022-03-09 16:02:50 -06:00
Alex Gleason
9537c87909
Record --> ImmutableRecord 2022-03-09 16:00:43 -06:00
Alex Gleason
a2adaf2ffd
Convert Status Normalizer to TypeScript 2022-03-09 14:26:57 -06:00
Alex Gleason
6e61cb525c
Move Account interface to types/ directory 2022-03-09 13:26:48 -06:00
Alex Gleason
894bf1e880
Account normalizer: convert to Typescript, add type 2022-03-09 12:16:24 -06:00
Alex Gleason
38fbd703e4
Fix account relationships 2022-03-09 00:38:28 -06:00
Alex Gleason
10116a312a
Normalizers: fix tests 2022-03-08 23:47:30 -06:00
Alex Gleason
7a18f8b9c8
Create Records for Account and Status 2022-03-08 23:25:30 -06:00
Alex Gleason
1c36d1b91c
Store statuses as StatusRecord 2022-03-08 22:02:02 -06:00
Alex Gleason
2679519d23
Display account location on profile 2022-02-28 17:25:20 -06:00
Alex Gleason
3095ee5db1
normalizeAccount(): normalize "verified" field 2022-02-27 22:22:21 -06:00
Alex Gleason
19ac4a54c2
normalizeAccount(): normalize Pleroma legacy fields 2022-02-27 20:25:15 -06:00
Alex Gleason
7054a5e9ac
Create account normalizer 2022-02-27 14:42:42 -06:00
Alex Gleason
f0dc233973
Normalize poll and poll options 2022-02-24 00:07:18 -05:00
Alex Gleason
4bfbcb2f12
normalizeStatus(): test GoToSocial and Friendica normalization 2022-02-23 22:58:38 -05:00
Alex Gleason
0c962ee198
normalizeInstance(): add tests for GoToSocial and Friendica 2022-02-23 22:51:23 -05:00
Alex Gleason
fe6ffc9bc5
normalizeInstance(): add fixtures and tests for Fedibird, Mitra 2022-02-23 22:43:55 -05:00
Alex Gleason
331b239cc9
Normalize mentions, add tests 2022-02-23 22:31:35 -05:00
Alex Gleason
02f05abeaa
More defensive status normalization 2022-02-23 22:11:40 -05:00
Alex Gleason
6c0c66eab1
Simplify scheduled/pending status builders 2022-02-23 20:00:49 -05:00
Alex Gleason
34ba2505bd
normalizeStatus: normalize quote post 2022-02-23 18:25:38 -05:00
Alex Gleason
7877fce7ba
normalizeStatus: refactor baseStatus 2022-02-23 18:02:24 -05:00