Commit graph

6441 commits

Author SHA1 Message Date
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
d817117f6e Merge branch 'master' of https://github.com/friendica/friendica into threaded_items
Conflicts:
	include/conversation.php
2012-08-11 16:42:47 +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
friendica
d4b6188356 getting comment counts correct in a threaded world 2012-08-11 01:26:10 -07:00
friendica
95bf9324b4 fix child count 2012-08-10 23:42:45 -07:00
friendica
20be1778db bring likes back - comment ordering is still a bit funky 2012-08-10 16:36:44 -07:00
friendica
ed7e626ed2 Merge https://github.com/friendica/friendica into pull 2012-08-10 16:04:16 -07:00
friendica
f8b969e252 Merge pull request #431 from fermionic/diaspora-relays-and-tags
Couple of Diaspora fixes
2012-08-10 16:03:37 -07:00
friendica
d2eef5f11d Merge pull request #432 from fermionic/frost-better-screen-width
Frost Mobile better screen width
2012-08-10 16:03:19 -07:00
friendica
b960352b54 rev update 2012-08-10 16:02:20 -07: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
Zach Prezkuta
bcf214debb readability in TODO 2012-08-10 08:37:31 -06:00
Zach Prezkuta
d9279da369 - Frost Mobile: redo CSS to adjust automatically to the screen width
- Frost Mobile: various tweaks and fixes
- Allow themes to limit number of items on the Network page
2012-08-10 08:34:00 -06:00
Zach Prezkuta
009ebc732a move tag transformation to bb2diaspora; start taking out unnecessary signature stuff 2012-08-10 08:13:17 -06:00
fabrixxm
e31ee9ed82 Merge pull request #430 from fabrixxm/master
Fix Quattro with threaded comments, small tweaks to template processor and conversation.php
2012-08-10 03:50:54 -07:00
Fabrixxm
ec3d8a80cd quattro: fix collapsed thread, fix comment box, style previev comment, add 'expand / collapse" thread 2012-08-10 06:27:01 -04:00
Fabrixxm
fc07f50fd8 conversation: add 'thread_level' to $item array 2012-08-10 05:42:36 -04:00
Fabrixxm
dbbf5b86a2 template processor: trim strings in {{ if str!=str }}, add 'debug' tag:
{{ debug $var [$var1 [$var2 [...]]] }}{{ enddebug }}

is replaced by

    <pre>var_export($var1)\nvar_export($var2)\n....</pre>
2012-08-10 04:55:51 -04:00
Fabrixxm
0f15c117ee quattro: move comment box for top-level item at the end of comments list 2012-08-10 04:53:39 -04:00
Fabrixxm
c4bff3d393 quattro: add comment tools icons, fix hide/show comment tools 2012-08-10 04:29:22 -04:00
Fabrixxm
64a6e8693c quattro: remove unused parameter 'comment' from function cmtBbClose 2012-08-10 04:27:50 -04:00
Fabrixxm
2b7d08508d head.tpl: commentOpen() and commentClose() return true/false
usefull to concatenate other actions: "commentClose(this, $id) && cmtBbClose($id)"
2012-08-10 04:25:08 -04:00
friendica
4894619d7b bring back "delete selected items" - but need to pass pagedropping to each item 2012-08-09 23:01:37 -07:00
friendica
66e8e91646 Merge https://github.com/friendica/friendica into pull 2012-08-09 15:33:22 -07:00
friendica
ba9c50c0dd rev update 2012-08-09 15:32:07 -07:00
Domovoy
39550dac9e Merge pull request #429 from CyberDomovoy/threaded_items
Threaded items
2012-08-09 05:05:29 -07:00
Domovoy
9c920fd7b9 Merge pull request #5 from fabrixxm/threaded_items
Threaded items support for Quattro theme
2012-08-09 02:14:22 -07:00
root
dda4ab3381 Merge branch 'master' of https://github.com/friendica/friendica into threaded_items 2012-08-09 09:26:23 +02:00
friendica
101df5145e rev update 2012-08-08 17:06:54 -07:00
Domovoy
afaa5f2038 Removed useless comment box (from old non-threaded template, to comment box where displayed) 2012-08-07 12:13:42 +02:00
Domovoy
5ca71d04b2 Wall to wall items should now be threaded too. 2012-08-07 12:08:36 +02:00
Domovoy
c0024daff7 Added view/wallwall_thread.tpl 2012-08-07 12:02:06 +02:00
Domovoy
4b514ea989 Fallback so that we alway have a thr-parent 2012-08-07 10:04:47 +02:00
Domovoy
4cc6bf660c The number of comments shown when collapsed is the total of all the descendant items. 2012-08-07 09:53:53 +02:00
Domovoy
f3b1391501 Merge branch 'master' of https://github.com/friendica/friendica into threaded_items 2012-08-07 09:40:21 +02:00
friendica
10b0ce5861 Merge https://github.com/friendica/friendica into pull 2012-08-06 19:52:49 -07:00