1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00
No description
Find a file
Anh Nhan Nguyen f95710e799 Consolidate Macro loading
Summary:
Fixes T2820

Grepped for `PhabricatorFileImageMacro`, a common approach to load image macros from storage. Cleaned up file loading too (in most cases where I could be sure that I won't break anything).

Did not touch the `add_macro.php` util script, since many users will assume the user `ubuntu` or `ec2-user` to run the script. Add no sessions and no CSRF protection measures...

Test Plan:
Browsed around all kinds of places. Created and looked at memes, created and edited macros. Used them in Remarkup (with flushed cache). Used `macro.query`, verified it did not crash (that's always a good sign).

Could not verify object handles, since I have no idea where they appear right now.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2820

Differential Revision: https://secure.phabricator.com/D5418
2013-03-22 13:07:20 -07:00
bin Port Diviner Core to Phabricator 2013-01-07 14:04:23 -08:00
conf Added configurable welcome content for Phabricator home page. 2013-03-21 16:02:35 -07:00
externals Treat keyCode 10 as "return" in JX.Event 2013-03-19 10:57:54 -07:00
resources Rework Mobile Header and Mobile Home. 2013-03-22 11:50:30 -07:00
scripts Replaced AphrontCrumbsView with PhabricatorCrumbsView in PhrictionDiffController 2013-03-13 15:18:18 -07:00
src Consolidate Macro loading 2013-03-22 13:07:20 -07:00
support Make it easier to use print_r() debugging 2013-02-11 11:06:59 -08:00
webroot Fix iphone scrolling behavior on homepage 2013-03-22 12:09:10 -07:00
.arcconfig Delete license headers from files 2012-11-05 11:16:51 -08:00
.divinerconfig Centralize rendering of application mail bodies 2012-07-16 19:01:43 -07:00
.editorconfig Specify config for text editors 2012-11-03 22:34:44 -07:00
.gitignore Add a user-accessible hook for dumping debug code into an install 2013-03-04 13:45:51 -08:00
LICENSE Delete license headers from files 2012-11-05 11:16:51 -08:00
NOTICE Increment year. 2013-01-03 05:45:08 -08:00
README Fix typo in README 2013-03-13 15:03:55 -07:00

Phabricator is an open source collection of web applications which make it
easier to write, review, and share source code. Phabricator was developed at
Facebook.

This is an early release. It's pretty high-quality and usable, but under
active development so things may change quickly.

You can learn more about the project and find links to documentation and
resources at: http://phabricator.org/

LICENSE

Phabricator is released under the Apache 2.0 license except as otherwise noted.