Got the DB backed cache working
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Sep 22 2016
Added a cache storage table so we can clean up the cache.
Don't quite have this working yet.
Sep 21 2016
Use $request->getStr
Cache the image view URI so we don't fetch the same image twice
I've got the endpoint and controller set up, but I get the following error when I call PhabricatorFile::newFromFileDownload:
Sep 20 2016
Alright I've been able to narrow this down a little bit more. There's some error with how external/pear-figlet/Text/Figlet.php is smushing characters. Specifically lines 339-362 as well as the _rep($r) function. The equivalent function in the C code is here. I haven't been able to find an obvious discrepancy, but I suspect there's a subtle difference in how one of the regex functions is handling things or an error in one of the regexes themselves. This error also occurs with backticks and double-quotes:
Sep 19 2016
Updated based on CR comment
Rebase
ah gotcha. Should I land this anyway or just leave it be?
Sep 15 2016
Sep 13 2016
I'm going to land this and create a separate ticket to fix up the other places it can be used.
Added invisible character formatting to auth controller and phurl aliases
Sep 12 2016
I'm also not sure where to actually start using this. I haven't been able to find any obvious error messages that echo back user input. I could land this independently, but presumably it should be used if it's actually going to fix the issue that was reported.
Added some really basic CSS for invis chars
Shared some code between the 2 modes, simplified unit tests
Remove anon function because old PHP
Added unit tests, pared down the named list, and added plaintext option
Sep 8 2016
Update formatting
Aug 30 2016
PASTE CHANGES, RETURN FROM WHENCE YOU CAME!
uh oh I crossed streams with my diffs. One sec.
Make short URL construction more robust with regard to trailing slashes in base URLs
Rename weirdly named function
Found some shorter repro steps:
Ahh okay. I understand now. That did indeed happen automatically.
Also the ((alias)) syntax should use the most-preferred URI, although I think that will happen automatically.
Also, are prototype applications enabled (phabricator.show-prototypes)? If not, Phurl won't actually be installed.
Oh I left out the fact that I had already configured phurl.short-uri but still get the "Site Not Found" message.
Just want to sanity check this before I continue. I set the ServerAlias and started getting this page when visiting short.url.com: