Commit Graph

7911 Commits

Author SHA1 Message Date
zotlabs 4387fb715b ensure z_input_filter is called exactly once, since we now depend on the number of htmlspecialchars operations for
markdown content. Also ensure that the content is escaped the correct number of times on imported items.
2017-03-29 13:45:42 +02:00
zotlabs fa5115b3ed add os_path and display_path to photos, fix some issues with multiple path separators after cloud/nickname in the content field of attach and photos 2017-03-29 13:44:17 +02:00
zotlabs ec5e1067bc store os_path and display_path with files 2017-03-29 13:43:13 +02:00
zotlabs fa629841bd input filter updates 2017-03-29 13:39:36 +02:00
zotlabs 155b57c2de fix group by item query 2017-03-29 13:38:29 +02:00
zotlabs 0f7832dc30 code_allowed is a real mess. Start the cleanup by remving the account level code allow and limiting to specific channels only. This reduces the possibility of cross channel security issues coming into play. Then provide a single function for checking the code permission. This is only partially done as we often need to check against the observer or logged in channel as well as the resource owner to ensure that this only returns true for local channels which also own the requested resource. 2017-03-29 13:32:23 +02:00
zotlabs 6c92a240cc remove include/widgets.php 2017-03-29 12:04:44 +02:00
zotlabs 0bad26e116 the rest of the standard widgets converted 2017-03-29 12:02:09 +02:00
zotlabs 0908da9529 widgets cont. 2017-03-29 11:57:00 +02:00
zotlabs 6e101e4582 widgets cont. 2017-03-29 11:50:52 +02:00
zotlabs f60309efa1 more widget migrations 2017-03-29 11:50:03 +02:00
zotlabs 47f4007951 more widgets 2017-03-29 11:49:32 +02:00
zotlabs 17977effe7 more widgets 2017-03-29 11:48:35 +02:00
zotlabs 477ed97c2f convert more widgets to classes 2017-03-29 11:47:58 +02:00
zotlabs 755b751614 Comanche: allow widgets to be class based and stored appropriately in Zotlabs 2017-03-29 11:45:54 +02:00
zotlabs c5828fecc1 get rid of get_app() 2017-03-28 16:02:47 -07:00
zotlabs 3e6088c614 add 'author_is_pmable()' function with plugin hooks to control whether or not to display a 'send mail' link in the thread author menu. 2017-03-27 15:49:48 -07:00
zotlabs 8292553a20 Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge 2017-03-27 14:11:25 -07:00
Klaus 6375401e0a Merge pull request #701 from dawnbreak/HTMLpurifier
HTMLPurifier library update
2017-03-27 21:39:02 +02:00
git-marijus 060cc15f81 Merge pull request #704 from zotlabs/doppleclone
remove redundant and non-functional/broken check for successfully clo…
2017-03-27 11:30:49 +02:00
Klaus Weidenbach f718e2b0db ⬆️ Update HTML Purifier library.
Updated HTML Purifier from 4.6.0 to 4.9.2 with better PHP7 compatibility.
Used composer to manage this library.
2017-03-26 00:41:27 +01:00
zotlabs 94e458018b rm widgets again 2017-03-25 14:41:43 -07:00
zotlabs e5e0a6b31f Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge 2017-03-25 14:40:31 -07:00
zotlabs 5c63f7dd58 provide platform specific install script 2017-03-25 14:19:32 -07:00
zotlabs a2e1019978 move db_upgrade to zlib 2017-03-23 21:49:20 -07:00
Mario Vavti 43a794a905 bs4 fixes for events 2017-03-23 13:11:27 +01:00
zotlabs 0499deea69 more cloud updates - upgrade the DAV structures as well. 2017-03-22 19:31:43 -07:00
zotlabs 0fb0241901 some more photo issues 2017-03-22 16:11:38 -07:00
zotlabs 65ecc5ae15 more work on the photo album mess 2017-03-21 22:05:36 -07:00
zotlabs 83a78a949d photos_album_exists() requires an observer to work correctly; provide it. 2017-03-21 21:13:14 -07:00
zotlabs bedc393425 begin the process of using the relevant attach directory/path for photo albums instead of an album basename which may not be unique. Created an 'ellipsify()' function to shorten long names and keep the beginning and end intact 2017-03-21 20:11:48 -07:00
Mario Vavti 546867c102 add icon, name and thumb to profile tabs. remove login app - we have login in the panel now. 2017-03-21 13:38:44 +01:00
zotlabs b153c651b4 perform attach_upgrade() 2017-03-20 21:53:39 -07:00
zotlabs 7a611c6d47 create channel_store_lowlevel() and remove more diaspora stuff from core. 2017-03-20 18:14:50 -07:00
zotlabs f252f3efc5 remove redundant and non-functional/broken check for successfully cloned channel record which was left over from an earlier method of creating the table; which was deprecated a few months back. 2017-03-20 15:40:48 -07:00
zotlabs da823125b9 remove redundant and non-functional/broken check for successfully cloned channel record which was left over from an earlier method of creating the table; which was deprecated a few months back. 2017-03-20 15:24:47 -07:00
Mario Vavti ca14ab3d55 move profile tabs to app-tray 2017-03-20 17:24:48 +01:00
Mario Vavti cfdf1def2a since we have the app bin we do not actually need the profile tabs for ourself 2017-03-20 14:09:27 +01:00
zotlabs 78aeb50ce5 add function attach_syspaths to calculate the contents of os_path and display_path; add this to the rename function. We will also need it to populate existing file/photo structures as an upgrade task. 2017-03-19 21:39:28 -07:00
zotlabs a12a614e7e attach_folder_rpaths() providing incorrect results 2017-03-19 19:43:00 -07:00
Mario Vavti 949ca844c5 open like-modal directly if more than 10 likes 2017-03-19 17:49:07 +01:00
zotlabs 4afeefb5ce various input filter fixes 2017-03-18 16:41:43 -07:00
Mario Vavti b2ad4e8c2a bs4 fixes 2017-03-18 23:45:55 +01:00
Mario Vavti d10525a375 fix item_list and item_search templates. make item filer use a bootdtrap modal and some css and class fixes 2017-03-17 14:22:10 +01:00
zotlabs d903758940 remove include/widgets.php 2017-03-16 18:36:58 -07:00
zotlabs cf11ba1147 simplify the message signing spaghetti 2017-03-16 18:19:03 -07:00
zotlabs 446b5550a2 the rest of the standard widgets converted 2017-03-16 17:11:48 -07:00
zotlabs 051759580d namespace error 2017-03-16 01:16:29 -07:00
zotlabs fb3f63bf59 input filter issue 2017-03-15 21:49:27 -07:00
zotlabs f6b643e84e widgets cont. 2017-03-15 21:26:28 -07:00