Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cli utilities - argc and argv reversed. Not functionally incorrect since it ↵ | redmatrix | 2016-05-17 | 1 | -2/+2 |
| | | | | was consistent but aesthetically incorrect. | ||||
* | queue/notification/delivery refactor continued | redmatrix | 2015-12-16 | 1 | -50/+1 |
| | |||||
* | more queue api | redmatrix | 2015-12-15 | 1 | -11/+5 |
| | |||||
* | wrong table column names | redmatrix | 2015-09-29 | 1 | -1/+1 |
| | |||||
* | queue cleanup, and report issues | redmatrix | 2015-09-29 | 1 | -1/+24 |
| | |||||
* | create site records for all queued sites and check for death | redmatrix | 2015-09-28 | 1 | -0/+16 |
| | |||||
* | more work on queue optimisations | friendica | 2015-03-09 | 1 | -4/+11 |
| | |||||
* | notes on what's needed to fix the queueing algorithms. | friendica | 2015-03-04 | 1 | -0/+8 |
| | |||||
* | PostgreSQL support initial commit | Habeas Codice | 2014-11-13 | 1 | -6/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | various diaspora issues | friendica | 2014-08-29 | 1 | -1/+2 |
| | |||||
* | more queue tweaks | friendica | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | the queue driver is universal now - we don't need to filter it. | friendica | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | lots of little Diaspora issues | friendica | 2014-08-28 | 1 | -0/+17 |
| | |||||
* | this should improve queue performance dramatically. | friendica | 2014-03-24 | 1 | -2/+6 |
| | |||||
* | unknown column | friendica | 2013-03-11 | 1 | -2/+2 |
| | |||||
* | start formatting for Doxygen | friendica | 2013-02-25 | 1 | -1/+1 |
| | |||||
* | make preview work fix some other nits | friendica | 2013-01-06 | 1 | -0/+1 |
| | |||||
* | more delivery diagnostics | friendica | 2012-12-31 | 1 | -1/+1 |
| | |||||
* | requeue failed deliveries | friendica | 2012-12-30 | 1 | -113/+17 |
| | |||||
* | cleanup more obsolete stuff | friendica | 2012-12-18 | 1 | -1/+7 |
| | |||||
* | more cleanup | Mike Macgirvin | 2012-10-23 | 1 | -25/+5 |
| | |||||
* | Removing connectors we won't be needing - this is probably going to break ↵ | friendica | 2012-07-18 | 1 | -23/+0 |
| | | | | some shit. | ||||
* | upstream fixes and a lot of taxonomy stuff | friendica | 2012-07-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of https://github.com/friendica/friendica | Alexander Kampmann | 2012-04-05 | 1 | -0/+0 |
| | | | | | | Conflicts: include/config.php update.php | ||||
* | queue optimisation - back off delivery attempts to once per hour after the ↵ | friendica | 2012-03-17 | 1 | -3/+8 |
| | | | | first 12 hours. | ||||
* | 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) | ||||
* | starting the big delivery shakeup | Friendika | 2011-09-22 | 1 | -1/+2 |
| | |||||
* | allow zero delivery interval on dedicated servers | Friendika | 2011-08-29 | 1 | -4/+3 |
| | |||||
* | remove item from queue | Friendika | 2011-08-28 | 1 | -11/+10 |
| | |||||
* | implement delivery queue in case notifier gets killed | Friendika | 2011-08-28 | 1 | -0/+14 |
| | |||||
* | don't allow fullscreen for youtube iframe - this makes it hard to visit the ↵ | Friendika | 2011-08-26 | 1 | -5/+23 |
| | | | | network page when they throw an error | ||||
* | missing salmon key? report it. | Friendika | 2011-08-24 | 1 | -2/+3 |
| | |||||
* | D* queue | Friendika | 2011-08-24 | 1 | -0/+13 |
| | |||||
* | load db configs (config,system) for all "executables" | Friendika | 2011-06-30 | 1 | -0/+3 |
| | |||||
* | more work on facebook re-queue | Friendika | 2011-06-05 | 1 | -1/+5 |
| | |||||
* | load hooks inside queue | Friendika | 2011-06-05 | 1 | -0/+2 |
| | |||||
* | facebook queueing on failure, sync update.php with boot.php update version ↵ | Friendika | 2011-06-03 | 1 | -16/+6 |
| | | | | to avoid race condition | ||||
* | add queue_deliver plugin hook | Friendika | 2011-06-02 | 1 | -2/+14 |
| | |||||
* | modded scripts to be runned in cli so they can be included and executed in ↵ | Fabio Comuni | 2011-01-28 | 1 | -11/+20 |
| | | | | main program | ||||
* | Mods to script runned via CLI to permits to run also included | fabrixxm | 2011-01-24 | 1 | -3/+3 |
| | |||||
* | don't attempt to deliver queued items to sites which have already timed out | Friendika | 2010-11-25 | 1 | -3/+13 |
| | |||||
* | log queue startup | Friendika | 2010-11-25 | 1 | -0/+1 |
| | |||||
* | wrong function name | Friendika | 2010-11-25 | 1 | -1/+1 |
| | |||||
* | premature removal of queue item | Friendika | 2010-11-23 | 1 | -1/+1 |
| | |||||
* | schedule the queue re-delivery process | Friendika | 2010-11-22 | 1 | -1/+1 |
| | |||||
* | queue/redeliver module | Friendika | 2010-11-22 | 1 | -0/+113 |