zotlabs
2d63bbb91e
prevent expiration of conversations you are involved with - allows you to find your own comments months from now
2017-07-10 20:18:33 -07:00
zotlabs
8ca5a65dcf
minor weirdness in zot finger results after deleting a clone from a channel that was on a site which was previously migrated from http to https and still had the old hubloc
2017-06-28 18:28:02 -07:00
zotlabs
7e4e2f28db
explain what is happening here
2017-06-20 17:13:04 -07:00
zotlabs
08d9316d76
more import_author_zot fixes
2017-06-20 17:03:11 -07:00
zotlabs
4fcfcc8117
start deprecation of server_role
2017-05-29 13:50:02 -07:00
zotlabs
b4da2d35bf
start using the abook_not_here flag (requires changes in addons, not easily portable to hubzilla)
2017-05-25 13:37:13 -07:00
zotlabs
4f577cbdeb
issue #769
2017-05-11 18:34:28 -07:00
zotlabs
519aef7ff5
abook_not_here flag created to indicate singleton connections which are connected to this channel but not on this hub. abook_instance enumerates which hubs the connections is valid, but we ultimately need something more efficiently searchable to decide what operations are supported w/r/t this connection in the context of this hub. This flag is ignored during sync to clones although the code to set it correctly during channel creation, import, and sync has not yet been implemented.
2017-05-03 18:50:32 -07:00
zotlabs
da07108be9
make sure the new fields don't leak through sync packets and break older versions
2017-04-12 17:43:27 -07:00
zotlabs
e685c580f2
only log zot_refresh content if json decode was successful.
2017-04-07 11:08:55 +02:00
zotlabs
e6139c9f49
revisit the import_author_zot algorithm yet again. There was one bug that we weren't returning necessary information in the first SQL query - and performance/loading problem if one tries to refresh a dead site.
2017-04-07 11:08:26 +02:00
zotlabs
b347e1d861
import_author_xchan - since we rarely refresh zot-info for non-connections, force a cache reload once a week to catch things like profile photo updates and location changes
2017-04-06 20:19:27 +02:00
zotlabs
50612565e9
create site_store_lowlevel() to initialise data structures for the site table
2017-04-04 10:02:33 +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
a76ad1478f
crypto updates
2017-04-02 16:44:44 -07:00
zotlabs
8d0d2015d7
We've passed the deadline for allowing unsigned zot finger tokens. It is now a protocol requirement.
2017-02-24 13:53:49 -08:00
zotlabs
16f27d0004
more work on permcats and consolidating calls that try to discover connect permissions, also create lowlevel store functions for abook and profile - since these currently may have issues with sql strict mode.
2017-02-09 17:29:24 -08:00
Mario Vavti
e1b54b6843
fix typos
2017-01-31 09:43:58 +01:00
zotlabs
7b065365e0
consolidate hubloc storage
2017-01-30 15:01:22 -08:00
zotlabs
5aa0017e91
provide lowlevel xchan storage function to ensure that all non-null rows are initialised
2017-01-28 15:01:19 -08:00
Hubzilla
cda284424f
synced wikis should be relocated
2017-01-22 18:56:14 -08:00
Hubzilla
17f1d39fcf
basic support for clone syncing of wikis and wiki pages
2017-01-22 18:48:45 -08:00
zotlabs
a6272fcf76
channel move stuff (disabled currently because not yet complete)
2017-01-09 14:37:56 -08:00
zotlabs
e2eb0b2eac
better fix for #629 #635 based on ownership/authorship rather than message flags which could be forged
2016-12-31 15:56:45 -08:00
zotlabs
444e938e2d
issues #629 , #635 - edited post arriving from downstream source was not being rejected
2016-12-31 13:38:19 -08:00
zotlabs
66a53c6d3c
add plugin hook to zot_best_algorithm()
2016-12-13 18:43:47 -08:00
zotlabs
bdd713413a
typo
2016-12-04 20:24:55 -08:00
zotlabs
97f9dedaa6
sql error in fetch conversation
2016-12-01 18:21:36 -08:00
zotlabs
c845eed114
advanced crypto restricted by server role
2016-11-30 16:36:33 -08:00
zotlabs
5b09829959
zot 1.2
2016-11-30 16:22:31 -08:00
zotlabs
b66aeea384
minor re-arrange
2016-11-28 14:00:34 -08:00
zotlabs
5c5d45f52b
missing plugins in zot-info
2016-11-22 16:33:00 -08:00
zotlabs
6e016c439c
db update required for Zot2
2016-11-22 14:15:33 -08:00
zotlabs
bc95b2fc77
wrong function
2016-11-21 14:38:02 -08:00
zotlabs
f926915e56
zot: specify crypto method
2016-11-20 21:18:38 -08:00
zottel
cb32640f70
fix a fatal error with incorrect DB object access
2016-11-07 12:19:03 +01:00
zotlabs
b37184ae57
issue #553 - negative birthday from directory. This may not completely fix it and may take a profile update to register the change; but it's a start; specifically we need to store 0000-00-00 in the xprof table of the directory server if that's what we get over the wire. Birthday fields are string and are not subject to SQL strict_mode on dates. We want these to be the string '0000-00-00' if not set to a valid date.
2016-10-17 18:42:06 -07:00
zotlabs
40e03a05be
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
2016-10-13 21:06:26 -07:00
zotlabs
bd70e6ae6d
try to filter any path information from leaking through to zot_finger; and log the url wherever called to track down where it might be called with a malformed webbie or complete path instead of hostname.
2016-10-13 21:01:54 -07:00
Klaus Weidenbach
7b41839ea8
[TASK] Update Doxyfile and fix Doxygen errors.
...
Updated Doxyfile to include new folders.
Add a list for @hooks tags.
Fixed some parsing problems for Doxygen.
2016-10-13 11:27:23 +02:00
zotlabs
9bb847bb07
remove the rest of the backticks from sql queries; replace with TQUOT const which is driver dependent
2016-10-12 18:15:12 -07:00
zotlabs
e7233c0c94
more backquotes - this should take care of most except for the array import queries
2016-10-09 16:31:04 -07:00
redmatrix
095e2bf0b3
file clone sync issue, 1. channel permission import had no uid, 2. mod_getfile was sending attach['data'] instead of attach['content']
2016-09-28 16:51:47 -07:00
redmatrix
9ab6029280
issue #527
2016-09-22 17:15:12 -07:00
redmatrix
b5d093e5ca
finish the channel_reddress() conversion
2016-09-21 15:28:37 -07:00
redmatrix
a90a0874b8
fix for old style version specifiers
2016-09-08 22:56:51 -07:00
redmatrix
c2f83639d4
provide version info in /pubsites
2016-09-07 17:36:45 -07:00
redmatrix
aea2fa1629
issue #186 ...different check for pubforum with expert permissions
2016-08-26 16:02:04 -07:00
redmatrix
e967bc9c45
public forum fallback checking (when custom/expert permissions are applied) was looking at owner rather than observer perms
2016-08-22 17:04:13 -07:00
redmatrix
165f442d70
pending flag not being reset when using autoperms from custom role
2016-08-12 18:17:39 -07:00
redmatrix
e985436b3b
forum detection was off for forums with custom perms
2016-08-10 20:49:51 -07:00
redmatrix
5243dd153b
use config system.server_role and deprecate 'UNO'
2016-08-07 17:29:35 -07:00
redmatrix
a3e5307b93
fix the forum detection in include/zot
2016-07-19 22:57:23 -07:00
redmatrix
237cca7a0d
fixes to perms
2016-07-19 19:33:48 -07:00
redmatrix
ea83032863
translate more old perms calls
2016-07-19 17:52:45 -07:00
redmatrix
99cf2cbaa9
missing bracket
2016-07-18 21:46:40 -07:00
redmatrix
b63165b6e0
more perms work (a lot more)
2016-07-18 21:37:34 -07:00
redmatrix
b5b57523f1
more perms work
2016-07-18 16:45:43 -07:00
redmatrix
f9b67d3630
more perms work
2016-07-18 13:44:39 -07:00
redmatrix
f7833411a1
clone channel perms
2016-07-17 22:18:35 -07:00
redmatrix
b3a785711c
deprecate/remove json_decode_plus
2016-07-13 22:11:06 -07:00
redmatrix
6424bac47c
Merge branch 'dev' into perms
2016-07-12 20:50:27 -07:00
redmatrix
0fa807e7ad
don't try to send sync packets to dead sites.
2016-07-12 18:38:39 -07:00
redmatrix
71b001fdb7
more perms work - notably the stuff in public_perms
2016-07-11 17:02:49 -07:00
redmatrix
cc83983ae5
perms work
2016-07-10 17:45:14 -07:00
redmatrix
917a465ccd
more work on perms
2016-07-09 19:03:29 -07:00
redmatrix
b19bbf5473
change AbConfig to use channel_id instead of channel_hash; which was a mistake in retrospect
2016-06-23 18:12:26 -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
47fc0c7958
add new connection to default group when auto-accepted
2016-06-15 05:28:16 -07:00
redmatrix
b1259876bf
more db column renames
2016-05-31 21:45:33 -07:00
redmatrix
44d3dadb03
don't update hubloc_connected any more often than 15 minutes. We don't require that level of granularity and the frequent writes are causing issues with the stability of that table.
2016-05-30 20:59:46 -07:00
redmatrix
f35609d26c
redundant dev line from an earlier modification causes issue #404
2016-05-30 13:25:58 -07:00
redmatrix
61304d80d2
track down some issues from the application logs
2016-05-26 18:45:47 -07:00
redmatrix
c37eaff263
require token signatures in zot_refresh, also move channel specific stuff into include/channel.php from include/connections.php
2016-05-24 23:05:00 -07:00
redmatrix
80f2ba640e
code cleanup
2016-05-24 20:49:23 -07:00
redmatrix
f9a295a236
Add space between project name and server type
2016-05-24 19:25:10 -07:00
redmatrix
29ba891809
moved enotify
2016-05-24 01:25:13 -07:00
redmatrix
bbc71343bd
change the signed token format. We don't folks to be able to submit random text for signing by us, as they could then use these to generate known signatures.
2016-05-22 22:44: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
ed56b6e67b
first cut at zot-finger request signatures
2016-05-21 18:02:14 -07:00
redmatrix
d8ace38041
rework the conversation object stuff at a high level - still needs a bit of refactoring
2016-05-20 22:52:47 -07:00
redmatrix
a2cec8899a
daemon conversion continued...
2016-05-19 22:26:37 -07:00
redmatrix
d38851023e
provide server role on pubsites page
2016-05-18 16:28:51 -07:00
redmatrix
781716277b
SECURITY: a comment to a private post that has been edited (the comment has been edited) loses its privacy settings. This comment isn't visible in the stream but may be visible in feeds.
2016-05-12 16:47:03 -07:00
redmatrix
f284558007
use only the std_version
2016-05-01 19:29:30 -07:00
redmatrix
a67fa2651d
implement the singleton delivery stuff
2016-04-26 17:38:44 -07:00
redmatrix
521641f3a8
filter out a bit more dreport noise - especially for private posts to multiple recipients.
2016-04-14 21:53:39 -07:00
redmatrix
a8f7af2079
provide general purpose verification class, remove include/session.php (no longer used)
2016-04-14 18:51:06 -07:00
redmatrix
6650916435
file sync testing
2016-04-06 18:38:48 -07:00
redmatrix
9abd95fad3
static App
2016-03-31 16:06:03 -07:00
redmatrix
77094f8d2b
make the admin side menu extensible and provide a hook for a channel "move" operation that federation plugins might use to re-establish connections after a channel move.
2016-03-19 16:17:19 -07:00
redmatrix
7732532964
handle UNO move channel operation
2016-03-09 15:56:51 -08:00
redmatrix
be2b7c0b5f
abconfig
2016-02-29 19:31:52 -08:00
redmatrix
ebe70a41b9
build_sync_packet - no need to sleep after the last sync delivery.
2016-02-28 18:26:08 -08:00
redmatrix
cfa2ac2d0a
move dreport to zotlabs\zot namespace
2016-02-19 14:02:55 -08: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
7868e47643
more uno groundwork
2016-02-05 13:32:15 -08:00
redmatrix
535a54040f
add abook_account to cloned abook records, was missing
2016-01-26 15:38:56 -08:00
redmatrix
10ed334e8c
various issues from the forums
2016-01-17 16:29:32 -08:00
redmatrix
bf99906386
provide admin toggle to disable delivery reports
2016-01-07 14:27:06 -08:00
redmatrix
2cf4ac26fd
log API improvements and queue optimisation for singleton networks
2015-12-31 12:26:41 -08:00
redmatrix
a99d28dea9
sql delete with limit
2015-12-18 13:46:03 -08:00
redmatrix
9c23fe5ab6
issue #228
2015-12-17 14:26:42 -08:00
redmatrix
8514789da9
additional fix for the array_key_exists message in #221
2015-12-15 17:50:14 -08:00
redmatrix
20dcf37976
issue #221
2015-12-15 17:42:49 -08:00
redmatrix
6f2a5117dc
more queue api
2015-12-15 00:04:30 -08:00
redmatrix
b13241564b
more work on queue api
2015-12-14 22:44:05 -08:00
redmatrix
72edc9cd6c
start working on the singleton setting
2015-12-09 18:30:30 -08:00
redmatrix
bd7d851758
a loose end
2015-12-07 16:11:39 -08:00
redmatrix
8b974f8f74
abstract the message handlers
2015-12-07 16:01:54 -08:00
redmatrix
aa5b7eb98a
minor optimisation
2015-12-06 19:48:46 -08:00
redmatrix
4ccd9ae6da
start of v4
2015-12-06 19:16:38 -08:00
redmatrix
4cab74c18c
use the channel blacklist for items and mail, still todo: directory and stuff
2015-12-03 21:05:48 -08:00
redmatrix
650f882265
generalise the site black|white allow lists, also add a channel black|white list for future use
2015-11-29 20:26:00 -08:00
redmatrix
9f90806027
log whatever is showing up in the delivery hash array since it seems that one site has something unusual there and it is throwing errors.
2015-11-29 15:23:29 -08:00
redmatrix
fa5a382c4b
don't show item_delayed_publish items in tag clouds
2015-11-26 17:35:41 -08:00
redmatrix
a7e4553ea7
delivery report tweaks
2015-11-22 17:12:30 -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
1029939f56
issues connecting to local forum
2015-11-15 17:28:45 -08:00
redmatrix
877b3361c8
better re-install detection/protection. This necessitated a slight protocol change but should not introduce any compatibility issues with older software. Things just work better if you use an up-to-date server.
2015-11-03 20:28:56 -08:00
redmatrix
2fbfc2a8f1
need better peer verification due to re-install issue, this is temporary
2015-11-03 19:50:40 -08:00
redmatrix
d13dae6b06
bug in hub/location sync
2015-11-02 21:02:30 -08:00
redmatrix
954957bd8a
provide discovery for local deletes in zot-finger and mark the hublocs invalid/deleted
2015-11-01 19:07:32 -08:00
Mario Vavti
7ce3ebc46d
make sure we only have one profile photo for a cloned channel
2015-11-01 21:04:55 +01:00
Mario Vavti
d0b0d0ec72
possibly improve cloned profile images a bit - mod/photo would pick some random photos if there are more than one kind of PHOTO_PROFILE
2015-10-30 15:08:28 +01:00
redmatrix
ea37882b95
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/zot.php
install/schema_mysql.sql
install/schema_postgres.sql
install/update.php
mod/zfinger.php
2015-10-19 16:18:04 -07:00
redmatrix
57e0bfc5a9
add the project name to site info packet
2015-10-19 16:07:14 -07:00
redmatrix
f0a33c00bc
separate permission_update notification into permission_create and permission_update, since some networks send out a notification for duplicate share requests even if connected.
2015-10-18 20:13:12 -07:00
redmatrix
4b984f9819
filter delivery reports
2015-10-17 13:26:55 -07:00
redmatrix
b33a9a71f6
more work on import & sync of private mail and conversations
2015-10-14 17:40:50 -07:00
redmatrix
dd45e7b4eb
Merge https://github.com/redmatrix/redmatrix into pending_merge
2015-10-01 17:30:15 -07:00
redmatrix
63eb0e3a38
allow additional uses for xtags
2015-10-01 17:28:03 -07:00
redmatrix
986244eeea
issue #63 - missing table fields in db query
2015-09-30 21:38:21 -07:00
redmatrix
9bdb7bef5d
add delivery reports to mail (not backported to redmatrix)
2015-09-30 19:27:53 -07:00
redmatrix
54e7d5d260
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/zot.php
view/de/messages.po
view/de/strings.php
2015-09-30 16:31:06 -07:00
redmatrix
5265c190d4
document the issue with cloned delivery to self vs normal delivery to self
2015-09-30 16:27:24 -07:00
redmatrix
4b7c052ed8
undo self deliver check
2015-09-30 12:59:13 -07:00
redmatrix
fd290882fd
undo self-deliver check
2015-09-30 12:57:02 -07:00
redmatrix
e769fbaffb
another error from the db logs
2015-09-29 22:56:29 -07:00
redmatrix
a795f03c48
improve the sys channel location repair to check key issues and re-installs and/or site moves
2015-09-29 17:21:14 -07:00
redmatrix
c5294f994e
check and repair sys channel locations (hublocs) in zot-finger if they are messed up
2015-09-29 16:55:51 -07:00
redmatrix
5c526995d8
resolve conflicts
2015-09-28 19:07:31 -07:00
redmatrix
50ee82e8bd
Merge https://github.com/redmatrix/redmatrix into pending_merge
2015-09-28 19:06:10 -07:00
redmatrix
8a3c909c74
ignore self delivery in process_delivery
2015-09-28 19:05:45 -07:00
redmatrix
3a8e1e0484
process_delivery: ignore self
2015-09-28 19:04:36 -07:00
redmatrix
e5f47cd14b
create site records for all queued sites and check for death
2015-09-28 17:13:11 -07:00
redmatrix
ed876a9c52
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/zot.php
2015-09-27 18:03:40 -07:00
redmatrix
67fe8fc4a7
well there's one problem...
2015-09-27 18:00:37 -07:00
redmatrix
55b530f0fd
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/zot.php
util/messages.po
2015-09-27 17:00:41 -07:00
redmatrix
aae51a9b23
add some safety checks on the sending side of sync
2015-09-27 16:47:25 -07:00