a logical clock to complement the wall-time clocks
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Jul 17 2019
From D20653:
Jul 16 2019
Jul 15 2019
Oh, sorry, I misread which half you were asking about.
Am I going crazy, or do those methods only handle the "blob fetching" part of this equation? I was looking for examples of the "create a File, do a chunked upload, attach said File to an existing object" flow.
Yeah, diffusion.rawdiffquery and diffusion.filecontentquery both do this.
For uploading binary blobs, we'd do the reverse: have the client stream the blob into Files, then call an API method with a reference to the object.
Pop a dialog instead of navigating away.
Jul 14 2019
An adjacent issue is that PhabricatorMarkupCache is not currently marked as having cache persistence (PhabricatorConfigTableSchema::PERSISTENCE_CACHE), so the data dumps even when we do not intend to dump data for readthrough caches.
Jul 12 2019
Thanks!
I assume this is being done already in the Phacility cluster on some level when repositories get really large, but I'm not particularly sure how to perform this migration.
Deprecate conduit sessions and conduit.connect.
Support direct token-based auth (?token=abdef123) and make this the standard.
Jul 11 2019
@epriestley: Try removing a comment, it throws an exception
D20647 should fix this. It isn't very satisfying as a general resolution.
What are you seeing in particular?
Apparently commits don't support CAN_INTERACT capability?
The renderHTMLFooter() method does a bunch of Javascript stuff and isn't actually related to the page footer, but PHUIRemarkupView and renderObjectRefForAnyMedia() were enough of a hint that think I have a reproduction case locally now -- let me figure out what I actually did and this will likely be fairly easy to fix.
Could this be related to the custom footer markup? The code in question hasn't changed in a long time but I suspect maybe it's related to changes in the remarkup rendering code that's adding metadata where it didn't previously?
I toggled developer mode on for a moment and managed to get a stack trace:
- Raise "editing while locked" errors in the transaction layer.
- Changed controllers to catch errors and display them reasonably.
- Warn users about locked config when editing existing provider:
- When trying to save a provider when the config gets locked during an edit, show reasonable error:
Jul 10 2019
Gate auto-login and trust emails.
We currently have a problem where some of these settings don't make sense or aren't actually used but can be viewed/edited, and this makes it slightly worse.
I'd like to make the "view" page more useful (/auth/config/view/X/) which will probably solve that (by showing the non-secret configuration parameters before you hit the edit screen). That page is somewhat recent and just hasn't really been built out yet.
I was also looking for a way to still render the form, except with all the fields grayed out, since it isn't terribly user-friendly to make someone unlock the config just to see what it already says. This seems tricky though, since there's no AphrontFormView->getChildren() method I can iterate over to call setDisable(true) on.
I think some variation of this probably remains desirable no matter what, since we want to roadblock users before they start doing edits, not only once they reach the transaction layer -- not for correctness, but just for usability, so they don't fill out a form and then learn that their changes can't be saved.
Maybe implement PhabricatorAuthProviderConfigEditor->validateTransaction()?