-
Notifications
You must be signed in to change notification settings - Fork 8
Threaded threads #78
base: master
Are you sure you want to change the base?
Threaded threads #78
Commits on May 30, 2020
-
textareas and inputs in bulmaswatch-darkly were hurting my eyes.
(#fff) is not a good background color to compose posts in, that are then displayed with the dark background color.
Cy committedMay 30, 2020 Configuration menu - View commit details
-
Copy full SHA for bf0394c - Browse repository at this point
Copy the full SHA bf0394cView commit details -
Support feature_set= other than mainline for Mastodon
Pleroma will send records that cause brutaldon to make pleroma-specific responses, which the mastodon python module wigs out on claiming it doesn't support that "feature set" so allow for a feature set to be specified...
Cy committedMay 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 2dfdb0b - Browse repository at this point
Copy the full SHA 2dfdb0bView commit details -
Handle feature_set errors automatically
Recreate the mastodon object if there's an error complaining about a missing feature set. Only happens for status_post I think. Could be further generalized...
Cy committedMay 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 12d7b4c - Browse repository at this point
Copy the full SHA 12d7b4cView commit details -
Refactoring preferences to be more cohesive
No need to list the preference fields three times in three places in the code. A class decorator ought to be able to sleuth them out from the model itself. Should make it easier to add new preferences.
Cy authored and Cy committedMay 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 0b93eb7 - Browse repository at this point
Copy the full SHA 0b93eb7View commit details -
Foreign keys add magic members
Because when you add one field to a class, you clearly want to add two fields to a class, and there's no need to consider the field you never asked to add to be something other than a field.
Cy authored and Cy committedMay 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 0439440 - Browse repository at this point
Copy the full SHA 0439440View commit details -
Allow previewing sensitive images
A setting to not censor sensitive images if you think you're not in danger for looking at them.
Cy committedMay 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 39f13d6 - Browse repository at this point
Copy the full SHA 39f13d6View commit details
Commits on May 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 543a83c - Browse repository at this point
Copy the full SHA 543a83cView commit details -
Missed a few status_post calls
Cy committedMay 31, 2020 Configuration menu - View commit details
-
Copy full SHA for c0caab4 - Browse repository at this point
Copy the full SHA c0caab4View commit details -
whoops, left an old mistake in the code
Cy committedMay 31, 2020 Configuration menu - View commit details
-
Copy full SHA for 9415def - Browse repository at this point
Copy the full SHA 9415defView commit details
Commits on Jun 1, 2020
-
Viewing threads as a tree, not flattened
I couldn't tell who was replying to whom, so I thought I'd give a shot at implementing a tree of threads, instead of a flattened list, with only the root distinguishable from the rest.
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 7b86cf7 - Browse repository at this point
Copy the full SHA 7b86cf7View commit details -
Doing some token based temporary flattening for django
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 4e94878 - Browse repository at this point
Copy the full SHA 4e94878View commit details -
It was saying stuff was unhashable, but I thought I was just hashing by post ID.
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 4faba56 - Browse repository at this point
Copy the full SHA 4faba56View commit details -
Still trying to figure out what my data structure is
Python's dynamic typing doesn't make this easy...
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 82b2c9f - Browse repository at this point
Copy the full SHA 82b2c9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c8cdac - Browse repository at this point
Copy the full SHA 2c8cdacView commit details -
If we have multiple roots ever, we need the whole thing in a big <ul></ul>
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 2308d65 - Browse repository at this point
Copy the full SHA 2308d65View commit details -
Trying to figure out why only the root post is coming through
Is nothing in reply to the root post? Nothing at all?
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 933961b - Browse repository at this point
Copy the full SHA 933961bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 631c140 - Browse repository at this point
Copy the full SHA 631c140View commit details -
Monitor tree building progress
Trying to find why only the one post comes out with no replies
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 7552f4e - Browse repository at this point
Copy the full SHA 7552f4eView commit details -
Cy authored and Cy committed
Jun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for cc826ff - Browse repository at this point
Copy the full SHA cc826ffView commit details -
Maybe the root is getting filtered out?
I can't imagine how, but...#
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for e887978 - Browse repository at this point
Copy the full SHA e887978View commit details -
Trying to find how to thread stuff is harder than I thought it would be. Where's the root?
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 09c5a4f - Browse repository at this point
Copy the full SHA 09c5a4fView commit details -
Sorting to make it easier to read when debugging
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 43cb98a - Browse repository at this point
Copy the full SHA 43cb98aView commit details -
The top level roots acts like any other level, I noticed.
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for e8b5cf6 - Browse repository at this point
Copy the full SHA e8b5cf6View commit details -
Trying to add the leftover toots that don't reply to anything at the end.
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 05605bf - Browse repository at this point
Copy the full SHA 05605bfView commit details -
1) initialize seen to empty 2) get all posts not in seen 3) add posts to seen because the generator was iterated over lazily 4) wonder why it looks like there weren't any posts in seen yeah... leftovers has to be lazy too.
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for e76c758 - Browse repository at this point
Copy the full SHA e76c758View commit details -
Cy authored and Cy committed
Jun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 3d96963 - Browse repository at this point
Copy the full SHA 3d96963View commit details -
Pulling any missing posts by ID
We have the post ID, so why would Pleroma not send us the post? Request any missing posts it hasn't sent us, to try and get a thread that doesn't lose all its replies.
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 8cda922 - Browse repository at this point
Copy the full SHA 8cda922View commit details -
Right, I forgot I was in the middle of changing the name post to toot. Thus explaining why op.post had an empty result, since op.toot was what I changed.
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 5187715 - Browse repository at this point
Copy the full SHA 5187715View commit details -
The root post is not included in its descendants
Oh for Pete's sake I'm an idiot. The descendants array isn't going to contain the root post at all, because it's totally separate. That's the missing post everything was trying to reply to!
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 2cf2e77 - Browse repository at this point
Copy the full SHA 2cf2e77View commit details -
Why is the root post displaying twice?
I thought the root post only displayed once. Maybe it needs to be removed?
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for f900be0 - Browse repository at this point
Copy the full SHA f900be0View commit details -
The template prints out the root by itself
Right, the template is where the duplication of the root is, since now the root is just the first "descendant" in the tree.
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for b306f38 - Browse repository at this point
Copy the full SHA b306f38View commit details -
Changing the template, prettifying a bit
Now that everything is a <li> can set the margin-top value to make a gap, instead of making a visible "invisible" hr. And with the template thread.html fixed, it seems to be working, showing everything as a tree, instead of a flat list.
Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for a0433a1 - Browse repository at this point
Copy the full SHA a0433a1View commit details -
Merge branch 'preview_sensitive' into threaded_threads
Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 50f05d7 - Browse repository at this point
Copy the full SHA 50f05d7View commit details -
Merge branch 'open_details_preference' into HEAD
Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for d682f62 - Browse repository at this point
Copy the full SHA d682f62View commit details -
Merge branch 'dark_textareas' into threaded_threads
There's a merge conflict if I try to separate out this branch...
Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for aee3b13 - Browse repository at this point
Copy the full SHA aee3b13View commit details -
Preference setting for whether to make threads a tree or not
I guess it might be useful for mobile users?
autocommit authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 77e352b - Browse repository at this point
Copy the full SHA 77e352bView commit details -
Tree thread preference seems to be working.
Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 70e0eea - Browse repository at this point
Copy the full SHA 70e0eeaView commit details -
This is needed to make settings waste more sp--I mean prettier
Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for f2f8e7a - Browse repository at this point
Copy the full SHA f2f8e7aView commit details -
Gah, I forgot brutaldon had client side filters
Cy authored and Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 72c6ba5 - Browse repository at this point
Copy the full SHA 72c6ba5View commit details -
Actually return the toots being looked up
The code was looking up toots, then throwing them away because I'm an idiot.
Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 36fc686 - Browse repository at this point
Copy the full SHA 36fc686View commit details -
Allowing for horizontal scrolling for deeply nested threads.
I guess I have to copypaste this into the light theme too...
Cy committedJun 1, 2020 Configuration menu - View commit details
-
Copy full SHA for e2cf103 - Browse repository at this point
Copy the full SHA e2cf103View commit details
Commits on Jun 2, 2020
-
Removing some debugging output I missed
Cy committedJun 2, 2020 Configuration menu - View commit details
-
Copy full SHA for 2fc42ad - Browse repository at this point
Copy the full SHA 2fc42adView commit details