Commit graph

1427 commits

Author SHA1 Message Date
friendica
e12f6f1bd9 small changes to a couple of lookup functions which we need to use a bit more 2014-02-20 17:20:24 -08:00
friendica
a7194bc79a fix the broken hublocs in an update 2014-02-20 01:44:29 -08:00
friendica
24d119b8c4 introduce a new privacy level "PERMS_AUTHED" to indicate somebody that is able to successfully authenticate (but is not necessarily in this network). 2014-02-18 20:59:25 -08:00
Thomas Willingham
e40cdb2047 Windows hack for proc_run() from Marshall 2014-02-16 21:53:07 +00:00
friendica
8c845f5d50 set default for account_level in DB 2014-02-07 22:47:03 -08:00
friendica
3665bc38ef bookmarking 2014-02-04 16:06:56 -08:00
friendica
d8f16442a1 bookmark permissions 2014-02-04 00:52:34 -08:00
friendica
c4d0884596 accept new connection broke yesterday 2014-02-03 14:03:43 -08:00
friendica
baf3b052f6 don't load any configs from DB if installing - especially in style.pcss 2014-02-02 18:18:22 -08:00
friendica
b39c0d54c0 some windows fixes 2014-02-02 14:06:36 -08:00
friendica
a1d40431f2 chat expiration (default 2 hours) - but can be set on a per-chatroom basis 2014-01-30 20:10:47 -08:00
friendica
8c8be2a05e add client field to chatpresence - which will give us a place to put IP addresses for webRTC. Might as well allow for that since we'll (soon) have presence. Then we wouldn't need SIP and folks can "just" p2p each other using any mechanism they wish if they have permission to do so. 2014-01-28 15:05:44 -08:00
friendica
8c80589b5a chat data structures 2014-01-27 21:02:57 -08:00
friendica
8a5c747010 move some store things 2014-01-21 00:19:53 -08:00
friendica
762a543249 allow menus to have special roles 2014-01-15 12:57:12 -08:00
friendica
a309bc0d47 only let visitors remove their own files. 2014-01-09 19:20:10 -08:00
friendica
aacd3164fa allow objects to have permissions 2013-12-28 16:05:03 -08:00
friendica
5dee22c94d db update for directory profiles - and fix broken database.sql from the sys_perms addition a couple days back 2013-12-25 01:22:51 -08:00
friendica
63a42480c7 add account_level, is_foreigner and is_member functions; convert all e2ee user input and prompts to hex to avoid javascipt's lame handling of quotes. !!This breaks all prior encrypted posts.!! 2013-12-23 15:13:09 -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
Thomas Willingham
c4b4f27796 Some sys chan stuff 2013-12-22 20:47:57 +00:00
friendica
2297335798 remove the .wgl (widget list) file processing for ordering widgets on a page. This preceded Comanche and was never used and is now obsolete. 2013-12-18 15:53:40 -08:00
friendica
1a4c91ccf5 Add App::poi to store the "person of interest" for a given page. This is so we can comanchificate the vcard_from_xchan widget -- it will pick up the target xchan from the page environment. 2013-12-18 14:53:18 -08:00
friendica
817d146123 bloody hell... php version incompatibility with openssl - openssl no longer accepts a string as an algorithm. Earlier versions didn't recognise sha256. So we'll look to see if the algorithm constant for sha256 is defined and if so we'll use that instead of the string. 2013-12-15 18:30:10 -08:00
friendica
0272ab4cd9 Provide a fallback channel to probe for magic-auth when we have no prior communications with a site.
This will be a system channel if one exists, otherwise any channel will do. We'll try to use the first
valid channel on the site because that was probably created when the site was installed and is the
closest thing to a system channel we've got.
2013-12-15 14:36:43 -08:00
friendica
64b16f1e1a add construct_page hook 2013-12-13 01:13:35 -08:00
friendica
b4e1e8a4a4 The affinity tool is not a "traditional" widget. But it is nevertheless a widget. It just makes fewer page layout decisions which are hard-coded. If you want to shrink it down and put it on the sidebar in your theme, go for it. 2013-12-11 19:43:41 -08:00
friendica
e5ea4a009b mod channel is now Comanchified 2013-12-10 20:36:11 -08:00
friendica
7d179ba4c4 look for comanche module pages using theme_include() 2013-12-10 14:58:13 -08:00
friendica
65e4fa3dcb matrix/network page under Comanche cont. 2013-12-10 00:58:58 -08:00
friendica
0043ef66b6 mod_network is now running under Comanche. Yay. 2013-12-10 00:25:32 -08:00
friendica
6c321be03c reorganise a few included functions - notably identity related functions 2013-12-03 15:35:13 -08:00
friendica
bd33e0486d deprecate a->get_curl_code() and $a->get_curl_headers() 2013-12-01 00:16:02 -08:00
friendica
7536ed6e44 allow themes to mess with the navbar contents without a custom template. It's done as a callback using a transient plugin hook.
For instance to get rid of the notifications link:

insert_hook('nav','strip_notify');

