Commit graph

141 commits

Author SHA1 Message Date
Michael
b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
Michael
bee04f86ee Matrix addresses can be entered in the profile 2021-08-09 01:39:09 +00:00
Michael
9f01052dd2 Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Michael
28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Michael
fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael Vogel
25f0f0c439 Display the publish time in the local timezone 2021-08-04 07:58:07 +02:00
Michael
6c8a4a2552 Use a centralized function to delete delayed entries 2021-08-02 20:56:34 +00:00
Michael
88e276843e Using "post" when deleting, fixing deleting 2021-08-02 19:18:44 +00:00
Michael
f87e41e206 Scheduled posts are now listed and can be deleted 2021-08-02 17:03:06 +00:00
Michael
ec5ed0cf46 Placeholder page for scheduled posts 2021-08-02 12:10:03 +00:00
Hypolite Petovan
dfb043ce60 Add Exception for empty User::getOwnerDataById(0 return case in Protocol\ActivityPub\Transmitter::getProfile()
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-882781552
- Add try-catch blocks to all references of Protocol\ActivityPub\Transmitter::getProfile()
2021-07-27 16:46:08 -04:00
Michael
2502a9192d Many more app-variables removed 2021-07-24 10:09:39 +00:00
Michael
07d2dfcd60 Some more "convertForUriId" replacements 2021-07-10 12:58:48 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
1792046a4f post/thread views are renamed, search bugs fixed 2021-02-22 19:47:08 +00:00
Michael
92a8a399de Improved indexes, avoiding SQL errors, improving speed 2021-02-20 20:07:25 +00:00
Michael
ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael
ef0400fc19 "uri-id" instead of "uri" or "id" 2021-01-27 10:01:42 +00:00
Hypolite Petovan
a2556e7c67 Remove leading space in displayed public tags in profile page 2021-01-23 15:55:21 -05:00
Michael
b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
Michael
4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
Michael
2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Michael
2fa692bcce New post class in the rest of the classes 2021-01-16 04:16:09 +00:00
Hypolite Petovan
fbd0cefdf7 Add translation to Yourself option in view as select in profile
- Address https://github.com/friendica/friendica/issues/9682
2020-12-20 02:08:17 -05:00
Michael
b6f349076c Fix order of reshared items on the profile page 2020-11-28 06:23:17 +00:00
Michael
4965d6aa54 The profile page does now shows reshared items 2020-11-03 19:24:47 +00:00
Hypolite Petovan
9537a6d0f7 Remove unused App->force_max_items property 2020-10-13 07:52:13 -04:00
Michael
00974324fe Don't show failed contacts 2020-10-07 20:06:15 +00:00
Philipp
8318a0b640
Move ExAuth, FKOAuth1 & FKOAuthDataStore to own namespace Friendica\Security 2020-09-30 11:14:01 +02:00
Michael
8d0d6bcd0c Issue 8882: Fixes permissions of pinned posts 2020-09-06 15:05:42 +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
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
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 Vogel
701dbdf7fc
Merge pull request #8939 from MrPetovan/task/8906-frio-viewas-redesign
Move "View As" form at the bottom of the profile page
2020-07-28 18:00:17 +02:00
Hypolite Petovan
ab3106a129 Move "View As" form at the bottom of the profile page 2020-07-28 11:40:14 -04: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
1f0b7690eb Add error handling in Module\Profile\Status
- Address part of https://github.com/friendica/friendica/issues/8475#issuecomment-653912096
2020-07-08 09:49:39 -04:00
Michael
875d6b36e9 File and category aren't using "term" anymore 2020-05-03 15:13:40 +00:00
Michael
74081a71ff Removed unused "use" 2020-05-01 13:26:13 +00:00
Michael
8602bbb3b9 "term" replaced with "tag" 2020-05-01 08:02:21 +00:00
Michael
7f5f68a904 More preparations for term to tag transition 2020-04-26 16:15:39 +00:00
Michael
5df5e9521b The tag table is now really used 2020-04-26 15:24:58 +00:00
Michael
7d111e2a6f Duplicated fields renamed 2020-04-25 07:29:02 +00:00
Michael
661dd43b0d Term constants updated 2020-04-13 19:24:22 +00:00
Hypolite Petovan
af817b2ad5 Add cache and CORS headers to ActivityPub endpoints 2020-04-05 18:02:38 -04:00
Philipp
da124af6ed
Merge pull request #8293 from MrPetovan/task/5562-community-pagination
Improve community pagination
2020-02-16 19:38:49 +01:00
Hypolite Petovan
e0d03615bc Add node-wide default items per page config 2020-02-16 13:04:26 -05:00
Hypolite Petovan
561472b975 Add L10n parameter to Pager classes 2020-02-16 12:50:39 -05:00
Michael
ee6cceba30 Clarify the effect of "net-publish" 2020-02-16 15:39:44 +00:00
Hypolite Petovan
0b0309ce8f Remove pager parameter from conversation()
- Add getUrlParameter() Javascript function to determine current page
2020-02-13 23:40:00 -05:00
Michael Vogel
e80d68ba53
Merge pull request #8261 from MrPetovan/task/8251-use-about-for-pdesc
Use profile.about for profile description
2020-02-10 23:36:59 +01:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
Hypolite Petovan
a42104ce43 Use profile.about instead of profile.pdesc for profile description 2020-02-09 02:36:19 -05:00
Steffen K9
e901468602
Fix Archives Widget on Status Page
Solution 'borrowed' from PR8116.
2020-02-01 14:06:35 +01:00
Hypolite Petovan
e5ab4f1889 Re-enable pinned items in profile wall 2020-01-26 14:21:20 -05:00
Hypolite Petovan
46c4bfe580 Restore base profile URL behavior
- Add new profile-specific route
2020-01-26 14:21:20 -05:00
Hypolite Petovan
f2d917114f Move Model\Profile::getTabs to new Module\BaseProfile class 2020-01-26 14:21:18 -05:00
Hypolite Petovan
602a57577d Remove duplicate call to Profile::getTabs in Module\Profile\Index
- Address https://github.com/friendica/friendica/issues/8167
2020-01-25 16:27:43 -05:00
Hypolite Petovan
5c05d28a8e Increase argument counter after route change in Module\Profile\Status
- Address https://github.com/friendica/friendica/pull/8156#issuecomment-578302294
2020-01-25 16:27:43 -05:00
Hypolite Petovan
1fc1989f93 Remove superfluous includes in profile modules 2020-01-23 10:00:48 -05:00
Hypolite Petovan
d475cb5028 Replace advanced profile display with custom profile fields
- Merge all profile/advanced.tpl theme templates into profile/index.tpl
- Remove obsolete Model\Profile::getAdvanced method
2020-01-22 19:42:34 -05:00
Hypolite Petovan
62fec2f190 Remove duplicate profile_uid key in App->profile array 2020-01-22 19:42:33 -05:00
Hypolite Petovan
d1be68b754 Move Module\Profile to Module\Profile\Index
- Move /profiles to Module\Settings\Profile\Index
2020-01-22 19:42:32 -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