Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | first pass name change | redmatrix | 2015-05-05 | 1 | -1/+1 |
| | |||||
* | doco updates | friendica | 2015-04-19 | 1 | -3/+0 |
| | |||||
* | add favorites/create and destroy to api | friendica | 2015-04-19 | 1 | -36/+137 |
| | |||||
* | api performance enhancer | friendica | 2015-04-19 | 1 | -5/+2 |
| | |||||
* | assorted fixes to api direct messages | friendica | 2015-04-19 | 1 | -31/+35 |
| | |||||
* | some api cleanup | friendica | 2015-04-19 | 1 | -11/+15 |
| | |||||
* | api - unobscure mail | friendica | 2015-04-19 | 1 | -4/+4 |
| | |||||
* | log this since we may need it to track down failures | friendica | 2015-04-18 | 1 | -2/+3 |
| | |||||
* | remove failed experiment | friendica | 2015-04-17 | 1 | -2/+0 |
| | |||||
* | add last post to api/account/verify_credentials | friendica | 2015-04-17 | 1 | -5/+60 |
| | |||||
* | limit notification detail queries for items and events | friendica | 2015-03-23 | 1 | -1/+5 |
| | |||||
* | operation snakebite, cont. | friendica | 2015-03-22 | 1 | -0/+10 |
| | |||||
* | also update the api to match | friendica | 2015-03-16 | 1 | -2/+2 |
| | |||||
* | remove superfluous non-boolean boolean | Habeas Codice | 2015-02-16 | 1 | -2/+2 |
| | |||||
* | provide relief to sites that are severely impacted by the slow ITEM_UNSEEN ↵ | friendica | 2015-02-12 | 1 | -4/+1 |
| | | | | 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. | ||||
* | local_user => local_channel | friendica | 2015-01-28 | 1 | -2/+2 |
| | |||||
* | some improvements in api direct messages | friendica | 2014-12-22 | 1 | -4/+9 |
| | |||||
* | direct messages in api have some issues, not properly ported from friendica ↵ | friendica | 2014-12-22 | 1 | -9/+10 |
| | | | | | | originally. Here's a start. I think at best they may return encrypted gibberish currently, but let's work through them one at a time. | ||||
* | PostgreSQL support initial commit | Habeas Codice | 2014-11-13 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | API: xchan get/create | friendica | 2014-10-23 | 1 | -0/+12 |
| | |||||
* | jsonp support (thankxs fabrixxm) | friendica | 2014-10-16 | 1 | -1/+4 |
| | |||||
* | optionally include wall items (posts) in import/export | friendica | 2014-09-25 | 1 | -2/+2 |
| | |||||
* | red group/collection query calls for api | friendica | 2014-09-11 | 1 | -0/+33 |
| | |||||
* | api - foreach warnings | friendica | 2014-08-14 | 1 | -10/+15 |
| | |||||
* | allow channel login to the api, just like with the cloud | friendica | 2014-08-10 | 1 | -4/+24 |
| | |||||
* | little fixes of hopefully nil significance | friendica | 2014-03-16 | 1 | -10/+4 |
| | |||||
* | this is the correct fix | friendica | 2014-03-16 | 1 | -2/+2 |
| | |||||
* | API: statusnet_html:trim was trimming too much | Christian Vogeley | 2014-03-15 | 1 | -1/+2 |
| | |||||
* | Red API: /api/red/item/new ; which is like /api/statuses/update except it ↵ | friendica | 2014-03-04 | 1 | -0/+48 |
| | | | | uses Red semantics and returns success/failure indication. | ||||
* | some tweaks to items_fetch for the api | friendica | 2014-01-25 | 1 | -17/+16 |
| | |||||
* | Merge pull request #284 from cvogeley/master | friendica | 2014-01-25 | 1 | -19/+37 |
|\ | | | | | API changes | ||||
| * | Check user_info['self] in api user_timeline | Christian Vogeley | 2014-01-25 | 1 | -4/+13 |
| | | |||||
| * | remove wall restriction | Christian Vogeley | 2014-01-25 | 1 | -2/+1 |
| | | | | | | | | original didn’t have that | ||||
| * | API My wall posts | Christian Vogeley | 2014-01-25 | 1 | -18/+28 |
| | | |||||
* | | fix api/red/photos when supplied with an album name | friendica | 2014-01-22 | 1 | -1/+1 |
|/ | |||||
* | split off mod_connections into mod_connections & mod_connedit - lots of ↵ | friendica | 2013-12-18 | 1 | -1/+2 |
| | | | | links to fix | ||||
* | synchronise deletion of comments between red and wp | friendica | 2013-11-28 | 1 | -0/+10 |
| | |||||
* | delete from the wp side as well as from the red side | friendica | 2013-11-26 | 1 | -11/+27 |
| | |||||
* | api fixes | friendica | 2013-11-26 | 1 | -4/+12 |
| | |||||
* | replaced rhash icon | tuscanhobbit | 2013-11-23 | 1 | -2/+2 |
| | |||||
* | oauth wasn't logging in properly, also fixed api status_show to return last ↵ | friendica | 2013-10-15 | 1 | -3/+5 |
| | | | | public post, not the last private post | ||||
* | more work on viewing obscured api posts | friendica | 2013-09-16 | 1 | -3/+5 |
| | |||||
* | use prepare_body in api calls to properly render content, add 'mode' to ↵ | friendica | 2013-09-16 | 1 | -7/+7 |
| | | | | conversation templates so that themes can use the module context to suppress or show comments as desired | ||||
* | several oauth fixes - shred doesn't completely work yet, but it also doesn't ↵ | friendica | 2013-09-16 | 1 | -3/+8 |
| | | | | completely NOT work, so at least there's some improvement | ||||
* | fix media uploads in api (specifically friendica for android) | friendica | 2013-07-25 | 1 | -3/+11 |
| | |||||
* | use (numeric) abook_id for friends/followers in Twitter API. Many existing ↵ | friendica | 2013-07-18 | 1 | -7/+7 |
| | | | | clients won't be able to handle xchans. Save those for the Red specific API. | ||||
* | update friends/followers API so Friendica Android client won't choke | friendica | 2013-07-17 | 1 | -5/+5 |
| | |||||
* | add photos and albums enumeration to Red API (will allow us to export either ↵ | friendica | 2013-05-29 | 1 | -0/+18 |
| | | | | all our photos or individual albums using a script) | ||||
* | zidify img links, delay notifier until actually published for time ↵ | friendica | 2013-05-27 | 1 | -1/+5 |
| | | | | travelling posts | ||||
* | use http_authorization header with nginx | friendica | 2013-05-23 | 1 | -0/+10 |
| |