Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Philipp
8bdd90066f
Make BaseModule
a real entity
...
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
Philipp
5879535822
Switch static::$parameters
to $this->parameters
2021-11-14 23:49:07 +01:00
Philipp
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Hypolite Petovan
e155821d7a
Set profile fields for system user in Model\User::getOwnerDataById
...
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-903676606
- This is required when Model\Profile::load is called for the system user for example
2021-08-24 05:53:46 -04:00
Michael
9f01052dd2
Removed some more unused "use"
2021-08-08 20:03:28 +00:00
Michael
fc283ab928
Remove direct calls to App->user
2021-08-08 10:14:56 +00:00
Michael
2502a9192d
Many more app-variables removed
2021-07-24 10:09:39 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
00974324fe
Don't show failed contacts
2020-10-07 20:06:15 +00:00
Michael Vogel
dfa177e940
Merge pull request #8986 from MrPetovan/task/8918-move-mod-common
...
Reduce page size in contacts pages
2020-08-11 13:45:02 +02:00
Hypolite Petovan
3d3ad07385
Enable profile contacts page for profile owner
2020-08-09 09:09:38 -04:00
Hypolite Petovan
e57449ee35
Reduce page size in contacts pages
2020-08-07 21:18:25 -04:00
Hypolite Petovan
383ddb10ed
Create new page_tabs template
...
- Replace explicit tabs in profile contacts page with new template
2020-08-06 22:59:09 -04:00
Hypolite Petovan
71db6ab613
Add Module\Profile\Common class
...
- Add Common tab in profile contacts templates
- Add routing to new module
2020-08-04 23:03:54 -04:00
Hypolite Petovan
1723903219
Rework Module\Profile\Contacts class
...
- Simplify imports
- Use router parameters
- Use exceptions
- Simplify querying and result processing
- Add no result label
2020-08-04 23:02:43 -04:00
Michael
45aff10ff8
Replaced with general function
2020-07-31 04:50:24 +00:00
Michael
b79bb0d2cb
Fetch photo fields, ensuring that they are filled
2020-07-28 12:58:19 +00:00
Michael
0007da8630
EOL removed
2020-07-23 06:25:01 +00:00
Michael
3fc3ded750
Useless info messages removed
2020-07-23 06:11:21 +00:00
Michael
b8682190de
Fix fallback on unknown contact
2020-07-16 04:18:33 +00:00
Michael
6d3949d54a
Changed default value
2020-07-15 17:29:52 +00:00
Michael
e374aecc46
Changed parameter order for "getbyURLForUser"
2020-07-15 17:22:12 +00:00
Michael
d9c6a46ffe
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 04:42:04 +00:00
Hypolite Petovan
561472b975
Add L10n parameter to Pager classes
2020-02-16 12:50:39 -05:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Hypolite Petovan
f2d917114f
Move Model\Profile::getTabs to new Module\BaseProfile class
2020-01-26 14:21:18 -05:00
Hypolite Petovan
6d7f0a6fd8
Remove duplicate profile_uid key in App->profile array
2020-01-20 07:32:46 -05:00
nupplaPhil
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
nupplaPhil
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
nupplaPhil
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
nupplaPhil
a9a36fb302
Move L10n::tt() calls to DI::l10n()->tt() calls
2020-01-19 16:31:17 +01:00
nupplaPhil
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
nupplaPhil
e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
2019-12-29 20:17:50 +01:00
nupplaPhil
1de3f186d7
Introduce new DI container
...
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
Michael
c037e9143c
Additionally display the protocol together with the network
2019-12-27 17:24:29 +00:00
Michael
8c03bdada9
parameters now are having a default value and are optional
2019-11-05 21:48:54 +00:00
Michael
bd62d548db
Added parameters
2019-11-05 20:22:54 +00:00
Hypolite Petovan
f59ea2af55
Replace deprecated defaults() calls by ?? and ?: operators in src/Module/
2019-10-15 09:20:32 -04:00
Michael
83b00ef308
New function "isAuthenticated"
2019-09-28 18:09:11 +00:00
Hypolite Petovan
f19136905f
Remove setting obsolete App->data['user'] in Module\Profile\Contacts
2019-09-21 05:14:49 -04:00
Hypolite Petovan
bebff3271b
Remove obsolete TODO comment in Module\Profile\Contacts
2019-05-20 15:10:34 -04:00
Hypolite Petovan
c65faecc8c
Add current tab parameter to Model\Profile::getTabs
2019-05-20 15:09:33 -04:00
Hypolite Petovan
709eba6ce3
Move /viewcontacts to /profile/{nickname}/contacts[/{type}]
...
- Add contact relationship filter to profile contacts page
- Include feed contacts in contacts page and contact widget
2019-05-20 14:50:09 -04:00