Commit graph

315 commits

Author SHA1 Message Date
Habeas Codice
46964a8a88 make sql work on both db types 2015-02-13 02:57:28 -08: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
zottel
9dda248b94 make update 1133 work in PHP < 5.5 2015-02-10 09:49:26 +01:00
Habeas Codice
9ed23f9081 Merge branch 'master' of https://github.com/friendica/red 2015-02-05 09:15:39 -08:00
Habeas Codice
84843984b8 typo/cleanup pg only 2015-02-05 09:14:24 -08:00
friendica
e58bef049d admin/dbsync not reporting failed updates 2015-02-01 15:41:01 -08:00
friendica
b1a92d620e two tracks proceeding in parallel - first adding the ability to store a digital signature with ratings so that directories can pass them around, second provide some directory registration functions so we can obtain a list of directories from somewhere (to pass ratings around between them). This gives the primary directory role some value as that is where you register your directory. 2015-02-01 15:10:52 -08:00
Habeas Codice
3e5226adc7 Add more detail about directory_mode settings to default config and docs 2015-01-30 19:37:25 -08:00
Habeas Codice
2039710962 postgres does not support the , syntax. a ; would work, if it weren't statement-locked.
FWIW, the exact same queries listed for postgres are perfectly valid and equivalent on mysql. no need for separate
statements.
2015-01-28 17:47:31 -08:00
friendica
0596097f86 provide storage for directory based reputation in the xlink table by setting xlink_static = 1, so that xlink_static = 0 is traditional poco linkages 2015-01-26 19:13:06 -08:00
Habeas Codice
dc259ba027 typo 2015-01-25 04:13:14 -08:00
Habeas Codice
0ca71a6b5e update schema 2015-01-25 04:05:28 -08:00
Habeas Codice
200d973581 suppress notices that might be confusing 2015-01-25 04:04:53 -08:00
Habeas Codice
146efbc18e unmatched parens 2015-01-23 22:34:45 -08:00
zottel
eb4e6ab073 add db update 1131/1132 to database schemas 2015-01-23 23:20:30 +01:00
friendica
9028e6bd30 typo in postgres db update, remove redmatrix.nl from directory servers since it isn't a directory server any more. 2015-01-20 19:41:09 -08:00
friendica
e3041b80fd oauth permissions table 2015-01-19 20:06:12 -08:00
Habeas Codice
547d852ef7 fix update 1131 for postgres databases 2015-01-18 18:33:32 -08:00
friendica
1c9299ed42 more backend work on poco rating 2015-01-15 14:05:18 -08:00
Habeas Codice
28a0209ffd fix driver issue for large dbs
add rudimentary resume
2014-11-20 12:41:48 -08:00
Habeas Codice
9443ef8a3d simple command-line migrator from mysql to postgres
provided with the WorksForMe(tm) warranty of fitness for a purpose implied or otherwise
2014-11-17 12:26:24 -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
3b74e3c1e1 add defaults to database tables 2014-11-09 19:24:14 -08:00
friendica
d5d6158973 ok heads up - potentially destabilising change. I've tried to sort out all the default connection permissions for those who don't have a predefined (or therefore have a "custom") permissions role. Unfortunately this includes most people that were using this software more than a month ago. The real changes are that the SELF address book entry no longer holds "auto-permissions" but instead holds your "default permissions" (if you have a pre-defined role, the defaults will be pulled from the role table).
The auto permissions have moved to a pconfig (uid.system.autoperms). A DB update will move these settings into their new homes.

What used to be the "Auto-permissions settings" page is now the "default permissions settings" page and a checkbox therein decides whether or not to apply the permissions automatically. A link to this page will only be shown when you have the "custom" role selected.

