aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connedit.php
Commit message (Collapse)AuthorAgeFilesLines
* comment out some popover infos - we provide enough visual feedback nowMario Vavti2015-07-261-15/+15
|
* Provide connection status if status is "a-normal"Mario Vavti2015-07-261-0/+4
|
* provide info text for automatic permissionsMario Vavti2015-07-151-1/+1
|
* whitespaceMario Vavti2015-07-151-4/+0
|
* show inherited state in Connection Default PermissionsMario Vavti2015-07-151-2/+7
|
* make strings translateableMario Vavti2015-07-141-0/+6
|
* revert provide inherited perms for connection default permissionsMario Vavti2015-07-141-1/+1
|
* remove dbgMario Vavti2015-07-141-2/+0
|
* provide inherited perms for connection default permissionsMario Vavti2015-07-141-1/+3
|
* cleanup conneditMario Vavti2015-07-141-80/+38
|
* turn the connection filter into a feature.redmatrix2015-06-291-0/+1
|
* no this isn't it. well ok, it's part of it, but not the important part. it's ↵redmatrix2015-06-281-2/+10
| | | | still pretty cool.
* Fix accepting contacts by using correct jquery calls.Alexandre Hannud Abdo2015-05-221-2/+2
| | | | | | | | | | | | Not sure what the operation on disabled is supposed to do, but it also seemed to requier prop instead of attr. See for reference: http://api.jquery.com/prop/ """ The checked attribute value does not change with the state of the checkbox, while the checked property does. """
* default perms not being set in some casesfriendica2015-04-141-0/+10
|
* program the affinity slider labelsfriendica2015-04-091-6/+22
|
* remove extra debuggingfriendica2015-02-031-2/+1
|
* ratings - mopping up, most everything but directory sync implementedfriendica2015-02-031-8/+22
|
* send rating information to directoriesfriendica2015-02-021-3/+3
|
* sign the ratings, fix the bugsfriendica2015-02-021-4/+13
|
* how did that stuff merge? grrrr....friendica2015-01-291-1/+1
|
* enable ratings only in this branch until we're ready to pushfriendica2015-01-291-1/+1
|
* Merge branch 'master' into pocoratefriendica2015-01-291-0/+1
|\
| * disable ratings until we're a bit further along. It's all changing.friendica2015-01-291-0/+1
| |
* | Merge branch 'master' into pocoratefriendica2015-01-291-23/+23
|\|
| * local_user => local_channelfriendica2015-01-281-23/+23
| |
* | updates to put rating info into the local xlink before sending it to known ↵friendica2015-01-281-2/+38
|/ | | | directory servers
* Hide all the scary decision making stuff that sends intellectually ↵friendica2015-01-251-0/+2
| | | | challenged beings into siezures and brain melt-downs and online freak-outs.
* rework the new connection stuff so we don't need a "permissions have been ↵friendica2015-01-251-10/+3
| | | | changed but not saved" message.
* poco rating - add a test module for pulling out ratingsfriendica2015-01-151-4/+14
|
* editing stuff for poco reputationfriendica2015-01-151-2/+15
|
* more backend work on poco ratingfriendica2015-01-151-0/+8
|
* document the pros and cons of the not-yet written hassle-free connection ↵friendica2015-01-121-0/+9
| | | | auto-permission setting.
* double perms msgfriendica2015-01-121-1/+1
|
* another attempt to explain default permissions on connedit pagefriendica2015-01-111-4/+4
|
* connection clone issuesfriendica2015-01-101-2/+2
|
* syncing connections issue, incorrect return_url after deleting connectionfriendica2015-01-071-5/+4
|
* some work on the edit connection workflow explanation and connedit page. ↵friendica2015-01-021-9/+11
| | | | This needs a lot more attention, but it was screaming for any improvement in documenting why we tell you that the permissions have been changed but not saved.
* Put dir back - the fat lady didn't sing afterall.Thomas Willingham2014-12-041-1/+1
|
* Don't allow affinity of 0 in connedit.Thomas Willingham2014-12-021-0/+1
|
* Merge remote-tracking branch 'upstream/master'Habeas Codice2014-11-131-10/+19
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * minor adjustments to make the form work as designedfriendica2014-11-041-2/+3
| |
| * ok heads up - potentially destabilising change. I've tried to sort out all ↵friendica2014-11-041-10/+18
| | | | | | | | | | | | | | | | | | | | 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-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* add "repository" permissions role and make sure we have a sane "accept" ↵friendica2014-10-271-0/+6
| | | | default for the custom role.
* implement permission roles - the backend should be done except for maybe a ↵friendica2014-09-171-0/+22
| | | | 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.
* Friendica photo import tool. This will bring in all your photos from the ↵friendica2014-08-121-1/+1
| | | | chosen Friendica account and import them into Red. Note that profile photos will also be imported, but will not be scaled for profiles, nor will they be attached to any profiles. They will appear however in your Profile Photos album. Photos that had any access restrictions in Friendica will be made private to only you. Comments and likes, captions, and tags are not transferred, only the actual photos. You will only be able to do this once. If something goes wrong but any photos were imported, a pconfig called frphotos.complete will be set and you'll have to remove it to start over. If you should remove this to start over, we also check each photo and will not over-write a photo you already brought over.
* fix ignore of unapproved connectionfriendica2014-08-071-5/+4
|
* clone sync of "unfriend" actionsfriendica2014-08-051-2/+12
|
* we didn't need the extra query - everything we require is already in memoryfriendica2014-07-291-37/+26
|
* implement the new friend activity post which has been missing for some time nowfriendica2014-07-291-8/+52
|