Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | do not hide scrollbars | Mario Vavti | 2015-11-21 | 1 | -1/+1 |
| | |||||
* | datetimepicker should also respect first day of week setting | Mario Vavti | 2015-11-21 | 1 | -2/+2 |
| | |||||
* | Correcting reported Doxygen syntax warnings. | Klaus Weidenbach | 2015-03-29 | 1 | -199/+253 |
| | | | | | | | Fixed wrong Doxygen syntax and add some of the available FIXME to Doxygen documentation. Updated Doxygen configuration to add also all capital letter tags. Adding some more Doxygen documentation. | ||||
* | provide ways to over-ride the datetime pickers | friendica | 2015-03-26 | 1 | -0/+2 |
| | |||||
* | event form cleanup backported from trinidad - still need to style the checkboxes | friendica | 2015-02-05 | 1 | -1/+2 |
| | |||||
* | Use grouped select field for timezone selection | Stefan Parviainen | 2015-01-01 | 1 | -38/+9 |
| | |||||
* | Switch to a better datetime picker widget | Stefan Parviainen | 2014-11-16 | 1 | -17/+28 |
| | |||||
* | Merge remote-tracking branch 'upstream/master' | Habeas Codice | 2014-11-13 | 1 | -3/+10 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | the code is a bit crufty, but this should fix issue #687 | friendica | 2014-11-11 | 1 | -3/+10 |
| | | |||||
* | | PostgreSQL support initial commit | Habeas Codice | 2014-11-13 | 1 | -2/+5 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | Fix problem with default birth date | Stefan Parviainen | 2014-10-31 | 1 | -1/+4 |
| | |||||
* | Don't display date format, it's already in the placeholder text | Stefan Parviainen | 2014-10-19 | 1 | -30/+0 |
| | |||||
* | Changes in the datetimesel api, prevent user from picking event end date ↵ | Stefan Parviainen | 2014-10-19 | 1 | -70/+51 |
| | | | | earlier than start date | ||||
* | Oops, forgot one file | Stefan Parviainen | 2014-10-18 | 1 | -73/+85 |
| | |||||
* | This is long overdue - use a symblic constant NULL_DATE instead of the ↵ | friendica | 2014-09-08 | 1 | -1/+1 |
| | | | | easily mis-typed sequence '0000-00-00 00:00:00' | ||||
* | don't add a birthday event if the birthday channel doesn't have permission ↵ | friendica | 2014-06-03 | 1 | -0/+5 |
| | | | | to send you posts. | ||||
* | bring back birthdays | friendica | 2014-06-02 | 1 | -1/+49 |
| | |||||
* | reorganise a few included functions - notably identity related functions | friendica | 2013-12-03 | 1 | -0/+21 |
| | |||||
* | start formatting for Doxygen | friendica | 2013-02-25 | 1 | -22/+20 |
| | |||||
* | progress however tedious | Mike Macgirvin | 2012-10-23 | 1 | -55/+0 |
| | |||||
* | more work on json notifications, now working except for notify popup | friendica | 2012-07-15 | 1 | -1/+1 |
| | |||||
* | gracefully recover from datetime constructor issues | friendica | 2012-07-11 | 1 | -2/+23 |
| | |||||
* | typos | friendica | 2012-06-25 | 1 | -1/+1 |
| | |||||
* | add event titles to discovered birthday events | friendica | 2012-06-25 | 1 | -3/+6 |
| | |||||
* | add missing bracket | Erkan Yilmaz | 2012-06-13 | 1 | -1/+1 |
| | |||||
* | survive bad/un-parseable input to datetime_convert | friendica | 2012-06-12 | 1 | -1/+1 |
| | |||||
* | "howlong" added to marital status. | friendica | 2012-06-02 | 1 | -2/+4 |
| | |||||
* | more sane defaults datetime_convert | friendica | 2012-04-08 | 1 | -3/+6 |
| | |||||
* | fix empty string timezone | friendica | 2012-04-08 | 1 | -0/+7 |
| | |||||
* | Merge branch 'master' of https://github.com/friendica/friendica | Alexander Kampmann | 2012-04-05 | 1 | -0/+0 |
| | | | | | | Conflicts: include/config.php update.php | ||||
* | make 'x minutes ago' fully translateable with argument ordering. string update. | friendica | 2012-02-12 | 1 | -4/+5 |
| | |||||
* | 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) | ||||
* | datetime: new field_timezone() function, new template field_select_raw.tpl | Fabio Comuni | 2012-01-02 | 1 | -2/+18 |
| | | | | | returns a timezone select like select_timezone() but using template field_select_raw.tpl. field_select_raw get options html as forth argument, instead of array value=>label like field_select | ||||
* | diaspora birthday notifications | Friendika | 2011-10-14 | 1 | -0/+54 |
| | |||||
* | configurable format for date input selectors | Friendika | 2011-07-25 | 1 | -31/+78 |
| | |||||
* | re-added last item date in admin user page. relative_date return 'never' if ↵ | Fabio Comuni | 2011-06-29 | 1 | -1/+1 |
| | | | | null is passed | ||||
* | very minor nit - if $abs is false, return before trying to use false in a ↵ | Friendika | 2011-06-29 | 1 | -10/+11 |
| | | | | | | numeric calculation also return 'never' if we have an uninitialised date | ||||
* | Fix bug #98, add "never" to relative_date(), fix batch operations | Fabio Comuni | 2011-06-29 | 1 | -0/+4 |
| | |||||
* | tinymce for event fields | Friendika | 2011-06-06 | 1 | -2/+2 |
| | |||||
* | event listings | Friendika | 2011-06-06 | 1 | -2/+2 |
| | |||||
* | more events framework | Friendika | 2011-06-06 | 1 | -3/+37 |
| | |||||
* | push directory on register - if permitted | Friendika | 2011-02-23 | 1 | -1/+1 |
| | |||||
* | add some calendaring functions | Friendika | 2011-02-22 | 1 | -0/+111 |
| | |||||
* | i18n string extraction util | Mike Macgirvin | 2010-09-29 | 1 | -4/+4 |
| | |||||
* | clarify birthday doco, Facebook really screwed this one up. | Mike Macgirvin | 2010-09-27 | 1 | -4/+5 |
| | |||||
* | doco | Mike Macgirvin | 2010-09-27 | 1 | -0/+34 |
| | |||||
* | mistpark 2.0 infrasturcture lands | Mike Macgirvin | 2010-09-08 | 1 | -3/+14 |
| | |||||
* | installer changes, pe sync | Mike Macgirvin | 2010-08-15 | 1 | -48/+28 |
| | |||||
* | fix birthday | Mike Macgirvin | 2010-07-11 | 1 | -1/+1 |
| | |||||
* | profile additions | Mike Macgirvin | 2010-07-10 | 1 | -10/+17 |
| |