Commit Graph

234 Commits

Author SHA1 Message Date
Niko 1d4c03eaf4 Make use of http.cache module on instance_emojis 2022-02-18 11:42:49 +01:00
Niko 6980381ad5 Add a base.js module for http time-based caching 2022-02-18 11:42:10 +01:00
Niko e9feb6d912 Support joinmastodon.org#Emoji ns custom emojis 2022-02-18 11:26:19 +01:00
Niko 19567fadd9 Added an async method to wait X seconds (max) for a callback to return true 2022-02-18 11:25:34 +01:00
Niko c39fc40196 Added map-marker icon to pages.meet item at "place" 2022-02-18 01:35:43 +01:00
Niko d4cf1d92e7 Support lowercase hashtags when there is Uppercase in post 2022-02-17 23:13:31 +01:00
Niko a59debaa2d Remove logging in app.post.prepare4html 2022-02-17 22:35:00 +01:00
Niko d34b4f0ae9 Make posts tags in pages.meet have different color and style 2022-02-17 22:31:43 +01:00
Niko ee75bdca9d Support links in posts (expanded automatically as detected in clear text) 2022-02-17 22:24:18 +01:00
Niko ab8db4cf83 Make post replacements on pages.meet more stable 2022-02-17 22:11:20 +01:00
Niko 5bd19dcc18 Support hashtags (with a.href) on pages.meet post 2022-02-17 22:03:54 +01:00
Niko 5c5c5091b4 Make pages.meet post expand post "tags" into the HTML 2022-02-17 21:56:23 +01:00
Niko c1ac8d5673 Added very basic loading system in pages.crushes module
* Templates created: crushes.content, crushes.item
* Moved "exact" to "regex" for handling URL hash
* Changed app.php basic template
2022-02-17 02:46:45 +01:00
Niko 6c39b41722 Add regex support for window.location.hash handlers 2022-02-17 02:23:31 +01:00
Niko a0b7b85e8f Fix copy/paste bad code on /api/me/pending_follows 2022-02-17 02:13:25 +01:00
Niko 34d481ea77 Add basic pages.meet action.crush() support 2022-02-17 02:00:50 +01:00
Niko 794fc1ea39 Code cleanup 2022-02-17 01:52:16 +01:00
Niko 870c52c7bf Improved state conservation in pages.meet 2022-02-17 01:51:27 +01:00
Niko 7dabf832b6 Added a repaint interval function for pages.meet (if active) 2022-02-17 01:32:54 +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 e60cfc15db Improved defaults for templates in pages.meet 2022-02-16 21:41:14 +01:00
Niko 5075a218b5 Fix carousel not working when item is deleted or no items at all 2022-02-16 21:28:44 +01:00
Niko 4b494dcc7a Move pages.meet painting to a .paint() method 2022-02-16 21:22:51 +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 f0ab1b80d3 Change template for pages.meet item 2022-02-16 20:45:17 +01:00
Niko 71881aead9 Add "props" for AP Person using the schema.org#PropertyValue 2022-02-16 20:35:48 +01:00
Niko 6510fe9a9e Added new strings on pages.meet 2022-02-16 19:56:32 +01:00
Niko 1a1ff39df0 Fixed a bug where templates (t:) was loaded after string replacements (s:) 2022-02-16 19:51:36 +01:00
Niko 2089c786b3 Fix "text" in pages.meet displaying HTML as is 2022-02-16 19:35:19 +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 dcc36ae91d Put pages.meet black until its loaded 2022-02-16 19:07:09 +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 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