Commit Graph

53 Commits

Author SHA1 Message Date
DM42.Net (Matt Dent) af84c4e6bd Add ITEM_TYPE_CUSTOM support to Zotlabs/Module/Display.php 2019-03-24 22:56:18 -04:00
Mario Vavti 968c6ed8be some more xss prevention 2019-03-18 21:30:25 +01:00
Mario Vavti 13ca56d380 if local_channel() and updating the page do not query for another item if the first query returned no results. we will most probably find an item from another channel (e.g. after liking a comment) and end up with multiple items with the same mid from different channels after the page update 2019-02-18 14:27:01 +01:00
zotlabs 8ab1f31058 reset page title if article has no title. 2018-12-05 16:24:30 -08:00
zotlabs 69584f541d hubzilla core issue #1278 - page update always reloads if noscript content is enabled 2018-10-07 22:12:49 -07:00
M. Dent ff20370d0b Status editor hook 2018-09-29 20:22:27 +02:00
Mario Vavti d29415a6e2 provide a noscript_content switch for mod channel and display 2018-09-07 14:23:16 +02:00
zotlabs 9b620b2a35 remove checkjs reloader from mod_display also 2018-08-20 20:07:54 -07:00
zotlabs 7e736c5359 apply changes to slider defaults across all modules that use buildQuery for updates 2018-06-15 15:21:19 -07:00
Mario Vavti a8274bbfb3 missing permission description 2018-05-21 09:25:57 +02:00
Mario Vavti 7dadbbbac7 bring jot reset to some more places 2018-05-21 09:13:14 +02:00
zotlabs b7386a0e88 fix permalinks to children of articles and cards 2018-04-05 16:58:37 -07:00
zotlabs e155e7d9ce undo vcard on display module until we can make it accurate 2018-03-31 01:43:33 -07:00
zotlabs 08274ffab7 put vcard widget with author of top-level post on display page 2018-03-27 18:01:20 -07:00
zotlabs 05e11844e5 make list mode work in cards and articles 2018-03-22 17:17:00 -07:00
zotlabs 1c07880c01 important bugfix: if logged in locally and mod_display returns nothing owned by your uid, retry with known public uids rather than issue 'permission denied'. Affects the ability to view search results for otherwise public posts 'in context'. 2018-02-28 18:01:51 -08:00
zotlabs dd35cad62a some feed cleanup 2018-02-01 19:52:40 -08:00
zotlabs 24d256e253 fix mod display and others that require a non-zero profile_uid for updates 2017-12-04 21:18:10 -08:00
Mario Vavti 1567b7b383 set $module_format to html to not break updates. it will be set to something else later if appropriate 2017-11-03 10:04:25 +01:00
zotlabs 22d45a8d1e support for netselect query 2017-11-01 02:53:12 -07:00
zotlabs 37b7b2f1a8 mod_display: provide alternate serialisations (starting with atom) 2017-10-22 21:44:39 -07:00
Mario Vavti f3c374b6ff redirect to be moderated items to /moderate and change the conv link to partent mid in /modrate 2017-10-19 11:20:09 +02:00
Mario Vavti 7b3aa92b5a use $target_item[mid] to make item highlighting work with shortened mids 2017-09-07 23:35:36 +02:00
Mario Vavti 27e9b5618b use thread parent hash only for like and dislike activity. in all other cases use item hash. this will catch more situations. 2017-09-07 23:20:40 +02:00
Mario Vavti 4190a40de8 typo 2017-09-07 11:35:24 +02:00
Mario Vavti 6143f49042 fix an issue where some encoded mids were not found in /display allthough they existed 2017-09-07 11:28:42 +02:00
Mario Vavti 68a91ec3ea 32 characters are often not enough to distinguish gnu-social mids - use the entire mid. in /display if we are not dealing with posts (eg likes) provide the thr_parent mid as bParam_mid so we can still adress the right post in javascript 2017-09-05 23:18:02 +02:00
Mario Vavti b4f8136315 whitespace 2017-09-04 13:34:17 +02:00
Mario Vavti 06f1910ac0 fix the error reporting query in /display. we need item_deleted instead of item_flags and remove id = $item_hash from the query since we always provide the mid and never the id iirc 2017-09-04 13:28:49 +02:00
Mario Vavti dc18440c18 introduce item_normal_update(). the differnce to item_normal() is that we do not query for item_deleted = 0 and therefor can find deleted likes which allows us to update our unlikes on the fly if static page update is enabled 2017-09-03 21:33:07 +02:00
zotlabs f436ec6f21 some issues with mod_display on very first anonymous page visit (prior to any browser cookies being set) 2017-08-30 18:55:56 -07:00
zotlabs 66b032823b oembed provider cleanup, add oembed to cards 2017-08-23 20:47:08 -07:00
zotlabs 33528c616a remove debugging 2017-08-21 18:52:22 -07:00
zotlabs 894f0156af more work on oembed from /display 2017-08-21 15:00:45 -07:00
zotlabs 7a405da3b7 some issues with message-ids and urlencoding (again) 2017-08-20 23:22:52 -07:00
zotlabs ed71afa6c7 more work on mod_display 2017-08-19 15:11:12 -07:00
zotlabs b488034352 better error reporting on mod_display 2017-08-19 01:37:22 -07:00
git-marijus 179478a940 default to static updates if not local channel 2017-07-27 21:51:59 +02:00
zotlabs 31e0812711 remove deprecated app parameter from conversation() 2017-06-20 15:53:01 -07:00
zotlabs e58dc726c5 activity widget - like the forum widget but represents unseen activity by author. Still experimental until it can be tested with diaspora xchans, which may require additional urlencoding. 2017-03-02 17:32:43 -08:00
zotlabs bbacfbdd6a display page not updating after comment 2017-02-21 15:24:39 -08:00
Hubzilla 96f196febd add gen_link_id() function to selectively encode/decode the message-id component of /display/ links for message-ids that contain troublesome characters 2017-01-19 15:37:30 -08:00
zotlabs 9e2ccbd2a7 convert manual page updates to a display setting instead of a feature 2016-11-02 18:40:50 -07:00
zotlabs f91031bd65 allow your own likes/comments to be updated when in static update mode 2016-11-02 15:48:29 -07:00
zotlabs ca948d66a9 feature: static page update as opposed to live update of conversations on the page. Changes will be queued until the page is reloaded. There may or may not be notifications of pending activity updates depending on your notification preferences. Endless scrolling (append) is still performed either way. This only affects changed and new/unseen items being inserted into the page. 2016-11-01 20:21:39 -07:00
redmatrix ce6e81c682 more backticks 2016-10-03 21:48:53 -07:00
Mario Vavti 4f62d7a78f move jotnets to jot and some cleanup (mostly whitespace) 2016-08-21 15:43:03 +02:00
Mario Vavti c029839971 multi acl: port /display 2016-08-05 14:25:37 +02:00
redmatrix 1e68d4fb75 deprecate the item_id table - replace with iconfig. A possibly useful function in the iconfig class would be a search which takes a service id and type and uid, matches against an item and returns the iid. That could save a bit of code duplication. 2016-06-13 19:58:24 -07:00
redmatrix 5e0698ba87 turn the oft-repeated block_public ... check into a function observer_prohibited() 2016-05-22 17:52:30 -07:00