8246 Commits

Author SHA1 Message Date
zotlabs 50612565e9 create site_store_lowlevel() to initialise data structures for the site table 2017-04-04 10:02:33 +02:00
zotlabs a92256e1cb legal_webbie() now provides different character rules depending on whether you federate or not. Added some comments in a few places that needed them. 2017-04-03 22:13:12 -07:00
zotlabs d6c23486d5 create site_store_lowlevel() to initialise data structures for the site table 2017-04-03 16:43:30 -07:00
zotlabs a9bda2b12e sql error photos_albums_list with non-logged-in viewer 2017-04-03 10:55:42 +02:00
zotlabs d35678b891 change hook for perm_is_allowed while retaining backwards compatibility 2017-04-03 10:52:52 +02:00
zotlabs 405e3fc214 import_author_zot() - check for both hubloc and xchan entries. This should catch and repair entries which were subject to transient storage failures. 2017-04-03 10:51:31 +02:00
zotlabs 75cd816e02 logic error 2017-04-03 10:49:20 +02:00
zotlabs c8a886e399 import authors from any unrecognised network as network 'unknown'. 2017-04-03 10:48:41 +02:00
zotlabs 19b2568133 whitespace 2017-04-03 10:45:39 +02:00
zotlabs 26125bcf0b sql error photos_albums_list with non-logged-in viewer 2017-04-02 22:20:37 -07:00
zotlabs 263efbfe39 reference to deprecated function import_author_diaspora in socgraph.php 2017-04-02 21:49:50 -07:00
zotlabs 9a5ce2354d remove some obsolete permissions stuff 2017-04-02 20:51:40 -07:00
zotlabs af14020e42 change hook for perm_is_allowed while retaining backwards compatibility 2017-04-02 20:03:27 -07:00
zotlabs 4a49643bcd import_author_zot() - check for both hubloc and xchan entries. This should catch and repair entries which were subject to transient storage failures. 2017-04-02 19:46:20 -07:00
zotlabs 1a28fb2a0c logic error 2017-04-02 17:12:42 -07:00
zotlabs d985db60cc import authors from any unrecognised network as network 'unknown'. 2017-04-02 17:09:51 -07:00
zotlabs a76ad1478f crypto updates 2017-04-02 16:44:44 -07:00
zotlabs 044067f055 harden security 2017-04-02 16:40:36 -07:00
zotlabs 810d9e21bc use aes-ctr which is slightly/arguably better than a poke in the eye and don't restrict the crypto algorithm by server role. 2017-04-01 15:30:59 -07:00
zotlabs c20aa6062c get rid of get_app() 2017-03-31 10:30:17 +02:00
zotlabs b2a51db14e 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-31 10:28:54 +02:00
zotlabs 33ff7bf968 provide platform specific install script 2017-03-31 10:27:28 +02:00
zotlabs 5f0004b416 move db_upgrade to zlib 2017-03-31 10:25:27 +02:00
zotlabs e79f450af9 aes256gcm is not ready for prime time. Stay tuned. Until it is, we're pretty much stuffed unless we go to 3rd party crypto libs. 2017-03-30 21:45:29 -07:00
zotlabs d1a018f2e8 whitespace 2017-03-30 21:04:55 -07:00
zotlabs 6118570118 make aes256gcm the primary crypto mode 2017-03-30 20:43:49 -07:00
zotlabs a9cceea850 Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge 2017-03-30 16:10:59 -07:00
Klaus Weidenbach 2e2f984c45 Add some documentation for import functions. 2017-03-30 23:06:00 +02:00
zotlabs f43428aacf channel_store_lowlevel declared twice 2017-03-29 16:16:29 -07:00
zotlabs 2d4f84563b Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge 2017-03-29 16:11:50 -07:00
Mario Vavti 29c9972b86 missing closing bracket and semicolon 2017-03-29 15:19:54 +02:00
Mario Vavti 7033966bb8 create channel_store_lowlevel() 2017-03-29 15:16:41 +02:00
zotlabs fe5f109af5 more cloud updates - upgrade the DAV structures as well. 2017-03-29 14:14:05 +02:00
zotlabs f1da003020 some more photo issues 2017-03-29 14:13:10 +02:00
zotlabs 9d0e2cbd89 more work on the photo album mess 2017-03-29 14:11:56 +02:00
zotlabs 032b6f193d photos_album_exists() requires an observer to work correctly; provide it. 2017-03-29 14:11:22 +02:00
zotlabs b03cd330e5 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-29 14:09:19 +02:00
zotlabs 515f1e76b0 perform attach_upgrade() 2017-03-29 14:04:44 +02:00
zotlabs 5915f31950 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-29 13:57:15 +02:00
zotlabs 8caa4d9e37 attach_folder_rpaths() providing incorrect results 2017-03-29 13:56:43 +02:00
zotlabs d5525a38f1 various input filter fixes 2017-03-29 13:56:31 +02:00
zotlabs e9a5af6109 simplify the message signing spaghetti 2017-03-29 13:50:27 +02:00
zotlabs fd6b32758e namespace error 2017-03-29 13:47:24 +02:00
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