Commit graph

666 commits

Author SHA1 Message Date
Hypolite Petovan
bbefc61a0c Use Arguments->getCommand() where it makes more sense than getQueryString()
- Remove a couple of intermediary query string variables
2020-09-12 09:09:15 -04:00
Michael Vogel
5c3cc76acf
Update include/conversation.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-09-09 20:03:14 +02:00
Michael
555856208e Issue 9167: Adding more direction indicators 2020-09-09 16:54:18 +00:00
Michael
6c5af09589 Added link encoding 2020-09-09 14:37:58 +00:00
Michael
206caaf51a Reshared data now is a link 2020-09-09 04:49:42 +00:00
Michael
42dcd6646e Issue 9135: Display only reshared posts at the top 2020-09-08 22:06:10 +00:00
Michael Vogel
065ab017c7
Merge pull request #9161 from MrPetovan/bug/9140-private-note-self-only
Add a self-only ACL block to personal notes jot
2020-09-08 03:57:11 +02:00
Hypolite Petovan
f1e36eac7d Update capitalization of "Permissions" translation string 2020-09-07 21:25:04 -04:00
Hypolite Petovan
c4267bbca0 Remove unused jot.tpl template variables 2020-09-07 19:27:23 -04:00
Michael Vogel
abe6ecf820
Merge pull request #9126 from MrPetovan/task/post-improvements
Various post display improvements
2020-09-03 22:17:25 +02:00
Hypolite Petovan
730a5c5725 Improve post direction display
- [frio] Change icon for commented direction
- Update English translation string for commented direction
2020-09-03 15:45:53 -04:00
Hypolite Petovan
9ea7f7d4ad [frio] Ensure tagsinput library is loaded in pages where new PM can be submitted
- The new private message page loads in a modal, requiring the base page to load them in advance
2020-09-03 10:03:36 -04:00
Michael
355284841a Optionally display the resharer as icon 2020-08-26 12:33:17 +00:00
Michael
6139f5883b Mark posts that arrived in your network stream via tag 2020-08-23 17:48:44 +00:00
Michael
1493875ec9 Speed improvement 2020-08-23 15:18:26 +00:00
Michael
15119f6a59 Added information about fetched post because of comment 2020-08-23 14:51:56 +00:00
Michael
e6431e53db Changed "reshared" description 2020-08-23 14:07:17 +00:00
Michael
0e4d3fe9e5 Display a symbol when a post had been reshared 2020-08-23 13:26:23 +00:00
Michael
1ab81266b9 Change the owner of a reshared item 2020-08-13 06:09:26 +00:00
Michael
1934c149a3 Suppress "reshared" information for forum posts 2020-08-10 08:26:09 +00:00
Michael
71b6226909 Some more avatar function replacements 2020-07-28 19:30:55 +00:00
Michael Vogel
d6a35c6995 Support newline as block contact separator 2020-07-19 03:21:15 +02:00
Michael
b0086a49e2 in "getidforurl" "no update" is now "update" 2020-07-15 21:08:42 +00:00
Michael
016c99935c Different comment limits for single view 2020-06-16 06:49:53 +00:00
Michael
20b93306ad Handling situations where "vid" is empty 2020-05-31 14:38:00 +00:00
Michael
0acb5d4558 "parent = id" is replaced with gravity check 2020-05-28 16:02:36 +00:00
Michael
bdfe47dcfd Add the space at a different place 2020-05-28 06:08:03 +00:00
Michael
51e9b25700 Fixing #8702 2020-05-27 22:16:33 +00:00
Michael
973abb6196 Replace "id = parent" checks with "gravity" checks 2020-05-27 12:19:06 +00:00
Michael
ba9cf32f36 The "item-activity" is removed 2020-05-26 05:18:50 +00:00
Michael
3b1d89252a Issue 8582: "cid" in "network" is now "contactid"
Fixes #8582
2020-05-17 15:01:27 +00:00
Michael
856cf7f664 Don't count and fetch "follow" activities 2020-05-07 18:39:39 +00:00
Michael
3b2ae5c4a9 function names changed 2020-05-01 06:01:22 +00:00
Michael
5df5e9521b The tag table is now really used 2020-04-26 15:24:58 +00:00
Hypolite Petovan
7f04aea8b1 Move poke module to src/
- Add new route contact/<cid>/poke and update all references
- Rework template with form field includes
- [frio] Enable modal behavior
2020-04-20 11:47:08 -04:00
Michael
3c8216e385 Fix notice about an unknown variable 2020-04-05 17:25:36 +00:00
Michael
09cc3bfd0a Some more code standards 2020-04-05 07:11:47 +00:00
Michael
afc8783862 Code formatting 2020-04-05 07:08:20 +00:00
Michael
f280dcaa5e Issue 8493: Avoid fatal error when fetching items via API 2020-04-04 20:00:40 +00:00
Hypolite Petovan
40a7a43bd2 [frio] Add link to Compose page in jot 2020-04-03 16:33:00 -04:00
Hypolite Petovan
0112246a78
Restore removed announce key in conv_response array in include/conversation
- Follow-up to #8329
2020-02-26 15:53:46 -05:00
Hypolite Petovan
452d7e6404 Remove unused conversation response code
- Remove get_responses()
- Remove get_response_button_text()
- Remove title key from $conv_responses array
- Address https://github.com/friendica/friendica/issues/8000#issuecomment-589263329
2020-02-22 20:41:12 -05:00
Hypolite Petovan
637e38e535 User hide_dislike user setting to hide dislike button and conversation responses 2020-02-20 05:37:07 -05: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
0b0309ce8f Remove pager parameter from conversation()
- Add getUrlParameter() Javascript function to determine current page
2020-02-13 23:40:00 -05:00
Hypolite Petovan
2a7de4213f Correctly initialize post actions button template variable
- Address https://github.com/friendica/friendica/issues/7999#issuecomment-586020764
2020-02-13 20:42:15 -05:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
Hypolite Petovan
b2143cae53 [frio] Add new asynchronous submission of modal form
- Add loading state for jot submit buttons
2020-01-29 22:50:10 -05:00
Hypolite Petovan
a607656607 Replace profile tab GET parameter by route 2020-01-27 19:21:18 -05:00
Hypolite Petovan
e5ab4f1889 Re-enable pinned items in profile wall 2020-01-26 14:21:20 -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
Michael
0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
nupplaPhil
800694e9b3
Remove unused use statements & remove PConfig class 2020-01-18 17:02:59 +01:00
nupplaPhil
9e9429b56d
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:57 +01:00
Michael
b83f328983 Remove "f" parameter / network page parameter cleanup 2020-01-13 20:10:13 +00:00
nupplaPhil
a4a7f19df1
Move redundant System::removedBaseUrl() to DI::baseUrl()->remove() calls 2019-12-30 23:03:56 +01: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
388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +01:00
Michael
c037e9143c Additionally display the protocol together with the network 2019-12-27 17:24:29 +00:00
Michael Vogel
9cf1aea8c9 Changed the option to enable the smart threading with the option to disable this 2019-12-04 21:21:20 +01:00
Michael Vogel
bd6774bd9b Fix fatal errors, caused by an empty "verb" 2019-11-18 07:39:56 +01:00
Michael
fc94cad5f2 Pinned posts now work for visitors in the intended way 2019-11-08 06:52:44 +00:00
Michael
806e6a230e Added description, removed sorting 2019-11-07 07:41:54 +00:00
Michael
91ad7936f3 Only sort the profile after pinned 2019-11-07 07:39:50 +00:00
Michael
463c9131b6 Pinned items are always at the top 2019-11-07 07:09:46 +00:00
Philipp Holzer
3897c74deb
Add docs 2019-10-25 00:10:20 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants 2019-10-24 21:40:12 +02:00
Philipp Holzer
edf006905b
Move (last) get_cats_and_terms to Content\Item::determineCategoriesTerms()
- Added incomplete test
2019-10-23 02:48:46 +02:00
Philipp Holzer
52c42491c4
Move activity_match() to Protocol\Activity::match()
- With tests
2019-10-23 02:05:11 +02:00
Hypolite Petovan
8b836189d4 Replace deprecated defaults() calls with ?? and ?: in include/ and view/ 2019-10-16 08:51:03 -04:00
Michael
83b00ef308 New function "isAuthenticated" 2019-09-28 18:09:11 +00:00
Michael
9cbf320c86 Issue 7563: Use icons instead of names on posts 2019-08-28 06:38:35 +00:00
Michael
fc59aa6bc7 The "contact-uid" is now a reliable proof for contacts that we follow 2019-08-03 10:44:16 +00:00
Michael
5120c27d10 Fix displaying of reshared items 2019-07-27 20:21:11 +00:00
Michael
6bb418c5a7 Use "received" instead of "created" when displaying posts in creation order 2019-07-07 21:30:33 +00:00
Michael
6041f74df6 New constant for federated protocols 2019-07-01 18:00:55 +00:00
Hypolite Petovan
01e71254d9 Replace defaults() calls on $_SESSION by Core\Session calls
- Replace direct calls to $_SESSION by Core\Session calls in Module\Login
2019-05-26 21:26:59 -04:00
Michael
d8ed5482aa Improved reshare check 2019-04-21 17:09:01 +00:00
Michael
0d49d0593d Don't show a reshare in the top of a message if we know the author 2019-04-19 07:47:00 +00:00
Michael
4a30490ac9 Fix: Only use reshare information for the top level post 2019-04-05 08:59:39 +00:00
Michael
d73b6015d8 Set the newest resharer as owner of a thread 2019-04-03 18:51:50 +00:00
Michael
a0fddca407 Display if an item is reshared 2019-04-02 05:38:42 +00:00
Michael
cbe574f6f6 Preparation to be able to store "announce" activities 2019-03-28 05:45:50 +00:00
Michael
1f0c662854 The contact menu now displays the contact and posts link as well 2019-03-11 20:42:32 +00:00
Tobias Diekershoff
bd7aaacfb0 fixing links in photoMenu 2019-02-26 10:19:08 +01:00
Hypolite Petovan
34bc0b0c97 Add potential debug display of implicit mentions in frio
- Refactored conversation() by removing extraneous intermediary variables
2019-02-23 17:32:11 -05:00
Hypolite Petovan
7320c5e8e8 Normalize Contact::magicLinkByContact method name 2019-02-23 17:32:10 -05:00
Hypolite Petovan
642f9409a7 Switch tag of expanded like list to paragraph 2019-02-14 22:17:08 -05:00
Hypolite Petovan
9b27d049dc Add missing break statements in include/conversation
- Remove bad variable initialization in format_like()
2019-01-21 11:38:54 -05:00
Hypolite Petovan
b161bd1dfa Improve get_responses() prototype 2019-01-21 11:37:05 -05:00
Hypolite Petovan
ce177f22c8 Fix doc blocks and return value type 2019-01-21 11:36:01 -05:00
Hypolite Petovan
7f2dc40601 Fix potential bugs without expected behavior change
- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value
2019-01-21 11:04:19 -05:00