gnu-social/plugins/Autocomplete
Alexei Sorokin 194976135f [DATABASE] Some query improvements
Make common_sql_weight employ standard SQL functions for the timestamp
difference in seconds.
Also replace UTC_TIMESTAMP in the MariaDB-specific part with CURRENT_TIMESTAMP
as it is the only occurence and GNU social sets UTC as a default timezone.

In a delete_orphan_files.php script simplify the main query considerably.

In clean_profiles.php stop using COUNT as if it is ANY, that is unnecessary
punishment for the database. Instead implement the anti-join with a
left outer join.

In Autocomplete and Activitypub_profile use joins instead of a WHERE OR
anti-pattern for the semi-joins.

In lib/ui/galleryaction.php replace a CROSS JOIN with an INNER JOIN.

In actions/sup.php remove a redundant subquery: WHERE is applied before
grouping either way.
2020-06-10 16:52:00 +03:00
..
actions [DATABASE] Some query improvements 2020-06-10 16:52:00 +03:00
locale [PLUGINS] Removed GeoURL as the service doesn't exist anymore 2019-08-24 01:59:36 +01:00
AutocompletePlugin.php [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
README Update Autocomplete readme: current state seems to work fine on private sites, so removing that note. 2010-12-06 17:13:02 -08:00

Autocomplete allows users to autocomplete screen names in @ replies and
! group references.

When an "@" or "!" is typed into the notice text area, an autocomplete box
is displayed populated with the user's friends' screen names or group
memberships.

Completion suggestions can be selected via the mouse or arrow keys, and the
suggestion can be inserted either by clicking or hitting tab. Hitting enter
will also select the suggestion, but will submit your message too!

Installation
============
Add "addPlugin('Autocomplete');" to the bottom of your config.php
That's it!