aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
Commit message (Collapse)AuthorAgeFilesLines
* hubzilla core issue #1356 , permissions not getting decrypted on followzotlabs2019-03-201-0/+1
|
* more z6 compatibility fixeszotlabs2019-01-161-1/+1
|
* fix default values for affinity tool and other information which could be ↵zotlabs2018-12-171-3/+1
| | | | lost when approving a connection without the entire form provided by connedit.
* fix to cart behaviourzotlabs2018-07-111-1/+1
|
* allow eitherzotlabs2018-05-101-1/+1
|
* follow activitypub by webfinger; requires addon update to all federation ↵zotlabs2018-04-181-4/+4
| | | | protocols
* background work for caldav integration continued, modify mod_follow to allow ↵zotlabs2018-03-021-3/+12
| | | | it to be called from ajax without redirecting.
* default profile assignzotlabs2017-11-241-0/+3
|
* add protocol selection to following feedszotlabs2017-08-121-2/+5
|
* when following, allow [network]follow_address syntax to connect with a ↵zotlabs2017-08-101-4/+17
| | | | specific network for multi-protocol services
* ensure we can work around the $is_http var in include/follow - this is left ↵zotlabs2017-07-301-14/+13
| | | | over from when the only non-webfinger connections we could make were RSS/Atom feeds.
* start using the abook_not_here flag (requires changes in addons, not easily ↵zotlabs2017-05-251-5/+5
| | | | portable to hubzilla)
* follow_from_feed issue when called from pushzotlabs2017-04-191-1/+1
|
* more work on permcats and consolidating calls that try to discover connect ↵zotlabs2017-02-091-50/+26
| | | | permissions, also create lowlevel store functions for abook and profile - since these currently may have issues with sql strict mode.
* if connecting to a channel that is already pending, undo the pending and set ↵zotlabs2016-11-021-2/+23
| | | | connect permissions accordingly. issue #577 - this will mostly affect channels that were connected out of band, but will also auto-friend somebody that has already connected to you, if you reciprocate prior to seeing and/or acting on the pending connection notice.
* translate more old perms callsredmatrix2016-07-191-1/+1
|
* more perms workredmatrix2016-07-131-18/+28
|
* add new connection to default group when auto-acceptedredmatrix2016-06-151-1/+1
|
* code cleanupredmatrix2016-05-241-1/+0
|
* finish updating zot_finger instancesredmatrix2016-05-211-3/+3
|
* daemon conversion continued...redmatrix2016-05-191-1/+1
|
* more federation workredmatrix2016-03-201-29/+19
|
* no xchan here if using zot protocolredmatrix2016-03-171-1/+1
|
* typoredmatrix2016-03-161-1/+1
|
* lots of work on federated channel discoveryredmatrix2016-03-161-1/+3
|
* refresh issueredmatrix2015-12-271-1/+6
|
* start working on the singleton settingredmatrix2015-12-091-7/+18
|
* separate permission_update notification into permission_create and ↵redmatrix2015-10-181-1/+1
| | | | permission_update, since some networks send out a notification for duplicate share requests even if connected.
* re-organise the protocol disabled logicredmatrix2015-10-181-8/+18
|
* more work separating Diaspora from coreredmatrix2015-08-031-19/+8
|
* convert the abook fieldsredmatrix2015-06-141-8/+6
|
* diaspora disallowed by defaultredmatrix2015-06-101-2/+0
|
* toggle diaspora protocol on a per-channel level in addition to the existing ↵redmatrix2015-06-091-0/+9
| | | | per site setting. Default is enabled if the site setting is enabled.
* Fix missing value in insert for default closenessAlexandre Hannud Abdo2015-03-091-1/+1
|
* change default affinity (abook_closeness) to 80 for all new connections ↵friendica2015-03-081-1/+7
| | | | going forward (was 99). This way it can be adjusted down later without requiring you to change all your existing connections upward (since your existing connections are likely all sitting at 99 at the moment). The default setting is also configurable with a pconfig system.new_abook_closeness
* local_user => local_channelfriendica2015-01-281-1/+1
|
* rework the new connection stuff so we don't need a "permissions have been ↵friendica2015-01-251-14/+9
| | | | changed but not saved" message.
* undo these bits of trinidad - we're going to do things differentlyfriendica2015-01-051-1/+1
|
* initial trinidad checkinfriendica2014-12-291-1/+1
|
* Merge remote-tracking branch 'upstream/master'Habeas Codice2014-11-131-8/+2
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * some minor cleanup of unreported (and as yet undiscovered) issues with ↵friendica2014-11-051-2/+3
| | | | | | | | permissions toggling. No smoking guns and no obvious issues discovered here. Repeated and tried to duplicate zottell's issue as described without seeing any obvious problems.
| * ok heads up - potentially destabilising change. I've tried to sort out all ↵friendica2014-11-041-8/+2
| | | | | | | | | | | | | | | | | | | | 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).
* | PostgreSQL support initial commitHabeas Codice2014-11-131-4/+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)
* the default permissions for new connections when using a custom role is ↵friendica2014-10-281-1/+5
| | | | inadequate. Until we can make it configurable start off with something like a public social role. We're typically taking the person straight to the connection editor so they can change it before any privacy damage is done
* several unrelated things - auto_follow wasn't working for new accounts, ↵friendica2014-10-271-0/+2
| | | | error returned in private mention to a collection, and added auto-completion to photo tags; though it only matches people so the hover text is now wrong. Also made the photo edit form XHTML (XML) compliant.
* ability to pre-populate connections for new channels. e.g. "MySpace Tom"friendica2014-10-011-1/+1
|
* fix url mismatches of a single trailing slash for feed author/owner ↵friendica2014-09-231-0/+3
| | | | comparisons; update diaspora_compat
* feeds with '@' in the URL were being handled as webfinger addresses and ↵friendica2014-09-211-1/+1
| | | | didn't fall through to RSS discovery. Issue #599
* implement permission roles - the backend should be done except for maybe a ↵friendica2014-09-171-0/+13
| | | | couple of small tweaks. Now we just need to define the rest of the roles and create a chooser for them. Adam started on this some time back but I don't know where that has gone.
* allow feeds to be sourcedfriendica2014-09-041-1/+1
|