redmatrix
b5d093e5ca
finish the channel_reddress() conversion
2016-09-21 15:28:37 -07:00
Mario Vavti
d9dc7f0f38
typo
2016-09-21 00:58:10 +02:00
redmatrix
83dd1c7be2
issue #520
2016-09-20 15:34:35 -07:00
redmatrix
0011b8fd48
probable fix for #509 - errant comment notifications provided on delayed (duplicate delivery) top level posts which are probably coming from clones
2016-09-19 14:42:56 -07:00
redmatrix
c3fdd00aa4
allow public comments (sort of - see the notes)
2016-08-31 18:39:50 -07:00
redmatrix
8b6230726f
add authors to post distribution; case insensitive sort apps
2016-08-29 18:06:39 -07:00
redmatrix
9fe4bae52f
block backdoor delivery of bulk imported items
2016-08-19 17:12:48 -07:00
redmatrix
fa98f4c55d
import anomaly
2016-08-17 19:44:24 -07:00
redmatrix
4facae674d
fix attached photo/file permissions on clones
2016-08-15 13:18:25 -07:00
redmatrix
c4fd0af16d
comment policy permissions typo
2016-08-02 18:21:43 -07:00
redmatrix
cf0b1f1f15
typo
2016-07-21 01:48:20 -07:00
redmatrix
a961d5e6c8
permission fixes
2016-07-19 20:49:54 -07:00
redmatrix
191cd21028
more perms work
2016-07-13 23:05:19 -07:00
redmatrix
b3a785711c
deprecate/remove json_decode_plus
2016-07-13 22:11:06 -07:00
redmatrix
bdd7d24ac1
update_remote_id - updated to work with iconfig
2016-07-12 19:08:36 -07:00
redmatrix
3bee6543fb
reduce the memory usage of the expire query dramatically.
2016-07-06 22:19:05 -07:00
redmatrix
581a3c5323
expire crashing on shared hosting from memory exhaustion. Lower the expire limit. Also the sys channel was being expired with everybody else due to a flag change regression.
2016-07-06 22:02:06 -07:00
redmatrix
41fa2d6c69
delivery invoked twice in mod_tagger, once in post_activity_item() and another at the main module level
2016-07-01 20:46:57 -07:00
redmatrix
b593c3a9b9
1. provide automatic relocation of important links in items that are imported or synced to clones
...
2. provide framework for custom curl request bodies using custom/non-standard request methods. This was a real nightmare because curl doesn't actually let you specify a string to send as the request body (except when doing POST). You have to treat it as a file upload using a custom file handler function which provides the actual content in chunks as if it were buffered I/O.
3. item_store and item_store_update now return the item that was stored
2016-06-21 18:24:36 -07:00
redmatrix
0ef2622621
some work to provide propagation and honouring of the item_notshown flag.
2016-06-13 22:09:22 -07: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
c1a24d44a3
another switch of type and ttype
2016-06-04 17:17:48 -07:00
redmatrix
2c7ce20ccf
cross-site encoding issue with tags
2016-06-04 15:04:14 -07:00
redmatrix
a9d7acda27
the rest of the schema updates - WARNING: some third party plugins may fail; e.g. embedphotos and chess. $item['object'] is now $item['obj'] and $photo['type'] is $photo['mimetype'], $photo['scale'] is $photo['imgscale'] and $photo['data'] is now $photo['content']. There are a number of other changes, but these are the ones noted to cause issues with third-party plugins. The project plugins have been updated. Please note any new issues as this effort touched a lot of code in a lot of files.
2016-06-01 21:48:54 -07:00
redmatrix
b1259876bf
more db column renames
2016-05-31 21:45:33 -07:00
redmatrix
29ba891809
moved enotify
2016-05-24 01:25:13 -07:00
redmatrix
de006771c7
renamed include files identity.php (channel.php) and Contact.php (connections.php)
2016-05-22 16:54:30 -07:00
redmatrix
a2cec8899a
daemon conversion continued...
2016-05-19 22:26:37 -07:00
redmatrix
522fec5763
split off feed handling stuff from include/items
2016-05-12 20:21:04 -07:00
redmatrix
f2fc7d25c5
remove the rarely if ever used filter_insecure() function. We will provide this functionality in other ways.
2016-05-12 20:02:16 -07:00
Mario Vavti
24c1dc528d
make editwebpage use status_editor() and fix storing of layout on webpage creation
2016-05-09 11:56:42 +02:00
redmatrix
559ed3f0a8
sort out the rest of the source categories
2016-05-02 01:18:18 -07:00
redmatrix
a10fe5f13e
a couple of bugfixes from earlier checkins and implementation of source tags
2016-05-01 22:45:38 -07:00
redmatrix
bdef71bda0
provide courtesy function for syncing one item. We'll probably be doing this a lot.
2016-04-27 21:26:52 -07:00
redmatrix
f99daf8ff9
move iconfig functions to include/config.php with all the rest of the configs, fix an issue with singleton discovery and start work on singleton delivery
2016-04-26 16:12:31 -07:00
redmatrix
d1ecf3f323
some issues with GNU-Social's implementation of events in feeds. The summary element is over-riding content, so put summary into the xcal namespace. Some investigation reveals that both projects are non-compliant in the xcal space. Will deal with this later.
2016-04-18 00:59:42 -07:00
redmatrix
521d404013
remove the date hack on public feeds which was a temporary fix for an issue limiting the number of posts returned and no longer needed.
2016-04-17 16:37:44 -07:00
redmatrix
222ace3770
For GNU-social discovery, use the URI in the feed (author.uri) rather than try to pick out which of the aliases in webfinger are likely to be the right one. If we get it wrong, our communications with them will be discarded and there is no rhyme or reason to the logic about which representation is likely to be the one true account URI. It appears to vary with the clean_url setting of the site and this info isn't available to us except with a sequence of expensive probes and testing various ways of re-writing URLs to see if we get a response.
2016-04-03 20:55:38 -07:00
redmatrix
0cda431456
create miniApp to convert existing settings files to the static App class
2016-03-31 20:15:47 -07:00
redmatrix
9abd95fad3
static App
2016-03-31 16:06:03 -07:00
redmatrix
1cd3b41825
deprecate $a->get_baseurl()
2016-03-30 22:13:24 -07:00
redmatrix
531710142c
add hook to allow plugins to perform a follow activity from an activityfeed
2016-03-23 20:04:09 -07:00
redmatrix
f200dd4395
atom specifies a uri or iri for the id. message_id isn't suitable here.
2016-03-23 16:36:27 -07:00
redmatrix
3a8f6e6576
more federation backend
2016-03-16 21:05:52 -07:00
redmatrix
38eb79705e
lots of work on federated channel discovery
2016-03-16 18:00:13 -07:00
redmatrix
4188419b30
more federation backend work
2016-03-15 17:54:06 -07:00
redmatrix
b673b6835d
federation work
2016-03-14 22:14:17 -07:00
redmatrix
256cd6baac
work on implementing account/channel move (as opposed to clone)
2016-03-09 00:46:17 -08:00
redmatrix
b101a8f6fb
missing function
2016-02-24 11:20:46 -08:00
redmatrix
d074c53889
function to process atom stream without actually storing anything
2016-02-23 16:34:53 -08:00
redmatrix
f1564b4cff
retry the move of AccessList to composer format (one or more third-party plugins will likely break as a result)
2016-02-21 16:49:49 -08:00
redmatrix
411abdf8a7
fix double encoding
2016-02-21 14:54:34 -08:00
redmatrix
dfbe2eaf98
Revert "move accesslist class to namespace"
...
This reverts commit a9711895cf
.
2016-02-20 00:49:37 -08:00
redmatrix
a9711895cf
move accesslist class to namespace
2016-02-20 19:39:54 +11:00
redmatrix
342fda94e4
Provide Zotlabs\Project and System class for querying details about the project/version info. Move these out of /boot.php
2016-02-18 15:24:58 -08:00
redmatrix
c107bcfbd9
some necessary doco for set_iconfig()
2016-02-18 00:51:36 -08:00
redmatrix
76bf892f9f
iconfig - add sharing variable
2016-02-18 00:20:08 -08:00
redmatrix
3a84e7051e
Merge branch 'iconfig'
2016-02-17 16:21:22 -08:00
redmatrix
161050df07
format atom event renderings so they are reasonably compatible with GNU-social
2016-02-17 15:56:30 -08:00
redmatrix
62e141a89c
provide del_iconfig for completeness
2016-02-17 14:14:42 -08:00
redmatrix
696c6e88ea
iconfig debugging - federation now working
2016-02-17 01:05:28 -08:00
redmatrix
a83eb14ff6
iconfig debugging
2016-02-17 00:42:51 -08:00
redmatrix
41ec5403e1
slight changes to set_iconfig - if passed an item structure only update the structure. Update the DB only if passed an item_id. This makes a clean separation of behaviour that's easy to document. One could get into some weird situations the original way which tried to update and sync both.
2016-02-16 22:53:27 -08:00
redmatrix
77eb6c5761
more work on iconfig
2016-02-16 20:49:32 -08:00
redmatrix
64f5d80ff2
some iconfig basics
2016-02-16 18:15:19 -08:00
redmatrix
4f285911f0
form cleanup (profile_photo and cover_photo), admin 'user_approve' not found, missing close div in mood_content.tpl
2016-02-14 16:15:55 -08:00
redmatrix
af7c7642bb
whitespace
2016-02-11 20:37:30 -08:00
redmatrix
83b5adf194
feed dates are always UTC. This means we will need another mechanism to pass localised dates to items_fetch()
2016-02-10 23:05:47 -08:00
redmatrix
a26d1794fe
feed dates weren't being honoured. When that was fixed they turned out to be reversed.
2016-02-10 23:00:40 -08:00
redmatrix
06a1258a9a
put a sane lower time limit on content search for public feed requests
2016-02-10 19:29:00 -08:00
redmatrix
723a49ccee
add photos to the profile "likes this" dropdowns
2016-02-01 17:42:53 -08:00
redmatrix
d83b907cdc
rename collections to privacy groups
2016-01-26 23:44:15 -08:00
redmatrix
3494fddd7c
change help text on other channel expiration setting to inform that there is a system limit. Ignore imported feed content that is older than expiration interval.
2016-01-26 15:12:34 -08:00
redmatrix
10ed334e8c
various issues from the forums
2016-01-17 16:29:32 -08:00
redmatrix
110ef6201e
add $deliver flag to item_store() and item_store_update() [default true]. If false, do not send any notifications or process tag_deliver. This should avoid any network activity from happening as the result of a channel (actually item) import. Other minor fixes in the handling of the $allow_exec flag and further protecting CSS passed to widgets from rogue code and XSS.
2016-01-16 14:00:22 -08:00
redmatrix
1b9722c65a
loop detection
2015-12-17 18:16:46 -08:00
redmatrix
2924b9182e
revise the photo activity a bit so that we always have a valid activity body. Several network connectors can get empty posts or posts that don't contain any reference whatsoever to the actual photo. Since this can cause duplicate images on our own site, just provide the activity summary and any included body text to the activity by default. Provide a function to enhance this activity with an actual photo which can be applied on demand for any network connectors that desire it. Otherwise they'll just get a link to the photo in the activity statement - which is better than an empty post. Have applied this "add actual photo to the post" function to both Diaspora and RSS feeds. Also provide the album as the activity target.
2015-12-15 15:01:54 -08:00
redmatrix
49108c230b
regenerate the item body for linked photo items that now have no body to provide legal activities when going to other networks. Remove the signature since the signed text was an empty string and we've just replaced it with content that will not verify.
2015-12-14 17:58:39 -08:00
redmatrix
9fb7a12849
incorrect obj_type on several items
2015-12-11 02:52:43 -08:00
redmatrix
25caeee854
issue #204
2015-12-01 20:21:44 -08:00
redmatrix
29877963be
issue #189
2015-11-29 18:07:59 -08:00
redmatrix
301072a86c
issue #85 , community tags and file tags lost during edits. This required splitting off communitytags as a separate tag type and is not backward compatible. Community tags on older posts or those federated from redmatrix clones will not be preserved during edits.
2015-11-20 00:15:48 -08:00
redmatrix
0cb5f009b4
tag_deliver of an edit to an already uplinked item wasn't resetting permissions and ownership bits before starting delivery chain on the edit.
2015-11-15 20:52:50 -08:00
redmatrix
3d80073a0e
revert html in markdown for posts, but trim the input before processing the markdown
2015-11-15 18:03:37 -08:00
redmatrix
2c299a9f37
implement unfollow thread
2015-11-03 14:59:14 -08:00
redmatrix
5f80121637
add hubloc repair script (needed for deadsuperhero, probably temporary)
2015-10-30 22:43:38 -07:00
redmatrix
848e3f6c5d
photos linked item visibility issue
2015-10-28 19:43:35 -07:00
Mario Vavti
f7601756e9
create photo object if feature large photos is enabled and display those slightly different
2015-10-20 09:36:15 +02:00
redmatrix
93f061f78a
mail sync/migrate continued; also abstract delivery loop to make it re-usable, change refresh_all to use delivery loop.
2015-10-15 18:52:04 -07:00
Mario Vavti
b6eded1119
Merge branch 'master' of https://github.com/redmatrix/hubzilla
2015-10-14 22:57:03 +02:00
redmatrix
f4e708a02f
port of mail encoding
2015-10-14 13:19:28 -07:00
Mario Vavti
b4e83b6537
allow photo-items to appear full width if large photos feature is enabled. in prepare_body() split off mentions, tags, categories folders and attachments from body for easier theming. some other little fixes.
2015-10-14 22:14:19 +02:00
redmatrix
c7637a0c53
Merge https://github.com/redmatrix/redmatrix into pending_merge
2015-10-14 13:13:12 -07:00
redmatrix
732c6134dd
support for mail sync
2015-10-14 13:11:24 -07:00
Mario Vavti
2a2da48d18
fix typo in 0b1cd826b0
2015-09-29 11:56:43 +02:00
Mario Vavti
0b1cd826b0
do not store a recalled mail if we can not find the original mid
2015-09-29 11:48:41 +02:00
redmatrix
7734bbfe4d
problems with extended item import and signatures
2015-09-22 22:30:09 -07:00
redmatrix
1d7d9818fa
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/items.php
include/zot.php
2015-09-22 16:26:28 -07:00
redmatrix
c2dcc68803
backport item sync
2015-09-22 16:19:08 -07:00
redmatrix
9baaa6fa56
issue #51
2015-09-21 20:05:54 -07:00