Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod/branchtopic - move an off-topic comment to its own thread as a fresh ↵ | friendica | 2015-04-24 | 1 | -1/+1 |
| | | | | wall-to-wall post and the same delivery permissions as its parent. No adjustments are made for complex delivery chains. | ||||
* | commit 59828593c broke some important poco stuff, looks like the cat might ↵ | friendica | 2015-04-06 | 1 | -0/+20 |
| | | | | have climbed over the keyboard and deleted something that wasn't intended to be deleted. | ||||
* | Some cleanups and documentation. | Klaus Weidenbach | 2015-03-04 | 1 | -31/+15 |
| | | | | | | | Fixed some wrong variable names. Initialized some variables before using them. Removed some checks for STATUSNET_PRIVACY_COMPATIBILITY in include/security.php as it does not seem to be defined anywhere. | ||||
* | some ratings fixes | friendica | 2015-02-13 | 1 | -23/+0 |
| | |||||
* | remote_user => remote_channel | friendica | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | local_user => local_channel | friendica | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | provide storage for directory based reputation in the xlink table by setting ↵ | friendica | 2015-01-26 | 1 | -6/+8 |
| | | | | xlink_static = 1, so that xlink_static = 0 is traditional poco linkages | ||||
* | abstract poco into a single function in socgraph so we can provide different ↵ | friendica | 2015-01-25 | 1 | -0/+209 |
| | | | | wrappers for it providing slightly different functionality. | ||||
* | don't set a rating of 1 on old sites that report poco rating as an array. ↵ | friendica | 2015-01-25 | 1 | -1/+1 |
| | | | | Just set it to 0. It will be fixed whenever they upgrade. | ||||
* | get rid of really old poco records once weekly | friendica | 2015-01-20 | 1 | -0/+2 |
| | |||||
* | poco rating variable getting over-written before local storage. | friendica | 2015-01-19 | 1 | -1/+1 |
| | |||||
* | validate poco chatrooms before storing | friendica | 2015-01-15 | 1 | -0/+3 |
| | |||||
* | more backend work on poco rating | friendica | 2015-01-15 | 1 | -2/+5 |
| | |||||
* | PostgreSQL support initial commit | Habeas Codice | 2014-11-13 | 1 | -26/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | illegal string offset warnings | friendica | 2014-09-05 | 1 | -1/+1 |
| | |||||
* | fix the client side of poco | friendica | 2014-09-04 | 1 | -11/+20 |
| | |||||
* | Set a default directory server from a hard-wired list if one was not ↵ | friendica | 2014-04-25 | 1 | -7/+1 |
| | | | | previously chosen. | ||||
* | that should fix it. | friendica | 2014-03-24 | 1 | -0/+5 |
| | |||||
* | vsprintf error | friendica | 2014-02-26 | 1 | -1/+2 |
| | |||||
* | put bookmarked chatrooms into poco | friendica | 2014-02-25 | 1 | -0/+28 |
| | |||||
* | suggestion widget | friendica | 2013-12-06 | 1 | -0/+4 |
| | |||||
* | Issue #99 | Thomas Willingham | 2013-08-18 | 1 | -0/+1 |
| | |||||
* | fine tuning the error checks | friendica | 2013-08-05 | 1 | -1/+6 |
| | |||||
* | keep total of imported xchans correct - even if one or mail failures occur | friendica | 2013-08-05 | 1 | -4/+7 |
| | |||||
* | more error checking in case import_xchan fails | friendica | 2013-08-05 | 1 | -0/+8 |
| | |||||
* | use url part of array | friendica | 2013-08-05 | 1 | -1/+1 |
| | |||||
* | prune old suggested channels | friendica | 2013-08-05 | 1 | -0/+10 |
| | |||||
* | populate initial suggestions (ultimately we want to do this at install time ↵ | friendica | 2013-08-05 | 1 | -84/+68 |
| | | | | as well as from the poller so that new sites have friend suggestions when they create their first channel). | ||||
* | directory server sitelist module (needed for public site list and building ↵ | friendica | 2013-08-04 | 1 | -0/+1 |
| | | | | friend suggestions for new sites/channels with no known contacts) | ||||
* | hide hidden entries | friendica | 2013-03-05 | 1 | -0/+2 |
| | |||||
* | basic friend suggestions (but not "new to the network and have no friends at ↵ | friendica | 2013-03-05 | 1 | -4/+23 |
| | | | | all" suggestions) | ||||
* | start formatting for Doxygen | friendica | 2013-02-25 | 1 | -1/+1 |
| | |||||
* | little fixes | friendica | 2013-02-24 | 1 | -1/+1 |
| | |||||
* | add rating support to poco | friendica | 2013-02-15 | 1 | -6/+9 |
| | |||||
* | fix to common friends - it seems it counts the right number of common ↵ | friendica | 2013-02-13 | 1 | -1/+1 |
| | | | | friends, but they are all you | ||||
* | clean up some sql errors from the logs | friendica | 2013-02-08 | 1 | -3/+3 |
| | |||||
* | update friends in common tool now that poco is working | friendica | 2013-01-31 | 1 | -23/+14 |
| | |||||
* | Someday the social graph will work, but alas not today. Add more debugging. | friendica | 2013-01-28 | 1 | -1/+1 |
| | |||||
* | poco debugging cont. | friendica | 2013-01-25 | 1 | -5/+12 |
| | |||||
* | some poco fixes | friendica | 2013-01-22 | 1 | -38/+39 |
| | |||||
* | typos etc. | friendica | 2013-01-02 | 1 | -2/+1 |
| | |||||
* | start building social graph | friendica | 2013-01-01 | 1 | -88/+57 |
| | |||||
* | poco discovery | friendica | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | more work on json notifications, now working except for notify popup | friendica | 2012-07-15 | 1 | -1/+1 |
| | |||||
* | keep FB out of private notes | friendica | 2012-05-22 | 1 | -13/+17 |
| | |||||
* | "show more" friends in common | friendica | 2012-05-04 | 1 | -4/+6 |
| | |||||
* | yet another bug in remote_friends_in_common | friendica | 2012-05-03 | 1 | -0/+1 |
| | |||||
* | fixing common friends | friendica | 2012-05-02 | 1 | -6/+7 |
| | |||||
* | shuffle results of remote_common_friends widget | friendica | 2012-05-02 | 1 | -4/+14 |
| | |||||
* | final touches - show friends in common with total strangers from different sites | friendica | 2012-05-01 | 1 | -3/+4 |
| |