Mario
|
9e87070f86
|
iterate only 3 levels when autoexpanding, improve color generation to get more random colors
|
2025-06-05 15:44:01 +00:00 |
|
Mario
|
f8afa77369
|
add internal follow and ignore verbs to the list of filtered verbs and add commented out code to display/count only one reaction per author. It appears there can be multiple. We should probably look into how this can happen and if we should prevent it earlier.
|
2025-06-01 18:48:16 +00:00 |
|
Mario
|
83c963378e
|
remove more redundant sql (perms for the given IDs MUST be checked at the calling module already) and update documentation
|
2025-05-29 19:47:53 +00:00 |
|
Mario
|
7705d7a87f
|
this is not required because we already filter by a given set of ids here
|
2025-05-29 19:31:23 +00:00 |
|
Mario
|
29f14ff96b
|
only count comments if we are in threaded mode
|
2025-05-29 19:10:20 +00:00 |
|
Mario
|
0aef9b486d
|
fix typo
|
2025-05-29 17:58:48 +00:00 |
|
Mario
|
d584e4f7d5
|
fix queries in certain situations returning more results than we need producing unexpected rendering results
|
2025-05-29 17:58:04 +00:00 |
|
Mario
|
3613257cdc
|
pass permission sql to item_reaction_sql() in case we are a visitor and rename the variable
|
2025-05-29 14:24:53 +00:00 |
|
Mario
|
f61fd2d337
|
if we are not in threaded mode default comments limit to 1000
|
2025-05-29 11:55:02 +00:00 |
|
Mario
|
20148d23f1
|
toplevel comments pagination: initial commit
|
2025-05-29 10:13:32 +00:00 |
|
Mario
|
bdcee46138
|
do not check for possibly unset var
|
2025-05-28 12:53:53 +00:00 |
|
Mario
|
7e3d86bc37
|
more refactor and streamline for re-usability and easier maintenance
|
2025-05-28 09:15:18 +00:00 |
|
Mario
|
f0229c9f42
|
update todo
|
2025-05-27 09:02:52 +00:00 |
|
Mario
|
8d1fea7ec3
|
new version of items_by_parent_ids() and item_reaction_sql() with much better performance, streamline rsvp naming convention and some preparatory work for comment lazy loading (unfinshed)
|
2025-05-27 08:04:36 +00:00 |
|
Mario
|
19df2f596b
|
revert to previous iteration of the parents query function until performance issues will be resolved and adapt the modules accordingly
|
2025-05-25 14:05:08 +00:00 |
|
Mario
|
d31221e61b
|
use else instead of checking for $ret
|
2025-05-23 11:54:30 +00:00 |
|
Mario
|
043c1610fd
|
refactor items_by_parent_ids() to accept $thr_parents as an array and stringify it here with the escape flag instead of in the caller modules
|
2025-05-23 11:35:10 +00:00 |
|
Mario
|
cd7fab3d37
|
refactor query in items_by_parent_ids() to prepare for pagination. Until pagination will be implemented we will load the last 100 comments.
|
2025-05-23 09:51:11 +00:00 |
|
Mario
|
a5e171a594
|
Revert "implement thread limit"
This reverts commit be35f612eb.
|
2025-05-21 11:11:21 +00:00 |
|
Mario
|
be35f612eb
|
implement thread limit
|
2025-05-21 10:22:37 +00:00 |
|
Mario
|
6d306bc0b3
|
more return early if we have not got the required data
|
2025-05-21 09:24:48 +00:00 |
|
Mario
|
813a5b3621
|
return early if we have not got the required data
|
2025-05-21 09:23:23 +00:00 |
|
Mario
|
cf317aa1a1
|
revert moving thr_parent retrieval to SQL in favor of a more simple solution (fixes SQL error in postgres and strict mysql)Zotlabs/Lib/ThreadItem.php
|
2025-05-17 16:18:20 +00:00 |
|
Mario
|
43d0e42425
|
refactor cache_embeds daemon to be called with uuid (instead of item id) so that it will only be processed once (the queueworker will dismiss duplicates) and add a hook for the photocache addon
|
2025-05-16 20:22:27 +00:00 |
|
Mario
|
2b38eca986
|
refactor sql_extra > permission_sql
|
2025-05-15 18:56:30 +00:00 |
|
Mario
|
4ec895b891
|
make sure sql_extra is prepared for the c table
|
2025-05-15 18:40:03 +00:00 |
|
Mario
|
757237cbb4
|
Revert "make sure sql_extra is prepared for the c table"
This reverts commit 869b047fde.
|
2025-05-15 18:39:05 +00:00 |
|
Mario
|
869b047fde
|
make sure sql_extra is prepared for the c table
|
2025-05-15 18:38:42 +00:00 |
|
Mario
|
4bf6752982
|
implement extra sql for mod channel and display
|
2025-05-15 16:57:02 +00:00 |
|
Mario
|
5c3f2f9469
|
first part of cleanups for the conv libs and move thr_parent_uuid retrieval to sql
|
2025-05-15 12:55:44 +00:00 |
|
Mario
|
a28dd9f2cf
|
remove redundant var
|
2025-05-13 08:08:27 +00:00 |
|
Mario
|
1b246e2ba5
|
remove redundant item_normal() from item_activity_sql() and use protect_sprintf() on thr_parents
|
2025-05-13 07:12:20 +00:00 |
|
Mario
|
4fa9f30189
|
cleanup, add some doco an add missing counts of observer event rsvps
|
2025-05-09 20:24:25 +00:00 |
|
Mario
|
57ae3325e0
|
allow to switch conv mode per channel
|
2025-05-09 19:13:49 +00:00 |
|
Mario
|
aab53c9fc9
|
provide owner uid for item_normal() in items_by_thr_parent() and set history.pushState when requesting a subthread
|
2025-05-09 09:35:31 +00:00 |
|
Mario
|
9def0f280f
|
notification fixes
|
2025-05-09 08:53:47 +00:00 |
|
Mario
|
e71c95a5a5
|
refactor item_normal() to allow a profile_uid and a prefix as arguments
|
2025-05-08 12:05:31 +00:00 |
|
Mario
|
1be6c11bad
|
implement moderation of reactions
|
2025-05-08 11:48:58 +00:00 |
|
Mario
|
918377a67b
|
provide commentable state and minor cleanup
|
2025-05-08 10:27:57 +00:00 |
|
Mario
|
07da20d00c
|
fix verb and hash for notifications
|
2025-05-05 07:44:39 +00:00 |
|
Mario
|
d413cf8a30
|
wrong logic
|
2025-05-04 20:15:30 +00:00 |
|
Mario
|
b4f7daadfb
|
improved blog_mode query
|
2025-05-03 20:43:26 +00:00 |
|
Mario
|
fb3eae96ab
|
implement blog_mode
|
2025-05-03 19:04:20 +00:00 |
|
Mario
|
6db5236bf5
|
provide thr_parent uuid in the item array and make use of it in various places
|
2025-05-02 13:58:01 +00:00 |
|
Mario
|
b39fb945f5
|
move look up of thr_parents to separate function and minor fixes
|
2025-05-02 13:24:58 +00:00 |
|
Mario
|
32717d910c
|
add counts for rsvp activities and some visual shenenigans
|
2025-05-01 10:52:15 +00:00 |
|
Mario
|
e5cd6330b3
|
default to threaded
|
2025-04-30 14:42:09 +00:00 |
|
Mario
|
1463c1a526
|
refactor
|
2025-04-30 08:28:47 +00:00 |
|
Mario
|
e195897dc7
|
slightly change the way we deal with perms
|
2025-04-29 21:18:53 +00:00 |
|
Mario
|
b6f0fe7583
|
refactor with permissions
|
2025-04-29 09:52:30 +00:00 |
|