With luck nobody will notice anything wrong. But at least for the next few days, please review permissions that have been assigned to new connections (either automatically or manually) and make sure they make sense (e.g. they aren't "nothing"). You still need to take action when seeing a message "permissions have changed but not yet submitted" as we always let you review and perhaps adjust the settings _before_ a connection is established (unless you have autoperms turned on).
2014-11-04 17:11:02 -08:00
Thomas Willingham
77fb1c2ee6 Doco - some clean up to install - keep politics out of it, 80 columnise it and
whitespace.
2014-10-22 20:22:37 +01:00
zottel
4fe8630518 document store writability requirements 2014-10-22 13:09:56 +02:00
friendica
5362943330 missing quote 2014-10-14 18:05:32 -07:00
friendica
2db7d88e28 this is the reason Diaspora forum tagging was broken 2014-10-14 18:02:34 -07:00
friendica
5236516145 install doc double escapes the store/[data] path. 2014-10-06 15:01:55 -07:00
jeroenpraat
0049f4c71a +png support
https://redmatrix.nl/channel/jeroenpraat/?f=&mid=83603d8f0876c040efafce87755fcd252dbe8da4a75d82fdb230519e3c8dcb72@redmatrix.nl
2014-10-05 21:05:50 +02: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
Jeroen
3e8f9e8b62 update nl + Friendica>RedMatrix in two text files 2014-08-30 14:07:38 +00: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
eb27bea794 mind numbing drudgery continued... 2014-08-27 19:15:34 -07:00
friendica
e179dca446 place to store multiple choice and select items for extensible profiles 2014-08-26 22:37:04 -07:00
friendica
8c6067b411 more hard work 2014-08-26 20:51:59 -07:00
friendica
9196c9eef0 We really can't do this without a hubloc. I was hoping we could, but notifier is setup to take hublocs, not xchans. 2014-08-22 21:37:08 -07:00
friendica
4a76925787 some more work on realms 2014-08-17 19:06:56 -07:00
friendica
20bdcb037f provide backend storage and declaration of directory realm 2014-08-16 16:10:35 -07:00
friendica
7044975520 item table upgrade for storing post visibility 2014-08-06 17:00:25 -07:00
friendica
85032a1fa3 db tables for extensible profile fields 2014-08-02 14:56:17 -07:00
friendica
35ed18967a block channel removal for 48 hours after changing the account password, since the password is required to remove a channel. Somebody looking at an open session on somebody else's computer can simply change the password and then proceed to maliciously remove the channel. This change gives the owner 2 days to discover that something is wrong and recover his/her password and potentially save their channel from getting erased by the vandal. This is most likely to happen if a relationship has gone bad, or something incriminating was found in your private messages when you left your computer briefly unattended. 2014-07-29 20:13:01 -07:00
friendica
b19176169c provide a specific permission for liking profiles (reuse the obsolete bookmark permission), also remove the unused 'unconnected contacts' view for now. 2014-07-17 20:54:30 -07:00
friendica
3a31ddea2b provide os_mkdir to workaround permission issues with php mkdir 2014-07-16 01:07:00 -07:00
friendica
c74fd78993 move smarty compiled files to store/[data]/smarty3 - which puts all writeable areas of the server except the config file and logs under the "store" directory. We'll do logs at a future time. 2014-07-10 21:34:52 -07:00
friendica
fa706c8e86 finish implementing email verification. Currently it only applies if REGISTER_OPEN is in effect. 2014-07-09 21:10:56 -07:00
friendica
0cfcb02311 ability to like things 2014-06-23 05:19:28 -07:00
friendica
1dacfb375e honour the admin censored flag in the directory, and some slow progress on extended likes 2014-06-22 17:15:42 -07:00
friendica
a0747799fc likes table for liking things besides posts and comments 2014-06-22 03:39:43 -07:00
friendica
3821efb99e issue #477 2014-06-01 01:30:34 -07:00
friendica
bcac633085 implement 'requires' on personal apps 2014-05-22 19:19:04 -07:00
friendica
696f62331d try to recover from bad update 2014-05-20 22:38:33 -07:00
friendica
6d01707a72 more app backend work 2014-05-19 16:49:11 -07:00
friendica
68ca4ef19e support commerical apps 2014-05-18 02:21:06 -07:00
friendica
28e8a1d2d3 app DB structure 2014-05-17 17:18:56 -07:00
friendica
c93353c0a3 we seem to have lost any install text mentioning that subdirs and alternate ports aren't supported 2014-04-12 03:31:55 -07:00
Thomas Willingham
742e2686ca Don't explicitly deny our strongest features existence. 2014-04-11 14:53:18 +01:00
sasiflo
f16fc1eb4f Added some more details about why browser-valid SSL certificates must be
used when SSL is used at all.

It is now in the check failure message in the installation routine, the
installation readme and in the documentation pages.
2014-04-10 23:41:18 +02:00
friendica
ad60e2c566 use parent_mid in the parent query for enotify instead of of the parent id. This should fix the issue with encrypted content in the notification messages (for locally posted replies). The fix was a bit harder than anticipated because we store the parent id as an int in the notify table so this had to be modified to char storage as well. 2014-04-06 02:57:33 -07:00
friendica
27fec9cb64 more efficient public feed fetching 2014-04-02 15:13:50 -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
7375e30506 This should be a slight improvement in setting ciphers - we'll punt on RedHat but open up the list just for openssl distros which seem to have all the problems at the moment. 2014-03-25 15:19:18 -07:00
Thomas Willingham
fea711ecde Typo in database.sql 2014-03-07 17:27:44 +00:00
friendica
2a1729e671 typo 2014-03-06 01:34:39 -08:00
friendica
8c7e076dae bring friends back 2014-03-06 01:29:42 -08:00
friendica
3d49bf0320 directory sync issues 2014-03-03 21:00:42 -08:00
friendica
e7e97e578b put bookmarked chatrooms into poco 2014-02-25 19:48:13 -08:00
friendica
2c72e49d1f more chatroom discovery 2014-02-25 17:55:30 -08:00
Thomas Willingham
36085bc608 Also update database.sql 2014-02-25 21:12:19 +00:00
Thomas Willingham
8e3a16bcdd Update channel permissions to full ints 2014-02-25 21:06:47 +00:00
friendica
4944070e79 vsprintf error on update 2014-02-20 02:30:37 -08:00
friendica
a7194bc79a fix the broken hublocs in an update 2014-02-20 01:44:29 -08:00
Thomas Willingham
35a3b2d8eb s/Options All/AllowOverride All 2014-02-10 21:36:19 +00:00
friendica
8c845f5d50 set default for account_level in DB 2014-02-07 22:47:03 -08:00
friendica
d8f16442a1 bookmark permissions 2014-02-04 00:52:34 -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
9261a170eb basic chatroom management backend 2014-01-29 00:08:29 -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
352e4dc21b add store directory write check to install checks 2014-01-08 18:20:47 -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
569e93d6e1 Ooops, also update the DB 2013-12-22 20:54:41 +00:00
Thomas Willingham
c4b4f27796 Some sys chan stuff 2013-12-22 20:47:57 +00: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
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
8b9633e46b DB - allow private messages to expire 2013-11-06 17:27:51 -08:00
friendica
310ccfda99 INSTALL for dummies - step 1: ensure that we throw an ugly error message in their face
if there's an ugly error when we first try to install. DON'T white screen until after
they've got it running.
2013-11-05 19:45:02 -08:00
Antoine G
8baf617c89 Fix missing parenthesis in database.sql
This was blocking database creation process
2013-11-01 14:02:07 +01: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
e3504df514 installing sabre is a whole lot more complicated. It also doesn't like co-existing with other projects in the same web path. This is going to be fun. 2013-10-21 15:29:27 -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
a92e1c617b Add install instructions for cloning WebDAV component (which I think is best if we make optional). There may be webserver dependencies so let's just call this a plugin of sorts, but different than normal plugins because if it's installed it will be tightly integrated with everything we do. Eventually we may provide a static repository or select a specific sabre-dav version so that we're immune from changes upstream which break stuff we're doing; but for now we'll use the fruux main repository and install using the trunk. 2013-10-10 16:09:26 -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
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
2a0406ec8c add some text for issue #79 2013-09-24 19:23:39 -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
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
d3aa31be4d site sellpage links 2013-09-17 22:27:51 -07:00
ndurchx
bf3e7f5e9f Fixed error in SQL Statement 2013-09-12 11:39:07 +02:00
Michael Meer
f93e92c260 extends DB in hubloc to maintain hubloc connectivity 2013-09-10 14:18:51 +02:00
friendica
0565a6ef01 change primary key on updates table 2013-09-09 04:55:43 -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
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
friendica
00622779f3 add a guid to directory update table to avoid recursion 2013-08-31 04:30:01 -07:00
friendica
2d3a489f51 basic structure for premium channel implementation 2013-08-21 17:15:56 -07:00
friendica
d8ef1417fb poll stuff 2013-08-21 01:33:20 -07:00
friendica
5d35d21100 network-wide poll voting structure 2013-08-20 20:39:00 -07:00
friendica
cd5fdbcb48 email attachments (and fix email photos) 2013-08-19 21:19:39 -07:00
friendica
1c1449cd82 we only want to maintain one INSTALL.txt - and it is in the directory 'install' where it belongs. 2013-08-15 22:41:34 -07:00
friendica
6191cfef2a check these in so I can go back and find out why the stylsheet is horked 2013-08-11 19:04:07 -07:00
friendica
68d907803a basic *account* removal, but the channel removal which it calls still needs (lots of) work. Oh and the intro table is no longer used and won't be - so it's gone. 2013-08-04 17:17:00 -07:00
friendica
6197f945ad add "xchan_instance_url" for communicating with services that lack nomadic identity. This will be set to the url of the Red site that they are connected with. Only the nomadic identity clone at that site can communicate directly with them. Other instances will need to relay through that site - and if it goes down, that connection is stuffed. 2013-08-01 16:55:37 -07:00
friendica
c00c550c58 better mail obscuring 2013-07-31 02:32:41 -07:00
friendica
7b3c29ebe6 fix bug #84, make imported messages from your clones show up on your wall 2013-07-29 17:30:46 -07:00
friendica
c975e51e8a add chandesc field to profiles to provide some arbitrary text in the directory - such as to inform people what this channel is about before they connect. This will work best with a "channel detail" popup in the directory to provide more info than is available in the micro-profiles (when hovered, or clicked or something). And of course, the first thing is to enable this data to be stored in the directory. 2013-07-24 21:23:20 -07:00
friendica
94e87c0a84 update friends/followers API so Friendica Android client won't choke 2013-07-17 21:53:35 -07:00
friendica
fc265a8e3a block duplicate channels 2013-07-17 21:38:37 -07:00
friendica
de734bbea8 photo_flags - for adding taxonomy photos and other stuff. 2013-07-16 04:46:01 -07:00
friendica
12c2cea36f fix xtag 2013-07-14 18:52:24 -07:00
friendica
25ed8788e9 install typo 2013-07-14 01:22:56 -07:00
friendica
39856f7cb1 Add self to recipient lists. Sure we already have a copy but it's possible our nomadic channel clones don't. 2013-07-14 01:12:05 -07:00
friendica
5a8cda632b remove double tags on search results, updates to install doco to get rid of Friendica name there and clarify Red requirements. 2013-07-09 22:48:34 -07:00
friendica
429ebabfd9 any questions regarding this checkin will be ignored 2013-07-03 04:28:36 -07:00
friendica
72f6edd595 add age to directory profile - requires updating on each birthday and that part is still missing 2013-06-30 00:38:02 -07:00
friendica
cdc66da52f Basic ability to create "things" 2013-06-27 19:35:59 -07:00
friendica
61601dc23d Add site registration policy to site record. This is not yet used or stored, but potentially can be exchanged through directory mirrors to automatically create "open site" lists. 2013-06-20 18:36:02 -07:00
friendica
4f06905a18 infrastructure for future stuff 2013-06-19 18:06:14 -07:00
friendica
764ee785f5 We will need a per item comment policy to be able to determine in advance if we have permission to comment on something , and we'll need to send it out with all communications. The current check is not only flawed but also a huge performance hit. Also provide the ability for an item to disable commenting completely - such as for a webpage or wherever you want to prevent comments on one item, without requiring a change to your entire permission scheme. All of this is only partially implemented at the moment but we need the structures in place on several sites in order to finish it without breaking everything. 2013-06-16 19:14:01 -07:00
friendica
0deec983b4 DB: add timestamps to hubloc table so we can eventually expire dead entries. 2013-06-04 17:46:21 -07:00
friendica
98018f4969 update the really old sample config file 2013-05-16 16:29:03 -07:00
Thomas Willingham
069e874e6d Typo 2013-05-14 23:23:04 +01:00
fabrixxm
d4c07930d5 add $db_port to .htconfig.php and $a->config['syste]['smarty3_folder'] for compiled templates 2013-05-10 06:13:24 -04:00
friendica
027f932ff5 add driver param to output queue so we know what protocol to use when faced with multiple choice 2013-05-06 03:55:58 -07:00
friendica
dc028ce8ba fixes 2013-05-06 02:17:20 -07:00
friendica
6f04a7e070 minor fixes related to postgres development 2013-05-05 19:34:56 -07:00
friendica
c10e30631a missed channel_default_group key nrename 2013-04-03 15:51:56 -07:00
friendica
810a60b912 add new connections to default group (if any) 2013-03-27 19:35:34 -07:00
friendica
8148b7c32f update manage table and some documentation 2013-03-27 19:02:01 -07:00