Commit graph

27805 commits

Author SHA1 Message Date
Hypolite Petovan f5ea07c731 Remove unused App parameter from Module\Contact::getTabsHTML 2020-08-06 22:59:09 -04:00
Hypolite Petovan b45ba63dbf Add mutuals and all methods in Contact\Relation
- Remove unused $fields parameters from list methods
- Fix wrong SQL condition in listCommon
2020-08-06 22:59:09 -04:00
Hypolite Petovan 077b57ecb3 Actually destroy session on logout 2020-08-06 22:59:09 -04:00
Hypolite Petovan e23f7d5a35
Merge pull request #8981 from annando/probe-lock
Remove probe caching, locking cleanup
2020-08-06 16:06:36 -04:00
Michael f09d9bc9cc Remove url caching, locking cleanup 2020-08-06 18:53:45 +00:00
Hypolite Petovan c0aebd2bd4
Merge pull request #8978 from annando/contact-update
Avoid double probing and unneeded contact updates
2020-08-06 09:04:39 -04:00
Hypolite Petovan 454836243d
Merge pull request #8980 from annando/fcontact-model
New "fcontact" model class
2020-08-06 09:01:47 -04:00
Michael 2cbc935944 Renamed function 2020-08-06 10:31:05 +00:00
Michael d4f7bfa676 New "fcontact" model class 2020-08-06 10:27:06 +00:00
Michael ecfbc7027e Unused "use" removed 2020-08-06 05:52:22 +00:00
Michael e295dc4f93 Avoid double probing and unneeded contact updates 2020-08-06 04:51:20 +00:00
Michael Vogel 1fb47b96aa
Merge pull request #8975 from MrPetovan/task/8918-move-mod-common
Move mod/common.php to src/ Part 2: Add Module\Profile\Common class
2020-08-05 23:17:12 +02:00
Hypolite Petovan d5ea823365
Merge pull request #8977 from annando/fix-contact-search
Fix: Always search contacts with uid
2020-08-05 11:59:06 -04:00
Michael 4acf7cc38f Fix: Always search contacts with uid 2020-08-05 14:57:49 +00:00
Hypolite Petovan 307af4a4fd
Merge pull request #8973 from annando/contact-group
New class for group related contact actions
2020-08-05 10:30:45 -04:00
Hypolite Petovan 8042119447
Merge pull request #8974 from annando/issue-8967
Issue 8967: Fix avatar in top bar
2020-08-05 10:30:20 -04:00
Hypolite Petovan f81164de7a
Merge pull request #8976 from annando/probe-last
Probe for the date of the last item
2020-08-05 10:17:03 -04:00
Michael d56ac8d58f Fix wrong parameter order 2020-08-05 12:57:02 +00:00
Michael 603b1f965d Fix wrong value for parameter 2020-08-05 12:53:25 +00:00
Michael 4e5a3ab0f1 Added checked for URL change 2020-08-05 12:53:02 +00:00
Michael 187dbc09ac Avoid double probing 2020-08-05 12:36:04 +00:00
Michael 1f164f66f4 Simplify contact search 2020-08-05 12:35:38 +00:00
Michael 2280f52945 Only query the last item on public contacts 2020-08-05 08:24:01 +00:00
Michael 3a4be3d5f4 Fill "last-item" with an empty date when bo date had been provided 2020-08-05 08:06:47 +00:00
Michael cd99b9706b Check for empty baseurl 2020-08-05 07:51:15 +00:00
Michael fd62629285 Probe for the date of the last item 2020-08-05 06:50:51 +00:00
Hypolite Petovan c26b72a426 Rework commonFriendsVisitor widget
- Use new Contact\Relation method to fetch common contacts
- Replace reference to /common by /{nickname}/contacts/common
2020-08-05 00:19:48 -04:00
Michael Vogel 0224bc8367
Update view/theme/frio/theme.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-08-05 05:39:00 +02:00
Michael 018abb4d1d Renamed function 2020-08-05 03:36:37 +00: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
Hypolite Petovan 4c5fe20018 Remove relationship direction display for non-local user contacts
- [frio] Add profile link on avatar in contact_template
2020-08-04 23:00:15 -04:00
Hypolite Petovan 470079c37c Improve documentation of visitor-related functions 2020-08-04 22:44:42 -04:00
Hypolite Petovan ae23c69303 Remove extraneous $field parameter in Contact\Relation methods 2020-08-04 22:44:23 -04:00
Michael f1380e6af4 Issue 8967: Fix avatar in top bar 2020-08-04 20:15:42 +00:00
Michael 1d44e544cf New class for group related contact actions 2020-08-04 18:22:19 +00:00
Hypolite Petovan 73c112066d
Merge pull request #8971 from annando/optimize
Periodically  run an "optimize table" command for cache tables
2020-08-04 12:43:28 -04:00
Hypolite Petovan c6f2ed667d
Merge pull request #8970 from annando/user-contact
"Contact\User" class created
2020-08-04 12:13:18 -04:00
Michael 288593700d Updated messages.po 2020-08-04 14:05:05 +00:00
Michael d153db44ac Periodically run an "optimize table" command for cache tables 2020-08-04 12:24:24 +00:00
Tobias Diekershoff 1424e487a3
Merge pull request #8969 from annando/fix-acl-search
Contact search is fixed
2020-08-04 10:37:00 +02:00
Hypolite Petovan 977ad51afd
Merge pull request #8968 from annando/fix-fatal
Fiy fatal error
2020-08-04 02:08:46 -04:00
Michael a20887a78e Test message removed 2020-08-04 05:46:00 +00:00
Michael 041a96555b Contact search is fixed 2020-08-04 05:44:38 +00:00
Michael a7d75702cc "Contact\User" class created 2020-08-04 04:47:02 +00:00
Michael afa9adda6e Fiy fatal error 2020-08-04 03:18:34 +00:00
Hypolite Petovan adfb94d370
Merge pull request #8964 from annando/contact-tabs
Ensure contact tabs will use the correct contact id / new function for fetching the followers
2020-08-03 16:35:49 -04:00
Michael 0c4a3330dd Use the public contact 2020-08-03 19:47:46 +00:00
Michael 53810a9e42 Added field value 2020-08-03 19:40:31 +00:00
Michael 4e90029234 Adding $fields 2020-08-03 19:38:03 +00:00