Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | working through the xchan table to remove bitfields, mostly complete except ↵ | friendica | 2015-01-20 | 1 | -2/+1 |
| | | | | for updating the updater | ||||
* | PostgreSQL support initial commit | Habeas Codice | 2014-11-13 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | issue #588 can't add feeds to collections using connedit page group sidebar ↵ | friendica | 2014-09-11 | 1 | -0/+1 |
| | | | | widget | ||||
* | the sending side of clone syncing of collection/privacy_group information. ↵ | friendica | 2014-07-14 | 1 | -0/+11 |
| | | | | The receiving side is not yet implemented. | ||||
* | let oneself be added to a collection in exchange for deleted contacts | marijus | 2014-02-07 | 1 | -2/+2 |
| | |||||
* | make network tabs regard selected group (collection) and vice versa | marijus | 2014-01-22 | 1 | -1/+1 |
| | |||||
* | remove a couple of mysql reserved words from being used as table or row ↵ | friendica | 2013-12-22 | 1 | -12/+12 |
| | | | | names. For this round we're getting 'group' and 'desc'. Warning: potentially destabilising as this touches a lot of code. | ||||
* | comanchify connedit, group | friendica | 2013-12-19 | 1 | -1/+1 |
| | |||||
* | starting on the journey to comanche everywhere - beginning with widget ↵ | friendica | 2013-12-08 | 1 | -2/+2 |
| | | | | conversions. There are approximately 20 which need to be wrapped for accessibility to comanche. | ||||
* | white screen | friendica | 2013-11-21 | 1 | -3/+3 |
| | |||||
* | fix private group delivery | friendica | 2013-11-05 | 1 | -3/+4 |
| | |||||
* | Add public visibility setting to privacy groups (collections). This doesn't ↵ | friendica | 2013-08-07 | 1 | -3/+4 |
| | | | | yet make them visible, but allows them to be visible (like a Cc: instead of a Bcc:) | ||||
* | issue #55 (number 2) | friendica | 2013-05-28 | 1 | -4/+6 |
| | |||||
* | members_of_group() output not entirely correct | friendica | 2013-05-02 | 1 | -1/+2 |
| | |||||
* | add new connections to default group (if any) | friendica | 2013-03-27 | 1 | -9/+25 |
| | |||||
* | fix timeago (again), webfinger new spec implemented, some theme work | friendica | 2013-03-04 | 1 | -1/+1 |
| | |||||
* | start formatting for Doxygen | friendica | 2013-02-25 | 1 | -1/+1 |
| | |||||
* | clean up some sql errors from the logs | friendica | 2013-02-08 | 1 | -1/+1 |
| | |||||
* | fixed contactgroup editor | friendica | 2013-01-22 | 1 | -2/+1 |
| | |||||
* | Stringify groups before imploding | Olaf Conradi | 2012-12-25 | 1 | -2/+1 |
| | |||||
* | db query looping without bounds if group table wasn't manually updated to ↵ | friendica | 2012-12-14 | 1 | -1/+1 |
| | | | | add the 'hash' column. | ||||
* | Fixing the acl widget is going to be hard. Here's a start. | friendica | 2012-12-06 | 1 | -2/+14 |
| | |||||
* | add pending check on group queries | friendica | 2012-11-29 | 1 | -2/+3 |
| | |||||
* | make the visual group editor work again in the new world | friendica | 2012-11-14 | 1 | -4/+6 |
| | |||||
* | groups now take xchans, so you can have groups containing channels that you ↵ | friendica | 2012-11-14 | 1 | -45/+30 |
| | | | | aren't connected with | ||||
* | a lot more changes of terminology | friendica | 2012-11-03 | 1 | -6/+6 |
| | |||||
* | contact group is now 'channel group' | friendica | 2012-10-27 | 1 | -4/+4 |
| | |||||
* | here's where the heavy lifting begins - everything is likely to be broken ↵ | friendica | 2012-10-01 | 1 | -2/+33 |
| | | | | for quite some time as we add location and db independence to items and conversations and work through the rest of the permissions and how to federate the buggers. | ||||
* | convert all network search params to get requests (no url path args) | friendica | 2012-07-23 | 1 | -1/+1 |
| | |||||
* | merge upstream, slider work, refactor ping module, language selection work | friendica | 2012-07-13 | 1 | -4/+4 |
| | |||||
* | theming for default group selector | friendica | 2012-05-18 | 1 | -1/+4 |
| | |||||
* | more private forums, default privacy group for new contacts | friendica | 2012-05-17 | 1 | -2/+26 |
| | |||||
* | bug #369 - show contacts who are not in any groups | friendica | 2012-04-12 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' of https://github.com/friendica/friendica | Alexander Kampmann | 2012-04-05 | 1 | -0/+0 |
| | | | | | | Conflicts: include/config.php update.php | ||||
* | add remove_user hook (it looks like dreamhost changed all my file ↵ | friendica | 2012-01-18 | 1 | -0/+0 |
| | | | | permissions, this will make a nasty commit) | ||||
* | dynamic group edit buttons | friendica | 2011-12-01 | 1 | -0/+1 |
| | |||||
* | everybody group gets id 0 | friendica | 2011-11-30 | 1 | -0/+1 |
| | |||||
* | diaspora reshared lists rendering as html | friendica | 2011-11-23 | 1 | -1/+1 |
| | |||||
* | more work on quattro. remove html from php for groups and saved searches ↵ | Fabio Comuni | 2011-11-21 | 1 | -28/+38 |
| | | | | widgets. | ||||
* | some testbubble fixes | Friendika | 2011-11-10 | 1 | -1/+1 |
| | |||||
* | really commiting files this time, still getting the hang of git. | Devlon Duthie | 2011-09-25 | 1 | -1/+1 |
| | | | | | | some images added, some classes added to groupidebar, contacts sidebar notification flags moved out of nav and into banner for testbubble the testbubble css tweaks | ||||
* | w3c compliance fixes, owner attribution on likes defaulting to local owner, ↵ | Friendika | 2011-09-23 | 1 | -4/+4 |
| | | | | not item creator | ||||
* | bug #157 - allow deleted group to be revived, but warn of side effects | Friendika | 2011-09-18 | 1 | -1/+19 |
| | |||||
* | group_public_members sql query typo | Friendika | 2011-09-13 | 1 | -1/+1 |
| | |||||
* | network insecure warnings on feeds | Friendika | 2011-09-09 | 1 | -1/+1 |
| | |||||
* | saved searches on network page | Friendika | 2011-09-04 | 1 | -1/+1 |
| | |||||
* | truncate overflow text on acl selector items (3 themes) | Friendika | 2011-09-04 | 1 | -2/+2 |
| | |||||
* | fix it again | Friendika | 2011-08-23 | 1 | -1/+1 |
| | |||||
* | fix group public members | Friendika | 2011-08-23 | 1 | -1/+1 |
| | |||||
* | diaspora photos ? | Friendika | 2011-08-23 | 1 | -2/+3 |
| |