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