Commit Graph

71 Commits

Author SHA1 Message Date
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