Commit Graph

66 Commits (90ec1bc83816518dca292db06abe6440d4425195)

Author SHA1 Message Date
Hypolite Petovan 49d308c44b [various] Rename forum to group
- Drop support for forumdirectory
- Add support for groupdirectory
2023-06-04 00:20:07 +02:00
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Philipp b0eb28143a
UserSession class - Refactor addon 2022-10-20 23:51:49 +02:00
Michael 5d8129600d Replace all functions from boot.php 2022-10-19 09:47:36 -04:00
Michael 592374b795 Some useless EOL removed 2022-10-17 21:00:03 +00:00
Michael 897dbb30cf Remove "notice" with new function 2022-10-17 20:17:25 +00:00
Roland Häder 3ab46781b1
Changes:
- if a <addon>_module() function is empty, it is more a statement and not a
  real function
2022-06-24 23:35:16 +02:00
Michael cff3dd67b0 "escapeTags" is removed from the addons 2021-11-07 08:49:34 +00:00
Michael d902f6808d Use globals instead of $a->data 2021-07-25 17:28:07 +00:00
Michael f878d2e463 Replaced argv/argc with replacement functions 2021-07-25 12:29:43 +00:00
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
nupplaPhil 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
nupplaPhil 1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
nupplaPhil f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
nupplaPhil 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
nupplaPhil 2ca621a92a
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:08 +01:00
nupplaPhil 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