aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
Commit message (Collapse)AuthorAgeFilesLines
* make tagadelic results (including categories in wall-to-wall posts) visible ↵redmatrix2015-07-151-3/+3
| | | | to wall visitors by checking ownership rather than authorship. It is doubtful the queries will scale on redmatrix so moved forward to hubzilla tree.
* inconsistent naming of block item typesredmatrix2015-07-081-1/+1
|
* Merge branch 'master' of https://github.com/redmatrix/redmatrixredmatrix2015-07-071-1/+1
|\
| * make directory suggest work with directory optionsMario Vavti2015-07-071-1/+1
| |
* | convert the abook fieldsredmatrix2015-06-141-6/+4
| |
* | more migration of page typesredmatrix2015-05-211-2/+2
| |
* | Merge branch 'master' into tresfriendica2015-04-231-13/+38
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: include/Contact.php include/ItemObject.php include/api.php include/attach.php include/diaspora.php include/dir_fns.php include/enotify.php include/event.php include/expire.php include/items.php include/notifier.php include/notify.php include/photos.php include/taxonomy.php include/text.php include/widgets.php include/zot.php mod/admin.php mod/channel.php mod/dirsearch.php mod/display.php mod/editwebpage.php mod/events.php mod/home.php mod/item.php mod/manage.php mod/mood.php mod/network.php mod/page.php mod/photos.php mod/ping.php mod/post.php mod/thing.php mod/viewsrc.php view/css/mod_events.css
| * program the affinity slider labelsfriendica2015-04-091-7/+24
| |
| * make jRange behave againMario Vavti2015-04-091-2/+2
| |
| * make network page default options work more or less universally instead of ↵friendica2015-03-091-3/+5
| | | | | | | | just from the navbar, and fix some saved-search weirdness related to the delete-term icon
| * straighten out some directory stuff, which required some Comanche structural ↵friendica2015-03-051-3/+0
| | | | | | | | changes
| * mopping up the public site ratingsfriendica2015-02-161-0/+7
| |
* | Merge branch 'master' into tresfriendica2015-02-051-0/+60
|\| | | | | | | | | | | Conflicts: view/css/mod_events.css view/theme/redbasic/css/style.css
| * forgot to add the self exclusionfriendica2015-02-041-2/+4
| |
| * allow anybody to view ratings - including oneself. Only allow authenticated ↵friendica2015-02-041-9/+9
| | | | | | | | folks to edit them.
| * add 'view ratings' to the widget. It's actually two stacked widgets rather ↵friendica2015-02-041-2/+6
| | | | | | | | than a widget with two entries. That's the only way we can keep the theming consistent with the rconnect button.
| * honour the rating enable setting (which we really do need to rename since it ↵friendica2015-02-041-0/+5
| | | | | | | | isn't poco any more)
| * remote rating and addition of rate-me to channel profile sidebarfriendica2015-02-041-8/+30
| |
| * first cut at rating widget. The flaw is that it is limited because it ↵friendica2015-02-041-0/+27
| | | | | | | | requires local_channel() (formerly local_user()). We need to extend this to take you home like rpost does if you're logged in as remote_channel() - and/or we need zot to send the rating message to the source channel and target in addition to the directories.
* | Merge branch 'master' into tresfriendica2015-01-291-29/+29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: include/group.php include/text.php mod/acl.php mod/channel.php mod/connections.php mod/display.php mod/group.php mod/item.php mod/locs.php mod/network.php mod/photos.php mod/ping.php mod/starred.php mod/viewsrc.php
| * Merge https://github.com/friendica/red into pending_mergefriendica2015-01-281-2/+2
| |\
| | * bookmarkedchats: remove extraneous group by, dupes removed on insertHabeas Codice2015-01-281-2/+2
| | | | | | | | | | | | suggestedchats: normalize to standard SQL
| * | remote_user => remote_channelfriendica2015-01-281-2/+2
| | |
| * | local_user => local_channelfriendica2015-01-281-27/+27
| |/
* | more message restrict conversionsfriendica2015-01-291-2/+2
| |
* | heavy lifting converting item flag bitsfriendica2015-01-221-2/+2
|/
* Change link label from Feature settings to Feature/Addon settings to more ↵friendica2015-01-191-1/+1
| | | | accurately describe its purpose, since we currently use it exclusively for addons (though this will not always be true).
* Replace jslider with jRangeStefan Parviainen2015-01-051-1/+1
|
* Merge https://github.com/friendica/red into pending_mergefriendica2014-12-151-6/+1
|\
| * Issue #743Thomas Willingham2014-12-151-6/+1
| |
* | wall tagsfriendica2014-12-151-1/+5
|/
* 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
|