friendica_2021.01_tupambae_.../mod
Roland Häder 4d39164c1e [WIP] Rewrite to Proxy class: (#5507)
* Rewrite to Proxy class:
- introduced new Friendica\Network\Proxy class for in exchange of proxy_*()
  functions
- moved also all PROXY_* constants there as Proxy::*
- removed now no longer needed mod/proxy.php loading as composer's auto-load
  will do this for us
- renamed those proxy_*() functions to better names:
  + proxy_init()           -> Proxy::init()         (public)
  + proxy_url()            -> Proxy::proxifyUrl()   (public)
  + proxy_parse_html()     -> Proxy::proxifyHtml()  (public)
  + proxy_is_local_image() -> Proxy::isLocalImage() (private)
  + proxy_parse_query()    -> Proxy::parseQuery()   (private)
  + proxy_img_cb()         -> Proxy::replaceUrl()   (private)

* Ops, need to set $a here ...

* CR request:
- moved Proxy class to Friendica\Module
- extended BaseModule

* Ops, no need for own instance of $a when self::getApp() is around.

* Proxy-rewrite:
- proxy_url() and proxy_parse_html() are both non-module functions (now
  methods)
- so they must be splitted into a seperate class
- also the SIZE_* and DEFAULT_TIME constants are both not relevant to module

* No instances from utility classes

* Fixed error:
- proxify*() is now located in `Friendica\Util\ProxyUtils`

* Moved back to original place, ops? How did they move here? Well, it was not
intended by me.

* Removed duplicate (left-over from split) constants and static array. Thank to
MrPetovan finding it.

* Renamed ProxyUtils -> Proxy and aliased it back to ProxyUtils.
2018-07-30 22:06:22 -04:00
..
_well_known.php Continued: 2018-05-14 22:50:03 +02:00
acctlink.php Fix Scrutinizer issues in mod [_well_know -> contactgroup] 2018-01-04 19:42:48 -05:00
acl.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
admin.php Fixed E_NOTICE in listing worker queue and new utilities class added (#5521) 2018-07-30 21:24:26 -04:00
allfriends.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
amcd.php Fix Scrutinizer issues in mod [_well_know -> contactgroup] 2018-01-04 19:42:48 -05:00
api.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
apps.php Many t() calls 2018-01-22 18:03:26 -05:00
attach.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
babel.php Add Text\BBCode::toPlaintext to mod/babel 2018-04-21 18:48:10 -04:00
bookmarklet.php Enforce systen.register_policy value type 2018-07-16 19:38:19 -04:00
cal.php And another notice removed 2018-07-29 06:08:02 +00:00
common.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
community.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
contactgroup.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
contacts.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
credits.php Many t() calls 2018-01-22 18:03:26 -05:00
crepair.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
delegate.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
dfrn_confirm.php Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
dfrn_notify.php Fixing SQL error when receiving DFRN posts (#5527) 2018-07-30 07:06:32 +02:00
dfrn_poll.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
dfrn_request.php Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
directory.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
dirfind.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
display.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
editpost.php Fixes for E_NOTICE in editpost.php (#5480) 2018-07-24 07:47:25 -04:00
events.php Fixes: (#5477) 2018-07-23 18:52:48 -04:00
fbrowser.php Ad missing use statements after dbesc conversion 2018-07-23 18:44:05 -04:00
feedtest.php Rename Friendica\Database\dba to Friendica\Database\DBA 2018-07-20 08:19:26 -04:00
fetch.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
filer.php Fixed E_NOTICE when no 'term' was provided (#5391) 2018-07-18 15:41:24 -04:00
filerm.php App::get_baseurl is now replaced with System::baseUrl 2017-08-26 07:32:10 +00:00
follow.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
friendica.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
fsuggest.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
group.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
hcard.php Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
help.php Replace global $lang with system.language 2018-07-16 19:38:17 -04:00
home.php Enforce systen.register_policy value type 2018-07-16 19:38:19 -04:00
hostxrd.php Use short form array syntax everywhere 2018-01-15 14:07:17 -05:00
hovercard.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
ignored.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
install.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
invite.php Ad missing use statements after dbesc conversion 2018-07-23 18:44:05 -04:00
item.php Removal of x() and added missing columns of contact (#5479) 2018-07-24 17:48:47 -04:00
like.php Remove references to include/bbcode.php 2018-02-14 22:01:14 -05:00
localtime.php fix undeclared variables or wrong variable names (/mod) 2018-02-12 03:25:09 +01:00
lockview.php Item storage: Permissions aren't stored in the items anymore (#5495) 2018-07-25 19:14:55 -04:00
lostpass.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
maintenance.php More t() 2018-01-22 18:03:26 -05:00
manage.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
manifest.php Use short form array syntax everywhere 2018-01-15 14:07:17 -05:00
match.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
message.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
modexp.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
msearch.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
network.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
newmember.php Finish t() for mod 2018-01-22 18:03:26 -05:00
nodeinfo.php Rename Friendica\Database\dba to Friendica\Database\DBA 2018-07-20 08:19:26 -04:00
nogroup.php Rename DBM method calls to DBA method calls 2018-07-23 11:02:24 -04:00
noscrape.php Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
notes.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
notice.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
notifications.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
notify.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
oexchange.php New item field "Post-type" and new table "permissionset" (#5408) 2018-07-19 09:52:05 -04:00
openid.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
opensearch.php Use short form array syntax everywhere 2018-01-15 14:07:17 -05:00
ostatus_subscribe.php Fix: subscribing to the old followers hadn't worked 2018-03-14 00:27:15 +00:00
parse_url.php Next item structure works (#5380) 2018-07-15 14:36:20 -04:00
photo.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
photos.php Some more notices (#5526) 2018-07-30 06:41:20 +02:00
phpinfo.php Add phpinfo page only accessible to admins 2018-02-03 01:26:28 -05:00
ping.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
poco.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
poke.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
pretheme.php Update Theme functions and calls 2018-01-20 07:48:22 -05:00
probe.php fix undeclared variables or wrong variable names (/mod) 2018-02-12 03:25:09 +01:00
profile.php Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
profile_photo.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
profiles.php Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
profperm.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
pubsub.php Moved CONTACT_* constants to Friendica\Model\Contact class, lesser in global namespace (#5490) 2018-07-24 22:53:46 -04:00
pubsubhubbub.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
randprof.php Use magicLink whenever possible 2018-06-02 08:05:06 +00:00
receive.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
redir.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
register.php Ad missing use statements after dbesc conversion 2018-07-23 18:44:05 -04:00
regmod.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
removeme.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
repair_ostatus.php Moved CONTACT_* constants to Friendica\Model\Contact class, lesser in global namespace (#5490) 2018-07-24 22:53:46 -04:00
robots_txt.php Use short form array syntax everywhere 2018-01-15 14:07:17 -05:00
rsd_xml.php App::get_baseurl is now replaced with System::baseUrl 2017-08-26 07:32:10 +00:00
salmon.php Moved CONTACT_* constants to Friendica\Model\Contact class, lesser in global namespace (#5490) 2018-07-24 22:53:46 -04:00
search.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
settings.php Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
share.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
smilies.php Rework smilies class and module 2018-07-15 08:03:12 -04:00
starred.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
statistics_json.php Enforce systen.register_policy value type 2018-07-16 19:38:19 -04:00
subthread.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
suggest.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
tagger.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
tagrm.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
toggle_mobile.php App::get_baseurl is now replaced with System::baseUrl 2017-08-26 07:32:10 +00:00
uexport.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
uimport.php Enforce systen.register_policy value type 2018-07-16 19:38:19 -04:00
unfollow.php Moved CONTACT_* constants to Friendica\Model\Contact class, lesser in global namespace (#5490) 2018-07-24 22:53:46 -04:00
update_community.php fix scroll position in stream while ajax update 2018-06-16 13:05:33 +02:00
update_display.php fix scroll position in stream while ajax update 2018-06-16 13:05:33 +02:00
update_network.php fix scroll position in stream while ajax update 2018-06-16 13:05:33 +02:00
update_notes.php fix scroll position in stream while ajax update 2018-06-16 13:05:33 +02:00
update_profile.php fix scroll position in stream while ajax update 2018-06-16 13:05:33 +02:00
videos.php Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
view.php Revert "Coding convention applied - part 1" 2017-03-21 12:02:59 -04:00
viewcontacts.php [WIP] Rewrite to Proxy class: (#5507) 2018-07-30 22:06:22 -04:00
viewsrc.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00
wall_attach.php Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
wall_upload.php Moved global PAGE_* to Profile class (#5500) 2018-07-27 19:25:57 -04:00
wallmessage.php Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00
webfinger.php fix undeclared variables or wrong variable names (/mod) 2018-02-12 03:25:09 +01:00
worker.php Rename Friendica\Database\dba to Friendica\Database\DBA 2018-07-20 08:19:26 -04:00
xrd.php Rename DBA::is_result to DBA::isResult 2018-07-23 11:04:14 -04:00