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
redmatrix
9ab335626c
import_xchan_photo: check the return headers to ensure it's an image content-type of some form as imagick chucks a wobbly if you try to initialise an image with an html error page.
2015-09-26 13:25:34 -07:00
redmatrix
e45958b967
add plugin hooks to channel sync/import/export
2015-09-23 18:27:04 -07:00
redmatrix
d35c5bcb2f
merge issue
2015-09-22 19:16:13 -07:00
redmatrix
c699d3a17a
Merge https://github.com/redmatrix/redmatrix into pending_merge
2015-09-22 19:14:21 -07:00
redmatrix
d16ac62a51
don't send sync packets to deleted hubloc locations
2015-09-22 19:13:10 -07:00
redmatrix
15feeb7bfe
inverted logic syncing deleted hublocs
2015-09-22 18:40:03 -07:00
redmatrix
02ecc93998
Merge https://github.com/redmatrix/redmatrix into pending_merge
2015-09-22 16:50:55 -07:00
redmatrix
34291d5938
add names to delivery report for sync delivery
2015-09-22 16:50:08 -07:00
redmatrix
e726adc27b
Merge https://github.com/redmatrix/redmatrix into pending_merge
2015-09-22 16:45:14 -07:00
redmatrix
642f460dca
report the channel sync
2015-09-22 16:43:36 -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
7dd61c05dc
allow self delivery until we figure out why clone sync of posted items isn't doing it's thing
2015-09-22 04:39:36 -07:00
redmatrix
1c1155513a
add one more test
2015-09-22 04:28:05 -07:00
redmatrix
f84151e1fe
fix foreach warning
2015-09-22 04:24:54 -07:00
redmatrix
2869ccfe39
delivery reports - crude but mostly functional at least for zot deliveries
2015-09-22 04:04:51 -07:00
redmatrix
0b1b11ea53
heavy lifting for delivery reports
2015-09-22 02:32:04 -07:00
redmatrix
146ff6f703
more progress on delivery reports. Store the remote results from zot sites locally.
2015-09-21 22:30:28 -07:00
redmatrix
4fde0bf62e
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/zot.php
2015-09-20 20:58:55 -07:00
redmatrix
a679081993
new delivery report format
2015-09-20 20:21:54 -07:00
redmatrix
177292de13
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/zot.php
2015-09-20 18:10:25 -07:00
redmatrix
efcb4abfd0
improve on the last attempt
2015-09-20 18:08:06 -07:00
redmatrix
1501d1c570
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/zot.php
2015-09-20 18:03:41 -07:00
redmatrix
59a56ac77f
catch the timestamp also
2015-09-20 17:47:41 -07:00
redmatrix
35f09f4f74
remove system flags from channel import packet
2015-09-20 17:45:23 -07:00
redmatrix
b240c15014
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/zot.php
2015-09-20 16:55:24 -07:00
redmatrix
9de8df496a
we need the xchan record also
2015-09-20 16:52:21 -07:00
redmatrix
ce064188c6
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/zot.php
2015-09-19 22:48:22 -07:00
redmatrix
5d6f59a598
clone new connections
2015-09-19 22:46:59 -07:00
redmatrix
f4a4cf1402
clone new connection requests
2015-09-19 15:36:07 -07:00
redmatrix
63146821d7
Merge https://github.com/redmatrix/redmatrix into pending_merge
2015-09-18 23:02:49 -07:00
redmatrix
9ed8eac8c6
include site identitfier on redmatrix delivery reports also
2015-09-18 23:02:03 -07:00
redmatrix
43251ed8ce
add reporting site to delivery report
2015-09-18 22:00:33 -07:00
redmatrix
fdd4c1b9d1
more work on surviving hub re-installs
2015-09-18 14:31:29 -07:00
redmatrix
f0a7a6a1e2
consolidate zotfinger and webfinger
2015-09-17 17:51:31 -07:00
redmatrix
692e117c8a
Merge pull request #38 from MicMee/master
...
ensure that living sites are marked as alive
2015-09-12 08:25:27 +10:00
redmatrix
d96ca61f2b
Merge https://github.com/redmatrix/redmatrix into pending_merge
2015-09-11 14:57:26 -07:00
redmatrix
fc58b8cc0d
log the remote message if there was one
2015-09-11 14:56:31 -07:00
redmatrix
45e1f93e56
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
util/messages.po
2015-09-11 14:33:07 -07:00
redmatrix
e062c4e6b5
another tactic to deal with orphan hublocs from re-installs, or at least allow the descendant channel to survive
2015-09-11 14:30:07 -07:00
Michael Meer
755edd2110
ensure that living sites are marked as alive
2015-09-11 14:06:37 +02:00
redmatrix
4abfd4053a
sync likes
2015-09-10 19:18:12 -07:00
redmatrix
00b480527a
provide remote delivery report at logger_debug level
2015-09-10 17:53:06 -07:00
redmatrix
922d2165b3
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/zot.php
2015-09-10 16:51:22 -07:00
redmatrix
50e32c3d8a
zot_refresh: always try the hubloc pointed to by xchan_addr first
2015-09-10 16:48:08 -07:00
redmatrix
75d521d42a
menu import and sync
2015-09-08 17:52:39 -07:00
redmatrix
650e98b2a9
work on event sync
2015-09-07 21:01:49 -07:00
redmatrix
6d1b64065a
consolidate import_items/sync_items
2015-09-07 18:14:30 -07:00