gnu-social/plugins/Oembed
Stephen Paul Weber a9b1b60a97 Refactor on File::processNew
The code was so involved there was even a comment asking for a refactor.

Now, File_redirection::where always returns a nice File_redirection
object instead of an array or string or nothing.  The object is
either one which already existed or else a new, unsaved object.

Instead of duplicating "does it exist" checks everywhere, do it in
File_redirection::where.  You either get what exists or something to save.

An unsaved File_redirection may be paired with an unsaved File.
You will want to save the File first (using ->saveFile()) and put the
id in File_redirection#file_id before saving.
2015-11-02 05:15:08 +00:00
..
actions bad URL is a clientError 2015-04-03 20:58:12 +02:00
classes Refactor on File::processNew 2015-11-02 05:15:08 +00:00
lib oEmbed helper never finished because of "break 2;" 2015-04-03 20:11:55 +02:00
locale Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
scripts Script to test remote oEmbed endpoints 2015-09-28 12:25:40 +02:00
tests twitPic no longer exists/is active 2015-01-17 12:07:57 +01:00
CONFIGURE Moved oEmbed stuff out to a plugin (Oembed). 2014-05-06 23:32:13 +02:00
OembedPlugin.php Refactor on File::processNew 2015-11-02 05:15:08 +00:00
README Moved oEmbed stuff out to a plugin (Oembed). 2014-05-06 23:32:13 +02:00

It's really called oEmbed.