Commit Graph

90 Commits

Author SHA1 Message Date
Niko bdb2b63fe9 Disable JS scripting in mongodb (mapReduce and $where not used) 2022-02-16 11:58:19 +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 fff0dfa7d1 Created method to return given string ns from app.strings 2022-02-15 20:01:32 +01:00
Niko 4e43a0adee Move app script code to a template file 2022-02-15 19:55:12 +01:00
Niko a38470a561 Added localization for login screen 2022-02-15 19:39:42 +01:00
Niko 873bfbf6fe Added support for lang (localized strings) 2022-02-15 19:26:43 +01:00
Niko 35145b9677 Changed default color for meet.item text background + little UI changes 2022-02-15 18:41:33 +01:00
Niko 99423215b1 Added dayjs() + Improvements on meet.item template 2022-02-15 01:22:23 +01:00
Niko 09dd6c4dc1 Improved carousel animation UX 2022-02-14 19:10:38 +01:00
Niko c460d8bff0 Improved UX on pages.meet animations 2022-02-14 18:46:21 +01:00
Niko 24d7e087fe Support fadeOut on drag animation 2022-02-14 17:08:53 +01:00
Niko b9bded862e Improved pages.meet loading UX 2022-02-14 16:55:44 +01:00
Niko 351e1a20b1 Add app.storage wrapper for handling localStorage 2022-02-14 16:55:26 +01:00
Niko 230b406722 Improvements on status image (avatar) 2022-02-14 16:42:23 +01:00
Niko 4ef4767318 Added support for carousel animation boundary (left and right) 2022-02-14 15:53:26 +01:00
Niko eca4c3dba0 Make pages.meet carousel go next/prev on animation 2022-02-14 15:43:22 +01:00
Niko 70722428cd Fixed bug where style was being emptied after animation end 2022-02-14 15:41:42 +01:00
Niko f65eef3532 Remove events from document on mobile (touch) 2022-02-14 15:25:28 +01:00
Niko 0fbe36b989 Little css change 2022-02-14 15:13:25 +01:00
Niko 4e83fcefb5 Added draggable method for posts in carousel (or any other place) 2022-02-14 15:12:32 +01:00
Niko 9dbc43298d Added carousel for pages.meet 2022-02-14 13:35:27 +01:00
Niko 6f682bc54b Added carousel.js for showing/hiding elements 2022-02-14 13:33:29 +01:00
Niko 00d4a81aef Improved action buttons on meet.item_actions 2022-02-14 13:32:56 +01:00
Niko 5833357c12 Added meet.item_actions for adding context-based actions in page #meet 2022-02-14 12:54:57 +01:00
Niko c048de384b Add support for loading many templates + template inside template 2022-02-14 11:39:40 +01:00
Niko 37a3f94dec Improved app.template to get/set many templates 2022-02-14 11:15:13 +01:00
Niko 510155edf4 Improved meet item template 2022-02-14 10:51:57 +01:00
Niko 7628b884cf Added method to hide overlays 2022-02-14 02:43:41 +01:00
Niko 67601001c1 Don't try to escape or encode html when the null 2022-02-14 02:39:53 +01:00
Niko adff18f54d Make sure every text in template is escaped by default (unless customCback returns unescaped value) 2022-02-14 02:36:55 +01:00
Niko 6f786583a9 Make account.name capitalized 2022-02-14 02:30:54 +01:00
Niko 9e06563344 Added more helpers + Improved app.template to support custom assignments 2022-02-14 02:30:22 +01:00
Niko 7ff5c076fa Added simple items for /feed/meet 2022-02-14 02:17:45 +01:00
Niko 29559c378f Added htmlescape function 2022-02-14 01:23:21 +01:00
Niko e455b88de9 Fixed bug was only replacing first match 2022-02-14 01:16:26 +01:00
Niko 1c646d0528 Added app.template fill method to automatically expand variables in template 2022-02-14 00:53:51 +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 4e7d4f042b Add basic pages for crushes and chat 2022-02-12 01:00:16 +01:00