1
1
Fork 0
Commit graph

139 commits

Author SHA1 Message Date
Domovoy
7bef3023a8 Port friendica/friendica#4cd8233f61647d805383f5786052ef034cebf4e1 2012-09-10 09:57:34 +02:00
Domovoy
1b82df60db Port friendica/friendica#79012bf8882baa6843726bcffbcafe959028c1bd 2012-09-10 09:50:30 +02:00
Domovoy
79e748b705 Remove wall to wall checking base on @ tags, too heavy for the database.
This should be done when we store the item (https://social.errlock.org/display/domovoy/26698)
2012-08-24 05:53:45 +02:00
Domovoy
f746e06a37 wall to wall detection: fallback using @ tags, and check if one is a forum. 2012-08-24 05:21:08 +02:00
Domovoy
9390eda5e6 Revert wall to wall detection based on @ tags (@ can also target a user, not only a forum) 2012-08-24 05:11:39 +02:00
Domovoy
5cd1dde59b Logic error 2012-08-24 05:04:35 +02:00
Domovoy
32bf36bf97 method, not property 2012-08-24 04:58:51 +02:00
Domovoy
ce0a16df01 Some optimization 2012-08-24 04:48:49 +02:00
Domovoy
c3ce4e153d Better wall to wall detection (fallback to finding @ tags) 2012-08-24 04:29:09 +02:00
Domovoy
c8ba00d798 Toplevel items a treaded as non-threaded ones (comment-box is at the bottom) 2012-08-23 10:56:22 +02:00
Domovoy
3e5c711a72 Sync objects with upstream 2012-08-23 10:54:21 +02:00
Domovoy
b558dbbdb2 add 'thread_level' to $item array (friendica/friendica@fc07f50fd8) 2012-08-18 17:56:38 +02:00
Domovoy
fd29ab9629 Add ability for themes to prevent threading (see friendica/friendica@5e09fc31f5) 2012-08-18 17:49:07 +02:00
Domovoy
8efe4077d3 Correct identification of wall-to-wall items (see friendica/friendica@96b9cda43d) 2012-08-18 17:36:38 +02:00
Domovoy
17f9fcaec9 Checks done on topmost parent in local_delivery, closes #10 2012-08-18 17:17:33 +02:00
Domovoy
441c6d79e3 Use correct english 2012-08-17 16:40:41 +02:00
Domovoy
429870015f Comments on friends are back (stupid typo) 2012-08-17 16:20:28 +02:00
Domovoy
cc4361fddf Problem with comment box, debug. 2012-08-12 20:11:14 +02:00
Domovoy
82d779a33b Conversation and Item now handles (dis)like as they should 2012-08-12 17:46:02 +02:00
Domovoy
d4f44b1530 Some fixes 2012-08-12 17:34:02 +02:00
Domovoy
b1a801fe61 Item: new methods check_wall_to_wall, is_wall_to_wall, get_owner_url, get_owner_photo, get_owner_name 2012-08-12 17:20:38 +02:00
Domovoy
c8cf87efc4 rename $item_result to $result 2012-08-12 16:32:02 +02:00
Domovoy
4e4774ff4f Improved get_comment_box 2012-08-12 16:26:37 +02:00
Domovoy
9f57afe160 Item: new method get_redirect_url 2012-08-12 16:18:53 +02:00
Domovoy
71f11a9a32 Item: new method get_comment_box 2012-08-12 16:02:47 +02:00
Domovoy
d603f76678 Some fix on forgotten or useless vars 2012-08-12 15:39:21 +02:00
Domovoy
91edb06bcb prepare_threads_body is not used by Item anymore 2012-08-11 19:58:57 +02:00
Domovoy
5084cff8f4 Should fix the like problem 2012-08-11 19:23:18 +02:00
Domovoy
9b6e99a6ba mode is handled by Conversation 2012-08-11 18:12:35 +02:00
Domovoy
1c36d14673 Got of the get_* function about data, use get_data_value instead (except for get_id, which is very conveniant). 2012-08-11 17:51:25 +02:00
Domovoy
7c2ed027ff Item: new method count_descendants 2012-08-11 17:48:07 +02:00
Domovoy
e6c55de070 Item: parent/children relationship. get_parent now returns an Item (or null) 2012-08-11 17:39:11 +02:00
Domovoy
adbe126d10 Item: new method is_writeable 2012-08-11 17:15:19 +02:00
Domovoy
531801ff50 Item: new method is_toplevel 2012-08-11 17:09:35 +02:00
Domovoy
1ffca59a9e Item: new method get_thumb 2012-08-11 17:04:07 +02:00
Domovoy
56cae53e50 Item: new methods get|set_template 2012-08-11 16:56:10 +02:00
Domovoy
f1731b3cec New methods on Item: set|get_mode, get_profile_owner, is_page_writeable 2012-08-11 15:44:47 +02:00
Domovoy
75d355a2aa Rendering is now done by Item objects 2012-08-10 19:57:39 +02:00
Domovoy
6ef86e1fff New objects: Conversation and Item 2012-08-10 17:46:39 +02:00