Commit Graph

45 Commits

Author SHA1 Message Date
Mario 6f5e6bd0f1 fix typo 2019-03-23 20:17:35 +01:00
Mario Vavti 615402ea83 wrong var 2018-10-24 20:34:15 +02:00
Mario Vavti 8b9acf750b autocomplete performance: this slightly changes the editor contact autocomplete behaviour. queries using *like* with a prepended % to the query string do not make use of indices. this is no big issue when we query abook but can get really slow when xchan table is involved. this commit changes the xchan table only queries to use the *str%* format. this means that the result set for channels we are not connected with will change in a way that xchan_name and xchan_addr will bematched only from the beginning of the name or address. this commit also changes textcomplete to only start the query after the 3rd character. the result set between 2 and 3 characters is mostly very different and only from 3 chars on there is a high possibility the channel we look for is already in the result. 2018-10-24 20:22:27 +02:00
Max Kostikov 25e8d70786 Update Acl.php 2018-09-28 00:14:21 +02:00
zotlabs 712759ea4b disable log noise until it is needed 2018-06-25 13:42:21 -07:00
zotlabs fc31ecdab0 autocomplete private mail addresses based on substring in either the name or webbie (prevously required an '@' to trigger a webbie search) 2018-05-30 17:30:17 -07:00
zotlabs f32ba06564 work through a few more autocomplete minor nits 2018-04-26 02:42:48 -07:00
zotlabs 5f8b093d79 fine tuning 2018-04-25 18:51:30 -07:00
zotlabs f923d21df3 some tagging work 2018-04-25 18:41:19 -07:00
zotlabs 8face5a66c make tag autocomplete less scary looking in the editor. If this works out we can simplify and get rid of a huge amount of spaghetti tag logic. 2018-04-24 15:32:24 -07:00
zotlabs c3cd613f42 extend AC 2018-04-08 17:30:46 -07:00
zotlabs 43249bd4be hubzilla issue #1020 - PM using unicode domain for recipient. May require further testing 2018-03-30 15:18:33 -07:00
zotlabs 7b56fdebac more work with unicode usernames 2018-03-14 18:42:07 -07:00
Klaus Weidenbach aa63c23839 💡 Add source documentation from recent conversations.
There have been some conversations in the last weeks which explained
several parts of the code, so add it to the source code documentation.
Also some other small source code documentation improvements.
2018-01-05 01:38:20 +01:00
Mario Vavti 217a684e5f also filter atokens on acl search 2017-11-13 10:08:51 +01:00
zotlabs d88d4b3c3a wrong param 2017-10-03 15:43:51 -07:00
zotlabs 58155864cb urlencode hashes from mod_acl 2017-10-03 15:36:56 -07:00
zotlabs 1650d79862 tagging changes - provides ability to mention a forum by using !forumname as well as the traditional red style (@forumname+). This should probably not be advertised on a wide scale until after a critical mass of sites have updated to a version containing these changes. This adds yet another option type to the ACL module which probably needs refactoring soon since it is turning into option type spaghetti. 2017-09-24 19:45:19 -07:00
zotlabs 4d3b0577c9 acl issue with some ActivityPub completions 2017-09-17 23:54:40 -07:00
zotlabs 3d0a7f4fc5 paths in xchan_addr no longer means RSS specifically but could be activitypub 2017-09-03 22:09:16 -07:00
zotlabs f436ec6f21 some issues with mod_display on very first anonymous page visit (prior to any browser cookies being set) 2017-08-30 18:55:56 -07:00
zotlabs be097bf415 issue with mentions and xchans with @ or / 2017-08-30 16:24:26 -07:00
zotlabs 1077686bda send directory realm_token for navbar autocomplete searches - if configured 2017-05-10 17:02:56 -07:00
zotlabs 1f39c16d99 util/pconfig - don't enumerate empty arrays, mod_acl - add more comments 2017-02-13 17:51:39 -08:00
zotlabs ccdfbc721f Create virtual privacy groups for private profile member lists 2017-02-12 15:56:33 -08:00
zotlabs 9fb8661eef missing protect_sprintf which is the source of issue #642 - if a mention search contains % it will result in an SQL vsprintf error 2017-01-12 13:05:36 -08:00
zotlabs 5e761a1068 full revert, that wasn't working at all. Not sure why. 2016-10-21 14:27:29 -07:00
zotlabs afff751ff1 partial revert 2016-10-21 14:23:49 -07:00
zotlabs 222186d5f7 fine tune the navbar people autocomplete, as the check for minimum length wasn't taking into consideration the initial tag character, and one char search provides way too many results. The autocomplete cache doesn't search again but just searches through its cache. This means as you type more chars, if the answer wasn't included in the very first search (one char), it won't be returned. This may need further tweaking as the network grows. 2016-10-21 14:15:29 -07:00
redmatrix bad5057a74 start removing db backticks 2016-10-03 19:47:36 -07:00
Mario Vavti 8d0a0674c6 fix issue #517 2016-09-19 13:35:36 +02:00
redmatrix 4d34d9c032 issue #496 2016-08-21 16:26:30 -07:00
redmatrix df0cd4dbc7 Merge branch 'dev' into perms 2016-07-20 13:39:10 -07:00
Mario Vavti 4da005e209 type m query in Acl.php should probably^Ceturn xchan_hash as hash and not as id. This fixes the issue that autocomplete for mail returns null for data.xid 2016-07-20 22:00:41 +02:00
redmatrix de4f9d68bd Merge branch 'dev' into perms 2016-07-17 21:40:04 -07:00
redmatrix 397a23499d make the xchan_hash for the access token location independent 2016-07-14 21:28:17 -07:00
redmatrix f70f4a4e85 add zat to acl 2016-07-14 20:26:22 -07:00
redmatrix 1fd65c934d lots more permission work 2016-07-13 19:53:28 -07:00
redmatrix b72720f6b6 Merge branch 'dev' into perms 2016-07-13 18:24:45 -07:00
redmatrix f60a0c5ce0 document mod_acl a bit better and try to remove some redundancies and consolidate the various options 2016-07-13 17:51:19 -07:00
redmatrix f4e4e734de more work on perms 2016-07-12 21:47:24 -07:00
redmatrix bb3d56a0b2 foreach: invalid argument 2016-06-09 22:07:27 -07:00
redmatrix b1259876bf more db column renames 2016-05-31 21:45:33 -07:00
redmatrix 5e0698ba87 turn the oft-repeated block_public ... check into a function observer_prohibited() 2016-05-22 17:52:30 -07:00
redmatrix 2a4e8972e0 module updates 2016-04-18 20:38:38 -07:00