Michael
ee1cb93f3a
Use the new relation functions
2020-08-03 18:21:56 +00:00
Michael
91c360638a
Ensure contact tabs will use the correct id
2020-08-02 13:34:49 +00:00
Michael
0c73531da1
Poco and gcontact (mostly) removed
2020-08-01 16:15:18 +00:00
Michael
71415094cb
Removed unused template variables
2020-07-31 06:00:43 +00:00
Michael
ce7f192f35
"id" is not needed as a parameter
2020-07-31 04:28:26 +00:00
Michael
893f6bd692
Use the function from the contact template instead
2020-07-31 03:55:01 +00:00
Michael
71b6226909
Some more avatar function replacements
2020-07-28 19:30:55 +00:00
Michael
d5a3ef6c2a
Removed unused "use"
2020-07-28 15:04:39 +00:00
Michael
b79bb0d2cb
Fetch photo fields, ensuring that they are filled
2020-07-28 12:58:19 +00:00
Michael
5b884e8348
Changed function name
2020-07-27 10:22:02 +00:00
Michael
6ab82eaa49
Ensure that cached avatar fields are set
2020-07-27 10:11:12 +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
fc0312451d
Changed parameter order for getByURL
2020-07-15 17:06:48 +00:00
Michael
d9c6a46ffe
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 04:42:04 +00:00
Hypolite Petovan
06b992a5dd
Add expected whitespace before Widget::unavailableNetworks() output in Module\Contact
2020-06-24 18:49:55 -04:00
Hypolite Petovan
a5a7855d39
Remove dependency to App in Contact::createFromProbe
...
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-641259906
2020-06-10 10:36:42 -04:00
Michael
0e9331a1ff
Avoid unneeded database calls when showing posts of contacts
2020-06-09 22:38:06 +00:00
Hypolite Petovan
34463f37e4
Rename contact table column to ffi_keyword_denylist
2020-06-07 11:24:52 -04:00
Michael
6bef9fb230
Show the relations of Twitter contacts
2020-03-07 13:05:16 +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
nupplaPhil
41ec7d8370
Replace stylesheet names
2020-02-02 20:56:31 +01:00
nupplaPhil
8632c90327
Fix crepair links
2020-02-02 20:50:53 +01:00
Hypolite Petovan
a7dd0173a7
Remove obsolete profile_id parameter in Model\Profile::load
2020-01-27 22:01:12 -05:00
Hypolite Petovan
a607656607
Replace profile tab GET parameter by route
2020-01-27 19:21:18 -05:00
Philipp
09de4a5b47
Merge pull request #8156 from MrPetovan/task/7817-custom-fields-part-2
...
New custom profile fields feature part 2: Feature switcheroo
2020-01-24 20:17:52 +01:00
Hypolite Petovan
4da90b9378
Add group membership filter widget in contact list
2020-01-23 17:49:55 -05:00
Hypolite Petovan
ed3ac36621
Refactor queries in contact module
2020-01-23 17:49:42 -05:00
Hypolite Petovan
f6f4cbab9d
Remove multi profiles feature
...
- Remove mod/profperm
- Remove additional feature
- Remove profile visibility on contact page
- Remove profile list templates
2020-01-22 19:42:33 -05: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
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Philipp
b9dba631aa
Merge pull request #8037 from MrPetovan/bug/notices
...
Replace remaining $a->page by DI::page()
2019-12-30 23:41:23 +01:00
Hypolite Petovan
e84ad15569
Replace remaining $a->page by DI::page()
2019-12-30 17:35:01 -05:00
nupplaPhil
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
nupplaPhil
6d7362da41
Replace deprecated $a->page with DI::page()
2019-12-30 20:02:09 +01:00
nupplaPhil
33674808dc
Remove deprecated App::cmd - replace with DI::args()->getCommand()
2019-12-29 20:17:51 +01:00
nupplaPhil
e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
2019-12-29 20:17:50 +01:00
nupplaPhil
e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
2019-12-29 20:17:48 +01:00
nupplaPhil
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
2019-12-29 20:17:43 +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
Hypolite Petovan
f000680511
Merge pull request #8021 from nupplaphil/task/mod_openid
...
Move mod/openid to src\Module\Security\OpenId
2019-12-28 21:39:42 -05:00
nupplaPhil
aa5771cf3e
Move Login/Logout/TwoFactor to bundled submodule "Security"
2019-12-27 22:19:28 +01:00
Michael
c037e9143c
Additionally display the protocol together with the network
2019-12-27 17:24:29 +00:00
Michael
543c8f8459
Use localuser()
2019-12-12 15:57:08 +00:00
Michael
39560218f8
Issue 7659: Display blocked and ignored public contacts as well
2019-12-12 11:58:57 +00:00
Hypolite Petovan
ae3d4f63a3
Use visibility tags input for the default ACL selector
...
- Move friendica-tagsinput to default view folder
- Update all references to ACL::getFullSelectorHTML
- Fix theme-specific issues with the new ACL
2019-11-28 12:54:53 -05: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
a70a0306d7
Only show incoming pending contact requests with intro
2019-09-09 08:58:56 +00:00
Michael
2dbd843ed2
Don't display ignored pending contacts, link to contact request page
2019-09-09 05:29:33 +00:00
Michael
591ba9c68e
Display pending contacts in the contact list
2019-09-08 19:18:56 +00:00
Michael
7d50a086e0
Issue 7559: Merge contact duplicates
2019-08-26 15:51:56 +00:00
Hypolite Petovan
e463df6418
Add existence check for contact.uid and contact.rel fields in Contact::getContactTemplateVars
2019-08-16 07:29:34 -04:00
Hypolite Petovan
98b0f97639
Suppress relationship string in template vars for public contact
2019-08-15 21:24:33 -04:00
Michael
aac086bf91
"all" contacts shouldn't show archived contacts
2019-07-24 19:29:45 +00:00
Michael
6041f74df6
New constant for federated protocols
2019-07-01 18:00:55 +00:00
Hypolite Petovan
b00bcbb1c1
Normalize the contact sidebar with the profile sidebar
...
- Remove un/follow text links in contact status window
2019-06-10 21:56:06 -04:00
Hypolite Petovan
3aebb92cf3
Rework Profile::sidebar profile link conditions
...
- Now show Follow, Unfollow, Atom Feed and Message in profile sidebar more consistently with the status of the current visitor
- Remove pseudo-field contact.remoteconnect
2019-06-10 21:56:03 -04:00
Philipp
bd0c536736
Merge pull request #7156 from MrPetovan/task/add-relationship-filter
...
Add contact relationship filter
2019-05-25 20:17:05 +02:00
Hypolite Petovan
0dae4f9492
Fix typo in Module\Contact
...
Follow-up to #7154 , thanks to @AlfredSK
2019-05-23 13:01:40 -04:00
Hypolite Petovan
e6742af65c
Add contact relationship filter to /contact module
2019-05-20 14:50:09 -04:00
Hypolite Petovan
71ae8d07a6
Refactor widgets
...
- Move widget templates to subfolder
- Add new generic filter widget templates to replace category, network and filer filters
- Update styles
2019-05-18 11:33:35 -04:00
Philipp Holzer
9ff0d56e03
Add contact/batch route
2019-05-07 21:15:22 +02:00
Philipp Holzer
53d13f4e4a
Fix contact routes
2019-05-06 18:57:50 +02:00
Hypolite Petovan
9774c95b80
Remove duplicate $baseurl template variable
...
- Remove unused $overwriteURL parameter in Renderer::replaceMacros
2019-05-02 09:55:48 -04:00
Philipp Holzer
b6b9e57488
Add routes for current BaseModules
2019-05-01 20:16:21 +02:00
Hypolite Petovan
f8c782380f
Remove unused code/use statements
2019-01-23 09:06:58 -05:00
rabuzarus
eabe192efc
bugfix Contact.php - there is no column 'deleted' in the 'profile' table
2019-01-21 21:13:13 +01:00
Hypolite Petovan
4a95ca280d
Remove unused code
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
Hypolite Petovan
d1c6ec9718
Update namespaces declaration in include/
...
- Remove unused use statements
- Add required use statements
2019-01-21 10:44:45 -05:00
Hypolite Petovan
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Hypolite Petovan
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00
Michael
6ae6a8a983
Don't show deleted contacts, set new AP contacts as "pending" until they are accepted
2019-01-09 13:23:11 +00:00
Michael
7e19506435
Issue 6394: The contact location has to be BBEncoded
2019-01-06 21:04:10 +00:00
Hypolite Petovan
620395378e
Normalize uses of Strings::formatNetworkName to $network_link
...
- Unescape HTML template variable $network_link
2018-12-26 11:11:38 -05:00
Michael
f274357ad6
Issue-6329: Prevent double encoding
2018-12-26 11:21:42 +00:00
Michael
ccb9be8f28
Issue 6316: Do not double encode / Avoid notice
2018-12-25 12:12:59 +00:00
Hypolite Petovan
924869ab5b
Merge branch 'develop' into bug/6211-fix-contact-nets-all
2018-12-02 10:24:50 -05:00
Hypolite Petovan
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Hypolite Petovan
663ba65f17
Remove "all" value for nets parameter
2018-11-30 05:43:07 -05:00
Michael
4f9f86e310
We are now escaping many template fields
2018-11-25 18:56:26 +00:00
Hypolite Petovan
4b8af10561
Fix display of Connect/Disconnect links on contact page
2018-11-23 11:09:43 -05:00
Tobias Diekershoff
6be831fd32
Add link to user groups from /contact
...
There was no way to get to the contact group editor from the contact overview.
Additionally the documentation about the used accesskeys was updated.
2018-11-17 18:33:12 +01:00
Michael
268862dd7c
Just some notice again
2018-11-14 10:54:42 +00:00
Adam Magness
218f0734be
Rename removeTags to escapeTags
...
rename function and update calls.
2018-11-09 13:29:42 -05:00
Adam Magness
063f0e9cb0
Rename escapeTags to escapeHtml
...
rename function and update calls.
2018-11-09 13:27:58 -05:00
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Adam Magness
0efcbe5d15
protect_sprintf calls
...
implement protectSprintf function
2018-11-08 10:30:45 -05:00
Adam Magness
916b3e551e
format_network_name calls
...
implement formatNetworkName function
2018-11-08 10:24:47 -05:00
Adam Magness
0e01568ccd
escape_tags calls
...
implement escapeTags function
2018-11-08 10:20:03 -05:00
Adam Magness
a0f65ca7a1
notags calls
...
implement removeTags function
2018-11-08 10:14:37 -05:00
Jonny Tischbein
76c9d37006
Fix not working unarchive contact batch action
2018-10-31 21:20:44 +01:00
Adam Magness
35abc4bb64
get markup template
...
implement getMarkupTemplate function
2018-10-31 10:44:06 -04:00
Adam Magness
91facd2d0a
replace macros
...
implement new replaceMacros function
2018-10-31 10:35:50 -04:00
Hypolite Petovan
7c0b591043
Move itemCount parameter from constructor to renderFull()
...
- Remove Pager->itemCount property and Pager->setItemCount() method
- Update usage
2018-10-25 00:07:16 -04:00
Hypolite Petovan
14237a9599
Move $pager and $page_offset out of App
...
- Move infinite scroll data output in a module hook
- Use Pager instead of paginate() and alt_pager()
2018-10-25 00:07:15 -04:00
Hypolite Petovan
e511790d62
Move NULL_DATE from boot.php to DBA::NULL_DATETIME
...
- Add DBA::NULL_DATE constant
2018-10-22 16:50:55 -04:00
Philipp Holzer
3edad1591e
replaced $return_url to $return_path to make it more clear that it is a relative path to the Friendica baseurl
2018-10-22 22:13:37 +02:00
Philipp Holzer
d00ddc01af
Split goaway to System::externalRedirectTo() and App->internalRedirect()
2018-10-22 22:13:35 +02:00
Philipp Holzer
2ef81108b3
Renamed System::redirect() to $a->redirect()
2018-10-22 22:13:22 +02:00
Hypolite Petovan
aa8039373a
Update formatting of Module\Contact
...
- Replace double quotes with single
- Align array declarations
- Replace q() call with Model\User::getOwnerDataById()
2018-10-14 18:30:02 -04:00
Hypolite Petovan
a883a99fe6
Replace string fields by array in Module\Contact
2018-10-14 18:27:24 -04:00
Hypolite Petovan
12ddb3bb54
Replace unwarranted uses of $a->data['contact']
2018-10-14 18:25:44 -04:00
Hypolite Petovan
57e8fb5cb1
Normalize uses of defaults() in Module\Contact
...
- Remove uses without default value
- Add relevant uses
2018-10-14 18:24:02 -04:00
Hypolite Petovan
756a4f1111
Fix remaining instances of "contacts"
2018-10-14 18:02:54 -04:00
Jonny Tischbein
e41c59b193
Fix batch action choice - All Actions for one contact were taken before
2018-10-14 21:38:38 +02:00
Jonny Tischbein
d54e56c659
Fix batch action query + Fix Namespace import
2018-10-14 21:14:32 +02:00
Jonny Tischbein
5fd4402074
code standards + fixing navigation links to /contact/...
2018-10-14 20:03:22 +02:00
Jonny Tischbein
bfa05156ca
change links from /contacts to /contact
2018-10-13 13:29:56 +02:00
Jonny Tischbein
738cb4ace6
finish refactoring to Module\Contact
2018-10-13 11:35:51 +02:00