Commit History

Author SHA1 Message Date
  Mikael Nordfeldth 979c525124 I like to throw exceptions instead of using if statements. 7 years ago
  Mikael Nordfeldth c48508d590 use getByID (also bad variable reference) 8 years ago
  mmn 722ff4d9c0 Merge branch 'foolproof_file_redirection_branch' into 'nightly' 8 years ago
  hannes 501d081d3b getKV doesn't throw exception 8 years ago
  Mikael Nordfeldth e903bd0bc3 Hacky support for geo URI detection 8 years ago
  Mikael Nordfeldth 6a4aa34b0c Don't process further in redirection if HEAD gives 400 Bad request 8 years ago
  hannes efd2326a29 the last url in the redirection chain can actually also be a redirection (e.g. if it's one of our /attachment/{file_id} links) 8 years ago
  hannes 48e1a2431b save File and File_redirection records in File_redirection::where(), because then we will have to run where() over and over again 8 years ago
  Mikael Nordfeldth a9d18a077e Harmonize, clarify, categorize URL schemes 8 years ago
  Mikael Nordfeldth 1cec627d72 Allow bitcoin scheme to URLs 8 years ago
  Mikael Nordfeldth e75472f460 Use the upstream function to get effectiveUrl 9 years ago
  hannes 1c25cffbd8 add $redir->redir_url to use in common_linkify() 9 years ago
  Mikael Nordfeldth 4bc0b374bc File_redirection should get URLs properly 9 years ago
  Mikael Nordfeldth ef4c11d262 Better checks for defined array indexes 9 years ago
  Mikael Nordfeldth 441e2c8d34 redir_info only has data if we ran discovery 9 years ago
  Stephen Paul Weber a9b1b60a97 Refactor on File::processNew 9 years ago
  Mikael Nordfeldth 4b69ef41e2 Bad variable name in File_redirection 9 years ago
  Mikael Nordfeldth 77957372ab File_redirection static fixes and simplifying 9 years ago
  Mikael Nordfeldth d0458b824a File_redirection minor coding layout fix 9 years ago
  Mikael Nordfeldth 45ee2060fa File_redirection is called statically 9 years ago
  Mikael Nordfeldth 8a002e98bc File-related functions not declared static 9 years ago
  Mikael Nordfeldth cafab14f2b Modernize File_redirection to use Managed_DataObject functions 9 years ago
  Mikael Nordfeldth d010c5a581 magnet URL linkify support 9 years ago
  Mikael Nordfeldth 0e6c83e521 Had to avoid using indexes in the migration phase 9 years ago
  Mikael Nordfeldth b54710950f unique keys and indexes must be NOT NULL or MySQL fucks up 9 years ago
  Mikael Nordfeldth 5471c65c9a less newlines for the scripts/upgrade.php output 9 years ago
  Mikael Nordfeldth 45dc76de26 File and File_redirection adhoc storage methods updated for urlhash 9 years ago
  Mikael Nordfeldth 27480d8e8e File_redirection also got urlhash column 9 years ago
  Mikael Nordfeldth 1776c90cb9 Moved oEmbed stuff out to a plugin (Oembed). 10 years ago
  Mikael Nordfeldth 73fe8a81b7 Slight cleanup in typing and syntax of File and File_* classes 11 years ago