Niko
7ba0468aaa
Added authenticated API methods to block/unblock accounts
...
* This will also make it discard that accounts in meet timeline
2022-02-18 17:05:33 +01:00
Niko
e9feb6d912
Support joinmastodon.org#Emoji ns custom emojis
2022-02-18 11:26:19 +01:00
Niko
5c5c5091b4
Make pages.meet post expand post "tags" into the HTML
2022-02-17 21:56:23 +01:00
Niko
a0b7b85e8f
Fix copy/paste bad code on /api/me/pending_follows
2022-02-17 02:13:25 +01:00
Niko
e6e67b2b09
Implemented loadMore pagination on pages.meet
2022-02-17 01:24:26 +01:00
Niko
456b9cea18
Don't show replies on /feed/meet
2022-02-16 22:03:42 +01:00
Niko
4c562ebaff
Support custom post FG and BG colors by settings "fedilove_pcolors" tag
2022-02-16 21:14:31 +01:00
Niko
71881aead9
Add "props" for AP Person using the schema.org#PropertyValue
2022-02-16 20:35:48 +01:00
Niko
64daaab7d6
New API for /feed/meet + adapt UI templates and JS to new API
2022-02-16 19:29:04 +01:00
Niko
1457cfcf56
Refactor api.url to api.v1 (for later API changes, maybe)
2022-02-16 18:56:03 +01:00
Niko
88db838830
Add "manuallyApprovesFollowers": true (always) to /u/:actor json
2022-02-16 18:39:36 +01:00
Niko
e3c3bf6b11
Added API pending_follows (Matches) + some refactoring
2022-02-16 18:09:36 +01:00
Niko
c6d48b65a3
Automatically accept if local user is following remote user (accepted)
2022-02-16 17:13:32 +01:00
Niko
2f69c506cc
Support AP remote following to accounts (not accept yet)
2022-02-16 16:02:58 +01:00
Niko
862f968f1b
fix lexic typo
2022-02-16 15:47:49 +01:00
Niko
6b17ac70b1
Added "getAccount" to get an specific actor relevant data for APIs
2022-02-16 15:45:45 +01:00
Niko
51c29b034b
Make sure a "Reject" event removes "accepted" state (if any)
2022-02-16 14:54:38 +01:00
Niko
8adfdac253
If remote user blocked a user, make user unable to follow
2022-02-16 14:36:04 +01:00
Niko
629de2d8b7
Make sure "Block" object only stores strings (not array) in "actor|object"
...
* This is done so we can faster search for blocks without using $elemMatch on mongodb
2022-02-16 14:30:22 +01:00
Niko
c7d8a075b9
Wrap getAPObject to match given type + refactor
2022-02-16 14:17:22 +01:00
Niko
c8bba73b99
Capture Inbox "Accept" event of "Follow" and update property "accepted"
2022-02-16 14:05:50 +01:00
Niko
98a4449de4
Support "Block" operations on ActivityPub
...
* TODO: inhibit interactions on our side from a blocked Actor
2022-02-16 11:55:46 +01:00
Niko
27ac14da3d
Delete a "Block" event when recieved in INBOX
2022-02-16 11:15:39 +01:00
Niko
56f46070fe
Allow user to Follow (Match) a person to a maximum of 3 times being rejected
...
* TODO: add a block method for a single-time "reject" that eliminates any relationship between parties
2022-02-16 11:00:53 +01:00
Niko
0c0729b24e
If Follow (Match-Try) is rejected, do not permit more matches until the other "unblocks"
2022-02-15 23:46:55 +01:00
Niko
458f7c28fa
Added API methods to follow/unfollow AP accounts
2022-02-15 23:26:55 +01:00
Niko
ebaa58cb82
Refactor ap_id to apID + improve method using apex.domain
2022-02-15 23:26:07 +01:00
Niko
5d9e931c6f
Create API utils used later in AP events
2022-02-15 23:24:27 +01:00
Niko
c2b4cac30f
Refactor api.accounts to api.auth
2022-02-15 21:41:55 +01:00
Niko
12f3b4c9cc
Added testing /api/feed/meet endpoint
2022-02-13 21:28:18 +01:00
Niko
0b33e89d81
spaces
2022-02-13 02:03:53 +01:00
Niko
d0cd3e2caa
Added auth.js for session enforcing and other methods (for API and others)
2022-02-13 02:03:02 +01:00
Niko
1c05bb5186
Added "objects" to db.js wrapper
2022-02-13 02:02:29 +01:00
Niko
35898576fa
Move custom side-effects events to activity/federation.js
2022-02-12 03:03:16 +01:00
Niko
beab38eeed
Fixed AP server was not being able to verify server2server activities
2022-02-12 02:49:21 +01:00
Niko
7e0abcbc17
Add actor URL redirection to /@username when Accepts text/html
2022-02-09 19:46:08 +01:00
Niko
d775e56c35
Reimplement well-known WebFinger to support multiple aliases and specify profile-page
2022-02-09 14:15:06 +01:00
Niko
a22f8a352b
Forgot to store actor in the apex.store
2022-02-09 02:39:06 +01:00
Niko
7246b38a3d
Create system user for signing Person actors + improvements
2022-02-09 02:09:32 +01:00
Niko
93b7593151
Change default database name + cleaner code
2022-02-08 23:25:55 +01:00
Niko
4abbcc690b
Added /accounts/login API for logging in users using "email" + "password"
2022-02-08 23:19:53 +01:00
Niko
bc2a9e2eb7
Add "activated": 1 to user document on created (TODO: change it later)
2022-02-08 22:29:58 +01:00
Niko
95436a59b3
Added register account API + Changes needed
...
* Added .env to .gitignore
* New dependencies on package.json
* Moved database connection to a "db.js" module
* Changed API ActivityPub params
* Added new APIs on "server.js"
* Added needed env variables on .env
2022-02-08 22:22:42 +01:00
Niko
dbd336be33
initial commit
2022-02-08 14:07:18 +01:00