aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
Commit message (Collapse)AuthorAgeFilesLines
* Some Doxygen comments and small cleanups.Klaus Weidenbach2014-12-071-87/+71
|
* Missing include if photo album widget called from not-the-photos page.Thomas Willingham2014-12-041-1/+2
|
* basic vcalendar formatting supportfriendica2014-11-231-6/+10
|
* random block widgetfriendica2014-11-221-0/+41
|
* allow the photo_rand widget to access photos from any channel (useful if the ↵friendica2014-11-201-1/+5
| | | | widget is used in sys-generated pages). You still need permission.
* random photo widgetfriendica2014-11-201-1/+55
|
* Merge remote-tracking branch 'upstream/master'Habeas Codice2014-11-131-4/+28
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * slow progress on sys publishing, making sure all the data we need is in the ↵friendica2014-11-111-1/+1
| | | | | | | | places we need it but validate it anyway
| * category tagblockfriendica2014-11-061-0/+11
| |
| * ok heads up - potentially destabilising change. I've tried to sort out all ↵friendica2014-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | the default connection permissions for those who don't have a predefined (or therefore have a "custom") permissions role. Unfortunately this includes most people that were using this software more than a month ago. The real changes are that the SELF address book entry no longer holds "auto-permissions" but instead holds your "default permissions" (if you have a pre-defined role, the defaults will be pulled from the role table). The auto permissions have moved to a pconfig (uid.system.autoperms). A DB update will move these settings into their new homes. What used to be the "Auto-permissions settings" page is now the "default permissions settings" page and a checkbox therein decides whether or not to apply the permissions automatically. A link to this page will only be shown when you have the "custom" role selected. With luck nobody will notice anything wrong. But at least for the next few days, please review permissions that have been assigned to new connections (either automatically or manually) and make sure they make sense (e.g. they aren't "nothing"). You still need to take action when seeing a message "permissions have changed but not yet submitted" as we always let you review and perhaps adjust the settings _before_ a connection is established (unless you have autoperms turned on).
| * various UI issues related to having an enormous number of entries in the ↵friendica2014-11-031-2/+15
| | | | | | | | posted_date selector including years/months that had no posts
* | PostgreSQL support initial commitHabeas Codice2014-11-131-3/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* put privacy role selector in settings page. Change visibility of various ↵friendica2014-10-261-5/+8
| | | | permissions items accordingly.
* porting more widgets to bs nav-pillsmarijus2014-10-071-0/+2
|
* channel export with itemsfriendica2014-09-151-5/+5
|
* add collections widget to connections page - and some more work on realmsfriendica2014-08-171-0/+7
|
* don't add a birthday event if the birthday channel doesn't have permission ↵friendica2014-06-031-1/+1
| | | | to send you posts.
* don't provide a second (actually third counting the navbar) search box on ↵friendica2014-06-031-1/+1
| | | | the search page if you've got saved searches turned on. This should solve some problems with duplicate html id's (and save wasn't working anyway). If you don't have saved search ability (which will provide a saved search widget in the sidebar), provide a simple search box in the main content region but without save ability.
* don't show app editing options to non-authenticated folksfriendica2014-06-011-0/+1
|
* more app workfriendica2014-05-211-4/+4
|
* most of the remaining apps basic infrastructure except a form to create the ↵friendica2014-05-201-3/+3
| | | | things. Don't let this fool you - there is still a lot of work, but there isn't a whole lot of work to create a demo; in fact you can demo it now.
* some sidebar content (doesn't yet do anything)friendica2014-05-151-0/+12
|
* xss preventionfriendica2014-05-141-0/+5
|
* add photo widgetfriendica2014-05-131-1/+43
|
* bring the posted-date selector widget up to date. There are no longer two ↵friendica2014-05-011-1/+1
| | | | different styles.
* Better handling of restricted /channel and /profile permissions. We will ↵friendica2014-04-141-0/+12
| | | | show the name, profile photo and a 'connect' button if appropriate on these pages regardless of permissions. A blank page makes it difficult for folks to figure out how to connect and if it is their real life friend 'x' or not. It also matches our overall policy (adopted from Facebook's lessons learned) that the channel name and default profile photo are always visible and can't really be blocked without messing up the usability of the entire network. This also makes sure that a connect button can be found somewhere besides the directory - where the entry could be blocked; and avoid somebody having to figure out the webbie and find the link to "follow" (another related issue).
* provide 'style' option to archive widget to choose between 'select' and ↵friendica2014-03-231-0/+2
| | | | 'list' format
* add clock widget and correct some docofriendica2014-03-051-0/+56
|
* item widget - displays one (webpage) item by mid. This is how you could put ↵friendica2014-03-031-0/+27
| | | | multiple content blobs on a page without turning them all into blocks.
* put schemas in Comanche (this requires theme support (!))friendica2014-02-271-1/+1
|
* minor fixes to suggested chatroomsfriendica2014-02-271-3/+1
|
* chatroom suggestionsfriendica2014-02-271-0/+36
|
* small changes to a couple of lookup functions which we need to use a bit morefriendica2014-02-201-1/+1
|
* whitespacemarijus2014-02-121-3/+0
|
* make chatrooms in /chat/channel visible to observers aswellmarijus2014-02-121-3/+6
|
* chatroom management front-end stufffriendica2014-01-291-1/+2
|
* more testing of chatroom interfaces, also corrected a function call that ↵friendica2014-01-291-0/+3
| | | | should have been a class instantiation in reddav
* chatroom list widget backendfriendica2014-01-291-0/+9
|
* vcard widget needs to include Contact if it's not included from the module ↵Thomas Willingham2014-01-181-0/+1
| | | | that calls it.
* appears that I missed a few files for Comanchification. so here's mitem.friendica2013-12-221-1/+8
|
* split private messages into two modules - "message" is just for message ↵friendica2013-12-211-1/+1
| | | | lists, "mail" is for reading and writing conversations. This is so we can Comanchify it cleanly.
* comanchify mod_directory. Two modules remaining. Actually three because ↵friendica2013-12-201-0/+19
| | | | message needs to be split.
* comanchify connedit, groupfriendica2013-12-191-3/+32
|
* comanchificate mod_photosfriendica2013-12-191-14/+19
|
* more comanchefriendica2013-12-191-0/+4
|
* more comanche migrationfriendica2013-12-191-0/+16
|
* split off mod_connections into mod_connections & mod_connedit - lots of ↵friendica2013-12-181-1/+1
| | | | links to fix
* a couple more comanche conversionsfriendica2013-12-141-0/+132
|
* more htmlspecialchars sanitisationfriendica2013-12-121-2/+2
|
* cmax wasn't defaulting correctlyfriendica2013-12-111-1/+4
|