Commit graph

56 commits

Author SHA1 Message Date
Hypolite Petovan 9b296786d5 [forumdirectory] Add missing operator in SQL query 2020-09-07 20:31:24 -04:00
Hypolite Petovan 203672cf27 [various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
2020-07-27 08:30:41 -04:00
Michael 8fbf514e3d Standards 2020-07-23 06:07:17 +00:00
Michael 3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00:00
Michael cae25f13c1 Forumdirectory: Fix Notice "Undefined index: url in src/Module/Directory.php" 2020-07-12 12:49:55 +00:00
Michael Vogel 86b2d830a5
Merge pull request #957 from MrPetovan/task/4090-move-profile_photo-to-src
[various] Remove redundant profile_uid field from profile query
2020-02-23 14:33:10 +01:00
Hypolite Petovan 9c092d5c40 [forumdirectory] Add L10n parameter to Pager constructor call 2020-02-16 13:06:30 -05:00
Hypolite Petovan 4dff5e7175 [forumdirectory] Replace profile.pdesc by profile.about 2020-02-16 13:06:06 -05:00
Hypolite Petovan bdfe575365 [various] Remove redundant profile_uid field from profile query 2020-01-31 20:10:10 -05:00
Hypolite Petovan 14acb7d7cf [forumdirectory] Remove uses of deprecated profile fields 2020-01-27 23:09:29 -05:00
Philipp Holzer 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
Philipp Holzer 1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
Philipp Holzer f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
Philipp Holzer 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
Philipp Holzer 2ca621a92a
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:08 +01:00
Philipp Holzer dfd8c4c24f
Remove deprecated App::query_string - replace with DI::args()->getQueryString() 2019-12-27 21:55:19 +01:00
Hypolite Petovan d9436bd104 [forumdirectory] Remove direct access to $_SESSION['theme'] 2019-10-13 12:12:49 -04:00
Roland Häder 2d702264a2
Removed no longer used include file
Signed-off-by: Roland Häder <roland@mxchange.org>
2019-07-03 15:18:48 +02:00
Philipp Holzer b27ea85532
Move mod/directory to src/Module/Directory 2019-05-02 22:49:33 +02:00
rabuzarus fb34a16c39 forumdirectory: remove logger call 2019-02-18 13:06:30 +01:00
rabuzarus 728b390d83 forumdirectory: use the directory template from friendica core 2019-02-18 03:01:24 +01:00
Tobias Diekershoff 3e202f8ee4
Merge pull request #790 from MrPetovan/task/6390-move-contact-constants-to-user
[forumdirectory] Move Contact::PAGE_* constants to User::PAGE_FLAGS_*
2019-02-02 09:19:54 +01:00
Tobias Diekershoff 08206fdcc0 Merge branch 'master' into develop 2019-01-21 10:04:26 +01:00
Hypolite Petovan 8586795bea [forumdirectory] Move Contact::PAGE_* constants to User::PAGE_FLAGS_* 2019-01-06 23:38:21 -05:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan 85b5715a44 Remove require include/* 2018-12-26 00:36:43 -05:00
Hypolite Petovan d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Adam Magness 4a667f640f Function renamed
update function calls
2018-11-09 13:32:45 -05:00
Adam Magness 1ac32c622e Functions moved to Strings class
implement functions from Strings class
2018-11-09 07:09:15 -05:00
Adam Magness 9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -04:00
Hypolite Petovan d4340af4fc [forumdirectory] Use new Pager constructor and renderFull signatures 2018-10-24 20:18:22 -04:00
Hypolite Petovan 6f421a74c6 [forumdirectory] Use Content\Pager instead of App->pager 2018-10-24 02:38:54 -04:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Roland Häder 05bea7c61d [forumdirectory] Fixes, type-hints and PAGE_* moval (#671)
* Rewrite:
- moved PAGE_* constants to class Friendica\Model\Profile

* Rewrites:
- added type-hint `App`
- added type-hint `array` to $b
- used empty() instead of deprecated x()

* [forumdirectory] CR request:
- moved constants PAGE_* from Profile to Contact class

* [forumdirectory] CR request: Removed superfluous == 1
2018-07-28 01:33:39 -04:00
Hypolite Petovan 522e8e58c2 [multiple] Rename dbesc to DBA::escape 2018-07-23 15:35:22 -04:00
Hypolite Petovan f4ad0d3721 Rename DBA::is_result to DBA::isResult 2018-07-23 15:02:59 -04:00
Hypolite Petovan 332ea212b5 Rename DBM method calls to DBA method calls 2018-07-23 15:02:10 -04:00
Hypolite Petovan 80cfdc68c9 Replace datetime functions by Temporal methods 2018-02-03 12:31:33 -05:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Michael 39e12d77ef Some forgotten include 2018-01-20 21:03:48 +00:00
Hypolite Petovan c6e5bc3429
Merge pull request #492 from zeroadam/Addon
Move plugins to src
2018-01-20 14:36:26 -05:00
Hypolite Petovan eec158b5f3 Add missing include/fix zrl location 2018-01-20 09:30:08 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan 0ec16922e7 Fix forumdirectory reference to deleted files/functions
- Fix formatting
- Fix reference to nav_set_selected
- Fix reference to widget_findpeople
2018-01-18 19:39:02 -05:00
Hypolite Petovan e9d7a1fa45 Remove App::get_cached_avatar_image method 2018-01-16 19:22:36 -05:00
Hypolite Petovan 27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Michael f2c57fda48 The function "template_escape" doesn't exist anymore. 2017-11-27 06:34:04 +00:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Michael Vogel 7ed70cf5ad Use the new directory setting (valid for 3.4.2) 2015-09-26 11:04:05 +02:00
Thomas Willingham 26326d0c2f Forumdirectory - don't call hooks. It was intended as a feature, but people keep reporting it as a bug. 2013-02-03 15:16:35 +00:00