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
redmatrix
df0fa9883c
check for empty word after trim
2015-09-12 14:37:55 -07:00
redmatrix
0a051ff2cd
preserve code blocks on item import if channel has code rights. When importing the channel itself,
...
turn code access off unless this is the admin.
2015-09-08 22:46:34 -07:00
redmatrix
f13a8f725c
export TERM_FILE when mirroring
2015-09-08 19:14:29 -07:00
redmatrix
e6690c818d
export TERM_FILE when mirroring
2015-09-08 19:13:43 -07:00
redmatrix
4eec9a2fba
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/items.php
view/it/messages.po
view/it/strings.php
2015-09-07 18:20:47 -07:00
Habeas Codice
6711ceb662
fix postgres zotfeed
2015-09-07 16:28:42 -07:00
jeroenpraat
fc804751a2
Fix for PHP Fatal error: Function name must be a string in /var/www/hubzilla/include/items.php on line 3325
...
Please review if this is correct?
2015-09-04 12:39:47 +02:00
redmatrix
6cc60ba477
initial work on obj import, rename import_profile_photo to import_xchan_photo to more accurately state its purpose.
2015-09-01 22:03:10 -07:00
redmatrix
a67213627c
provide a comment_policy of "network: diaspora" to handle their special case public-posts-are-commentable-by-anybody permission without breaking any other permissions.
2015-08-23 18:48:33 -07:00
redmatrix
bf190be5b4
issues encountered with hubzilla DB changes, zot_refresh and item_drop and hub sync
2015-08-23 13:27:34 -07:00
redmatrix
5786fd2221
extra encoding on mail titles
2015-08-20 01:12:35 -07:00
redmatrix
d140620008
add item validation function
2015-08-13 19:35:57 -07:00
redmatrix
c8b8c6cb14
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/items.php
util/messages.po
view/nl/messages.po
view/nl/strings.php
2015-08-11 19:24:31 -07:00
redmatrix
58c9f516b3
private mail isues
2015-08-09 01:18:36 -07:00
redmatrix
8ce4814835
convert diaspora_signature to json for storage
2015-08-08 15:19:50 -07:00
redmatrix
2656aeaf9c
ensure diaspora_signature is converted to json before we store it.
2015-08-08 15:18:34 -07:00
redmatrix
03a833f2f8
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
view/nl/messages.po
view/nl/strings.php
2015-08-05 16:13:42 -07:00
redmatrix
6413ba3230
connection filter fixes
2015-08-05 16:12:05 -07:00
redmatrix
5344431fc0
Merge branch 'master' of https://github.com/redmatrix/redmatrix
2015-08-04 16:02:12 -07:00
redmatrix
a61fc00fa4
unobscure item before applying connection filter
2015-08-04 15:59:18 -07:00
redmatrix
f594a7776c
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
view/it/messages.po
view/it/strings.php
2015-08-03 21:17:00 -07:00
redmatrix
6826b4ad32
these were some really difficult bugs to find
2015-08-03 21:13:17 -07:00
redmatrix
db70c76494
diaspora_meta getting double json encoded
2015-08-02 23:05:15 -07:00
redmatrix
d5a40cac25
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
several dav fixes
Conflicts:
include/items.php
2015-07-30 17:11:16 -07:00
redmatrix
df41ce9536
incorrect function name
2015-07-29 17:04:50 -07:00
redmatrix
845024e1e7
add connection filter to non-zot posts
2015-07-29 17:04:17 -07:00
redmatrix
3269d4632f
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
util/messages.po
2015-07-27 18:01:20 -07:00
redmatrix
0b232a610c
logic issue in connection filter
2015-07-27 13:48:41 -07:00
redmatrix
cc5b0cde1d
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
include/diaspora.php
2015-07-23 21:07:35 -07:00
redmatrix
c0e67db070
refresh diaspora xchan every month or so since receiving profile update messages from that network reliably are just as unlikely as receiving any other kind of message from that network reliably. The problem is that if somebody changes their profile name or photo once every few years and you miss it because of their shitty unreliable communications, your data could be stale for a long time.
2015-07-22 19:02:45 -07:00
zottel
5c52120fb4
make content filter by language work for excludes
2015-07-22 09:34:32 +02:00
redmatrix
c90f14c066
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
doc/to_do_code.bb
2015-07-21 17:13:48 -07:00
redmatrix
d87c7ceeb0
there is no stricmp() in php, use strcasecmp() - also only detect language if we plan to use it.
2015-07-20 19:33:42 -07:00
redmatrix
6645846ad3
allow per-connection content filter to specify a detected language to include/exclude (in addition to text, tags, and regexes)
2015-07-20 02:04:51 -07:00
redmatrix
24ec104819
silence warning about non array diaspora_meta but report it in the logs so we can find out what it actually is and why.
2015-07-19 21:18:13 -07:00
redmatrix
15b6e8faa4
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
include/identity.php
include/widgets.php
util/messages.po
view/it/messages.po
view/it/strings.php
2015-07-19 21:08:34 -07:00
redmatrix
3c60a0c22c
provide any single year of exported items
2015-07-16 20:20:42 -07:00
Mario Vavti
39a09eb525
fix missing div and a regression introduced in ec23a94b6d
which broke tag removal for photos
2015-07-16 22:04:52 +02:00
redmatrix
f20933e1e0
more work on db storage of doco
2015-07-05 19:52:41 -07:00
redmatrix
a74631b554
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
boot.php
include/items.php
util/messages.po
2015-07-03 15:03:56 -07:00
redmatrix
37c78bcf05
start doco cleanup
2015-07-03 14:56:48 -07:00
redmatrix
0b9332fde9
in hubzilla we're going to convert doco to items. define it here so that an accidental import/export doesn't chuck a wobbly.
2015-07-03 14:30:42 -07:00
redmatrix
8b2b92fe32
provide compatibility with redmatrix extended item export
2015-07-01 18:50:37 -07:00
redmatrix
3f38e52caf
provide backward compatibility with hubzilla extended item export
2015-07-01 18:49:34 -07:00
redmatrix
97e8275dc2
Merge branch 'master' of https://github.com/redmatrix/redmatrix
2015-06-29 22:19:44 -07:00
redmatrix
0b347ccc14
turn the connection filter into a feature.
2015-06-29 20:35:56 -07:00
redmatrix
63f2e9b412
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
include/zot.php
mod/connedit.php
util/messages.po
2015-06-28 22:33:13 -07:00
redmatrix
de13497333
no this isn't it. well ok, it's part of it, but not the important part. it's still pretty cool.
2015-06-28 21:16:56 -07:00
redmatrix
1a0655f34e
more work on mail flags
2015-06-23 21:01:59 -07:00
redmatrix
cb76fb8b9b
item flag fixes discovered after a few merges
2015-06-23 19:45:39 -07:00
redmatrix
833098e346
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
include/items.php
mod/item.php
2015-06-23 17:30:35 -07:00
redmatrix
9879cf3c6c
ensure we always sign a trimmed item body.
2015-06-22 16:09:02 -07:00
redmatrix
ae6612025d
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
include/items.php
util/messages.po
2015-06-21 20:51:07 -07:00
Alexandre Hannud Abdo
ec23a94b6d
Make item_store_update only affect the data we requested
2015-06-20 02:21:25 -03:00
redmatrix
be0459a98b
convert the abook fields
2015-06-14 21:08:00 -07:00
redmatrix
5733491ac8
more work on items
...
and
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts:
include/items.php
view/it/messages.po
view/it/strings.php
2015-06-11 17:56:56 -07:00
redmatrix
8812f183a2
the hubzilla version of this function
2015-06-11 16:11:59 -07:00
redmatrix
dc7de12991
hubzilla compatibility function
2015-06-11 15:52:37 -07:00
redmatrix
ca870dbf31
more work on item table optimisation
2015-06-10 16:59:04 -07:00
redmatrix
7cbc504874
Merge branch 'master' of https://github.com/redmatrix/redmatrix
2015-06-02 17:47:47 -07:00
redmatrix
b2fde73952
asjld work
2015-06-02 17:46:22 -07:00
redmatrix
84c085dcd7
bare bones ASLD
2015-05-31 22:16:14 -07:00
redmatrix
f3b95f591a
Merge branch 'master' of https://github.com/redmatrix/redmatrix
2015-05-31 19:26:00 -07:00
redmatrix
5cc5e0fafd
some basic background work for activitystreams-json-ld-2.0 conversions
2015-05-31 18:35:35 -07:00
redmatrix
3a9139f76e
there was a reason we included that file
2015-05-28 22:06:22 -07:00
redmatrix
851f2f64df
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
index.php
mod/setup.php
2015-05-24 15:50:05 -07:00
Klaus
1ce3d01bb8
Merge pull request #332 from solstag/zotfeedcleanup
...
Import security only when necessary, use correct variable in log
2015-05-24 03:12:25 +02:00
redmatrix
7f9e4d6add
federation problem from diaspora comments relayed through red channels due to typo
2015-05-23 15:24:16 -07:00
Alexandre Hannud Abdo
760f17b173
Import security only when necessary, use correct variable in log
...
Just some cleanup, seemed like the intent of previous changes was so
2015-05-22 10:27:17 -03:00
redmatrix
3763f74a10
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
include/items.php
include/text.php
mod/item.php
view/nl/messages.po
2015-05-20 20:49:06 -07:00
redmatrix
c10a4ca9c7
re-arrange the html cache a bit
2015-05-20 20:28:16 -07:00
redmatrix
62df06b3d6
cloning abook entries was broken in several ways if the target xchan wasn't available on the clone site. This should make it less broken.
2015-05-20 20:20:35 -07:00
redmatrix
0826c5fd96
don't allow item_id to update without a valid post id
2015-05-20 19:18:32 -07:00
redmatrix
6466774b6e
PRIVACY: possible privacy leakage under a defined set of circumstances
2015-05-20 18:46:23 -07:00
redmatrix
507dfb9f85
add rot47 to the mix. This shouldn't affect the speed to any measurable degree.
2015-05-19 21:51:48 -07:00
redmatrix
77e2ef45f0
mail_obscure - AES-256 is way too slow, simplify. Ideally a substitution cipher would be adequate for our requirements.
2015-05-19 02:16:12 -07:00
redmatrix
a6cb90c81c
Merge branch 'master' into tres
...
Conflicts:
include/Import/refimport.php
include/activities.php
include/attach.php
include/event.php
include/externals.php
include/identity.php
include/items.php
include/notifier.php
include/photos.php
include/taxonomy.php
include/zot.php
mod/channel.php
mod/connedit.php
mod/events.php
mod/item.php
mod/like.php
mod/manage.php
mod/mood.php
mod/ping.php
mod/poke.php
mod/subthread.php
mod/tagger.php
mod/thing.php
2015-05-14 18:02:29 -07:00
redmatrix
475dc7b686
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
boot.php
include/api.php
include/enotify.php
2015-05-13 17:07:12 -07:00
redmatrix
d6f98e6511
product was a bad string to use because we may require it for e-commerce, and RED_PLATFORM is equally problematic for other reasons.
2015-05-13 16:01:00 -07:00
redmatrix
25b599a4bd
convert ITEM_WALL from bitfield to standalone
2015-05-06 21:03:33 -07:00
redmatrix
f17c1f9694
no need to obscure the diaspora signature if we're not obscuring the posts
2015-05-06 18:38:30 -07:00
redmatrix
c9ec4f46b6
for hubzilla we won't be obscuring items, only private mail, this will allow us to search and cache private posts
2015-05-05 18:36:05 -07:00
friendica
c4221f3273
Merge branch 'master' into tres
...
Conflicts:
include/notifier.php
2015-04-29 21:49:43 -07:00
friendica
268307b534
zotfeed issues
2015-04-24 15:01:37 -07:00
friendica
41343b32c5
block unfederated posts from zot_feed
2015-04-23 21:45:42 -07:00
friendica
6679734135
Merge branch 'master' into tres
...
Conflicts:
include/Contact.php
include/ItemObject.php
include/api.php
include/attach.php
include/diaspora.php
include/dir_fns.php
include/enotify.php
include/event.php
include/expire.php
include/items.php
include/notifier.php
include/notify.php
include/photos.php
include/taxonomy.php
include/text.php
include/widgets.php
include/zot.php
mod/admin.php
mod/channel.php
mod/dirsearch.php
mod/display.php
mod/editwebpage.php
mod/events.php
mod/home.php
mod/item.php
mod/manage.php
mod/mood.php
mod/network.php
mod/page.php
mod/photos.php
mod/ping.php
mod/post.php
mod/thing.php
mod/viewsrc.php
view/css/mod_events.css
2015-04-23 19:49:41 -07:00
friendica
53339d19a3
issue #176 , sender copy of item not obscured if using private mention
2015-04-20 20:14:07 -07:00
friendica
9942dec09c
match parens
2015-04-14 20:52:07 -07:00
friendica
32acb7f6e1
post_activity_item incorrectly setting the obj_type when a valid type was specified
2015-04-14 20:50:38 -07:00
Klaus Weidenbach
fdd6508019
Some documentation and whitespaces at line endings.
2015-04-10 00:28:23 +02:00
friendica
37afc81847
update features, allow sys account page deletion
2015-04-08 17:54:52 -07:00
Klaus Weidenbach
d0361582b0
Correcting reported Doxygen syntax warnings.
...
Fixed wrong Doxygen syntax and add some of the available FIXME to
Doxygen documentation.
Updated Doxygen configuration to add also all capital letter tags.
Adding some more Doxygen documentation.
2015-03-29 22:23:00 +02:00
friendica
76a6739b93
remove bogus grouping from fix for #938
2015-03-28 18:47:28 -07:00
friendica
1e4490079b
issue #938
2015-03-28 18:45:58 -07:00
friendica
022305fe83
also allow service classes to set post expiration. These take priority over the site default.
2015-03-24 20:38:53 -07:00
friendica
63b8020969
more work on expiration, make system limits useful - even in retrospect
2015-03-24 17:09:42 -07:00
friendica
3d60008842
provide a site-wide expiration policy without loopholes - still need work to reduce the impact of expiration queries.
2015-03-24 15:53:55 -07:00
friendica
00b3c4c881
sql errors on postgres with yestderday's optimisation
2015-03-24 12:40:55 -07:00
friendica
c2acab21d4
improve performance of the zotfeed queries
2015-03-23 19:56:10 -07:00
Mario Vavti
ead45292e1
some tabs title statuseditor restructuring
2015-03-21 00:06:18 +01:00
friendica
7af012b1f9
The random bad signatures are because something somewhere is trimming the body text. It could be any one of hundreds of functions that touch the message body. We really want to trim the body text, so I'm putting back all the trim statements - in mod/item and item_store and item_store_update. The last fix for random bad sigs noted that one of the trims wasn't there, so the others were removed. The correct fix is for all the trims to be there. We will probably have a few (quite a few) bad sigs during the transition back to trimmed text but this should nail it for anybody on recent code and with new content.
2015-03-17 00:13:47 -07:00
friendica
d83460cd2a
The never ending saga of parent = 0 bugs on Dreamhost.
2015-03-01 18:58:50 -08:00
friendica
b9e485be54
this may actually fix the deliver loop when deleting existing items. It's hackish but I don't see any other way out.
2015-02-25 16:51:39 -08:00
friendica
b32841e2dd
Found the cause of the delete looping, and I can prevent it going forward. The issue remains what to do about comments which are already in the DB and have ITEM_ORIGIN incorrectly set. We can't exactly reset them because the "original" context has been lost. (Sorry but couldn't resist an insider pun that none of you will be able to follow anyway). Read the comments.
2015-02-25 15:27:33 -08:00
friendica
1a071ea4f0
call post_local hooks prior to storing a post that is going to be sourced. There are some fields in the actual stored item that may change when we start the second delivery chain so a few plugins may not deal with these items correctly. Since we only source public items these effects will be slight.
2015-02-25 03:16:43 -08:00
Alexandre Hannud Abdo
8696795ce6
Fixes tag delivery regex for when multiple tags are present
...
Previous regex would cause matches to span several tags
when present, thus never recognizing the mention.
2015-02-13 07:10:29 -02:00
friendica
da2349bb6a
provide relief to sites that are severely impacted by the slow ITEM_UNSEEN searches. This does not incorporate any other flag optimisations as that will require a major DB update and possibly involve significant downtime. This is just to bite off a little chunk now and provide some much needed relief.
2015-02-12 17:45:25 -08:00
Alexandre Hannud Abdo
6ec44793b3
Dot not trim body in order to avoid issues with signature checks
2015-02-12 05:44:24 -02:00
friendica
2b2fa5a973
issue #843
2015-02-11 20:38:06 -08:00
friendica
8c061f143f
more efficient processing of response activities, plus a proof of concept fix for the problem of receiving a delete notification before we actually get the item which we're supposed to delete.
2015-02-11 15:26:35 -08:00
friendica
79223b6b3d
item voting tools
2015-02-10 19:10:18 -08:00
friendica
4b348d2489
Merge branch 'master' into tres
...
Conflicts:
view/css/mod_events.css
view/theme/redbasic/css/style.css
2015-02-05 19:38:43 -08:00
friendica
043ff33e43
issue #889 private tags for forums no longer recognised after tag refactor a few weeks back. This solution is not optimal as it also leaves you in the privacy ACL in some cases and not in others but it restores the previous functionality
2015-02-02 14:59:01 -08:00
friendica
912be23e16
Merge branch 'master' into tres
...
Conflicts:
include/group.php
include/text.php
mod/acl.php
mod/channel.php
mod/connections.php
mod/display.php
mod/group.php
mod/item.php
mod/locs.php
mod/network.php
mod/photos.php
mod/ping.php
mod/starred.php
mod/viewsrc.php
2015-01-29 15:09:35 -08:00
friendica
ff68ea6087
more message restrict conversions
2015-01-29 14:51:41 -08:00
friendica
e157371c39
remote_user => remote_channel
2015-01-28 20:58:59 -08:00
friendica
a496036066
local_user => local_channel
2015-01-28 20:56:04 -08:00
friendica
db1998e0c8
limit the number of forums that can be tagged in a single post - default is 2. The reason is simple - count how many posts would be in transit simultaneously if this was unlimited and somebody tagged 40-50 forums. In practice when used legitimately - we've rarely seen more than two, in fact I don't recall seeing more than two ever. Typically it is one and occasionally two. Changing the default is tricky - a client system cannot do it, but the site hosting a forum can choose to. Since not all sites that host forums will choose to do so, the ordering of the mentions would then be important.
2015-01-28 14:22:52 -08:00
friendica
a2cdd1499c
Merge branch 'master' into tres
...
Conflicts:
include/socgraph.php
2015-01-27 20:00:43 -08:00
friendica
2f4ef7660c
improved route mismatch detection. We will be less strict about the absolute route matching and only look at the last hop before it got to us - which is ultimately all we should care about (since that sender controls the thread permissions). Route mismatches seem to occur somewhat frequently from yamkote (for unknown reasons), and the logging has been improved a bit so it should provide some slightly more useful debugging info in case it still happens going forward. Oh, also we'll set the parent on comments when we store the initial post (item_store()) and only go back and set the parent for top-level posts. This should reduce the number of comments with missing parents on shared hosts, but may increase the number of missing threads. Probably worthwhile to do a query occasionally for parent = 0 and see how we're doing and how many have shared host related delivery issues.
2015-01-27 15:47:24 -08:00
friendica
ac594183c6
Merge branch 'master' into tres and add some work on the item_deleted flag refactor
...
Conflicts:
include/attach.php
include/onedirsync.php
include/zot.php
mod/locs.php
2015-01-26 18:27:03 -08:00
friendica
4c2a1e572a
start on item_restrict conversion
2015-01-22 21:04:54 -08:00
friendica
6e0e3b2433
more expanding item flags
2015-01-22 18:41:10 -08:00
friendica
e46eba1258
heavy lifting converting item flag bits
2015-01-22 17:41:16 -08:00
friendica
29436081a8
slow progress removing bitfields on item table
2015-01-21 16:06:25 -08:00
friendica
168b67fa41
correct some activity object types (for comments), also fix a foreach warning resulting from recent tag work
2015-01-14 18:36:23 -08:00
friendica
25e090148d
federate consensus items (in network only). Work in progress.
2015-01-14 14:15:04 -08:00
friendica
7090b58f68
check mentions against the appropriate xchan_url and not a hard-coded /channel/ string
2015-01-13 20:54:27 -08:00
friendica
66cef7531a
don't wipe out the item body of a linked item to a photo when doing a normal delete and not forced
2015-01-12 16:36:10 -08:00
friendica
cdc52ba884
change deletion behaviour of linked photo items. Previously deleting the visible item in the conversation deleted the photo as well. Now photos must be deleted in the photos module. Deleting the linked item removes any attached conversation elements (likes, etc.) and sets the conversation item to hidden. This may create an issue in the future if we move the photo tags, title, or other photo elements to the linked item rather than the photo. Noting here so this can potentially be discovered and remembered at that time.
2015-01-12 16:27:27 -08:00
Stefan Parviainen
adc9564b5c
Refactor mention code to make it more reusable
2015-01-12 20:01:07 +01:00
marijus
978d78b953
basic changes for file activity
2015-01-09 15:18:45 +01:00
friendica
aa490a39bb
include channel clones in PM deliveries (also some whitespace edits)
2015-01-08 16:02:15 -08:00
Habeas Codice
ab5bf1b7d6
prevent database hackery from leaking over the wire
2014-11-22 11:54:40 -08:00
friendica
03a457ed83
more logging for zot_feed anomalies
2014-11-20 18:44:16 -08:00
friendica
18cae8a78c
change logging of some troublesome or noisy bits so we can figure out what is really going on
2014-11-19 19:22:22 -08:00
friendica
af9015c8ed
place holder
2014-11-17 18:29:57 -08:00
Habeas Codice
ac27db22c1
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
boot.php
include/dba/dba_driver.php
include/diaspora.php
include/follow.php
include/session.php
include/zot.php
mod/photos.php
mod/ping.php
2014-11-13 13:06:31 -08:00
Habeas Codice
1a5a5c7edb
PostgreSQL support initial commit
...
There were 11 main types of changes:
- UPDATE's and DELETE's sometimes had LIMIT 1 at the end of them. This is not only non-compliant but
it would certainly not do what whoever wrote it thought it would. It is likely this mistake was just
copied from Friendica. All of these instances, the LIMIT 1 was simply removed.
- Bitwise operations (and even some non-zero int checks) erroneously rely on MySQL implicit
integer-boolean conversion in the WHERE clauses. This is non-compliant (and bad programming practice
to boot). Proper explicit boolean conversions were added. New queries should use proper conventions.
- MySQL has a different operator for bitwise XOR than postgres. Rather than add yet another dba_
func, I converted them to "& ~" ("AND NOT") when turning off, and "|" ("OR") when turning on. There
were no true toggles (XOR). New queries should refrain from using XOR when not necessary.
- There are several fields which the schema has marked as NOT NULL, but the inserts don't specify
them. The reason this works is because mysql totally ignores the constraint and adds an empty text
default automatically. Again, non-compliant, obviously. In these cases a default of empty text was
added.
- Several statements rely on a non-standard MySQL feature
(http://dev.mysql.com/doc/refman/5.5/en/group-by-handling.html ). These queries can all be rewritten
to be standards compliant. Interestingly enough, the newly rewritten standards compliant queries run
a zillion times faster, even on MySQL.
- A couple of function/operator name translations were needed (RAND/RANDOM, GROUP_CONCAT/STRING_AGG,
UTC_NOW, REGEXP/~, ^/#) -- assist functions added in the dba_
- INTERVALs: postgres requires quotes around the value, mysql requires that there are not quotes
around the value -- assist functions added in the dba_
- NULL_DATE's -- Postgres does not allow the invalid date '0000-00-00 00:00:00' (there is no such
thing as year 0 or month 0 or day 0). We use '0001-01-01 00:00:00' for postgres. Conversions are
handled in Zot/item packets automagically by quoting all dates with dbescdate().
- char(##) specifications in the schema creates fields with blank spaces that aren't trimmed in the
code. MySQL apparently treats char(##) as varchar(##), again, non-compliant. Since postgres works
better with text fields anyway, this ball of bugs was simply side-stepped by using 'text' datatype
for all text fields in the postgres schema. varchar was used in a couple of places where it actually
seemed appropriate (size constraint), but without rigorously vetting that all of the PHP code
actually validates data, new bugs might come out from under the rug.
- postgres doesn't store nul bytes and a few other non-printables in text fields, even when quoted.
bytea fields were used when storing binary data (photo.data, attach.data). A new dbescbin() function
was added to handle this transparently.
- postgres does not support LIMIT #,# syntax. All databases support LIMIT # OFFSET # syntax.
Statements were updated to be standard.
These changes require corresponding changes in the coding standards. Please review those before
adding any code going forward.
Still on my TODO list:
- remove quotes from non-reserved identifiers and make reserved identifiers use dba func for quoting
- Rewrite search queries for better results (both MySQL and Postgres)
2014-11-13 12:21:58 -08:00
friendica
55f64c3736
tgroup_check - decrypt if obscured before checking body text for reshares
2014-11-07 13:06:56 -08:00
friendica
a6d8c3193a
various UI issues related to having an enormous number of entries in the posted_date selector including years/months that had no posts
2014-11-03 14:49:03 -08:00
friendica
28a35261db
What this checkin does is catch the case where a comment arrived and there's a missing top-level post to match it with. So we'll send a request back to the sender that you've never seen this thread and please send a fresh copy of the entire conversation to date. We could soon have posts in the matrix from different platforms from days gone by, which have been migrated into the modern world. We'll be polite and not deliver these to everybody. However, if someone comments on one of these antique threads we wouldn't be able to see it in our own matrix because we won't have a copy of the parent post. So this rectifies that situation. Be aware that item deletion may need to change to keep "hard deleted" items indefinitely so that they don't keep coming back. We'll have to null out the important data of the former item to accomplish the deletion aspect.
2014-10-30 19:15:03 -07:00
friendica
ce8a891682
doh - this needs to be markdown, not bbcode
2014-10-24 14:18:02 -07:00
friendica
1c4bbbd13e
diaspora walltowall comment signature, force update.
2014-10-23 16:08:29 -07:00
Thomas Willingham
f29c5a35f1
Provide comment box for PERMS_AUTHED items. Presently only commentable from owners wall.
2014-10-23 21:50:53 +01:00
friendica
58c692e389
improved wall-to-wall detection for comments so we can handle Diaspora signing and wall-to-wall attribution correctly.
...
Do it at the point of submission. This also fixes a potential bug in yesterday's wall-to-wall permission setting,
if it was a local comment to a remote post.
2014-10-22 20:39:49 -07:00
friendica
d7cb5c0436
you've gotta' be on your toes to catch this bug... though it's been here for about 2 1/2 years and even survived a rewrite. Symptoms are that the archive widget only lists one month (the month when you first posted), and only if your first post was written between the 28th and 31st of whatever month that was.
2014-10-22 16:41:06 -07:00
friendica
ed7712cfbf
private forum issues
2014-10-21 16:33:35 -07:00
friendica
4bf758cc5b
content deletion issue
2014-10-12 01:40:48 -07:00
friendica
b5f91d7b40
missing source route after edit
2014-10-10 14:45:18 -07:00
friendica
4634049549
allow (our own) ajax urls to pass through bbcode intact.
2014-10-09 20:59:33 -07:00
friendica
6806888fa4
return of the missing diaspora wall-to-wall attribution
2014-10-09 03:36:50 -07:00
RedMatrix
98af2de9b4
Merge pull request #626 from habeascodice/master
...
regex missing terminator char
2014-10-08 23:30:24 +11:00
friendica
16b94f1dc0
issues with diaspora comment signatures on relayed comments that are relayed through a redmatrix site (parent post is redmatrix) and involve a private post.
2014-10-02 02:43:07 -07:00
habeascodice
e62a95aaba
regex missing terminator char
2014-09-29 15:41:47 -07:00
friendica
d8c03526ed
optionally include wall items (posts) in import/export
2014-09-25 20:21:23 -07:00
Thomas Willingham
e75f1ccb2e
Typo
2014-09-25 19:47:06 +01:00
friendica
24d402941f
if no rss/atom element author, use feed level contact
2014-09-24 14:27:18 -07:00
friendica
c76b8febaa
make it the default
2014-09-24 02:18:13 -07:00
friendica
95470a9f9b
one step closer
2014-09-24 02:08:35 -07:00
friendica
be54f0d9e6
more testing
2014-09-24 01:58:24 -07:00
friendica
87b8e2725c
just an experiment - don't do anything with this until I'm finished with it.
2014-09-24 01:45:57 -07:00
friendica
81ee35e03b
fix url mismatches of a single trailing slash for feed author/owner comparisons; update diaspora_compat
2014-09-23 20:55:22 -07:00
friendica
f203d2a3b0
diaspora private mail seems to work now - but there's an obfuscation leak via the conversation structure that needs to be dealt with.
2014-09-23 20:36:10 -07:00
friendica
09b5bbb032
feeds with '@' in the URL were being handled as webfinger addresses and didn't fall through to RSS discovery. Issue #599
2014-09-21 14:46:12 -07:00
friendica
87a6f25769
try to sort out walltowall translation for diaspora recipients
2014-09-19 02:22:24 -07:00
friendica
a1b66f56f0
use the more portable encoded_item format for exported items - but with added attributes so we can use it as a reasonably complete item backup. The encoded_item format gives us extended author and owner information in case we need to probe them to bring the entry back. It also contains taxonomy entries. Importing and/or recovering will best be accomplished in chunks. It could take some time and some memory to chew through this.
2014-09-16 03:33:48 -07:00
friendica
6be6b41a42
privacy issue - restrictive stream permission setting with a non-targetted post cannot be enforced on remote networks. Restrict these posts to zot network.
2014-09-14 17:07:39 -07:00
friendica
ab7f2db4d7
doc updates and a couple of issues spotted in the logs (diaspora likes, feed author import)
2014-09-12 00:59:23 -07:00
friendica
3a10956b20
correct item author for feeds with multiple or different authors
2014-09-11 17:27:49 -07:00
friendica
de89bdc45f
encrypt diaspora_meta since it may contain private message contents
2014-09-10 19:02:00 -07:00
friendica
537f101554
encode rss message-id's - warning this will double store all existing rss feed items and probably make a mess of things
2014-09-09 16:28:33 -07:00
friendica
c6d07feff5
This is long overdue - use a symblic constant NULL_DATE instead of the easily mis-typed sequence '0000-00-00 00:00:00'
2014-09-08 20:35:15 -07:00
friendica
715417c0e3
import_profile_photo array warnings
2014-09-08 16:06:15 -07:00
friendica
1e5e70fcf4
import_author_rss not succeeding, missing url
2014-09-04 19:15:01 -07:00
friendica
955567fe5f
unset item_nocomment when starting a new delivery chain
2014-09-04 18:52:37 -07:00
friendica
e426f48a26
oops forgot about the privacy exclusion
2014-09-04 18:06:59 -07:00
friendica
ca2bf76b06
allow stuff with Diaspora authors to federate in zot conversations even if the local site has diaspora disabled. This way it won't look like folks are talking to themselves.
2014-09-04 01:13:01 -07:00
friendica
e8ef515b61
store diaspora meta info in the item table. It has to go there or it will kill us with complex joins. We can phase out the sign table once this all checks out.
2014-09-03 05:09:43 -07:00
friendica
75d0f6329c
outbound feed issue
2014-09-03 01:09:28 -07:00
friendica
688722de5b
fix phantom attachments in feeds
2014-09-01 20:59:53 -07:00
friendica
148f4e8795
issue #578 - this won't fix old items but should work going forward. The extra time slop shouldn't be needed and will in fact result in possibly undesired redundancy.
2014-09-01 19:55:43 -07:00
friendica
2a37d99958
get out the sunnies
2014-08-31 22:15:00 -07:00
friendica
a63de472cf
various rss fixes
2014-08-31 20:51:05 -07:00
friendica
45c35d97b8
doc change - read it.
2014-08-30 22:53:21 -07:00
friendica
e9bf742cc7
insecure network filter
2014-08-30 17:03:26 -07:00
friendica
88f8900ac5
various diaspora issues
2014-08-29 17:31:40 -07:00
friendica
ae3047791c
when updating the commented timestamp on the parent post (item_store) don't include any time travelling posts. They can mess up the conversation sort order in a big way until they're actually published.
2014-08-28 17:25:00 -07:00
friendica
53b5cf7f50
Ability to close comments at a certain date/time - needed for loom.io emulation (and many other uses)
2014-08-28 16:56:13 -07:00
friendica
f526a10f07
let's make this "specific" since that's what it is.
2014-08-28 04:14:49 -07:00
friendica
6e99848043
more diaspora stuff - most of the basic bits are there except queueing and physical delivery (I'm keeping delivery turned off until some of the bugs are fixed so we don't cause inifinite loops or network meltdowns) - now it's just a matter of going through and methodically finding all the bugs
2014-08-25 22:43:44 -07:00
friendica
56e8b2b971
add "any connections" to can_comment_on_post() - was missing
2014-08-23 15:22:26 -07:00
friendica
5d2dc4e8fd
switch everything over to crypto_encapsulate()
2014-08-23 02:45:21 -07:00
friendica
255ab8e9c9
issue #573 - this may not fix everything in that issue but should resolve some of it.
2014-08-22 18:01:21 -07:00
friendica
38f931618c
"false" issue
2014-08-22 17:34:18 -07:00
friendica
2dc705d9a0
issue #571 - use feed/nickname?top=1
2014-08-22 15:51:48 -07:00
friendica
831714f0f0
profile edit - missing visibility and drop link on non-default profiles, re-arrange order of replacing red#matrix smilie so it works correctly, accept a post with body content of '0' which was interpreted by x() as nothing (was treated as integer).
2014-08-21 16:46:24 -07:00
friendica
b4aed12129
extensible profiles - add the input form elements. Still needs styling and we're not yet storing the results. And right now we're ignoring the type and only doing type=string. Oh yeah - and I split off starting the second delivery chain into its own function in tag_deliver since it was largely duplicate code.
2014-08-20 23:01:25 -07:00
friendica
a169e5c4f3
restructure the author and owner info from feeds
2014-08-20 18:35:36 -07:00
friendica
b102986929
greatly simplify consume_feed() - a lot of this was friendica specific and somebody may want to put some of it back in, but we'd be much better off building a zot compatible feed for friendica (hint,hint) - even if it didn't support the other protocol bits. Special purpose feed handlers for things like likes, dislikes, events, and community tags are better handled as zot arrays. We have all those handlers. We just need to pass them a JSON message instead of an XML/Atom message. Handlers for statusnet follow messages are another casualty. That's easy to bring back - but we need to keep driving nails into the XML coffin or the damn zombies will get out.
2014-08-20 04:38:17 -07:00
friendica
0fef39a326
fangs bared
2014-08-19 22:47:11 -07:00
friendica
0c8866acde
snakebite continued
2014-08-19 21:31:33 -07:00
friendica
55d4ceb7e0
also reset comment policy on alternate delivery chains
2014-08-19 17:51:45 -07:00
friendica
8b5627e777
make sure privacy scope is completely reset on second delivery chain - revert if there are forum issues, this is subtle and complicated
2014-08-19 17:47:32 -07:00
friendica
9ab12929d7
implement max_import_size
2014-08-09 23:38:33 -07:00
friendica
1397c6f994
booboo
2014-08-09 15:21:15 -07:00
friendica
e9caf9db6a
a couple of "not quite public" fixes
2014-08-08 15:27:17 -07:00
friendica
a7d95108d0
cleanup some text where we said "public" or "visible to anybody on the internet" when that isn't necessarily true.
2014-08-07 18:22:50 -07:00
friendica
640dbdf5e9
a bit more cleanup and a bug fix or two for the new private post security model
2014-08-07 17:14:11 -07:00
friendica
2cff122d6f
public scope delivery issues
2014-08-06 21:16:24 -07:00
friendica
86bccf35a2
basic 'notpublic' bits working
2014-08-06 19:24:46 -07:00
friendica
afac379177
first step first - just store the public_policy data, don't do anything with it yet.
2014-08-06 17:36:07 -07:00
friendica
5a5190f2ff
add an encoding type to formatted zot communication structures so that we can later add alternate encodings.
2014-07-24 15:55:01 -07:00
friendica
1accf82bd1
clean up more code duplication
2014-07-14 21:21:24 -07:00
friendica
233e4e1363
remove some code duplication
2014-07-14 01:38:16 -07:00
friendica
ee3a4902de
when deleting items, delete linked events and photos during stage1
2014-07-04 20:34:54 -07:00
friendica
ee6fd1d6e5
minor optimisation
2014-07-01 21:24:43 -07:00
friendica
8b545d91db
notification being sent for comments from blocked connections on same site.
2014-06-26 16:24:53 -07:00
friendica
223ed4a6c5
process profile like removals with normal low_level drop_item
2014-06-23 01:22:58 -07:00
Alexandre Hannud Abdo
b20887995a
Implements a new permission level PERMS_PENDING
...
With this a user can allow some action to any user which connects
to them, even before they've connected back.
Ref.
https://mobiliza.org.br/display/478d9e71eaf55748dc646d3990651d6d34cfb7db5c38360538ec730ca3ccf908@zothub.com
Also some code cleanup and an alternative logic for handling
notifications of permission changes in zot.php.
This assumes that private posts are still restricted to people in
your addressbook. Regardless of your global permissions, a
pending channel won't get private posts, even if the post
only has a deny clause not matching the pending channel.
2014-06-19 15:13:32 -03:00
friendica
35d42f8626
access control modification functions (item specific - we may need these for several data types)
2014-06-17 19:21:46 -07:00
friendica
72f00d6e04
issues with editing webpage permissions
2014-06-15 18:58:02 -07:00
friendica
b67c8ec8b9
webpage permissions weirdness
2014-06-14 16:35:38 -07:00
friendica
8084fed851
poke notifications
2014-06-04 22:15:52 -07:00
Alexandre Hannud Abdo
6fb8cd4d24
Make tag delivery work when channel name differs from profile name
2014-05-21 17:23:18 -03:00
friendica
2c27ba66a5
zrlify (turn into zmg) any relevant img tags in a post.
2014-05-13 20:17:52 -07:00
friendica
fc550ae330
issue #432 permission changes lost editing webpage (and other non-post items)
2014-05-04 17:10:33 -07:00
friendica
f96a81d274
posted_dates() needs a re-write so we can make a much prettier archive widget
2014-04-30 18:45:46 -07:00
friendica
c1f8eda719
Remove automatic bookmarking - it was a bad idea and just leads to menu clutter. Bookmarks can always be saved manually if desired.
2014-04-30 17:50:06 -07:00
friendica
2851988c96
A useful hook
2014-04-25 21:12:43 -07:00
friendica
1e55bef3d1
ability to unset a layout and subthread is probably close to working again.
2014-04-23 19:05:48 -07:00
friendica
8d950b4e06
this should fix mention notification that aren't plus tagged
2014-04-19 22:53:42 -07:00
friendica
d2b5bb843f
more optimisations for discovery mode of zotfeed
2014-04-17 22:06:35 -07:00
friendica
30e2e32f19
improve zotfeed for discover channel so it will send updates to posts you've already received. Incidentally I discovered why we had the meltdown replying to discover channel items the other day - but can't fix it easily.
2014-04-17 20:03:28 -07:00
friendica
f93b56de55
no this is the way to do it
2014-04-11 20:00:34 -07:00
friendica
c7d6179a0f
Use @+ to tag a forum and also restrict the post to the forum, this leaves @! tags private - period.
2014-04-11 16:31:48 -07:00
friendica
a49069db4e
move the deleted flag setting to encode_item_flags() where it belongs now that we aren't giving deleted posts special treatment.
2014-04-10 16:26:27 -07:00
friendica
bf1f18e172
Include the entire original item when notifying other channels of deletions as it contains important routing and scope information. Previously we were only sending a couple of critical fields like the message-id, flags, and creation date. The thinking was that it is deleted, let's not resend the deleted contents anywhere. But in order to route this through the same path the original post took we really need the entire original post with all of its baggage attached.
2014-04-10 16:14:19 -07:00
friendica
78d7425a1d
wrong var name in add_source_route
2014-03-31 17:21:16 -07:00
friendica
8ffdccb99f
crank up logging
2014-03-31 17:14:56 -07:00
friendica
93f90040a1
community tags don't show up in the tagged posts because we removed the displayed list of hashtags at the bottom (which are usually redundant since hashtags are usually present in the message text). This brings them back, but only for tags which aren't currently present in the message body (e.g. community tags)
2014-03-31 17:03:07 -07:00
friendica
03c53502cb
Merge branch 'route'
2014-03-31 16:30:04 -07:00
friendica
421df717fe
doco
2014-03-31 16:29:46 -07:00
friendica
ced6d82633
finish up the source route storage so we can prevent messages from flowing upstream in complicated delivery chains
2014-03-31 16:25:05 -07:00
friendica
653d7df86d
issue #378 , failure to correctly link tags where one tag contains a substring of the other (depends on the order they are discovered).
2014-03-30 20:53:59 -07:00
friendica
1108eaaed0
source routing stuff
2014-03-29 21:53:50 -07:00
friendica
a6d8668a5f
try and sort out the item delete mess
2014-03-27 20:28:48 -07:00
friendica
a00c581e27
need include
2014-03-26 20:22:57 -07:00
friendica
e476ed6be5
there's the problem
2014-03-26 19:13:26 -07:00
friendica
ed14c1f224
more work on firehose
2014-03-26 18:45:01 -07:00
friendica
79f5fd8e2a
allow zotfeed to create a firehose of a site.
2014-03-26 16:09:07 -07:00
friendica
0a5d0d98f8
cheange encode_item() logging to logger_data because it's way too noisy and had no loglevel set
2014-03-23 18:26:48 -07:00
friendica
8c177fbc4b
cleanup
2014-03-18 16:50:46 -07:00
friendica
267283748f
Red API: /api/red/item/new ; which is like /api/statuses/update except it uses Red semantics and returns success/failure indication.
2014-03-04 19:57:54 -08:00
friendica
bfd9f5ec87
enable network/matrix expiration, this should be functional but the options have been reduced/restricted so we're only looking at network posts and ignore anything that is filed, starred, or is resource_type 'photo' (which should not be possible in non-wall posts, but we just want to be sure). Will require the adventurous tester(s) to set 'channel_expire_days' in their channel record.
2014-03-03 19:15:11 -08:00
friendica
5b4e3f46bc
minor stuff, some doco, auth cleanup, and make "unknown" more translateable by context.
2014-02-22 14:58:12 -08:00
friendica
3bddaa9e04
title missing in private mention posts
2014-02-20 15:00:29 -08:00
friendica
08b571c9d0
project "snakebite"
2014-02-17 14:30:02 -08:00
friendica
f38ab09041
Merge pull request #316 from dawnbreak/master
...
Make asset icons work in subdir installs as well.
2014-02-17 15:11:05 +11:00
friendica
70526915c8
several things were not working correctly w/r/t community tagging. The preference vanished from settings at some point, and we also weren't updating the original post timestamp so that the changed taxonomy would propagate correctly as an edit.
2014-02-16 16:04:46 -08:00
friendica
ebd52368bb
strip hard-wired zids from posted links as they will have the wrong identity when somebody tries to view the link
2014-02-16 14:13:26 -08:00
Klaus
29f6a1ee33
removed unused function posted_date_widget
...
This functions seems not to be used anywhere. include/widgets.php contains widget_archive($arr) which has the same functionality.
2014-02-16 10:25:32 +01:00
friendica
b00f24ad75
fix tag delivery default permissions (use channel_allow_cid rather than allow_cid etc.)
2014-02-13 14:20:23 -08:00
friendica
a7fa14800d
better bookmark escaping
2014-02-10 01:44:21 -08:00
friendica
a76c53657b
don't add bookmark tags to naked links inside code blocks
2014-02-10 01:11:59 -08:00
friendica
8727a75437
fix the "every other link gets messed up" problem
2014-02-09 13:46:40 -08:00
friendica
c5f0b85357
fix wall photos
2014-02-09 00:30:43 -08:00
friendica
e346aa7560
that's better
2014-02-08 12:08:07 -08:00
friendica
9b2dc9b87c
make all naked links bookmark-able
2014-02-06 16:22:40 -08:00
friendica
3e677ec53d
add bookmark tag to naked links if they're red sites. We can do this because red links are linkified when the post is submitted. Can't do this for other naked links because they only get linkified during display and won't have a taxonomy object attached to the message.
2014-02-06 13:54:39 -08:00
friendica
f9381ed746
notification bug - don't use $r, we already set it to something else that we need further on.
2014-02-06 13:32:29 -08:00
friendica
da8a79ebfa
cleanup - nothing more
2014-02-05 16:01:02 -08:00
friendica
fdc0a7e95e
fix auto-add of bookmarks to find sender correctly and optionally auto add bookmarks for self
2014-02-05 15:56:18 -08:00
friendica
efa30f1b03
This would be about the 75th attempt to try and prevent duplicated email notifications for comments. Eventually we'll find something that works.
2014-02-05 15:01:53 -08:00
friendica
3665bc38ef
bookmarking
2014-02-04 16:06:56 -08:00
friendica
876f5d4de0
transmit, receive, and parse bookmarks
2014-02-03 19:38:15 -08:00
friendica
bd691300a7
provide some interesting new options to channel sources
2014-01-31 20:02:59 -08:00
friendica
339a0f69c1
some tweaks to items_fetch for the api
2014-01-25 15:51:10 -08:00
friendica
6911439f0e
Merge pull request #284 from cvogeley/master
...
API changes
2014-01-25 15:03:23 -08:00
Christian Vogeley
6b3ea9dc14
API My wall posts
2014-01-25 03:50:47 +01:00
friendica
66baa3cab0
try to reduce the number of simulaneous deliveries of the same post when dealing with owner relays that have more than one channel instance. If things melt down in the next few hours and I'm not available please revert this. I've reviewed a few times and think it's OK, but this part of the delivery code is traditionally touchy.
2014-01-22 22:07:47 -08:00
Christian Vogeley
d341358afb
Add $since_id to items_fetch
2014-01-22 23:15:42 +01:00
friendica
47b8071ca7
dav: throw exception if channel for requested DAV directory is deleted
2014-01-15 03:12:47 -08:00
friendica
db8ebc9f37
some minor cleanup on plinks for some very subtle permissions issues
2014-01-09 15:45:17 -08:00
zottel
acdf053a0b
use display/ plinks for comments
2014-01-09 17:29:04 +01:00
zottel
c0f6d73195
save channel/<channel>/?mid=... plinks with the items
2014-01-09 16:02:40 +01:00
friendica
587c5d3e46
a few fixes to webpage editing
2014-01-04 13:44:43 -08:00
friendica
a331e1acde
modify tag_deliver and tgroup_check to handle exclusion tags
2013-12-29 19:45:54 -08:00
friendica
1a42580ad4
remove a couple of mysql reserved words from being used as table or row names. For this round we're getting 'group' and 'desc'. Warning: potentially destabilising as this touches a lot of code.
2013-12-22 18:37:39 -08:00
friendica
cd78f9d13d
sourced items which are then edited at the source weren't setting up the second delivery chain.
2013-12-19 20:23:19 -08:00
friendica
7b5a42568a
Tricky little bug. Allowed somebody to bypass comment permissions. Hopefully the fix will have no undesired side effects.
2013-12-16 18:07:41 -08:00
friendica
b3fe221b7f
issue #240 - we were using htmlentities instead of htmlspecialchars in several places, and this was a bit greedy in the set of characters which were converted from utf-8 to HTML entities. Also brought mail attachments up to date so they are rendered identically to item attachments.
2013-12-11 23:13:36 -08:00
friendica
082ac67778
suggestion widget tweaked to make it comanche capable. Remove old versions of specs that are so obsolete it isn't funny. Zot protocol reference is in red's github wiki, and in the code. We should move the github copy to /doc once it is updated to match the code. There's no point in documenting dfrn in the red code base.
2013-12-08 20:08:50 -08:00
friendica
b8454cbd1d
post_activity_item issues
2013-12-07 23:29:26 -08:00
friendica
d8903f09f5
include re-organisation and more doco, post_to_red fix ampersands in categories
2013-12-04 00:19:29 -08:00
friendica
bd33e0486d
deprecate a->get_curl_code() and $a->get_curl_headers()
2013-12-01 00:16:02 -08:00
friendica
eae3327584
item store hooks
2013-11-28 18:10:04 -08:00
friendica
da29ce6dac
more loop prevention
2013-11-26 23:10:10 -08:00
friendica
ff635f0133
ensure that drop_item doesn't recurse
2013-11-26 23:00:32 -08:00
friendica
dde3e28ceb
add drop_item hook
2013-11-26 15:26:11 -08:00
friendica
5315c88621
webpage edit - losing the ability to pass unfiltered html and perhaps some php due to unsetting uid too early in item_store_update()
2013-11-20 16:20:32 -08:00
friendica
d7ee552c57
Protocol: now set data['alg'] on all encapsulated encrypted packets, so that we can more easily retire 'aes256cbc' once it is no longer viable.
2013-11-20 15:20:12 -08:00
friendica
dd6c64f95a
magic auth issues
2013-11-17 23:12:34 -08:00
friendica
6378600747
fix commented timestamp
2013-11-17 20:09:40 -08:00
friendica
23352b939b
better job of setting parent created
2013-11-17 19:49:48 -08:00
friendica
13538cdd21
pull in some posts when we first connect with a new channel (if allowed to) - if not allowed to, do it if that condition changes
2013-11-17 19:22:24 -08:00
friendica
06e0272db8
populate some posts when somebody is granted "read stream" permission
2013-11-17 16:50:32 -08:00
friendica
6162de142c
allow private mail sender to set an expiration on their messages. Once expired the message is destroyed at both ends (subject to the granularity of the polling interval) and is gone. Officially it takes some form of language independent string like 2013/11/22, but English speakers can use anything that strtotime() understands, like "+30 minutes" or "next Tuesday".
2013-11-06 18:28:36 -08:00
friendica
c61a0d9dab
private tagged posts weren't creating second delivery chain - they were incorrectly being marked as "in a reshare" due to being obscured.
2013-11-04 16:44:23 -08:00
friendica
784aa1407f
prevent posts from floating to the top after minor edits
2013-10-19 23:38:07 -07:00
friendica
454aa6bff3
turn off endless scroll if we have no more content to load - currently for mod_display, need to add to other content modules
2013-10-13 20:09:11 -07:00
friendica
ad29d0f9a1
preserve the source owner when creating a delivery fork so that we can uplink back to them without any ambiguity.
2013-10-13 18:36:28 -07:00
friendica
ff7182f441
fix a bunch of post editing bugs - though this consolidates some disparate code and may create some new bugs due to regression
2013-10-04 04:47:41 -07:00
friendica
78a8d176ac
post signatures
2013-10-02 21:04:48 -07:00
friendica
dffce63662
implement republish permission for use in sourced channels
2013-09-30 21:49:26 -07:00
friendica
0e95bae3d2
RSS feeds as channel sources. It's feasible and within reach, however there's a lot of work left to do.
...
How bad does anybody want it?
Let's find out...
2013-09-29 20:34:05 -07:00
friendica
a06f1f9594
Issue #158
2013-09-29 02:47:36 -07:00
friendica
6ca6bc2dd8
close comment
2013-09-28 05:03:58 -07:00
friendica
110974eb55
fix can_comment_on_post when viewing wall-to-wall
2013-09-28 04:41:12 -07:00
friendica
4b3c565174
convert to plaintext before matching words in body. Otherwise every post I make with a link in it is going to match a test for zot.
2013-09-26 19:58:24 -07:00
friendica
017db29947
aggregate channels
2013-09-26 19:34:45 -07:00
Olaf Conradi
26492b3ad4
Add explanation why public comments are disabled.
2013-09-26 22:57:13 +02:00
friendica
44354c1aa8
bug #150 , if deny access is present but nobody has been allowed, create an allow list containing everybody in your address book. Then subtract those who are denied.
2013-09-22 20:55:55 -07:00
friendica
fd2379530c
hopefully(?) the final word on remote comment permissions
2013-09-20 20:15:53 -07:00
friendica
43e290f4c0
fix contact comment permissions
2013-09-20 19:14:57 -07:00
friendica
1126d8f2e3
hopefully this will go over a bit better - check post owner permissions as well as local owner permissions for comments during submission, since the comment was being blindly accepted on the local system due to only checking the profile owner. Also change collections query to include only top-level posts by a member of the collection.
2013-09-20 17:58:11 -07:00
friendica
63fc92b9e5
sync item_search with yesterday's network fix for collections. Add ud_addr to update table to store the target address since it's possible the mirroring directory won't yet have an xchan or hubloc they can link the ud_hash to and therefore mayn't know how to contact them.
2013-09-19 01:01:51 -07:00
friendica
83e086edcd
doc update, put more telemetry on notifier and try to ensure that private posts have recipients.
2013-09-13 04:51:55 -07:00
friendica
816d764aec
remove some debugging stuff now that the problem they were trying to locate down has been solved.
2013-09-12 03:26:24 -07:00
friendica
5fbe4c1876
make comments work again
2013-09-10 23:25:56 -07:00
friendica
5e230edb85
well that really stuffed things up...
2013-09-10 22:45:04 -07:00
friendica
3c328083d2
this should fix the foreign language like notifications (again)
2013-09-10 21:10:56 -07:00
friendica
46c66e2e4c
change wording on item_store message so we can find failures fast with grep item_store logfile | grep -v created
2013-09-10 20:14:12 -07:00
friendica
3e5414cf35
provide detailed error to remote site for the myriad of things that can go wrong inside item_store(), !! this changes the return of item_store !!
2013-09-10 19:06:06 -07:00
friendica
4df0aad6ab
pages feed
2013-09-05 19:31:26 -07:00
friendica
f1d875c3e1
issue #59 - this is a real bugger. Might seem fixed but read the code. This could potentially create a security/permissions issue
2013-09-04 23:15:53 -07:00
friendica
a0668c8bbb
fix private message encryption since the input_filter mangled it
2013-09-03 22:48:08 -07:00
friendica
8b7757e033
webpage content-type -- needs cleaning up and a security check once all the important bits are in place.
2013-09-02 01:38:17 -07:00
friendica
caa148c1e3
Sheesh. Three lines of Javascript. All you have to do is find which of the three lines is doing something wrong. Or FILE A BUG. Or use a different browser (not *try* a different browser, *use* a different browser), or turn off freaking tinymce. But no - let's argue about browsers instead.
2013-09-01 19:15:08 -07:00
friendica
6a2cb837af
get rid of ssl_policy - it's implicit in the site url
2013-08-27 02:27:36 -07:00
friendica
cd5fdbcb48
email attachments (and fix email photos)
2013-08-19 21:19:39 -07:00
friendica
8bac352b1c
item_store logging to discover where object is getting quote mangled.
2013-08-18 05:04:37 -07:00
friendica
9fb2a87c9a
Another try at issue #61 and #62 - an earlier fix was partially working but the issue persisted - this extends it a bit.
2013-08-18 00:04:38 -07:00
friendica
764e0201ce
don't include archived contacts in public posts, unless specifically requested
2013-08-15 17:43:19 -07:00
friendica
de4e4c5ebd
typo
2013-08-14 05:29:01 -07:00
friendica
f287ff596c
fix expire so it actually should expire stuff; and mostly the correct stuff - though it DOESN'T currently send out notifications to connections
2013-08-14 05:26:17 -07:00
friendica
d7a9db1088
important bits we need to allow php executable content. These must be explicitly allowed - but only if the account has ACCOUNT_ROLE_ALLOWCODE and *only* for web pages and profile fields. This content cannot be transmitted to other sites.
2013-08-11 16:56:06 -07:00
friendica
38d9cf4327
remove some un-needed code
2013-08-07 03:54:47 -07:00