gnu-social/scripts
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
..
allsites.php [DATABASE] Only use single quotation marks for SQL strings 2019-09-11 09:46:30 +03:00
apidocs.config
backupuser.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
checkschema.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
clean_file_table.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
clean_profiles.php [DATABASE] Some query improvements 2020-06-10 16:52:00 +03:00
clean_thumbnails.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
clear_jabber.php [DATABASE] Use "<>" as an SQL non-equality sign in more cases 2020-06-08 18:31:22 +03:00
clearcache.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
command.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
commandline.inc [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
console.php [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
createsim.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
delete_notice.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
delete_orphan_files.php [DATABASE] Some query improvements 2020-06-10 16:52:00 +03:00
delete_status_network.sh
deletegroup.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
deleteprofile.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
docgen.php [CORE] Plugin API now extends a new Module API 2019-08-24 01:59:33 +01:00
doxygen.tmpl
dumpschema.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
fixup_deletions.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
fixup_hashtags.php [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
flushrouter.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
flushsite.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
getpiddir.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
getvaliddaemons.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
gnusocialversion.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
handlequeued.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
imdaemon.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
importtwitteratom.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
install_cli.php [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
joingroup.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
leavegroup.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
maildaemon.php [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
make-release.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
makegroupadmin.php [DATABASE] Introduce a bool type in schema 2019-09-11 11:25:39 +03:00
move_status_network.sh
moveuser.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
nukefile.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
queuectl.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
queuedaemon.php [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
registeruser.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
remove_duplicate_file_urls.php [DATABASE] Columns not in GROUP BY must not be queried 2019-09-11 13:12:41 +03:00
resend_confirm_address.php [SCRIPTS] Fix resend_confirm_address.php 2019-11-16 21:22:46 +03:00
restoreuser.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
sendemail.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
sessiongc.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
setconfig.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
setpassword.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
settag.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
setup_status_network.sh
setup.cfg.sample
showcache.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
showplugins.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
showtable.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
simple_console.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
startdaemons.sh
stopdaemons.sh Usage documentation in the stopdaemons script 2014-12-10 21:17:57 +01:00
strip_geo.php [DATABASE] Use "<>" as an SQL non-equality sign in more cases 2020-06-08 18:31:22 +03:00
uncache_users.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
update_po_templates.php [OverwriteThemeBackground] This new plugin will let the admin set a custom background theme independent 2019-09-03 03:26:35 +01:00
update_translations.php [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
updatelocation.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
updateuris.php [SCRIPTS] Add updateuris script 2019-11-03 00:43:21 +00:00
updateurls.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
upgrade.php [DATABASE] Use "<>" as an SQL non-equality sign in more cases 2020-06-08 18:31:22 +03:00
useremail.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00
userrole.php [SCRIPTS] Make them work in v2 by setting PUBLICDIR 2019-08-03 17:49:11 +01:00