function strip_notify($a,&$b) {
    unset($b['nav']['notifications']);
}
2013-11-28 20:17:07 -08:00
tuscanhobbit
2c6e1b7aee replaced rhash icon 2013-11-23 20:01:11 +01:00
friendica
4791b2fd9c add aid to notifiy table which we may need to supress duplicate notify emails across your channels
also try to handle the wretched mess of broken and duplicated hublocs that fred.cepheus.uberspace.de typically reports
2013-11-20 21:09:13 -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
d37f4da37b remove the challenge table as well 2013-11-18 20:10:53 -08:00
friendica
bbd69c1e81 drop the queue table which we no longer use 2013-11-18 19:54:02 -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
92f37fd0d5 document extra features 2013-11-17 01:10:46 -08:00
friendica
b26989bb65 removeme sort of works for a single channel - lots of loose ends to deal with but it's a start 2013-11-12 18:27:36 -08:00
friendica
effb1a0534 provide zid in js so we can use it from client 2013-11-10 18:57:24 -08:00
friendica
8b9633e46b DB - allow private messages to expire 2013-11-06 17:27:51 -08:00
friendica
5c71ccba98 add shameless plug if they've not got zot, and add photo favicon to photos pages 2013-11-05 18:20:37 -08:00
friendica
f89e7b2bd5 make the storage permissions tweakable for hosted environments where they may require tweaking. 2013-11-04 19:21:09 -08:00
friendica
39318e299e allow mailsent update locking to unlock after 24 hours. Also don't even try to do a DB update if the build number is 0. Something else will likely fail and likely in some horrible way, but we shouldn't try and update the DB - something is clearly wrong with it. 2013-10-30 20:25:10 -07:00
friendica
bba188eae3 if registration is disabled, send the site register link to pubsites 2013-10-30 18:49:14 -07:00
friendica
2035a5dd76 allow zot public providers to list their location, as a non US-based server could be a strong selling point. 2013-10-30 01:58:45 -07:00
friendica
d389ceed6c Schema change - add channel_dirdate so we can ping a directory server once a month which means we can find dead channels - because they won't be pinging the directory server once a month. 2013-10-27 22:04:59 -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
Thomas Willingham
bcf211e9dc Don't send a quintillion emails every time mysql restarts. 2013-10-10 21:24:04 +01:00
friendica
78a8d176ac post signatures 2013-10-02 21:04:48 -07:00
zottel
d7b81b1afd Add possibility to use a block a channel menu (set channel_menublock to the lowercase title of the block without special chars)
Fix comanche_block() SQL
2013-10-01 09:36:28 +02:00
friendica
dffce63662 implement republish permission for use in sourced channels 2013-09-30 21:49:26 -07:00
friendica
e992cfeca9 directory sync - this will either work, or it won't work, or it will possibly recurse and blow up the matrix. Hard to say. Do you feel lucky? Well do ya' ... punk? Rule #1 - don't mess with anything unless it's blowing up the matrix. If it doesn't blow up the matrix, but doesn't work, just let it go and let's figure out what it is doing and what it isn't doing.
The flow is as follows:
Once a day go out to all the directory servers besides yourself and grab a list of updates. This happens in the poller. If we've never seen them before add them to the updates table. The poller also looks to see if we're a directory server and have updates that haven't yet been processed. It calls onedirsync.php to process each one. If we contact the channel to update and don't find anything (we're just doing a basic zot_finger), set a ud_last timestamp. If this is set we will only try once a day for seven days. Then we stop trying to update.

This will probably cause a spike the first time through because you haven't seen any updates before, but we spread out the load over your delivery interval.
2013-09-30 18:33:27 -07:00
friendica
edc5566f79 structure for channel unions 2013-09-26 16:25:28 -07:00
friendica
6519433301 suppress creating the directory update record for profile updates which are part of the normal import_xchan sequence - otherwise we get two for every change. Create it normally if we are called with a profile_update message and don't go through the whole import_xchan thing. 2013-09-25 21:22:36 -07:00
friendica
d4ea56a77e reduce susceptibility to bleichenberger attack 2013-09-24 05:20:29 -07:00
friendica
cdfb5f9dc7 adult channel setting 2013-09-22 20:38:24 -07:00
friendica
e62dfc6f8a add a flag field to xtags so that we can filter tags based on whether or not the parent xchan is safe or not. Otherwise we'll have tags that lead to nowhere because the directory entry is hidden but the tag isn't. A successful porn site in the matrix could also swamp the directory with x-rated tags, even if the site was playing nice and did everything right to self-censor. Accomplishing this with joins would be horrendously inefficient, though it will take a bit of code re-org to get this flag where it needs to be when it's time to set keywords. 2013-09-19 22:27:12 -07:00
friendica
54abed8457 provide a "safe search" backend and allow for self-censorship using nsfw or adult profile keywords. Eventually the directories will be forced to mark adult profiles and sync this knowledge between them. At the moment there's no way to do an unsafe search, but we really just need a checkbox and pass the value through directory to dirsearch on the back end, and some will want this as a pconfig. 2013-09-19 19:50:13 -07:00
friendica
c0e8b0cd9d Merge branch 'zpull'
Conflicts:
	boot.php
	install/database.sql
	install/update.php
2013-09-19 01:10:10 -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
14f6bf06e7 set default charset of email_header_encode, add ud_flags to indicate which (directory sync) updates have been processed in some way. 2013-09-18 21:22:08 -07:00
friendica
5607737c39 set default charset of email_header_encode, add ud_flags to indicate which updates have been processed in some way. 2013-09-18 21:20:54 -07:00
friendica
e4d2e2200e add "tiered" access policy, add tagcloud to directory pages 2013-09-18 17:47:26 -07:00
friendica
d3aa31be4d site sellpage links 2013-09-17 22:27:51 -07:00
friendica
ff2ada207a Pieces we'll need to tie together chanman and account/channel deletion and directory sync. Please do not mess with any of this.
Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this.

OK? Understood?
2013-09-17 20:50:09 -07:00
friendica
6a9e86e540 bumped the capslock 2013-09-17 02:30:28 -07:00
friendica
56de8aa05b SEO: add keywords to appropriate channel pages 2013-09-17 02:26:34 -07:00
friendica
037fd43fbd more remote error reporting for zot 2013-09-12 16:52:58 -07:00
Michael Meer
f93e92c260 extends DB in hubloc to maintain hubloc connectivity 2013-09-10 14:18:51 +02:00
friendica
933c30d95d site rename issue 2013-09-09 19:02:38 -07:00
friendica
4619993562 Merge https://github.com/friendica/red into zpull 2013-09-09 04:57:55 -07:00
friendica
0565a6ef01 change primary key on updates table 2013-09-09 04:55:43 -07:00
Michael Meer
f9e6e1c3d2 Preparation to maintain HubLocs from adminpanel. This should act as basis for a kind of traffic light to get an overview. 2013-09-09 12:18:39 +02:00
friendica
f5519d9c77 fix the sitename also 2013-09-08 22:59:06 -07:00
friendica
6b0c8831ff fix the recipient and subject localisation of failed update emails 2013-09-08 22:56:53 -07:00
friendica
c65ea0b97b public site list (will take a few days to populate, assuming folks have updated their site access policy which old sites do not have) 2013-09-05 22:00:06 -07:00
friendica
3b697957af update photo timestamp on site rename 2013-09-05 16:26:40 -07:00
friendica
7b84b8480f security fix and ability to change layout on webpage edit form 2013-09-03 16:31:59 -07:00
friendica
0be8e4061c testing Comanche 2013-09-03 01:57:11 -07:00
friendica
6ad6aa307f Merge pull request #108 from cvogeley/master
More mobile theme fixes
2013-09-02 17:03:54 -07:00
friendica
de3345f5f3 This isn't optimal, but on the short term we'll clone the page editor to use as a block editor, and probably a layout editor as well. Eventually, these should all probably just be switches onto a single editor instance. Decided to put the layout_mid into the item table directory rather than re-use resource_id, so that we can still have pages attached to different resources like photos and events and stuff. The block editor is far from finished, at this point I've only cloned it and changed the name and type of item it looks for. 2013-09-01 17:07:55 -07:00
Christian Vogeley
02fe2d4881 More mobile theme fixes
If user is logged in  personal settings are used else use admin
settings.
Only show toggle link if there is something to switch between.
2013-08-31 18:20:34 +02:00
friendica
00622779f3 add a guid to directory update table to avoid recursion 2013-08-31 04:30:01 -07:00
friendica
7458263017 I've got a pretty good idea of how to bootstrap, parse and render Comanche now. This does not mean it's close to being presentable - far from it. 2013-08-29 20:54:42 -07:00
friendica
70c0beb857 block attempts to set the baseurl to an ip address if it was previously a dns name 2013-08-29 16:46:22 -07:00
friendica
1dbfb311b7 some basic mappings between comanche pages and normal pages so normal pages will still work 2013-08-28 19:29:22 -07:00
friendica
95fcf773be right - here's how we're going to link comanche with webpages 2013-08-28 16:39:43 -07:00
friendica
e8cd3b7040 bring back mail list and cleanup some issues which popped out with full PHP warnings 2013-08-27 22:30:06 -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
31b934eb5e clone sync was trying to update xchan info in the abook loop. 2013-08-26 20:58:07 -07:00
friendica
7dfd9435f7 found the bugger 2013-08-26 18:15:30 -07:00
friendica
2f2a316b27 regex patch 2013-08-26 03:54:27 -07:00
friendica
7546117388 Try to ensure full paths don't leak into xchan_addr and hubloc_addr 2013-08-25 20:11:49 -07:00
friendica
df3cf811f0 always use system provided baseurl if configured 2013-08-25 20:02:24 -07:00
friendica
1c17d1b69c start timestamping hubloc connections so we can eventually remove dead ones 2013-08-24 18:55:07 -07:00
friendica
4925f7fc53 another issue with site rename 2013-08-24 17:05:01 -07:00