diff --git a/includes/cache/zend_cache---blocks_titanium_link_us b/includes/cache/zend_cache---blocks_titanium_link_us
deleted file mode 100644
index cfc9d5bf..00000000
--- a/includes/cache/zend_cache---blocks_titanium_link_us
+++ /dev/null
@@ -1 +0,0 @@
-a:7:{i:0;a:11:{i:0;s:2:"10";s:2:"id";s:2:"10";i:1;s:23:"The Ghost's 86it Portal";s:9:"site_name";s:23:"The Ghost's 86it Portal";i:2;s:24:"https://theghost.86it.us";s:8:"site_url";s:24:"https://theghost.86it.us";i:3;s:35:"modules/Link_Us/buttons/button2.png";s:10:"site_image";s:35:"modules/Link_Us/buttons/button2.png";i:4;s:2:"23";s:9:"site_hits";s:2:"23";s:12:"stat_created";i:1675623224;}i:1;a:10:{i:0;s:1:"9";s:2:"id";s:1:"9";i:1;s:36:"PHP-Nuke Titanium Developer Website!";s:9:"site_name";s:36:"PHP-Nuke Titanium Developer Website!";i:2;s:33:"https://php-nuke-titanium.86it.us";s:8:"site_url";s:33:"https://php-nuke-titanium.86it.us";i:3;s:34:"modules/Link_Us/buttons/button.png";s:10:"site_image";s:34:"modules/Link_Us/buttons/button.png";i:4;s:2:"34";s:9:"site_hits";s:2:"34";}i:2;a:10:{i:0;s:1:"7";s:2:"id";s:1:"7";i:1;s:27:"The 86it Developers Network";s:9:"site_name";s:27:"The 86it Developers Network";i:2;s:19:"https://www.86it.us";s:8:"site_url";s:19:"https://www.86it.us";i:3;s:34:"modules/Link_Us/buttons/button.png";s:10:"site_image";s:34:"modules/Link_Us/buttons/button.png";i:4;s:2:"24";s:9:"site_hits";s:2:"24";}i:3;a:10:{i:0;s:1:"4";s:2:"id";s:1:"4";i:1;s:11:"Mega Portal";s:9:"site_name";s:11:"Mega Portal";i:2;s:28:"http://www.megasportal.co.uk";s:8:"site_url";s:28:"http://www.megasportal.co.uk";i:3;s:26:"images/evo/megasportal.gif";s:10:"site_image";s:26:"images/evo/megasportal.gif";i:4;s:2:"28";s:9:"site_hits";s:2:"28";}i:4;a:10:{i:0;s:1:"3";s:2:"id";s:1:"3";i:1;s:14:"ViZual DeZinez";s:9:"site_name";s:14:"ViZual DeZinez";i:2;s:30:"https://vizual-dezinez.86it.us";s:8:"site_url";s:30:"https://vizual-dezinez.86it.us";i:3;s:22:"images/evo/vd88x31.gif";s:10:"site_image";s:22:"images/evo/vd88x31.gif";i:4;s:2:"36";s:9:"site_hits";s:2:"36";}i:5;a:10:{i:0;s:1:"2";s:2:"id";s:1:"2";i:1;s:16:"Lonestar Modules";s:9:"site_name";s:16:"Lonestar Modules";i:2;s:28:"https://lonestar-modules.com";s:8:"site_url";s:28:"https://lonestar-modules.com";i:3;s:30:"images/evo/lonestarmodules.gif";s:10:"site_image";s:30:"images/evo/lonestarmodules.gif";i:4;s:2:"30";s:9:"site_hits";s:2:"30";}i:6;a:10:{i:0;s:1:"1";s:2:"id";s:1:"1";i:1;s:14:"Headshotdomain";s:9:"site_name";s:14:"Headshotdomain";i:2;s:30:"https://www.headshotdomain.net";s:8:"site_url";s:30:"https://www.headshotdomain.net";i:3;s:29:"images/evo/headshotdomain.gif";s:10:"site_image";s:29:"images/evo/headshotdomain.gif";i:4;s:2:"33";s:9:"site_hits";s:2:"33";}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---blocks_titanium_page_visits b/includes/cache/zend_cache---blocks_titanium_page_visits
deleted file mode 100644
index 0eb378de..00000000
--- a/includes/cache/zend_cache---blocks_titanium_page_visits
+++ /dev/null
@@ -1 +0,0 @@
-a:2:{i:1;a:1:{s:5:"count";s:1:"0";}i:0;a:1:{s:12:"stat_created";i:1675623224;}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_ColorGroups b/includes/cache/zend_cache---config_ColorGroups
deleted file mode 100644
index ef41cd9d..00000000
--- a/includes/cache/zend_cache---config_ColorGroups
+++ /dev/null
@@ -1 +0,0 @@
-s:1087:" [ Portal Admins ] [ Portal Moderators ] [ VIP Members ] [ Portal Members ] [ CKEditor 4 Access ] ";
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_board_config b/includes/cache/zend_cache---config_board_config
deleted file mode 100644
index cc54f1d1..00000000
--- a/includes/cache/zend_cache---config_board_config
+++ /dev/null
@@ -1 +0,0 @@
-a:213:{s:9:"config_id";s:1:"1";s:13:"board_disable";s:1:"0";s:23:"board_disable_adminview";s:1:"1";s:17:"board_disable_msg";s:34:"The board is currently disabled...";s:8:"sitename";s:28:"https://www.theghost.86it.us";s:9:"site_desc";s:42:"Forums, Blogs, Image Hosting, File Hosting";s:11:"cookie_name";s:6:"savant";s:11:"cookie_path";s:1:"/";s:13:"cookie_domain";s:16:"theghost.86it.us";s:13:"cookie_secure";s:1:"0";s:14:"session_length";s:4:"3600";s:10:"allow_html";s:1:"1";s:15:"allow_html_tags";s:255:"a,abbr,address,area,article,aside,audio,b,base,bdi,bdo,blockquote,br,button,canvas,caption,cite,code,col,colgroup,data,datalist,dd,del,em,strong,embed,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,hgroup,hr,i,iframe,img,input,ins,kbd,keygen,label,legend,l";s:12:"allow_bbcode";s:1:"1";s:13:"allow_smilies";s:1:"1";s:9:"allow_sig";s:1:"1";s:16:"allow_namechange";s:1:"1";s:18:"allow_theme_create";s:1:"0";s:18:"allow_avatar_local";s:1:"1";s:19:"allow_avatar_remote";s:1:"1";s:19:"allow_avatar_upload";s:1:"1";s:19:"override_user_style";s:1:"1";s:14:"posts_per_page";s:2:"15";s:15:"topics_per_page";s:2:"50";s:13:"hot_threshold";s:2:"25";s:16:"max_poll_options";s:2:"10";s:13:"max_sig_chars";s:3:"255";s:11:"max_smilies";s:2:"15";s:18:"max_inbox_privmsgs";s:4:"1000";s:20:"max_sentbox_privmsgs";s:4:"1000";s:20:"max_savebox_privmsgs";s:4:"1000";s:15:"board_email_sig";s:30:"administrator@theghost.86it.us";s:11:"board_email";s:30:"administrator@theghost.86it.us";s:13:"smtp_delivery";s:1:"0";s:9:"smtp_host";s:0:"";s:18:"require_activation";s:1:"0";s:14:"flood_interval";s:2:"15";s:21:"search_flood_interval";s:2:"15";s:16:"board_email_form";s:1:"0";s:15:"avatar_filesize";s:6:"980000";s:16:"avatar_max_width";s:3:"200";s:17:"avatar_max_height";s:3:"200";s:11:"avatar_path";s:29:"modules/Forums/images/avatars";s:19:"avatar_gallery_path";s:29:"modules/Forums/images/avatars";s:12:"smilies_path";s:28:"modules/Forums/images/smiles";s:13:"default_style";s:1:"1";s:18:"default_dateformat";s:14:"D M d, Y g:i a";s:14:"board_timezone";s:2:"-5";s:12:"prune_enable";s:1:"0";s:15:"privmsg_disable";s:1:"0";s:13:"gzip_compress";s:1:"0";s:9:"coppa_fax";s:0:"";s:10:"coppa_mail";s:0:"";s:15:"board_startdate";s:0:"";s:12:"default_lang";s:7:"english";s:13:"smtp_username";s:0:"";s:13:"smtp_password";s:0:"";s:19:"record_online_users";s:1:"0";s:18:"record_online_date";s:0:"";s:11:"server_name";s:20:"www.theghost.86it.us";s:11:"server_port";s:2:"80";s:11:"script_path";s:16:"/modules/Forums/";s:7:"version";s:5:".0.23";s:14:"enable_confirm";s:1:"0";s:12:"sendmail_fix";s:1:"0";s:13:"sig_max_lines";s:1:"5";s:12:"sig_wordwrap";s:3:"100";s:20:"sig_allow_font_sizes";s:1:"1";s:17:"sig_min_font_size";s:1:"7";s:17:"sig_max_font_size";s:2:"12";s:14:"sig_allow_bold";s:1:"1";s:16:"sig_allow_italic";s:1:"1";s:19:"sig_allow_underline";s:1:"1";s:16:"sig_allow_colors";s:1:"1";s:15:"sig_allow_quote";s:1:"0";s:14:"sig_allow_code";s:1:"0";s:14:"sig_allow_list";s:1:"0";s:13:"sig_allow_url";s:1:"1";s:16:"sig_allow_images";s:1:"1";s:14:"sig_max_images";s:1:"0";s:18:"sig_max_img_height";s:2:"75";s:17:"sig_max_img_width";s:3:"500";s:30:"sig_allow_on_max_img_size_fail";s:1:"0";s:22:"sig_max_img_files_size";s:2:"10";s:25:"sig_max_img_av_files_size";s:1:"0";s:29:"sig_exotic_bbcodes_disallowed";s:0:"";s:17:"sig_allow_smilies";s:1:"1";s:12:"report_email";s:1:"1";s:16:"ropm_quick_reply";s:1:"1";s:20:"ropm_quick_reply_bbc";s:1:"1";s:24:"ropm_quick_reply_smilies";s:2:"22";s:11:"wrap_enable";s:1:"1";s:8:"wrap_min";s:2:"50";s:8:"wrap_max";s:2:"99";s:8:"wrap_def";s:2:"70";s:16:"allow_quickreply";s:1:"1";s:18:"anonymous_show_sqr";s:1:"0";s:18:"anonymous_sqr_mode";s:1:"1";s:19:"quick_search_enable";s:1:"1";s:8:"sig_line";s:0:"";s:25:"default_avatar_guests_url";s:39:"modules/Forums/images/avatars/blank.png";s:24:"default_avatar_users_url";s:39:"modules/Forums/images/avatars/blank.png";s:18:"default_avatar_set";s:1:"2";s:18:"pm_allow_threshold";s:1:"0";s:10:"welcome_pm";s:1:"0";s:17:"default_time_mode";s:1:"0";s:20:"default_dst_time_lag";s:2:"60";s:11:"glance_show";s:1:"1";s:20:"glance_show_override";s:1:"1";s:14:"glance_news_id";s:1:"0";s:15:"glance_num_news";s:1:"0";s:10:"glance_num";s:1:"6";s:20:"glance_ignore_forums";s:1:"0";s:18:"glance_table_width";s:4:"100%";s:16:"glance_auth_read";s:1:"1";s:19:"glance_topic_length";s:1:"0";s:11:"online_time";s:3:"600";s:19:"display_users_today";s:1:"0";s:16:"locked_view_open";s:7:"Locked:";s:17:"locked_view_close";s:0:"";s:16:"global_view_open";s:20:"Global Announcement:";s:17:"global_view_close";s:0:"";s:18:"announce_view_open";s:13:"Announcement:";s:19:"announce_view_close";s:0:"";s:16:"sticky_view_open";s:7:"Sticky:";s:17:"sticky_view_close";s:0:"";s:15:"moved_view_open";s:6:"Moved:";s:16:"moved_view_close";s:0:"";s:16:"initial_group_id";s:1:"3";s:10:"hide_links";s:1:"0";s:11:"hide_emails";s:1:"0";s:11:"hide_images";s:1:"0";s:9:"use_dhtml";s:1:"1";s:18:"anonymous_open_sqr";s:1:"0";s:17:"smilies_in_titles";s:1:"1";s:16:"show_edited_logs";s:1:"1";s:16:"show_locked_logs";s:1:"1";s:18:"show_unlocked_logs";s:1:"1";s:18:"show_splitted_logs";s:1:"1";s:15:"show_moved_logs";s:1:"1";s:15:"logs_view_level";s:1:"2";s:12:"aprvmArchive";s:1:"0";s:12:"aprvmVersion";s:5:"1.6.0";s:9:"aprvmView";s:1:"0";s:9:"aprvmRows";s:2:"25";s:7:"aprvmIP";s:1:"1";s:18:"image_resize_width";s:3:"640";s:19:"image_resize_height";s:3:"480";s:15:"use_theme_style";s:1:"1";s:15:"allow_autologin";s:1:"1";s:18:"max_autologin_time";s:1:"0";s:18:"max_login_attempts";s:1:"5";s:16:"login_reset_time";s:2:"30";s:13:"show_sig_once";s:1:"0";s:16:"show_avatar_once";s:1:"0";s:14:"show_rank_once";s:1:"0";s:9:"loginpage";s:1:"1";s:9:"rand_seed";s:32:"2f8b4b4be48b9d8e849e66af1d8acaac";s:7:"ftr_msg";s:173:"Sorry *u*, you need to read our topic: "*t*" for new users.
After you read it, you can proceed to browse our posts normally.
Please click *l* to view the post.";s:9:"ftr_topic";s:1:"3";s:10:"ftr_active";s:1:"0";s:7:"ftr_who";s:1:"2";s:13:"ftr_installed";s:0:"";s:12:"global_title";s:20:"www.your.domain.name";s:19:"global_announcement";s:55:"PHP-Nuke Titanium brings you a 23 year old CMS revived!";s:13:"global_enable";s:1:"1";s:15:"marquee_disable";s:1:"1";s:19:"version_check_delay";s:10:"1241641548";s:9:"bday_show";s:1:"1";s:12:"bday_require";s:1:"0";s:9:"bday_year";s:1:"0";s:9:"bday_lock";s:1:"0";s:14:"bday_lookahead";s:2:"30";s:8:"bday_max";s:3:"150";s:8:"bday_min";s:2:"18";s:9:"bday_hide";s:1:"0";s:13:"bday_greeting";s:1:"3";s:12:"icon_per_row";s:2:"23";s:13:"ad_after_post";s:0:"";s:17:"ad_post_threshold";s:1:"1";s:13:"ad_every_post";s:1:"2";s:6:"ad_who";s:1:"1";s:12:"ad_no_forums";s:0:"";s:12:"ad_no_groups";s:0:"";s:12:"ad_old_style";s:1:"0";s:15:"xs_auto_compile";s:1:"1";s:17:"xs_auto_recompile";s:1:"1";s:12:"xs_use_cache";s:1:"1";s:6:"xs_php";s:3:"php";s:15:"xs_def_template";s:9:"subSilver";s:17:"xs_check_switches";s:1:"1";s:16:"xs_warn_includes";s:1:"1";s:15:"xs_add_comments";s:1:"0";s:11:"xs_ftp_host";s:0:"";s:12:"xs_ftp_login";s:0:"";s:11:"xs_ftp_path";s:0:"";s:18:"xs_downloads_count";s:1:"0";s:20:"xs_downloads_default";s:1:"0";s:10:"xs_shownav";s:1:"1";s:16:"xs_template_time";s:10:"1532797163";s:10:"xs_version";s:1:"8";s:16:"last_post_avatar";s:1:"1";s:13:"youtube_width";s:3:"640";s:14:"youtube_height";s:3:"360";s:12:"twitch_width";s:3:"640";s:13:"twitch_height";s:3:"360";s:14:"facebook_width";s:3:"640";s:15:"facebook_height";s:3:"360";s:19:"welcome_pm_username";s:1:"0";s:15:"glance_rowclass";s:1:"1";s:15:"smtp_encryption";s:4:"none";s:9:"smtp_port";s:0:"";s:9:"smtp_auth";s:1:"0";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_main_module b/includes/cache/zend_cache---config_main_module
deleted file mode 100644
index 2d066df7..00000000
--- a/includes/cache/zend_cache---config_main_module
+++ /dev/null
@@ -1 +0,0 @@
-s:5:"Blogs";
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_metatags b/includes/cache/zend_cache---config_metatags
deleted file mode 100644
index 52d23a4a..00000000
--- a/includes/cache/zend_cache---config_metatags
+++ /dev/null
@@ -1 +0,0 @@
-a:9:{i:0;a:2:{s:9:"meta_name";s:13:"resource-type";s:12:"meta_content";s:8:"document";}i:1;a:2:{s:9:"meta_name";s:12:"distribution";s:12:"meta_content";s:6:"global";}i:2;a:2:{s:9:"meta_name";s:6:"author";s:12:"meta_content";s:23:"Ernest Allen Buffington";}i:3;a:2:{s:9:"meta_name";s:9:"copyright";s:12:"meta_content";s:44:"Copyright (c) Brandon Maintenance Management";}i:4;a:2:{s:9:"meta_name";s:8:"keywords";s:12:"meta_content";s:236:"blog, php, php81, php8, cms, forum, php-fpm, phpbb2, forum-site, downloads, forum-application, mysqli-database, theme-ui, php-nuke-titanium, php-nuke, nuke-evolution, nuke-titanium, phpnuke, php-nuke-evolution-xtreme, php-nuke-evolution";}i:5;a:2:{s:9:"meta_name";s:11:"description";s:12:"meta_content";s:38:"PHP-Nuke Titanium v4.0.3 / PHP v8.1.13";}i:6;a:2:{s:9:"meta_name";s:6:"robots";s:12:"meta_content";s:13:"index, follow";}i:7;a:2:{s:9:"meta_name";s:13:"revisit-after";s:12:"meta_content";s:6:"1 days";}i:8;a:2:{s:9:"meta_name";s:6:"rating";s:12:"meta_content";s:7:"general";}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_nukeconfig b/includes/cache/zend_cache---config_nukeconfig
deleted file mode 100644
index 764c5f27..00000000
--- a/includes/cache/zend_cache---config_nukeconfig
+++ /dev/null
@@ -1 +0,0 @@
-a:98:{i:0;s:30:"A PHP-Nuke Titanium Web Portal";s:8:"sitename";s:30:"A PHP-Nuke Titanium Web Portal";i:1;s:28:"https://www.theghost.86it.us";s:7:"nukeurl";s:28:"https://www.theghost.86it.us";i:2;s:8:"logo.png";s:9:"site_logo";s:8:"logo.png";i:3;s:31:"It takes a Village or a Savant!";s:6:"slogan";s:31:"It takes a Village or a Savant!";i:4;s:13:"February 2023";s:9:"startdate";s:13:"February 2023";i:5;s:19:"2023-01-03 14:05:38";s:13:"datePublished";s:19:"2023-01-03 14:05:38";i:6;s:19:"2023-02-05 13:52:29";s:12:"dateModified";s:19:"2023-02-05 13:52:29";i:7;s:30:"administrator@theghost.86it.us";s:9:"adminmail";s:30:"administrator@theghost.86it.us";i:8;s:1:"0";s:8:"anonpost";s:1:"0";i:9;s:9:"BlackJack";s:13:"default_Theme";s:9:"BlackJack";i:10;s:0:"";s:5:"foot1";s:0:"";i:11;s:0:"";s:5:"foot2";s:0:"";i:12;s:0:"";s:5:"foot3";s:0:"";i:13;s:4:"4096";s:12:"commentlimit";s:4:"4096";i:14;s:9:"Anonymous";s:9:"anonymous";s:9:"Anonymous";i:15;s:1:"5";s:7:"minpass";s:1:"5";i:16;s:1:"1";s:8:"pollcomm";s:1:"1";i:17;s:1:"1";s:11:"articlecomm";s:1:"1";i:18;s:1:"1";s:13:"broadcast_msg";s:1:"1";i:19;s:1:"1";s:12:"my_headlines";s:1:"1";i:20;s:1:"5";s:3:"top";s:1:"5";i:21;s:1:"5";s:9:"storyhome";s:1:"5";i:22;s:1:"1";s:9:"user_news";s:1:"1";i:23;s:2:"30";s:6:"oldnum";s:2:"30";i:24;s:1:"1";s:9:"ultramode";s:1:"1";i:25;s:1:"1";s:7:"banners";s:1:"1";i:26;s:49:"Powered by PHP-Nuke Titanium v4.0.3 / PHP v8.1.13";s:13:"backend_title";s:49:"Powered by PHP-Nuke Titanium v4.0.3 / PHP v8.1.13";i:27;s:5:"en-us";s:16:"backend_language";s:5:"en-us";i:28;s:7:"english";s:8:"language";s:7:"english";i:29;s:5:"en_US";s:6:"locale";s:5:"en_US";i:30;s:1:"1";s:12:"multilingual";s:1:"1";i:31;s:1:"0";s:8:"useflags";s:1:"0";i:32;s:1:"1";s:6:"notify";s:1:"1";i:33;s:18:"admin@yoursite.com";s:12:"notify_email";s:18:"admin@yoursite.com";i:34;s:21:"Blog for yoursite.com";s:14:"notify_subject";s:21:"Blog for yoursite.com";i:35;s:55:"Hey! You've got a new blog submission for yoursite.com!";s:14:"notify_message";s:55:"Hey! You've got a new blog submission for yoursite.com!";i:36;s:28:"Administrator @ yoursite.com";s:11:"notify_from";s:28:"Administrator @ yoursite.com";i:37;s:1:"1";s:8:"moderate";s:1:"1";i:38;s:1:"1";s:12:"admingraphic";s:1:"1";i:39;s:1:"1";s:7:"httpref";s:1:"1";i:40;s:4:"1000";s:10:"httprefmax";s:4:"1000";i:41;s:1:"3";s:10:"CensorMode";s:1:"3";i:42;s:5:"*****";s:13:"CensorReplace";s:5:"*****";i:43;s:0:"";s:9:"copyright";s:0:"";i:44;s:5:"4.0.3";s:11:"Version_Num";s:5:"4.0.3";i:45;s:1:"1";s:9:"admin_pos";s:1:"1";i:46;s:1:"0";s:15:"admin_log_lines";s:1:"0";i:47;s:1:"0";s:15:"error_log_lines";s:1:"0";i:48;s:0:"";s:10:"cache_data";s:0:"";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_smilies b/includes/cache/zend_cache---config_smilies
deleted file mode 100644
index 24550e04..00000000
--- a/includes/cache/zend_cache---config_smilies
+++ /dev/null
@@ -1 +0,0 @@
-a:36:{i:0;a:10:{i:0;s:2:"32";s:10:"smilies_id";s:2:"32";i:1;s:9:":twisted:";s:4:"code";s:9:":twisted:";i:2;s:11:"twisted.png";s:9:"smile_url";s:11:"twisted.png";i:3;s:12:"Twisted Evil";s:8:"emoticon";s:12:"Twisted Evil";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:1;a:10:{i:0;s:2:"33";s:10:"smilies_id";s:2:"33";i:1;s:8:":hearts:";s:4:"code";s:8:":hearts:";i:2;s:10:"hearts.png";s:9:"smile_url";s:10:"hearts.png";i:3;s:7:"In Love";s:8:"emoticon";s:7:"In Love";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:2;a:10:{i:0;s:1:"6";s:10:"smilies_id";s:1:"6";i:1;s:7:":smile:";s:4:"code";s:7:":smile:";i:2;s:9:"smile.png";s:9:"smile_url";s:9:"smile.png";i:3;s:5:"Smile";s:8:"emoticon";s:5:"Smile";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:3;a:10:{i:0;s:2:"15";s:10:"smilies_id";s:2:"15";i:1;s:7:":shock:";s:4:"code";s:7:":shock:";i:2;s:7:"eek.png";s:9:"smile_url";s:7:"eek.png";i:3;s:7:"Shocked";s:8:"emoticon";s:7:"Shocked";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:4;a:10:{i:0;s:1:"3";s:10:"smilies_id";s:1:"3";i:1;s:6:":grin:";s:4:"code";s:6:":grin:";i:2;s:12:"bigsmile.png";s:9:"smile_url";s:12:"bigsmile.png";i:3;s:10:"Very Happy";s:8:"emoticon";s:10:"Very Happy";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:5;a:10:{i:0;s:2:"21";s:10:"smilies_id";s:2:"21";i:1;s:6:":cool:";s:4:"code";s:6:":cool:";i:2;s:8:"cool.png";s:9:"smile_url";s:8:"cool.png";i:3;s:4:"Cool";s:8:"emoticon";s:4:"Cool";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:6;a:10:{i:0;s:2:"28";s:10:"smilies_id";s:2:"28";i:1;s:6:":razz:";s:4:"code";s:6:":razz:";i:2;s:8:"razz.png";s:9:"smile_url";s:8:"razz.png";i:3;s:4:"Razz";s:8:"emoticon";s:4:"Razz";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:7;a:10:{i:0;s:2:"29";s:10:"smilies_id";s:2:"29";i:1;s:6:":oops:";s:4:"code";s:6:":oops:";i:2;s:11:"redface.png";s:9:"smile_url";s:11:"redface.png";i:3;s:10:"Embarassed";s:8:"emoticon";s:10:"Embarassed";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:8;a:10:{i:0;s:2:"31";s:10:"smilies_id";s:2:"31";i:1;s:6:":evil:";s:4:"code";s:6:":evil:";i:2;s:8:"evil.png";s:9:"smile_url";s:8:"evil.png";i:3;s:16:"Evil or Very Mad";s:8:"emoticon";s:16:"Evil or Very Mad";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:9;a:10:{i:0;s:2:"34";s:10:"smilies_id";s:2:"34";i:1;s:6:":wink:";s:4:"code";s:6:":wink:";i:2;s:8:"wink.png";s:9:"smile_url";s:8:"wink.png";i:3;s:4:"Wink";s:8:"emoticon";s:4:"Wink";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:10;a:10:{i:0;s:1:"9";s:10:"smilies_id";s:1:"9";i:1;s:5:":sad:";s:4:"code";s:5:":sad:";i:2;s:7:"sad.png";s:9:"smile_url";s:7:"sad.png";i:3;s:3:"Sad";s:8:"emoticon";s:3:"Sad";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:11;a:10:{i:0;s:2:"12";s:10:"smilies_id";s:2:"12";i:1;s:5:":eek:";s:4:"code";s:5:":eek:";i:2;s:13:"surprised.png";s:9:"smile_url";s:13:"surprised.png";i:3;s:9:"Surprised";s:8:"emoticon";s:9:"Surprised";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:12;a:10:{i:0;s:2:"18";s:10:"smilies_id";s:2:"18";i:1;s:5:":???:";s:4:"code";s:5:":???:";i:2;s:12:"confused.png";s:9:"smile_url";s:12:"confused.png";i:3;s:8:"Confused";s:8:"emoticon";s:8:"Confused";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:13;a:10:{i:0;s:2:"22";s:10:"smilies_id";s:2:"22";i:1;s:5:":lol:";s:4:"code";s:5:":lol:";i:2;s:7:"lol.png";s:9:"smile_url";s:7:"lol.png";i:3;s:8:"Laughing";s:8:"emoticon";s:8:"Laughing";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:14;a:10:{i:0;s:2:"25";s:10:"smilies_id";s:2:"25";i:1;s:5:":mad:";s:4:"code";s:5:":mad:";i:2;s:7:"mad.png";s:9:"smile_url";s:7:"mad.png";i:3;s:3:"Mad";s:8:"emoticon";s:3:"Mad";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:15;a:10:{i:0;s:2:"30";s:10:"smilies_id";s:2:"30";i:1;s:5:":cry:";s:4:"code";s:5:":cry:";i:2;s:7:"cry.png";s:9:"smile_url";s:7:"cry.png";i:3;s:18:"Crying or Very sad";s:8:"emoticon";s:18:"Crying or Very sad";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:16;a:10:{i:0;s:1:"2";s:10:"smilies_id";s:1:"2";i:1;s:3:":-D";s:4:"code";s:3:":-D";i:2;s:12:"bigsmile.png";s:9:"smile_url";s:12:"bigsmile.png";i:3;s:10:"Very Happy";s:8:"emoticon";s:10:"Very Happy";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:17;a:10:{i:0;s:1:"5";s:10:"smilies_id";s:1:"5";i:1;s:3:":-)";s:4:"code";s:3:":-)";i:2;s:9:"smile.png";s:9:"smile_url";s:9:"smile.png";i:3;s:5:"Smile";s:8:"emoticon";s:5:"Smile";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:18;a:10:{i:0;s:1:"8";s:10:"smilies_id";s:1:"8";i:1;s:3:":-(";s:4:"code";s:3:":-(";i:2;s:7:"sad.png";s:9:"smile_url";s:7:"sad.png";i:3;s:3:"Sad";s:8:"emoticon";s:3:"Sad";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:19;a:10:{i:0;s:2:"11";s:10:"smilies_id";s:2:"11";i:1;s:3:":-o";s:4:"code";s:3:":-o";i:2;s:13:"surprised.png";s:9:"smile_url";s:13:"surprised.png";i:3;s:9:"Surprised";s:8:"emoticon";s:9:"Surprised";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:20;a:10:{i:0;s:2:"14";s:10:"smilies_id";s:2:"14";i:1;s:3:"8-O";s:4:"code";s:3:"8-O";i:2;s:7:"eek.png";s:9:"smile_url";s:7:"eek.png";i:3;s:7:"Shocked";s:8:"emoticon";s:7:"Shocked";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:21;a:10:{i:0;s:2:"17";s:10:"smilies_id";s:2:"17";i:1;s:3:":-?";s:4:"code";s:3:":-?";i:2;s:12:"confused.png";s:9:"smile_url";s:12:"confused.png";i:3;s:8:"Confused";s:8:"emoticon";s:8:"Confused";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:22;a:10:{i:0;s:2:"20";s:10:"smilies_id";s:2:"20";i:1;s:3:"8-)";s:4:"code";s:3:"8-)";i:2;s:8:"cool.png";s:9:"smile_url";s:8:"cool.png";i:3;s:4:"Cool";s:8:"emoticon";s:4:"Cool";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:23;a:10:{i:0;s:2:"24";s:10:"smilies_id";s:2:"24";i:1;s:3:":-x";s:4:"code";s:3:":-x";i:2;s:7:"mad.png";s:9:"smile_url";s:7:"mad.png";i:3;s:3:"Mad";s:8:"emoticon";s:3:"Mad";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:24;a:10:{i:0;s:2:"27";s:10:"smilies_id";s:2:"27";i:1;s:3:":-P";s:4:"code";s:3:":-P";i:2;s:8:"razz.png";s:9:"smile_url";s:8:"razz.png";i:3;s:4:"Razz";s:8:"emoticon";s:4:"Razz";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:25;a:10:{i:0;s:2:"36";s:10:"smilies_id";s:2:"36";i:1;s:3:";-)";s:4:"code";s:3:";-)";i:2;s:8:"wink.png";s:9:"smile_url";s:8:"wink.png";i:3;s:4:"Wink";s:8:"emoticon";s:4:"Wink";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:26;a:10:{i:0;s:1:"1";s:10:"smilies_id";s:1:"1";i:1;s:2:":D";s:4:"code";s:2:":D";i:2;s:12:"bigsmile.png";s:9:"smile_url";s:12:"bigsmile.png";i:3;s:10:"Very Happy";s:8:"emoticon";s:10:"Very Happy";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:27;a:10:{i:0;s:1:"4";s:10:"smilies_id";s:1:"4";i:1;s:2:":)";s:4:"code";s:2:":)";i:2;s:9:"smile.png";s:9:"smile_url";s:9:"smile.png";i:3;s:5:"Smile";s:8:"emoticon";s:5:"Smile";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:28;a:10:{i:0;s:1:"7";s:10:"smilies_id";s:1:"7";i:1;s:2:":(";s:4:"code";s:2:":(";i:2;s:7:"sad.png";s:9:"smile_url";s:7:"sad.png";i:3;s:3:"Sad";s:8:"emoticon";s:3:"Sad";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:29;a:10:{i:0;s:2:"10";s:10:"smilies_id";s:2:"10";i:1;s:2:":o";s:4:"code";s:2:":o";i:2;s:13:"surprised.png";s:9:"smile_url";s:13:"surprised.png";i:3;s:9:"Surprised";s:8:"emoticon";s:9:"Surprised";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:30;a:10:{i:0;s:2:"13";s:10:"smilies_id";s:2:"13";i:1;s:2:"8O";s:4:"code";s:2:"8O";i:2;s:7:"eek.png";s:9:"smile_url";s:7:"eek.png";i:3;s:7:"Shocked";s:8:"emoticon";s:7:"Shocked";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:31;a:10:{i:0;s:2:"16";s:10:"smilies_id";s:2:"16";i:1;s:2:":?";s:4:"code";s:2:":?";i:2;s:12:"confused.png";s:9:"smile_url";s:12:"confused.png";i:3;s:8:"Confused";s:8:"emoticon";s:8:"Confused";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:32;a:10:{i:0;s:2:"19";s:10:"smilies_id";s:2:"19";i:1;s:2:"8)";s:4:"code";s:2:"8)";i:2;s:8:"cool.png";s:9:"smile_url";s:8:"cool.png";i:3;s:4:"Cool";s:8:"emoticon";s:4:"Cool";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:33;a:10:{i:0;s:2:"23";s:10:"smilies_id";s:2:"23";i:1;s:2:":x";s:4:"code";s:2:":x";i:2;s:7:"mad.png";s:9:"smile_url";s:7:"mad.png";i:3;s:3:"Mad";s:8:"emoticon";s:3:"Mad";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:34;a:10:{i:0;s:2:"26";s:10:"smilies_id";s:2:"26";i:1;s:2:":P";s:4:"code";s:2:":P";i:2;s:8:"razz.png";s:9:"smile_url";s:8:"razz.png";i:3;s:4:"Razz";s:8:"emoticon";s:4:"Razz";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}i:35;a:10:{i:0;s:2:"35";s:10:"smilies_id";s:2:"35";i:1;s:2:";)";s:4:"code";s:2:";)";i:2;s:8:"wink.png";s:9:"smile_url";s:8:"wink.png";i:3;s:4:"Wink";s:8:"emoticon";s:4:"Wink";i:4;s:1:"0";s:10:"smile_stat";s:1:"0";}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_titanium_GroupNameColors b/includes/cache/zend_cache---config_titanium_GroupNameColors
deleted file mode 100644
index 24d4669d..00000000
--- a/includes/cache/zend_cache---config_titanium_GroupNameColors
+++ /dev/null
@@ -1 +0,0 @@
-a:10:{s:23:"CKEditor 4 Access_short";s:66:"CKEditor 4...";s:17:"CKEditor 4 Access";s:70:"CKEditor 4 Access";s:19:"Portal Admins_short";s:66:"Portal Admins";s:13:"Portal Admins";s:66:"Portal Admins";s:20:"Portal Members_short";s:66:"Portal Mem...";s:14:"Portal Members";s:67:"Portal Members";s:23:"Portal Moderators_short";s:66:"Portal Mod...";s:17:"Portal Moderators";s:70:"Portal Moderators";s:17:"VIP Members_short";s:64:"VIP Members";s:11:"VIP Members";s:64:"VIP Members";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_titanium_active_modules b/includes/cache/zend_cache---config_titanium_active_modules
deleted file mode 100644
index b7b01bad..00000000
--- a/includes/cache/zend_cache---config_titanium_active_modules
+++ /dev/null
@@ -1 +0,0 @@
-a:46:{s:6:"Forums";i:1;s:15:"File_Repository";i:1;s:12:"Your_Account";i:1;s:9:"Shout_Box";i:1;s:11:"Advertising";i:1;s:9:"ECalendar";i:1;s:4:"Docs";i:1;s:9:"Donations";i:1;s:13:"Evo_UserBlock";i:1;s:3:"FAQ";i:1;s:8:"Feedback";i:1;s:6:"Groups";i:1;s:15:"HTML_Newsletter";i:1;s:7:"Link_Us";i:1;s:12:"Members_List";i:1;s:12:"NukeSentinel";i:1;s:16:"Private_Messages";i:1;s:7:"Profile";i:1;s:12:"Recommend_Us";i:1;s:7:"Reviews";i:1;s:6:"Search";i:1;s:14:"Spambot_Killer";i:1;s:10:"Statistics";i:1;s:7:"Surveys";i:1;s:9:"Web_Links";i:1;s:16:"Image_Repository";i:1;s:11:"Blog_Submit";i:1;s:11:"Blog_Topics";i:1;s:7:"Network";i:1;s:12:"cPanel_Login";i:1;s:15:"Google-Site-Map";i:1;s:19:"Network_Advertising";i:1;s:15:"CSS_Color_Chart";i:1;s:13:"CSS_Reference";i:1;s:12:"Proof_Of_God";i:1;s:16:"Titanium_SandBox";i:1;s:13:"Arcade_Tweaks";i:1;s:11:"HTML_to_PHP";i:1;s:9:"Bookmarks";i:1;s:8:"Cemetery";i:1;s:17:"Loan_Amortization";i:1;s:16:"Network_Projects";i:1;s:15:"My_Forum_Topics";i:1;s:13:"Blog_Archives";i:1;s:5:"Blogs";i:1;s:9:"Blogs_Top";i:1;}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_titanium_evoconfig b/includes/cache/zend_cache---config_titanium_evoconfig
deleted file mode 100644
index 5b137183..00000000
--- a/includes/cache/zend_cache---config_titanium_evoconfig
+++ /dev/null
@@ -1 +0,0 @@
-a:50:{s:3:"sub";s:8:"Titanium";s:9:"ver_check";s:1:"0";s:12:"ver_previous";s:5:"4.0.3";s:12:"lock_modules";s:1:"0";s:13:"queries_count";s:1:"1";s:8:"adminssl";s:1:"1";s:11:"poll_random";s:1:"0";s:9:"poll_days";s:2:"30";s:12:"censor_words";s:164:"ass cuntface balllicker shitbag asshole arse bitch bullshit c0ck clit cock crap cum cunt fag faggot fuck fucker fucking fuk fuking motherfucker pussy shit tits twat";s:6:"censor";s:1:"0";s:13:"usrclearcache";s:1:"1";s:18:"cache_last_cleared";s:10:"1674766882";s:8:"textarea";s:8:"ckeditor";s:10:"use_colors";s:1:"1";s:11:"usegfxcheck";s:1:"7";s:8:"codesize";s:1:"7";s:9:"iphub_use";s:1:"0";s:8:"useimage";s:1:"1";s:8:"lazy_tap";s:1:"0";s:10:"img_resize";s:1:"1";s:9:"img_width";s:3:"300";s:10:"img_height";s:3:"300";s:7:"capfile";s:0:"";s:15:"module_collapse";s:1:"1";s:8:"collapse";s:1:"0";s:14:"evouserinfo_ec";s:1:"1";s:12:"collapsetype";s:1:"1";s:9:"analytics";s:0:"";s:10:"img_viewer";s:8:"fancybox";s:9:"html_auth";s:1:"1";s:15:"pm_alert_status";s:1:"1";s:14:"pm_cookie_name";s:15:"jquery_pm_popup";s:17:"pm_cookie_minutes";s:1:"5";s:17:"pm_cookie_seconds";s:1:"1";s:16:"pm_overlay_color";s:7:"#000000";s:15:"pm_button_color";s:7:"#004594";s:16:"pm_button_color2";s:7:"#006de9";s:14:"pm_alert_sound";s:1:"1";s:15:"admin_fc_status";s:1:"0";s:17:"admin_fc_attempts";s:1:"5";s:16:"admin_fc_timeout";s:2:"15";s:12:"iphub_status";s:1:"0";s:9:"iphub_key";s:0:"";s:16:"iphub_cookietime";s:1:"5";s:11:"recap_color";s:0:"";s:10:"recap_lang";s:2:"en";s:14:"recap_site_key";s:0:"";s:14:"recap_priv_key";s:0:"";s:15:"block_cachetime";s:5:"86400";s:14:"allowusertheme";s:1:"0";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_titanium_sentinel b/includes/cache/zend_cache---config_titanium_sentinel
deleted file mode 100644
index ff3b50a0..00000000
--- a/includes/cache/zend_cache---config_titanium_sentinel
+++ /dev/null
@@ -1 +0,0 @@
-a:39:{s:13:"admin_contact";s:18:"admin@yoursite.com";s:13:"block_perpage";s:2:"50";s:17:"block_sort_column";s:4:"date";s:20:"block_sort_direction";s:4:"desc";s:10:"crypt_salt";s:2:"N$";s:12:"display_link";s:1:"3";s:14:"display_reason";s:1:"3";s:13:"force_nukeurl";s:1:"0";s:11:"help_switch";s:1:"1";s:13:"htaccess_path";s:0:"";s:9:"http_auth";s:1:"0";s:11:"lookup_link";s:30:"admin.php?op=ABIpCheck&domain=";s:10:"page_delay";s:1:"1";s:11:"prevent_dos";s:1:"1";s:12:"proxy_reason";s:15:"abuse_admin.tpl";s:12:"proxy_switch";s:1:"0";s:16:"santy_protection";s:1:"1";s:11:"self_expire";s:1:"0";s:11:"site_reason";s:21:"admin_site_reason.tpl";s:11:"site_switch";s:1:"0";s:13:"staccess_path";s:0:"";s:12:"track_active";s:1:"1";s:9:"track_max";s:6:"604800";s:13:"track_perpage";s:2:"50";s:17:"track_sort_column";s:7:"ip_long";s:20:"track_sort_direction";s:4:"desc";s:9:"ip_reason";s:19:"admin_ip_reason.tpl";s:9:"ip_switch";s:1:"0";s:13:"ftaccess_path";s:0:"";s:11:"flood_delay";s:1:"2";s:14:"disable_switch";s:1:"0";s:11:"track_clear";s:10:"1674950400";s:13:"blocked_clear";s:1:"0";s:13:"version_check";s:10:"$checktime";s:14:"version_newest";s:6:"2.6.09";s:14:"version_number";s:6:"2.6.09";s:14:"dump_directory";s:15:"includes/cache/";s:10:"show_right";s:1:"0";s:11:"test_switch";s:1:"0";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---config_titanium_ya_config b/includes/cache/zend_cache---config_titanium_ya_config
deleted file mode 100644
index 2dbdd95e..00000000
--- a/includes/cache/zend_cache---config_titanium_ya_config
+++ /dev/null
@@ -1,13 +0,0 @@
-a:31:{s:11:"sendaddmail";s:1:"0";s:14:"senddeletemail";s:1:"0";s:15:"allowuserdelete";s:1:"1";s:14:"allowusertheme";s:1:"0";s:12:"allowuserreg";s:1:"0";s:15:"allowmailchange";s:1:"1";s:13:"emailvalidate";s:1:"1";s:12:"requireadmin";s:1:"0";s:10:"servermail";s:1:"0";s:11:"useactivate";s:1:"1";s:11:"autosuspend";s:1:"0";s:7:"perpage";s:3:"100";s:8:"expiring";s:5:"86400";s:8:"nick_min";s:1:"4";s:8:"nick_max";s:2:"20";s:8:"pass_min";s:1:"4";s:8:"pass_max";s:2:"20";s:8:"bad_mail";s:23:"yoursite.com
-mysite.com";s:8:"bad_nick";s:81:"adm
-admin
-anonimo
-anonymous
-annimo
-god
-linux
-nobody
-operator
-root
-staff
-webmaster";s:5:"coppa";s:1:"0";s:3:"tos";s:1:"0";s:6:"tosall";s:1:"1";s:11:"cookiecheck";s:1:"1";s:13:"cookiecleaner";s:1:"1";s:14:"cookietimelife";s:7:"2592000";s:10:"cookiepath";s:0:"";s:16:"cookieinactivity";s:1:"-";s:15:"autosuspendmain";s:1:"0";s:16:"doublecheckemail";s:1:"1";s:7:"version";s:5:"4.4.2";s:8:"tos_text";s:81:"This is your default TOS. You may edit this through the Your Account Admin Panel.";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---blocks_titanium_link_us b/includes/cache/zend_cache---internal-metadatas---blocks_titanium_link_us
deleted file mode 100644
index 659a162f..00000000
--- a/includes/cache/zend_cache---internal-metadatas---blocks_titanium_link_us
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:2958053564;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---blocks_titanium_page_visits b/includes/cache/zend_cache---internal-metadatas---blocks_titanium_page_visits
deleted file mode 100644
index d61a4625..00000000
--- a/includes/cache/zend_cache---internal-metadatas---blocks_titanium_page_visits
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:3996167750;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_ColorGroups b/includes/cache/zend_cache---internal-metadatas---config_ColorGroups
deleted file mode 100644
index 6d91f339..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_ColorGroups
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:3793099592;s:5:"mtime";i:1675623234;s:6:"expire";i:1675626834;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_board_config b/includes/cache/zend_cache---internal-metadatas---config_board_config
deleted file mode 100644
index 6f9054d0..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_board_config
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:3926519083;s:5:"mtime";i:1675623238;s:6:"expire";i:1675626838;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_main_module b/includes/cache/zend_cache---internal-metadatas---config_main_module
deleted file mode 100644
index a7b09547..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_main_module
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:1030561202;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_metatags b/includes/cache/zend_cache---internal-metadatas---config_metatags
deleted file mode 100644
index 33fc9ddc..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_metatags
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:2372986921;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_nukeconfig b/includes/cache/zend_cache---internal-metadatas---config_nukeconfig
deleted file mode 100644
index 4b144184..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_nukeconfig
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:2608138596;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_smilies b/includes/cache/zend_cache---internal-metadatas---config_smilies
deleted file mode 100644
index 134d6b64..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_smilies
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:1121274880;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_titanium_GroupNameColors b/includes/cache/zend_cache---internal-metadatas---config_titanium_GroupNameColors
deleted file mode 100644
index 8bafc6a6..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_titanium_GroupNameColors
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:4160370061;s:5:"mtime";i:1675623234;s:6:"expire";i:1675626834;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_titanium_active_modules b/includes/cache/zend_cache---internal-metadatas---config_titanium_active_modules
deleted file mode 100644
index 1415dd1f..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_titanium_active_modules
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:2468157540;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_titanium_evoconfig b/includes/cache/zend_cache---internal-metadatas---config_titanium_evoconfig
deleted file mode 100644
index 79e3431f..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_titanium_evoconfig
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:3264302375;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_titanium_sentinel b/includes/cache/zend_cache---internal-metadatas---config_titanium_sentinel
deleted file mode 100644
index 7cac3743..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_titanium_sentinel
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:192609720;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---config_titanium_ya_config b/includes/cache/zend_cache---internal-metadatas---config_titanium_ya_config
deleted file mode 100644
index a816ddd9..00000000
--- a/includes/cache/zend_cache---internal-metadatas---config_titanium_ya_config
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:2669121276;s:5:"mtime";i:1675623527;s:6:"expire";i:1675627127;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---themes_BlackJack b/includes/cache/zend_cache---internal-metadatas---themes_BlackJack
deleted file mode 100644
index 021fa3f0..00000000
--- a/includes/cache/zend_cache---internal-metadatas---themes_BlackJack
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:1128226367;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_block_menu_row b/includes/cache/zend_cache---internal-metadatas---titanium_block_menu_row
deleted file mode 100644
index 28d1e9b6..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_block_menu_row
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:3439644380;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_config_Horndonkle_UserNameColors_12536c47373e0984cfacd8860485c0bd b/includes/cache/zend_cache---internal-metadatas---titanium_config_Horndonkle_UserNameColors_12536c47373e0984cfacd8860485c0bd
deleted file mode 100644
index 03107fd8..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_config_Horndonkle_UserNameColors_12536c47373e0984cfacd8860485c0bd
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:1755846673;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_config_Horndonkle_UserNameColors_7079c72c21415131774625ba1d64f4b0 b/includes/cache/zend_cache---internal-metadatas---titanium_config_Horndonkle_UserNameColors_7079c72c21415131774625ba1d64f4b0
deleted file mode 100644
index 0ad9a0fd..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_config_Horndonkle_UserNameColors_7079c72c21415131774625ba1d64f4b0
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:3491478780;s:5:"mtime";i:1675623234;s:6:"expire";i:1675626834;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_config_Horndonkle_UserNameColors_7b7bc2512ee1fedcd76bdc68926d4f7b b/includes/cache/zend_cache---internal-metadatas---titanium_config_Horndonkle_UserNameColors_7b7bc2512ee1fedcd76bdc68926d4f7b
deleted file mode 100644
index dfc3f595..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_config_Horndonkle_UserNameColors_7b7bc2512ee1fedcd76bdc68926d4f7b
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:1227315978;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_config_blocks b/includes/cache/zend_cache---internal-metadatas---titanium_config_blocks
deleted file mode 100644
index 2219ea38..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_config_blocks
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:3125998620;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_config_custom_head b/includes/cache/zend_cache---internal-metadatas---titanium_config_custom_head
deleted file mode 100644
index 9473eec2..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_config_custom_head
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:865590925;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_config_favicon b/includes/cache/zend_cache---internal-metadatas---titanium_config_favicon
deleted file mode 100644
index 8ae69ace..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_config_favicon
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:1115405309;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_evouserinfo_active b/includes/cache/zend_cache---internal-metadatas---titanium_evouserinfo_active
deleted file mode 100644
index d9dbdb55..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_evouserinfo_active
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:2751008489;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_horndonkle_image_74848c5fdd2c4b7754e95320d778f794_honeypot b/includes/cache/zend_cache---internal-metadatas---titanium_horndonkle_image_74848c5fdd2c4b7754e95320d778f794_honeypot
deleted file mode 100644
index d4ddff6a..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_horndonkle_image_74848c5fdd2c4b7754e95320d778f794_honeypot
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:3007635516;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_horndonkle_image_e2372aba2a030925509453ded09dc613_error b/includes/cache/zend_cache---internal-metadatas---titanium_horndonkle_image_e2372aba2a030925509453ded09dc613_error
deleted file mode 100644
index 55ad004f..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_horndonkle_image_e2372aba2a030925509453ded09dc613_error
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:1141138132;s:5:"mtime";i:1675623623;s:6:"expire";i:1675627223;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---internal-metadatas---titanium_shoutbox_conf b/includes/cache/zend_cache---internal-metadatas---titanium_shoutbox_conf
deleted file mode 100644
index d8e00050..00000000
--- a/includes/cache/zend_cache---internal-metadatas---titanium_shoutbox_conf
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:4:"hash";i:840843164;s:5:"mtime";i:1675623224;s:6:"expire";i:1675626824;s:4:"tags";a:0:{}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---themes_BlackJack b/includes/cache/zend_cache---themes_BlackJack
deleted file mode 100644
index 61e1eba4..00000000
--- a/includes/cache/zend_cache---themes_BlackJack
+++ /dev/null
@@ -1 +0,0 @@
-a:11:{s:10:"themewidth";s:3:"93%";s:8:"bgcolor1";s:7:"#000000";s:8:"bgcolor2";s:7:"#151515";s:8:"bgcolor3";s:7:"#262626";s:8:"bgcolor4";s:7:"#262626";s:10:"textcolor1";s:4:"#ccc";s:10:"textcolor2";s:4:"#ccc";s:4:"fms1";s:49:"Go to Theme Options to Edit Footer Message Line 1";s:4:"fms2";s:49:"Go to Theme Options to Edit Footer Message Line 2";s:12:"uitotophover";s:5:"green";s:14:"recaptcha_skin";s:4:"dark";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_block_menu_row b/includes/cache/zend_cache---titanium_block_menu_row
deleted file mode 100644
index 2ef0f923..00000000
--- a/includes/cache/zend_cache---titanium_block_menu_row
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{i:0;s:1:"0";s:9:"invisible";s:1:"0";i:1;s:5:"Blogs";s:11:"main_module";s:5:"Blogs";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_config_Horndonkle_UserNameColors_12536c47373e0984cfacd8860485c0bd b/includes/cache/zend_cache---titanium_config_Horndonkle_UserNameColors_12536c47373e0984cfacd8860485c0bd
deleted file mode 100644
index 64614a89..00000000
--- a/includes/cache/zend_cache---titanium_config_Horndonkle_UserNameColors_12536c47373e0984cfacd8860485c0bd
+++ /dev/null
@@ -1 +0,0 @@
-a:1:{s:8:"supercat";s:8:"SuperCat";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_config_Horndonkle_UserNameColors_7079c72c21415131774625ba1d64f4b0 b/includes/cache/zend_cache---titanium_config_Horndonkle_UserNameColors_7079c72c21415131774625ba1d64f4b0
deleted file mode 100644
index ea44917a..00000000
--- a/includes/cache/zend_cache---titanium_config_Horndonkle_UserNameColors_7079c72c21415131774625ba1d64f4b0
+++ /dev/null
@@ -1 +0,0 @@
-a:1:{s:9:"anonymous";s:9:"Anonymous";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_config_Horndonkle_UserNameColors_7b7bc2512ee1fedcd76bdc68926d4f7b b/includes/cache/zend_cache---titanium_config_Horndonkle_UserNameColors_7b7bc2512ee1fedcd76bdc68926d4f7b
deleted file mode 100644
index cd88476c..00000000
--- a/includes/cache/zend_cache---titanium_config_Horndonkle_UserNameColors_7b7bc2512ee1fedcd76bdc68926d4f7b
+++ /dev/null
@@ -1 +0,0 @@
-a:1:{s:13:"administrator";s:49:"Administrator";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_config_blocks b/includes/cache/zend_cache---titanium_config_blocks
deleted file mode 100644
index 2fff5653..00000000
--- a/includes/cache/zend_cache---titanium_config_blocks
+++ /dev/null
@@ -1 +0,0 @@
-a:4:{s:1:"r";a:5:{i:0;a:26:{i:0;s:1:"5";s:3:"bid";s:1:"5";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:9:"User Info";s:5:"title";s:9:"User Info";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"r";s:9:"bposition";s:1:"r";i:6;s:1:"0";s:6:"weight";s:1:"0";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:1:"0";s:7:"refresh";s:1:"0";i:9;s:0:"";s:4:"time";s:0:"";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:23:"block-Evo_User_Info.php";s:9:"blockfile";s:23:"block-Evo_User_Info.php";i:12;s:1:"0";s:4:"view";s:1:"0";}i:1;a:26:{i:0;s:2:"14";s:3:"bid";s:2:"14";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:20:"Select Network Theme";s:5:"title";s:20:"Select Network Theme";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"r";s:9:"bposition";s:1:"r";i:6;s:1:"1";s:6:"weight";s:1:"1";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:25:"block-Titanium_Themes.php";s:9:"blockfile";s:25:"block-Titanium_Themes.php";i:12;s:1:"1";s:4:"view";s:1:"1";}i:2;a:26:{i:0;s:2:"10";s:3:"bid";s:2:"10";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:9:"Shout Box";s:5:"title";s:9:"Shout Box";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"r";s:9:"bposition";s:1:"r";i:6;s:1:"2";s:6:"weight";s:1:"2";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:28:"block-Titanium_Shout_Box.php";s:9:"blockfile";s:28:"block-Titanium_Shout_Box.php";i:12;s:1:"1";s:4:"view";s:1:"1";}i:3;a:26:{i:0;s:2:"19";s:3:"bid";s:2:"19";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:18:"Server Information";s:5:"title";s:18:"Server Information";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"r";s:9:"bposition";s:1:"r";i:6;s:1:"3";s:6:"weight";s:1:"3";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:28:"block-Portal-Information.php";s:9:"blockfile";s:28:"block-Portal-Information.php";i:12;s:1:"1";s:4:"view";s:1:"1";}i:4;a:26:{i:0;s:1:"6";s:3:"bid";s:1:"6";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:12:"Top 10 Links";s:5:"title";s:12:"Top 10 Links";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"r";s:9:"bposition";s:1:"r";i:6;s:1:"4";s:6:"weight";s:1:"4";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:30:"block-Titanium_Top10_Links.php";s:9:"blockfile";s:30:"block-Titanium_Top10_Links.php";i:12;s:1:"1";s:4:"view";s:1:"1";}}s:1:"c";a:2:{i:0;a:26:{i:0;s:1:"7";s:3:"bid";s:1:"7";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:6:"Forums";s:5:"title";s:6:"Forums";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"c";s:9:"bposition";s:1:"c";i:6;s:1:"0";s:6:"weight";s:1:"0";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:25:"block-Titanium_Forums.php";s:9:"blockfile";s:25:"block-Titanium_Forums.php";i:12;s:1:"1";s:4:"view";s:1:"1";}i:1;a:26:{i:0;s:2:"20";s:3:"bid";s:2:"20";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:11:"Visitor Log";s:5:"title";s:11:"Visitor Log";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"c";s:9:"bposition";s:1:"c";i:6;s:1:"1";s:6:"weight";s:1:"1";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:37:"block-Titanium_Visitor_Log_Center.php";s:9:"blockfile";s:37:"block-Titanium_Visitor_Log_Center.php";i:12;s:1:"1";s:4:"view";s:1:"1";}}s:1:"d";a:1:{i:0;a:26:{i:0;s:2:"13";s:3:"bid";s:2:"13";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:24:"Sentinel Portal Security";s:5:"title";s:24:"Sentinel Portal Security";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"d";s:9:"bposition";s:1:"d";i:6;s:1:"0";s:6:"weight";s:1:"0";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:34:"block-Titanium_Sentinel_Center.php";s:9:"blockfile";s:34:"block-Titanium_Sentinel_Center.php";i:12;s:1:"1";s:4:"view";s:1:"1";}}s:1:"l";a:5:{i:0;a:26:{i:0;s:2:"17";s:3:"bid";s:2:"17";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:11:"Portal Menu";s:5:"title";s:11:"Portal Menu";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"l";s:9:"bposition";s:1:"l";i:6;s:1:"0";s:6:"weight";s:1:"0";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:30:"block-Titanium_Portal_Menu.php";s:9:"blockfile";s:30:"block-Titanium_Portal_Menu.php";i:12;s:1:"1";s:4:"view";s:1:"1";}i:1;a:26:{i:0;s:1:"9";s:3:"bid";s:1:"9";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:7:"Link-us";s:5:"title";s:7:"Link-us";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"l";s:9:"bposition";s:1:"l";i:6;s:1:"4";s:6:"weight";s:1:"4";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:26:"block-Titanium_Link_Us.php";s:9:"blockfile";s:26:"block-Titanium_Link_Us.php";i:12;s:1:"1";s:4:"view";s:1:"1";}i:2;a:26:{i:0;s:2:"15";s:3:"bid";s:2:"15";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:19:"Honey Pot Protected";s:5:"title";s:19:"Honey Pot Protected";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"l";s:9:"bposition";s:1:"l";i:6;s:1:"5";s:6:"weight";s:1:"5";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:19:"block-Honey_Pot.php";s:9:"blockfile";s:19:"block-Honey_Pot.php";i:12;s:1:"1";s:4:"view";s:1:"1";}i:3;a:26:{i:0;s:1:"2";s:3:"bid";s:1:"2";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:6:"Search";s:5:"title";s:6:"Search";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"l";s:9:"bposition";s:1:"l";i:6;s:1:"6";s:6:"weight";s:1:"6";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:0:"";s:4:"time";s:0:"";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:16:"block-Search.php";s:9:"blockfile";s:16:"block-Search.php";i:12;s:1:"0";s:4:"view";s:1:"0";}i:4;a:26:{i:0;s:2:"26";s:3:"bid";s:2:"26";i:1;s:0:"";s:4:"bkey";s:0:"";i:2;s:6:"Visits";s:5:"title";s:6:"Visits";i:3;s:0:"";s:7:"content";s:0:"";i:4;s:0:"";s:3:"url";s:0:"";i:5;s:1:"l";s:9:"bposition";s:1:"l";i:6;s:1:"7";s:6:"weight";s:1:"7";i:7;s:1:"1";s:6:"active";s:1:"1";i:8;s:4:"3600";s:7:"refresh";s:4:"3600";i:9;s:1:"0";s:4:"time";s:1:"0";i:10;s:0:"";s:9:"blanguage";s:0:"";i:11;s:29:"block-Titanium_Total_Hits.php";s:9:"blockfile";s:29:"block-Titanium_Total_Hits.php";i:12;s:1:"1";s:4:"view";s:1:"1";}}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_config_custom_head b/includes/cache/zend_cache---titanium_config_custom_head
deleted file mode 100644
index b0f64540..00000000
--- a/includes/cache/zend_cache---titanium_config_custom_head
+++ /dev/null
@@ -1 +0,0 @@
-a:1:{i:0;s:11:"custom_head";}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_config_favicon b/includes/cache/zend_cache---titanium_config_favicon
deleted file mode 100644
index bb949bb5..00000000
--- a/includes/cache/zend_cache---titanium_config_favicon
+++ /dev/null
@@ -1 +0,0 @@
-s:11:"favicon.ico";
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_evouserinfo_active b/includes/cache/zend_cache---titanium_evouserinfo_active
deleted file mode 100644
index 98db940d..00000000
--- a/includes/cache/zend_cache---titanium_evouserinfo_active
+++ /dev/null
@@ -1 +0,0 @@
-a:19:{i:0;a:10:{i:0;s:14:"Good Afternoon";s:4:"name";s:14:"Good Afternoon";i:1;s:14:"good_afternoon";s:8:"filename";s:14:"good_afternoon";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:1:"1";s:8:"position";s:1:"1";i:4;s:0:"";s:5:"image";s:0:"";}i:1;a:10:{i:0;s:5:"Break";s:4:"name";s:5:"Break";i:1;s:5:"Break";s:8:"filename";s:5:"Break";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:1:"2";s:8:"position";s:1:"2";i:4;s:0:"";s:5:"image";s:0:"";}i:2;a:10:{i:0;s:6:"Avatar";s:4:"name";s:6:"Avatar";i:1;s:6:"avatar";s:8:"filename";s:6:"avatar";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:1:"3";s:8:"position";s:1:"3";i:4;s:0:"";s:5:"image";s:0:"";}i:3;a:10:{i:0;s:5:"Break";s:4:"name";s:5:"Break";i:1;s:5:"Break";s:8:"filename";s:5:"Break";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:1:"4";s:8:"position";s:1:"4";i:4;s:0:"";s:5:"image";s:0:"";}i:4;a:10:{i:0;s:4:"Rank";s:4:"name";s:4:"Rank";i:1;s:4:"rank";s:8:"filename";s:4:"rank";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:1:"5";s:8:"position";s:1:"5";i:4;s:0:"";s:5:"image";s:0:"";}i:5;a:10:{i:0;s:5:"Break";s:4:"name";s:5:"Break";i:1;s:5:"Break";s:8:"filename";s:5:"Break";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:1:"6";s:8:"position";s:1:"6";i:4;s:0:"";s:5:"image";s:0:"";}i:6;a:10:{i:0;s:3:"PMs";s:4:"name";s:3:"PMs";i:1;s:3:"pms";s:8:"filename";s:3:"pms";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:1:"7";s:8:"position";s:1:"7";i:4;s:0:"";s:5:"image";s:0:"";}i:7;a:10:{i:0;s:5:"Break";s:4:"name";s:5:"Break";i:1;s:5:"Break";s:8:"filename";s:5:"Break";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:1:"8";s:8:"position";s:1:"8";i:4;s:0:"";s:5:"image";s:0:"";}i:8;a:10:{i:0;s:21:"Login/logout/register";s:4:"name";s:21:"Login/logout/register";i:1;s:5:"login";s:8:"filename";s:5:"login";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:1:"9";s:8:"position";s:1:"9";i:4;s:0:"";s:5:"image";s:0:"";}i:9;a:10:{i:0;s:5:"Break";s:4:"name";s:5:"Break";i:1;s:5:"Break";s:8:"filename";s:5:"Break";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:2:"10";s:8:"position";s:2:"10";i:4;s:0:"";s:5:"image";s:0:"";}i:10;a:10:{i:0;s:7:"Members";s:4:"name";s:7:"Members";i:1;s:7:"members";s:8:"filename";s:7:"members";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:2:"11";s:8:"position";s:2:"11";i:4;s:0:"";s:5:"image";s:0:"";}i:11;a:10:{i:0;s:5:"Break";s:4:"name";s:5:"Break";i:1;s:5:"Break";s:8:"filename";s:5:"Break";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:2:"12";s:8:"position";s:2:"12";i:4;s:0:"";s:5:"image";s:0:"";}i:12;a:10:{i:0;s:5:"Posts";s:4:"name";s:5:"Posts";i:1;s:5:"posts";s:8:"filename";s:5:"posts";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:2:"13";s:8:"position";s:2:"13";i:4;s:0:"";s:5:"image";s:0:"";}i:13;a:10:{i:0;s:5:"Break";s:4:"name";s:5:"Break";i:1;s:5:"Break";s:8:"filename";s:5:"Break";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:2:"14";s:8:"position";s:2:"14";i:4;s:0:"";s:5:"image";s:0:"";}i:14;a:10:{i:0;s:5:"Users";s:4:"name";s:5:"Users";i:1;s:5:"users";s:8:"filename";s:5:"users";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:2:"15";s:8:"position";s:2:"15";i:4;s:0:"";s:5:"image";s:0:"";}i:15;a:10:{i:0;s:5:"Break";s:4:"name";s:5:"Break";i:1;s:5:"Break";s:8:"filename";s:5:"Break";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:2:"16";s:8:"position";s:2:"16";i:4;s:0:"";s:5:"image";s:0:"";}i:16;a:10:{i:0;s:9:"Most Ever";s:4:"name";s:9:"Most Ever";i:1;s:8:"mostever";s:8:"filename";s:8:"mostever";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:2:"17";s:8:"position";s:2:"17";i:4;s:0:"";s:5:"image";s:0:"";}i:17;a:10:{i:0;s:5:"Break";s:4:"name";s:5:"Break";i:1;s:5:"Break";s:8:"filename";s:5:"Break";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:2:"18";s:8:"position";s:2:"18";i:4;s:0:"";s:5:"image";s:0:"";}i:18;a:10:{i:0;s:14:"Current Online";s:4:"name";s:14:"Current Online";i:1;s:6:"online";s:8:"filename";s:6:"online";i:2;s:1:"1";s:6:"active";s:1:"1";i:3;s:2:"19";s:8:"position";s:2:"19";i:4;s:0:"";s:5:"image";s:0:"";}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_horndonkle_image_74848c5fdd2c4b7754e95320d778f794_honeypot b/includes/cache/zend_cache---titanium_horndonkle_image_74848c5fdd2c4b7754e95320d778f794_honeypot
deleted file mode 100644
index c0898a79..00000000
--- a/includes/cache/zend_cache---titanium_horndonkle_image_74848c5fdd2c4b7754e95320d778f794_honeypot
+++ /dev/null
@@ -1 +0,0 @@
-a:1:{s:9:"BlackJack";a:1:{s:7:"english";a:1:{s:9:"honey_pot";s:29:"images/honeypot/honey_pot.png";}}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_horndonkle_image_e2372aba2a030925509453ded09dc613_error b/includes/cache/zend_cache---titanium_horndonkle_image_e2372aba2a030925509453ded09dc613_error
deleted file mode 100644
index c41cd4fe..00000000
--- a/includes/cache/zend_cache---titanium_horndonkle_image_e2372aba2a030925509453ded09dc613_error
+++ /dev/null
@@ -1 +0,0 @@
-a:1:{s:9:"BlackJack";a:1:{s:7:"english";a:1:{s:13:"unknown-error";s:30:"images/error/unknown-error.png";}}}
\ No newline at end of file
diff --git a/includes/cache/zend_cache---titanium_shoutbox_conf b/includes/cache/zend_cache---titanium_shoutbox_conf
deleted file mode 100644
index 3f085138..00000000
--- a/includes/cache/zend_cache---titanium_shoutbox_conf
+++ /dev/null
@@ -1 +0,0 @@
-a:50:{i:0;s:1:"1";s:2:"id";s:1:"1";i:1;s:7:"#EBEBEB";s:6:"color1";s:7:"#EBEBEB";i:2;s:7:"#FFFFFF";s:6:"color2";s:7:"#FFFFFF";i:3;s:3:"yes";s:4:"date";s:3:"yes";i:4;s:3:"yes";s:4:"time";s:3:"yes";i:5;s:2:"10";s:6:"number";s:2:"10";i:6;s:3:"yes";s:7:"ipblock";s:3:"yes";i:7;s:3:"yes";s:9:"nameblock";s:3:"yes";i:8;s:3:"yes";s:6:"censor";s:3:"yes";i:9;s:3:"150";s:10:"tablewidth";s:3:"150";i:10;s:3:"yes";s:8:"urlonoff";s:3:"yes";i:11;s:3:"yes";s:15:"delyourlastpost";s:3:"yes";i:12;s:3:"yes";s:13:"anonymouspost";s:3:"yes";i:13;s:3:"150";s:6:"height";s:3:"150";i:14;s:2:"no";s:11:"themecolors";s:2:"no";i:15;s:2:"20";s:9:"textWidth";s:2:"20";i:16;s:2:"10";s:9:"nameWidth";s:2:"10";i:17;s:1:"7";s:13:"smiliesPerRow";s:1:"7";i:18;s:2:"no";s:12:"reversePosts";s:2:"no";i:19;s:1:"0";s:10:"timeOffset";s:1:"0";i:20;s:2:"no";s:12:"urlanononoff";s:2:"no";i:21;s:1:"0";s:14:"pointspershout";s:1:"0";i:22;s:2:"25";s:13:"shoutsperpage";s:2:"25";i:23;s:2:"-5";s:14:"serverTimezone";s:2:"-5";i:24;s:3:"yes";s:8:"blockxxx";s:3:"yes";}
\ No newline at end of file
diff --git a/includes/vendor/autoload.php b/includes/vendor/autoload.php
deleted file mode 100644
index 9db5fcb2..00000000
--- a/includes/vendor/autoload.php
+++ /dev/null
@@ -1,7 +0,0 @@
-realpath = realpath($opened_path) ?: $opened_path;
- $opened_path = $this->realpath;
- $this->handle = fopen($this->realpath, $mode);
- $this->position = 0;
-
- return (bool) $this->handle;
- }
-
- public function stream_read($count)
- {
- $data = fread($this->handle, $count);
-
- if ($this->position === 0) {
- $data = preg_replace('{^#!.*\r?\n}', '', $data);
- }
-
- $this->position += strlen($data);
-
- return $data;
- }
-
- public function stream_cast($castAs)
- {
- return $this->handle;
- }
-
- public function stream_close()
- {
- fclose($this->handle);
- }
-
- public function stream_lock($operation)
- {
- return $operation ? flock($this->handle, $operation) : true;
- }
-
- public function stream_seek($offset, $whence)
- {
- if (0 === fseek($this->handle, $offset, $whence)) {
- $this->position = ftell($this->handle);
- return true;
- }
-
- return false;
- }
-
- public function stream_tell()
- {
- return $this->position;
- }
-
- public function stream_eof()
- {
- return feof($this->handle);
- }
-
- public function stream_stat()
- {
- return array();
- }
-
- public function stream_set_option($option, $arg1, $arg2)
- {
- return true;
- }
-
- public function url_stat($path, $flags)
- {
- $path = substr($path, 17);
- if (file_exists($path)) {
- return stat($path);
- }
-
- return false;
- }
- }
- }
-
- if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
- include("phpvfscomposer://" . __DIR__ . '/..'.'/cerdic/css-tidy/bin/pcsstidy');
- exit(0);
- }
-}
-
-include __DIR__ . '/..'.'/cerdic/css-tidy/bin/pcsstidy';
diff --git a/includes/vendor/cerdic/css-tidy/.github/workflows/build.yml b/includes/vendor/cerdic/css-tidy/.github/workflows/build.yml
deleted file mode 100644
index 01301af4..00000000
--- a/includes/vendor/cerdic/css-tidy/.github/workflows/build.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-name: Build
-on:
- push:
- branches:
- - master
- pull_request:
- branches:
- - master
-jobs:
- build:
- name: PHP ${{ matrix.php-versions }} ${{ matrix.composer-args }}
- strategy:
- fail-fast: false
- matrix:
- operating-system: [ubuntu-latest]
- php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
- composer-args: ['', '--prefer-lowest']
- runs-on: ${{ matrix.operating-system }}
- steps:
- - name: Checkout
- uses: actions/checkout@v1
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: ${{ matrix.php-versions }}
- - name: Install Dependencies
- run: |
- composer update --no-progress --no-suggest --prefer-stable --optimize-autoloader ${{ matrix.composer-args }}
- - name: Test
- run: cd testing && php unit-tests.php
diff --git a/includes/vendor/cerdic/css-tidy/.gitignore b/includes/vendor/cerdic/css-tidy/.gitignore
deleted file mode 100644
index 8ed974df..00000000
--- a/includes/vendor/cerdic/css-tidy/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-testing/simpletest*
-testing/Text*
-nbproject*
-.idea
-vendor/
-composer.lock
-.unlock_css_optimiser
diff --git a/includes/vendor/cerdic/css-tidy/COPYING b/includes/vendor/cerdic/css-tidy/COPYING
deleted file mode 100644
index 623b9576..00000000
--- a/includes/vendor/cerdic/css-tidy/COPYING
+++ /dev/null
@@ -1,177 +0,0 @@
-GNU LESSER GENERAL PUBLIC LICENSE
-
-Version 2.1, February 1999
-
-Copyright (C) 1991, 1999 Free Software Foundation, Inc.
-51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-Everyone is permitted to copy and distribute verbatim copies
-of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL. It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
-Preamble
-
-The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.
-
-This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below.
-
-When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things.
-
-To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it.
-
-For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights.
-
-We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library.
-
-To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others.
-
-Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license.
-
-Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.
-
-When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.
-
-We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.
-
-For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License.
-
-In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system.
-
-Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library.
-
-The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run.
-
-TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you".
-
-A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.
-
-The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".)
-
-"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.
-
-Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does.
-
-1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library.
-
-You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
-
-2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
-
- * a) The modified work must itself be a software library.
- * b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change.
- * c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License.
- * d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful.
-
- (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
-
-3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices.
-
-Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy.
-
-This option is useful when you wish to copy part of the code of the Library into a program that is not a library.
-
-4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.
-
-If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.
-
-5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.
-
-However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.
-
-When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law.
-
-If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)
-
-Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself.
-
-6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications.
-
-You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things:
-
- * a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.)
- * b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with.
- * c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution.
- * d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place.
- * e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy.
-
-For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
-
-It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute.
-
-7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things:
-
- * a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above.
- * b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
-
-8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
-
-9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it.
-
-10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License.
-
-11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
-
-This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
-
-12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
-
-13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation.
-
-14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
-
-NO WARRANTY
-
-15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-END OF TERMS AND CONDITIONS
-How to Apply These Terms to Your New Libraries
-
-If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License).
-
-To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
-
-one line to give the library's name and an idea of what it does.
-Copyright (C) year name of author
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Lesser General Public License for more details.
-
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
-Also add information on how to contact you by electronic and paper mail.
-
-You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names:
-
-Yoyodyne, Inc., hereby disclaims all copyright interest in
-the library `Frob' (a library for tweaking knobs) written
-by James Random Hacker.
-
-signature of Ty Coon, 1 April 1990
-Ty Coon, President of Vice
diff --git a/includes/vendor/cerdic/css-tidy/Docs/__filesource/fsource_csstidy__class.csstidy.php.html b/includes/vendor/cerdic/css-tidy/Docs/__filesource/fsource_csstidy__class.csstidy.php.html
deleted file mode 100644
index 4a02de2f..00000000
--- a/includes/vendor/cerdic/css-tidy/Docs/__filesource/fsource_csstidy__class.csstidy.php.html
+++ /dev/null
@@ -1,1038 +0,0 @@
-
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - Files: - - - Classes: - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - Files: - - - Classes: - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - Files: - - - Classes: - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - Files: - - - Classes: - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - Files: - - - Classes: - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - Files: - - - Classes: - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - Files: - - - Classes: - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - Files: - - - Classes: - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - Files: - - - Classes: - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - Files: - - - Classes: - - |
-
-
|
-
csstidy | -
- [ class tree: csstidy ] - [ index: csstidy ] - [ all elements ] - | -
-
-
-
- Packages:- csstidy - - - |
-
-
|
-
";
- $output .= $this->formatted();
- $output .= '
' . "\n" . '';
- return $this->output_css_plain;
- }
-
- /**
- * Returns the formatted CSS Code and saves it into $this->output_css and $this->output_css_plain
- * @param bool $plain plain text or not
- * @param string $default_media default @media to add to selectors without any @media
- * @access private
- * @version 2.0
- */
- public function _print($plain = false, $default_media='') {
- if ($this->output_css && $this->output_css_plain) {
- return;
- }
-
- $output = '';
- if (!$this->parser->get_cfg('preserve_css')) {
- $this->_convert_raw_css($default_media);
- }
-
- $template = & $this->template;
-
- if ($plain) {
- $template = array_map('strip_tags', $template);
- }
-
- if ($this->parser->get_cfg('timestamp')) {
- array_unshift($this->tokens, array(COMMENT, ' CSSTidy ' . $this->parser->version . ': ' . date('r') . ' '));
- }
-
- if (!empty($this->charset)) {
- $output .= $template[0] . '@charset ' . $template[5] . $this->charset . $template[6] . $template[13];
- }
-
- if (!empty($this->import)) {
- for ($i = 0, $size = count($this->import); $i < $size; $i++) {
- if (substr($this->import[$i], 0, 4) === 'url(' && substr($this->import[$i], -1, 1) === ')') {
- $this->import[$i] = '"' . substr($this->import[$i], 4, -1) . '"';
- $this->parser->log('Optimised @import : Removed "url("', 'Information');
- }
- else if (!preg_match('/^".+"$/',$this->import[$i])) {
- // fixes a bug for @import ".." instead of the expected @import url("..")
- // If it comes in due to @import ".." the "" will be missing and the output will become @import .. (which is an error)
- $this->import[$i] = '"' . $this->import[$i] . '"';
- }
-
- $output .= $template[0] . '@import ' . $template[5] . $this->import[$i] . $template[6] . $template[13];
- }
- }
-
- if (!empty($this->namespace)) {
- if (($p=strpos($this->namespace,"url("))!==false && substr($this->namespace, -1, 1) === ')') {
- $this->namespace = substr_replace($this->namespace,'"',$p,4);
- $this->namespace = substr($this->namespace, 0, -1) . '"';
- $this->parser->log('Optimised @namespace : Removed "url("', 'Information');
- }
- $output .= $template[0] . '@namespace ' . $template[5] . $this->namespace . $template[6] . $template[13];
- }
-
- $in_at_out = [];
- $out = & $output;
- $indent_level = 0;
-
- foreach ($this->tokens as $key => $token) {
- switch ($token[0]) {
- case AT_START:
- $out .= $template[0] . $this->_htmlsp($token[1], $plain) . $template[1];
- $indent_level++;
- if (!isset($in_at_out[$indent_level])) {
- $in_at_out[$indent_level] = '';
- }
- $out = & $in_at_out[$indent_level];
- break;
-
- case SEL_START:
- if ($this->parser->get_cfg('lowercase_s'))
- $token[1] = strtolower($token[1]);
- $out .= ( $token[1][0] !== '@') ? $template[2] . $this->_htmlsp($token[1], $plain) : $template[0] . $this->_htmlsp($token[1], $plain);
- $out .= $template[3];
- break;
-
- case PROPERTY:
- if ($this->parser->get_cfg('case_properties') === 2) {
- $token[1] = strtoupper($token[1]);
- } elseif ($this->parser->get_cfg('case_properties') === 1) {
- $token[1] = strtolower($token[1]);
- }
- $out .= $template[4] . $this->_htmlsp($token[1], $plain) . ':' . $template[5];
- break;
-
- case VALUE:
- $out .= $this->_htmlsp($token[1], $plain);
- if ($this->_seeknocomment($key, 1) == SEL_END && $this->parser->get_cfg('remove_last_;')) {
- $out .= str_replace(';', '', $template[6]);
- } else {
- $out .= $template[6];
- }
- break;
-
- case SEL_END:
- $out .= $template[7];
- if ($this->_seeknocomment($key, 1) != AT_END)
- $out .= $template[8];
- break;
-
- case AT_END:
- if (strlen($template[10])) {
- // indent the bloc we are closing
- $out = str_replace("\n\n", "\r\n", $out); // don't fill empty lines
- $out = str_replace("\n", "\n" . $template[10], $out);
- $out = str_replace("\r\n", "\n\n", $out);
- }
- if ($indent_level > 1) {
- $out = & $in_at_out[$indent_level-1];
- }
- else {
- $out = & $output;
- }
- $out .= $template[10] . $in_at_out[$indent_level];
- if ($this->_seeknocomment($key, 1) != AT_END) {
- $out .= $template[9];
- }
- else {
- $out .= rtrim($template[9]);
- }
-
- unset($in_at_out[$indent_level]);
- $indent_level--;
- break;
-
- case IMPORTANT_COMMENT:
- case COMMENT:
- $out .= $template[11] . '/*' . $this->_htmlsp($token[1], $plain) . '*/' . $template[12];
- break;
- }
- }
-
- $output = trim($output);
-
- if (!$plain) {
- $this->output_css = $output;
- $this->_print(true);
- } else {
- // If using spaces in the template, don't want these to appear in the plain output
- $this->output_css_plain = str_replace(' ', '', $output);
- }
- }
-
- /**
- * Gets the next token type which is $move away from $key, excluding comments
- * @param integer $key current position
- * @param integer $move move this far
- * @return mixed a token type
- * @access private
- * @version 1.0
- */
- public function _seeknocomment($key, $move) {
- $go = ($move > 0) ? 1 : -1;
- for ($i = $key + 1; abs($key - $i) - 1 < abs($move); $i += $go) {
- if (!isset($this->tokens[$i])) {
- return;
- }
- if ($this->tokens[$i][0] == COMMENT) {
- $move += 1;
- continue;
- }
- return $this->tokens[$i][0];
- }
- }
-
- /**
- * Converts $this->css array to a raw array ($this->tokens)
- * @param string $default_media default @media to add to selectors without any @media
- * @access private
- * @version 1.0
- */
- public function _convert_raw_css($default_media='') {
- $this->tokens = array();
- $sort_selectors = $this->parser->get_cfg('sort_selectors');
- $sort_properties = $this->parser->get_cfg('sort_properties');
-
- // important comment section ?
- if (isset($this->css['!'])) {
- $this->parser->_add_token(IMPORTANT_COMMENT, rtrim($this->css['!']), true);
- unset($this->css['!']);
- }
-
- foreach ($this->css as $medium => $val) {
- if ($sort_selectors)
- ksort($val);
- if (intval($medium) < DEFAULT_AT) {
- // un medium vide (contenant @font-face ou autre @) ne produit aucun conteneur
- if (strlen(trim($medium))) {
- $parts_to_open = explode('{', $medium);
- foreach ($parts_to_open as $part) {
- $this->parser->_add_token(AT_START, $part, true);
- }
- }
- } elseif ($default_media) {
- $this->parser->_add_token(AT_START, $default_media, true);
- }
-
- foreach ($val as $selector => $vali) {
- if ($sort_properties)
- ksort($vali);
- $this->parser->_add_token(SEL_START, $selector, true);
-
- $invalid = array(
- '*' => array(), // IE7 hacks first
- '_' => array(), // IE6 hacks
- '/' => array(), // IE6 hacks
- '-' => array() // IE6 hacks
- );
- foreach ($vali as $property => $valj) {
- if (strncmp($property,"//",2)!==0) {
- $matches = array();
- if ($sort_properties && preg_match('/^(\*|_|\/|-)(?!(ms|moz|o\b|xv|atsc|wap|khtml|webkit|ah|hp|ro|rim|tc)-)/', $property, $matches)) {
- $invalid[$matches[1]][$property] = $valj;
- } else {
- $this->parser->_add_token(PROPERTY, $property, true);
- $this->parser->_add_token(VALUE, $valj, true);
- }
- }
- }
- foreach ($invalid as $prefix => $props) {
- foreach ($props as $property => $valj) {
- $this->parser->_add_token(PROPERTY, $property, true);
- $this->parser->_add_token(VALUE, $valj, true);
- }
- }
- $this->parser->_add_token(SEL_END, $selector, true);
- }
-
- if (intval($medium) < DEFAULT_AT) {
- // un medium vide (contenant @font-face ou autre @) ne produit aucun conteneur
- if (strlen(trim($medium))) {
- $parts_to_close = explode('{', $medium);
- foreach (array_reverse($parts_to_close) as $part) {
- $this->parser->_add_token(AT_END, $part, true);
- }
- }
- } elseif ($default_media) {
- $this->parser->_add_token(AT_END, $default_media, true);
- }
- }
- }
-
- /**
- * Same as htmlspecialchars, only that chars are not replaced if $plain !== true. This makes print_code() cleaner.
- * @param string $string
- * @param bool $plain
- * @return string
- * @see csstidy_print::_print()
- * @access private
- * @version 1.0
- */
- public function _htmlsp($string, $plain) {
- if (!$plain) {
- return htmlspecialchars($string, ENT_QUOTES, 'utf-8');
- }
- return $string;
- }
-
- /**
- * Get compression ratio
- * @access public
- * @return float
- * @version 1.2
- */
- public function get_ratio() {
- if (!$this->output_css_plain) {
- $this->formatted();
- }
- return round((strlen($this->input_css) - strlen($this->output_css_plain)) / strlen($this->input_css), 3) * 100;
- }
-
- /**
- * Get difference between the old and new code in bytes and prints the code if necessary.
- * @access public
- * @return string
- * @version 1.1
- */
- public function get_diff() {
- if (!$this->output_css_plain) {
- $this->formatted();
- }
-
- $diff = strlen($this->output_css_plain) - strlen($this->input_css);
-
- if ($diff > 0) {
- return '+' . $diff;
- } elseif ($diff == 0) {
- return '+-' . $diff;
- }
-
- return $diff;
- }
-
- /**
- * Get the size of either input or output CSS in KB
- * @param string $loc default is "output"
- * @access public
- * @return integer
- * @version 1.0
- */
- public function size($loc = 'output') {
- if ($loc === 'output' && !$this->output_css) {
- $this->formatted();
- }
-
- if ($loc === 'input') {
- return (strlen($this->input_css) / 1000);
- } else {
- return (strlen($this->output_css_plain) / 1000);
- }
- }
-
-}
diff --git a/includes/vendor/cerdic/css-tidy/composer.json b/includes/vendor/cerdic/css-tidy/composer.json
deleted file mode 100644
index 8bf567bc..00000000
--- a/includes/vendor/cerdic/css-tidy/composer.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "name": "cerdic/css-tidy",
- "description": "CSSTidy is a CSS minifier",
- "license": "LGPL-2.1-or-later",
- "authors": [
- {
- "name": "Cédric MORIN",
- "email": "changeme@mailinator.com"
- }
- ],
- "repositories": [
- {
- "type": "vcs",
- "url": "https://github.com/pear/Text_Diff",
- "no-api": true
- }
- ],
- "autoload": {
- "classmap": [
- "class.csstidy_optimise.php",
- "class.csstidy_print.php",
- "class.csstidy.php"
- ]
- },
- "autoload-dev": {
- "classmap": [
- "testing"
- ]
- },
- "require": {
- "php": "^7.1 || ^8"
- },
- "require-dev": {
- "pear/text_diff": "^1.2",
- "simpletest/simpletest": "dev-master"
- },
- "bin": ["bin/pcsstidy"],
- "archive": {
- "exclude": [
- "/.gitignore",
- "/.travis.yml",
- "/testing"
- ]
- }
-}
diff --git a/includes/vendor/cerdic/css-tidy/css_optimiser.php b/includes/vendor/cerdic/css-tidy/css_optimiser.php
deleted file mode 100644
index 7c9faf72..00000000
--- a/includes/vendor/cerdic/css-tidy/css_optimiser.php
+++ /dev/null
@@ -1,459 +0,0 @@
-.
- *
- * @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
- * @package csstidy
- * @author Florian Schmitz (floele at gmail dot com) 2005-2007
- * @author Brett Zamir (brettz9 at yahoo dot com) 2007
- */
-
-require('class.csstidy.php');
-require('lang.inc.php');
-
-if (!file_exists(__DIR__ . DIRECTORY_SEPARATOR . ".unlock_css_optimiser")) {
- print 'Access Denied. Add a file `.unlock_css_optimiser` to the directory to unlock css_optimiser';
- exit;
-}
-
-
-if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
- if (isset($_REQUEST['css_text'])) {
- $_REQUEST['css_text'] = stripslashes($_REQUEST['css_text']);
- }
- if (isset($_REQUEST['custom'])) {
- $_REQUEST['custom'] = stripslashes($_REQUEST['custom']);
- }
- if (isset($_COOKIE['custom_template'])) {
- $_COOKIE['custom_template'] = stripslashes($_COOKIE['custom_template']);
- }
-}
-
-function rmdirr($dirname,$oc=0)
-{
- // Sanity check
- if (!file_exists($dirname)) {
- return false;
- }
- // Simple delete for a file
- if (is_file($dirname) && (time()-fileatime($dirname))>3600) {
- return unlink($dirname);
- }
- // Loop through the folder
- if (is_dir($dirname)) {
- $dir = dir($dirname);
- while (false !== $entry = $dir->read()) {
- // Skip pointers
- if ($entry === '.' || $entry === '..') {
- continue;
- }
- // Recurse
- rmdirr($dirname.'/'.$entry,$oc);
- }
- $dir->close();
- }
- // Clean up
- if ($oc==1) {
- return rmdir($dirname);
- }
-}
-
-function options($options, $selected = null, $labelIsValue = false)
-{
- $html = '';
-
- settype($selected, 'array');
- settype($options, 'array');
-
- foreach ($options as $value=>$label) {
- if (is_array($label)) {
- $value = $label[0];
- $label = $label[1];
- }
- $label = htmlspecialchars($label, ENT_QUOTES, 'utf-8');
- $value = $labelIsValue ? $label
- : htmlspecialchars($value, ENT_QUOTES, 'utf-8');
-
- $html .= '';
- }
-
- return $html;
-}
-
-$css = new csstidy();
-$is_custom = isset($_REQUEST['custom']) && !empty($_REQUEST['custom']) && isset($_REQUEST['template']) && ($_REQUEST['template'] === '4');
-if ($is_custom)
-{
- setcookie ('custom_template', $_REQUEST['custom'], time()+360000);
-}
-
-rmdirr('temp');
-
-if (isset($_REQUEST['case_properties'])) $css->set_cfg('case_properties',$_REQUEST['case_properties']);
-if (isset($_REQUEST['lowercase'])) $css->set_cfg('lowercase_s',true);
-if (!isset($_REQUEST['compress_c']) && isset($_REQUEST['post'])) $css->set_cfg('compress_colors',false);
-if (!isset($_REQUEST['compress_fw']) && isset($_REQUEST['post'])) $css->set_cfg('compress_font-weight',false);
-if (isset($_REQUEST['merge_selectors'])) $css->set_cfg('merge_selectors', $_REQUEST['merge_selectors']);
-if (isset($_REQUEST['optimise_shorthands'])) $css->set_cfg('optimise_shorthands',$_REQUEST['optimise_shorthands']);
-if (!isset($_REQUEST['rbs']) && isset($_REQUEST['post'])) $css->set_cfg('remove_bslash',false);
-if (isset($_REQUEST['preserve_css'])) $css->set_cfg('preserve_css',true);
-if (isset($_REQUEST['sort_sel'])) $css->set_cfg('sort_selectors',true);
-if (isset($_REQUEST['sort_de'])) $css->set_cfg('sort_properties',true);
-if (isset($_REQUEST['remove_last_sem'])) $css->set_cfg('remove_last_;',true);
-if (isset($_REQUEST['discard'])) $css->set_cfg('discard_invalid_properties',true);
-if (isset($_REQUEST['css_level'])) $css->set_cfg('css_level',$_REQUEST['css_level']);
-if (isset($_REQUEST['timestamp'])) $css->set_cfg('timestamp',true);
-if (isset($_REQUEST['rtl'])) $css->set_cfg('reverse_left_and_right',true);
-
-
-// This by itself is enough since our scripts don't use DOM to create elements (in which case the namespace aware ones
-// should be used when serving as application/xhtml+xml but not when served as text/html ;
-// also, case will be different when retrieving element names, as HTML DOM returns in upper case,
-// genuine XHTML DOM (when XHTML served as such) as lower
-if (stristr($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml')) {
- $http_accept = 'application/xhtml+xml';
-} elseif (stristr($_SERVER['HTTP_ACCEPT'], 'application/xml')) {
- $http_accept = 'application/xml';
-} elseif (stristr($_SERVER['HTTP_ACCEPT'], 'text/xml')) {
- $http_accept = 'text/xml';
-} elseif (stristr($_SERVER['HTTP_USER_AGENT'], 'Opera ') || stristr($_SERVER['HTTP_USER_AGENT'], 'Opera/')) {
- preg_match('@Opera/(\d)@', $_SERVER['HTTP_USER_AGENT'], $matches);
- if (isset($matches[1]) && $matches[1] >= 7) {
- $http_accept = 'application/xhtml+xml';
- } else {
- $http_accept = 'text/html';
- }
-} else {
- $http_accept = 'text/html';
-}
-
-header('Content-Type: '.$http_accept.'; charset=utf-8');
-
-if ($http_accept === 'text/html') {
-
-?>
-
-
-
-
- - : English Deutsch French Chinese
-- -
- - - load_template($_REQUEST['custom'],false); - } - break; - - case 3: - $css->load_template('highest_compression'); - break; - - case 2: - $css->load_template('high_compression'); - break; - - case 0: - $css->load_template('low_compression'); - break; - } - } - - if ($url) { - if (substr($_REQUEST['url'],0,7) !== 'http://') { - $_REQUEST['url'] = 'http://'.$_REQUEST['url']; - } - $result = $css->parse_from_url($_REQUEST['url'],0); - } elseif (isset($_REQUEST['css_text']) && strlen($_REQUEST['css_text'])>5) { - $result = $css->parse($_REQUEST['css_text']); - } - - if ($result) { - $ratio = $css->print->get_ratio(); - $diff = $css->print->get_diff(); - if (isset($_REQUEST['file_output'])) { - $filename = md5(mt_rand().time().mt_rand()); - if (!is_dir('temp')) { - $madedir = mkdir('temp'); - if (!$madedir) { - print 'Could not make directory "temp" in '.dirname(__FILE__); - exit; - } - } - $handle = fopen('temp/'.$filename.'.css','w'); - if ($handle) { - if (fwrite($handle,$css->print->plain())) { - $file_ok = true; - } - } - fclose($handle); - } - if ($ratio>0) $ratio = ''.$ratio.'% - ('.$diff.' Bytes)'; else $ratio = ''.$ratio.'% ('.$diff.' Bytes)'; - if (count($css->log) > 0): ?> - - ' - , ''
- , $css->print->formatted()
- , '
',$lang[$l][28],'
'; - } - ?> - - - \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/cssparse.css b/includes/vendor/cerdic/css-tidy/cssparse.css deleted file mode 100644 index 95d9d4bc..00000000 --- a/includes/vendor/cerdic/css-tidy/cssparse.css +++ /dev/null @@ -1,119 +0,0 @@ -@import "cssparsed.css"; - -html,body { -font:.8em Verdana,Helvetica,sans-serif; -background:#f8f8f6 -} - -code { -font-size:1.2em -} - -div#rightcol { -padding-left:32em -} - -fieldset { -display:block; -margin:.5em 0; -padding:1em; -border:solid #7284ab 2px -} - -fieldset.code_output { -display:inline -} - -h1 { -font-size:2em -} - -small { -font-size:.7em -} - -fieldset#field_input { -float:left; -margin:0 .5em 1em 0 -} - -fieldset#options,fieldset#code_layout { -width:31em -} - -input#submit { -clear:both; -display:block; -margin:1em -} - -select { -margin:2px 0 0 -} - -label.block { -display:block -} - -legend { -background:#c4e1c3; -padding:2px 4px; -border:dashed 1px -} - -textarea#css_text { -width:27em; -height:370px; -display:block; -margin-right:1em -} - -.help { -cursor:help -} - -p.important { -border:solid 1px red; -font-weight:700; -padding:1em; -background:#fff -} - -p { -margin:1em 0 -} - -dl { -padding-left:.5em -} - -dt { -font-weight:700; -margin:0; -float:left; -clear:both; -height:1.5em -} - -dd { -margin:0 0 0 4em; -height:1.5em -} - -fieldset#messages { -background:#fff; -padding:0 0 0 1em -} - -fieldset#messages div { -height:10em; -overflow:auto -} - -dd.Warning { -color:orange -} - -dd.Information { -color:green -} \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/cssparsed.css b/includes/vendor/cerdic/css-tidy/cssparsed.css deleted file mode 100644 index a3bcedb2..00000000 --- a/includes/vendor/cerdic/css-tidy/cssparsed.css +++ /dev/null @@ -1,29 +0,0 @@ -code#copytext { -white-space:pre; -font-family:Verdana -} - -.at { -color:#00008b -} - -.format { -color:gray -} - -.property { -color:green -} - -.selector { -color:blue -} - -.value { -color:red; -left:500px -} - -.comment { -color:orange -} \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/data.inc.php b/includes/vendor/cerdic/css-tidy/data.inc.php deleted file mode 100644 index 8e1a3aa3..00000000 --- a/includes/vendor/cerdic/css-tidy/data.inc.php +++ /dev/null @@ -1,650 +0,0 @@ -?[]^`|~'; - -/** - * All CSS units (CSS 3 units included) - * - * @see compress_numbers() - * @global array $data['csstidy']['units'] - * @version 1.0 - */ -$data['csstidy']['units'] = array('in','cm','mm','pt','pc','px','rem','em','%','ex','gd','vw','vh','vm','deg','grad','rad','turn','ms','s','khz','hz','ch','vmin','vmax','dpi','dpcm','dppx'); - -/** - * Available at-rules - * - * @global array $data['csstidy']['at_rules'] - * @version 1.1 - */ -$data['csstidy']['at_rules'] = array('page' => 'is','font-face' => 'atis','charset' => 'iv', 'import' => 'iv','namespace' => 'iv','media' => 'at', 'supports' => 'at', 'keyframes' => 'at','-moz-keyframes' => 'at','-o-keyframes' => 'at','-webkit-keyframes' => 'at','-ms-keyframes' => 'at'); - - /** - * Properties that need a value with unit - * - * @todo CSS3 properties - * @see compress_numbers(); - * @global array $data['csstidy']['unit_values'] - * @version 1.2 - */ -$data['csstidy']['unit_values'] = array ('background', 'background-position', 'background-size', 'border', 'border-top', 'border-right', 'border-bottom', 'border-left', 'border-width', - 'border-top-width', 'border-right-width', 'border-left-width', 'border-bottom-width', 'bottom', 'border-spacing', 'column-gap', 'column-width', - 'font-size', 'height', 'left', 'margin', 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', 'max-height', - 'max-width', 'min-height', 'min-width', 'outline', 'outline-width', 'padding', 'padding-top', 'padding-right', - 'padding-bottom', 'padding-left', 'perspective', 'right', 'top', 'text-indent', 'letter-spacing', 'word-spacing', 'width'); - -/** - * Properties that allow'. htmlspecialchars(implode("\n", $lines)) .'
'. htmlspecialchars(implode("\n", $lines)) .'
'. htmlspecialchars(implode("\n", $lines)) .'
'. htmlspecialchars(implode("\n", $lines)) .'
'. htmlspecialchars(implode("\n", $orig)) .'
'. htmlspecialchars(implode("\n", $final)) .'
'. htmlspecialchars($this->css) .''; - $diff = new Text_Diff( - 'auto', - array( - explode("\n", $this->print?$this->expect:var_export($this->expect,true)), - explode("\n", $this->print?$this->actual:var_export($this->actual,true)) - ) - ); - $renderer = new Text_Diff_Renderer_parallel(); - $renderer->original = 'Expected'; - $renderer->final = 'Actual'; - $message .= $renderer->render($diff); - return $message; - } -} diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/class.csstidy_harness.php b/includes/vendor/cerdic/css-tidy/testing/unit-tests/class.csstidy_harness.php deleted file mode 100644 index 097f6280..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/class.csstidy_harness.php +++ /dev/null @@ -1,21 +0,0 @@ -css[41] - -Note carefully that EXPECT is for csstidy->css[41], not csstidy->css. This -is because, by default, all declarations are placed inside the -DEFAULT_AT section. For tests that need to make use of at selectors, use - ---FULLEXPECT-- -var_export() representation of csstidy->css - -...instead. - -See also: class.csstidy_csst.php (the implementation of these tests) and -test.csst.php (the caller stub for SimpleTest) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-indent-high.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-indent-high.csst deleted file mode 100644 index c101df40..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-indent-high.csst +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -Test @media aspect-ratio directive ---CSS-- -@media (max-width: 767px) { - h1{ - font-size: 2em; - } - h2{font-size: 1.5em;} -} ---PRINT-- -@media (max-width: 767px) { -h1{font-size:2em} -h2{font-size:1.5em} -} ---SETTINGS-- -template='high' diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-indent-low.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-indent-low.csst deleted file mode 100644 index 5b45c8d7..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-indent-low.csst +++ /dev/null @@ -1,23 +0,0 @@ ---TEST-- -Test @media aspect-ratio directive ---CSS-- -@media (max-width: 767px) { - h1{ - font-size: 2em; - } - h2{font-size: 1.5em;} -} ---PRINT-- -@media (max-width: 767px) { - h1 - { - font-size:2em - } - - h2 - { - font-size:1.5em - } -} ---SETTINGS-- -template='low' diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-nested-low.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-nested-low.csst deleted file mode 100644 index 489c1ee4..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-nested-low.csst +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -Test @media nesting ---CSS-- -@media print { - #navigation { display: none } - @media (max-width: 12cm) { - .note { float: none } - } - .red { color: red } -} -#yellow { - color:yellow; -} ---PRINT-- -@media print { - #navigation - { - display:none - } - - @media (max-width: 12cm) { - .note - { - float:none - } - } - - .red - { - color:red - } -} - -#yellow -{ - color:#ff0 -} ---SETTINGS-- -template='low' diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-proportion.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-proportion.csst deleted file mode 100644 index 95d62be3..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atmedia-proportion.csst +++ /dev/null @@ -1,14 +0,0 @@ ---TEST-- -Test @media aspect-ratio directive ---CSS-- -@media(aspect-ratio:600/300){ - body{border:0} -} ---PRINT-- -@media(aspect-ratio:600/300) { -body{border:0} -} ---SETTINGS-- -template='high' -sort_properties=false -sort_selectors=false diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atvalues.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atvalues.csst deleted file mode 100644 index e5ee74bc..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/atvalues.csst +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -Test @import directive ---CSS-- -@import url('../thematic/library/styles/reset.css'); -@namespace foo url("http://www.example.com/"); -@charset "Shift-JIS"; - -/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+ -Edited by Daz - http://www.forumimages.com - last updated 26-06-03 */ -/* The content of the posts (body of text) */ -/* General page style */ - -/* begin suggest post */ -.float-l { - float : left ; -} ---PRINT-- -@charset "Shift-JIS"; -@import "../thematic/library/styles/reset.css"; -@namespace foo "http://www.example.com/"; -@media screen { -.float-l{float:left} -} ---SETTINGS-- -template='high' -sort_properties=false -sort_selectors=false -default_media="@media screen" \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/custom-properties.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/custom-properties.csst deleted file mode 100644 index 98eb4d33..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/custom-properties.csst +++ /dev/null @@ -1,19 +0,0 @@ ---TEST-- -Custom Properties ---CSS-- -:root { - --color: red; - --blue: red; - --color: white; -} ---PRINT-- -:root -{ - --color:red; - --blue:red; - --color:#fff -} ---SETTINGS-- -template='low' -discard_invalid_properties = 1 -css_level='CSS3.0' diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/font-face-atmedia-2.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/font-face-atmedia-2.csst deleted file mode 100644 index fd15fde7..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/font-face-atmedia-2.csst +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -Test simple CSS print ---CSS-- -/** **/ -@font-face { - font-family: 'GenerikaRegular'; - src: url('../fonts/generikaregular-webfont.eot'); - src: url('../fonts/generikaregular-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/generikaregular-webfont.woff') format('woff'), - url('../fonts/generikaregular-webfont.ttf') format('truetype'), - url('../fonts/generikaregular-webfont.svg#GenerikaRegular') format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'GenerikaLight'; - src: url('../fonts/generikalight-webfont.eot'); - src: url('../fonts/generikalight-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/generikalight-webfont.woff') format('woff'), - url('../fonts/generikalight-webfont.ttf') format('truetype'), - url('../fonts/generikalight-webfont.svg#GenerikaLight') format('svg'); - font-weight: normal; - font-style: normal; -} - -p { border: none;} - ---PRINT-- -@font-face{font-family:'GenerikaRegular';src:url(../fonts/generikaregular-webfont.eot);src:url(../fonts/generikaregular-webfont.eot?#iefix) format("embedded-opentype"),url(../fonts/generikaregular-webfont.woff) format("woff"),url(../fonts/generikaregular-webfont.ttf) format("truetype"),url(../fonts/generikaregular-webfont.svg#GenerikaRegular) format("svg");font-weight:400;font-style:normal} -@font-face{font-family:'GenerikaLight';src:url(../fonts/generikalight-webfont.eot);src:url(../fonts/generikalight-webfont.eot?#iefix) format("embedded-opentype"),url(../fonts/generikalight-webfont.woff) format("woff"),url(../fonts/generikalight-webfont.ttf) format("truetype"),url(../fonts/generikalight-webfont.svg#GenerikaLight) format("svg");font-weight:400;font-style:normal} -@media screen { -p{border:none} -} ---SETTINGS-- -template='high' -sort_properties=false -sort_selectors=false -default_media="@media screen" \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/font-face-atmedia.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/font-face-atmedia.csst deleted file mode 100644 index 5a17febe..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/font-face-atmedia.csst +++ /dev/null @@ -1,56 +0,0 @@ ---TEST-- -Test simple CSS print ---CSS-- -/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+ -Edited by Daz - http://www.forumimages.com - last updated 26-06-03 */ -/* The content of the posts (body of text) */ -/* General page style */ - -/* begin suggest post */ -.float-l { - float : left ; -} - -@font-face { -font-family: GillSans; -src:url("/generic/fonts/GillSansC.otf") format('opentype'); -font-style: normal; -font-weight: bold; -} - -.font-9{ - font-size: 11px; - } - -@media print { -.font-9{ - font-size: 9px; - } -} - -.form-suggest { -height : 200px ; -background : #DEE2D0 ; -vertical-align : top; -} - - ---PRINT-- -@media screen { -.float-l{float:left} -} -@font-face{font-family:GillSans;src:url(/generic/fonts/GillSansC.otf) format("opentype");font-style:normal;font-weight:700} -@media screen { -.font-9{font-size:11px} -} -@media print { -.font-9{font-size:9px} -} -@media screen { -.form-suggest{height:200px;background:#DEE2D0;vertical-align:top} -} ---SETTINGS-- -template='high' -sort_properties=false -sort_selectors=false -default_media="@media screen" \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/ie-hacks.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/ie-hacks.csst deleted file mode 100644 index 18ac246b..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/ie-hacks.csst +++ /dev/null @@ -1,30 +0,0 @@ ---TEST-- -IE Hacks Issue/5 ---SETTINGS-- -discard_invalid_properties = 0 ---CSS-- -fakeList a { -width: 100%; -display: block; -height: 30px; -padding-top: 2px; --padding-top: 0; -line-height:18px; -*line-height:17; -/line-height:none; -// background-image: url(images/cellpic3.gif); /* should be ignored */ -_background-image: url(/ttt/gf.gif); -} ---PRINT-- -fakeList a { -width:100%; -display:block; -height:30px; -padding-top:2px; --padding-top:0; -line-height:18px; -*line-height:17; -/line-height:none; -_background-image:url(/ttt/gf.gif) -} ---SETTINGS-- \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/import.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/import.csst deleted file mode 100644 index f98082f0..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/import.csst +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -Test @import directive ---CSS-- -@import url("my.css"); -@import url('my.css'); -@import url(my.css); -@import "my.css"; -@import 'my.css'; ---PRINT-- -@import "my.css"; - -@import "my.css"; - -@import "my.css"; - -@import "my.css"; - -@import "my.css"; ---SETTINGS-- -template='low' diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/keyframes.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/keyframes.csst deleted file mode 100644 index d434debb..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/keyframes.csst +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -@keyframes with 0% ---CSS-- -@keyframes myanimation { - 0% { opacity: 0; } - 100% { opacity: 1; } -} ---PRINT-- -@keyframes myanimation { -0%{opacity:0} -100%{opacity:1} -} ---SETTINGS-- -template='high' -sort_properties=false -sort_selectors=false diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/keyframes2.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/keyframes2.csst deleted file mode 100644 index 09db83c3..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/keyframes2.csst +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -issues #48 ---CSS-- -@keyframes blink { - 0% { background: #7e7; } - 50% { background: none; } - 100% { background: #7e7; } -} ---PRINT-- -@keyframes blink { -0%{background:#7e7} -50%{background:none} -100%{background:#7e7} -} ---SETTINGS-- -template='high' -sort_properties=false -sort_selectors=false diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/selector-commented.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/selector-commented.csst deleted file mode 100644 index 969b7929..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/selector-commented.csst +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -Test comments in selector ---CSS-- -/* ici */ -.cartouche, -/*.liste h2,*/ -.liste-items { - padding: 30px; -} ---PRINT-- -.cartouche,/*.liste h2,*/ -.liste-items { -padding:30px -} ---SETTINGS-- -template='default' -sort_properties=false -sort_selectors=false diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-default.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-default.csst deleted file mode 100644 index ae6f6ad4..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-default.csst +++ /dev/null @@ -1,79 +0,0 @@ ---TEST-- -Test simple CSS print ---CSS-- -/*! test.css v2 | Licence MIT http://www.forumimages.com */ -/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+ -Edited by Daz - http://www.forumimages.com - last updated 26-06-03 */ -/* The content of the posts (body of text) */ -/* General page style */ - - /* begin suggest post */ - .float-l { - float : left ; - } - - .form-suggest { - height : 200px ; - background : #DEE2D0 ; - vertical-align : top; - } - - .form-input input{ - font-size: 10px; - } - - .form-input textarea{ - font-size: 11px; - width: 350px; - } - - .form-label{ - font-size: 10px; - font-weight: bold; - line-height: 25px; - padding-right: 10px; - text-align: right; - width: 100px; - color: #39738F; - } - - .font-9{ - font-size: 9px; - } ---PRINT-- -/*! test.css v2 | Licence MIT http://www.forumimages.com*/ -.float-l { -float:left -} - -.form-suggest { -height:200px; -background:#DEE2D0; -vertical-align:top -} - -.form-input input { -font-size:10px -} - -.form-input textarea { -font-size:11px; -width:350px -} - -.form-label { -font-size:10px; -font-weight:700; -line-height:25px; -padding-right:10px; -text-align:right; -width:100px; -color:#39738F -} - -.font-9 { -font-size:9px -} ---SETTINGS-- -sort_properties=false -sort_selectors=false \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-high.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-high.csst deleted file mode 100644 index 520e27bb..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-high.csst +++ /dev/null @@ -1,54 +0,0 @@ ---TEST-- -Test simple CSS print ---CSS-- -/*! test.css v2 | Licence MIT http://www.forumimages.com */ -/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+ -Edited by Daz - http://www.forumimages.com - last updated 26-06-03 */ -/* The content of the posts (body of text) */ -/* General page style */ - - /* begin suggest post */ - .float-l { - float : left ; - } - - .form-suggest { - height : 200px ; - background : #DEE2D0 ; - vertical-align : top; - } - - .form-input input{ - font-size: 10px; - } - - .form-input textarea{ - font-size: 11px; - width: 350px; - } - - .form-label{ - font-size: 10px; - font-weight: bold; - line-height: 25px; - padding-right: 10px; - text-align: right; - width: 100px; - color: #39738F; - } - - .font-9{ - font-size: 9px; - } ---PRINT-- -/*! test.css v2 | Licence MIT http://www.forumimages.com*/ -.float-l{float:left} -.form-suggest{height:200px;background:#DEE2D0;vertical-align:top} -.form-input input{font-size:10px} -.form-input textarea{font-size:11px;width:350px} -.form-label{font-size:10px;font-weight:700;line-height:25px;padding-right:10px;text-align:right;width:100px;color:#39738F} -.font-9{font-size:9px} ---SETTINGS-- -template='high' -sort_properties=false -sort_selectors=false \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-highest.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-highest.csst deleted file mode 100644 index ad2fc3b5..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-highest.csst +++ /dev/null @@ -1,48 +0,0 @@ ---TEST-- -Test simple CSS print ---CSS-- -/*! test.css v2 | Licence MIT http://www.forumimages.com */ -/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+ -Edited by Daz - http://www.forumimages.com - last updated 26-06-03 */ -/* The content of the posts (body of text) */ -/* General page style */ - - /* begin suggest post */ - .float-l { - float : left ; - } - - .form-suggest { - height : 200px ; - background : #DEE2D0 ; - vertical-align : top; - } - - .form-input input{ - font-size: 10px; - } - - .form-input textarea{ - font-size: 11px; - width: 350px; - } - - .form-label{ - font-size: 10px; - font-weight: bold; - line-height: 25px; - padding-right: 10px; - text-align: right; - width: 100px; - color: #39738F; - } - - .font-9{ - font-size: 9px; - } ---PRINT-- -/*! test.css v2 | Licence MIT http://www.forumimages.com*/.float-l{float:left}.form-suggest{height:200px;background:#DEE2D0;vertical-align:top}.form-input input{font-size:10px}.form-input textarea{font-size:11px;width:350px}.form-label{font-size:10px;font-weight:700;line-height:25px;padding-right:10px;text-align:right;width:100px;color:#39738F}.font-9{font-size:9px} ---SETTINGS-- -template='highest' -sort_properties=false -sort_selectors=false \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-low.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-low.csst deleted file mode 100644 index 031e85db..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/simple-low.csst +++ /dev/null @@ -1,86 +0,0 @@ ---TEST-- -Test simple CSS print ---CSS-- -/*! test.css v2 | Licence MIT http://www.forumimages.com */ -/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+ -Edited by Daz - http://www.forumimages.com - last updated 26-06-03 */ -/* The content of the posts (body of text) */ -/* General page style */ - - /* begin suggest post */ - .float-l { - float : left ; - } - - .form-suggest { - height : 200px ; - background : #DEE2D0 ; - vertical-align : top; - } - - .form-input input{ - font-size: 10px; - } - - .form-input textarea{ - font-size: 11px; - width: 350px; - } - - .form-label{ - font-size: 10px; - font-weight: bold; - line-height: 25px; - padding-right: 10px; - text-align: right; - width: 100px; - color: #39738F; - } - - .font-9{ - font-size: 9px; - } ---PRINT-- -/*! test.css v2 | Licence MIT http://www.forumimages.com*/ -.float-l -{ - float:left -} - -.form-suggest -{ - height:200px; - background:#DEE2D0; - vertical-align:top -} - -.form-input input -{ - font-size:10px -} - -.form-input textarea -{ - font-size:11px; - width:350px -} - -.form-label -{ - font-size:10px; - font-weight:700; - line-height:25px; - padding-right:10px; - text-align:right; - width:100px; - color:#39738F -} - -.font-9 -{ - font-size:9px -} ---SETTINGS-- -template='low' -sort_properties=false -sort_selectors=false \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/support-atmedia-nested-low.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/support-atmedia-nested-low.csst deleted file mode 100644 index 5af64a4d..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/print-plain/support-atmedia-nested-low.csst +++ /dev/null @@ -1,67 +0,0 @@ ---TEST-- -Test @support and @media nesting ---CSS-- -.foo { - background: red; -} - -/* EXAMPLE A */ -@media (min-width: 50em) { - .foo { - background: green; - } - - @supports (flex-wrap: wrap) { - .foo { - background: blue; - } - } -} - -/* EXAMPLE B */ -@supports (flex-wrap: wrap) { - .foo { - background: green; - } - - @media (min-width: 50em) { - .foo { - background: blue; - } - } -} ---PRINT-- -.foo -{ - background:red -} - -@media (min-width: 50em) { - .foo - { - background:green - } - - @supports (flex-wrap: wrap) { - .foo - { - background:blue - } - } -} - -@supports (flex-wrap: wrap) { - .foo - { - background:green - } - - @media (min-width: 50em) { - .foo - { - background:blue - } - } -} ---SETTINGS-- -template='low' \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css1-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css1-rtl.csst deleted file mode 100644 index 4c9ae7c5..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css1-rtl.csst +++ /dev/null @@ -1,139 +0,0 @@ ---TEST-- -Test CSS1 properties ---CSS-- -a { - foo:rgb(0,0,0); - bar:black; - baz:#ffaabb; - qux:#f00; - quux:blanchedalmond; - quuux:rgb(0,0,1); - background:1; - background-color:1; - background-image:1; - background-repeat:1; - background-attachment:1; - background-position:1; - border:1; - border-top:1; - border-right:1; - border-bottom:1; - border-left:1; - border-color:1; - border-style:1; - border-width:1; - border-top-width:1; - border-right-width:1; - border-left-width:1; - border-bottom-width:1; - clear:1; - clip:1; - color:1; - display:1; - float:1; - font:1; - font-family:1; - font-style:1; - font-variant:1; - font-weight:1; - font-size:1; - height:1; - left:1; - line-height:1; - list-style:1; - list-style-type:1; - list-style-image:1; - list-style-position:1; - margin:1; - margin-top:1; - margin-right:1; - margin-bottom:1; - margin-left:1; - marks:1; - overflow:1; - padding:1; - padding-top:1; - padding-right:1; - padding-bottom:1; - padding-left:1; - page-break-before:1; - page-break-after:1; - position:1; - size:1; - top:1; - text-indent:1; - text-align:1; - text-decoration:1; - letter-spacing:1; - word-spacing:1; - text-transform:1; - white-space:1; - vertical-align:1; - visibility:1; - width:1; - z-index:1; -} ---EXPECT-- -array ( - 'a' => - array ( - 'background' => 'right 1px', - 'background-color' => '#1', - 'background-image' => '1', - 'background-repeat' => '1', - 'background-attachment' => '1', - 'background-position' => 'right 1px', - 'border' => '1px', - 'border-top' => '1px', - 'border-left' => '1px', - 'border-bottom' => '1px', - 'border-right' => '1px', - 'border-color' => '#1', - 'border-style' => '1', - 'border-width' => '1px', - 'border-top-width' => '1px', - 'border-left-width' => '1px', - 'border-right-width' => '1px', - 'border-bottom-width' => '1px', - 'clear' => '1', - 'color' => '#1', - 'display' => '1', - 'float' => '1', - 'font' => '1', - 'font-family' => '1', - 'font-style' => '1', - 'font-variant' => '1', - 'font-weight' => '1', - 'font-size' => '1px', - 'height' => '1px', - 'line-height' => '1', - 'list-style' => '1', - 'list-style-type' => '1', - 'list-style-image' => '1', - 'list-style-position' => '1', - 'margin' => '1px', - 'margin-top' => '1px', - 'margin-left' => '1px', - 'margin-bottom' => '1px', - 'margin-right' => '1px', - 'padding' => '1px', - 'padding-top' => '1px', - 'padding-left' => '1px', - 'padding-bottom' => '1px', - 'padding-right' => '1px', - 'text-indent' => '1px', - 'text-align' => '1', - 'text-decoration' => '1', - 'letter-spacing' => '1px', - 'word-spacing' => '1px', - 'text-transform' => '1', - 'white-space' => '1', - 'vertical-align' => '1', - 'width' => '1px', - ), -) ---SETTINGS-- -discard_invalid_properties=true -reverse_left_and_right=true -optimise_shorthands=0 -css_level='CSS1' diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css1.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css1.csst deleted file mode 100644 index 8d0d4501..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css1.csst +++ /dev/null @@ -1,138 +0,0 @@ ---TEST-- -Test CSS1 properties ---CSS-- -a { - foo:rgb(0,0,0); - bar:black; - baz:#ffaabb; - qux:#f00; - quux:blanchedalmond; - quuux:rgb(0,0,1); - background:1; - background-color:1; - background-image:1; - background-repeat:1; - background-attachment:1; - background-position:1; - border:1; - border-top:1; - border-right:1; - border-bottom:1; - border-left:1; - border-color:1; - border-style:1; - border-width:1; - border-top-width:1; - border-right-width:1; - border-left-width:1; - border-bottom-width:1; - clear:1; - clip:1; - color:1; - display:1; - float:1; - font:1; - font-family:1; - font-style:1; - font-variant:1; - font-weight:1; - font-size:1; - height:1; - left:1; - line-height:1; - list-style:1; - list-style-type:1; - list-style-image:1; - list-style-position:1; - margin:1; - margin-top:1; - margin-right:1; - margin-bottom:1; - margin-left:1; - marks:1; - overflow:1; - padding:1; - padding-top:1; - padding-right:1; - padding-bottom:1; - padding-left:1; - page-break-before:1; - page-break-after:1; - position:1; - size:1; - top:1; - text-indent:1; - text-align:1; - text-decoration:1; - letter-spacing:1; - word-spacing:1; - text-transform:1; - white-space:1; - vertical-align:1; - visibility:1; - width:1; - z-index:1; -} ---EXPECT-- -array ( - 'a' => - array ( - 'background' => '1px', - 'background-color' => '#1', - 'background-image' => '1', - 'background-repeat' => '1', - 'background-attachment' => '1', - 'background-position' => '1px', - 'border' => '1px', - 'border-top' => '1px', - 'border-right' => '1px', - 'border-bottom' => '1px', - 'border-left' => '1px', - 'border-color' => '#1', - 'border-style' => '1', - 'border-width' => '1px', - 'border-top-width' => '1px', - 'border-right-width' => '1px', - 'border-left-width' => '1px', - 'border-bottom-width' => '1px', - 'clear' => '1', - 'color' => '#1', - 'display' => '1', - 'float' => '1', - 'font' => '1', - 'font-family' => '1', - 'font-style' => '1', - 'font-variant' => '1', - 'font-weight' => '1', - 'font-size' => '1px', - 'height' => '1px', - 'line-height' => '1', - 'list-style' => '1', - 'list-style-type' => '1', - 'list-style-image' => '1', - 'list-style-position' => '1', - 'margin' => '1px', - 'margin-top' => '1px', - 'margin-right' => '1px', - 'margin-bottom' => '1px', - 'margin-left' => '1px', - 'padding' => '1px', - 'padding-top' => '1px', - 'padding-right' => '1px', - 'padding-bottom' => '1px', - 'padding-left' => '1px', - 'text-indent' => '1px', - 'text-align' => '1', - 'text-decoration' => '1', - 'letter-spacing' => '1px', - 'word-spacing' => '1px', - 'text-transform' => '1', - 'white-space' => '1', - 'vertical-align' => '1', - 'width' => '1px', - ), -) ---SETTINGS-- -discard_invalid_properties=true -optimise_shorthands=0 -css_level='CSS1' diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css2-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css2-rtl.csst deleted file mode 100644 index 8b614d87..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css2-rtl.csst +++ /dev/null @@ -1,266 +0,0 @@ ---TEST-- -Test CSS1 properties ---CSS-- -a { - foo:rgb(0,0,0); - bar:black; - baz:#ffaabb; - qux:#f00; - quux:blanchedalmond; - quuux:rgb(0,0,1); - background:1; - background-color:1; - background-image:1; - background-repeat:1; - background-attachment:1; - background-position:1; - border:1; - border-top:1; - border-right:1; - border-bottom:1; - border-left:1; - border-color:1; - border-top-color:1; - border-bottom-color:1; - border-left-color:1; - border-right-color:1; - border-style:1; - border-top-style:1; - border-right-style:1; - border-left-style:1; - border-bottom-style:1; - border-width:1; - border-top-width:1; - border-right-width:1; - border-left-width:1; - border-bottom-width:1; - border-collapse:1; - border-spacing:1; - bottom:1; - caption-side:1; - content:1; - clear:1; - clip:1; - color:1; - counter-reset:1; - counter-increment:1; - cursor:1; - empty-cells:1; - display:1; - direction:1; - float:1; - font:1; - font-family:1; - font-style:1; - font-variant:1; - font-weight:1; - font-stretch:1; - font-size-adjust:1; - font-size:1; - height:1; - left:1; - line-height:1; - list-style:1; - list-style-type:1; - list-style-image:1; - list-style-position:1; - margin:1; - margin-top:1; - margin-right:1; - margin-bottom:1; - margin-left:1; - marks:1; - marker-offset:1; - max-height:1; - max-width:1; - min-height:1; - min-width:1; - overflow:1; - orphans:1; - outline:1; - outline-width:1; - outline-style:1; - outline-color:1; - padding:1; - padding-top:1; - padding-right:1; - padding-bottom:1; - padding-left:1; - page-break-before:1; - page-break-after:1; - page-break-inside:1; - page:1; - position:1; - quotes:1; - right:1; - size:1; - speak-header:1; - table-layout:1; - top:1; - text-indent:1; - text-align:1; - text-decoration:1; - text-shadow:1; - letter-spacing:1; - word-spacing:1; - text-transform:1; - white-space:1; - unicode-bidi:1; - vertical-align:1; - visibility:1; - width:1; - widows:1; - z-index:1; - volume:1; - speak:1; - pause:1; - pause-before:1; - pause-after:1; - cue:1; - cue-before:1; - cue-after:1; - play-during:1; - azimuth:1; - elevation:1; - speech-rate:1; - voice-family:1; - pitch:1; - pitch-range:1; - stress:1; - richness:1; - speak-punctuation:1; - speak-numeral:1; -} ---EXPECT-- -array ( - 'a' => - array ( - 'background' => 'right 1px', - 'background-color' => '#1', - 'background-image' => '1', - 'background-repeat' => '1', - 'background-attachment' => '1', - 'background-position' => 'right 1px', - 'border' => '1px', - 'border-top' => '1px', - 'border-left' => '1px', - 'border-bottom' => '1px', - 'border-right' => '1px', - 'border-color' => '#1', - 'border-top-color' => '#1', - 'border-bottom-color' => '#1', - 'border-right-color' => '#1', - 'border-left-color' => '#1', - 'border-style' => '1', - 'border-top-style' => '1', - 'border-left-style' => '1', - 'border-right-style' => '1', - 'border-bottom-style' => '1', - 'border-width' => '1px', - 'border-top-width' => '1px', - 'border-left-width' => '1px', - 'border-right-width' => '1px', - 'border-bottom-width' => '1px', - 'border-collapse' => '1', - 'border-spacing' => '1px', - 'bottom' => '1px', - 'caption-side' => '1', - 'content' => '1', - 'clear' => '1', - 'clip' => '1', - 'color' => '#1', - 'counter-reset' => '1', - 'counter-increment' => '1', - 'cursor' => '1', - 'empty-cells' => '1', - 'display' => '1', - 'direction' => '1', - 'float' => '1', - 'font' => '1', - 'font-family' => '1', - 'font-style' => '1', - 'font-variant' => '1', - 'font-weight' => '1', - 'font-stretch' => '1', - 'font-size-adjust' => '1', - 'font-size' => '1px', - 'height' => '1px', - 'right' => '1px', - 'line-height' => '1', - 'list-style' => '1', - 'list-style-type' => '1', - 'list-style-image' => '1', - 'list-style-position' => '1', - 'margin' => '1px', - 'margin-top' => '1px', - 'margin-left' => '1px', - 'margin-bottom' => '1px', - 'margin-right' => '1px', - 'marks' => '1', - 'marker-offset' => '1', - 'max-height' => '1px', - 'max-width' => '1px', - 'min-height' => '1px', - 'min-width' => '1px', - 'overflow' => '1', - 'orphans' => '1', - 'outline' => '1px', - 'outline-width' => '1px', - 'outline-style' => '1', - 'outline-color' => '#1', - 'padding' => '1px', - 'padding-top' => '1px', - 'padding-left' => '1px', - 'padding-bottom' => '1px', - 'padding-right' => '1px', - 'page-break-before' => '1', - 'page-break-after' => '1', - 'page-break-inside' => '1', - 'page' => '1', - 'position' => '1', - 'quotes' => '1', - 'left' => '1px', - 'size' => '1', - 'speak-header' => '1', - 'table-layout' => '1', - 'top' => '1px', - 'text-indent' => '1px', - 'text-align' => '1', - 'text-decoration' => '1', - 'text-shadow' => '1', - 'letter-spacing' => '1px', - 'word-spacing' => '1px', - 'text-transform' => '1', - 'white-space' => '1', - 'unicode-bidi' => '1', - 'vertical-align' => '1', - 'visibility' => '1', - 'width' => '1px', - 'widows' => '1', - 'z-index' => '1', - 'volume' => '1', - 'speak' => '1', - 'pause' => '1', - 'pause-before' => '1', - 'pause-after' => '1', - 'cue' => '1', - 'cue-before' => '1', - 'cue-after' => '1', - 'play-during' => '1', - 'azimuth' => '1', - 'elevation' => '1', - 'speech-rate' => '1', - 'voice-family' => '1', - 'pitch' => '1', - 'pitch-range' => '1', - 'stress' => '1', - 'richness' => '1', - 'speak-punctuation' => '1', - 'speak-numeral' => '1', - ), -) ---SETTINGS-- -discard_invalid_properties=true -reverse_left_and_right=true -optimise_shorthands=0 -css_level='CSS2.0' \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css2.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css2.csst deleted file mode 100644 index 1c8fdf86..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css2.csst +++ /dev/null @@ -1,265 +0,0 @@ ---TEST-- -Test CSS1 properties ---CSS-- -a { - foo:rgb(0,0,0); - bar:black; - baz:#ffaabb; - qux:#f00; - quux:blanchedalmond; - quuux:rgb(0,0,1); - background:1; - background-color:1; - background-image:1; - background-repeat:1; - background-attachment:1; - background-position:1; - border:1; - border-top:1; - border-right:1; - border-bottom:1; - border-left:1; - border-color:1; - border-top-color:1; - border-bottom-color:1; - border-left-color:1; - border-right-color:1; - border-style:1; - border-top-style:1; - border-right-style:1; - border-left-style:1; - border-bottom-style:1; - border-width:1; - border-top-width:1; - border-right-width:1; - border-left-width:1; - border-bottom-width:1; - border-collapse:1; - border-spacing:1; - bottom:1; - caption-side:1; - content:1; - clear:1; - clip:1; - color:1; - counter-reset:1; - counter-increment:1; - cursor:1; - empty-cells:1; - display:1; - direction:1; - float:1; - font:1; - font-family:1; - font-style:1; - font-variant:1; - font-weight:1; - font-stretch:1; - font-size-adjust:1; - font-size:1; - height:1; - left:1; - line-height:1; - list-style:1; - list-style-type:1; - list-style-image:1; - list-style-position:1; - margin:1; - margin-top:1; - margin-right:1; - margin-bottom:1; - margin-left:1; - marks:1; - marker-offset:1; - max-height:1; - max-width:1; - min-height:1; - min-width:1; - overflow:1; - orphans:1; - outline:1; - outline-width:1; - outline-style:1; - outline-color:1; - padding:1; - padding-top:1; - padding-right:1; - padding-bottom:1; - padding-left:1; - page-break-before:1; - page-break-after:1; - page-break-inside:1; - page:1; - position:1; - quotes:1; - right:1; - size:1; - speak-header:1; - table-layout:1; - top:1; - text-indent:1; - text-align:1; - text-decoration:1; - text-shadow:1; - letter-spacing:1; - word-spacing:1; - text-transform:1; - white-space:1; - unicode-bidi:1; - vertical-align:1; - visibility:1; - width:1; - widows:1; - z-index:1; - volume:1; - speak:1; - pause:1; - pause-before:1; - pause-after:1; - cue:1; - cue-before:1; - cue-after:1; - play-during:1; - azimuth:1; - elevation:1; - speech-rate:1; - voice-family:1; - pitch:1; - pitch-range:1; - stress:1; - richness:1; - speak-punctuation:1; - speak-numeral:1; -} ---EXPECT-- -array ( - 'a' => - array ( - 'background' => '1px', - 'background-color' => '#1', - 'background-image' => '1', - 'background-repeat' => '1', - 'background-attachment' => '1', - 'background-position' => '1px', - 'border' => '1px', - 'border-top' => '1px', - 'border-right' => '1px', - 'border-bottom' => '1px', - 'border-left' => '1px', - 'border-color' => '#1', - 'border-top-color' => '#1', - 'border-bottom-color' => '#1', - 'border-left-color' => '#1', - 'border-right-color' => '#1', - 'border-style' => '1', - 'border-top-style' => '1', - 'border-right-style' => '1', - 'border-left-style' => '1', - 'border-bottom-style' => '1', - 'border-width' => '1px', - 'border-top-width' => '1px', - 'border-right-width' => '1px', - 'border-left-width' => '1px', - 'border-bottom-width' => '1px', - 'border-collapse' => '1', - 'border-spacing' => '1px', - 'bottom' => '1px', - 'caption-side' => '1', - 'content' => '1', - 'clear' => '1', - 'clip' => '1', - 'color' => '#1', - 'counter-reset' => '1', - 'counter-increment' => '1', - 'cursor' => '1', - 'empty-cells' => '1', - 'display' => '1', - 'direction' => '1', - 'float' => '1', - 'font' => '1', - 'font-family' => '1', - 'font-style' => '1', - 'font-variant' => '1', - 'font-weight' => '1', - 'font-stretch' => '1', - 'font-size-adjust' => '1', - 'font-size' => '1px', - 'height' => '1px', - 'left' => '1px', - 'line-height' => '1', - 'list-style' => '1', - 'list-style-type' => '1', - 'list-style-image' => '1', - 'list-style-position' => '1', - 'margin' => '1px', - 'margin-top' => '1px', - 'margin-right' => '1px', - 'margin-bottom' => '1px', - 'margin-left' => '1px', - 'marks' => '1', - 'marker-offset' => '1', - 'max-height' => '1px', - 'max-width' => '1px', - 'min-height' => '1px', - 'min-width' => '1px', - 'overflow' => '1', - 'orphans' => '1', - 'outline' => '1px', - 'outline-width' => '1px', - 'outline-style' => '1', - 'outline-color' => '#1', - 'padding' => '1px', - 'padding-top' => '1px', - 'padding-right' => '1px', - 'padding-bottom' => '1px', - 'padding-left' => '1px', - 'page-break-before' => '1', - 'page-break-after' => '1', - 'page-break-inside' => '1', - 'page' => '1', - 'position' => '1', - 'quotes' => '1', - 'right' => '1px', - 'size' => '1', - 'speak-header' => '1', - 'table-layout' => '1', - 'top' => '1px', - 'text-indent' => '1px', - 'text-align' => '1', - 'text-decoration' => '1', - 'text-shadow' => '1', - 'letter-spacing' => '1px', - 'word-spacing' => '1px', - 'text-transform' => '1', - 'white-space' => '1', - 'unicode-bidi' => '1', - 'vertical-align' => '1', - 'visibility' => '1', - 'width' => '1px', - 'widows' => '1', - 'z-index' => '1', - 'volume' => '1', - 'speak' => '1', - 'pause' => '1', - 'pause-before' => '1', - 'pause-after' => '1', - 'cue' => '1', - 'cue-before' => '1', - 'cue-after' => '1', - 'play-during' => '1', - 'azimuth' => '1', - 'elevation' => '1', - 'speech-rate' => '1', - 'voice-family' => '1', - 'pitch' => '1', - 'pitch-range' => '1', - 'stress' => '1', - 'richness' => '1', - 'speak-punctuation' => '1', - 'speak-numeral' => '1', - ), -) ---SETTINGS-- -discard_invalid_properties=true -optimise_shorthands=0 -css_level='CSS2.0' \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css21-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css21-rtl.csst deleted file mode 100644 index 1c10f59f..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css21-rtl.csst +++ /dev/null @@ -1,259 +0,0 @@ ---TEST-- -Test CSS1 properties ---CSS-- -a { - foo:rgb(0,0,0); - bar:black; - baz:#ffaabb; - qux:#f00; - quux:blanchedalmond; - quuux:rgb(0,0,1); - background:1; - background-color:1; - background-image:1; - background-repeat:1; - background-attachment:1; - background-position:1; - border:1; - border-top:1; - border-right:1; - border-bottom:1; - border-left:1; - border-color:1; - border-top-color:1; - border-bottom-color:1; - border-left-color:1; - border-right-color:1; - border-style:1; - border-top-style:1; - border-right-style:1; - border-left-style:1; - border-bottom-style:1; - border-width:1; - border-top-width:1; - border-right-width:1; - border-left-width:1; - border-bottom-width:1; - border-collapse:1; - border-spacing:1; - bottom:1; - caption-side:1; - content:1; - clear:1; - clip:1; - color:1; - counter-reset:1; - counter-increment:1; - cursor:1; - empty-cells:1; - display:1; - direction:1; - float:1; - font:1; - font-family:1; - font-style:1; - font-variant:1; - font-weight:1; - font-stretch:1; - font-size-adjust:1; - font-size:1; - height:1; - left:1; - line-height:1; - list-style:1; - list-style-type:1; - list-style-image:1; - list-style-position:1; - margin:1; - margin-top:1; - margin-right:1; - margin-bottom:1; - margin-left:1; - marks:1; - marker-offset:1; - max-height:1; - max-width:1; - min-height:1; - min-width:1; - overflow:1; - orphans:1; - outline:1; - outline-width:1; - outline-style:1; - outline-color:1; - padding:1; - padding-top:1; - padding-right:1; - padding-bottom:1; - padding-left:1; - page-break-before:1; - page-break-after:1; - page-break-inside:1; - page:1; - position:1; - quotes:1; - right:1; - size:1; - speak-header:1; - table-layout:1; - top:1; - text-indent:1; - text-align:1; - text-decoration:1; - text-shadow:1; - letter-spacing:1; - word-spacing:1; - text-transform:1; - white-space:1; - unicode-bidi:1; - vertical-align:1; - visibility:1; - width:1; - widows:1; - z-index:1; - volume:1; - speak:1; - pause:1; - pause-before:1; - pause-after:1; - cue:1; - cue-before:1; - cue-after:1; - play-during:1; - azimuth:1; - elevation:1; - speech-rate:1; - voice-family:1; - pitch:1; - pitch-range:1; - stress:1; - richness:1; - speak-punctuation:1; - speak-numeral:1; -} ---EXPECT-- -array ( - 'a' => - array ( - 'background' => 'right 1px', - 'background-color' => '#1', - 'background-image' => '1', - 'background-repeat' => '1', - 'background-attachment' => '1', - 'background-position' => 'right 1px', - 'border' => '1px', - 'border-top' => '1px', - 'border-left' => '1px', - 'border-bottom' => '1px', - 'border-right' => '1px', - 'border-color' => '#1', - 'border-top-color' => '#1', - 'border-bottom-color' => '#1', - 'border-right-color' => '#1', - 'border-left-color' => '#1', - 'border-style' => '1', - 'border-top-style' => '1', - 'border-left-style' => '1', - 'border-right-style' => '1', - 'border-bottom-style' => '1', - 'border-width' => '1px', - 'border-top-width' => '1px', - 'border-left-width' => '1px', - 'border-right-width' => '1px', - 'border-bottom-width' => '1px', - 'border-collapse' => '1', - 'border-spacing' => '1px', - 'bottom' => '1px', - 'caption-side' => '1', - 'content' => '1', - 'clear' => '1', - 'clip' => '1', - 'color' => '#1', - 'counter-reset' => '1', - 'counter-increment' => '1', - 'cursor' => '1', - 'empty-cells' => '1', - 'display' => '1', - 'direction' => '1', - 'float' => '1', - 'font' => '1', - 'font-family' => '1', - 'font-style' => '1', - 'font-variant' => '1', - 'font-weight' => '1', - 'font-size' => '1px', - 'height' => '1px', - 'right' => '1px', - 'line-height' => '1', - 'list-style' => '1', - 'list-style-type' => '1', - 'list-style-image' => '1', - 'list-style-position' => '1', - 'margin' => '1px', - 'margin-top' => '1px', - 'margin-left' => '1px', - 'margin-bottom' => '1px', - 'margin-right' => '1px', - 'max-height' => '1px', - 'max-width' => '1px', - 'min-height' => '1px', - 'min-width' => '1px', - 'overflow' => '1', - 'orphans' => '1', - 'outline' => '1px', - 'outline-width' => '1px', - 'outline-style' => '1', - 'outline-color' => '#1', - 'padding' => '1px', - 'padding-top' => '1px', - 'padding-left' => '1px', - 'padding-bottom' => '1px', - 'padding-right' => '1px', - 'page-break-before' => '1', - 'page-break-after' => '1', - 'page-break-inside' => '1', - 'position' => '1', - 'quotes' => '1', - 'left' => '1px', - 'speak-header' => '1', - 'table-layout' => '1', - 'top' => '1px', - 'text-indent' => '1px', - 'text-align' => '1', - 'text-decoration' => '1', - 'letter-spacing' => '1px', - 'word-spacing' => '1px', - 'text-transform' => '1', - 'white-space' => '1', - 'unicode-bidi' => '1', - 'vertical-align' => '1', - 'visibility' => '1', - 'width' => '1px', - 'widows' => '1', - 'z-index' => '1', - 'volume' => '1', - 'speak' => '1', - 'pause' => '1', - 'pause-before' => '1', - 'pause-after' => '1', - 'cue' => '1', - 'cue-before' => '1', - 'cue-after' => '1', - 'play-during' => '1', - 'azimuth' => '1', - 'elevation' => '1', - 'speech-rate' => '1', - 'voice-family' => '1', - 'pitch' => '1', - 'pitch-range' => '1', - 'stress' => '1', - 'richness' => '1', - 'speak-punctuation' => '1', - 'speak-numeral' => '1', - ), -) ---SETTINGS-- -discard_invalid_properties=true -reverse_left_and_right=true -optimise_shorthands=0 -css_level='CSS2.1' \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css21.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css21.csst deleted file mode 100644 index 7d5c9f2a..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css21.csst +++ /dev/null @@ -1,258 +0,0 @@ ---TEST-- -Test CSS1 properties ---CSS-- -a { - foo:rgb(0,0,0); - bar:black; - baz:#ffaabb; - qux:#f00; - quux:blanchedalmond; - quuux:rgb(0,0,1); - background:1; - background-color:1; - background-image:1; - background-repeat:1; - background-attachment:1; - background-position:1; - border:1; - border-top:1; - border-right:1; - border-bottom:1; - border-left:1; - border-color:1; - border-top-color:1; - border-bottom-color:1; - border-left-color:1; - border-right-color:1; - border-style:1; - border-top-style:1; - border-right-style:1; - border-left-style:1; - border-bottom-style:1; - border-width:1; - border-top-width:1; - border-right-width:1; - border-left-width:1; - border-bottom-width:1; - border-collapse:1; - border-spacing:1; - bottom:1; - caption-side:1; - content:1; - clear:1; - clip:1; - color:1; - counter-reset:1; - counter-increment:1; - cursor:1; - empty-cells:1; - display:1; - direction:1; - float:1; - font:1; - font-family:1; - font-style:1; - font-variant:1; - font-weight:1; - font-stretch:1; - font-size-adjust:1; - font-size:1; - height:1; - left:1; - line-height:1; - list-style:1; - list-style-type:1; - list-style-image:1; - list-style-position:1; - margin:1; - margin-top:1; - margin-right:1; - margin-bottom:1; - margin-left:1; - marks:1; - marker-offset:1; - max-height:1; - max-width:1; - min-height:1; - min-width:1; - overflow:1; - orphans:1; - outline:1; - outline-width:1; - outline-style:1; - outline-color:1; - padding:1; - padding-top:1; - padding-right:1; - padding-bottom:1; - padding-left:1; - page-break-before:1; - page-break-after:1; - page-break-inside:1; - page:1; - position:1; - quotes:1; - right:1; - size:1; - speak-header:1; - table-layout:1; - top:1; - text-indent:1; - text-align:1; - text-decoration:1; - text-shadow:1; - letter-spacing:1; - word-spacing:1; - text-transform:1; - white-space:1; - unicode-bidi:1; - vertical-align:1; - visibility:1; - width:1; - widows:1; - z-index:1; - volume:1; - speak:1; - pause:1; - pause-before:1; - pause-after:1; - cue:1; - cue-before:1; - cue-after:1; - play-during:1; - azimuth:1; - elevation:1; - speech-rate:1; - voice-family:1; - pitch:1; - pitch-range:1; - stress:1; - richness:1; - speak-punctuation:1; - speak-numeral:1; -} ---EXPECT-- -array ( - 'a' => - array ( - 'background' => '1px', - 'background-color' => '#1', - 'background-image' => '1', - 'background-repeat' => '1', - 'background-attachment' => '1', - 'background-position' => '1px', - 'border' => '1px', - 'border-top' => '1px', - 'border-right' => '1px', - 'border-bottom' => '1px', - 'border-left' => '1px', - 'border-color' => '#1', - 'border-top-color' => '#1', - 'border-bottom-color' => '#1', - 'border-left-color' => '#1', - 'border-right-color' => '#1', - 'border-style' => '1', - 'border-top-style' => '1', - 'border-right-style' => '1', - 'border-left-style' => '1', - 'border-bottom-style' => '1', - 'border-width' => '1px', - 'border-top-width' => '1px', - 'border-right-width' => '1px', - 'border-left-width' => '1px', - 'border-bottom-width' => '1px', - 'border-collapse' => '1', - 'border-spacing' => '1px', - 'bottom' => '1px', - 'caption-side' => '1', - 'content' => '1', - 'clear' => '1', - 'clip' => '1', - 'color' => '#1', - 'counter-reset' => '1', - 'counter-increment' => '1', - 'cursor' => '1', - 'empty-cells' => '1', - 'display' => '1', - 'direction' => '1', - 'float' => '1', - 'font' => '1', - 'font-family' => '1', - 'font-style' => '1', - 'font-variant' => '1', - 'font-weight' => '1', - 'font-size' => '1px', - 'height' => '1px', - 'left' => '1px', - 'line-height' => '1', - 'list-style' => '1', - 'list-style-type' => '1', - 'list-style-image' => '1', - 'list-style-position' => '1', - 'margin' => '1px', - 'margin-top' => '1px', - 'margin-right' => '1px', - 'margin-bottom' => '1px', - 'margin-left' => '1px', - 'max-height' => '1px', - 'max-width' => '1px', - 'min-height' => '1px', - 'min-width' => '1px', - 'overflow' => '1', - 'orphans' => '1', - 'outline' => '1px', - 'outline-width' => '1px', - 'outline-style' => '1', - 'outline-color' => '#1', - 'padding' => '1px', - 'padding-top' => '1px', - 'padding-right' => '1px', - 'padding-bottom' => '1px', - 'padding-left' => '1px', - 'page-break-before' => '1', - 'page-break-after' => '1', - 'page-break-inside' => '1', - 'position' => '1', - 'quotes' => '1', - 'right' => '1px', - 'speak-header' => '1', - 'table-layout' => '1', - 'top' => '1px', - 'text-indent' => '1px', - 'text-align' => '1', - 'text-decoration' => '1', - 'letter-spacing' => '1px', - 'word-spacing' => '1px', - 'text-transform' => '1', - 'white-space' => '1', - 'unicode-bidi' => '1', - 'vertical-align' => '1', - 'visibility' => '1', - 'width' => '1px', - 'widows' => '1', - 'z-index' => '1', - 'volume' => '1', - 'speak' => '1', - 'pause' => '1', - 'pause-before' => '1', - 'pause-after' => '1', - 'cue' => '1', - 'cue-before' => '1', - 'cue-after' => '1', - 'play-during' => '1', - 'azimuth' => '1', - 'elevation' => '1', - 'speech-rate' => '1', - 'voice-family' => '1', - 'pitch' => '1', - 'pitch-range' => '1', - 'stress' => '1', - 'richness' => '1', - 'speak-punctuation' => '1', - 'speak-numeral' => '1', - ), -) ---SETTINGS-- -discard_invalid_properties=true -optimise_shorthands=0 -css_level='CSS2.1' \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css3-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css3-rtl.csst deleted file mode 100644 index 44af200e..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css3-rtl.csst +++ /dev/null @@ -1,593 +0,0 @@ ---TEST-- -Test CSS1 properties ---CSS-- -a { - foo:rgb(0,0,0); - bar:black; - baz:#ffaabb; - qux:#f00; - quux:blanchedalmond; - quuux:rgb(0,0,1); - alignment-adjust:1; - alignment-baseline:1; - animation:1; - animation-delay:1; - animation-direction:1; - animation-duration:1; - animation-iteration-count:1; - animation-name:1; - animation-play-state:1; - animation-timing-function:1; - appearance:1; - azimuth:1; - backface-visibility:1; - background:1; - background-attachment:1; - background-clip:1; - background-color:1; - background-image:1; - background-origin:1; - background-position:1; - background-repeat:1; - background-size:1; - baseline-shift:1; - binding:1; - bleed:1; - bookmark-label:1; - bookmark-level:1; - bookmark-state:1; - bookmark-target:1; - border:1; - border-bottom:1; - border-bottom-color:1; - border-bottom-left-radius:1; - border-bottom-right-radius:1; - border-bottom-style:1; - border-bottom-width:1; - border-collapse:1; - border-color:1; - border-image:1; - border-image-outset:1; - border-image-repeat:1; - border-image-slice:1; - border-image-source:1; - border-image-width:1; - border-left:1; - border-left-color:1; - border-left-style:1; - border-left-width:1; - border-radius:1; - border-right:1; - border-right-color:1; - border-right-style:1; - border-right-width:1; - border-spacing:1; - border-style:1; - border-top:1; - border-top-color:1; - border-top-left-radius:1; - border-top-right-radius:1; - border-top-style:1; - border-top-width:1; - border-width:1; - bottom:1; - box-decoration-break:1; - box-shadow:1; - box-sizing:1; - break-after:1; - break-before:1; - break-inside:1; - caption-side:1; - clear:1; - clip:1; - color:1; - color-profile:1; - column-count:1; - column-fill:1; - column-gap:1; - column-rule:1; - column-rule-color:1; - column-rule-style:1; - column-rule-width:1; - column-span:1; - column-width:1; - columns:1; - content:1; - counter-increment:1; - counter-reset:1; - crop:1; - cue:1; - cue-after:1; - cue-before:1; - cursor:1; - direction:1; - display:1; - dominant-baseline:1; - drop-initial-after-adjust:1; - drop-initial-after-align:1; - drop-initial-before-adjust:1; - drop-initial-before-align:1; - drop-initial-size:1; - drop-initial-value:1; - elevation:1; - empty-cells:1; - fit:1; - fit-position:1; - flex-align:1; - flex-flow:1; - flex-line-pack:1; - flex-order:1; - flex-pack:1; - float:1; - float-offset:1; - font:1; - font-family:1; - font-size:1; - font-size-adjust:1; - font-stretch:1; - font-style:1; - font-variant:1; - font-weight:1; - grid-columns:1; - grid-rows:1; - hanging-punctuation:1; - height:1; - hyphenate-after:1; - hyphenate-before:1; - hyphenate-character:1; - hyphenate-lines:1; - hyphenate-resource:1; - hyphens:1; - icon:1; - image-orientation:1; - image-rendering:1; - image-resolution:1; - inline-box-align:1; - left:1; - letter-spacing:1; - line-break:1; - line-height:1; - line-stacking:1; - line-stacking-ruby:1; - line-stacking-shift:1; - line-stacking-strategy:1; - list-style:1; - list-style-image:1; - list-style-position:1; - list-style-type:1; - margin:1; - margin-bottom:1; - margin-left:1; - margin-right:1; - margin-top:1; - marker-offset:1; - marks:1; - marquee-direction:1; - marquee-loop:1; - marquee-play-count:1; - marquee-speed:1; - marquee-style:1; - max-height:1; - max-width:1; - min-height:1; - min-width:1; - move-to:1; - nav-down:1; - nav-index:1; - nav-left:1; - nav-right:1; - nav-up:1; - opacity:1; - orphans:1; - outline:1; - outline-color:1; - outline-offset:1; - outline-style:1; - outline-width:1; - overflow:1; - overflow-style:1; - overflow-wrap:1; - overflow-x:1; - overflow-y:1; - padding:1; - padding-bottom:1; - padding-left:1; - padding-right:1; - padding-top:1; - page:1; - page-break-after:1; - page-break-before:1; - page-break-inside:1; - page-policy:1; - pause:1; - pause-after:1; - pause-before:1; - perspective:1; - perspective-origin:1; - phonemes:1; - pitch:1; - pitch-range:1; - play-during:1; - position:1; - presentation-level:1; - punctuation-trim:1; - quotes:1; - rendering-intent:1; - resize:1; - rest:1; - rest-after:1; - rest-before:1; - richness:1; - right:1; - rotation:1; - rotation-point:1; - ruby-align:1; - ruby-overhang:1; - ruby-position:1; - ruby-span:1; - size:1; - speak:1; - speak-header:1; - speak-numeral:1; - speak-punctuation:1; - speech-rate:1; - src:1; - stress:1; - string-set:1; - tab-size:1; - table-layout:1; - target:1; - target-name:1; - target-new:1; - target-position:1; - text-align:1; - text-align-last:1; - text-decoration:1; - text-decoration-color:1; - text-decoration-line:1; - text-decoration-skip:1; - text-decoration-style:1; - text-emphasis:1; - text-emphasis-color:1; - text-emphasis-position:1; - text-emphasis-style:1; - text-height:1; - text-indent:1; - text-justify:1; - text-outline:1; - text-shadow:1; - text-space-collapse:1; - text-transform:1; - text-underline-position:1; - text-wrap:1; - top:1; - transform:1; - transform-origin:1; - transform-style:1; - transition:1; - transition-delay:1; - transition-duration:1; - transition-property:1; - transition-timing-function:1; - unicode-bidi:1; - vertical-align:1; - visibility:1; - voice-balance:1; - voice-duration:1; - voice-family:1; - voice-pitch:1; - voice-pitch-range:1; - voice-rate:1; - voice-stress:1; - voice-volume:1; - volume:1; - white-space:1; - widows:1; - width:1; - word-break:1; - word-spacing:1; - word-wrap:1; - z-index:1; -} ---EXPECT-- -array ( - 'a' => - array ( - 'alignment-adjust' => '1', - 'alignment-baseline' => '1', - 'animation' => '1', - 'animation-delay' => '1', - 'animation-direction' => '1', - 'animation-duration' => '1', - 'animation-iteration-count' => '1', - 'animation-name' => '1', - 'animation-play-state' => '1', - 'animation-timing-function' => '1', - 'appearance' => '1', - 'azimuth' => '1', - 'backface-visibility' => '1', - 'background' => 'right 1px', - 'background-attachment' => '1', - 'background-clip' => '1', - 'background-color' => '#1', - 'background-image' => '1', - 'background-origin' => '1', - 'background-position' => 'right 1px', - 'background-repeat' => '1', - 'background-size' => '1px', - 'baseline-shift' => '1', - 'binding' => '1', - 'bleed' => '1', - 'bookmark-label' => '1', - 'bookmark-level' => '1', - 'bookmark-state' => '1', - 'bookmark-target' => '1', - 'border' => '1px', - 'border-bottom' => '1px', - 'border-bottom-color' => '#1', - 'border-bottom-right-radius' => '1', - 'border-bottom-left-radius' => '1', - 'border-bottom-style' => '1', - 'border-bottom-width' => '1px', - 'border-collapse' => '1', - 'border-color' => '#1', - 'border-image' => '1', - 'border-image-outset' => '1', - 'border-image-repeat' => '1', - 'border-image-slice' => '1', - 'border-image-source' => '1', - 'border-image-width' => '1', - 'border-right' => '1px', - 'border-color' => '#1', - 'border-bottom-color' => '#1', - 'border-right-color' => '#1', - 'border-right-style' => '1', - 'border-right-width' => '1px', - 'border-radius' => '1', - 'border-left' => '1px', - 'border-left-color' => '#1', - 'border-left-style' => '1', - 'border-left-style' => '1', - 'border-left-width' => '1px', - 'border-spacing' => '1px', - 'border-style' => '1', - 'border-top' => '1px', - 'border-top-color' => '#1', - 'border-top-right-radius' => '1', - 'border-top-left-radius' => '1', - 'border-top-style' => '1', - 'border-right-style' => '1', - 'border-bottom-style' => '1', - 'border-top-width' => '1px', - 'border-width' => '1px', - 'border-left-width' => '1px', - 'border-right-width' => '1px', - 'border-bottom-width' => '1px', - 'border-collapse' => '1', - 'border-spacing' => '1px', - 'bottom' => '1px', - 'box-decoration-break' => '1', - 'box-shadow' => '1', - 'box-sizing' => '1', - 'break-after' => '1', - 'break-before' => '1', - 'break-inside' => '1', - 'caption-side' => '1', - 'clear' => '1', - 'clip' => '1', - 'color' => '#1', - 'color-profile' => '1', - 'column-count' => '1', - 'column-fill' => '1', - 'column-gap' => '1px', - 'column-rule' => '1', - 'column-rule-color' => '#1', - 'column-rule-style' => '1', - 'column-rule-width' => '1', - 'column-span' => '1', - 'column-width' => '1px', - 'columns' => '1', - 'content' => '1', - 'counter-increment' => '1', - 'counter-reset' => '1', - 'crop' => '1', - 'cue' => '1', - 'cue-after' => '1', - 'cue-before' => '1', - 'cursor' => '1', - 'direction' => '1', - 'display' => '1', - 'dominant-baseline' => '1', - 'drop-initial-after-adjust' => '1', - 'drop-initial-after-align' => '1', - 'drop-initial-before-adjust' => '1', - 'drop-initial-before-align' => '1', - 'drop-initial-size' => '1', - 'drop-initial-value' => '1', - 'elevation' => '1', - 'empty-cells' => '1', - 'fit' => '1', - 'fit-position' => '1', - 'flex-align' => '1', - 'flex-flow' => '1', - 'flex-line-pack' => '1', - 'flex-order' => '1', - 'flex-pack' => '1', - 'float' => '1', - 'float-offset' => '1', - 'font' => '1', - 'font-family' => '1', - 'font-size' => '1px', - 'font-size-adjust' => '1', - 'font-stretch' => '1', - 'font-style' => '1', - 'font-variant' => '1', - 'font-weight' => '1', - 'grid-columns' => '1', - 'grid-rows' => '1', - 'hanging-punctuation' => '1', - 'height' => '1px', - 'hyphenate-after' => '1', - 'hyphenate-before' => '1', - 'hyphenate-character' => '1', - 'hyphenate-lines' => '1', - 'hyphenate-resource' => '1', - 'hyphens' => '1', - 'icon' => '1', - 'image-orientation' => '1', - 'image-rendering' => '1', - 'image-resolution' => '1', - 'inline-box-align' => '1', - 'right' => '1px', - 'letter-spacing' => '1px', - 'line-break' => '1', - 'line-height' => '1', - 'line-stacking' => '1', - 'line-stacking-ruby' => '1', - 'line-stacking-shift' => '1', - 'line-stacking-strategy' => '1', - 'list-style' => '1', - 'list-style-image' => '1', - 'list-style-position' => '1', - 'list-style-type' => '1', - 'margin' => '1px', - 'margin-bottom' => '1px', - 'margin-right' => '1px', - 'margin-left' => '1px', - 'margin-top' => '1px', - 'marker-offset' => '1', - 'marks' => '1', - 'marquee-direction' => '1', - 'marquee-loop' => '1', - 'marquee-play-count' => '1', - 'marquee-speed' => '1', - 'marquee-style' => '1', - 'max-height' => '1px', - 'max-width' => '1px', - 'min-height' => '1px', - 'min-width' => '1px', - 'move-to' => '1', - 'nav-down' => '1', - 'nav-index' => '1', - 'nav-right' => '1', - 'nav-left' => '1', - 'nav-up' => '1', - 'opacity' => '1', - 'orphans' => '1', - 'outline' => '1px', - 'outline-color' => '#1', - 'outline-offset' => '1', - 'outline-style' => '1', - 'outline-width' => '1px', - 'overflow' => '1', - 'overflow-style' => '1', - 'overflow-wrap' => '1', - 'overflow-x' => '1', - 'overflow-y' => '1', - 'padding' => '1px', - 'padding-bottom' => '1px', - 'padding-right' => '1px', - 'padding-left' => '1px', - 'padding-top' => '1px', - 'page' => '1', - 'page-break-after' => '1', - 'page-break-before' => '1', - 'page-break-inside' => '1', - 'page-policy' => '1', - 'pause' => '1', - 'pause-after' => '1', - 'pause-before' => '1', - 'perspective' => '1px', - 'perspective-origin' => '1', - 'phonemes' => '1', - 'pitch' => '1', - 'pitch-range' => '1', - 'play-during' => '1', - 'position' => '1', - 'presentation-level' => '1', - 'punctuation-trim' => '1', - 'quotes' => '1', - 'rendering-intent' => '1', - 'resize' => '1', - 'rest' => '1', - 'rest-after' => '1', - 'rest-before' => '1', - 'richness' => '1', - 'left' => '1px', - 'rotation' => '1', - 'rotation-point' => '1', - 'ruby-align' => '1', - 'ruby-overhang' => '1', - 'ruby-position' => '1', - 'ruby-span' => '1', - 'size' => '1', - 'speak' => '1', - 'speak-header' => '1', - 'speak-numeral' => '1', - 'speak-punctuation' => '1', - 'speech-rate' => '1', - 'src' => '1', - 'stress' => '1', - 'string-set' => '1', - 'tab-size' => '1', - 'table-layout' => '1', - 'target' => '1', - 'target-name' => '1', - 'target-new' => '1', - 'target-position' => '1', - 'text-align' => '1', - 'text-align-last' => '1', - 'text-decoration' => '1', - 'text-decoration-color' => '1', - 'text-decoration-line' => '1', - 'text-decoration-skip' => '1', - 'text-decoration-style' => '1', - 'text-emphasis' => '1', - 'text-emphasis-color' => '1', - 'text-emphasis-position' => '1', - 'text-emphasis-style' => '1', - 'text-height' => '1', - 'text-indent' => '1px', - 'text-justify' => '1', - 'text-outline' => '1', - 'text-shadow' => '1', - 'text-space-collapse' => '1', - 'letter-spacing' => '1px', - 'text-transform' => '1', - 'text-underline-position' => '1', - 'text-wrap' => '1', - 'top' => '1px', - 'transform' => '1', - 'transform-origin' => '1', - 'transform-style' => '1', - 'transition' => '1', - 'transition-delay' => '1', - 'transition-duration' => '1', - 'transition-property' => '1', - 'transition-timing-function' => '1', - 'unicode-bidi' => '1', - 'vertical-align' => '1', - 'visibility' => '1', - 'voice-balance' => '1', - 'voice-duration' => '1', - 'voice-family' => '1', - 'voice-pitch' => '1', - 'voice-pitch-range' => '1', - 'voice-rate' => '1', - 'voice-stress' => '1', - 'voice-volume' => '1', - 'volume' => '1', - 'white-space' => '1', - 'widows' => '1', - 'width' => '1px', - 'word-break' => '1', - 'word-spacing' => '1px', - 'word-wrap' => '1', - 'z-index' => '1', - ), -) ---SETTINGS-- -discard_invalid_properties=true -reverse_left_and_right=true -optimise_shorthands=0 -css_level='CSS3.0' \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css3.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css3.csst deleted file mode 100644 index 758ca395..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/css3.csst +++ /dev/null @@ -1,594 +0,0 @@ ---TEST-- -Test CSS1 properties ---CSS-- -a { - foo:rgb(0,0,0); - bar:black; - baz:#ffaabb; - qux:#f00; - quux:blanchedalmond; - quuux:rgb(0,0,1); - --color:1; - alignment-adjust:1; - alignment-baseline:1; - animation:1; - animation-delay:1; - animation-direction:1; - animation-duration:1; - animation-iteration-count:1; - animation-name:1; - animation-play-state:1; - animation-timing-function:1; - appearance:1; - azimuth:1; - backface-visibility:1; - background:1; - background-attachment:1; - background-clip:1; - background-color:1; - background-image:1; - background-origin:1; - background-position:1; - background-repeat:1; - background-size:1; - baseline-shift:1; - binding:1; - bleed:1; - bookmark-label:1; - bookmark-level:1; - bookmark-state:1; - bookmark-target:1; - border:1; - border-bottom:1; - border-bottom-color:1; - border-bottom-left-radius:1; - border-bottom-right-radius:1; - border-bottom-style:1; - border-bottom-width:1; - border-collapse:1; - border-color:1; - border-image:1; - border-image-outset:1; - border-image-repeat:1; - border-image-slice:1; - border-image-source:1; - border-image-width:1; - border-left:1; - border-left-color:1; - border-left-style:1; - border-left-width:1; - border-radius:1; - border-right:1; - border-right-color:1; - border-right-style:1; - border-right-width:1; - border-spacing:1; - border-style:1; - border-top:1; - border-top-color:1; - border-top-left-radius:1; - border-top-right-radius:1; - border-top-style:1; - border-top-width:1; - border-width:1; - bottom:1; - box-decoration-break:1; - box-shadow:1; - box-sizing:1; - break-after:1; - break-before:1; - break-inside:1; - caption-side:1; - clear:1; - clip:1; - color:1; - color-profile:1; - column-count:1; - column-fill:1; - column-gap:1; - column-rule:1; - column-rule-color:1; - column-rule-style:1; - column-rule-width:1; - column-span:1; - column-width:1; - columns:1; - content:1; - counter-increment:1; - counter-reset:1; - crop:1; - cue:1; - cue-after:1; - cue-before:1; - cursor:1; - direction:1; - display:1; - dominant-baseline:1; - drop-initial-after-adjust:1; - drop-initial-after-align:1; - drop-initial-before-adjust:1; - drop-initial-before-align:1; - drop-initial-size:1; - drop-initial-value:1; - elevation:1; - empty-cells:1; - fit:1; - fit-position:1; - flex-align:1; - flex-flow:1; - flex-line-pack:1; - flex-order:1; - flex-pack:1; - float:1; - float-offset:1; - font:1; - font-family:1; - font-size:1; - font-size-adjust:1; - font-stretch:1; - font-style:1; - font-variant:1; - font-weight:1; - grid-columns:1; - grid-rows:1; - hanging-punctuation:1; - height:1; - hyphenate-after:1; - hyphenate-before:1; - hyphenate-character:1; - hyphenate-lines:1; - hyphenate-resource:1; - hyphens:1; - icon:1; - image-orientation:1; - image-rendering:1; - image-resolution:1; - inline-box-align:1; - left:1; - letter-spacing:1; - line-break:1; - line-height:1; - line-stacking:1; - line-stacking-ruby:1; - line-stacking-shift:1; - line-stacking-strategy:1; - list-style:1; - list-style-image:1; - list-style-position:1; - list-style-type:1; - margin:1; - margin-bottom:1; - margin-left:1; - margin-right:1; - margin-top:1; - marker-offset:1; - marks:1; - marquee-direction:1; - marquee-loop:1; - marquee-play-count:1; - marquee-speed:1; - marquee-style:1; - max-height:1; - max-width:1; - min-height:1; - min-width:1; - move-to:1; - nav-down:1; - nav-index:1; - nav-left:1; - nav-right:1; - nav-up:1; - opacity:1; - orphans:1; - outline:1; - outline-color:1; - outline-offset:1; - outline-style:1; - outline-width:1; - overflow:1; - overflow-style:1; - overflow-wrap:1; - overflow-x:1; - overflow-y:1; - padding:1; - padding-bottom:1; - padding-left:1; - padding-right:1; - padding-top:1; - page:1; - page-break-after:1; - page-break-before:1; - page-break-inside:1; - page-policy:1; - pause:1; - pause-after:1; - pause-before:1; - perspective:1; - perspective-origin:1; - phonemes:1; - pitch:1; - pitch-range:1; - play-during:1; - position:1; - presentation-level:1; - punctuation-trim:1; - quotes:1; - rendering-intent:1; - resize:1; - rest:1; - rest-after:1; - rest-before:1; - richness:1; - right:1; - rotation:1; - rotation-point:1; - ruby-align:1; - ruby-overhang:1; - ruby-position:1; - ruby-span:1; - size:1; - speak:1; - speak-header:1; - speak-numeral:1; - speak-punctuation:1; - speech-rate:1; - src:1; - stress:1; - string-set:1; - tab-size:1; - table-layout:1; - target:1; - target-name:1; - target-new:1; - target-position:1; - text-align:1; - text-align-last:1; - text-decoration:1; - text-decoration-color:1; - text-decoration-line:1; - text-decoration-skip:1; - text-decoration-style:1; - text-emphasis:1; - text-emphasis-color:1; - text-emphasis-position:1; - text-emphasis-style:1; - text-height:1; - text-indent:1; - text-justify:1; - text-outline:1; - text-shadow:1; - text-space-collapse:1; - text-transform:1; - text-underline-position:1; - text-wrap:1; - top:1; - transform:1; - transform-origin:1; - transform-style:1; - transition:1; - transition-delay:1; - transition-duration:1; - transition-property:1; - transition-timing-function:1; - unicode-bidi:1; - vertical-align:1; - visibility:1; - voice-balance:1; - voice-duration:1; - voice-family:1; - voice-pitch:1; - voice-pitch-range:1; - voice-rate:1; - voice-stress:1; - voice-volume:1; - volume:1; - white-space:1; - widows:1; - width:1; - word-break:1; - word-spacing:1; - word-wrap:1; - z-index:1; -} ---EXPECT-- -array ( - 'a' => - array ( - '--color' => '1', - 'alignment-adjust' => '1', - 'alignment-baseline' => '1', - 'animation' => '1', - 'animation-delay' => '1', - 'animation-direction' => '1', - 'animation-duration' => '1', - 'animation-iteration-count' => '1', - 'animation-name' => '1', - 'animation-play-state' => '1', - 'animation-timing-function' => '1', - 'appearance' => '1', - 'azimuth' => '1', - 'backface-visibility' => '1', - 'background' => '1px', - 'background-attachment' => '1', - 'background-clip' => '1', - 'background-color' => '#1', - 'background-image' => '1', - 'background-origin' => '1', - 'background-position' => '1px', - 'background-repeat' => '1', - 'background-size' => '1px', - 'baseline-shift' => '1', - 'binding' => '1', - 'bleed' => '1', - 'bookmark-label' => '1', - 'bookmark-level' => '1', - 'bookmark-state' => '1', - 'bookmark-target' => '1', - 'border' => '1px', - 'border-bottom' => '1px', - 'border-bottom-color' => '#1', - 'border-bottom-left-radius' => '1', - 'border-bottom-right-radius' => '1', - 'border-bottom-style' => '1', - 'border-bottom-width' => '1px', - 'border-collapse' => '1', - 'border-color' => '#1', - 'border-image' => '1', - 'border-image-outset' => '1', - 'border-image-repeat' => '1', - 'border-image-slice' => '1', - 'border-image-source' => '1', - 'border-image-width' => '1', - 'border-left' => '1px', - 'border-color' => '#1', - 'border-bottom-color' => '#1', - 'border-left-color' => '#1', - 'border-left-style' => '1', - 'border-left-width' => '1px', - 'border-radius' => '1', - 'border-right' => '1px', - 'border-right-color' => '#1', - 'border-right-style' => '1', - 'border-right-style' => '1', - 'border-right-width' => '1px', - 'border-spacing' => '1px', - 'border-style' => '1', - 'border-top' => '1px', - 'border-top-color' => '#1', - 'border-top-left-radius' => '1', - 'border-top-right-radius' => '1', - 'border-top-style' => '1', - 'border-left-style' => '1', - 'border-bottom-style' => '1', - 'border-top-width' => '1px', - 'border-width' => '1px', - 'border-right-width' => '1px', - 'border-left-width' => '1px', - 'border-bottom-width' => '1px', - 'border-collapse' => '1', - 'border-spacing' => '1px', - 'bottom' => '1px', - 'box-decoration-break' => '1', - 'box-shadow' => '1', - 'box-sizing' => '1', - 'break-after' => '1', - 'break-before' => '1', - 'break-inside' => '1', - 'caption-side' => '1', - 'clear' => '1', - 'clip' => '1', - 'color' => '#1', - 'color-profile' => '1', - 'column-count' => '1', - 'column-fill' => '1', - 'column-gap' => '1px', - 'column-rule' => '1', - 'column-rule-color' => '#1', - 'column-rule-style' => '1', - 'column-rule-width' => '1', - 'column-span' => '1', - 'column-width' => '1px', - 'columns' => '1', - 'content' => '1', - 'counter-increment' => '1', - 'counter-reset' => '1', - 'crop' => '1', - 'cue' => '1', - 'cue-after' => '1', - 'cue-before' => '1', - 'cursor' => '1', - 'direction' => '1', - 'display' => '1', - 'dominant-baseline' => '1', - 'drop-initial-after-adjust' => '1', - 'drop-initial-after-align' => '1', - 'drop-initial-before-adjust' => '1', - 'drop-initial-before-align' => '1', - 'drop-initial-size' => '1', - 'drop-initial-value' => '1', - 'elevation' => '1', - 'empty-cells' => '1', - 'fit' => '1', - 'fit-position' => '1', - 'flex-align' => '1', - 'flex-flow' => '1', - 'flex-line-pack' => '1', - 'flex-order' => '1', - 'flex-pack' => '1', - 'float' => '1', - 'float-offset' => '1', - 'font' => '1', - 'font-family' => '1', - 'font-size' => '1px', - 'font-size-adjust' => '1', - 'font-stretch' => '1', - 'font-style' => '1', - 'font-variant' => '1', - 'font-weight' => '1', - 'grid-columns' => '1', - 'grid-rows' => '1', - 'hanging-punctuation' => '1', - 'height' => '1px', - 'hyphenate-after' => '1', - 'hyphenate-before' => '1', - 'hyphenate-character' => '1', - 'hyphenate-lines' => '1', - 'hyphenate-resource' => '1', - 'hyphens' => '1', - 'icon' => '1', - 'image-orientation' => '1', - 'image-rendering' => '1', - 'image-resolution' => '1', - 'inline-box-align' => '1', - 'left' => '1px', - 'letter-spacing' => '1px', - 'line-break' => '1', - 'line-height' => '1', - 'line-stacking' => '1', - 'line-stacking-ruby' => '1', - 'line-stacking-shift' => '1', - 'line-stacking-strategy' => '1', - 'list-style' => '1', - 'list-style-image' => '1', - 'list-style-position' => '1', - 'list-style-type' => '1', - 'margin' => '1px', - 'margin-bottom' => '1px', - 'margin-left' => '1px', - 'margin-right' => '1px', - 'margin-top' => '1px', - 'marker-offset' => '1', - 'marks' => '1', - 'marquee-direction' => '1', - 'marquee-loop' => '1', - 'marquee-play-count' => '1', - 'marquee-speed' => '1', - 'marquee-style' => '1', - 'max-height' => '1px', - 'max-width' => '1px', - 'min-height' => '1px', - 'min-width' => '1px', - 'move-to' => '1', - 'nav-down' => '1', - 'nav-index' => '1', - 'nav-left' => '1', - 'nav-right' => '1', - 'nav-up' => '1', - 'opacity' => '1', - 'orphans' => '1', - 'outline' => '1px', - 'outline-color' => '#1', - 'outline-offset' => '1', - 'outline-style' => '1', - 'outline-width' => '1px', - 'overflow' => '1', - 'overflow-style' => '1', - 'overflow-wrap' => '1', - 'overflow-x' => '1', - 'overflow-y' => '1', - 'padding' => '1px', - 'padding-bottom' => '1px', - 'padding-left' => '1px', - 'padding-right' => '1px', - 'padding-top' => '1px', - 'page' => '1', - 'page-break-after' => '1', - 'page-break-before' => '1', - 'page-break-inside' => '1', - 'page-policy' => '1', - 'pause' => '1', - 'pause-after' => '1', - 'pause-before' => '1', - 'perspective' => '1px', - 'perspective-origin' => '1', - 'phonemes' => '1', - 'pitch' => '1', - 'pitch-range' => '1', - 'play-during' => '1', - 'position' => '1', - 'presentation-level' => '1', - 'punctuation-trim' => '1', - 'quotes' => '1', - 'rendering-intent' => '1', - 'resize' => '1', - 'rest' => '1', - 'rest-after' => '1', - 'rest-before' => '1', - 'richness' => '1', - 'right' => '1px', - 'rotation' => '1', - 'rotation-point' => '1', - 'ruby-align' => '1', - 'ruby-overhang' => '1', - 'ruby-position' => '1', - 'ruby-span' => '1', - 'size' => '1', - 'speak' => '1', - 'speak-header' => '1', - 'speak-numeral' => '1', - 'speak-punctuation' => '1', - 'speech-rate' => '1', - 'src' => '1', - 'stress' => '1', - 'string-set' => '1', - 'tab-size' => '1', - 'table-layout' => '1', - 'target' => '1', - 'target-name' => '1', - 'target-new' => '1', - 'target-position' => '1', - 'text-align' => '1', - 'text-align-last' => '1', - 'text-decoration' => '1', - 'text-decoration-color' => '1', - 'text-decoration-line' => '1', - 'text-decoration-skip' => '1', - 'text-decoration-style' => '1', - 'text-emphasis' => '1', - 'text-emphasis-color' => '1', - 'text-emphasis-position' => '1', - 'text-emphasis-style' => '1', - 'text-height' => '1', - 'text-indent' => '1px', - 'text-justify' => '1', - 'text-outline' => '1', - 'text-shadow' => '1', - 'text-space-collapse' => '1', - 'letter-spacing' => '1px', - 'text-transform' => '1', - 'text-underline-position' => '1', - 'text-wrap' => '1', - 'top' => '1px', - 'transform' => '1', - 'transform-origin' => '1', - 'transform-style' => '1', - 'transition' => '1', - 'transition-delay' => '1', - 'transition-duration' => '1', - 'transition-property' => '1', - 'transition-timing-function' => '1', - 'unicode-bidi' => '1', - 'vertical-align' => '1', - 'visibility' => '1', - 'voice-balance' => '1', - 'voice-duration' => '1', - 'voice-family' => '1', - 'voice-pitch' => '1', - 'voice-pitch-range' => '1', - 'voice-rate' => '1', - 'voice-stress' => '1', - 'voice-volume' => '1', - 'volume' => '1', - 'white-space' => '1', - 'widows' => '1', - 'width' => '1px', - 'word-break' => '1', - 'word-spacing' => '1px', - 'word-wrap' => '1', - 'z-index' => '1', - ), -) ---SETTINGS-- -discard_invalid_properties=true -optimise_shorthands=0 -css_level='CSS3.0' \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/importance.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/importance.csst deleted file mode 100644 index fa39274f..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/importance.csst +++ /dev/null @@ -1,81 +0,0 @@ ---TEST-- -Testing proper parsing of importance. ---CSS-- -a { - width: 100px; - height: 200px; -} - -a { - width: 400px !important; - height: 300px; -} - -b { - width: 100px !important; - height: 200px; -} - -b { - width: 400px; - height: 300px !important; -} - -c { - width: 100px!important; -} - -d { - width: 100px; -} - -d { - width: 200px !IMPORTANT; -} - -d { - width: 300px ! important; -} - -e { - background-image: url(http://example.com/test.png) !importANT; -} - -f { - background-image: url(http://example.com/test.png)!imPORTant; -} ---EXPECT-- -array ( - 'a' => - array ( - 'width' => '100px', - 'height' => '200px', - 'width ' => '400px!important', - 'height ' => '300px', - ), - 'b' => - array ( - 'width' => '100px!important', - 'height' => '200px', - 'width ' => '400px', - 'height ' => '300px!important', - ), - 'c' => - array ( - 'width' => '100px!important', - ), - 'd' => - array ( - 'width' => '100px', - 'width ' => '200px!important', - 'width ' => '300px!important', - ), - 'e' => - array ( - 'background-image' => 'url(http://example.com/test.png)!important', - ), - 'f' => - array ( - 'background-image' => 'url(http://example.com/test.png)!important', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/multiple-properties.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/multiple-properties.csst deleted file mode 100644 index 31283f1e..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/multiple-properties.csst +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -Support for multiple background properties. ---CSS-- -body { - background: linear-gradient(bottom, rgb(153,102,51) 0%, rgb(51,153,102) 30%, rgb(102,51,153) 100%); - background: -o-linear-gradient(bottom, rgb(153,102,51) 0%, rgb(51,153,102) 30%, rgb(102,51,153) 100%); - background: -moz-linear-gradient(bottom, rgb(153,102,51) 0%, rgb(51,153,102) 30%, rgb(102,51,153) 100%); - background: -webkit-linear-gradient(bottom, rgb(153,102,51) 0%, rgb(51,153,102) 30%, rgb(102,51,153) 100%); - background: -ms-linear-gradient(bottom, rgb(153,102,51) 0%, rgb(51,153,102) 30%, rgb(102,51,153) 100%); -} ---EXPECT-- -array ( - 'body' => - array ( - 'background' => 'linear-gradient(bottom,#963 0%,#396 30%,#639 100%)', - 'background ' => '-o-linear-gradient(bottom,#963 0%,#396 30%,#639 100%)', - 'background ' => '-moz-linear-gradient(bottom,#963 0%,#396 30%,#639 100%)', - 'background ' => '-webkit-linear-gradient(bottom,#963 0%,#396 30%,#639 100%)', - 'background ' => '-ms-linear-gradient(bottom,#963 0%,#396 30%,#639 100%)', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/preserve-merging-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/preserve-merging-rtl.csst deleted file mode 100644 index 2d328ba4..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/preserve-merging-rtl.csst +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Preserve merging of properties issue/2 ---CSS-- -div { - display:block; - display:inline-block; -} -.gradient { - background-image:-webkit-gradient(linear, left bottom, left top, color-stop(0.15, rgba(215,240,240,0.9)), color-stop(0.5, rgba(235,250,250,0))); - background-image: -moz-linear-gradient(bottom,rgba(215,240,240,0.9),rgba(235,250,250,0)) #ebf7f9; -} ---EXPECT-- -array ( - 'div' => - array ( - 'display' => 'block', - 'display ' => 'inline-block', - ), - '.gradient' => - array ( - 'background-image' => '-webkit-gradient(linear,right bottom,right top,color-stop(0.15,rgba(215,240,240,0.9)),color-stop(0.5,rgba(235,250,250,0)))', - 'background-image ' => '-moz-linear-gradient(bottom,rgba(215,240,240,0.9),rgba(235,250,250,0)) #ebf7f9', - ), -) ---SETTINGS-- -discard_invalid_properties=false -reverse_left_and_right=true -optimise_shorthands=0 -css_level='CSS21' diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/preserve-merging.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/preserve-merging.csst deleted file mode 100644 index 67cc6cc7..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/properties/preserve-merging.csst +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -Preserve merging of properties issue/2 ---CSS-- -div { - display:block; - display:inline-block; -} -.gradient { - background-image:-webkit-gradient(linear, left bottom, left top, color-stop(0.15, rgba(215,240,240,0.9)), color-stop(0.5, rgba(235,250,250,0))); - background-image: -moz-linear-gradient(bottom,rgba(215,240,240,0.9),rgba(235,250,250,0)) #ebf7f9; -} ---EXPECT-- -array ( - 'div' => - array ( - 'display' => 'block', - 'display ' => 'inline-block', - ), - '.gradient' => - array ( - 'background-image' => '-webkit-gradient(linear,left bottom,left top,color-stop(0.15,rgba(215,240,240,0.9)),color-stop(0.5,rgba(235,250,250,0)))', - 'background-image ' => '-moz-linear-gradient(bottom,rgba(215,240,240,0.9),rgba(235,250,250,0)) #ebf7f9', - ), -) ---SETTINGS-- -discard_invalid_properties=false -optimise_shorthands=0 -css_level='CSS21' diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/active.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/active.csst deleted file mode 100644 index 157e5abc..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/active.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Dynamic active selector ---CSS-- -a:active {display: inherit;} ---EXPECT-- -array ( - 'a:active' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/adjacent.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/adjacent.csst deleted file mode 100644 index f5113b18..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/adjacent.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Adjacent selector ---CSS-- -a + b {display: inherit;} ---EXPECT-- -array ( - 'a + b' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-begins.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-begins.csst deleted file mode 100644 index e84344b2..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-begins.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Begins hyphen-separated attribute list selector ---CSS-- -a[foo|="en"] {display: inherit;} ---EXPECT-- -array ( - 'a[foo|="en"]' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-contains.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-contains.csst deleted file mode 100644 index 397edf21..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-contains.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Contained in space-separated attribute list selector ---CSS-- -a[foo~="warning"] {display: inherit;} ---EXPECT-- -array ( - 'a[foo~="warning"]' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-equals.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-equals.csst deleted file mode 100644 index 0d2e98a8..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-equals.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Attribute equals selector ---CSS-- -a[foo="warning"] {display: inherit;} ---EXPECT-- -array ( - 'a[foo="warning"]' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-set.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-set.csst deleted file mode 100644 index cd749fd8..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/attribute-set.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Attribute selector ---CSS-- -a[foo] {display: inherit;} ---EXPECT-- -array ( - 'a[foo]' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/chain.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/chain.csst deleted file mode 100644 index 1e3b639e..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/chain.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Chained selector ---CSS-- -a * > div[attr="value"].class + div#id:hover {display: inherit;} ---EXPECT-- -array ( - 'a * > div[attr="value"].class + div#id:hover' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/child.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/child.csst deleted file mode 100644 index 1e801181..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/child.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Child selector ---CSS-- -table > tr {display: inherit;} ---EXPECT-- -array ( - 'table > tr' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/class.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/class.csst deleted file mode 100644 index 4cc6d202..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/class.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Class selector ---CSS-- -a.foo {display: inherit;} ---EXPECT-- -array ( - 'a.foo' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/combinator-compressed.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/combinator-compressed.csst deleted file mode 100644 index ed51bfbf..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/combinator-compressed.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Combinator selector ---CSS-- -a>b {display: inherit;} ---EXPECT-- -array ( - 'a>b' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/descendant.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/descendant.csst deleted file mode 100644 index 5667aee6..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/descendant.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Descendant selector ---CSS-- -table tr {display: inherit;} ---EXPECT-- -array ( - 'table tr' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/errors/dangling-combinator.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/errors/dangling-combinator.csst deleted file mode 100644 index c7ff9196..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/errors/dangling-combinator.csst +++ /dev/null @@ -1,12 +0,0 @@ ---TEST-- -Dangling combinator selector ---CSS-- -+ b {display: inherit;} -b > {font-family: inherit;} -asdf {font-size: inherit;} ---EXPECT-- -array ( -) ---SETTINGS-- -optimise_shorthands=0 -discard_invalid_selectors=1 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/errors/duplicate-combinator.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/errors/duplicate-combinator.csst deleted file mode 100644 index 5415e235..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/errors/duplicate-combinator.csst +++ /dev/null @@ -1,9 +0,0 @@ ---TEST-- -Duplicate combinator selector ---CSS-- -div + + b {display: inherit;} ---EXPECT-- -array ( -) ---SETTINGS-- -discard_invalid_selectors=1 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/first-child.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/first-child.csst deleted file mode 100644 index eaffb77b..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/first-child.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -First child selector ---CSS-- -p:first-child {display: inherit;} ---EXPECT-- -array ( - 'p:first-child' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/focus.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/focus.csst deleted file mode 100644 index 17794963..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/focus.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Dynamic focus selector ---CSS-- -a:focus {display: inherit;} ---EXPECT-- -array ( - 'a:focus' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/grouping.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/grouping.csst deleted file mode 100644 index 78f35991..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/grouping.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Grouped selectors ---CSS-- -h1,h2,h3 {display: inherit;} ---EXPECT-- -array ( - 'h1,h2,h3' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/hover.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/hover.csst deleted file mode 100644 index 9766d5fb..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/hover.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Dynamic hover selector ---CSS-- -a:hover {display: inherit;} ---EXPECT-- -array ( - 'a:hover' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/id.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/id.csst deleted file mode 100644 index e9c9e5d9..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/id.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -ID selector ---CSS-- -a#foo {display: inherit;} ---EXPECT-- -array ( - 'a#foo' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/lang.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/lang.csst deleted file mode 100644 index c709f2f0..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/lang.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Language selector ---CSS-- -div:lang(en) {display: inherit;} ---EXPECT-- -array ( - 'div:lang(en)' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/link.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/link.csst deleted file mode 100644 index 22f763b1..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/link.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Not-visited link selector ---CSS-- -a:link {display: inherit;} ---EXPECT-- -array ( - 'a:link' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/merge-optimization.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/merge-optimization.csst deleted file mode 100644 index 5827db96..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/merge-optimization.csst +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -Merge selectors optimization ---CSS-- -h1 {display: inherit;} -h2 {display: inherit;} -h3 {display: inherit;} ---EXPECT-- -array ( - 'h1,h2,h3' => - array ( - 'display' => 'inherit', - ), -) ---SETTINGS-- -merge_selectors=2 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/merge-preserve.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/merge-preserve.csst deleted file mode 100644 index dc7d80ae..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/merge-preserve.csst +++ /dev/null @@ -1,23 +0,0 @@ ---TEST-- -Merge selectors optimization off ---SETTINGS-- -merge_selectors = 0 ---CSS-- -h1 {display: inherit;} -h2 {display: inherit;} -h3 {display: inherit;} ---EXPECT-- -array ( - 'h1' => - array ( - 'display' => 'inherit', - ), - 'h2' => - array ( - 'display' => 'inherit', - ), - 'h3' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/pseudo-elements.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/pseudo-elements.csst deleted file mode 100644 index 7885fdac..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/pseudo-elements.csst +++ /dev/null @@ -1,26 +0,0 @@ ---TEST-- -Pseudo elements selectors ---CSS-- -P:first-line { display: inherit; } -P:first-letter { font-size: inherit; } -H1:before { font-family: inherit; } -H1:after { font-weight: inherit; } ---EXPECT-- -array ( - 'P:first-line' => - array ( - 'display' => 'inherit', - ), - 'P:first-letter' => - array ( - 'font-size' => 'inherit', - ), - 'H1:before' => - array ( - 'font-family' => 'inherit', - ), - 'H1:after' => - array ( - 'font-weight' => 'inherit', - ), -) \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/same-merge-siblings.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/same-merge-siblings.csst deleted file mode 100644 index abfdff5d..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/same-merge-siblings.csst +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -merge multiples siblings occurences of same seletor ---SETTINGS-- -merge_selectors = 0 ---CSS-- -h1,h2 {font-size:1em;} -h1 {display: inherit;} -h1 {font-size:2em;} ---EXPECT-- -array ( - 'h1,h2' => - array ( - 'font-size' => '1em', - ), - 'h1' => - array ( - 'display' => 'inherit', - 'font-size' => '2em', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/same-nomerge.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/same-nomerge.csst deleted file mode 100644 index 6af8493c..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/same-nomerge.csst +++ /dev/null @@ -1,23 +0,0 @@ ---TEST-- -Don't merge multiples occurences of same seletor ---SETTINGS-- -merge_selectors = 0 ---CSS-- -h1 {display: inherit;} -h1,h2 {font-size:1em;} -h1 {font-size:2em;} ---EXPECT-- -array ( - 'h1' => - array ( - 'display' => 'inherit', - ), - 'h1,h2' => - array ( - 'font-size' => '1em', - ), - 'h1 ' => - array ( - 'font-size' => '2em', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/simple.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/simple.csst deleted file mode 100644 index c0f637b1..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/simple.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Simple selector ---CSS-- -a[foo="bar"].class#id:hover {display: inherit;} ---EXPECT-- -array ( - 'a[foo="bar"].class#id:hover' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/type.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/type.csst deleted file mode 100644 index a175b7da..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/type.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Type selector ---CSS-- -a {display: inherit;} ---EXPECT-- -array ( - 'a' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/universal-optimization.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/universal-optimization.csst deleted file mode 100644 index cade2b84..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/universal-optimization.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Universal selector optimization ---CSS-- -*.foo {display: inherit;} ---EXPECT-- -array ( - '.foo' => - array ( - 'display' => 'inherit', - ), -) \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/universal-shorthand.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/universal-shorthand.csst deleted file mode 100644 index 4bc3873a..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/universal-shorthand.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Universal selector shorthand ---CSS-- -.foo {display: inherit;} ---EXPECT-- -array ( - '.foo' => - array ( - 'display' => 'inherit', - ), -) \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/universal.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/universal.csst deleted file mode 100644 index ccb8db2e..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/universal.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Universal selector ---CSS-- -* {display: inherit;} ---EXPECT-- -array ( - '*' => - array ( - 'display' => 'inherit', - ), -) \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/visited.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/visited.csst deleted file mode 100644 index fe3dce1c..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/selectors/visited.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Visited link selector ---CSS-- -a:visited {display: inherit;} ---EXPECT-- -array ( - 'a:visited' => - array ( - 'display' => 'inherit', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-general-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-general-rtl.csst deleted file mode 100644 index 7e336e55..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-general-rtl.csst +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -Test general background optimization ---CSS-- -a { - background-color: white; - background-image: url(123); - background-repeat: no-repeat; - background-position: 1px 1px; - background-attachment: scroll; -} ---EXPECT-- -array ( - 'a' => - array ( - 'background' => 'url(123) no-repeat 1px right 1px #fff', - ), -) ---SETTINGS-- -optimise_shorthands=3 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-general.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-general.csst deleted file mode 100644 index fe78a61b..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-general.csst +++ /dev/null @@ -1,19 +0,0 @@ ---TEST-- -Test general background optimization ---CSS-- -a { - background-color: white; - background-image: url(123); - background-repeat: no-repeat; - background-position: 1px 1px; - background-attachment: scroll; -} ---EXPECT-- -array ( - 'a' => - array ( - 'background' => 'url(123) no-repeat 1px 1px #fff', - ), -) ---SETTINGS-- -optimise_shorthands=3 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-noopt-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-noopt-rtl.csst deleted file mode 100644 index 648fd777..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-noopt-rtl.csst +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Test general background optimization ---CSS-- -a { - background-color: white; - background-image: url(123); - background-repeat: no-repeat; - background-position: 1px 1px; - background-attachment: scroll; -} -b { - background-position-x: 1px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'background-color' => '#fff', - 'background-image' => 'url(123)', - 'background-repeat' => 'no-repeat', - 'background-position' => '1px right 1px', - 'background-attachment' => 'scroll', - ), - 'b' => - array ( - 'background-position-x' => 'right 1px', - ), -) ---SETTINGS-- -optimise_shorthands=1 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-noopt.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-noopt.csst deleted file mode 100644 index 8f5191fc..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/background-noopt.csst +++ /dev/null @@ -1,23 +0,0 @@ ---TEST-- -Test general background optimization ---CSS-- -a { - background-color: white; - background-image: url(123); - background-repeat: no-repeat; - background-position: 1px 1px; - background-attachment: scroll; -} ---EXPECT-- -array ( - 'a' => - array ( - 'background-color' => '#fff', - 'background-image' => 'url(123)', - 'background-repeat' => 'no-repeat', - 'background-position' => '1px 1px', - 'background-attachment' => 'scroll', - ), -) ---SETTINGS-- -optimise_shorthands=1 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-general-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-general-rtl.csst deleted file mode 100644 index 8cac4ffe..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-general-rtl.csst +++ /dev/null @@ -1,26 +0,0 @@ ---TEST-- -Test general border-color optimization ---CSS-- -a { - border-top-color: red; - border-right-color: yellow; - border-bottom-color: green; - border-left-color: hsl(60, 90%, 50%, .8); -} -b { - border-color: red #ff0 green hsl(60,90%,50%,.8); -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-color' => 'red hsl(60,90%,50%,.8) green #ff0', - ), - 'b' => - array ( - 'border-color' => 'red hsl(60,90%,50%,.8) green #ff0', - ), -) ---SETTINGS-- -optimise_shorthands=1 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-general.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-general.csst deleted file mode 100644 index d9e12e77..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-general.csst +++ /dev/null @@ -1,26 +0,0 @@ ---TEST-- -Test general border-color optimization ---CSS-- -a { - border-top-color: red; - border-right-color: yellow; - border-bottom-color: green; - border-left-color: hsl(60, 90%, 50%, .8); -} -b { - border-color: red #ff0 green hsl(60,90%,50%,.8); -} - ---EXPECT-- -array ( - 'a' => - array ( - 'border-color' => 'red #ff0 green hsl(60,90%,50%,.8)', - ), - 'b' => - array ( - 'border-color' => 'red #ff0 green hsl(60,90%,50%,.8)', - ), -) ---SETTINGS-- -optimise_shorthands=1 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-noopt-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-noopt-rtl.csst deleted file mode 100644 index 19a13d70..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-noopt-rtl.csst +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test general border-color optimization ---CSS-- -a { - border-top-color: red; - border-right-color: yellow; - border-bottom-color: green; - border-left-color: hsl(60, 90%, 50%, .8); -} -b { - border-color: red #ff0 green hsl(60,90%,50%,.8); -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-top-color' => 'red', - 'border-left-color' => '#ff0', - 'border-bottom-color' => 'green', - 'border-right-color' => 'hsl(60,90%,50%,.8)', - ), - 'b' => - array ( - 'border-color' => 'red hsl(60,90%,50%,.8) green #ff0', - ), -) ---SETTINGS-- -optimise_shorthands=0 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-noopt.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-noopt.csst deleted file mode 100644 index c81c645a..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-color-noopt.csst +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -Test general border-color optimization ---CSS-- -a { - border-top-color: red; - border-right-color: yellow; - border-bottom-color: green; - border-left-color: hsl(60, 90%, 50%, .8); -} -b { - border-color: red #ff0 green hsl(60,90%,50%,.8); -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-top-color' => 'red', - 'border-right-color' => '#ff0', - 'border-bottom-color' => 'green', - 'border-left-color' => 'hsl(60,90%,50%,.8)', - ), - 'b' => - array ( - 'border-color' => 'red #ff0 green hsl(60,90%,50%,.8)', - ), -) ---SETTINGS-- -optimise_shorthands=0 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-general-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-general-rtl.csst deleted file mode 100644 index e74c8f47..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-general-rtl.csst +++ /dev/null @@ -1,43 +0,0 @@ ---TEST-- -Test general border-radius optimization ---CSS-- -a { - border-top-left-radius: 1px; - border-top-right-radius: 2%; - border-bottom-right-radius: 0; - border-bottom-left-radius: 4px; -} -b { - border-radius: 1px 2% 0 4px; -} -c { - border-top-left-radius: 1px 3%; - border-top-right-radius: 2% 5px; - border-bottom-right-radius: 0 1%; - border-bottom-left-radius: 4px 4%; -} -d { - border-radius: 1px 2% 0 4px / 3% 5px 1% 4%; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-radius' => '2% 1px 4px 0', - ), - 'b' => - array ( - 'border-radius' => '2% 1px 4px 0', - ), - 'c' => - array ( - 'border-radius' => '2% 1px 4px 0 / 5px 3% 4% 1%', - ), - 'd' => - array ( - 'border-radius' => '2% 1px 4px 0 / 5px 3% 4% 1%', - ), -) ---SETTINGS-- -optimise_shorthands=1 -reverse_left_and_right=true \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-general.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-general.csst deleted file mode 100644 index e7cfb0cb..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-general.csst +++ /dev/null @@ -1,42 +0,0 @@ ---TEST-- -Test general border-radius optimization ---CSS-- -a { - border-top-left-radius: 1px; - border-top-right-radius: 2%; - border-bottom-right-radius: 0; - border-bottom-left-radius: 4px; -} -b { - border-radius: 1px 2% 0 4px; -} -c { - border-top-left-radius: 1px 3%; - border-top-right-radius: 2% 5px; - border-bottom-right-radius: 0 1%; - border-bottom-left-radius: 4px 4%; -} -d { - border-radius: 1px 2% 0 4px / 3% 5px 1% 4%; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-radius' => '1px 2% 0 4px', - ), - 'b' => - array ( - 'border-radius' => '1px 2% 0 4px', - ), - 'c' => - array ( - 'border-radius' => '1px 2% 0 4px / 3% 5px 1% 4%', - ), - 'd' => - array ( - 'border-radius' => '1px 2% 0 4px / 3% 5px 1% 4%', - ), -) ---SETTINGS-- -optimise_shorthands=1 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-noopt-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-noopt-rtl.csst deleted file mode 100644 index 5693d7f7..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-noopt-rtl.csst +++ /dev/null @@ -1,49 +0,0 @@ ---TEST-- -Test general border-radius optimization ---CSS-- -a { - border-top-left-radius: 1px; - border-top-right-radius: 2%; - border-bottom-right-radius: 0; - border-bottom-left-radius: 4px; -} -b { - border-radius: 1px 2% 0 4px; -} -c { - border-top-left-radius: 1px 3%; - border-top-right-radius: 2% 5px; - border-bottom-right-radius: 0 1%; - border-bottom-left-radius: 4px 4%; -} -d { - border-radius: 1px 2% 0 4px / 3% 5px 1% 4%; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-top-right-radius' => '1px', - 'border-top-left-radius' => '2%', - 'border-bottom-left-radius' => '0', - 'border-bottom-right-radius' => '4px', - ), - 'b' => - array ( - 'border-radius' => '2% 1px 4px 0', - ), - 'c' => - array ( - 'border-top-right-radius' => '1px 3%', - 'border-top-left-radius' => '2% 5px', - 'border-bottom-left-radius' => '0 1%', - 'border-bottom-right-radius' => '4px 4%', - ), - 'd' => - array ( - 'border-radius' => '2% 1px 4px 0 / 5px 3% 4% 1%', - ), -) ---SETTINGS-- -optimise_shorthands=0 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-noopt.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-noopt.csst deleted file mode 100644 index bd205258..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-radius-noopt.csst +++ /dev/null @@ -1,48 +0,0 @@ ---TEST-- -Test general border-radius optimization ---CSS-- -a { - border-top-left-radius: 1px; - border-top-right-radius: 2%; - border-bottom-right-radius: 0; - border-bottom-left-radius: 4px; -} -b { - border-radius: 1px 2% 0 4px; -} -c { - border-top-left-radius: 1px 3%; - border-top-right-radius: 2% 5px; - border-bottom-right-radius: 0 1%; - border-bottom-left-radius: 4px 4%; -} -d { - border-radius: 1px 2% 0 4px / 3% 5px 1% 4%; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-top-left-radius' => '1px', - 'border-top-right-radius' => '2%', - 'border-bottom-right-radius' => '0', - 'border-bottom-left-radius' => '4px', - ), - 'b' => - array ( - 'border-radius' => '1px 2% 0 4px', - ), - 'c' => - array ( - 'border-top-left-radius' => '1px 3%', - 'border-top-right-radius' => '2% 5px', - 'border-bottom-right-radius' => '0 1%', - 'border-bottom-left-radius' => '4px 4%', - ), - 'd' => - array ( - 'border-radius' => '1px 2% 0 4px / 3% 5px 1% 4%', - ), -) ---SETTINGS-- -optimise_shorthands=0 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-general-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-general-rtl.csst deleted file mode 100644 index fa62d714..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-general-rtl.csst +++ /dev/null @@ -1,26 +0,0 @@ ---TEST-- -Test general border-style optimization ---CSS-- -a { - border-top-style: none; - border-right-style: solid; - border-bottom-style: dotted; - border-left-style: dashed; -} -b { - border-style: none solid dotted dashed; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-style' => 'none dashed dotted solid', - ), - 'b' => - array ( - 'border-style' => 'none dashed dotted solid', - ), -) ---SETTINGS-- -optimise_shorthands=1 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-general.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-general.csst deleted file mode 100644 index de81665a..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-general.csst +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -Test general border-style optimization ---CSS-- -a { - border-top-style: none; - border-right-style: solid; - border-bottom-style: dotted; - border-left-style: dashed; -} -b { - border-style: none solid dotted dashed; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-style' => 'none solid dotted dashed', - ), - 'b' => - array ( - 'border-style' => 'none solid dotted dashed', - ), -) ---SETTINGS-- -optimise_shorthands=1 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-noopt-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-noopt-rtl.csst deleted file mode 100644 index 256284f9..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-noopt-rtl.csst +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test general border-style optimization ---CSS-- -a { - border-top-style: none; - border-right-style: solid; - border-bottom-style: dotted; - border-left-style: dashed; -} -b { - border-style: none solid dotted dashed; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-top-style' => 'none', - 'border-left-style' => 'solid', - 'border-bottom-style' => 'dotted', - 'border-right-style' => 'dashed', - ), - 'b' => - array ( - 'border-style' => 'none dashed dotted solid', - ), -) ---SETTINGS-- -optimise_shorthands=0 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-noopt.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-noopt.csst deleted file mode 100644 index 4699efef..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-style-noopt.csst +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -Test general border-style optimization ---CSS-- -a { - border-top-style: none; - border-right-style: solid; - border-bottom-style: dotted; - border-left-style: dashed; -} -b { - border-style: none solid dotted dashed; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-top-style' => 'none', - 'border-right-style' => 'solid', - 'border-bottom-style' => 'dotted', - 'border-left-style' => 'dashed', - ), - 'b' => - array ( - 'border-style' => 'none solid dotted dashed', - ), -) ---SETTINGS-- -optimise_shorthands=0 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-general-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-general-rtl.csst deleted file mode 100644 index 839e5f27..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-general-rtl.csst +++ /dev/null @@ -1,26 +0,0 @@ ---TEST-- -Test general border-width optimization ---CSS-- -a { - border-top-width: 1px; - border-right-width: 2%; - border-bottom-width: 0; - border-left-width: 4px; -} -b { - border-width: 1px 2% 0 4px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-width' => '1px 4px 0 2%', - ), - 'b' => - array ( - 'border-width' => '1px 4px 0 2%', - ), -) ---SETTINGS-- -optimise_shorthands=1 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-general.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-general.csst deleted file mode 100644 index 1f936858..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-general.csst +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -Test general border-width optimization ---CSS-- -a { - border-top-width: 1px; - border-right-width: 2%; - border-bottom-width: 0; - border-left-width: 4px; -} -b { - border-width: 1px 2% 0 4px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-width' => '1px 2% 0 4px', - ), - 'b' => - array ( - 'border-width' => '1px 2% 0 4px', - ), -) ---SETTINGS-- -optimise_shorthands=1 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-noopt-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-noopt-rtl.csst deleted file mode 100644 index ec34e89b..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-noopt-rtl.csst +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test general border-width optimization ---CSS-- -a { - border-top-width: 1px; - border-right-width: 2%; - border-bottom-width: 0; - border-left-width: 4px; -} -b { - border-width: 1px 2% 0 4px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-top-width' => '1px', - 'border-left-width' => '2%', - 'border-bottom-width' => '0', - 'border-right-width' => '4px', - ), - 'b' => - array ( - 'border-width' => '1px 4px 0 2%', - ), -) ---SETTINGS-- -optimise_shorthands=0 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-noopt.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-noopt.csst deleted file mode 100644 index ae90e277..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/border-width-noopt.csst +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -Test general border-width optimization ---CSS-- -a { - border-top-width: 1px; - border-right-width: 2%; - border-bottom-width: 0; - border-left-width: 4px; -} -b { - border-width: 1px 2% 0 4px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'border-top-width' => '1px', - 'border-right-width' => '2%', - 'border-bottom-width' => '0', - 'border-left-width' => '4px', - ), - 'b' => - array ( - 'border-width' => '1px 2% 0 4px', - ), -) ---SETTINGS-- -optimise_shorthands=0 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/bugshorthand1.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/bugshorthand1.csst deleted file mode 100644 index f9d517d7..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/bugshorthand1.csst +++ /dev/null @@ -1,37 +0,0 @@ ---TEST-- -Test general font optimization ---CSS-- - .form-suggest { - height : 200px ; - background : #DEE2D0 ; - vertical-align : top; - } - -body{ - color: #000000; - font : 11px Verdana, Arial, Helvetica, sans-serif ; - margin: 0 10px 10px 10px; - padding: 0; - overflow:auto; -} ---EXPECT-- -array ( - '.form-suggest' => - array ( - 'height' => '200px', - 'background' => '#DEE2D0', - 'vertical-align' => 'top', - ), - 'body' => - array ( - 'color' => '#000', - 'font' => '11px Verdana,Arial,Helvetica,sans-serif', - 'margin' => '0 10px 10px', - 'padding' => '0', - 'overflow' => 'auto', - ), -) ---SETTINGS-- -optimise_shorthands=1 -sort_selectors=0 -sort_properties=0 diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/bugshorthand2.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/bugshorthand2.csst deleted file mode 100644 index 6b0a7030..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/bugshorthand2.csst +++ /dev/null @@ -1,37 +0,0 @@ ---TEST-- -Test general font optimization ---CSS-- - .form-suggest { - height : 200px ; - background : #DEE2D0 ; - vertical-align : top; - } - -body{ - color: #000000; - font : 11px Verdana, Arial, Helvetica, sans-serif ; - margin: 0 10px 10px 10px; - padding: 0; - overflow:auto; -} ---EXPECT-- -array ( - '.form-suggest' => - array ( - 'height' => '200px', - 'background' => '#DEE2D0', - 'vertical-align' => 'top', - ), - 'body' => - array ( - 'color' => '#000', - 'font' => '11px Verdana,Arial,Helvetica,sans-serif', - 'margin' => '0 10px 10px', - 'padding' => '0', - 'overflow' => 'auto', - ), -) ---SETTINGS-- -optimise_shorthands=2 -sort_selectors=0 -sort_properties=0 diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/bugshorthand3.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/bugshorthand3.csst deleted file mode 100644 index 778adce5..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/bugshorthand3.csst +++ /dev/null @@ -1,56 +0,0 @@ ---TEST-- -Test general font optimization ---CSS-- - .form-suggest { - height : 200px ; - background : #DEE2D0 ; - vertical-align : top; - } - -body{ - color: #000000; - font : 11px Verdana, Arial, Helvetica, sans-serif ; - margin: 0 10px 10px 10px; - padding: 0; - overflow:auto; -} -.degrade{ - background-color:#777777; - background:-webkit-gradient(linear,left top,left bottom,from(#999999),to(#666666)); - background-image:-moz-linear-gradient(top,#999999,#666666); -} - -.sans {background:none;} ---EXPECT-- -array ( -'.form-suggest' => - array ( - 'height' => '200px', - 'background' => '#DEE2D0', - 'vertical-align' => 'top', - ), - - 'body' => - array ( - 'color' => '#000', - 'font' => '11px Verdana,Arial,Helvetica,sans-serif', - 'margin' => '0 10px 10px', - 'padding' => '0', - 'overflow' => 'auto', - ), - '.degrade' => - array ( - 'background-color' => '#777', - 'background' => '-webkit-gradient(linear,left top,left bottom,from(#999),to(#666))', - 'background-image' => '-moz-linear-gradient(top,#999,#666)', -), - '.sans' => - array ( - 'background' => 'none', - ), - -) ---SETTINGS-- -optimise_shorthands=3 -sort_selectors=0 -sort_properties=0 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-face.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-face.csst deleted file mode 100644 index 1b7ff59d..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-face.csst +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -Test font-face optimization (no optimization) ---CSS-- -@font-face { - src: url("fonts/share.ttf") format("truetype"); -} ---FULLEXPECT-- -array ( - ' '=> array( - '@font-face' => - array ( - 'src' => 'url(fonts/share.ttf) format("truetype")', - ), - ), -) ---SETTINGS-- -optimise_shorthands=0 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-general.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-general.csst deleted file mode 100644 index ef03b056..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-general.csst +++ /dev/null @@ -1,36 +0,0 @@ ---TEST-- -Test general font optimization ---CSS-- -a { - font-weight: bold; - font-size: 12px; - line-height: 2em; - font-family: Arial, "Trebuchet MS", serif; -} -b { - font: 14px/1.25 Trebuchet MS, Arial, Tahoma, sans-serif; -} -c { - font-weight: bold; - font-size: 12px; - font-family: inherit; -} ---EXPECT-- -array ( - 'a' => - array ( - 'font' => '700 12px/2em Arial,"Trebuchet MS",serif', - ), - 'b' => - array ( - 'font' => '14px/1.25 "Trebuchet MS",Arial,Tahoma,sans-serif', - ), - 'c' => - array ( - 'font-weight' => '700', - 'font-size' => '12px', - 'font-family' => 'inherit', - ), -) ---SETTINGS-- -optimise_shorthands=2 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-noopt.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-noopt.csst deleted file mode 100644 index 8bbc3a71..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-noopt.csst +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -Test general font optimization (no optimization) ---CSS-- -a { - font-weight: bold; - font-size: 12px; - line-height: 2em; - font-family: Arial, sans-serif; -} ---EXPECT-- -array ( - 'a' => - array ( - 'font-weight' => '700', - 'font-size' => '12px', - 'line-height' => '2em', - 'font-family' => 'Arial,sans-serif', - ), -) ---SETTINGS-- -optimise_shorthands=0 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-weight-general.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-weight-general.csst deleted file mode 100644 index f1f9b847..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-weight-general.csst +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -Test font-weight optimization (full) ---CSS-- -a { - font-weight: bold; -} -b { - font-weight: normal; -} ---EXPECT-- -array ( - 'a' => - array ( - 'font-weight' => '700', - ), - 'b' => - array ( - 'font-weight' => '400', - ), -) ---SETTINGS-- -compress_font-weight=true \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-weight-noopt.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-weight-noopt.csst deleted file mode 100644 index e0ff5ee8..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/font-weight-noopt.csst +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -Test font-weight optimization (no optimization) ---CSS-- -a { - font-weight: bold; -} -b { - font-weight: normal; -} ---EXPECT-- -array ( - 'a' => - array ( - 'font-weight' => 'bold', - ), - 'b' => - array ( - 'font-weight' => 'normal', - ), -) ---SETTINGS-- -compress_font-weight=false \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-general-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-general-rtl.csst deleted file mode 100644 index 324fe20c..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-general-rtl.csst +++ /dev/null @@ -1,48 +0,0 @@ ---TEST-- -Test margin optimization ---CSS-- -a { - margin-left: 10px; - margin-right: 10px; - margin-top: 10px; - margin-bottom: 10px; -} -b { - margin-left: 6px; - margin-right: 6px; - margin-top: 10px; - margin-bottom: 10px; -} -c { - margin-left: 6px; - margin-right: 6px; - margin-top: 10px; - margin-bottom: 1px; -} -d { - margin-left: 1px; - margin-right: 6px; - margin-top: 10px; - margin-bottom: 3px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'margin' => '10px', - ), - 'b' => - array ( - 'margin' => '10px 6px', - ), - 'c' => - array ( - 'margin' => '10px 6px 1px', - ), - 'd' => - array ( - 'margin' => '10px 1px 3px 6px', - ), -) ---SETTINGS-- -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-general.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-general.csst deleted file mode 100644 index e6ac2b8f..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-general.csst +++ /dev/null @@ -1,46 +0,0 @@ ---TEST-- -Test margin optimization ---CSS-- -a { - margin-left: 10px; - margin-right: 10px; - margin-top: 10px; - margin-bottom: 10px; -} -b { - margin-left: 6px; - margin-right: 6px; - margin-top: 10px; - margin-bottom: 10px; -} -c { - margin-left: 6px; - margin-right: 6px; - margin-top: 10px; - margin-bottom: 1px; -} -d { - margin-left: 1px; - margin-right: 6px; - margin-top: 10px; - margin-bottom: 3px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'margin' => '10px', - ), - 'b' => - array ( - 'margin' => '10px 6px', - ), - 'c' => - array ( - 'margin' => '10px 6px 1px', - ), - 'd' => - array ( - 'margin' => '10px 6px 3px 1px', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-noopt-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-noopt-rtl.csst deleted file mode 100644 index c9111d48..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-noopt-rtl.csst +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -Test margin optimization ---CSS-- -a { - margin-left: 10px; - margin-right: 11px; - margin-top: 10px; - margin-bottom: 10px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'margin-right' => '10px', - 'margin-left' => '11px', - 'margin-top' => '10px', - 'margin-bottom' => '10px', - ), -) ---SETTINGS-- -optimise_shorthands=0 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-noopt.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-noopt.csst deleted file mode 100644 index 60b58001..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/margin-noopt.csst +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -Test margin optimization ---CSS-- -a { - margin-left: 10px; - margin-right: 10px; - margin-top: 10px; - margin-bottom: 10px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'margin-left' => '10px', - 'margin-right' => '10px', - 'margin-top' => '10px', - 'margin-bottom' => '10px', - ), -) ---SETTINGS-- -optimise_shorthands=0 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-general-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-general-rtl.csst deleted file mode 100644 index 7cd89103..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-general-rtl.csst +++ /dev/null @@ -1,48 +0,0 @@ ---TEST-- -Test padding optimization ---CSS-- -a { - padding-left: 10px; - padding-right: 10px; - padding-top: 10px; - padding-bottom: 10px; -} -b { - padding-left: 10px; - padding-right: 10px; - padding-top: 2px; - padding-bottom: 2px; -} -c { - padding-left: 10px; - padding-right: 10px; - padding-top: 2px; - padding-bottom: 3px; -} -d { - padding-left: 1px; - padding-right: 10px; - padding-top: 2px; - padding-bottom: 3px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'padding' => '10px', - ), - 'b' => - array ( - 'padding' => '2px 10px', - ), - 'c' => - array ( - 'padding' => '2px 10px 3px', - ), - 'd' => - array ( - 'padding' => '2px 1px 3px 10px', - ), -) ---SETTINGS-- -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-general.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-general.csst deleted file mode 100644 index 3260a5f2..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-general.csst +++ /dev/null @@ -1,46 +0,0 @@ ---TEST-- -Test padding optimization ---CSS-- -a { - padding-left: 10px; - padding-right: 10px; - padding-top: 10px; - padding-bottom: 10px; -} -b { - padding-left: 10px; - padding-right: 10px; - padding-top: 2px; - padding-bottom: 2px; -} -c { - padding-left: 10px; - padding-right: 10px; - padding-top: 2px; - padding-bottom: 3px; -} -d { - padding-left: 1px; - padding-right: 10px; - padding-top: 2px; - padding-bottom: 3px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'padding' => '10px', - ), - 'b' => - array ( - 'padding' => '2px 10px', - ), - 'c' => - array ( - 'padding' => '2px 10px 3px', - ), - 'd' => - array ( - 'padding' => '2px 10px 3px 1px', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-noopt-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-noopt-rtl.csst deleted file mode 100644 index e79bc90e..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-noopt-rtl.csst +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -Test padding optimization (no optimization) ---CSS-- -a { - padding-left: 10px; - padding-right: 11px; - padding-top: 10px; - padding-bottom: 10px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'padding-right' => '10px', - 'padding-left' => '11px', - 'padding-top' => '10px', - 'padding-bottom' => '10px', - ), -) ---SETTINGS-- -optimise_shorthands=0 -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-noopt.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-noopt.csst deleted file mode 100644 index b992d76a..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/shorthands/padding-noopt.csst +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -Test padding optimization (no optimization) ---CSS-- -a { - padding-left: 10px; - padding-right: 10px; - padding-top: 10px; - padding-bottom: 10px; -} ---EXPECT-- -array ( - 'a' => - array ( - 'padding-left' => '10px', - 'padding-right' => '10px', - 'padding-top' => '10px', - 'padding-bottom' => '10px', - ), -) ---SETTINGS-- -optimise_shorthands=0 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/atmedia-decimals.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/atmedia-decimals.csst deleted file mode 100644 index f40d0416..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/atmedia-decimals.csst +++ /dev/null @@ -1,27 +0,0 @@ ---TEST-- -Decimal values in @media selectors should be maintained. ---CSS-- -@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) { - #browserHigh { - background-image: url(http://design5279.files.wordpress.com/2012/04/browser-128.png); - } - - #internetHigh { - background-image: url(http://design5279.files.wordpress.com/2012/04/internet-128.png); - } -} ---FULLEXPECT-- -array ( - '@media only screen and (-webkit-min-device-pixel-ratio: 1.5),only screen and (min-device-pixel-ratio: 1.5) ' => - array ( - '#browserHigh' => - array ( - 'background-image' => 'url(http://design5279.files.wordpress.com/2012/04/browser-128.png)', - ), - '#internetHigh' => - array ( - 'background-image' => 'url(http://design5279.files.wordpress.com/2012/04/internet-128.png)', - ), - ), -) ---SETTINGS-- diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/background-image-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/background-image-rtl.csst deleted file mode 100644 index 8f72ac58..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/background-image-rtl.csst +++ /dev/null @@ -1,24 +0,0 @@ ---TEST-- -Reverse right and left in background image file name or not ---CSS-- -.to-be-reversed { - background-image: url(bg-arrow-left.png) -} -.to-be-reversed-also { - background-image: url("bg-arrow-left.png") -} ---EXPECT-- -array ( - '.to-be-reversed' => - array ( - 'background-image' => 'url(bg-arrow-right.png)', - ), - '.to-be-reversed-also' => - array ( - 'background-image' => 'url(bg-arrow-right.png)', - ), -) ---SETTINGS-- -optimise_shorthands=0 -reverse_left_and_right=true -css_level='CSS21' diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/complex-gradient-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/complex-gradient-rtl.csst deleted file mode 100644 index 47867b4e..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/complex-gradient-rtl.csst +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -multiples cursor rules ---CSS-- -.degrade{ - background-color:#777777; - background:-webkit-gradient(linear,left top, left bottom,from(#999999),to(#666666)); - background-image:-moz-linear-gradient(top, #999999, #666666); - /* ne pas remplacer les couleurs ci-apres */ - filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#999999', endColorstr='#666666'); - filter:progid:DXImageTransform.Microsoft.Shadow(color=#666666, direction=146, Strength=5); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#999999', endColorstr='#666666')"; - filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#ff999999',endColorstr='#ff666666'); -} ---EXPECT-- -array ( -'.degrade' => - array ( - 'background-color' => '#777', - 'background' => '-webkit-gradient(linear,right top,right bottom,from(#999),to(#666))', - 'background-image' => '-moz-linear-gradient(top,#999,#666)', - 'filter' => 'progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#999999\',endColorstr=\'#666666\')', - 'filter ' => 'progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=146,Strength=5)', - '-ms-filter' => '"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#999999\',endColorstr=\'#666666\')"', - 'filter ' => 'progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#ff999999\',endColorstr=\'#ff666666\')', - ), -) ---SETTINGS-- -reverse_left_and_right=true \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/complex-gradient.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/complex-gradient.csst deleted file mode 100644 index 7ba34936..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/complex-gradient.csst +++ /dev/null @@ -1,26 +0,0 @@ ---TEST-- -multiples cursor rules ---CSS-- -.degrade{ - background-color:#777777; - background:-webkit-gradient(linear,left top, left bottom,from(#999999),to(#666666)); - background-image:-moz-linear-gradient(top, #999999, #666666); - /* ne pas remplacer les couleurs ci-apres */ - filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#999999', endColorstr='#666666'); - filter:progid:DXImageTransform.Microsoft.Shadow(color=#666666, direction=146, Strength=5); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#999999', endColorstr='#666666')"; - filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#ff999999',endColorstr='#ff666666'); -} ---EXPECT-- -array ( -'.degrade' => - array ( - 'background-color' => '#777', - 'background' => '-webkit-gradient(linear,left top,left bottom,from(#999),to(#666))', - 'background-image' => '-moz-linear-gradient(top,#999,#666)', - 'filter' => 'progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#999999\',endColorstr=\'#666666\')', - 'filter ' => 'progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=146,Strength=5)', - '-ms-filter' => '"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#999999\',endColorstr=\'#666666\')"', - 'filter ' => 'progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#ff999999\',endColorstr=\'#ff666666\')', - ), -) \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/cursor.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/cursor.csst deleted file mode 100644 index 4365532a..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/cursor.csst +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -multiples cursor rules ---CSS-- -a { - cursor: pointer; - cursor: hand; -} ---EXPECT-- -array ( - 'a' => - array ( - 'cursor' => 'pointer', - 'cursor ' => 'hand', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-atmedia-2.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-atmedia-2.csst deleted file mode 100644 index c4fea893..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-atmedia-2.csst +++ /dev/null @@ -1,58 +0,0 @@ ---TEST-- -Test simple CSS print ---CSS-- -/** **/ -@font-face { - font-family: 'GenerikaRegular'; - src: url('../fonts/generikaregular-webfont.eot'); - src: url('../fonts/generikaregular-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/generikaregular-webfont.woff') format('woff'), - url('../fonts/generikaregular-webfont.ttf') format('truetype'), - url('../fonts/generikaregular-webfont.svg#GenerikaRegular') format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'GenerikaLight'; - src: url('../fonts/generikalight-webfont.eot'); - src: url('../fonts/generikalight-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/generikalight-webfont.woff') format('woff'), - url('../fonts/generikalight-webfont.ttf') format('truetype'), - url('../fonts/generikalight-webfont.svg#GenerikaLight') format('svg'); - font-weight: normal; - font-style: normal; -} - -p { border: none;} - ---FULLEXPECT-- -array( - ' ' => array ( - '@font-face' => - array ( - 'font-family' => '\'GenerikaRegular\'', - 'src' => 'url(../fonts/generikaregular-webfont.eot)', - 'src ' => 'url(../fonts/generikaregular-webfont.eot?#iefix) format("embedded-opentype"),url(../fonts/generikaregular-webfont.woff) format("woff"),url(../fonts/generikaregular-webfont.ttf) format("truetype"),url(../fonts/generikaregular-webfont.svg#GenerikaRegular) format("svg")', - 'font-weight' => '400', - 'font-style' => 'normal', - ), - '@font-face ' => - array ( - 'font-family' => '\'GenerikaLight\'', - 'src' => 'url(../fonts/generikalight-webfont.eot)', - 'src ' => 'url(../fonts/generikalight-webfont.eot?#iefix) format("embedded-opentype"),url(../fonts/generikalight-webfont.woff) format("woff"),url(../fonts/generikalight-webfont.ttf) format("truetype"),url(../fonts/generikalight-webfont.svg#GenerikaLight) format("svg")', - 'font-weight' => '400', - 'font-style' => 'normal', - ), - ), - 41 => array ( - 'p' => - array ( - 'border' => 'none', - ), - ), -) ---SETTINGS-- -sort_properties=false -sort_selectors=false diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-atmedia.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-atmedia.csst deleted file mode 100644 index a6568645..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-atmedia.csst +++ /dev/null @@ -1,76 +0,0 @@ ---TEST-- -Test simple CSS print ---CSS-- -/* Based on the original Style Sheet for the fisubsilver v2 Theme for phpBB version 2+ -Edited by Daz - http://www.forumimages.com - last updated 26-06-03 */ -/* The content of the posts (body of text) */ -/* General page style */ - -/* begin suggest post */ -.float-l { - float : left ; -} - -@font-face { -font-family: GillSans; -src:url("/generic/fonts/GillSansC.otf") format('opentype'); -font-style: normal; -font-weight: bold; -} - -.font-9{ - font-size: 11px; - } - -@media print { -.font-9{ - font-size: 9px; - } -} - -.form-suggest { -height : 200px ; -background : #DEE2D0 ; -vertical-align : top; -} - - ---FULLEXPECT-- -array ( - 41 => array ( - '.float-l' => - array ( - 'float' => 'left', - ), - ), - ' ' => array ( - '@font-face' => array ( - 'font-family' => 'GillSans', - 'src' => 'url(/generic/fonts/GillSansC.otf) format("opentype")', - 'font-style' => 'normal', - 'font-weight' => '700', - ), - ), - 42 => array ( - '.font-9' => - array ( - 'font-size' => '11px', - ), - ), - '@media print ' => array ( - '.font-9' => - array ( - 'font-size' => '9px', - ), - ), - 43 => - array ( - '.form-suggest' => - array ( - 'height' => '200px', - 'background' => '#DEE2D0', - 'vertical-align' => 'top', - ), - ), -) ---SETTINGS-- \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-mini.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-mini.csst deleted file mode 100644 index 6463b2ab..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-mini.csst +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -@font-face rules ---CSS-- -@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')} ---FULLEXPECT-- -array ( - ' ' => array( - '@font-face' => - array ( - 'font-family' => '\'Glyphicons Halflings\'', - 'src' => 'url(../fonts/glyphicons-halflings-regular.eot)', - 'src ' => 'url(../fonts/glyphicons-halflings-regular.eot?#iefix) format("embedded-opentype"),url(../fonts/glyphicons-halflings-regular.woff) format("woff"),url(../fonts/glyphicons-halflings-regular.ttf) format("truetype"),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format("svg")', - ), - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-simple.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-simple.csst deleted file mode 100644 index 52ddb0ed..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face-simple.csst +++ /dev/null @@ -1,35 +0,0 @@ ---TEST-- -@font-face rules ---CSS-- -@font-face { - font-family: GillSans; - src:url("/generic/fonts/GillSansLightC.otf") format('opentype'); - font-style: normal; - font-weight: normal; -} - -@font-face { - font-family: GillSans; - src:url("/generic/fonts/GillSansC.otf") format('opentype'); - font-style: normal; - font-weight: bold; -} ---FULLEXPECT-- -array ( - ' ' => array( - '@font-face' => - array ( - 'font-family' => 'GillSans', - 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype")', - 'font-style' => 'normal', - 'font-weight' => '400', - ), - '@font-face ' => - array ( - 'font-family' => 'GillSans', - 'src' => 'url(/generic/fonts/GillSansC.otf) format("opentype")', - 'font-style' => 'normal', - 'font-weight' => '700', - ), - ) -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face.csst deleted file mode 100644 index 1c6e5dc2..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face.csst +++ /dev/null @@ -1,109 +0,0 @@ ---TEST-- -@font-face rules ---CSS-- -@font-face { - font-family: GillSans; - src:url("/generic/fonts/GillSansLightC.otf") format("opentype"); - font-style: normal; - font-weight: normal; -} - -@font-face { - font-family: GillSans; - src:url("/generic/fonts/GillSansC.otf") format('opentype'); - font-style: normal; - font-weight: bold; -} - -@font-face { - src:url("/generic/fonts/GillSansLightC.otf") format("opentype", "woff"); -} - -@font-face { - src:url("/generic/fonts/GillSansLightC.otf") format(); -} - -@font-face { - src:url("/generic/fonts/GillSansLightC.otf") format("opentype" "svg"); -} - -@font-face { - src:url("/generic/fonts/GillSansLightC.otf") format("opentype", 'woff', 'svg'); -} -@font-face { - src:url("/generic/fonts/GillSansLightC.otf") format(opentype); -} -@font-face { - src:url("/generic/fonts/GillSansLightC.otf") format(opentype woff); -} -@font-face { - src:url("/generic/fonts/GillSansLightC.otf") format(opentype, woff); -} -@font-face { - src:url("/generic/fonts/GillSansLightC.otf") format(opentype, woff, "svg"); -} -@font-face { - src:url("/generic/fonts/GillSansLightC.otf") format(opentype woff, "svg"); -} -@font-face { - src:url("/generic/fonts/GillSans LightC.otf") format(opentype,woff); -} ---FULLEXPECT-- -array ( - ' ' => array( - '@font-face' => - array ( - 'font-family' => 'GillSans', - 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype")', - 'font-style' => 'normal', - 'font-weight' => '400', - ), - '@font-face ' => - array ( - 'font-family' => 'GillSans', - 'src' => 'url(/generic/fonts/GillSansC.otf) format("opentype")', - 'font-style' => 'normal', - 'font-weight' => '700', - ), - '@font-face ' => - array ( - 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff")', - ), - '@font-face ' => - array ( - 'src' => 'url(/generic/fonts/GillSansLightC.otf)', - ), - '@font-face ' => - array ( - 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","svg")', - ), - '@font-face ' => - array ( - 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff","svg")', - ), - '@font-face ' => - array ( - 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype")', - ), - '@font-face ' => - array ( - 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff")', - ), - '@font-face ' => - array ( - 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff")', - ), - '@font-face ' => - array ( - 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff","svg")', - ), - '@font-face ' => - array ( - 'src' => 'url(/generic/fonts/GillSansLightC.otf) format("opentype","woff","svg")', - ), - '@font-face ' => - array ( - 'src' => 'url("/generic/fonts/GillSans LightC.otf") format("opentype","woff")', - ), - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face_woff.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face_woff.csst deleted file mode 100644 index 6555c5c2..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/font-face_woff.csst +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -@font-face rules with woff https://github.com/Cerdic/CSSTidy/issues/issue/1 ---CSS-- -@font-face { - font-family: "Unibody8SmallCaps Regular"; - src:url('fonts/unibody_8-smallcaps-webfont.woff') format('woff'); -} ---FULLEXPECT-- -array ( - ' ' => array( - '@font-face' => - array ( - 'font-family' => '"Unibody8SmallCaps Regular"', - 'src' => 'url(fonts/unibody_8-smallcaps-webfont.woff) format("woff")', - ), - ) -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/hex.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/hex.csst deleted file mode 100644 index e39892dc..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/hex.csst +++ /dev/null @@ -1,10 +0,0 @@ ---TEST-- ---CSS-- -li:before { content: "\00BB \0020"; } ---EXPECT-- -array ( - 'li:before' => - array ( - 'content' => '"\\00BB \\0020"', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/ie-hacks-sort.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/ie-hacks-sort.csst deleted file mode 100644 index ca7d5e3b..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/ie-hacks-sort.csst +++ /dev/null @@ -1,34 +0,0 @@ ---TEST-- -IE Hacks Sort Issue/6 ---SETTINGS-- -discard_invalid_properties = 0 -sort_properties = true ---CSS-- -fakeList a { -width: 100%; -display: block; -height: 30px; -padding-top: 2px; --padding-top: 0; -line-height:18px; --moz-border-radius:10px; -*line-height:17; -/line-height:none; -_background-image: url(/ttt/gf.gif); -} ---EXPECT-- -array ( -'fakeList a' => - array ( - 'width' => '100%', - 'display' => 'block', - 'height' => '30px', - 'padding-top' => '2px', - '-padding-top' => '0', - 'line-height' => '18px', - '-moz-border-radius' => '10px', - '*line-height' => '17', - '/line-height' => 'none', - '_background-image' => 'url(/ttt/gf.gif)', - ), -) \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/ie-hacks.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/ie-hacks.csst deleted file mode 100644 index b6904ccd..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/ie-hacks.csst +++ /dev/null @@ -1,33 +0,0 @@ ---TEST-- -IE Hacks Issue/5 ---SETTINGS-- -discard_invalid_properties = 0 ---CSS-- -fakeList a { -width: 100%; -display: block; -height: 30px; -padding-top: 2px; --padding-top: 0; -line-height:18px; -*line-height:17; -/line-height:none; -// background-image: url(images/cellpic3.gif); /* should be ignored in print version*/ -_background-image: url(/ttt/gf.gif); -} ---EXPECT-- -array ( - 'fakeList a' => - array ( - 'width' => '100%', - 'display' => 'block', - 'height' => '30px', - 'padding-top' => '2px', - '-padding-top' => '0', - 'line-height' => '18px', - '*line-height' => '17', - '/line-height' => 'none', - '//background-image' => 'url(images/cellpic3.gif)', - '_background-image' => 'url(/ttt/gf.gif)', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/iezoom.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/iezoom.csst deleted file mode 100644 index b3e469bb..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/iezoom.csst +++ /dev/null @@ -1,13 +0,0 @@ ---TEST-- -IE Zoom ---CSS-- -#content { -zoom: 1; -} ---EXPECT-- -array ( - '#content' => - array ( - 'zoom' => '1', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/newlines.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/newlines.csst deleted file mode 100644 index 866a6fc6..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/newlines.csst +++ /dev/null @@ -1,77 +0,0 @@ ---TEST-- -@font-face rules ---CSS-- -a { - background: -webkit-gradient( - linear, - left bottom, - left top, - color-stop(0, rgb(153,102,51)), - color-stop(0.3, rgb(51,153,102)), - color-stop(1, rgb(102,51,153)) - ); - content: "ABC -123 -DEF -GHI"; -} -b { - content: "ABC\A123"; -} -i { - content: 'ABC -123\ADEF'; -} - -u { - background: parenthetical( - "string 1", - "string -2", - 'string 3', - 'string "4', - 'string "5"', - "string '6", - "string (7)", - "string 8)", - ( - ( - ( - ( - ("boo") - ) - ) - ) - ), - ( - ( - ( - ( - ("boo ba") - ) - ) - ) - ) - -); -} ---EXPECT-- -array ( - 'a' => - array ( - 'background' => '-webkit-gradient(linear,left bottom,left top,color-stop(0,#963),color-stop(0.3,#396),color-stop(1,#639))', - 'content' => '"ABC\\A123\\ADEF\\AGHI"', - ), - 'b' => - array ( - 'content' => '"ABC\\A123"', - ), - 'i' => - array ( - 'content' => '\'ABC\\A123\\ADEF\'', - ), - 'u' => - array ( - 'background' => 'parenthetical("string 1","string\\A2",\'string 3\',\'string "4\',\'string "5"\',"string \'6","string (7)","string 8)",(((((boo))))),((((("boo ba"))))))', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/same-atmedia-merge.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/same-atmedia-merge.csst deleted file mode 100644 index daa92a54..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/same-atmedia-merge.csst +++ /dev/null @@ -1,50 +0,0 @@ ---TEST-- -Don't merge multiples occurences of same @media ---SETTINGS-- -merge_selectors = 0 ---CSS-- -BODY { -color: black; -} - -@media screen, tv, projection { -BODY { -background-color: red; -} -} - -@media screen, tv, projection { -BODY { -color: green; -} -} - -BODY { -background-color: white; -} - ---FULLEXPECT-- -array ( - 41 => - array ( - 'BODY' => - array ( - 'color' => '#000', - ), - ), - '@media screen,tv,projection ' => - array ( - 'BODY' => - array ( - 'background-color' => 'red', - 'color' => 'green', - ), - ), - 42 => - array ( - 'BODY' => - array ( - 'background-color' => '#fff', - ), - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/same-atmedia-nomerge.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/same-atmedia-nomerge.csst deleted file mode 100644 index c7548386..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/special/same-atmedia-nomerge.csst +++ /dev/null @@ -1,56 +0,0 @@ ---TEST-- -Don't merge multiples occurences of same @media ---SETTINGS-- -merge_selectors = 0 ---CSS-- -@media screen, tv, projection { -BODY { -background-color: red; -} -} - -BODY { -color: black; -} - -@media screen, tv, projection { -BODY { -color: green; -} -} - -BODY { -background-color: white; -} - ---FULLEXPECT-- -array ( - '@media screen,tv,projection ' => - array ( - 'BODY' => - array ( - 'background-color' => 'red', - ), - ), - 41 => - array ( - 'BODY' => - array ( - 'color' => '#000', - ), - ), - '@media screen,tv,projection ' => - array ( - 'BODY' => - array ( - 'color' => 'green', - ), - ), - 42 => - array ( - 'BODY' => - array ( - 'background-color' => '#fff', - ), - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/colors.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/colors.csst deleted file mode 100644 index a4e3da1e..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/colors.csst +++ /dev/null @@ -1,23 +0,0 @@ ---TEST-- -Test color optimisation ---CSS-- -a { - foo:rgb(0,0,0); - bar:black; - baz:#ffaabb; - qux:#f00; - quux:blanchedalmond; - quuux:rgb(0,0,1); -} ---EXPECT-- -array ( - 'a' => - array ( - 'foo' => '#000', - 'bar' => '#000', - 'baz' => '#fab', - 'qux' => 'red', - 'quux' => '#ffebcd', - 'quuux' => '#000001', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/font-family.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/font-family.csst deleted file mode 100644 index b3521ae0..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/font-family.csst +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -Tests numeric values: Floating point ---CSS-- -a { font:10px Arial, sans-serif} -b { font:10px "Arial", "Trebuchet MS","sans-serif"} -em { font:10px/normal "Arial", "Trebuchet MS","sans-serif"} -i { font:10px/1.5em "Arial", "Trebuchet MS","sans-serif"} ---EXPECT-- -array ( - 'a' => - array ( - 'font' => '10px Arial,sans-serif', - ), - 'b' => - array ( - 'font' => '10px Arial,"Trebuchet MS",sans-serif', - ), - 'em' => - array ( - 'font' => '10px/normal Arial,"Trebuchet MS",sans-serif', - ), - 'i' => - array ( - 'font' => '10px/1.5em Arial,"Trebuchet MS",sans-serif', - ), -) ---SETTINGS-- -optimise_shorthands=2 diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/important.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/important.csst deleted file mode 100644 index 032ab707..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/important.csst +++ /dev/null @@ -1,19 +0,0 @@ ---TEST-- -Tests !important ---CSS-- -a { - color:red !important; - size:2 ! important; - foo:2! important; - bar:2!important; -} ---EXPECT-- -array ( - 'a' => - array ( - 'color' => 'red!important', - 'size' => '2!important', - 'foo' => '2!important', - 'bar' => '2!important', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/left-right-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/left-right-rtl.csst deleted file mode 100644 index f32ba78d..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/left-right-rtl.csst +++ /dev/null @@ -1,78 +0,0 @@ ---TEST-- -Test left/right inversion ---CSS-- -a { - float:left; -} -b { - float:right; -} -c { - filter: brightness(50%); -} -d { - background-position: center center; -} -e { - background-position: center 10px; -} -f { - background-position: center right 10px; -} -g { - background-position: center; -} -h { - background-position: 10px; -} -i { - background-position: top; -} -j { - background-position: 0 0; -} ---EXPECT-- -array ( - 'a' => - array ( - 'float' => 'right', - ), - 'b' => - array ( - 'float' => 'left', - ), - 'c' => - array ( - 'filter' => 'brightness(50%)', - ), - 'd' => - array ( - 'background-position' => 'center center', - ), - 'e' => - array ( - 'background-position' => 'center right 10px', - ), - 'f' => - array ( - 'background-position' => 'center left 10px', - ), - 'g' => - array ( - 'background-position' => 'center', - ), - 'h' => - array ( - 'background-position' => 'right 10px', - ), - 'i' => - array ( - 'background-position' => 'top', - ), - 'j' => - array ( - 'background-position' => '0 right 0', - ), -) ---SETTINGS-- -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-float.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-float.csst deleted file mode 100644 index 6805c5a1..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-float.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Tests numeric values: Floating point ---CSS-- -a { font-size:01.5010em } ---EXPECT-- -array ( - 'a' => - array ( - 'font-size' => '1.501em', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-leadingzero.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-leadingzero.csst deleted file mode 100644 index 5dfd9e1b..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-leadingzero.csst +++ /dev/null @@ -1,14 +0,0 @@ ---TEST-- -Tests numeric values: Leading zeros ---CSS-- -a { font-size:0001em; foo:00.1em; line-height:00.1; bar:-00.1;} ---EXPECT-- -array ( - 'a' => - array ( - 'font-size' => '1em', - 'foo' => '.1em', - 'line-height' => '.1', - 'bar' => '-.1', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-missingunit.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-missingunit.csst deleted file mode 100644 index b43e3aa1..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-missingunit.csst +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -Tests numeric values: Missing unit ---CSS-- -a { -font-size:1.0; -line-height:1.0; -color:123456; -font:1em/1.0 verdana; -} ---EXPECT-- -array ( - 'a' => - array ( - 'font-size' => '1px', - 'line-height' => '1', - 'color' => '#123456', - 'font' => '1em/1 verdana', - ), -) ---SETTINGS-- -optimise_shorthands=0 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-missingzero.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-missingzero.csst deleted file mode 100644 index 6e7ef2e0..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-missingzero.csst +++ /dev/null @@ -1,14 +0,0 @@ ---TEST-- -Tests numeric values: Missing zero ---CSS-- -a { font-size:0.1em } -b { font-size:.1em } ---EXPECT-- -array ( - 'a,b' => - array ( - 'font-size' => '.1em', - ), -) ---SETTINGS-- -merge_selectors=2 \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-signed.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-signed.csst deleted file mode 100644 index 0659ea32..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-signed.csst +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -Tests numeric values: Signed ---CSS-- -a { font-size:-1em } -b { font-size:+1em } ---EXPECT-- -array ( - 'a' => - array ( - 'font-size' => '-1em', - ), - 'b' => - array ( - 'font-size' => '1em', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-trailingzero.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-trailingzero.csst deleted file mode 100644 index 24287c95..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-trailingzero.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Tests numeric values: Trailing zeros ---CSS-- -a { font-size:1.000em } ---EXPECT-- -array ( - 'a' => - array ( - 'font-size' => '1em', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-zero.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-zero.csst deleted file mode 100644 index 620e36d3..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/number-zero.csst +++ /dev/null @@ -1,12 +0,0 @@ ---TEST-- -Tests numeric values: Zero ---CSS-- -a { font-size:0px; line-height:00.00 } ---EXPECT-- -array ( - 'a' => - array ( - 'font-size' => '0', - 'line-height' => '0', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/quoted-strings-rtl.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/quoted-strings-rtl.csst deleted file mode 100644 index 87285f7b..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/quoted-strings-rtl.csst +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Ensure that quoted strings are left unchanged. ---CSS-- -a:after { - content: "This is a typical string with words, commas, and a period, with left and right unchanged words."; -} - -b:after { - content: "This string has CSS-like content: foo { margin-left: 10px; }."; -} - -c:after { - content: 'This string uses single quotes, not double, with left and right unchanged words (").'; -} ---EXPECT-- -array ( - 'a:after' => - array ( - 'content' => '"This is a typical string with words, commas, and a period, with left and right unchanged words."', - ), - 'b:after' => - array ( - 'content' => '"This string has CSS-like content: foo { margin-left: 10px; }."', - ), - 'c:after' => - array ( - 'content' => '\'This string uses single quotes, not double, with left and right unchanged words (").\'', - ), -) ---SETTINGS-- -reverse_left_and_right=true diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/quoted-strings.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/quoted-strings.csst deleted file mode 100644 index 61ccc8fe..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/quoted-strings.csst +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Ensure that quoted strings are left unchanged. ---CSS-- -a:after { - content: "This is a typical string with words, commas, and a period."; -} - -b:after { - content: "This string has CSS-like content: foo { color: rgb(0, 0, 0); }."; -} - -c:after { - content: 'This string uses single quotes, not double (").'; -} ---EXPECT-- -array ( - 'a:after' => - array ( - 'content' => '"This is a typical string with words, commas, and a period."', - ), - 'b:after' => - array ( - 'content' => '"This string has CSS-like content: foo { color: rgb(0, 0, 0); }."', - ), - 'c:after' => - array ( - 'content' => '\'This string uses single quotes, not double (").\'', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/transition-duration.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/transition-duration.csst deleted file mode 100644 index 83e07e4a..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/values/transition-duration.csst +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Tests transition duration: Unit is needed ---CSS-- -a { transition: color 0.4s ease 0s; } ---EXPECT-- -array ( - 'a' => - array ( - 'transition' => 'color .4s ease 0s', - ), -) diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/vendor-prefixed/webkit-gradient.csst b/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/vendor-prefixed/webkit-gradient.csst deleted file mode 100644 index 3ddf50c0..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/csst/vendor-prefixed/webkit-gradient.csst +++ /dev/null @@ -1,24 +0,0 @@ ---TEST-- --webkit-gradient properties issue/3 ---CSS-- -.linear { - background: -webkit-gradient(linear, left top, left bottom, from(#00abeb), to(#fff), color-stop(0.5, #fff), color-stop(0.5, #66cc00)); -} -.radial { - background: -webkit-gradient(radial, 45 45, 10, 52 50, 30, from(#A7D30C), to(rgba(1,159,98,0)), color-stop(90%, #019F62)); -} ---EXPECT-- -array ( - '.linear' => - array ( - 'background' => '-webkit-gradient(linear,left top,left bottom,from(#00abeb),to(#fff),color-stop(0.5,#fff),color-stop(0.5,#6c0))', - ), - '.radial' => - array ( - 'background' => '-webkit-gradient(radial,45 45,10,52 50,30,from(#A7D30C),to(rgba(1,159,98,0)),color-stop(90%,#019F62))', - ), -) ---SETTINGS-- -discard_invalid_properties=false -optimise_shorthands=0 -css_level='CSS21' \ No newline at end of file diff --git a/includes/vendor/cerdic/css-tidy/testing/unit-tests/test.csst.php b/includes/vendor/cerdic/css-tidy/testing/unit-tests/test.csst.php deleted file mode 100644 index a9bebec8..00000000 --- a/includes/vendor/cerdic/css-tidy/testing/unit-tests/test.csst.php +++ /dev/null @@ -1,21 +0,0 @@ -assert($expectation, $filename, '%s'); - // this is necessary because SimpleTest doesn't support - // HTML messages; this probably should be in the reporter. - // This is *not* compatible with XmlReporter - if (!$result) echo $expectation->render(); - } - } -} diff --git a/includes/vendor/composer/ClassLoader.php b/includes/vendor/composer/ClassLoader.php deleted file mode 100644 index afef3fa2..00000000 --- a/includes/vendor/composer/ClassLoader.php +++ /dev/null @@ -1,572 +0,0 @@ - - * Jordi Boggiano
to
- foreach ($definition->info[$token->name]->attr_transform_pre as $transform) { - $attr = $transform->transform($o = $attr, $config, $context); - if ($e) { - if ($attr != $o) { - $e->send(E_NOTICE, 'AttrValidator: Attributes transformed', $o, $attr); - } - } - } - - // create alias to this element's attribute definition array, see - // also $d_defs (global attribute definition array) - // DEFINITION CALL - $defs = $definition->info[$token->name]->attr; - - $attr_key = false; - $context->register('CurrentAttr', $attr_key); - - // iterate through all the attribute keypairs - // Watch out for name collisions: $key has previously been used - foreach ($attr as $attr_key => $value) { - - // call the definition - if (isset($defs[$attr_key])) { - // there is a local definition defined - if ($defs[$attr_key] === false) { - // We've explicitly been told not to allow this element. - // This is usually when there's a global definition - // that must be overridden. - // Theoretically speaking, we could have a - // AttrDef_DenyAll, but this is faster! - $result = false; - } else { - // validate according to the element's definition - $result = $defs[$attr_key]->validate( - $value, - $config, - $context - ); - } - } elseif (isset($d_defs[$attr_key])) { - // there is a global definition defined, validate according - // to the global definition - $result = $d_defs[$attr_key]->validate( - $value, - $config, - $context - ); - } else { - // system never heard of the attribute? DELETE! - $result = false; - } - - // put the results into effect - if ($result === false || $result === null) { - // this is a generic error message that should replaced - // with more specific ones when possible - if ($e) { - $e->send(E_ERROR, 'AttrValidator: Attribute removed'); - } - - // remove the attribute - unset($attr[$attr_key]); - } elseif (is_string($result)) { - // generally, if a substitution is happening, there - // was some sort of implicit correction going on. We'll - // delegate it to the attribute classes to say exactly what. - - // simple substitution - $attr[$attr_key] = $result; - } else { - // nothing happens - } - - // we'd also want slightly more complicated substitution - // involving an array as the return value, - // although we're not sure how colliding attributes would - // resolve (certain ones would be completely overriden, - // others would prepend themselves). - } - - $context->destroy('CurrentAttr'); - - // post transforms - - // global (error reporting untested) - foreach ($definition->info_attr_transform_post as $transform) { - $attr = $transform->transform($o = $attr, $config, $context); - if ($e) { - if ($attr != $o) { - $e->send(E_NOTICE, 'AttrValidator: Attributes transformed', $o, $attr); - } - } - } - - // local (error reporting untested) - foreach ($definition->info[$token->name]->attr_transform_post as $transform) { - $attr = $transform->transform($o = $attr, $config, $context); - if ($e) { - if ($attr != $o) { - $e->send(E_NOTICE, 'AttrValidator: Attributes transformed', $o, $attr); - } - } - } - - $token->attr = $attr; - - // destroy CurrentToken if we made it ourselves - if (!$current_token) { - $context->destroy('CurrentToken'); - } - - } - - -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Bootstrap.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Bootstrap.php deleted file mode 100644 index 707122bb..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Bootstrap.php +++ /dev/null @@ -1,124 +0,0 @@ - -if (!defined('PHP_EOL')) { - switch (strtoupper(substr(PHP_OS, 0, 3))) { - case 'WIN': - define('PHP_EOL', "\r\n"); - break; - case 'DAR': - define('PHP_EOL', "\r"); - break; - default: - define('PHP_EOL', "\n"); - } -} - -/** - * Bootstrap class that contains meta-functionality for HTML Purifier such as - * the autoload function. - * - * @note - * This class may be used without any other files from HTML Purifier. - */ -class HTMLPurifier_Bootstrap -{ - - /** - * Autoload function for HTML Purifier - * @param string $class Class to load - * @return bool - */ - public static function autoload($class) - { - $file = HTMLPurifier_Bootstrap::getPath($class); - if (!$file) { - return false; - } - // Technically speaking, it should be ok and more efficient to - // just do 'require', but Antonio Parraga reports that with - // Zend extensions such as Zend debugger and APC, this invariant - // may be broken. Since we have efficient alternatives, pay - // the cost here and avoid the bug. - require_once HTMLPURIFIER_PREFIX . '/' . $file; - return true; - } - - /** - * Returns the path for a specific class. - * @param string $class Class path to get - * @return string - */ - public static function getPath($class) - { - if (strncmp('HTMLPurifier', $class, 12) !== 0) { - return false; - } - // Custom implementations - if (strncmp('HTMLPurifier_Language_', $class, 22) === 0) { - $code = str_replace('_', '-', substr($class, 22)); - $file = 'HTMLPurifier/Language/classes/' . $code . '.php'; - } else { - $file = str_replace('_', '/', $class) . '.php'; - } - if (!file_exists(HTMLPURIFIER_PREFIX . '/' . $file)) { - return false; - } - return $file; - } - - /** - * "Pre-registers" our autoloader on the SPL stack. - */ - public static function registerAutoload() - { - $autoload = array('HTMLPurifier_Bootstrap', 'autoload'); - if (($funcs = spl_autoload_functions()) === false) { - spl_autoload_register($autoload); - } elseif (function_exists('spl_autoload_unregister')) { - if (version_compare(PHP_VERSION, '5.3.0', '>=')) { - // prepend flag exists, no need for shenanigans - spl_autoload_register($autoload, true, true); - } else { - $buggy = version_compare(PHP_VERSION, '5.2.11', '<'); - $compat = version_compare(PHP_VERSION, '5.1.2', '<=') && - version_compare(PHP_VERSION, '5.1.0', '>='); - foreach ($funcs as $func) { - if ($buggy && is_array($func)) { - // :TRICKY: There are some compatibility issues and some - // places where we need to error out - $reflector = new ReflectionMethod($func[0], $func[1]); - if (!$reflector->isStatic()) { - throw new Exception( - 'HTML Purifier autoloader registrar is not compatible - with non-static object methods due to PHP Bug #44144; - Please do not use HTMLPurifier.autoload.php (or any - file that includes this file); instead, place the code: - spl_autoload_register(array(\'HTMLPurifier_Bootstrap\', \'autoload\')) - after your own autoloaders.' - ); - } - // Suprisingly, spl_autoload_register supports the - // Class::staticMethod callback format, although call_user_func doesn't - if ($compat) { - $func = implode('::', $func); - } - } - spl_autoload_unregister($func); - } - spl_autoload_register($autoload); - foreach ($funcs as $func) { - spl_autoload_register($func); - } - } - } - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/CSSDefinition.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/CSSDefinition.php deleted file mode 100644 index 3f08b81c..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/CSSDefinition.php +++ /dev/null @@ -1,549 +0,0 @@ -info['text-align'] = new HTMLPurifier_AttrDef_Enum( - array('left', 'right', 'center', 'justify'), - false - ); - - $border_style = - $this->info['border-bottom-style'] = - $this->info['border-right-style'] = - $this->info['border-left-style'] = - $this->info['border-top-style'] = new HTMLPurifier_AttrDef_Enum( - array( - 'none', - 'hidden', - 'dotted', - 'dashed', - 'solid', - 'double', - 'groove', - 'ridge', - 'inset', - 'outset' - ), - false - ); - - $this->info['border-style'] = new HTMLPurifier_AttrDef_CSS_Multiple($border_style); - - $this->info['clear'] = new HTMLPurifier_AttrDef_Enum( - array('none', 'left', 'right', 'both'), - false - ); - $this->info['float'] = new HTMLPurifier_AttrDef_Enum( - array('none', 'left', 'right'), - false - ); - $this->info['font-style'] = new HTMLPurifier_AttrDef_Enum( - array('normal', 'italic', 'oblique'), - false - ); - $this->info['font-variant'] = new HTMLPurifier_AttrDef_Enum( - array('normal', 'small-caps'), - false - ); - - $uri_or_none = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_Enum(array('none')), - new HTMLPurifier_AttrDef_CSS_URI() - ) - ); - - $this->info['list-style-position'] = new HTMLPurifier_AttrDef_Enum( - array('inside', 'outside'), - false - ); - $this->info['list-style-type'] = new HTMLPurifier_AttrDef_Enum( - array( - 'disc', - 'circle', - 'square', - 'decimal', - 'lower-roman', - 'upper-roman', - 'lower-alpha', - 'upper-alpha', - 'none' - ), - false - ); - $this->info['list-style-image'] = $uri_or_none; - - $this->info['list-style'] = new HTMLPurifier_AttrDef_CSS_ListStyle($config); - - $this->info['text-transform'] = new HTMLPurifier_AttrDef_Enum( - array('capitalize', 'uppercase', 'lowercase', 'none'), - false - ); - $this->info['color'] = new HTMLPurifier_AttrDef_CSS_Color(); - - $this->info['background-image'] = $uri_or_none; - $this->info['background-repeat'] = new HTMLPurifier_AttrDef_Enum( - array('repeat', 'repeat-x', 'repeat-y', 'no-repeat') - ); - $this->info['background-attachment'] = new HTMLPurifier_AttrDef_Enum( - array('scroll', 'fixed') - ); - $this->info['background-position'] = new HTMLPurifier_AttrDef_CSS_BackgroundPosition(); - - $this->info['background-size'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_Enum( - array( - 'auto', - 'cover', - 'contain', - 'initial', - 'inherit', - ) - ), - new HTMLPurifier_AttrDef_CSS_Percentage(), - new HTMLPurifier_AttrDef_CSS_Length() - ) - ); - - $border_color = - $this->info['border-top-color'] = - $this->info['border-bottom-color'] = - $this->info['border-left-color'] = - $this->info['border-right-color'] = - $this->info['background-color'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_Enum(array('transparent')), - new HTMLPurifier_AttrDef_CSS_Color() - ) - ); - - $this->info['background'] = new HTMLPurifier_AttrDef_CSS_Background($config); - - $this->info['border-color'] = new HTMLPurifier_AttrDef_CSS_Multiple($border_color); - - $border_width = - $this->info['border-top-width'] = - $this->info['border-bottom-width'] = - $this->info['border-left-width'] = - $this->info['border-right-width'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_Enum(array('thin', 'medium', 'thick')), - new HTMLPurifier_AttrDef_CSS_Length('0') //disallow negative - ) - ); - - $this->info['border-width'] = new HTMLPurifier_AttrDef_CSS_Multiple($border_width); - - $this->info['letter-spacing'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_Enum(array('normal')), - new HTMLPurifier_AttrDef_CSS_Length() - ) - ); - - $this->info['word-spacing'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_Enum(array('normal')), - new HTMLPurifier_AttrDef_CSS_Length() - ) - ); - - $this->info['font-size'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_Enum( - array( - 'xx-small', - 'x-small', - 'small', - 'medium', - 'large', - 'x-large', - 'xx-large', - 'larger', - 'smaller' - ) - ), - new HTMLPurifier_AttrDef_CSS_Percentage(), - new HTMLPurifier_AttrDef_CSS_Length() - ) - ); - - $this->info['line-height'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_Enum(array('normal')), - new HTMLPurifier_AttrDef_CSS_Number(true), // no negatives - new HTMLPurifier_AttrDef_CSS_Length('0'), - new HTMLPurifier_AttrDef_CSS_Percentage(true) - ) - ); - - $margin = - $this->info['margin-top'] = - $this->info['margin-bottom'] = - $this->info['margin-left'] = - $this->info['margin-right'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Length(), - new HTMLPurifier_AttrDef_CSS_Percentage(), - new HTMLPurifier_AttrDef_Enum(array('auto')) - ) - ); - - $this->info['margin'] = new HTMLPurifier_AttrDef_CSS_Multiple($margin); - - // non-negative - $padding = - $this->info['padding-top'] = - $this->info['padding-bottom'] = - $this->info['padding-left'] = - $this->info['padding-right'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Length('0'), - new HTMLPurifier_AttrDef_CSS_Percentage(true) - ) - ); - - $this->info['padding'] = new HTMLPurifier_AttrDef_CSS_Multiple($padding); - - $this->info['text-indent'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Length(), - new HTMLPurifier_AttrDef_CSS_Percentage() - ) - ); - - $trusted_wh = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Length('0'), - new HTMLPurifier_AttrDef_CSS_Percentage(true), - new HTMLPurifier_AttrDef_Enum(array('auto', 'initial', 'inherit')) - ) - ); - $trusted_min_wh = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Length('0'), - new HTMLPurifier_AttrDef_CSS_Percentage(true), - new HTMLPurifier_AttrDef_Enum(array('initial', 'inherit')) - ) - ); - $trusted_max_wh = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Length('0'), - new HTMLPurifier_AttrDef_CSS_Percentage(true), - new HTMLPurifier_AttrDef_Enum(array('none', 'initial', 'inherit')) - ) - ); - $max = $config->get('CSS.MaxImgLength'); - - $this->info['width'] = - $this->info['height'] = - $max === null ? - $trusted_wh : - new HTMLPurifier_AttrDef_Switch( - 'img', - // For img tags: - new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Length('0', $max), - new HTMLPurifier_AttrDef_Enum(array('auto')) - ) - ), - // For everyone else: - $trusted_wh - ); - $this->info['min-width'] = - $this->info['min-height'] = - $max === null ? - $trusted_min_wh : - new HTMLPurifier_AttrDef_Switch( - 'img', - // For img tags: - new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Length('0', $max), - new HTMLPurifier_AttrDef_Enum(array('initial', 'inherit')) - ) - ), - // For everyone else: - $trusted_min_wh - ); - $this->info['max-width'] = - $this->info['max-height'] = - $max === null ? - $trusted_max_wh : - new HTMLPurifier_AttrDef_Switch( - 'img', - // For img tags: - new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Length('0', $max), - new HTMLPurifier_AttrDef_Enum(array('none', 'initial', 'inherit')) - ) - ), - // For everyone else: - $trusted_max_wh - ); - - $this->info['text-decoration'] = new HTMLPurifier_AttrDef_CSS_TextDecoration(); - - $this->info['font-family'] = new HTMLPurifier_AttrDef_CSS_FontFamily(); - - // this could use specialized code - $this->info['font-weight'] = new HTMLPurifier_AttrDef_Enum( - array( - 'normal', - 'bold', - 'bolder', - 'lighter', - '100', - '200', - '300', - '400', - '500', - '600', - '700', - '800', - '900' - ), - false - ); - - // MUST be called after other font properties, as it references - // a CSSDefinition object - $this->info['font'] = new HTMLPurifier_AttrDef_CSS_Font($config); - - // same here - $this->info['border'] = - $this->info['border-bottom'] = - $this->info['border-top'] = - $this->info['border-left'] = - $this->info['border-right'] = new HTMLPurifier_AttrDef_CSS_Border($config); - - $this->info['border-collapse'] = new HTMLPurifier_AttrDef_Enum( - array('collapse', 'separate') - ); - - $this->info['caption-side'] = new HTMLPurifier_AttrDef_Enum( - array('top', 'bottom') - ); - - $this->info['table-layout'] = new HTMLPurifier_AttrDef_Enum( - array('auto', 'fixed') - ); - - $this->info['vertical-align'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_Enum( - array( - 'baseline', - 'sub', - 'super', - 'top', - 'text-top', - 'middle', - 'bottom', - 'text-bottom' - ) - ), - new HTMLPurifier_AttrDef_CSS_Length(), - new HTMLPurifier_AttrDef_CSS_Percentage() - ) - ); - - $this->info['border-spacing'] = new HTMLPurifier_AttrDef_CSS_Multiple(new HTMLPurifier_AttrDef_CSS_Length(), 2); - - // These CSS properties don't work on many browsers, but we live - // in THE FUTURE! - $this->info['white-space'] = new HTMLPurifier_AttrDef_Enum( - array('nowrap', 'normal', 'pre', 'pre-wrap', 'pre-line') - ); - - if ($config->get('CSS.Proprietary')) { - $this->doSetupProprietary($config); - } - - if ($config->get('CSS.AllowTricky')) { - $this->doSetupTricky($config); - } - - if ($config->get('CSS.Trusted')) { - $this->doSetupTrusted($config); - } - - $allow_important = $config->get('CSS.AllowImportant'); - // wrap all attr-defs with decorator that handles !important - foreach ($this->info as $k => $v) { - $this->info[$k] = new HTMLPurifier_AttrDef_CSS_ImportantDecorator($v, $allow_important); - } - - $this->setupConfigStuff($config); - } - - /** - * @param HTMLPurifier_Config $config - */ - protected function doSetupProprietary($config) - { - // Internet Explorer only scrollbar colors - $this->info['scrollbar-arrow-color'] = new HTMLPurifier_AttrDef_CSS_Color(); - $this->info['scrollbar-base-color'] = new HTMLPurifier_AttrDef_CSS_Color(); - $this->info['scrollbar-darkshadow-color'] = new HTMLPurifier_AttrDef_CSS_Color(); - $this->info['scrollbar-face-color'] = new HTMLPurifier_AttrDef_CSS_Color(); - $this->info['scrollbar-highlight-color'] = new HTMLPurifier_AttrDef_CSS_Color(); - $this->info['scrollbar-shadow-color'] = new HTMLPurifier_AttrDef_CSS_Color(); - - // vendor specific prefixes of opacity - $this->info['-moz-opacity'] = new HTMLPurifier_AttrDef_CSS_AlphaValue(); - $this->info['-khtml-opacity'] = new HTMLPurifier_AttrDef_CSS_AlphaValue(); - - // only opacity, for now - $this->info['filter'] = new HTMLPurifier_AttrDef_CSS_Filter(); - - // more CSS3 - $this->info['page-break-after'] = - $this->info['page-break-before'] = new HTMLPurifier_AttrDef_Enum( - array( - 'auto', - 'always', - 'avoid', - 'left', - 'right' - ) - ); - $this->info['page-break-inside'] = new HTMLPurifier_AttrDef_Enum(array('auto', 'avoid')); - - $border_radius = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Percentage(true), // disallow negative - new HTMLPurifier_AttrDef_CSS_Length('0') // disallow negative - )); - - $this->info['border-top-left-radius'] = - $this->info['border-top-right-radius'] = - $this->info['border-bottom-right-radius'] = - $this->info['border-bottom-left-radius'] = new HTMLPurifier_AttrDef_CSS_Multiple($border_radius, 2); - // TODO: support SLASH syntax - $this->info['border-radius'] = new HTMLPurifier_AttrDef_CSS_Multiple($border_radius, 4); - - } - - /** - * @param HTMLPurifier_Config $config - */ - protected function doSetupTricky($config) - { - $this->info['display'] = new HTMLPurifier_AttrDef_Enum( - array( - 'inline', - 'block', - 'list-item', - 'run-in', - 'compact', - 'marker', - 'table', - 'inline-block', - 'inline-table', - 'table-row-group', - 'table-header-group', - 'table-footer-group', - 'table-row', - 'table-column-group', - 'table-column', - 'table-cell', - 'table-caption', - 'none' - ) - ); - $this->info['visibility'] = new HTMLPurifier_AttrDef_Enum( - array('visible', 'hidden', 'collapse') - ); - $this->info['overflow'] = new HTMLPurifier_AttrDef_Enum(array('visible', 'hidden', 'auto', 'scroll')); - $this->info['opacity'] = new HTMLPurifier_AttrDef_CSS_AlphaValue(); - } - - /** - * @param HTMLPurifier_Config $config - */ - protected function doSetupTrusted($config) - { - $this->info['position'] = new HTMLPurifier_AttrDef_Enum( - array('static', 'relative', 'absolute', 'fixed') - ); - $this->info['top'] = - $this->info['left'] = - $this->info['right'] = - $this->info['bottom'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_CSS_Length(), - new HTMLPurifier_AttrDef_CSS_Percentage(), - new HTMLPurifier_AttrDef_Enum(array('auto')), - ) - ); - $this->info['z-index'] = new HTMLPurifier_AttrDef_CSS_Composite( - array( - new HTMLPurifier_AttrDef_Integer(), - new HTMLPurifier_AttrDef_Enum(array('auto')), - ) - ); - } - - /** - * Performs extra config-based processing. Based off of - * HTMLPurifier_HTMLDefinition. - * @param HTMLPurifier_Config $config - * @todo Refactor duplicate elements into common class (probably using - * composition, not inheritance). - */ - protected function setupConfigStuff($config) - { - // setup allowed elements - $support = "(for information on implementing this, see the " . - "support forums) "; - $allowed_properties = $config->get('CSS.AllowedProperties'); - if ($allowed_properties !== null) { - foreach ($this->info as $name => $d) { - if (!isset($allowed_properties[$name])) { - unset($this->info[$name]); - } - unset($allowed_properties[$name]); - } - // emit errors - foreach ($allowed_properties as $name => $d) { - // :TODO: Is this htmlspecialchars() call really necessary? - $name = htmlspecialchars($name); - trigger_error("Style attribute '$name' is not supported $support", E_USER_WARNING); - } - } - - $forbidden_properties = $config->get('CSS.ForbiddenProperties'); - if ($forbidden_properties !== null) { - foreach ($this->info as $name => $d) { - if (isset($forbidden_properties[$name])) { - unset($this->info[$name]); - } - } - } - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef.php deleted file mode 100644 index 8eb17b82..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef.php +++ /dev/null @@ -1,52 +0,0 @@ -elements; - } - - /** - * Validates nodes according to definition and returns modification. - * - * @param HTMLPurifier_Node[] $children Array of HTMLPurifier_Node - * @param HTMLPurifier_Config $config HTMLPurifier_Config object - * @param HTMLPurifier_Context $context HTMLPurifier_Context object - * @return bool|array true to leave nodes as is, false to remove parent node, array of replacement children - */ - abstract public function validateChildren($children, $config, $context); -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Chameleon.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Chameleon.php deleted file mode 100644 index 7439be26..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Chameleon.php +++ /dev/null @@ -1,67 +0,0 @@ -inline = new HTMLPurifier_ChildDef_Optional($inline); - $this->block = new HTMLPurifier_ChildDef_Optional($block); - $this->elements = $this->block->elements; - } - - /** - * @param HTMLPurifier_Node[] $children - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - * @return bool - */ - public function validateChildren($children, $config, $context) - { - if ($context->get('IsInline') === false) { - return $this->block->validateChildren( - $children, - $config, - $context - ); - } else { - return $this->inline->validateChildren( - $children, - $config, - $context - ); - } - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php deleted file mode 100644 index f515888a..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php +++ /dev/null @@ -1,102 +0,0 @@ -dtd_regex = $dtd_regex; - $this->_compileRegex(); - } - - /** - * Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex) - */ - protected function _compileRegex() - { - $raw = str_replace(' ', '', $this->dtd_regex); - if ($raw[0] != '(') { - $raw = "($raw)"; - } - $el = '[#a-zA-Z0-9_.-]+'; - $reg = $raw; - - // COMPLICATED! AND MIGHT BE BUGGY! I HAVE NO CLUE WHAT I'M - // DOING! Seriously: if there's problems, please report them. - - // collect all elements into the $elements array - preg_match_all("/$el/", $reg, $matches); - foreach ($matches[0] as $match) { - $this->elements[$match] = true; - } - - // setup all elements as parentheticals with leading commas - $reg = preg_replace("/$el/", '(,\\0)', $reg); - - // remove commas when they were not solicited - $reg = preg_replace("/([^,(|]\(+),/", '\\1', $reg); - - // remove all non-paranthetical commas: they are handled by first regex - $reg = preg_replace("/,\(/", '(', $reg); - - $this->_pcre_regex = $reg; - } - - /** - * @param HTMLPurifier_Node[] $children - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - * @return bool - */ - public function validateChildren($children, $config, $context) - { - $list_of_children = ''; - $nesting = 0; // depth into the nest - foreach ($children as $node) { - if (!empty($node->is_whitespace)) { - continue; - } - $list_of_children .= $node->name . ','; - } - // add leading comma to deal with stray comma declarations - $list_of_children = ',' . rtrim($list_of_children, ','); - $okay = - preg_match( - '/^,?' . $this->_pcre_regex . '$/', - $list_of_children - ); - return (bool)$okay; - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Empty.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Empty.php deleted file mode 100644 index a8a6cbdd..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Empty.php +++ /dev/null @@ -1,38 +0,0 @@ - true, 'ul' => true, 'ol' => true); - - public $whitespace; - - /** - * @param array $children - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - * @return array - */ - public function validateChildren($children, $config, $context) - { - // Flag for subclasses - $this->whitespace = false; - - // if there are no tokens, delete parent node - if (empty($children)) { - return false; - } - - // if li is not allowed, delete parent node - if (!isset($config->getHTMLDefinition()->info['li'])) { - trigger_error("Cannot allow ul/ol without allowing li", E_USER_WARNING); - return false; - } - - // the new set of children - $result = array(); - - // a little sanity check to make sure it's not ALL whitespace - $all_whitespace = true; - - $current_li = null; - - foreach ($children as $node) { - if (!empty($node->is_whitespace)) { - $result[] = $node; - continue; - } - $all_whitespace = false; // phew, we're not talking about whitespace - - if ($node->name === 'li') { - // good - $current_li = $node; - $result[] = $node; - } else { - // we want to tuck this into the previous li - // Invariant: we expect the node to be ol/ul - // ToDo: Make this more robust in the case of not ol/ul - // by distinguishing between existing li and li created - // to handle non-list elements; non-list elements should - // not be appended to an existing li; only li created - // for non-list. This distinction is not currently made. - if ($current_li === null) { - $current_li = new HTMLPurifier_Node_Element('li'); - $result[] = $current_li; - } - $current_li->children[] = $node; - $current_li->empty = false; // XXX fascinating! Check for this error elsewhere ToDo - } - } - if (empty($result)) { - return false; - } - if ($all_whitespace) { - return false; - } - return $result; - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Optional.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Optional.php deleted file mode 100644 index b9468063..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Optional.php +++ /dev/null @@ -1,45 +0,0 @@ -whitespace) { - return $children; - } else { - return array(); - } - } - return $result; - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Required.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Required.php deleted file mode 100644 index 0d1c8f5f..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Required.php +++ /dev/null @@ -1,118 +0,0 @@ - $x) { - $elements[$i] = true; - if (empty($i)) { - unset($elements[$i]); - } // remove blank - } - } - $this->elements = $elements; - } - - /** - * @type bool - */ - public $allow_empty = false; - - /** - * @type string - */ - public $type = 'required'; - - /** - * @param array $children - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - * @return array - */ - public function validateChildren($children, $config, $context) - { - // Flag for subclasses - $this->whitespace = false; - - // if there are no tokens, delete parent node - if (empty($children)) { - return false; - } - - // the new set of children - $result = array(); - - // whether or not parsed character data is allowed - // this controls whether or not we silently drop a tag - // or generate escaped HTML from it - $pcdata_allowed = isset($this->elements['#PCDATA']); - - // a little sanity check to make sure it's not ALL whitespace - $all_whitespace = true; - - $stack = array_reverse($children); - while (!empty($stack)) { - $node = array_pop($stack); - if (!empty($node->is_whitespace)) { - $result[] = $node; - continue; - } - $all_whitespace = false; // phew, we're not talking about whitespace - - if (!isset($this->elements[$node->name])) { - // special case text - // XXX One of these ought to be redundant or something - if ($pcdata_allowed && $node instanceof HTMLPurifier_Node_Text) { - $result[] = $node; - continue; - } - // spill the child contents in - // ToDo: Make configurable - if ($node instanceof HTMLPurifier_Node_Element) { - for ($i = count($node->children) - 1; $i >= 0; $i--) { - $stack[] = $node->children[$i]; - } - continue; - } - continue; - } - $result[] = $node; - } - if (empty($result)) { - return false; - } - if ($all_whitespace) { - $this->whitespace = true; - return false; - } - return $result; - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/StrictBlockquote.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/StrictBlockquote.php deleted file mode 100644 index 3270a46e..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/StrictBlockquote.php +++ /dev/null @@ -1,110 +0,0 @@ -init($config); - return $this->fake_elements; - } - - /** - * @param array $children - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - * @return array - */ - public function validateChildren($children, $config, $context) - { - $this->init($config); - - // trick the parent class into thinking it allows more - $this->elements = $this->fake_elements; - $result = parent::validateChildren($children, $config, $context); - $this->elements = $this->real_elements; - - if ($result === false) { - return array(); - } - if ($result === true) { - $result = $children; - } - - $def = $config->getHTMLDefinition(); - $block_wrap_name = $def->info_block_wrapper; - $block_wrap = false; - $ret = array(); - - foreach ($result as $node) { - if ($block_wrap === false) { - if (($node instanceof HTMLPurifier_Node_Text && !$node->is_whitespace) || - ($node instanceof HTMLPurifier_Node_Element && !isset($this->elements[$node->name]))) { - $block_wrap = new HTMLPurifier_Node_Element($def->info_block_wrapper); - $ret[] = $block_wrap; - } - } else { - if ($node instanceof HTMLPurifier_Node_Element && isset($this->elements[$node->name])) { - $block_wrap = false; - - } - } - if ($block_wrap) { - $block_wrap->children[] = $node; - } else { - $ret[] = $node; - } - } - return $ret; - } - - /** - * @param HTMLPurifier_Config $config - */ - private function init($config) - { - if (!$this->init) { - $def = $config->getHTMLDefinition(); - // allow all inline elements - $this->real_elements = $this->elements; - $this->fake_elements = $def->info_content_sets['Flow']; - $this->fake_elements['#PCDATA'] = true; - $this->init = true; - } - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Table.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Table.php deleted file mode 100644 index 67c7e953..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Table.php +++ /dev/null @@ -1,224 +0,0 @@ - true, - 'tbody' => true, - 'thead' => true, - 'tfoot' => true, - 'caption' => true, - 'colgroup' => true, - 'col' => true - ); - - public function __construct() - { - } - - /** - * @param array $children - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - * @return array - */ - public function validateChildren($children, $config, $context) - { - if (empty($children)) { - return false; - } - - // only one of these elements is allowed in a table - $caption = false; - $thead = false; - $tfoot = false; - - // whitespace - $initial_ws = array(); - $after_caption_ws = array(); - $after_thead_ws = array(); - $after_tfoot_ws = array(); - - // as many of these as you want - $cols = array(); - $content = array(); - - $tbody_mode = false; // if true, then we need to wrap any stray - //
- This directive turns on auto-paragraphing, where double newlines are - converted in to paragraphs whenever possible. Auto-paragraphing: -
-
- p
tags must be allowed for this directive to take effect.
- We do not use br
tags for paragraphing, as that is
- semantically incorrect.
-
- To prevent auto-paragraphing as a content-producer, refrain from using
- double-newlines except to specify a new paragraph or in contexts where
- it has special meaning (whitespace usually has no meaning except in
- tags like pre
, so this should not be difficult.) To prevent
- the paragraphing of inline text adjacent to block elements, wrap them
- in div
tags (the behavior is slightly different outside of
- the root node.)
-
- This directive can be used to add custom auto-format injectors. - Specify an array of injector names (class name minus the prefix) - or concrete implementations. Injector class must exist. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt deleted file mode 100644 index 663064a3..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt +++ /dev/null @@ -1,11 +0,0 @@ -AutoFormat.DisplayLinkURI -TYPE: bool -VERSION: 3.2.0 -DEFAULT: false ---DESCRIPTION-- -- This directive turns on the in-text display of URIs in <a> tags, and disables - those links. For example, example becomes - example (http://example.com). -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt deleted file mode 100644 index 3a48ba96..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt +++ /dev/null @@ -1,12 +0,0 @@ -AutoFormat.Linkify -TYPE: bool -VERSION: 2.0.1 -DEFAULT: false ---DESCRIPTION-- - -
- This directive turns on linkification, auto-linking http, ftp and
- https URLs. a
tags with the href
attribute
- must be allowed.
-
- Location of configuration documentation to link to, let %s substitute - into the configuration's namespace and directive names sans the percent - sign. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt deleted file mode 100644 index 7996488b..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt +++ /dev/null @@ -1,12 +0,0 @@ -AutoFormat.PurifierLinkify -TYPE: bool -VERSION: 2.0.1 -DEFAULT: false ---DESCRIPTION-- - -
- Internal auto-formatter that converts configuration directives in
- syntax %Namespace.Directive to links. a
tags
- with the href
attribute must be allowed.
-
- Given that an element has no contents, it will be removed by default, unless
- this predicate dictates otherwise. The predicate can either be an associative
- map from tag name to list of attributes that must be present for the element
- to be considered preserved: thus, the default always preserves colgroup
,
- th
and td
, and also iframe
if it
- has a src
.
-
- When %AutoFormat.RemoveEmpty and %AutoFormat.RemoveEmpty.RemoveNbsp - are enabled, this directive defines what HTML elements should not be - removede if they have only a non-breaking space in them. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt deleted file mode 100644 index 9228dee2..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt +++ /dev/null @@ -1,15 +0,0 @@ -AutoFormat.RemoveEmpty.RemoveNbsp -TYPE: bool -VERSION: 4.0.0 -DEFAULT: false ---DESCRIPTION-- -- When enabled, HTML Purifier will treat any elements that contain only - non-breaking spaces as well as regular whitespace as empty, and remove - them when %AutoFormat.RemoveEmpty is enabled. -
-- See %AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions for a list of elements - that don't have this behavior applied to them. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt deleted file mode 100644 index 34657ba4..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt +++ /dev/null @@ -1,46 +0,0 @@ -AutoFormat.RemoveEmpty -TYPE: bool -VERSION: 3.2.0 -DEFAULT: false ---DESCRIPTION-- -- When enabled, HTML Purifier will attempt to remove empty elements that - contribute no semantic information to the document. The following types - of nodes will be removed: -
-<a></a>
but not
- <br />
), and
- colgroup
element, orid
or name
attribute,
- when those attributes are permitted on those elements.
- - Please be very careful when using this functionality; while it may not - seem that empty elements contain useful information, they can alter the - layout of a document given appropriate styling. This directive is most - useful when you are processing machine-generated HTML, please avoid using - it on regular user HTML. -
-- Elements that contain only whitespace will be treated as empty. Non-breaking - spaces, however, do not count as whitespace. See - %AutoFormat.RemoveEmpty.RemoveNbsp for alternate behavior. -
-- This algorithm is not perfect; you may still notice some empty tags, - particularly if a node had elements, but those elements were later removed - because they were not permitted in that context, or tags that, after - being auto-closed by another tag, where empty. This is for safety reasons - to prevent clever code from breaking validation. The general rule of thumb: - if a tag looked empty on the way in, it will get removed; if HTML Purifier - made it empty, it will stay. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveSpansWithoutAttributes.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveSpansWithoutAttributes.txt deleted file mode 100644 index dde990ab..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveSpansWithoutAttributes.txt +++ /dev/null @@ -1,11 +0,0 @@ -AutoFormat.RemoveSpansWithoutAttributes -TYPE: bool -VERSION: 4.0.1 -DEFAULT: false ---DESCRIPTION-- -
- This directive causes span
tags without any attributes
- to be removed. It will also remove spans that had all attributes
- removed during processing.
-
- By default, HTML Purifier removes duplicate CSS properties,
- like color:red; color:blue
. If this is set to
- true, duplicate properties are allowed.
-
display:none;
is considered a tricky property that
-will only be allowed if this directive is set to true.
---# vim: et sw=4 sts=4
diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedFonts.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedFonts.txt
deleted file mode 100644
index 3fd46540..00000000
--- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedFonts.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-CSS.AllowedFonts
-TYPE: lookup/null
-VERSION: 4.3.0
-DEFAULT: NULL
---DESCRIPTION--
-
- Allows you to manually specify a set of allowed fonts. If
- NULL
, all fonts are allowed. This directive
- affects generic names (serif, sans-serif, monospace, cursive,
- fantasy) as well as specific font families.
-
- If HTML Purifier's style attributes set is unsatisfactory for your needs, - you can overload it with your own list of tags to allow. Note that this - method is subtractive: it does its job by taking away from HTML Purifier - usual feature set, so you cannot add an attribute that HTML Purifier never - supported in the first place. -
-- Warning: If another directive conflicts with the - elements here, that directive will win and override. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt deleted file mode 100644 index 5cb7dda3..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt +++ /dev/null @@ -1,11 +0,0 @@ -CSS.DefinitionRev -TYPE: int -VERSION: 2.0.0 -DEFAULT: 1 ---DESCRIPTION-- - -- Revision identifier for your custom definition. See - %HTML.DefinitionRev for details. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.ForbiddenProperties.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.ForbiddenProperties.txt deleted file mode 100644 index f1f5c5f1..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.ForbiddenProperties.txt +++ /dev/null @@ -1,13 +0,0 @@ -CSS.ForbiddenProperties -TYPE: lookup -VERSION: 4.2.0 -DEFAULT: array() ---DESCRIPTION-- -- This is the logical inverse of %CSS.AllowedProperties, and it will - override that directive or any other directive. If possible, - %CSS.AllowedProperties is recommended over this directive, - because it can sometimes be difficult to tell whether or not you've - forbidden all of the CSS properties you truly would like to disallow. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt deleted file mode 100644 index 7a329147..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt +++ /dev/null @@ -1,16 +0,0 @@ -CSS.MaxImgLength -TYPE: string/null -DEFAULT: '1200px' -VERSION: 3.1.1 ---DESCRIPTION-- -
- This parameter sets the maximum allowed length on img
tags,
- effectively the width
and height
properties.
- Only absolute units of measurement (in, pt, pc, mm, cm) and pixels (px) are allowed. This is
- in place to prevent imagecrash attacks, disable with null at your own risk.
- This directive is similar to %HTML.MaxImgLength, and both should be
- concurrently edited, although there are
- subtle differences in the input format (the CSS max is a number with
- a unit).
-
- Whether or not to allow safe, proprietary CSS values. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.Trusted.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.Trusted.txt deleted file mode 100644 index e733a61e..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.Trusted.txt +++ /dev/null @@ -1,9 +0,0 @@ -CSS.Trusted -TYPE: bool -VERSION: 4.2.1 -DEFAULT: false ---DESCRIPTION-- -Indicates whether or not the user's CSS input is trusted or not. If the -input is trusted, a more expansive set of allowed properties. See -also %HTML.Trusted. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt deleted file mode 100644 index c486724c..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt +++ /dev/null @@ -1,14 +0,0 @@ -Cache.DefinitionImpl -TYPE: string/null -VERSION: 2.0.0 -DEFAULT: 'Serializer' ---DESCRIPTION-- - -This directive defines which method to use when caching definitions, -the complex data-type that makes HTML Purifier tick. Set to null -to disable caching (not recommended, as you will see a definite -performance degradation). - ---ALIASES-- -Core.DefinitionCache ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt deleted file mode 100644 index 54036507..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt +++ /dev/null @@ -1,13 +0,0 @@ -Cache.SerializerPath -TYPE: string/null -VERSION: 2.0.0 -DEFAULT: NULL ---DESCRIPTION-- - -- Absolute path with no trailing slash to store serialized definitions in. - Default is within the - HTML Purifier library inside DefinitionCache/Serializer. This - path must be writable by the webserver. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPermissions.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPermissions.txt deleted file mode 100644 index 2e0cc810..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPermissions.txt +++ /dev/null @@ -1,16 +0,0 @@ -Cache.SerializerPermissions -TYPE: int/null -VERSION: 4.3.0 -DEFAULT: 0755 ---DESCRIPTION-- - -- Directory permissions of the files and directories created inside - the DefinitionCache/Serializer or other custom serializer path. -
-
- In HTML Purifier 4.8.0, this also supports NULL
,
- which means that no chmod'ing or directory creation shall
- occur.
-
- This directive enables aggressive pre-filter fixes HTML Purifier can - perform in order to ensure that open angled-brackets do not get killed - during parsing stage. Enabling this will result in two preg_replace_callback - calls and at least two preg_replace calls for every HTML document parsed; - if your users make very well-formed HTML, you can set this directive false. - This has no effect when DirectLex is used. -
-- Notice: This directive's default turned from false to true - in HTML Purifier 3.2.0. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyRemoveScript.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyRemoveScript.txt deleted file mode 100644 index b2b6ab14..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyRemoveScript.txt +++ /dev/null @@ -1,16 +0,0 @@ -Core.AggressivelyRemoveScript -TYPE: bool -VERSION: 4.9.0 -DEFAULT: true ---DESCRIPTION-- -- This directive enables aggressive pre-filter removal of - script tags. This is not necessary for security, - but it can help work around a bug in libxml where embedded - HTML elements inside script sections cause the parser to - choke. To revert to pre-4.9.0 behavior, set this to false. - This directive has no effect if %Core.Trusted is true, - %Core.RemoveScriptContents is false, or %Core.HiddenElements - does not contain script. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AllowHostnameUnderscore.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AllowHostnameUnderscore.txt deleted file mode 100644 index 2c910cc7..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AllowHostnameUnderscore.txt +++ /dev/null @@ -1,16 +0,0 @@ -Core.AllowHostnameUnderscore -TYPE: bool -VERSION: 4.6.0 -DEFAULT: false ---DESCRIPTION-- -- By RFC 1123, underscores are not permitted in host names. - (This is in contrast to the specification for DNS, RFC - 2181, which allows underscores.) - However, most browsers do the right thing when faced with - an underscore in the host name, and so some poorly written - websites are written with the expectation this should work. - Setting this parameter to true relaxes our allowed character - check so that underscores are permitted. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AllowParseManyTags.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AllowParseManyTags.txt deleted file mode 100644 index 06278f82..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AllowParseManyTags.txt +++ /dev/null @@ -1,12 +0,0 @@ -Core.AllowParseManyTags -TYPE: bool -DEFAULT: false -VERSION: 4.10.1 ---DESCRIPTION-- -- This directive allows parsing of many nested tags. - If you set true, relaxes any hardcoded limit from the parser. - However, in that case it may cause a Dos attack. - Be careful when enabling it. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt deleted file mode 100644 index d7317911..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt +++ /dev/null @@ -1,12 +0,0 @@ -Core.CollectErrors -TYPE: bool -VERSION: 2.0.0 -DEFAULT: false ---DESCRIPTION-- - -Whether or not to collect errors found while filtering the document. This -is a useful way to give feedback to your users. Warning: -Currently this feature is very patchy and experimental, with lots of -possible error messages not yet implemented. It will not cause any -problems, but it may not help your users either. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt deleted file mode 100644 index a75844cd..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt +++ /dev/null @@ -1,160 +0,0 @@ -Core.ColorKeywords -TYPE: hash -VERSION: 2.0.0 ---DEFAULT-- -array ( - 'aliceblue' => '#F0F8FF', - 'antiquewhite' => '#FAEBD7', - 'aqua' => '#00FFFF', - 'aquamarine' => '#7FFFD4', - 'azure' => '#F0FFFF', - 'beige' => '#F5F5DC', - 'bisque' => '#FFE4C4', - 'black' => '#000000', - 'blanchedalmond' => '#FFEBCD', - 'blue' => '#0000FF', - 'blueviolet' => '#8A2BE2', - 'brown' => '#A52A2A', - 'burlywood' => '#DEB887', - 'cadetblue' => '#5F9EA0', - 'chartreuse' => '#7FFF00', - 'chocolate' => '#D2691E', - 'coral' => '#FF7F50', - 'cornflowerblue' => '#6495ED', - 'cornsilk' => '#FFF8DC', - 'crimson' => '#DC143C', - 'cyan' => '#00FFFF', - 'darkblue' => '#00008B', - 'darkcyan' => '#008B8B', - 'darkgoldenrod' => '#B8860B', - 'darkgray' => '#A9A9A9', - 'darkgrey' => '#A9A9A9', - 'darkgreen' => '#006400', - 'darkkhaki' => '#BDB76B', - 'darkmagenta' => '#8B008B', - 'darkolivegreen' => '#556B2F', - 'darkorange' => '#FF8C00', - 'darkorchid' => '#9932CC', - 'darkred' => '#8B0000', - 'darksalmon' => '#E9967A', - 'darkseagreen' => '#8FBC8F', - 'darkslateblue' => '#483D8B', - 'darkslategray' => '#2F4F4F', - 'darkslategrey' => '#2F4F4F', - 'darkturquoise' => '#00CED1', - 'darkviolet' => '#9400D3', - 'deeppink' => '#FF1493', - 'deepskyblue' => '#00BFFF', - 'dimgray' => '#696969', - 'dimgrey' => '#696969', - 'dodgerblue' => '#1E90FF', - 'firebrick' => '#B22222', - 'floralwhite' => '#FFFAF0', - 'forestgreen' => '#228B22', - 'fuchsia' => '#FF00FF', - 'gainsboro' => '#DCDCDC', - 'ghostwhite' => '#F8F8FF', - 'gold' => '#FFD700', - 'goldenrod' => '#DAA520', - 'gray' => '#808080', - 'grey' => '#808080', - 'green' => '#008000', - 'greenyellow' => '#ADFF2F', - 'honeydew' => '#F0FFF0', - 'hotpink' => '#FF69B4', - 'indianred' => '#CD5C5C', - 'indigo' => '#4B0082', - 'ivory' => '#FFFFF0', - 'khaki' => '#F0E68C', - 'lavender' => '#E6E6FA', - 'lavenderblush' => '#FFF0F5', - 'lawngreen' => '#7CFC00', - 'lemonchiffon' => '#FFFACD', - 'lightblue' => '#ADD8E6', - 'lightcoral' => '#F08080', - 'lightcyan' => '#E0FFFF', - 'lightgoldenrodyellow' => '#FAFAD2', - 'lightgray' => '#D3D3D3', - 'lightgrey' => '#D3D3D3', - 'lightgreen' => '#90EE90', - 'lightpink' => '#FFB6C1', - 'lightsalmon' => '#FFA07A', - 'lightseagreen' => '#20B2AA', - 'lightskyblue' => '#87CEFA', - 'lightslategray' => '#778899', - 'lightslategrey' => '#778899', - 'lightsteelblue' => '#B0C4DE', - 'lightyellow' => '#FFFFE0', - 'lime' => '#00FF00', - 'limegreen' => '#32CD32', - 'linen' => '#FAF0E6', - 'magenta' => '#FF00FF', - 'maroon' => '#800000', - 'mediumaquamarine' => '#66CDAA', - 'mediumblue' => '#0000CD', - 'mediumorchid' => '#BA55D3', - 'mediumpurple' => '#9370DB', - 'mediumseagreen' => '#3CB371', - 'mediumslateblue' => '#7B68EE', - 'mediumspringgreen' => '#00FA9A', - 'mediumturquoise' => '#48D1CC', - 'mediumvioletred' => '#C71585', - 'midnightblue' => '#191970', - 'mintcream' => '#F5FFFA', - 'mistyrose' => '#FFE4E1', - 'moccasin' => '#FFE4B5', - 'navajowhite' => '#FFDEAD', - 'navy' => '#000080', - 'oldlace' => '#FDF5E6', - 'olive' => '#808000', - 'olivedrab' => '#6B8E23', - 'orange' => '#FFA500', - 'orangered' => '#FF4500', - 'orchid' => '#DA70D6', - 'palegoldenrod' => '#EEE8AA', - 'palegreen' => '#98FB98', - 'paleturquoise' => '#AFEEEE', - 'palevioletred' => '#DB7093', - 'papayawhip' => '#FFEFD5', - 'peachpuff' => '#FFDAB9', - 'peru' => '#CD853F', - 'pink' => '#FFC0CB', - 'plum' => '#DDA0DD', - 'powderblue' => '#B0E0E6', - 'purple' => '#800080', - 'rebeccapurple' => '#663399', - 'red' => '#FF0000', - 'rosybrown' => '#BC8F8F', - 'royalblue' => '#4169E1', - 'saddlebrown' => '#8B4513', - 'salmon' => '#FA8072', - 'sandybrown' => '#F4A460', - 'seagreen' => '#2E8B57', - 'seashell' => '#FFF5EE', - 'sienna' => '#A0522D', - 'silver' => '#C0C0C0', - 'skyblue' => '#87CEEB', - 'slateblue' => '#6A5ACD', - 'slategray' => '#708090', - 'slategrey' => '#708090', - 'snow' => '#FFFAFA', - 'springgreen' => '#00FF7F', - 'steelblue' => '#4682B4', - 'tan' => '#D2B48C', - 'teal' => '#008080', - 'thistle' => '#D8BFD8', - 'tomato' => '#FF6347', - 'turquoise' => '#40E0D0', - 'violet' => '#EE82EE', - 'wheat' => '#F5DEB3', - 'white' => '#FFFFFF', - 'whitesmoke' => '#F5F5F5', - 'yellow' => '#FFFF00', - 'yellowgreen' => '#9ACD32' -) ---DESCRIPTION-- - -Lookup array of color names to six digit hexadecimal number corresponding -to color, with preceding hash mark. Used when parsing colors. The lookup -is done in a case-insensitive manner. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt deleted file mode 100644 index 64b114fc..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt +++ /dev/null @@ -1,14 +0,0 @@ -Core.ConvertDocumentToFragment -TYPE: bool -DEFAULT: true ---DESCRIPTION-- - -This parameter determines whether or not the filter should convert -input that is a full document with html and body tags to a fragment -of just the contents of a body tag. This parameter is simply something -HTML Purifier can do during an edge-case: for most inputs, this -processing is not necessary. - ---ALIASES-- -Core.AcceptFullDocuments ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt deleted file mode 100644 index 36f16e07..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt +++ /dev/null @@ -1,17 +0,0 @@ -Core.DirectLexLineNumberSyncInterval -TYPE: int -VERSION: 2.0.0 -DEFAULT: 0 ---DESCRIPTION-- - -- Specifies the number of tokens the DirectLex line number tracking - implementations should process before attempting to resyncronize the - current line count by manually counting all previous new-lines. When - at 0, this functionality is disabled. Lower values will decrease - performance, and this is only strictly necessary if the counting - algorithm is buggy (in which case you should report it as a bug). - This has no effect when %Core.MaintainLineNumbers is disabled or DirectLex is - not being used. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.DisableExcludes.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.DisableExcludes.txt deleted file mode 100644 index 1cd4c2c9..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.DisableExcludes.txt +++ /dev/null @@ -1,14 +0,0 @@ -Core.DisableExcludes -TYPE: bool -DEFAULT: false -VERSION: 4.5.0 ---DESCRIPTION-- -
- This directive disables SGML-style exclusions, e.g. the exclusion of
- <object>
in any descendant of a
- <pre>
tag. Disabling excludes will allow some
- invalid documents to pass through HTML Purifier, but HTML Purifier
- will also be less likely to accidentally remove large documents during
- processing.
-
Warning: this configuration option is no longer does anything as of 4.6.0.
- -When true, a child is found that is not allowed in the context of the -parent element will be transformed into text as if it were ASCII. When -false, that element and all internal tags will be dropped, though text will -be preserved. There is no option for dropping the element but preserving -child nodes.
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt deleted file mode 100644 index a7a5b249..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt +++ /dev/null @@ -1,7 +0,0 @@ -Core.EscapeInvalidTags -TYPE: bool -DEFAULT: false ---DESCRIPTION-- -When true, invalid tags will be written back to the document as plain text. -Otherwise, they are silently dropped. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt deleted file mode 100644 index abb49994..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt +++ /dev/null @@ -1,13 +0,0 @@ -Core.EscapeNonASCIICharacters -TYPE: bool -VERSION: 1.4.0 -DEFAULT: false ---DESCRIPTION-- -This directive overcomes a deficiency in %Core.Encoding by blindly -converting all non-ASCII characters into decimal numeric entities before -converting it to its native encoding. This means that even characters that -can be expressed in the non-UTF-8 encoding will be entity-ized, which can -be a real downer for encodings like Big5. It also assumes that the ASCII -repetoire is available, although this is the case for almost all encodings. -Anyway, use UTF-8! ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt deleted file mode 100644 index 915391ed..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt +++ /dev/null @@ -1,19 +0,0 @@ -Core.HiddenElements -TYPE: lookup ---DEFAULT-- -array ( - 'script' => true, - 'style' => true, -) ---DESCRIPTION-- - -
- This directive is a lookup array of elements which should have their
- contents removed when they are not allowed by the HTML definition.
- For example, the contents of a script
tag are not
- normally shown in a document, so if script tags are to be removed,
- their contents should be removed to. This is opposed to a b
- tag, which defines some presentational changes but does not hide its
- contents.
-
- Prior to HTML Purifier 4.9.0, entities were decoded by performing - a global search replace for all entities whose decoded versions - did not have special meanings under HTML, and replaced them with - their decoded versions. We would match all entities, even if they did - not have a trailing semicolon, but only if there weren't any trailing - alphanumeric characters. -
-Original | Text | Attribute |
---|---|---|
¥ | ¥ | ¥ |
¥ | ¥ | ¥ |
¥a | ¥a | ¥a |
¥= | ¥= | ¥= |
- In HTML Purifier 4.9.0, we changed the behavior of entity parsing - to match entities that had missing trailing semicolons in less - cases, to more closely match HTML5 parsing behavior: -
-Original | Text | Attribute |
---|---|---|
¥ | ¥ | ¥ |
¥ | ¥ | ¥ |
¥a | ¥a | ¥a |
¥= | ¥= | ¥= |
- This flag reverts back to pre-HTML Purifier 4.9.0 behavior. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt deleted file mode 100644 index 8983e2cc..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt +++ /dev/null @@ -1,34 +0,0 @@ -Core.LexerImpl -TYPE: mixed/null -VERSION: 2.0.0 -DEFAULT: NULL ---DESCRIPTION-- - -- This parameter determines what lexer implementation can be used. The - valid values are: -
-HTMLPurifier_Lexer
.
- I may remove this option simply because I don't expect anyone
- to use it.
- - If true, HTML Purifier will add line number information to all tokens. - This is useful when error reporting is turned on, but can result in - significant performance degradation and should not be used when - unnecessary. This directive must be used with the DirectLex lexer, - as the DOMLex lexer does not (yet) support this functionality. - If the value is null, an appropriate value will be selected based - on other configuration. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.NormalizeNewlines.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.NormalizeNewlines.txt deleted file mode 100644 index d77f5360..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.NormalizeNewlines.txt +++ /dev/null @@ -1,11 +0,0 @@ -Core.NormalizeNewlines -TYPE: bool -VERSION: 4.2.0 -DEFAULT: true ---DESCRIPTION-- -
- Whether or not to normalize newlines to the operating
- system default. When false
, HTML Purifier
- will attempt to preserve mixed newline files.
-
- This directive enables pre-emptive URI checking in img
- tags, as the attribute validation strategy is not authorized to
- remove elements from the document. Revert to pre-1.3.0 behavior by setting to false.
-
<? ...
-?>
, remove it out-right. This may be useful if the HTML
-you are validating contains XML processing instruction gunk, however,
-it can also be user-unfriendly for people attempting to post PHP
-snippets.
---# vim: et sw=4 sts=4
diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt
deleted file mode 100644
index a4cd966d..00000000
--- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-Core.RemoveScriptContents
-TYPE: bool/null
-DEFAULT: NULL
-VERSION: 2.0.0
-DEPRECATED-VERSION: 2.1.0
-DEPRECATED-USE: Core.HiddenElements
---DESCRIPTION--
-- This directive enables HTML Purifier to remove not only script tags - but all of their contents. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt deleted file mode 100644 index 3db50ef2..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt +++ /dev/null @@ -1,11 +0,0 @@ -Filter.Custom -TYPE: list -VERSION: 3.1.0 -DEFAULT: array() ---DESCRIPTION-- -
- This directive can be used to add custom filters; it is nearly the
- equivalent of the now deprecated HTMLPurifier->addFilter()
- method. Specify an array of concrete implementations.
-
- Whether or not to escape the dangerous characters <, > and & - as \3C, \3E and \26, respectively. This is can be safely set to false - if the contents of StyleBlocks will be placed in an external stylesheet, - where there is no risk of it being interpreted as HTML. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt deleted file mode 100644 index 7f95f54d..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt +++ /dev/null @@ -1,29 +0,0 @@ -Filter.ExtractStyleBlocks.Scope -TYPE: string/null -VERSION: 3.0.0 -DEFAULT: NULL -ALIASES: Filter.ExtractStyleBlocksScope, FilterParam.ExtractStyleBlocksScope ---DESCRIPTION-- - -
- If you would like users to be able to define external stylesheets, but
- only allow them to specify CSS declarations for a specific node and
- prevent them from fiddling with other elements, use this directive.
- It accepts any valid CSS selector, and will prepend this to any
- CSS declaration extracted from the document. For example, if this
- directive is set to #user-content
and a user uses the
- selector a:hover
, the final selector will be
- #user-content a:hover
.
-
- The comma shorthand may be used; consider the above example, with
- #user-content, #user-content2
, the final selector will
- be #user-content a:hover, #user-content2 a:hover
.
-
- Warning: It is possible for users to bypass this measure - using a naughty + selector. This is a bug in CSS Tidy 1.3, not HTML - Purifier, and I am working to get it fixed. Until then, HTML Purifier - performs a basic check to prevent this. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt deleted file mode 100644 index 6c231b2d..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt +++ /dev/null @@ -1,16 +0,0 @@ -Filter.ExtractStyleBlocks.TidyImpl -TYPE: mixed/null -VERSION: 3.1.0 -DEFAULT: NULL -ALIASES: FilterParam.ExtractStyleBlocksTidyImpl ---DESCRIPTION-- -
- If left NULL, HTML Purifier will attempt to instantiate a csstidy
- class to use for internal cleaning. This will usually be good enough.
-
- However, for trusted user input, you can set this to false
to
- disable cleaning. In addition, you can supply your own concrete implementation
- of Tidy's interface to use, although I don't know why you'd want to do that.
-
- This directive turns on the style block extraction filter, which removes
- style
blocks from input HTML, cleans them up with CSSTidy,
- and places them in the StyleBlocks
context variable, for further
- use by you, usually to be placed in an external stylesheet, or a
- style
block in the head
of your document.
-
- Sample usage: -
-'; -?> - - - --Filter.ExtractStyleBlocks -body {color:#F00;} Some text'; - - $config = HTMLPurifier_Config::createDefault(); - $config->set('Filter', 'ExtractStyleBlocks', true); - $purifier = new HTMLPurifier($config); - - $html = $purifier->purify($dirty); - - // This implementation writes the stylesheets to the styles/ directory. - // You can also echo the styles inside the document, but it's a bit - // more difficult to make sure they get interpreted properly by - // browsers; try the usual CSS armoring techniques. - $styles = $purifier->context->get('StyleBlocks'); - $dir = 'styles/'; - if (!is_dir($dir)) mkdir($dir); - $hash = sha1($_GET['html']); - foreach ($styles as $i => $style) { - file_put_contents($name = $dir . $hash . "_$i"); - echo ''; - } -?> - - -- -- - -]]>
- Warning: It is possible for a user to mount an - imagecrash attack using this CSS. Counter-measures are difficult; - it is not simply enough to limit the range of CSS lengths (using - relative lengths with many nesting levels allows for large values - to be attained without actually specifying them in the stylesheet), - and the flexible nature of selectors makes it difficult to selectively - disable lengths on image tags (HTML Purifier, however, does disable - CSS width and height in inline styling). There are probably two effective - counter measures: an explicit width and height set to auto in all - images in your document (unlikely) or the disabling of width and - height (somewhat reasonable). Whether or not these measures should be - used is left to the reader. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt deleted file mode 100644 index 321eaa2d..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt +++ /dev/null @@ -1,16 +0,0 @@ -Filter.YouTube -TYPE: bool -VERSION: 3.1.0 -DEFAULT: false ---DESCRIPTION-- -- Warning: Deprecated in favor of %HTML.SafeObject and - %Output.FlashCompat (turn both on to allow YouTube videos and other - Flash content). -
-- This directive enables YouTube video embedding in HTML Purifier. Check - this document - on embedding videos for more information on what this filter does. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt deleted file mode 100644 index 0b2c106d..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt +++ /dev/null @@ -1,25 +0,0 @@ -HTML.Allowed -TYPE: itext/null -VERSION: 2.0.0 -DEFAULT: NULL ---DESCRIPTION-- - -
- This is a preferred convenience directive that combines
- %HTML.AllowedElements and %HTML.AllowedAttributes.
- Specify elements and attributes that are allowed using:
- element1[attr1|attr2],element2...
. For example,
- if you would like to only allow paragraphs and links, specify
- a[href],p
. You can specify attributes that apply
- to all elements using an asterisk, e.g. *[lang]
.
- You can also use newlines instead of commas to separate elements.
-
- Warning:
- All of the constraints on the component directives are still enforced.
- The syntax is a subset of TinyMCE's valid_elements
- whitelist: directly copy-pasting it here will probably result in
- broken whitelists. If %HTML.AllowedElements or %HTML.AllowedAttributes
- are set, this directive has no effect.
-
- If HTML Purifier's attribute set is unsatisfactory, overload it! - The syntax is "tag.attr" or "*.attr" for the global attributes - (style, id, class, dir, lang, xml:lang). -
-- Warning: If another directive conflicts with the - elements here, that directive will win and override. For - example, %HTML.EnableAttrID will take precedence over *.id in this - directive. You must set that directive to true before you can use - IDs at all. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedComments.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedComments.txt deleted file mode 100644 index 140e2142..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedComments.txt +++ /dev/null @@ -1,10 +0,0 @@ -HTML.AllowedComments -TYPE: lookup -VERSION: 4.4.0 -DEFAULT: array() ---DESCRIPTION-- -A whitelist which indicates what explicit comment bodies should be -allowed, modulo leading and trailing whitespace. See also %HTML.AllowedCommentsRegexp -(these directives are union'ed together, so a comment is considered -valid if any directive deems it valid.) ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt deleted file mode 100644 index f22e977d..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt +++ /dev/null @@ -1,15 +0,0 @@ -HTML.AllowedCommentsRegexp -TYPE: string/null -VERSION: 4.4.0 -DEFAULT: NULL ---DESCRIPTION-- -A regexp, which if it matches the body of a comment, indicates that -it should be allowed. Trailing and leading spaces are removed prior -to running this regular expression. -Warning: Make sure you specify -correct anchor metacharacters^regex$
, otherwise you may accept
-comments that you did not mean to! In particular, the regex /foo|bar/
-is probably not sufficiently strict, since it also allows foobar
.
-See also %HTML.AllowedComments (these directives are union'ed together,
-so a comment is considered valid if any directive deems it valid.)
---# vim: et sw=4 sts=4
diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt
deleted file mode 100644
index 1d3fa790..00000000
--- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-HTML.AllowedElements
-TYPE: lookup/null
-VERSION: 1.3.0
-DEFAULT: NULL
---DESCRIPTION--
-- If HTML Purifier's tag set is unsatisfactory for your needs, you can - overload it with your own list of tags to allow. If you change - this, you probably also want to change %HTML.AllowedAttributes; see - also %HTML.Allowed which lets you set allowed elements and - attributes at the same time. -
-- If you attempt to allow an element that HTML Purifier does not know - about, HTML Purifier will raise an error. You will need to manually - tell HTML Purifier about this element by using the - advanced customization features. -
-- Warning: If another directive conflicts with the - elements here, that directive will win and override. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt deleted file mode 100644 index 5a59a55c..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt +++ /dev/null @@ -1,20 +0,0 @@ -HTML.AllowedModules -TYPE: lookup/null -VERSION: 2.0.0 -DEFAULT: NULL ---DESCRIPTION-- - -- A doctype comes with a set of usual modules to use. Without having - to mucking about with the doctypes, you can quickly activate or - disable these modules by specifying which modules you wish to allow - with this directive. This is most useful for unit testing specific - modules, although end users may find it useful for their own ends. -
-- If you specify a module that does not exist, the manager will silently - fail to use it, so be careful! User-defined modules are not affected - by this directive. Modules defined in %HTML.CoreModules are not - affected by this directive. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt deleted file mode 100644 index 151fb7b8..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt +++ /dev/null @@ -1,11 +0,0 @@ -HTML.Attr.Name.UseCDATA -TYPE: bool -DEFAULT: false -VERSION: 4.0.0 ---DESCRIPTION-- -The W3C specification DTD defines the name attribute to be CDATA, not ID, due -to limitations of DTD. In certain documents, this relaxed behavior is desired, -whether it is to specify duplicate names, or to specify names that would be -illegal IDs (for example, names that begin with a digit.) Set this configuration -directive to true to use the relaxed parsing rules. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt deleted file mode 100644 index 45ae469e..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt +++ /dev/null @@ -1,18 +0,0 @@ -HTML.BlockWrapper -TYPE: string -VERSION: 1.3.0 -DEFAULT: 'p' ---DESCRIPTION-- - -- String name of element to wrap inline elements that are inside a block - context. This only occurs in the children of blockquote in strict mode. -
-
- Example: by default value,
- <blockquote>Foo</blockquote>
would become
- <blockquote><p>Foo</p></blockquote>
.
- The <p>
tags can be replaced with whatever you desire,
- as long as it is a block level element.
-
- Certain modularized doctypes (XHTML, namely), have certain modules - that must be included for the doctype to be an conforming document - type: put those modules here. By default, XHTML's core modules - are used. You can set this to a blank array to disable core module - protection, but this is not recommended. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt deleted file mode 100644 index 6ed70b59..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt +++ /dev/null @@ -1,9 +0,0 @@ -HTML.CustomDoctype -TYPE: string/null -VERSION: 2.0.1 -DEFAULT: NULL ---DESCRIPTION-- - -A custom doctype for power-users who defined their own document -type. This directive only applies when %HTML.Doctype is blank. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt deleted file mode 100644 index 103db754..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt +++ /dev/null @@ -1,33 +0,0 @@ -HTML.DefinitionID -TYPE: string/null -DEFAULT: NULL -VERSION: 2.0.0 ---DESCRIPTION-- - -- Unique identifier for a custom-built HTML definition. If you edit - the raw version of the HTMLDefinition, introducing changes that the - configuration object does not reflect, you must specify this variable. - If you change your custom edits, you should change this directive, or - clear your cache. Example: -
--$config = HTMLPurifier_Config::createDefault(); -$config->set('HTML', 'DefinitionID', '1'); -$def = $config->getHTMLDefinition(); -$def->addAttribute('a', 'tabindex', 'Number'); --
- In the above example, the configuration is still at the defaults, but - using the advanced API, an extra attribute has been added. The - configuration object normally has no way of knowing that this change - has taken place, so it needs an extra directive: %HTML.DefinitionID. - If someone else attempts to use the default configuration, these two - pieces of code will not clobber each other in the cache, since one has - an extra directive attached to it. -
-- You must specify a value to this directive to use the - advanced API features. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt deleted file mode 100644 index 229ae026..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt +++ /dev/null @@ -1,16 +0,0 @@ -HTML.DefinitionRev -TYPE: int -VERSION: 2.0.0 -DEFAULT: 1 ---DESCRIPTION-- - -- Revision identifier for your custom definition specified in - %HTML.DefinitionID. This serves the same purpose: uniquely identifying - your custom definition, but this one does so in a chronological - context: revision 3 is more up-to-date then revision 2. Thus, when - this gets incremented, the cache handling is smart enough to clean - up any older revisions of your definition as well as flush the - cache. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt deleted file mode 100644 index 9dab497f..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt +++ /dev/null @@ -1,11 +0,0 @@ -HTML.Doctype -TYPE: string/null -DEFAULT: NULL ---DESCRIPTION-- -Doctype to use during filtering. Technically speaking this is not actually -a doctype (as it does not identify a corresponding DTD), but we are using -this name for sake of simplicity. When non-blank, this will override any -older directives like %HTML.XHTML or %HTML.Strict. ---ALLOWED-- -'HTML 4.01 Transitional', 'HTML 4.01 Strict', 'XHTML 1.0 Transitional', 'XHTML 1.0 Strict', 'XHTML 1.1' ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.FlashAllowFullScreen.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.FlashAllowFullScreen.txt deleted file mode 100644 index 7878dc0b..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.FlashAllowFullScreen.txt +++ /dev/null @@ -1,11 +0,0 @@ -HTML.FlashAllowFullScreen -TYPE: bool -VERSION: 4.2.0 -DEFAULT: false ---DESCRIPTION-- -
- Whether or not to permit embedded Flash content from
- %HTML.SafeObject to expand to the full screen. Corresponds to
- the allowFullScreen
parameter.
-
- While this directive is similar to %HTML.AllowedAttributes, for
- forwards-compatibility with XML, this attribute has a different syntax. Instead of
- tag.attr
, use tag@attr
. To disallow href
- attributes in a
tags, set this directive to
- a@href
. You can also disallow an attribute globally with
- attr
or *@attr
(either syntax is fine; the latter
- is provided for consistency with %HTML.AllowedAttributes).
-
- Warning: This directive complements %HTML.ForbiddenElements, - accordingly, check - out that directive for a discussion of why you - should think twice before using this directive. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt deleted file mode 100644 index 93a53e14..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt +++ /dev/null @@ -1,20 +0,0 @@ -HTML.ForbiddenElements -TYPE: lookup -VERSION: 3.1.0 -DEFAULT: array() ---DESCRIPTION-- -- This was, perhaps, the most requested feature ever in HTML - Purifier. Please don't abuse it! This is the logical inverse of - %HTML.AllowedElements, and it will override that directive, or any - other directive. -
-
- If possible, %HTML.Allowed is recommended over this directive, because it
- can sometimes be difficult to tell whether or not you've forbidden all of
- the behavior you would like to disallow. If you forbid img
- with the expectation of preventing images on your site, you'll be in for
- a nasty surprise when people start using the background-image
- CSS property.
-
- Whether or not to permit form elements in the user input, regardless of - %HTML.Trusted value. Please be very careful when using this functionality, as - enabling forms in untrusted documents may allow for phishing attacks. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt deleted file mode 100644 index e424c386..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt +++ /dev/null @@ -1,14 +0,0 @@ -HTML.MaxImgLength -TYPE: int/null -DEFAULT: 1200 -VERSION: 3.1.1 ---DESCRIPTION-- -
- This directive controls the maximum number of pixels in the width and
- height attributes in img
tags. This is
- in place to prevent imagecrash attacks, disable with null at your own risk.
- This directive is similar to %CSS.MaxImgLength, and both should be
- concurrently edited, although there are
- subtle differences in the input format (the HTML max is an integer).
-
- String name of element that HTML fragment passed to library will be - inserted in. An interesting variation would be using span as the - parent element, meaning that only inline tags would be allowed. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt deleted file mode 100644 index dfb72049..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt +++ /dev/null @@ -1,12 +0,0 @@ -HTML.Proprietary -TYPE: bool -VERSION: 3.1.0 -DEFAULT: false ---DESCRIPTION-- -
- Whether or not to allow proprietary elements and attributes in your
- documents, as per HTMLPurifier_HTMLModule_Proprietary
.
- Warning: This can cause your documents to stop
- validating!
-
- Whether or not to permit embed tags in documents, with a number of extra - security features added to prevent script execution. This is similar to - what websites like MySpace do to embed tags. Embed is a proprietary - element and will cause your website to stop validating; you should - see if you can use %Output.FlashCompat with %HTML.SafeObject instead - first.
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeIframe.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeIframe.txt deleted file mode 100644 index 5eb6ec2b..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeIframe.txt +++ /dev/null @@ -1,13 +0,0 @@ -HTML.SafeIframe -TYPE: bool -VERSION: 4.4.0 -DEFAULT: false ---DESCRIPTION-- -- Whether or not to permit iframe tags in untrusted documents. This - directive must be accompanied by a whitelist of permitted iframes, - such as %URI.SafeIframeRegexp, otherwise it will fatally error. - This directive has no effect on strict doctypes, as iframes are not - valid. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt deleted file mode 100644 index ceb342e2..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt +++ /dev/null @@ -1,13 +0,0 @@ -HTML.SafeObject -TYPE: bool -VERSION: 3.1.1 -DEFAULT: false ---DESCRIPTION-- -- Whether or not to permit object tags in documents, with a number of extra - security features added to prevent script execution. This is similar to - what websites like MySpace do to object tags. You should also enable - %Output.FlashCompat in order to generate Internet Explorer - compatibility code for your object tags. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeScripting.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeScripting.txt deleted file mode 100644 index 5ebc7a19..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeScripting.txt +++ /dev/null @@ -1,10 +0,0 @@ -HTML.SafeScripting -TYPE: lookup -VERSION: 4.5.0 -DEFAULT: array() ---DESCRIPTION-- -- Whether or not to permit script tags to external scripts in documents. - Inline scripting is not allowed, and the script must match an explicit whitelist. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt deleted file mode 100644 index a8b1de56..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt +++ /dev/null @@ -1,9 +0,0 @@ -HTML.Strict -TYPE: bool -VERSION: 1.3.0 -DEFAULT: false -DEPRECATED-VERSION: 1.7.0 -DEPRECATED-USE: HTML.Doctype ---DESCRIPTION-- -Determines whether or not to use Transitional (loose) or Strict rulesets. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetBlank.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetBlank.txt deleted file mode 100644 index 587a1677..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetBlank.txt +++ /dev/null @@ -1,8 +0,0 @@ -HTML.TargetBlank -TYPE: bool -VERSION: 4.4.0 -DEFAULT: FALSE ---DESCRIPTION-- -If enabled,target=blank
attributes are added to all outgoing links.
-(This includes links from an HTTPS version of a page to an HTTP version.)
---# vim: et sw=4 sts=4
diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoopener.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoopener.txt
deleted file mode 100644
index dd514c0d..00000000
--- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoopener.txt
+++ /dev/null
@@ -1,10 +0,0 @@
---# vim: et sw=4 sts=4
-HTML.TargetNoopener
-TYPE: bool
-VERSION: 4.8.0
-DEFAULT: TRUE
---DESCRIPTION--
-If enabled, noopener rel attributes are added to links which have
-a target attribute associated with them. This prevents malicious
-destinations from overwriting the original window.
---# vim: et sw=4 sts=4
diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoreferrer.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoreferrer.txt
deleted file mode 100644
index cb5a0b0e..00000000
--- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoreferrer.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-HTML.TargetNoreferrer
-TYPE: bool
-VERSION: 4.8.0
-DEFAULT: TRUE
---DESCRIPTION--
-If enabled, noreferrer rel attributes are added to links which have
-a target attribute associated with them. This prevents malicious
-destinations from overwriting the original window.
---# vim: et sw=4 sts=4
diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt
deleted file mode 100644
index b4c271b7..00000000
--- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-HTML.TidyAdd
-TYPE: lookup
-VERSION: 2.0.0
-DEFAULT: array()
---DESCRIPTION--
-
-Fixes to add to the default set of Tidy fixes as per your level.
---# vim: et sw=4 sts=4
diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt
deleted file mode 100644
index 4186ccd0..00000000
--- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-HTML.TidyLevel
-TYPE: string
-VERSION: 2.0.0
-DEFAULT: 'medium'
---DESCRIPTION--
-
-General level of cleanliness the Tidy module should enforce. -There are four allowed values:
-
- If true, HTML Purifier will protect against Internet Explorer's
- mishandling of the innerHTML
attribute by appending
- a space to any attribute that does not contain angled brackets, spaces
- or quotes, but contains a backtick. This slightly changes the
- semantics of any given attribute, so if this is unacceptable and
- you do not use innerHTML
on any of your pages, you can
- turn this directive off.
-
- If true, HTML Purifier will generate Internet Explorer compatibility - code for all object code. This is highly recommended if you enable - %HTML.SafeObject. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt deleted file mode 100644 index 79f8ad82..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt +++ /dev/null @@ -1,13 +0,0 @@ -Output.Newline -TYPE: string/null -VERSION: 2.0.1 -DEFAULT: NULL ---DESCRIPTION-- - -- Newline string to format final output with. If left null, HTML Purifier - will auto-detect the default newline type of the system and use that; - you can manually override it here. Remember, \r\n is Windows, \r - is Mac, and \n is Unix. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt deleted file mode 100644 index 232b0236..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt +++ /dev/null @@ -1,14 +0,0 @@ -Output.SortAttr -TYPE: bool -VERSION: 3.2.0 -DEFAULT: false ---DESCRIPTION-- -
- If true, HTML Purifier will sort attributes by name before writing them back
- to the document, converting a tag like: <el b="" a="" c="" />
- to <el a="" b="" c="" />
. This is a workaround for
- a bug in FCKeditor which causes it to swap attributes order, adding noise
- to text diffs. If you're not seeing this bug, chances are, you don't need
- this directive.
-
- Determines whether or not to run Tidy on the final output for pretty - formatting reasons, such as indentation and wrap. -
-- This can greatly improve readability for editors who are hand-editing - the HTML, but is by no means necessary as HTML Purifier has already - fixed all major errors the HTML may have had. Tidy is a non-default - extension, and this directive will silently fail if Tidy is not - available. -
-- If you are looking to make the overall look of your page's source - better, I recommend running Tidy on the entire page rather than just - user-content (after all, the indentation relative to the containing - blocks will be incorrect). -
---ALIASES-- -Core.TidyFormat ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt deleted file mode 100644 index 071bc029..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test.ForceNoIconv -TYPE: bool -DEFAULT: false ---DESCRIPTION-- -When set to true, HTMLPurifier_Encoder will act as if iconv does not exist -and use only pure PHP implementations. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt deleted file mode 100644 index eb97307e..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt +++ /dev/null @@ -1,18 +0,0 @@ -URI.AllowedSchemes -TYPE: lookup ---DEFAULT-- -array ( - 'http' => true, - 'https' => true, - 'mailto' => true, - 'ftp' => true, - 'nntp' => true, - 'news' => true, - 'tel' => true, -) ---DESCRIPTION-- -Whitelist that defines the schemes that a URI is allowed to have. This -prevents XSS attacks from using pseudo-schemes like javascript or mocha. -There is also support for thedata
and file
-URI schemes, but they are not enabled by default.
---# vim: et sw=4 sts=4
diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Base.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Base.txt
deleted file mode 100644
index 876f0680..00000000
--- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Base.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-URI.Base
-TYPE: string/null
-VERSION: 2.1.0
-DEFAULT: NULL
---DESCRIPTION--
-
-- The base URI is the URI of the document this purified HTML will be - inserted into. This information is important if HTML Purifier needs - to calculate absolute URIs from relative URIs, such as when %URI.MakeAbsolute - is on. You may use a non-absolute URI for this value, but behavior - may vary (%URI.MakeAbsolute deals nicely with both absolute and - relative paths, but forwards-compatibility is not guaranteed). - Warning: If set, the scheme on this URI - overrides the one specified by %URI.DefaultScheme. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt deleted file mode 100644 index 834bc08c..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt +++ /dev/null @@ -1,15 +0,0 @@ -URI.DefaultScheme -TYPE: string/null -DEFAULT: 'http' ---DESCRIPTION-- - -- Defines through what scheme the output will be served, in order to - select the proper object validator when no scheme information is present. -
- -- Starting with HTML Purifier 4.9.0, the default scheme can be null, in - which case we reject all URIs which do not have explicit schemes. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt deleted file mode 100644 index f05312ba..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt +++ /dev/null @@ -1,11 +0,0 @@ -URI.DefinitionID -TYPE: string/null -VERSION: 2.1.0 -DEFAULT: NULL ---DESCRIPTION-- - -- Unique identifier for a custom-built URI definition. If you want - to add custom URIFilters, you must specify this value. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt deleted file mode 100644 index 80cfea93..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt +++ /dev/null @@ -1,11 +0,0 @@ -URI.DefinitionRev -TYPE: int -VERSION: 2.1.0 -DEFAULT: 1 ---DESCRIPTION-- - -- Revision identifier for your custom definition. See - %HTML.DefinitionRev for details. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt deleted file mode 100644 index 71ce025a..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt +++ /dev/null @@ -1,14 +0,0 @@ -URI.Disable -TYPE: bool -VERSION: 1.3.0 -DEFAULT: false ---DESCRIPTION-- - -- Disables all URIs in all forms. Not sure why you'd want to do that - (after all, the Internet's founded on the notion of a hyperlink). -
- ---ALIASES-- -Attr.DisableURI ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt deleted file mode 100644 index 13c122c8..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt +++ /dev/null @@ -1,11 +0,0 @@ -URI.DisableExternal -TYPE: bool -VERSION: 1.2.0 -DEFAULT: false ---DESCRIPTION-- -Disables links to external websites. This is a highly effective anti-spam -and anti-pagerank-leech measure, but comes at a hefty price: nolinks or -images outside of your domain will be allowed. Non-linkified URIs will -still be preserved. If you want to be able to link to subdomains or use -absolute URIs, specify %URI.Host for your website. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt deleted file mode 100644 index abcc1efd..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt +++ /dev/null @@ -1,13 +0,0 @@ -URI.DisableExternalResources -TYPE: bool -VERSION: 1.3.0 -DEFAULT: false ---DESCRIPTION-- -Disables the embedding of external resources, preventing users from -embedding things like images from other hosts. This prevents access -tracking (good for email viewers), bandwidth leeching, cross-site request -forging, goatse.cx posting, and other nasties, but also results in a loss -of end-user functionality (they can't directly post a pic they posted from -Flickr anymore). Use it if you don't have a robust user-content moderation -team. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt deleted file mode 100644 index f891de49..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt +++ /dev/null @@ -1,15 +0,0 @@ -URI.DisableResources -TYPE: bool -VERSION: 4.2.0 -DEFAULT: false ---DESCRIPTION-- -- Disables embedding resources, essentially meaning no pictures. You can - still link to them though. See %URI.DisableExternalResources for why - this might be a good idea. -
-- Note: While this directive has been available since 1.3.0, - it didn't actually start doing anything until 4.2.0. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt deleted file mode 100644 index ee83b121..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt +++ /dev/null @@ -1,19 +0,0 @@ -URI.Host -TYPE: string/null -VERSION: 1.2.0 -DEFAULT: NULL ---DESCRIPTION-- - -- Defines the domain name of the server, so we can determine whether or - an absolute URI is from your website or not. Not strictly necessary, - as users should be using relative URIs to reference resources on your - website. It will, however, let you use absolute URIs to link to - subdomains of the domain you post here: i.e. example.com will allow - sub.example.com. However, higher up domains will still be excluded: - if you set %URI.Host to sub.example.com, example.com will be blocked. - Note: This directive overrides %URI.Base because - a given page may be on a sub-domain, but you wish HTML Purifier to be - more relaxed and allow some of the parent domains too. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt deleted file mode 100644 index 0b6df762..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt +++ /dev/null @@ -1,9 +0,0 @@ -URI.HostBlacklist -TYPE: list -VERSION: 1.3.0 -DEFAULT: array() ---DESCRIPTION-- -List of strings that are forbidden in the host of any URI. Use it to kill -domain names of spam, etc. Note that it will catch anything in the domain, -so moo.com will catch moo.com.example.com. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt deleted file mode 100644 index 4214900a..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt +++ /dev/null @@ -1,13 +0,0 @@ -URI.MakeAbsolute -TYPE: bool -VERSION: 2.1.0 -DEFAULT: false ---DESCRIPTION-- - -- Converts all URIs into absolute forms. This is useful when the HTML - being filtered assumes a specific base path, but will actually be - viewed in a different context (and setting an alternate base URI is - not possible). %URI.Base must be set for this directive to work. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt deleted file mode 100644 index 58c81dcc..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt +++ /dev/null @@ -1,83 +0,0 @@ -URI.Munge -TYPE: string/null -VERSION: 1.3.0 -DEFAULT: NULL ---DESCRIPTION-- - -
- Munges all browsable (usually http, https and ftp)
- absolute URIs into another URI, usually a URI redirection service.
- This directive accepts a URI, formatted with a %s
where
- the url-encoded original URI should be inserted (sample:
- http://www.google.com/url?q=%s
).
-
- Uses for this directive: -
-
- Prior to HTML Purifier 3.1.1, this directive also enabled the munging
- of browsable external resources, which could break things if your redirection
- script was a splash page or used meta
tags. To revert to
- previous behavior, please use %URI.MungeResources.
-
- You may want to also use %URI.MungeSecretKey along with this directive - in order to enforce what URIs your redirector script allows. Open - redirector scripts can be a security risk and negatively affect the - reputation of your domain name. -
-- Starting with HTML Purifier 3.1.1, there is also these substitutions: -
-Key | -Description | -Example <a href=""> |
-
---|---|---|
%r | -1 - The URI embeds a resource (blank) - The URI is merely a link |
- - |
%n | -The name of the tag this URI came from | -a | -
%m | -The name of the attribute this URI came from | -href | -
%p | -The name of the CSS property this URI came from, or blank if irrelevant | -- |
- Admittedly, these letters are somewhat arbitrary; the only stipulation - was that they couldn't be a through f. r is for resource (I would have preferred - e, but you take what you can get), n is for name, m - was picked because it came after n (and I couldn't use a), p is for - property. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt deleted file mode 100644 index 6fce0fdc..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt +++ /dev/null @@ -1,17 +0,0 @@ -URI.MungeResources -TYPE: bool -VERSION: 3.1.1 -DEFAULT: false ---DESCRIPTION-- -
- If true, any URI munging directives like %URI.Munge
- will also apply to embedded resources, such as <img src="">
.
- Be careful enabling this directive if you have a redirector script
- that does not use the Location
HTTP header; all of your images
- and other embedded resources will break.
-
- Warning: It is strongly advised you use this in conjunction - %URI.MungeSecretKey to mitigate the security risk of an open redirector. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt deleted file mode 100644 index 1e17c1d4..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt +++ /dev/null @@ -1,30 +0,0 @@ -URI.MungeSecretKey -TYPE: string/null -VERSION: 3.1.1 -DEFAULT: NULL ---DESCRIPTION-- -- This directive enables secure checksum generation along with %URI.Munge. - It should be set to a secure key that is not shared with anyone else. - The checksum can be placed in the URI using %t. Use of this checksum - affords an additional level of protection by allowing a redirector - to check if a URI has passed through HTML Purifier with this line: -
- -$checksum === hash_hmac("sha256", $url, $secret_key)- -
- If the output is TRUE, the redirector script should accept the URI. -
- -- Please note that it would still be possible for an attacker to procure - secure hashes en-mass by abusing your website's Preview feature or the - like, but this service affords an additional level of protection - that should be combined with website blacklisting. -
- -- Remember this has no effect if %URI.Munge is not on. -
---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt deleted file mode 100644 index 23331a4e..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt +++ /dev/null @@ -1,9 +0,0 @@ -URI.OverrideAllowedSchemes -TYPE: bool -DEFAULT: true ---DESCRIPTION-- -If this is set to true (which it is by default), you can override -%URI.AllowedSchemes by simply registering a HTMLPurifier_URIScheme to the -registry. If false, you will also have to update that directive in order -to add more schemes. ---# vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.SafeIframeRegexp.txt b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.SafeIframeRegexp.txt deleted file mode 100644 index 79084832..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.SafeIframeRegexp.txt +++ /dev/null @@ -1,22 +0,0 @@ -URI.SafeIframeRegexp -TYPE: string/null -VERSION: 4.4.0 -DEFAULT: NULL ---DESCRIPTION-- -- A PCRE regular expression that will be matched against an iframe URI. This is - a relatively inflexible scheme, but works well enough for the most common - use-case of iframes: embedded video. This directive only has an effect if - %HTML.SafeIframe is enabled. Here are some example values: -
-%^http://www.youtube.com/embed/%
- Allow YouTube videos%^http://player.vimeo.com/video/%
- Allow Vimeo videos%^http://(www.youtube.com/embed/|player.vimeo.com/video/)%
- Allow both
- Note that this directive does not give you enough granularity to, say, disable
- all autoplay
videos. Pipe up on the HTML Purifier forums if this
- is a capability you want.
-
' . $this->locale->getMessage('ErrorCollector: No errors') . '
'; - } else { - return ''; - //$string .= ''; - //$string .= ''; - $ret[] = $string; - } - foreach ($current->children as $array) { - $context[] = $current; - $stack = array_merge($stack, array_reverse($array, true)); - for ($i = count($array); $i > 0; $i--) { - $context_stack[] = $context; - } - } - } - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ErrorStruct.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ErrorStruct.php deleted file mode 100644 index cf869d32..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ErrorStruct.php +++ /dev/null @@ -1,74 +0,0 @@ -children[$type][$id])) { - $this->children[$type][$id] = new HTMLPurifier_ErrorStruct(); - $this->children[$type][$id]->type = $type; - } - return $this->children[$type][$id]; - } - - /** - * @param int $severity - * @param string $message - */ - public function addError($severity, $message) - { - $this->errors[] = array($severity, $message); - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Exception.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Exception.php deleted file mode 100644 index be85b4c5..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Exception.php +++ /dev/null @@ -1,12 +0,0 @@ -preFilter, - * 2->preFilter, 3->preFilter, purify, 3->postFilter, 2->postFilter, - * 1->postFilter. - * - * @note Methods are not declared abstract as it is perfectly legitimate - * for an implementation not to want anything to happen on a step - */ - -class HTMLPurifier_Filter -{ - - /** - * Name of the filter for identification purposes. - * @type string - */ - public $name; - - /** - * Pre-processor function, handles HTML before HTML Purifier - * @param string $html - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - * @return string - */ - public function preFilter($html, $config, $context) - { - return $html; - } - - /** - * Post-processor function, handles HTML after HTML Purifier - * @param string $html - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - * @return string - */ - public function postFilter($html, $config, $context) - { - return $html; - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter/ExtractStyleBlocks.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter/ExtractStyleBlocks.php deleted file mode 100644 index 66f70b0f..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter/ExtractStyleBlocks.php +++ /dev/null @@ -1,341 +0,0 @@ - blocks from input HTML, cleans them up - * using CSSTidy, and then places them in $purifier->context->get('StyleBlocks') - * so they can be used elsewhere in the document. - * - * @note - * See tests/HTMLPurifier/Filter/ExtractStyleBlocksTest.php for - * sample usage. - * - * @note - * This filter can also be used on stylesheets not included in the - * document--something purists would probably prefer. Just directly - * call HTMLPurifier_Filter_ExtractStyleBlocks->cleanCSS() - */ -class HTMLPurifier_Filter_ExtractStyleBlocks extends HTMLPurifier_Filter -{ - /** - * @type string - */ - public $name = 'ExtractStyleBlocks'; - - /** - * @type array - */ - private $_styleMatches = array(); - - /** - * @type csstidy - */ - private $_tidy; - - /** - * @type HTMLPurifier_AttrDef_HTML_ID - */ - private $_id_attrdef; - - /** - * @type HTMLPurifier_AttrDef_CSS_Ident - */ - private $_class_attrdef; - - /** - * @type HTMLPurifier_AttrDef_Enum - */ - private $_enum_attrdef; - - public function __construct() - { - $this->_tidy = new csstidy(); - $this->_tidy->set_cfg('lowercase_s', false); - $this->_id_attrdef = new HTMLPurifier_AttrDef_HTML_ID(true); - $this->_class_attrdef = new HTMLPurifier_AttrDef_CSS_Ident(); - $this->_enum_attrdef = new HTMLPurifier_AttrDef_Enum( - array( - 'first-child', - 'link', - 'visited', - 'active', - 'hover', - 'focus' - ) - ); - } - - /** - * Save the contents of CSS blocks to style matches - * @param array $matches preg_replace style $matches array - */ - protected function styleCallback($matches) - { - $this->_styleMatches[] = $matches[1]; - } - - /** - * Removes inline - // we must not grab foo in a font-family prop). - if ($config->get('Filter.ExtractStyleBlocks.Escaping')) { - $css = str_replace( - array('<', '>', '&'), - array('\3C ', '\3E ', '\26 '), - $css - ); - } - return $css; - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter/YouTube.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter/YouTube.php deleted file mode 100644 index 276d8362..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter/YouTube.php +++ /dev/null @@ -1,65 +0,0 @@ -]+>.+?' . - '(?:http:)?//www.youtube.com/((?:v|cp)/[A-Za-z0-9\-_=]+).+?#s'; - $pre_replace = ' '; - return preg_replace($pre_regex, $pre_replace, $html); - } - - /** - * @param string $html - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - * @return string - */ - public function postFilter($html, $config, $context) - { - $post_regex = '# #'; - return preg_replace_callback($post_regex, array($this, 'postFilterCallback'), $html); - } - - /** - * @param $url - * @return string - */ - protected function armorUrl($url) - { - return str_replace('--', '--', $url); - } - - /** - * @param array $matches - * @return string - */ - protected function postFilterCallback($matches) - { - $url = $this->armorUrl($matches[1]); - return ''; - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Generator.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Generator.php deleted file mode 100644 index eb56e2df..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Generator.php +++ /dev/null @@ -1,286 +0,0 @@ - tags. - * @type bool - */ - private $_scriptFix = false; - - /** - * Cache of HTMLDefinition during HTML output to determine whether or - * not attributes should be minimized. - * @type HTMLPurifier_HTMLDefinition - */ - private $_def; - - /** - * Cache of %Output.SortAttr. - * @type bool - */ - private $_sortAttr; - - /** - * Cache of %Output.FlashCompat. - * @type bool - */ - private $_flashCompat; - - /** - * Cache of %Output.FixInnerHTML. - * @type bool - */ - private $_innerHTMLFix; - - /** - * Stack for keeping track of object information when outputting IE - * compatibility code. - * @type array - */ - private $_flashStack = array(); - - /** - * Configuration for the generator - * @type HTMLPurifier_Config - */ - protected $config; - - /** - * @param HTMLPurifier_Config $config - * @param HTMLPurifier_Context $context - */ - public function __construct($config, $context) - { - $this->config = $config; - $this->_scriptFix = $config->get('Output.CommentScriptContents'); - $this->_innerHTMLFix = $config->get('Output.FixInnerHTML'); - $this->_sortAttr = $config->get('Output.SortAttr'); - $this->_flashCompat = $config->get('Output.FlashCompat'); - $this->_def = $config->getHTMLDefinition(); - $this->_xhtml = $this->_def->doctype->xml; - } - - /** - * Generates HTML from an array of tokens. - * @param HTMLPurifier_Token[] $tokens Array of HTMLPurifier_Token - * @return string Generated HTML - */ - public function generateFromTokens($tokens) - { - if (!$tokens) { - return ''; - } - - // Basic algorithm - $html = ''; - for ($i = 0, $size = count($tokens); $i < $size; $i++) { - if ($this->_scriptFix && $tokens[$i]->name === 'script' - && $i + 2 < $size && $tokens[$i+2] instanceof HTMLPurifier_Token_End) { - // script special case - // the contents of the script block must be ONE token - // for this to work. - $html .= $this->generateFromToken($tokens[$i++]); - $html .= $this->generateScriptFromToken($tokens[$i++]); - } - $html .= $this->generateFromToken($tokens[$i]); - } - - // Tidy cleanup - if (extension_loaded('tidy') && $this->config->get('Output.TidyFormat')) { - $tidy = new Tidy; - $tidy->parseString( - $html, - array( - 'indent'=> true, - 'output-xhtml' => $this->_xhtml, - 'show-body-only' => true, - 'indent-spaces' => 2, - 'wrap' => 68, - ), - 'utf8' - ); - $tidy->cleanRepair(); - $html = (string) $tidy; // explicit cast necessary - } - - // Normalize newlines to system defined value - if ($this->config->get('Core.NormalizeNewlines')) { - $nl = $this->config->get('Output.Newline'); - if ($nl === null) { - $nl = PHP_EOL; - } - if ($nl !== "\n") { - $html = str_replace("\n", $nl, $html); - } - } - return $html; - } - - /** - * Generates HTML from a single token. - * @param HTMLPurifier_Token $token HTMLPurifier_Token object. - * @return string Generated HTML - */ - public function generateFromToken($token) - { - if (!$token instanceof HTMLPurifier_Token) { - trigger_error('Cannot generate HTML from non-HTMLPurifier_Token object', E_USER_WARNING); - return ''; - - } elseif ($token instanceof HTMLPurifier_Token_Start) { - $attr = $this->generateAttributes($token->attr, $token->name); - if ($this->_flashCompat) { - if ($token->name == "object") { - $flash = new stdClass(); - $flash->attr = $token->attr; - $flash->param = array(); - $this->_flashStack[] = $flash; - } - } - return '<' . $token->name . ($attr ? ' ' : '') . $attr . '>'; - - } elseif ($token instanceof HTMLPurifier_Token_End) { - $_extra = ''; - if ($this->_flashCompat) { - if ($token->name == "object" && !empty($this->_flashStack)) { - // doesn't do anything for now - } - } - return $_extra . '' . $token->name . '>'; - - } elseif ($token instanceof HTMLPurifier_Token_Empty) { - if ($this->_flashCompat && $token->name == "param" && !empty($this->_flashStack)) { - $this->_flashStack[count($this->_flashStack)-1]->param[$token->attr['name']] = $token->attr['value']; - } - $attr = $this->generateAttributes($token->attr, $token->name); - return '<' . $token->name . ($attr ? ' ' : '') . $attr . - ( $this->_xhtml ? ' /': '' ) //
tags? - if ($this->allowsElement('p')) { - if (empty($this->currentNesting) || strpos($text, "\n\n") !== false) { - // Note that we have differing behavior when dealing with text - // in the anonymous root node, or a node inside the document. - // If the text as a double-newline, the treatment is the same; - // if it doesn't, see the next if-block if you're in the document. - - $i = $nesting = null; - if (!$this->forwardUntilEndToken($i, $current, $nesting) && $token->is_whitespace) { - // State 1.1: ... ^ (whitespace, then document end) - // ---- - // This is a degenerate case - } else { - if (!$token->is_whitespace || $this->_isInline($current)) { - // State 1.2: PAR1 - // ---- - - // State 1.3: PAR1\n\nPAR2 - // ------------ - - // State 1.4:
tag? - } elseif (!empty($this->currentNesting) && - $this->currentNesting[count($this->currentNesting) - 1]->name == 'p') { - // State 3.1: ...
PAR1 - // ---- - - // State 3.2: ...
PAR1\n\nPAR2 - // ------------ - $token = array(); - $this->_splitText($text, $token); - // Abort! - } else { - // State 4.1: ...PAR1 - // ---- - - // State 4.2: ...PAR1\n\nPAR2 - // ------------ - } - } - - /** - * @param HTMLPurifier_Token $token - */ - public function handleElement(&$token) - { - // We don't have to check if we're already in a
tag for block - // tokens, because the tag would have been autoclosed by MakeWellFormed. - if ($this->allowsElement('p')) { - if (!empty($this->currentNesting)) { - if ($this->_isInline($token)) { - // State 1:
PAR1
\n\n - // --- - // Quite frankly, this should be handled by splitText - $token = array($this->_pStart(), $token); - } else { - // State 1.1.1:PAR1
- // --- - // State 1.1.2:is needed. - if ($this->_pLookAhead()) { - // State 1.3.1:
tags. - } - } - } - } else { - // State 2.2:
- // --- - } - } - - /** - * Splits up a text in paragraph tokens and appends them - * to the result stream that will replace the original - * @param string $data String text data that will be processed - * into paragraphs - * @param HTMLPurifier_Token[] $result Reference to array of tokens that the - * tags will be appended onto - */ - private function _splitText($data, &$result) - { - $raw_paragraphs = explode("\n\n", $data); - $paragraphs = array(); // without empty paragraphs - $needs_start = false; - $needs_end = false; - - $c = count($raw_paragraphs); - if ($c == 1) { - // There were no double-newlines, abort quickly. In theory this - // should never happen. - $result[] = new HTMLPurifier_Token_Text($data); - return; - } - for ($i = 0; $i < $c; $i++) { - $par = $raw_paragraphs[$i]; - if (trim($par) !== '') { - $paragraphs[] = $par; - } else { - if ($i == 0) { - // Double newline at the front - if (empty($result)) { - // The empty result indicates that the AutoParagraph - // injector did not add any start paragraph tokens. - // This means that we have been in a paragraph for - // a while, and the newline means we should start a new one. - $result[] = new HTMLPurifier_Token_End('p'); - $result[] = new HTMLPurifier_Token_Text("\n\n"); - // However, the start token should only be added if - // there is more processing to be done (i.e. there are - // real paragraphs in here). If there are none, the - // next start paragraph tag will be handled by the - // next call to the injector - $needs_start = true; - } else { - // We just started a new paragraph! - // Reinstate a double-newline for presentation's sake, since - // it was in the source code. - array_unshift($result, new HTMLPurifier_Token_Text("\n\n")); - } - } elseif ($i + 1 == $c) { - // Double newline at the end - // There should be a trailing
when we're finally done. - $needs_end = true; - } - } - } - - // Check if this was just a giant blob of whitespace. Move this earlier, - // perhaps? - if (empty($paragraphs)) { - return; - } - - // Add the start tag indicated by \n\n at the beginning of $data - if ($needs_start) { - $result[] = $this->_pStart(); - } - - // Append the paragraphs onto the result - foreach ($paragraphs as $par) { - $result[] = new HTMLPurifier_Token_Text($par); - $result[] = new HTMLPurifier_Token_End('p'); - $result[] = new HTMLPurifier_Token_Text("\n\n"); - $result[] = $this->_pStart(); - } - - // Remove trailing start token; Injector will handle this later if - // it was indeed needed. This prevents from needing to do a lookahead, - // at the cost of a lookbehind later. - array_pop($result); - - // If there is no need for an end tag, remove all of it and let - // MakeWellFormed close it later. - if (!$needs_end) { - array_pop($result); // removes \n\n - array_pop($result); // removes - } - } - - /** - * Returns true if passed token is inline (and, ergo, allowed in - * paragraph tags) - * @param HTMLPurifier_Token $token - * @return bool - */ - private function _isInline($token) - { - return isset($this->htmlDefinition->info['p']->child->elements[$token->name]); - } - - /** - * Looks ahead in the token list and determines whether or not we need - * to insert atag. - * @return bool - */ - private function _pLookAhead() - { - if ($this->currentToken instanceof HTMLPurifier_Token_Start) { - $nesting = 1; - } else { - $nesting = 0; - } - $ok = false; - $i = null; - while ($this->forwardUntilEndToken($i, $current, $nesting)) { - $result = $this->_checkNeedsP($current); - if ($result !== null) { - $ok = $result; - break; - } - } - return $ok; - } - - /** - * Determines if a particular token requires an earlier inline token - * to get a paragraph. This should be used with _forwardUntilEndToken - * @param HTMLPurifier_Token $current - * @return bool - */ - private function _checkNeedsP($current) - { - if ($current instanceof HTMLPurifier_Token_Start) { - if (!$this->_isInline($current)) { - //
n"; - //echo "$n\nsigfigs = $sigfigs\nnew_log = $new_log\nlog = $log\nrp = $rp\n\n"; - - $n = $this->round($n, $sigfigs); - if (strpos($n, '.') !== false) { - $n = rtrim($n, '0'); - } - $n = rtrim($n, '.'); - - return new HTMLPurifier_Length($n, $unit); - } - - /** - * Returns the number of significant figures in a string number. - * @param string $n Decimal number - * @return int number of sigfigs - */ - public function getSigFigs($n) - { - $n = ltrim($n, '0+-'); - $dp = strpos($n, '.'); // decimal position - if ($dp === false) { - $sigfigs = strlen(rtrim($n, '0')); - } else { - $sigfigs = strlen(ltrim($n, '0.')); // eliminate extra decimal character - if ($dp !== 0) { - $sigfigs--; - } - } - return $sigfigs; - } - - /** - * Adds two numbers, using arbitrary precision when available. - * @param string $s1 - * @param string $s2 - * @param int $scale - * @return string - */ - private function add($s1, $s2, $scale) - { - if ($this->bcmath) { - return bcadd($s1, $s2, $scale); - } else { - return $this->scale((float)$s1 + (float)$s2, $scale); - } - } - - /** - * Multiples two numbers, using arbitrary precision when available. - * @param string $s1 - * @param string $s2 - * @param int $scale - * @return string - */ - private function mul($s1, $s2, $scale) - { - if ($this->bcmath) { - return bcmul($s1, $s2, $scale); - } else { - return $this->scale((float)$s1 * (float)$s2, $scale); - } - } - - /** - * Divides two numbers, using arbitrary precision when available. - * @param string $s1 - * @param string $s2 - * @param int $scale - * @return string - */ - private function div($s1, $s2, $scale) - { - if ($this->bcmath) { - return bcdiv($s1, $s2, $scale); - } else { - return $this->scale((float)$s1 / (float)$s2, $scale); - } - } - - /** - * Rounds a number according to the number of sigfigs it should have, - * using arbitrary precision when available. - * @param float $n - * @param int $sigfigs - * @return string - */ - private function round($n, $sigfigs) - { - $new_log = (int)floor(log(abs($n), 10)); // Number of digits left of decimal - 1 - $rp = $sigfigs - $new_log - 1; // Number of decimal places needed - $neg = $n < 0 ? '-' : ''; // Negative sign - if ($this->bcmath) { - if ($rp >= 0) { - $n = bcadd($n, $neg . '0.' . str_repeat('0', $rp) . '5', $rp + 1); - $n = bcdiv($n, '1', $rp); - } else { - // This algorithm partially depends on the standardized - // form of numbers that comes out of bcmath. - $n = bcadd($n, $neg . '5' . str_repeat('0', $new_log - $sigfigs), 0); - $n = substr($n, 0, $sigfigs + strlen($neg)) . str_repeat('0', $new_log - $sigfigs + 1); - } - return $n; - } else { - return $this->scale(round($n, $sigfigs - $new_log - 1), $rp + 1); - } - } - - /** - * Scales a float to $scale digits right of decimal point, like BCMath. - * @param float $r - * @param int $scale - * @return string - */ - private function scale($r, $scale) - { - if ($scale < 0) { - // The f sprintf type doesn't support negative numbers, so we - // need to cludge things manually. First get the string. - $r = sprintf('%.0f', (float)$r); - // Due to floating point precision loss, $r will more than likely - // look something like 4652999999999.9234. We grab one more digit - // than we need to precise from $r and then use that to round - // appropriately. - $precise = (string)round(substr($r, 0, strlen($r) + $scale), -1); - // Now we return it, truncating the zero that was rounded off. - return substr($precise, 0, -1) . str_repeat('0', -$scale + 1); - } - return sprintf('%.' . $scale . 'f', (float)$r); - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser.php deleted file mode 100644 index 0c97c828..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser.php +++ /dev/null @@ -1,198 +0,0 @@ - self::C_STRING, - 'istring' => self::ISTRING, - 'text' => self::TEXT, - 'itext' => self::ITEXT, - 'int' => self::C_INT, - 'float' => self::C_FLOAT, - 'bool' => self::C_BOOL, - 'lookup' => self::LOOKUP, - 'list' => self::ALIST, - 'hash' => self::HASH, - 'mixed' => self::C_MIXED - ); - - /** - * Lookup table of types that are string, and can have aliases or - * allowed value lists. - */ - public static $stringTypes = array( - self::C_STRING => true, - self::ISTRING => true, - self::TEXT => true, - self::ITEXT => true, - ); - - /** - * Validate a variable according to type. - * It may return NULL as a valid type if $allow_null is true. - * - * @param mixed $var Variable to validate - * @param int $type Type of variable, see HTMLPurifier_VarParser->types - * @param bool $allow_null Whether or not to permit null as a value - * @return string Validated and type-coerced variable - * @throws HTMLPurifier_VarParserException - */ - final public function parse($var, $type, $allow_null = false) - { - if (is_string($type)) { - if (!isset(HTMLPurifier_VarParser::$types[$type])) { - throw new HTMLPurifier_VarParserException("Invalid type '$type'"); - } else { - $type = HTMLPurifier_VarParser::$types[$type]; - } - } - $var = $this->parseImplementation($var, $type, $allow_null); - if ($allow_null && $var === null) { - return null; - } - // These are basic checks, to make sure nothing horribly wrong - // happened in our implementations. - switch ($type) { - case (self::C_STRING): - case (self::ISTRING): - case (self::TEXT): - case (self::ITEXT): - if (!is_string($var)) { - break; - } - if ($type == self::ISTRING || $type == self::ITEXT) { - $var = strtolower($var); - } - return $var; - case (self::C_INT): - if (!is_int($var)) { - break; - } - return $var; - case (self::C_FLOAT): - if (!is_float($var)) { - break; - } - return $var; - case (self::C_BOOL): - if (!is_bool($var)) { - break; - } - return $var; - case (self::LOOKUP): - case (self::ALIST): - case (self::HASH): - if (!is_array($var)) { - break; - } - if ($type === self::LOOKUP) { - foreach ($var as $k) { - if ($k !== true) { - $this->error('Lookup table contains value other than true'); - } - } - } elseif ($type === self::ALIST) { - $keys = array_keys($var); - if (array_keys($keys) !== $keys) { - $this->error('Indices for list are not uniform'); - } - } - return $var; - case (self::C_MIXED): - return $var; - default: - $this->errorInconsistent(get_class($this), $type); - } - $this->errorGeneric($var, $type); - } - - /** - * Actually implements the parsing. Base implementation does not - * do anything to $var. Subclasses should overload this! - * @param mixed $var - * @param int $type - * @param bool $allow_null - * @return string - */ - protected function parseImplementation($var, $type, $allow_null) - { - return $var; - } - - /** - * Throws an exception. - * @throws HTMLPurifier_VarParserException - */ - protected function error($msg) - { - throw new HTMLPurifier_VarParserException($msg); - } - - /** - * Throws an inconsistency exception. - * @note This should not ever be called. It would be called if we - * extend the allowed values of HTMLPurifier_VarParser without - * updating subclasses. - * @param string $class - * @param int $type - * @throws HTMLPurifier_Exception - */ - protected function errorInconsistent($class, $type) - { - throw new HTMLPurifier_Exception( - "Inconsistency in $class: " . HTMLPurifier_VarParser::getTypeName($type) . - " not implemented" - ); - } - - /** - * Generic error for if a type didn't work. - * @param mixed $var - * @param int $type - */ - protected function errorGeneric($var, $type) - { - $vtype = gettype($var); - $this->error("Expected type " . HTMLPurifier_VarParser::getTypeName($type) . ", got $vtype"); - } - - /** - * @param int $type - * @return string - */ - public static function getTypeName($type) - { - static $lookup; - if (!$lookup) { - // Lazy load the alternative lookup table - $lookup = array_flip(HTMLPurifier_VarParser::$types); - } - if (!isset($lookup[$type])) { - return 'unknown'; - } - return $lookup[$type]; - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Flexible.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Flexible.php deleted file mode 100644 index 3bfbe838..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Flexible.php +++ /dev/null @@ -1,130 +0,0 @@ - $j) { - $var[$i] = trim($j); - } - if ($type === self::HASH) { - // key:value,key2:value2 - $nvar = array(); - foreach ($var as $keypair) { - $c = explode(':', $keypair, 2); - if (!isset($c[1])) { - continue; - } - $nvar[trim($c[0])] = trim($c[1]); - } - $var = $nvar; - } - } - if (!is_array($var)) { - break; - } - $keys = array_keys($var); - if ($keys === array_keys($keys)) { - if ($type == self::ALIST) { - return $var; - } elseif ($type == self::LOOKUP) { - $new = array(); - foreach ($var as $key) { - $new[$key] = true; - } - return $new; - } else { - break; - } - } - if ($type === self::ALIST) { - trigger_error("Array list did not have consecutive integer indexes", E_USER_WARNING); - return array_values($var); - } - if ($type === self::LOOKUP) { - foreach ($var as $key => $value) { - if ($value !== true) { - trigger_error( - "Lookup array has non-true value at key '$key'; " . - "maybe your input array was not indexed numerically", - E_USER_WARNING - ); - } - $var[$key] = true; - } - } - return $var; - default: - $this->errorInconsistent(__CLASS__, $type); - } - $this->errorGeneric($var, $type); - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Native.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Native.php deleted file mode 100644 index f11c318e..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Native.php +++ /dev/null @@ -1,38 +0,0 @@ -evalExpression($var); - } - - /** - * @param string $expr - * @return mixed - * @throws HTMLPurifier_VarParserException - */ - protected function evalExpression($expr) - { - $var = null; - $result = eval("\$var = $expr;"); - if ($result === false) { - throw new HTMLPurifier_VarParserException("Fatal error in evaluated code"); - } - return $var; - } -} - -// vim: et sw=4 sts=4 diff --git a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParserException.php b/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParserException.php deleted file mode 100644 index 5df34149..00000000 --- a/includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParserException.php +++ /dev/null @@ -1,11 +0,0 @@ -front = $front; - $this->back = $back; - } - - /** - * Creates a zipper from an array, with a hole in the - * 0-index position. - * @param Array to zipper-ify. - * @return Tuple of zipper and element of first position. - */ - static public function fromArray($array) { - $z = new self(array(), array_reverse($array)); - $t = $z->delete(); // delete the "dummy hole" - return array($z, $t); - } - - /** - * Convert zipper back into a normal array, optionally filling in - * the hole with a value. (Usually you should supply a $t, unless you - * are at the end of the array.) - */ - public function toArray($t = NULL) { - $a = $this->front; - if ($t !== NULL) $a[] = $t; - for ($i = count($this->back)-1; $i >= 0; $i--) { - $a[] = $this->back[$i]; - } - return $a; - } - - /** - * Move hole to the next element. - * @param $t Element to fill hole with - * @return Original contents of new hole. - */ - public function next($t) { - if ($t !== NULL) array_push($this->front, $t); - return empty($this->back) ? NULL : array_pop($this->back); - } - - /** - * Iterated hole advancement. - * @param $t Element to fill hole with - * @param $i How many forward to advance hole - * @return Original contents of new hole, i away - */ - public function advance($t, $n) { - for ($i = 0; $i < $n; $i++) { - $t = $this->next($t); - } - return $t; - } - - /** - * Move hole to the previous element - * @param $t Element to fill hole with - * @return Original contents of new hole. - */ - public function prev($t) { - if ($t !== NULL) array_push($this->back, $t); - return empty($this->front) ? NULL : array_pop($this->front); - } - - /** - * Delete contents of current hole, shifting hole to - * next element. - * @return Original contents of new hole. - */ - public function delete() { - return empty($this->back) ? NULL : array_pop($this->back); - } - - /** - * Returns true if we are at the end of the list. - * @return bool - */ - public function done() { - return empty($this->back); - } - - /** - * Insert element before hole. - * @param Element to insert - */ - public function insertBefore($t) { - if ($t !== NULL) array_push($this->front, $t); - } - - /** - * Insert element after hole. - * @param Element to insert - */ - public function insertAfter($t) { - if ($t !== NULL) array_push($this->back, $t); - } - - /** - * Splice in multiple elements at hole. Functional specification - * in terms of array_splice: - * - * $arr1 = $arr; - * $old1 = array_splice($arr1, $i, $delete, $replacement); - * - * list($z, $t) = HTMLPurifier_Zipper::fromArray($arr); - * $t = $z->advance($t, $i); - * list($old2, $t) = $z->splice($t, $delete, $replacement); - * $arr2 = $z->toArray($t); - * - * assert($old1 === $old2); - * assert($arr1 === $arr2); - * - * NB: the absolute index location after this operation is - * *unchanged!* - * - * @param Current contents of hole. - */ - public function splice($t, $delete, $replacement) { - // delete - $old = array(); - $r = $t; - for ($i = $delete; $i > 0; $i--) { - $old[] = $r; - $r = $this->delete(); - } - // insert - for ($i = count($replacement)-1; $i >= 0; $i--) { - $this->insertAfter($r); - $r = $replacement[$i]; - } - return array($old, $r); - } -} diff --git a/includes/vendor/guzzlehttp/guzzle/CHANGELOG.md b/includes/vendor/guzzlehttp/guzzle/CHANGELOG.md deleted file mode 100644 index 12949ba6..00000000 --- a/includes/vendor/guzzlehttp/guzzle/CHANGELOG.md +++ /dev/null @@ -1,1519 +0,0 @@ -# Change Log - -Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version. - -## 7.5.0 - 2022-08-28 - -### Added - -- Support PHP 8.2 -- Add request to delay closure params - -## 7.4.5 - 2022-06-20 - -* Fix change in port should be considered a change in origin -* Fix `CURLOPT_HTTPAUTH` option not cleared on change of origin - -## 7.4.4 - 2022-06-09 - -* Fix failure to strip Authorization header on HTTP downgrade -* Fix failure to strip the Cookie header on change in host or HTTP downgrade - -## 7.4.3 - 2022-05-25 - -* Fix cross-domain cookie leakage - -## 7.4.2 - 2022-03-20 - -### Fixed - -- Remove curl auth on cross-domain redirects to align with the Authorization HTTP header -- Reject non-HTTP schemes in StreamHandler -- Set a default ssl.peer_name context in StreamHandler to allow `force_ip_resolve` - -## 7.4.1 - 2021-12-06 - -### Changed - -- Replaced implicit URI to string coercion [#2946](https://github.com/guzzle/guzzle/pull/2946) -- Allow `symfony/deprecation-contracts` version 3 [#2961](https://github.com/guzzle/guzzle/pull/2961) - -### Fixed - -- Only close curl handle if it's done [#2950](https://github.com/guzzle/guzzle/pull/2950) - -## 7.4.0 - 2021-10-18 - -### Added - -- Support PHP 8.1 [#2929](https://github.com/guzzle/guzzle/pull/2929), [#2939](https://github.com/guzzle/guzzle/pull/2939) -- Support `psr/log` version 2 and 3 [#2943](https://github.com/guzzle/guzzle/pull/2943) - -### Fixed - -- Make sure we always call `restore_error_handler()` [#2915](https://github.com/guzzle/guzzle/pull/2915) -- Fix progress parameter type compatibility between the cURL and stream handlers [#2936](https://github.com/guzzle/guzzle/pull/2936) -- Throw `InvalidArgumentException` when an incorrect `headers` array is provided [#2916](https://github.com/guzzle/guzzle/pull/2916), [#2942](https://github.com/guzzle/guzzle/pull/2942) - -### Changed - -- Be more strict with types [#2914](https://github.com/guzzle/guzzle/pull/2914), [#2917](https://github.com/guzzle/guzzle/pull/2917), [#2919](https://github.com/guzzle/guzzle/pull/2919), [#2945](https://github.com/guzzle/guzzle/pull/2945) - -## 7.3.0 - 2021-03-23 - -### Added - -- Support for DER and P12 certificates [#2413](https://github.com/guzzle/guzzle/pull/2413) -- Support the cURL (http://) scheme for StreamHandler proxies [#2850](https://github.com/guzzle/guzzle/pull/2850) -- Support for `guzzlehttp/psr7:^2.0` [#2878](https://github.com/guzzle/guzzle/pull/2878) - -### Fixed - -- Handle exceptions on invalid header consistently between PHP versions and handlers [#2872](https://github.com/guzzle/guzzle/pull/2872) - -## 7.2.0 - 2020-10-10 - -### Added - -- Support for PHP 8 [#2712](https://github.com/guzzle/guzzle/pull/2712), [#2715](https://github.com/guzzle/guzzle/pull/2715), [#2789](https://github.com/guzzle/guzzle/pull/2789) -- Support passing a body summarizer to the http errors middleware [#2795](https://github.com/guzzle/guzzle/pull/2795) - -### Fixed - -- Handle exceptions during response creation [#2591](https://github.com/guzzle/guzzle/pull/2591) -- Fix CURLOPT_ENCODING not to be overwritten [#2595](https://github.com/guzzle/guzzle/pull/2595) -- Make sure the Request always has a body object [#2804](https://github.com/guzzle/guzzle/pull/2804) - -### Changed - -- The `TooManyRedirectsException` has a response [#2660](https://github.com/guzzle/guzzle/pull/2660) -- Avoid "functions" from dependencies [#2712](https://github.com/guzzle/guzzle/pull/2712) - -### Deprecated - -- Using environment variable GUZZLE_CURL_SELECT_TIMEOUT [#2786](https://github.com/guzzle/guzzle/pull/2786) - -## 7.1.1 - 2020-09-30 - -### Fixed - -- Incorrect EOF detection for response body streams on Windows. - -### Changed - -- We dont connect curl `sink` on HEAD requests. -- Removed some PHP 5 workarounds - -## 7.1.0 - 2020-09-22 - -### Added - -- `GuzzleHttp\MessageFormatterInterface` - -### Fixed - -- Fixed issue that caused cookies with no value not to be stored. -- On redirects, we allow all safe methods like GET, HEAD and OPTIONS. -- Fixed logging on empty responses. -- Make sure MessageFormatter::format returns string - -### Deprecated - -- All functions in `GuzzleHttp` has been deprecated. Use static methods on `Utils` instead. -- `ClientInterface::getConfig()` -- `Client::getConfig()` -- `Client::__call()` -- `Utils::defaultCaBundle()` -- `CurlFactory::LOW_CURL_VERSION_NUMBER` - -## 7.0.1 - 2020-06-27 - -* Fix multiply defined functions fatal error [#2699](https://github.com/guzzle/guzzle/pull/2699) - -## 7.0.0 - 2020-06-27 - -No changes since 7.0.0-rc1. - -## 7.0.0-rc1 - 2020-06-15 - -### Changed - -* Use error level for logging errors in Middleware [#2629](https://github.com/guzzle/guzzle/pull/2629) -* Disabled IDN support by default and require ext-intl to use it [#2675](https://github.com/guzzle/guzzle/pull/2675) - -## 7.0.0-beta2 - 2020-05-25 - -### Added - -* Using `Utils` class instead of functions in the `GuzzleHttp` namespace. [#2546](https://github.com/guzzle/guzzle/pull/2546) -* `ClientInterface::MAJOR_VERSION` [#2583](https://github.com/guzzle/guzzle/pull/2583) - -### Changed - -* Avoid the `getenv` function when unsafe [#2531](https://github.com/guzzle/guzzle/pull/2531) -* Added real client methods [#2529](https://github.com/guzzle/guzzle/pull/2529) -* Avoid functions due to global install conflicts [#2546](https://github.com/guzzle/guzzle/pull/2546) -* Use Symfony intl-idn polyfill [#2550](https://github.com/guzzle/guzzle/pull/2550) -* Adding methods for HTTP verbs like `Client::get()`, `Client::head()`, `Client::patch()` etc [#2529](https://github.com/guzzle/guzzle/pull/2529) -* `ConnectException` extends `TransferException` [#2541](https://github.com/guzzle/guzzle/pull/2541) -* Updated the default User Agent to "GuzzleHttp/7" [#2654](https://github.com/guzzle/guzzle/pull/2654) - -### Fixed - -* Various intl icu issues [#2626](https://github.com/guzzle/guzzle/pull/2626) - -### Removed - -* Pool option `pool_size` [#2528](https://github.com/guzzle/guzzle/pull/2528) - -## 7.0.0-beta1 - 2019-12-30 - -The diff might look very big but 95% of Guzzle users will be able to upgrade without modification. -Please see [the upgrade document](UPGRADING.md) that describes all BC breaking changes. - -### Added - -* Implement PSR-18 and dropped PHP 5 support [#2421](https://github.com/guzzle/guzzle/pull/2421) [#2474](https://github.com/guzzle/guzzle/pull/2474) -* PHP 7 types [#2442](https://github.com/guzzle/guzzle/pull/2442) [#2449](https://github.com/guzzle/guzzle/pull/2449) [#2466](https://github.com/guzzle/guzzle/pull/2466) [#2497](https://github.com/guzzle/guzzle/pull/2497) [#2499](https://github.com/guzzle/guzzle/pull/2499) -* IDN support for redirects [2424](https://github.com/guzzle/guzzle/pull/2424) - -### Changed - -* Dont allow passing null as third argument to `BadResponseException::__construct()` [#2427](https://github.com/guzzle/guzzle/pull/2427) -* Use SAPI constant instead of method call [#2450](https://github.com/guzzle/guzzle/pull/2450) -* Use native function invocation [#2444](https://github.com/guzzle/guzzle/pull/2444) -* Better defaults for PHP installations with old ICU lib [2454](https://github.com/guzzle/guzzle/pull/2454) -* Added visibility to all constants [#2462](https://github.com/guzzle/guzzle/pull/2462) -* Dont allow passing `null` as URI to `Client::request()` and `Client::requestAsync()` [#2461](https://github.com/guzzle/guzzle/pull/2461) -* Widen the exception argument to throwable [#2495](https://github.com/guzzle/guzzle/pull/2495) - -### Fixed - -* Logging when Promise rejected with a string [#2311](https://github.com/guzzle/guzzle/pull/2311) - -### Removed - -* Class `SeekException` [#2162](https://github.com/guzzle/guzzle/pull/2162) -* `RequestException::getResponseBodySummary()` [#2425](https://github.com/guzzle/guzzle/pull/2425) -* `CookieJar::getCookieValue()` [#2433](https://github.com/guzzle/guzzle/pull/2433) -* `uri_template()` and `UriTemplate` [#2440](https://github.com/guzzle/guzzle/pull/2440) -* Request options `save_to` and `exceptions` [#2464](https://github.com/guzzle/guzzle/pull/2464) - -## 6.5.2 - 2019-12-23 - -* idn_to_ascii() fix for old PHP versions [#2489](https://github.com/guzzle/guzzle/pull/2489) - -## 6.5.1 - 2019-12-21 - -* Better defaults for PHP installations with old ICU lib [#2454](https://github.com/guzzle/guzzle/pull/2454) -* IDN support for redirects [#2424](https://github.com/guzzle/guzzle/pull/2424) - -## 6.5.0 - 2019-12-07 - -* Improvement: Added support for reset internal queue in MockHandler. [#2143](https://github.com/guzzle/guzzle/pull/2143) -* Improvement: Added support to pass arbitrary options to `curl_multi_init`. [#2287](https://github.com/guzzle/guzzle/pull/2287) -* Fix: Gracefully handle passing `null` to the `header` option. [#2132](https://github.com/guzzle/guzzle/pull/2132) -* Fix: `RetryMiddleware` did not do exponential delay between retires due unit mismatch. [#2132](https://github.com/guzzle/guzzle/pull/2132) -* Fix: Prevent undefined offset when using array for ssl_key options. [#2348](https://github.com/guzzle/guzzle/pull/2348) -* Deprecated `ClientInterface::VERSION` - -## 6.4.1 - 2019-10-23 - -* No `guzzle.phar` was created in 6.4.0 due expired API token. This release will fix that -* Added `parent::__construct()` to `FileCookieJar` and `SessionCookieJar` - -## 6.4.0 - 2019-10-23 - -* Improvement: Improved error messages when using curl < 7.21.2 [#2108](https://github.com/guzzle/guzzle/pull/2108) -* Fix: Test if response is readable before returning a summary in `RequestException::getResponseBodySummary()` [#2081](https://github.com/guzzle/guzzle/pull/2081) -* Fix: Add support for GUZZLE_CURL_SELECT_TIMEOUT environment variable [#2161](https://github.com/guzzle/guzzle/pull/2161) -* Improvement: Added `GuzzleHttp\Exception\InvalidArgumentException` [#2163](https://github.com/guzzle/guzzle/pull/2163) -* Improvement: Added `GuzzleHttp\_current_time()` to use `hrtime()` if that function exists. [#2242](https://github.com/guzzle/guzzle/pull/2242) -* Improvement: Added curl's `appconnect_time` in `TransferStats` [#2284](https://github.com/guzzle/guzzle/pull/2284) -* Improvement: Make GuzzleException extend Throwable wherever it's available [#2273](https://github.com/guzzle/guzzle/pull/2273) -* Fix: Prevent concurrent writes to file when saving `CookieJar` [#2335](https://github.com/guzzle/guzzle/pull/2335) -* Improvement: Update `MockHandler` so we can test transfer time [#2362](https://github.com/guzzle/guzzle/pull/2362) - -## 6.3.3 - 2018-04-22 - -* Fix: Default headers when decode_content is specified - - -## 6.3.2 - 2018-03-26 - -* Fix: Release process - - -## 6.3.1 - 2018-03-26 - -* Bug fix: Parsing 0 epoch expiry times in cookies [#2014](https://github.com/guzzle/guzzle/pull/2014) -* Improvement: Better ConnectException detection [#2012](https://github.com/guzzle/guzzle/pull/2012) -* Bug fix: Malformed domain that contains a "/" [#1999](https://github.com/guzzle/guzzle/pull/1999) -* Bug fix: Undefined offset when a cookie has no first key-value pair [#1998](https://github.com/guzzle/guzzle/pull/1998) -* Improvement: Support PHPUnit 6 [#1953](https://github.com/guzzle/guzzle/pull/1953) -* Bug fix: Support empty headers [#1915](https://github.com/guzzle/guzzle/pull/1915) -* Bug fix: Ignore case during header modifications [#1916](https://github.com/guzzle/guzzle/pull/1916) - -+ Minor code cleanups, documentation fixes and clarifications. - - -## 6.3.0 - 2017-06-22 - -* Feature: force IP resolution (ipv4 or ipv6) [#1608](https://github.com/guzzle/guzzle/pull/1608), [#1659](https://github.com/guzzle/guzzle/pull/1659) -* Improvement: Don't include summary in exception message when body is empty [#1621](https://github.com/guzzle/guzzle/pull/1621) -* Improvement: Handle `on_headers` option in MockHandler [#1580](https://github.com/guzzle/guzzle/pull/1580) -* Improvement: Added SUSE Linux CA path [#1609](https://github.com/guzzle/guzzle/issues/1609) -* Improvement: Use class reference for getting the name of the class instead of using hardcoded strings [#1641](https://github.com/guzzle/guzzle/pull/1641) -* Feature: Added `read_timeout` option [#1611](https://github.com/guzzle/guzzle/pull/1611) -* Bug fix: PHP 7.x fixes [#1685](https://github.com/guzzle/guzzle/pull/1685), [#1686](https://github.com/guzzle/guzzle/pull/1686), [#1811](https://github.com/guzzle/guzzle/pull/1811) -* Deprecation: BadResponseException instantiation without a response [#1642](https://github.com/guzzle/guzzle/pull/1642) -* Feature: Added NTLM auth [#1569](https://github.com/guzzle/guzzle/pull/1569) -* Feature: Track redirect HTTP status codes [#1711](https://github.com/guzzle/guzzle/pull/1711) -* Improvement: Check handler type during construction [#1745](https://github.com/guzzle/guzzle/pull/1745) -* Improvement: Always include the Content-Length if there's a body [#1721](https://github.com/guzzle/guzzle/pull/1721) -* Feature: Added convenience method to access a cookie by name [#1318](https://github.com/guzzle/guzzle/pull/1318) -* Bug fix: Fill `CURLOPT_CAPATH` and `CURLOPT_CAINFO` properly [#1684](https://github.com/guzzle/guzzle/pull/1684) -* Improvement: Use `\GuzzleHttp\Promise\rejection_for` function instead of object init [#1827](https://github.com/guzzle/guzzle/pull/1827) - - -+ Minor code cleanups, documentation fixes and clarifications. - -## 6.2.3 - 2017-02-28 - -* Fix deprecations with guzzle/psr7 version 1.4 - -## 6.2.2 - 2016-10-08 - -* Allow to pass nullable Response to delay callable -* Only add scheme when host is present -* Fix drain case where content-length is the literal string zero -* Obfuscate in-URL credentials in exceptions - -## 6.2.1 - 2016-07-18 - -* Address HTTP_PROXY security vulnerability, CVE-2016-5385: - https://httpoxy.org/ -* Fixing timeout bug with StreamHandler: - https://github.com/guzzle/guzzle/pull/1488 -* Only read up to `Content-Length` in PHP StreamHandler to avoid timeouts when - a server does not honor `Connection: close`. -* Ignore URI fragment when sending requests. - -## 6.2.0 - 2016-03-21 - -* Feature: added `GuzzleHttp\json_encode` and `GuzzleHttp\json_decode`. - https://github.com/guzzle/guzzle/pull/1389 -* Bug fix: Fix sleep calculation when waiting for delayed requests. - https://github.com/guzzle/guzzle/pull/1324 -* Feature: More flexible history containers. - https://github.com/guzzle/guzzle/pull/1373 -* Bug fix: defer sink stream opening in StreamHandler. - https://github.com/guzzle/guzzle/pull/1377 -* Bug fix: do not attempt to escape cookie values. - https://github.com/guzzle/guzzle/pull/1406 -* Feature: report original content encoding and length on decoded responses. - https://github.com/guzzle/guzzle/pull/1409 -* Bug fix: rewind seekable request bodies before dispatching to cURL. - https://github.com/guzzle/guzzle/pull/1422 -* Bug fix: provide an empty string to `http_build_query` for HHVM workaround. - https://github.com/guzzle/guzzle/pull/1367 - -## 6.1.1 - 2015-11-22 - -* Bug fix: Proxy::wrapSync() now correctly proxies to the appropriate handler - https://github.com/guzzle/guzzle/commit/911bcbc8b434adce64e223a6d1d14e9a8f63e4e4 -* Feature: HandlerStack is now more generic. - https://github.com/guzzle/guzzle/commit/f2102941331cda544745eedd97fc8fd46e1ee33e -* Bug fix: setting verify to false in the StreamHandler now disables peer - verification. https://github.com/guzzle/guzzle/issues/1256 -* Feature: Middleware now uses an exception factory, including more error - context. https://github.com/guzzle/guzzle/pull/1282 -* Feature: better support for disabled functions. - https://github.com/guzzle/guzzle/pull/1287 -* Bug fix: fixed regression where MockHandler was not using `sink`. - https://github.com/guzzle/guzzle/pull/1292 - -## 6.1.0 - 2015-09-08 - -* Feature: Added the `on_stats` request option to provide access to transfer - statistics for requests. https://github.com/guzzle/guzzle/pull/1202 -* Feature: Added the ability to persist session cookies in CookieJars. - https://github.com/guzzle/guzzle/pull/1195 -* Feature: Some compatibility updates for Google APP Engine - https://github.com/guzzle/guzzle/pull/1216 -* Feature: Added support for NO_PROXY to prevent the use of a proxy based on - a simple set of rules. https://github.com/guzzle/guzzle/pull/1197 -* Feature: Cookies can now contain square brackets. - https://github.com/guzzle/guzzle/pull/1237 -* Bug fix: Now correctly parsing `=` inside of quotes in Cookies. - https://github.com/guzzle/guzzle/pull/1232 -* Bug fix: Cusotm cURL options now correctly override curl options of the - same name. https://github.com/guzzle/guzzle/pull/1221 -* Bug fix: Content-Type header is now added when using an explicitly provided - multipart body. https://github.com/guzzle/guzzle/pull/1218 -* Bug fix: Now ignoring Set-Cookie headers that have no name. -* Bug fix: Reason phrase is no longer cast to an int in some cases in the - cURL handler. https://github.com/guzzle/guzzle/pull/1187 -* Bug fix: Remove the Authorization header when redirecting if the Host - header changes. https://github.com/guzzle/guzzle/pull/1207 -* Bug fix: Cookie path matching fixes - https://github.com/guzzle/guzzle/issues/1129 -* Bug fix: Fixing the cURL `body_as_string` setting - https://github.com/guzzle/guzzle/pull/1201 -* Bug fix: quotes are no longer stripped when parsing cookies. - https://github.com/guzzle/guzzle/issues/1172 -* Bug fix: `form_params` and `query` now always uses the `&` separator. - https://github.com/guzzle/guzzle/pull/1163 -* Bug fix: Adding a Content-Length to PHP stream wrapper requests if not set. - https://github.com/guzzle/guzzle/pull/1189 - -## 6.0.2 - 2015-07-04 - -* Fixed a memory leak in the curl handlers in which references to callbacks - were not being removed by `curl_reset`. -* Cookies are now extracted properly before redirects. -* Cookies now allow more character ranges. -* Decoded Content-Encoding responses are now modified to correctly reflect - their state if the encoding was automatically removed by a handler. This - means that the `Content-Encoding` header may be removed an the - `Content-Length` modified to reflect the message size after removing the - encoding. -* Added a more explicit error message when trying to use `form_params` and - `multipart` in the same request. -* Several fixes for HHVM support. -* Functions are now conditionally required using an additional level of - indirection to help with global Composer installations. - -## 6.0.1 - 2015-05-27 - -* Fixed a bug with serializing the `query` request option where the `&` - separator was missing. -* Added a better error message for when `body` is provided as an array. Please - use `form_params` or `multipart` instead. -* Various doc fixes. - -## 6.0.0 - 2015-05-26 - -* See the UPGRADING.md document for more information. -* Added `multipart` and `form_params` request options. -* Added `synchronous` request option. -* Added the `on_headers` request option. -* Fixed `expect` handling. -* No longer adding default middlewares in the client ctor. These need to be - present on the provided handler in order to work. -* Requests are no longer initiated when sending async requests with the - CurlMultiHandler. This prevents unexpected recursion from requests completing - while ticking the cURL loop. -* Removed the semantics of setting `default` to `true`. This is no longer - required now that the cURL loop is not ticked for async requests. -* Added request and response logging middleware. -* No longer allowing self signed certificates when using the StreamHandler. -* Ensuring that `sink` is valid if saving to a file. -* Request exceptions now include a "handler context" which provides handler - specific contextual information. -* Added `GuzzleHttp\RequestOptions` to allow request options to be applied - using constants. -* `$maxHandles` has been removed from CurlMultiHandler. -* `MultipartPostBody` is now part of the `guzzlehttp/psr7` package. - -## 5.3.0 - 2015-05-19 - -* Mock now supports `save_to` -* Marked `AbstractRequestEvent::getTransaction()` as public. -* Fixed a bug in which multiple headers using different casing would overwrite - previous headers in the associative array. -* Added `Utils::getDefaultHandler()` -* Marked `GuzzleHttp\Client::getDefaultUserAgent` as deprecated. -* URL scheme is now always lowercased. - -## 6.0.0-beta.1 - -* Requires PHP >= 5.5 -* Updated to use PSR-7 - * Requires immutable messages, which basically means an event based system - owned by a request instance is no longer possible. - * Utilizing the [Guzzle PSR-7 package](https://github.com/guzzle/psr7). - * Removed the dependency on `guzzlehttp/streams`. These stream abstractions - are available in the `guzzlehttp/psr7` package under the `GuzzleHttp\Psr7` - namespace. -* Added middleware and handler system - * Replaced the Guzzle event and subscriber system with a middleware system. - * No longer depends on RingPHP, but rather places the HTTP handlers directly - in Guzzle, operating on PSR-7 messages. - * Retry logic is now encapsulated in `GuzzleHttp\Middleware::retry`, which - means the `guzzlehttp/retry-subscriber` is now obsolete. - * Mocking responses is now handled using `GuzzleHttp\Handler\MockHandler`. -* Asynchronous responses - * No longer supports the `future` request option to send an async request. - Instead, use one of the `*Async` methods of a client (e.g., `requestAsync`, - `getAsync`, etc.). - * Utilizing `GuzzleHttp\Promise` instead of React's promise library to avoid - recursion required by chaining and forwarding react promises. See - https://github.com/guzzle/promises - * Added `requestAsync` and `sendAsync` to send request asynchronously. - * Added magic methods for `getAsync()`, `postAsync()`, etc. to send requests - asynchronously. -* Request options - * POST and form updates - * Added the `form_fields` and `form_files` request options. - * Removed the `GuzzleHttp\Post` namespace. - * The `body` request option no longer accepts an array for POST requests. - * The `exceptions` request option has been deprecated in favor of the - `http_errors` request options. - * The `save_to` request option has been deprecated in favor of `sink` request - option. -* Clients no longer accept an array of URI template string and variables for - URI variables. You will need to expand URI templates before passing them - into a client constructor or request method. -* Client methods `get()`, `post()`, `put()`, `patch()`, `options()`, etc. are - now magic methods that will send synchronous requests. -* Replaced `Utils.php` with plain functions in `functions.php`. -* Removed `GuzzleHttp\Collection`. -* Removed `GuzzleHttp\BatchResults`. Batched pool results are now returned as - an array. -* Removed `GuzzleHttp\Query`. Query string handling is now handled using an - associative array passed into the `query` request option. The query string - is serialized using PHP's `http_build_query`. If you need more control, you - can pass the query string in as a string. -* `GuzzleHttp\QueryParser` has been replaced with the - `GuzzleHttp\Psr7\parse_query`. - -## 5.2.0 - 2015-01-27 - -* Added `AppliesHeadersInterface` to make applying headers to a request based - on the body more generic and not specific to `PostBodyInterface`. -* Reduced the number of stack frames needed to send requests. -* Nested futures are now resolved in the client rather than the RequestFsm -* Finishing state transitions is now handled in the RequestFsm rather than the - RingBridge. -* Added a guard in the Pool class to not use recursion for request retries. - -## 5.1.0 - 2014-12-19 - -* Pool class no longer uses recursion when a request is intercepted. -* The size of a Pool can now be dynamically adjusted using a callback. - See https://github.com/guzzle/guzzle/pull/943. -* Setting a request option to `null` when creating a request with a client will - ensure that the option is not set. This allows you to overwrite default - request options on a per-request basis. - See https://github.com/guzzle/guzzle/pull/937. -* Added the ability to limit which protocols are allowed for redirects by - specifying a `protocols` array in the `allow_redirects` request option. -* Nested futures due to retries are now resolved when waiting for synchronous - responses. See https://github.com/guzzle/guzzle/pull/947. -* `"0"` is now an allowed URI path. See - https://github.com/guzzle/guzzle/pull/935. -* `Query` no longer typehints on the `$query` argument in the constructor, - allowing for strings and arrays. -* Exceptions thrown in the `end` event are now correctly wrapped with Guzzle - specific exceptions if necessary. - -## 5.0.3 - 2014-11-03 - -This change updates query strings so that they are treated as un-encoded values -by default where the value represents an un-encoded value to send over the -wire. A Query object then encodes the value before sending over the wire. This -means that even value query string values (e.g., ":") are url encoded. This -makes the Query class match PHP's http_build_query function. However, if you -want to send requests over the wire using valid query string characters that do -not need to be encoded, then you can provide a string to Url::setQuery() and -pass true as the second argument to specify that the query string is a raw -string that should not be parsed or encoded (unless a call to getQuery() is -subsequently made, forcing the query-string to be converted into a Query -object). - -## 5.0.2 - 2014-10-30 - -* Added a trailing `\r\n` to multipart/form-data payloads. See - https://github.com/guzzle/guzzle/pull/871 -* Added a `GuzzleHttp\Pool::send()` convenience method to match the docs. -* Status codes are now returned as integers. See - https://github.com/guzzle/guzzle/issues/881 -* No longer overwriting an existing `application/x-www-form-urlencoded` header - when sending POST requests, allowing for customized headers. See - https://github.com/guzzle/guzzle/issues/877 -* Improved path URL serialization. - - * No longer double percent-encoding characters in the path or query string if - they are already encoded. - * Now properly encoding the supplied path to a URL object, instead of only - encoding ' ' and '?'. - * Note: This has been changed in 5.0.3 to now encode query string values by - default unless the `rawString` argument is provided when setting the query - string on a URL: Now allowing many more characters to be present in the - query string without being percent encoded. See https://tools.ietf.org/html/rfc3986#appendix-A - -## 5.0.1 - 2014-10-16 - -Bugfix release. - -* Fixed an issue where connection errors still returned response object in - error and end events event though the response is unusable. This has been - corrected so that a response is not returned in the `getResponse` method of - these events if the response did not complete. https://github.com/guzzle/guzzle/issues/867 -* Fixed an issue where transfer statistics were not being populated in the - RingBridge. https://github.com/guzzle/guzzle/issues/866 - -## 5.0.0 - 2014-10-12 - -Adding support for non-blocking responses and some minor API cleanup. - -### New Features - -* Added support for non-blocking responses based on `guzzlehttp/guzzle-ring`. -* Added a public API for creating a default HTTP adapter. -* Updated the redirect plugin to be non-blocking so that redirects are sent - concurrently. Other plugins like this can now be updated to be non-blocking. -* Added a "progress" event so that you can get upload and download progress - events. -* Added `GuzzleHttp\Pool` which implements FutureInterface and transfers - requests concurrently using a capped pool size as efficiently as possible. -* Added `hasListeners()` to EmitterInterface. -* Removed `GuzzleHttp\ClientInterface::sendAll` and marked - `GuzzleHttp\Client::sendAll` as deprecated (it's still there, just not the - recommended way). - -### Breaking changes - -The breaking changes in this release are relatively minor. The biggest thing to -look out for is that request and response objects no longer implement fluent -interfaces. - -* Removed the fluent interfaces (i.e., `return $this`) from requests, - responses, `GuzzleHttp\Collection`, `GuzzleHttp\Url`, - `GuzzleHttp\Query`, `GuzzleHttp\Post\PostBody`, and - `GuzzleHttp\Cookie\SetCookie`. This blog post provides a good outline of - why I did this: https://ocramius.github.io/blog/fluent-interfaces-are-evil/. - This also makes the Guzzle message interfaces compatible with the current - PSR-7 message proposal. -* Removed "functions.php", so that Guzzle is truly PSR-4 compliant. Except - for the HTTP request functions from function.php, these functions are now - implemented in `GuzzleHttp\Utils` using camelCase. `GuzzleHttp\json_decode` - moved to `GuzzleHttp\Utils::jsonDecode`. `GuzzleHttp\get_path` moved to - `GuzzleHttp\Utils::getPath`. `GuzzleHttp\set_path` moved to - `GuzzleHttp\Utils::setPath`. `GuzzleHttp\batch` should now be - `GuzzleHttp\Pool::batch`, which returns an `objectStorage`. Using functions.php - caused problems for many users: they aren't PSR-4 compliant, require an - explicit include, and needed an if-guard to ensure that the functions are not - declared multiple times. -* Rewrote adapter layer. - * Removing all classes from `GuzzleHttp\Adapter`, these are now - implemented as callables that are stored in `GuzzleHttp\Ring\Client`. - * Removed the concept of "parallel adapters". Sending requests serially or - concurrently is now handled using a single adapter. - * Moved `GuzzleHttp\Adapter\Transaction` to `GuzzleHttp\Transaction`. The - Transaction object now exposes the request, response, and client as public - properties. The getters and setters have been removed. -* Removed the "headers" event. This event was only useful for changing the - body a response once the headers of the response were known. You can implement - a similar behavior in a number of ways. One example might be to use a - FnStream that has access to the transaction being sent. For example, when the - first byte is written, you could check if the response headers match your - expectations, and if so, change the actual stream body that is being - written to. -* Removed the `asArray` parameter from - `GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header - value as an array, then use the newly added `getHeaderAsArray()` method of - `MessageInterface`. This change makes the Guzzle interfaces compatible with - the PSR-7 interfaces. -* `GuzzleHttp\Message\MessageFactory` no longer allows subclasses to add - custom request options using double-dispatch (this was an implementation - detail). Instead, you should now provide an associative array to the - constructor which is a mapping of the request option name mapping to a - function that applies the option value to a request. -* Removed the concept of "throwImmediately" from exceptions and error events. - This control mechanism was used to stop a transfer of concurrent requests - from completing. This can now be handled by throwing the exception or by - cancelling a pool of requests or each outstanding future request individually. -* Updated to "GuzzleHttp\Streams" 3.0. - * `GuzzleHttp\Stream\StreamInterface::getContents()` no longer accepts a - `maxLen` parameter. This update makes the Guzzle streams project - compatible with the current PSR-7 proposal. - * `GuzzleHttp\Stream\Stream::__construct`, - `GuzzleHttp\Stream\Stream::factory`, and - `GuzzleHttp\Stream\Utils::create` no longer accept a size in the second - argument. They now accept an associative array of options, including the - "size" key and "metadata" key which can be used to provide custom metadata. - -## 4.2.2 - 2014-09-08 - -* Fixed a memory leak in the CurlAdapter when reusing cURL handles. -* No longer using `request_fulluri` in stream adapter proxies. -* Relative redirects are now based on the last response, not the first response. - -## 4.2.1 - 2014-08-19 - -* Ensuring that the StreamAdapter does not always add a Content-Type header -* Adding automated github releases with a phar and zip - -## 4.2.0 - 2014-08-17 - -* Now merging in default options using a case-insensitive comparison. - Closes https://github.com/guzzle/guzzle/issues/767 -* Added the ability to automatically decode `Content-Encoding` response bodies - using the `decode_content` request option. This is set to `true` by default - to decode the response body if it comes over the wire with a - `Content-Encoding`. Set this value to `false` to disable decoding the - response content, and pass a string to provide a request `Accept-Encoding` - header and turn on automatic response decoding. This feature now allows you - to pass an `Accept-Encoding` header in the headers of a request but still - disable automatic response decoding. - Closes https://github.com/guzzle/guzzle/issues/764 -* Added the ability to throw an exception immediately when transferring - requests in parallel. Closes https://github.com/guzzle/guzzle/issues/760 -* Updating guzzlehttp/streams dependency to ~2.1 -* No longer utilizing the now deprecated namespaced methods from the stream - package. - -## 4.1.8 - 2014-08-14 - -* Fixed an issue in the CurlFactory that caused setting the `stream=false` - request option to throw an exception. - See: https://github.com/guzzle/guzzle/issues/769 -* TransactionIterator now calls rewind on the inner iterator. - See: https://github.com/guzzle/guzzle/pull/765 -* You can now set the `Content-Type` header to `multipart/form-data` - when creating POST requests to force multipart bodies. - See https://github.com/guzzle/guzzle/issues/768 - -## 4.1.7 - 2014-08-07 - -* Fixed an error in the HistoryPlugin that caused the same request and response - to be logged multiple times when an HTTP protocol error occurs. -* Ensuring that cURL does not add a default Content-Type when no Content-Type - has been supplied by the user. This prevents the adapter layer from modifying - the request that is sent over the wire after any listeners may have already - put the request in a desired state (e.g., signed the request). -* Throwing an exception when you attempt to send requests that have the - "stream" set to true in parallel using the MultiAdapter. -* Only calling curl_multi_select when there are active cURL handles. This was - previously changed and caused performance problems on some systems due to PHP - always selecting until the maximum select timeout. -* Fixed a bug where multipart/form-data POST fields were not correctly - aggregated (e.g., values with "&"). - -## 4.1.6 - 2014-08-03 - -* Added helper methods to make it easier to represent messages as strings, - including getting the start line and getting headers as a string. - -## 4.1.5 - 2014-08-02 - -* Automatically retrying cURL "Connection died, retrying a fresh connect" - errors when possible. -* cURL implementation cleanup -* Allowing multiple event subscriber listeners to be registered per event by - passing an array of arrays of listener configuration. - -## 4.1.4 - 2014-07-22 - -* Fixed a bug that caused multi-part POST requests with more than one field to - serialize incorrectly. -* Paths can now be set to "0" -* `ResponseInterface::xml` now accepts a `libxml_options` option and added a - missing default argument that was required when parsing XML response bodies. -* A `save_to` stream is now created lazily, which means that files are not - created on disk unless a request succeeds. - -## 4.1.3 - 2014-07-15 - -* Various fixes to multipart/form-data POST uploads -* Wrapping function.php in an if-statement to ensure Guzzle can be used - globally and in a Composer install -* Fixed an issue with generating and merging in events to an event array -* POST headers are only applied before sending a request to allow you to change - the query aggregator used before uploading -* Added much more robust query string parsing -* Fixed various parsing and normalization issues with URLs -* Fixing an issue where multi-valued headers were not being utilized correctly - in the StreamAdapter - -## 4.1.2 - 2014-06-18 - -* Added support for sending payloads with GET requests - -## 4.1.1 - 2014-06-08 - -* Fixed an issue related to using custom message factory options in subclasses -* Fixed an issue with nested form fields in a multi-part POST -* Fixed an issue with using the `json` request option for POST requests -* Added `ToArrayInterface` to `GuzzleHttp\Cookie\CookieJar` - -## 4.1.0 - 2014-05-27 - -* Added a `json` request option to easily serialize JSON payloads. -* Added a `GuzzleHttp\json_decode()` wrapper to safely parse JSON. -* Added `setPort()` and `getPort()` to `GuzzleHttp\Message\RequestInterface`. -* Added the ability to provide an emitter to a client in the client constructor. -* Added the ability to persist a cookie session using $_SESSION. -* Added a trait that can be used to add event listeners to an iterator. -* Removed request method constants from RequestInterface. -* Fixed warning when invalid request start-lines are received. -* Updated MessageFactory to work with custom request option methods. -* Updated cacert bundle to latest build. - -4.0.2 (2014-04-16) ------------------- - -* Proxy requests using the StreamAdapter now properly use request_fulluri (#632) -* Added the ability to set scalars as POST fields (#628) - -## 4.0.1 - 2014-04-04 - -* The HTTP status code of a response is now set as the exception code of - RequestException objects. -* 303 redirects will now correctly switch from POST to GET requests. -* The default parallel adapter of a client now correctly uses the MultiAdapter. -* HasDataTrait now initializes the internal data array as an empty array so - that the toArray() method always returns an array. - -## 4.0.0 - 2014-03-29 - -* For information on changes and upgrading, see: - https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#3x-to-40 -* Added `GuzzleHttp\batch()` as a convenience function for sending requests in - parallel without needing to write asynchronous code. -* Restructured how events are added to `GuzzleHttp\ClientInterface::sendAll()`. - You can now pass a callable or an array of associative arrays where each - associative array contains the "fn", "priority", and "once" keys. - -## 4.0.0.rc-2 - 2014-03-25 - -* Removed `getConfig()` and `setConfig()` from clients to avoid confusion - around whether things like base_url, message_factory, etc. should be able to - be retrieved or modified. -* Added `getDefaultOption()` and `setDefaultOption()` to ClientInterface -* functions.php functions were renamed using snake_case to match PHP idioms -* Added support for `HTTP_PROXY`, `HTTPS_PROXY`, and - `GUZZLE_CURL_SELECT_TIMEOUT` environment variables -* Added the ability to specify custom `sendAll()` event priorities -* Added the ability to specify custom stream context options to the stream - adapter. -* Added a functions.php function for `get_path()` and `set_path()` -* CurlAdapter and MultiAdapter now use a callable to generate curl resources -* MockAdapter now properly reads a body and emits a `headers` event -* Updated Url class to check if a scheme and host are set before adding ":" - and "//". This allows empty Url (e.g., "") to be serialized as "". -* Parsing invalid XML no longer emits warnings -* Curl classes now properly throw AdapterExceptions -* Various performance optimizations -* Streams are created with the faster `Stream\create()` function -* Marked deprecation_proxy() as internal -* Test server is now a collection of static methods on a class - -## 4.0.0-rc.1 - 2014-03-15 - -* See https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#3x-to-40 - -## 3.8.1 - 2014-01-28 - -* Bug: Always using GET requests when redirecting from a 303 response -* Bug: CURLOPT_SSL_VERIFYHOST is now correctly set to false when setting `$certificateAuthority` to false in - `Guzzle\Http\ClientInterface::setSslVerification()` -* Bug: RedirectPlugin now uses strict RFC 3986 compliance when combining a base URL with a relative URL -* Bug: The body of a request can now be set to `"0"` -* Sending PHP stream requests no longer forces `HTTP/1.0` -* Adding more information to ExceptionCollection exceptions so that users have more context, including a stack trace of - each sub-exception -* Updated the `$ref` attribute in service descriptions to merge over any existing parameters of a schema (rather than - clobbering everything). -* Merging URLs will now use the query string object from the relative URL (thus allowing custom query aggregators) -* Query strings are now parsed in a way that they do no convert empty keys with no value to have a dangling `=`. - For example `foo&bar=baz` is now correctly parsed and recognized as `foo&bar=baz` rather than `foo=&bar=baz`. -* Now properly escaping the regular expression delimiter when matching Cookie domains. -* Network access is now disabled when loading XML documents - -## 3.8.0 - 2013-12-05 - -* Added the ability to define a POST name for a file -* JSON response parsing now properly walks additionalProperties -* cURL error code 18 is now retried automatically in the BackoffPlugin -* Fixed a cURL error when URLs contain fragments -* Fixed an issue in the BackoffPlugin retry event where it was trying to access all exceptions as if they were - CurlExceptions -* CURLOPT_PROGRESS function fix for PHP 5.5 (69fcc1e) -* Added the ability for Guzzle to work with older versions of cURL that do not support `CURLOPT_TIMEOUT_MS` -* Fixed a bug that was encountered when parsing empty header parameters -* UriTemplate now has a `setRegex()` method to match the docs -* The `debug` request parameter now checks if it is truthy rather than if it exists -* Setting the `debug` request parameter to true shows verbose cURL output instead of using the LogPlugin -* Added the ability to combine URLs using strict RFC 3986 compliance -* Command objects can now return the validation errors encountered by the command -* Various fixes to cache revalidation (#437 and 29797e5) -* Various fixes to the AsyncPlugin -* Cleaned up build scripts - -## 3.7.4 - 2013-10-02 - -* Bug fix: 0 is now an allowed value in a description parameter that has a default value (#430) -* Bug fix: SchemaFormatter now returns an integer when formatting to a Unix timestamp - (see https://github.com/aws/aws-sdk-php/issues/147) -* Bug fix: Cleaned up and fixed URL dot segment removal to properly resolve internal dots -* Minimum PHP version is now properly specified as 5.3.3 (up from 5.3.2) (#420) -* Updated the bundled cacert.pem (#419) -* OauthPlugin now supports adding authentication to headers or query string (#425) - -## 3.7.3 - 2013-09-08 - -* Added the ability to get the exception associated with a request/command when using `MultiTransferException` and - `CommandTransferException`. -* Setting `additionalParameters` of a response to false is now honored when parsing responses with a service description -* Schemas are only injected into response models when explicitly configured. -* No longer guessing Content-Type based on the path of a request. Content-Type is now only guessed based on the path of - an EntityBody. -* Bug fix: ChunkedIterator can now properly chunk a \Traversable as well as an \Iterator. -* Bug fix: FilterIterator now relies on `\Iterator` instead of `\Traversable`. -* Bug fix: Gracefully handling malformed responses in RequestMediator::writeResponseBody() -* Bug fix: Replaced call to canCache with canCacheRequest in the CallbackCanCacheStrategy of the CachePlugin -* Bug fix: Visiting XML attributes first before visiting XML children when serializing requests -* Bug fix: Properly parsing headers that contain commas contained in quotes -* Bug fix: mimetype guessing based on a filename is now case-insensitive - -## 3.7.2 - 2013-08-02 - -* Bug fix: Properly URL encoding paths when using the PHP-only version of the UriTemplate expander - See https://github.com/guzzle/guzzle/issues/371 -* Bug fix: Cookie domains are now matched correctly according to RFC 6265 - See https://github.com/guzzle/guzzle/issues/377 -* Bug fix: GET parameters are now used when calculating an OAuth signature -* Bug fix: Fixed an issue with cache revalidation where the If-None-Match header was being double quoted -* `Guzzle\Common\AbstractHasDispatcher::dispatch()` now returns the event that was dispatched -* `Guzzle\Http\QueryString::factory()` now guesses the most appropriate query aggregator to used based on the input. - See https://github.com/guzzle/guzzle/issues/379 -* Added a way to add custom domain objects to service description parsing using the `operation.parse_class` event. See - https://github.com/guzzle/guzzle/pull/380 -* cURL multi cleanup and optimizations - -## 3.7.1 - 2013-07-05 - -* Bug fix: Setting default options on a client now works -* Bug fix: Setting options on HEAD requests now works. See #352 -* Bug fix: Moving stream factory before send event to before building the stream. See #353 -* Bug fix: Cookies no longer match on IP addresses per RFC 6265 -* Bug fix: Correctly parsing header parameters that are in `<>` and quotes -* Added `cert` and `ssl_key` as request options -* `Host` header can now diverge from the host part of a URL if the header is set manually -* `Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor` was rewritten to change from using SimpleXML to XMLWriter -* OAuth parameters are only added via the plugin if they aren't already set -* Exceptions are now thrown when a URL cannot be parsed -* Returning `false` if `Guzzle\Http\EntityBody::getContentMd5()` fails -* Not setting a `Content-MD5` on a command if calculating the Content-MD5 fails via the CommandContentMd5Plugin - -## 3.7.0 - 2013-06-10 - -* See UPGRADING.md for more information on how to upgrade. -* Requests now support the ability to specify an array of $options when creating a request to more easily modify a - request. You can pass a 'request.options' configuration setting to a client to apply default request options to - every request created by a client (e.g. default query string variables, headers, curl options, etc.). -* Added a static facade class that allows you to use Guzzle with static methods and mount the class to `\Guzzle`. - See `Guzzle\Http\StaticClient::mount`. -* Added `command.request_options` to `Guzzle\Service\Command\AbstractCommand` to pass request options to requests - created by a command (e.g. custom headers, query string variables, timeout settings, etc.). -* Stream size in `Guzzle\Stream\PhpStreamRequestFactory` will now be set if Content-Length is returned in the - headers of a response -* Added `Guzzle\Common\Collection::setPath($path, $value)` to set a value into an array using a nested key - (e.g. `$collection->setPath('foo/baz/bar', 'test'); echo $collection['foo']['bar']['bar'];`) -* ServiceBuilders now support storing and retrieving arbitrary data -* CachePlugin can now purge all resources for a given URI -* CachePlugin can automatically purge matching cached items when a non-idempotent request is sent to a resource -* CachePlugin now uses the Vary header to determine if a resource is a cache hit -* `Guzzle\Http\Message\Response` now implements `\Serializable` -* Added `Guzzle\Cache\CacheAdapterFactory::fromCache()` to more easily create cache adapters -* `Guzzle\Service\ClientInterface::execute()` now accepts an array, single command, or Traversable -* Fixed a bug in `Guzzle\Http\Message\Header\Link::addLink()` -* Better handling of calculating the size of a stream in `Guzzle\Stream\Stream` using fstat() and caching the size -* `Guzzle\Common\Exception\ExceptionCollection` now creates a more readable exception message -* Fixing BC break: Added back the MonologLogAdapter implementation rather than extending from PsrLog so that older - Symfony users can still use the old version of Monolog. -* Fixing BC break: Added the implementation back in for `Guzzle\Http\Message\AbstractMessage::getTokenizedHeader()`. - Now triggering an E_USER_DEPRECATED warning when used. Use `$message->getHeader()->parseParams()`. -* Several performance improvements to `Guzzle\Common\Collection` -* Added an `$options` argument to the end of the following methods of `Guzzle\Http\ClientInterface`: - createRequest, head, delete, put, patch, post, options, prepareRequest -* Added an `$options` argument to the end of `Guzzle\Http\Message\Request\RequestFactoryInterface::createRequest()` -* Added an `applyOptions()` method to `Guzzle\Http\Message\Request\RequestFactoryInterface` -* Changed `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $body = null)` to - `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $options = array())`. You can still pass in a - resource, string, or EntityBody into the $options parameter to specify the download location of the response. -* Changed `Guzzle\Common\Collection::__construct($data)` to no longer accepts a null value for `$data` but a - default `array()` -* Added `Guzzle\Stream\StreamInterface::isRepeatable` -* Removed `Guzzle\Http\ClientInterface::setDefaultHeaders(). Use - $client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. or - $client->getConfig()->setPath('request.options/headers', array('header_name' => 'value'))`. -* Removed `Guzzle\Http\ClientInterface::getDefaultHeaders(). Use $client->getConfig()->getPath('request.options/headers')`. -* Removed `Guzzle\Http\ClientInterface::expandTemplate()` -* Removed `Guzzle\Http\ClientInterface::setRequestFactory()` -* Removed `Guzzle\Http\ClientInterface::getCurlMulti()` -* Removed `Guzzle\Http\Message\RequestInterface::canCache` -* Removed `Guzzle\Http\Message\RequestInterface::setIsRedirect` -* Removed `Guzzle\Http\Message\RequestInterface::isRedirect` -* Made `Guzzle\Http\Client::expandTemplate` and `getUriTemplate` protected methods. -* You can now enable E_USER_DEPRECATED warnings to see if you are using a deprecated method by setting - `Guzzle\Common\Version::$emitWarnings` to true. -* Marked `Guzzle\Http\Message\Request::isResponseBodyRepeatable()` as deprecated. Use - `$request->getResponseBody()->isRepeatable()` instead. -* Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use - `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. -* Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use - `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. -* Marked `Guzzle\Http\Message\Request::setIsRedirect()` as deprecated. Use the HistoryPlugin instead. -* Marked `Guzzle\Http\Message\Request::isRedirect()` as deprecated. Use the HistoryPlugin instead. -* Marked `Guzzle\Cache\CacheAdapterFactory::factory()` as deprecated -* Marked 'command.headers', 'command.response_body' and 'command.on_complete' as deprecated for AbstractCommand. - These will work through Guzzle 4.0 -* Marked 'request.params' for `Guzzle\Http\Client` as deprecated. Use [request.options][params]. -* Marked `Guzzle\Service\Client::enableMagicMethods()` as deprecated. Magic methods can no longer be disabled on a Guzzle\Service\Client. -* Marked `Guzzle\Service\Client::getDefaultHeaders()` as deprecated. Use $client->getConfig()->getPath('request.options/headers')`. -* Marked `Guzzle\Service\Client::setDefaultHeaders()` as deprecated. Use $client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. -* Marked `Guzzle\Parser\Url\UrlParser` as deprecated. Just use PHP's `parse_url()` and percent encode your UTF-8. -* Marked `Guzzle\Common\Collection::inject()` as deprecated. -* Marked `Guzzle\Plugin\CurlAuth\CurlAuthPlugin` as deprecated. Use `$client->getConfig()->setPath('request.options/auth', array('user', 'pass', 'Basic|Digest');` -* CacheKeyProviderInterface and DefaultCacheKeyProvider are no longer used. All of this logic is handled in a - CacheStorageInterface. These two objects and interface will be removed in a future version. -* Always setting X-cache headers on cached responses -* Default cache TTLs are now handled by the CacheStorageInterface of a CachePlugin -* `CacheStorageInterface::cache($key, Response $response, $ttl = null)` has changed to `cache(RequestInterface - $request, Response $response);` -* `CacheStorageInterface::fetch($key)` has changed to `fetch(RequestInterface $request);` -* `CacheStorageInterface::delete($key)` has changed to `delete(RequestInterface $request);` -* Added `CacheStorageInterface::purge($url)` -* `DefaultRevalidation::__construct(CacheKeyProviderInterface $cacheKey, CacheStorageInterface $cache, CachePlugin - $plugin)` has changed to `DefaultRevalidation::__construct(CacheStorageInterface $cache, - CanCacheStrategyInterface $canCache = null)` -* Added `RevalidationInterface::shouldRevalidate(RequestInterface $request, Response $response)` - -## 3.6.0 - 2013-05-29 - -* ServiceDescription now implements ToArrayInterface -* Added command.hidden_params to blacklist certain headers from being treated as additionalParameters -* Guzzle can now correctly parse incomplete URLs -* Mixed casing of headers are now forced to be a single consistent casing across all values for that header. -* Messages internally use a HeaderCollection object to delegate handling case-insensitive header resolution -* Removed the whole changedHeader() function system of messages because all header changes now go through addHeader(). -* Specific header implementations can be created for complex headers. When a message creates a header, it uses a - HeaderFactory which can map specific headers to specific header classes. There is now a Link header and - CacheControl header implementation. -* Removed from interface: Guzzle\Http\ClientInterface::setUriTemplate -* Removed from interface: Guzzle\Http\ClientInterface::setCurlMulti() -* Removed Guzzle\Http\Message\Request::receivedRequestHeader() and implemented this functionality in - Guzzle\Http\Curl\RequestMediator -* Removed the optional $asString parameter from MessageInterface::getHeader(). Just cast the header to a string. -* Removed the optional $tryChunkedTransfer option from Guzzle\Http\Message\EntityEnclosingRequestInterface -* Removed the $asObjects argument from Guzzle\Http\Message\MessageInterface::getHeaders() -* Removed Guzzle\Parser\ParserRegister::get(). Use getParser() -* Removed Guzzle\Parser\ParserRegister::set(). Use registerParser(). -* All response header helper functions return a string rather than mixing Header objects and strings inconsistently -* Removed cURL blacklist support. This is no longer necessary now that Expect, Accept, etc. are managed by Guzzle - directly via interfaces -* Removed the injecting of a request object onto a response object. The methods to get and set a request still exist - but are a no-op until removed. -* Most classes that used to require a `Guzzle\Service\Command\CommandInterface` typehint now request a - `Guzzle\Service\Command\ArrayCommandInterface`. -* Added `Guzzle\Http\Message\RequestInterface::startResponse()` to the RequestInterface to handle injecting a response - on a request while the request is still being transferred -* The ability to case-insensitively search for header values -* Guzzle\Http\Message\Header::hasExactHeader -* Guzzle\Http\Message\Header::raw. Use getAll() -* Deprecated cache control specific methods on Guzzle\Http\Message\AbstractMessage. Use the CacheControl header object - instead. -* `Guzzle\Service\Command\CommandInterface` now extends from ToArrayInterface and ArrayAccess -* Added the ability to cast Model objects to a string to view debug information. - -## 3.5.0 - 2013-05-13 - -* Bug: Fixed a regression so that request responses are parsed only once per oncomplete event rather than multiple times -* Bug: Better cleanup of one-time events across the board (when an event is meant to fire once, it will now remove - itself from the EventDispatcher) -* Bug: `Guzzle\Log\MessageFormatter` now properly writes "total_time" and "connect_time" values -* Bug: Cloning an EntityEnclosingRequest now clones the EntityBody too -* Bug: Fixed an undefined index error when parsing nested JSON responses with a sentAs parameter that reference a - non-existent key -* Bug: All __call() method arguments are now required (helps with mocking frameworks) -* Deprecating Response::getRequest() and now using a shallow clone of a request object to remove a circular reference - to help with refcount based garbage collection of resources created by sending a request -* Deprecating ZF1 cache and log adapters. These will be removed in the next major version. -* Deprecating `Response::getPreviousResponse()` (method signature still exists, but it's deprecated). Use the - HistoryPlugin for a history. -* Added a `responseBody` alias for the `response_body` location -* Refactored internals to no longer rely on Response::getRequest() -* HistoryPlugin can now be cast to a string -* HistoryPlugin now logs transactions rather than requests and responses to more accurately keep track of the requests - and responses that are sent over the wire -* Added `getEffectiveUrl()` and `getRedirectCount()` to Response objects - -## 3.4.3 - 2013-04-30 - -* Bug fix: Fixing bug introduced in 3.4.2 where redirect responses are duplicated on the final redirected response -* Added a check to re-extract the temp cacert bundle from the phar before sending each request - -## 3.4.2 - 2013-04-29 - -* Bug fix: Stream objects now work correctly with "a" and "a+" modes -* Bug fix: Removing `Transfer-Encoding: chunked` header when a Content-Length is present -* Bug fix: AsyncPlugin no longer forces HEAD requests -* Bug fix: DateTime timezones are now properly handled when using the service description schema formatter -* Bug fix: CachePlugin now properly handles stale-if-error directives when a request to the origin server fails -* Setting a response on a request will write to the custom request body from the response body if one is specified -* LogPlugin now writes to php://output when STDERR is undefined -* Added the ability to set multiple POST files for the same key in a single call -* application/x-www-form-urlencoded POSTs now use the utf-8 charset by default -* Added the ability to queue CurlExceptions to the MockPlugin -* Cleaned up how manual responses are queued on requests (removed "queued_response" and now using request.before_send) -* Configuration loading now allows remote files - -## 3.4.1 - 2013-04-16 - -* Large refactoring to how CurlMulti handles work. There is now a proxy that sits in front of a pool of CurlMulti - handles. This greatly simplifies the implementation, fixes a couple bugs, and provides a small performance boost. -* Exceptions are now properly grouped when sending requests in parallel -* Redirects are now properly aggregated when a multi transaction fails -* Redirects now set the response on the original object even in the event of a failure -* Bug fix: Model names are now properly set even when using $refs -* Added support for PHP 5.5's CurlFile to prevent warnings with the deprecated @ syntax -* Added support for oauth_callback in OAuth signatures -* Added support for oauth_verifier in OAuth signatures -* Added support to attempt to retrieve a command first literally, then ucfirst, the with inflection - -## 3.4.0 - 2013-04-11 - -* Bug fix: URLs are now resolved correctly based on https://tools.ietf.org/html/rfc3986#section-5.2. #289 -* Bug fix: Absolute URLs with a path in a service description will now properly override the base URL. #289 -* Bug fix: Parsing a query string with a single PHP array value will now result in an array. #263 -* Bug fix: Better normalization of the User-Agent header to prevent duplicate headers. #264. -* Bug fix: Added `number` type to service descriptions. -* Bug fix: empty parameters are removed from an OAuth signature -* Bug fix: Revalidating a cache entry prefers the Last-Modified over the Date header -* Bug fix: Fixed "array to string" error when validating a union of types in a service description -* Bug fix: Removed code that attempted to determine the size of a stream when data is written to the stream -* Bug fix: Not including an `oauth_token` if the value is null in the OauthPlugin. -* Bug fix: Now correctly aggregating successful requests and failed requests in CurlMulti when a redirect occurs. -* The new default CURLOPT_TIMEOUT setting has been increased to 150 seconds so that Guzzle works on poor connections. -* Added a feature to EntityEnclosingRequest::setBody() that will automatically set the Content-Type of the request if - the Content-Type can be determined based on the entity body or the path of the request. -* Added the ability to overwrite configuration settings in a client when grabbing a throwaway client from a builder. -* Added support for a PSR-3 LogAdapter. -* Added a `command.after_prepare` event -* Added `oauth_callback` parameter to the OauthPlugin -* Added the ability to create a custom stream class when using a stream factory -* Added a CachingEntityBody decorator -* Added support for `additionalParameters` in service descriptions to define how custom parameters are serialized. -* The bundled SSL certificate is now provided in the phar file and extracted when running Guzzle from a phar. -* You can now send any EntityEnclosingRequest with POST fields or POST files and cURL will handle creating bodies -* POST requests using a custom entity body are now treated exactly like PUT requests but with a custom cURL method. This - means that the redirect behavior of POST requests with custom bodies will not be the same as POST requests that use - POST fields or files (the latter is only used when emulating a form POST in the browser). -* Lots of cleanup to CurlHandle::factory and RequestFactory::createRequest - -## 3.3.1 - 2013-03-10 - -* Added the ability to create PHP streaming responses from HTTP requests -* Bug fix: Running any filters when parsing response headers with service descriptions -* Bug fix: OauthPlugin fixes to allow for multi-dimensional array signing, and sorting parameters before signing -* Bug fix: Removed the adding of default empty arrays and false Booleans to responses in order to be consistent across - response location visitors. -* Bug fix: Removed the possibility of creating configuration files with circular dependencies -* RequestFactory::create() now uses the key of a POST file when setting the POST file name -* Added xmlAllowEmpty to serialize an XML body even if no XML specific parameters are set - -## 3.3.0 - 2013-03-03 - -* A large number of performance optimizations have been made -* Bug fix: Added 'wb' as a valid write mode for streams -* Bug fix: `Guzzle\Http\Message\Response::json()` now allows scalar values to be returned -* Bug fix: Fixed bug in `Guzzle\Http\Message\Response` where wrapping quotes were stripped from `getEtag()` -* BC: Removed `Guzzle\Http\Utils` class -* BC: Setting a service description on a client will no longer modify the client's command factories. -* BC: Emitting IO events from a RequestMediator is now a parameter that must be set in a request's curl options using - the 'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io' -* BC: `Guzzle\Stream\Stream::getWrapper()` and `Guzzle\Stream\Stream::getSteamType()` are no longer converted to - lowercase -* Operation parameter objects are now lazy loaded internally -* Added ErrorResponsePlugin that can throw errors for responses defined in service description operations' errorResponses -* Added support for instantiating responseType=class responseClass classes. Classes must implement - `Guzzle\Service\Command\ResponseClassInterface` -* Added support for additionalProperties for top-level parameters in responseType=model responseClasses. These - additional properties also support locations and can be used to parse JSON responses where the outermost part of the - JSON is an array -* Added support for nested renaming of JSON models (rename sentAs to name) -* CachePlugin - * Added support for stale-if-error so that the CachePlugin can now serve stale content from the cache on error - * Debug headers can now added to cached response in the CachePlugin - -## 3.2.0 - 2013-02-14 - -* CurlMulti is no longer reused globally. A new multi object is created per-client. This helps to isolate clients. -* URLs with no path no longer contain a "/" by default -* Guzzle\Http\QueryString does no longer manages the leading "?". This is now handled in Guzzle\Http\Url. -* BadResponseException no longer includes the full request and response message -* Adding setData() to Guzzle\Service\Description\ServiceDescriptionInterface -* Adding getResponseBody() to Guzzle\Http\Message\RequestInterface -* Various updates to classes to use ServiceDescriptionInterface type hints rather than ServiceDescription -* Header values can now be normalized into distinct values when multiple headers are combined with a comma separated list -* xmlEncoding can now be customized for the XML declaration of a XML service description operation -* Guzzle\Http\QueryString now uses Guzzle\Http\QueryAggregator\QueryAggregatorInterface objects to add custom value - aggregation and no longer uses callbacks -* The URL encoding implementation of Guzzle\Http\QueryString can now be customized -* Bug fix: Filters were not always invoked for array service description parameters -* Bug fix: Redirects now use a target response body rather than a temporary response body -* Bug fix: The default exponential backoff BackoffPlugin was not giving when the request threshold was exceeded -* Bug fix: Guzzle now takes the first found value when grabbing Cache-Control directives - -## 3.1.2 - 2013-01-27 - -* Refactored how operation responses are parsed. Visitors now include a before() method responsible for parsing the - response body. For example, the XmlVisitor now parses the XML response into an array in the before() method. -* Fixed an issue where cURL would not automatically decompress responses when the Accept-Encoding header was sent -* CURLOPT_SSL_VERIFYHOST is never set to 1 because it is deprecated (see 5e0ff2ef20f839e19d1eeb298f90ba3598784444) -* Fixed a bug where redirect responses were not chained correctly using getPreviousResponse() -* Setting default headers on a client after setting the user-agent will not erase the user-agent setting - -## 3.1.1 - 2013-01-20 - -* Adding wildcard support to Guzzle\Common\Collection::getPath() -* Adding alias support to ServiceBuilder configs -* Adding Guzzle\Service\Resource\CompositeResourceIteratorFactory and cleaning up factory interface - -## 3.1.0 - 2013-01-12 - -* BC: CurlException now extends from RequestException rather than BadResponseException -* BC: Renamed Guzzle\Plugin\Cache\CanCacheStrategyInterface::canCache() to canCacheRequest() and added CanCacheResponse() -* Added getData to ServiceDescriptionInterface -* Added context array to RequestInterface::setState() -* Bug: Removing hard dependency on the BackoffPlugin from Guzzle\Http -* Bug: Adding required content-type when JSON request visitor adds JSON to a command -* Bug: Fixing the serialization of a service description with custom data -* Made it easier to deal with exceptions thrown when transferring commands or requests in parallel by providing - an array of successful and failed responses -* Moved getPath from Guzzle\Service\Resource\Model to Guzzle\Common\Collection -* Added Guzzle\Http\IoEmittingEntityBody -* Moved command filtration from validators to location visitors -* Added `extends` attributes to service description parameters -* Added getModels to ServiceDescriptionInterface - -## 3.0.7 - 2012-12-19 - -* Fixing phar detection when forcing a cacert to system if null or true -* Allowing filename to be passed to `Guzzle\Http\Message\Request::setResponseBody()` -* Cleaning up `Guzzle\Common\Collection::inject` method -* Adding a response_body location to service descriptions - -## 3.0.6 - 2012-12-09 - -* CurlMulti performance improvements -* Adding setErrorResponses() to Operation -* composer.json tweaks - -## 3.0.5 - 2012-11-18 - -* Bug: Fixing an infinite recursion bug caused from revalidating with the CachePlugin -* Bug: Response body can now be a string containing "0" -* Bug: Using Guzzle inside of a phar uses system by default but now allows for a custom cacert -* Bug: QueryString::fromString now properly parses query string parameters that contain equal signs -* Added support for XML attributes in service description responses -* DefaultRequestSerializer now supports array URI parameter values for URI template expansion -* Added better mimetype guessing to requests and post files - -## 3.0.4 - 2012-11-11 - -* Bug: Fixed a bug when adding multiple cookies to a request to use the correct glue value -* Bug: Cookies can now be added that have a name, domain, or value set to "0" -* Bug: Using the system cacert bundle when using the Phar -* Added json and xml methods to Response to make it easier to parse JSON and XML response data into data structures -* Enhanced cookie jar de-duplication -* Added the ability to enable strict cookie jars that throw exceptions when invalid cookies are added -* Added setStream to StreamInterface to actually make it possible to implement custom rewind behavior for entity bodies -* Added the ability to create any sort of hash for a stream rather than just an MD5 hash - -## 3.0.3 - 2012-11-04 - -* Implementing redirects in PHP rather than cURL -* Added PECL URI template extension and using as default parser if available -* Bug: Fixed Content-Length parsing of Response factory -* Adding rewind() method to entity bodies and streams. Allows for custom rewinding of non-repeatable streams. -* Adding ToArrayInterface throughout library -* Fixing OauthPlugin to create unique nonce values per request - -## 3.0.2 - 2012-10-25 - -* Magic methods are enabled by default on clients -* Magic methods return the result of a command -* Service clients no longer require a base_url option in the factory -* Bug: Fixed an issue with URI templates where null template variables were being expanded - -## 3.0.1 - 2012-10-22 - -* Models can now be used like regular collection objects by calling filter, map, etc. -* Models no longer require a Parameter structure or initial data in the constructor -* Added a custom AppendIterator to get around a PHP bug with the `\AppendIterator` - -## 3.0.0 - 2012-10-15 - -* Rewrote service description format to be based on Swagger - * Now based on JSON schema - * Added nested input structures and nested response models - * Support for JSON and XML input and output models - * Renamed `commands` to `operations` - * Removed dot class notation - * Removed custom types -* Broke the project into smaller top-level namespaces to be more component friendly -* Removed support for XML configs and descriptions. Use arrays or JSON files. -* Removed the Validation component and Inspector -* Moved all cookie code to Guzzle\Plugin\Cookie -* Magic methods on a Guzzle\Service\Client now return the command un-executed. -* Calling getResult() or getResponse() on a command will lazily execute the command if needed. -* Now shipping with cURL's CA certs and using it by default -* Added previousResponse() method to response objects -* No longer sending Accept and Accept-Encoding headers on every request -* Only sending an Expect header by default when a payload is greater than 1MB -* Added/moved client options: - * curl.blacklist to curl.option.blacklist - * Added ssl.certificate_authority -* Added a Guzzle\Iterator component -* Moved plugins from Guzzle\Http\Plugin to Guzzle\Plugin -* Added a more robust backoff retry strategy (replaced the ExponentialBackoffPlugin) -* Added a more robust caching plugin -* Added setBody to response objects -* Updating LogPlugin to use a more flexible MessageFormatter -* Added a completely revamped build process -* Cleaning up Collection class and removing default values from the get method -* Fixed ZF2 cache adapters - -## 2.8.8 - 2012-10-15 - -* Bug: Fixed a cookie issue that caused dot prefixed domains to not match where popular browsers did - -## 2.8.7 - 2012-09-30 - -* Bug: Fixed config file aliases for JSON includes -* Bug: Fixed cookie bug on a request object by using CookieParser to parse cookies on requests -* Bug: Removing the path to a file when sending a Content-Disposition header on a POST upload -* Bug: Hardening request and response parsing to account for missing parts -* Bug: Fixed PEAR packaging -* Bug: Fixed Request::getInfo -* Bug: Fixed cases where CURLM_CALL_MULTI_PERFORM return codes were causing curl transactions to fail -* Adding the ability for the namespace Iterator factory to look in multiple directories -* Added more getters/setters/removers from service descriptions -* Added the ability to remove POST fields from OAuth signatures -* OAuth plugin now supports 2-legged OAuth - -## 2.8.6 - 2012-09-05 - -* Added the ability to modify and build service descriptions -* Added the use of visitors to apply parameters to locations in service descriptions using the dynamic command -* Added a `json` parameter location -* Now allowing dot notation for classes in the CacheAdapterFactory -* Using the union of two arrays rather than an array_merge when extending service builder services and service params -* Ensuring that a service is a string before doing strpos() checks on it when substituting services for references - in service builder config files. -* Services defined in two different config files that include one another will by default replace the previously - defined service, but you can now create services that extend themselves and merge their settings over the previous -* The JsonLoader now supports aliasing filenames with different filenames. This allows you to alias something like - '_default' with a default JSON configuration file. - -## 2.8.5 - 2012-08-29 - -* Bug: Suppressed empty arrays from URI templates -* Bug: Added the missing $options argument from ServiceDescription::factory to enable caching -* Added support for HTTP responses that do not contain a reason phrase in the start-line -* AbstractCommand commands are now invokable -* Added a way to get the data used when signing an Oauth request before a request is sent - -## 2.8.4 - 2012-08-15 - -* Bug: Custom delay time calculations are no longer ignored in the ExponentialBackoffPlugin -* Added the ability to transfer entity bodies as a string rather than streamed. This gets around curl error 65. Set `body_as_string` in a request's curl options to enable. -* Added a StreamInterface, EntityBodyInterface, and added ftell() to Guzzle\Common\Stream -* Added an AbstractEntityBodyDecorator and a ReadLimitEntityBody decorator to transfer only a subset of a decorated stream -* Stream and EntityBody objects will now return the file position to the previous position after a read required operation (e.g. getContentMd5()) -* Added additional response status codes -* Removed SSL information from the default User-Agent header -* DELETE requests can now send an entity body -* Added an EventDispatcher to the ExponentialBackoffPlugin and added an ExponentialBackoffLogger to log backoff retries -* Added the ability of the MockPlugin to consume mocked request bodies -* LogPlugin now exposes request and response objects in the extras array - -## 2.8.3 - 2012-07-30 - -* Bug: Fixed a case where empty POST requests were sent as GET requests -* Bug: Fixed a bug in ExponentialBackoffPlugin that caused fatal errors when retrying an EntityEnclosingRequest that does not have a body -* Bug: Setting the response body of a request to null after completing a request, not when setting the state of a request to new -* Added multiple inheritance to service description commands -* Added an ApiCommandInterface and added `getParamNames()` and `hasParam()` -* Removed the default 2mb size cutoff from the Md5ValidatorPlugin so that it now defaults to validating everything -* Changed CurlMulti::perform to pass a smaller timeout to CurlMulti::executeHandles - -## 2.8.2 - 2012-07-24 - -* Bug: Query string values set to 0 are no longer dropped from the query string -* Bug: A Collection object is no longer created each time a call is made to `Guzzle\Service\Command\AbstractCommand::getRequestHeaders()` -* Bug: `+` is now treated as an encoded space when parsing query strings -* QueryString and Collection performance improvements -* Allowing dot notation for class paths in filters attribute of a service descriptions - -## 2.8.1 - 2012-07-16 - -* Loosening Event Dispatcher dependency -* POST redirects can now be customized using CURLOPT_POSTREDIR - -## 2.8.0 - 2012-07-15 - -* BC: Guzzle\Http\Query - * Query strings with empty variables will always show an equal sign unless the variable is set to QueryString::BLANK (e.g. ?acl= vs ?acl) - * Changed isEncodingValues() and isEncodingFields() to isUrlEncoding() - * Changed setEncodeValues(bool) and setEncodeFields(bool) to useUrlEncoding(bool) - * Changed the aggregation functions of QueryString to be static methods - * Can now use fromString() with querystrings that have a leading ? -* cURL configuration values can be specified in service descriptions using `curl.` prefixed parameters -* Content-Length is set to 0 before emitting the request.before_send event when sending an empty request body -* Cookies are no longer URL decoded by default -* Bug: URI template variables set to null are no longer expanded - -## 2.7.2 - 2012-07-02 - -* BC: Moving things to get ready for subtree splits. Moving Inflection into Common. Moving Guzzle\Http\Parser to Guzzle\Parser. -* BC: Removing Guzzle\Common\Batch\Batch::count() and replacing it with isEmpty() -* CachePlugin now allows for a custom request parameter function to check if a request can be cached -* Bug fix: CachePlugin now only caches GET and HEAD requests by default -* Bug fix: Using header glue when transferring headers over the wire -* Allowing deeply nested arrays for composite variables in URI templates -* Batch divisors can now return iterators or arrays - -## 2.7.1 - 2012-06-26 - -* Minor patch to update version number in UA string -* Updating build process - -## 2.7.0 - 2012-06-25 - -* BC: Inflection classes moved to Guzzle\Inflection. No longer static methods. Can now inject custom inflectors into classes. -* BC: Removed magic setX methods from commands -* BC: Magic methods mapped to service description commands are now inflected in the command factory rather than the client __call() method -* Verbose cURL options are no longer enabled by default. Set curl.debug to true on a client to enable. -* Bug: Now allowing colons in a response start-line (e.g. HTTP/1.1 503 Service Unavailable: Back-end server is at capacity) -* Guzzle\Service\Resource\ResourceIteratorApplyBatched now internally uses the Guzzle\Common\Batch namespace -* Added Guzzle\Service\Plugin namespace and a PluginCollectionPlugin -* Added the ability to set POST fields and files in a service description -* Guzzle\Http\EntityBody::factory() now accepts objects with a __toString() method -* Adding a command.before_prepare event to clients -* Added BatchClosureTransfer and BatchClosureDivisor -* BatchTransferException now includes references to the batch divisor and transfer strategies -* Fixed some tests so that they pass more reliably -* Added Guzzle\Common\Log\ArrayLogAdapter - -## 2.6.6 - 2012-06-10 - -* BC: Removing Guzzle\Http\Plugin\BatchQueuePlugin -* BC: Removing Guzzle\Service\Command\CommandSet -* Adding generic batching system (replaces the batch queue plugin and command set) -* Updating ZF cache and log adapters and now using ZF's composer repository -* Bug: Setting the name of each ApiParam when creating through an ApiCommand -* Adding result_type, result_doc, deprecated, and doc_url to service descriptions -* Bug: Changed the default cookie header casing back to 'Cookie' - -## 2.6.5 - 2012-06-03 - -* BC: Renaming Guzzle\Http\Message\RequestInterface::getResourceUri() to getResource() -* BC: Removing unused AUTH_BASIC and AUTH_DIGEST constants from -* BC: Guzzle\Http\Cookie is now used to manage Set-Cookie data, not Cookie data -* BC: Renaming methods in the CookieJarInterface -* Moving almost all cookie logic out of the CookiePlugin and into the Cookie or CookieJar implementations -* Making the default glue for HTTP headers ';' instead of ',' -* Adding a removeValue to Guzzle\Http\Message\Header -* Adding getCookies() to request interface. -* Making it easier to add event subscribers to HasDispatcherInterface classes. Can now directly call addSubscriber() - -## 2.6.4 - 2012-05-30 - -* BC: Cleaning up how POST files are stored in EntityEnclosingRequest objects. Adding PostFile class. -* BC: Moving ApiCommand specific functionality from the Inspector and on to the ApiCommand -* Bug: Fixing magic method command calls on clients -* Bug: Email constraint only validates strings -* Bug: Aggregate POST fields when POST files are present in curl handle -* Bug: Fixing default User-Agent header -* Bug: Only appending or prepending parameters in commands if they are specified -* Bug: Not requiring response reason phrases or status codes to match a predefined list of codes -* Allowing the use of dot notation for class namespaces when using instance_of constraint -* Added any_match validation constraint -* Added an AsyncPlugin -* Passing request object to the calculateWait method of the ExponentialBackoffPlugin -* Allowing the result of a command object to be changed -* Parsing location and type sub values when instantiating a service description rather than over and over at runtime - -## 2.6.3 - 2012-05-23 - -* [BC] Guzzle\Common\FromConfigInterface no longer requires any config options. -* [BC] Refactoring how POST files are stored on an EntityEnclosingRequest. They are now separate from POST fields. -* You can now use an array of data when creating PUT request bodies in the request factory. -* Removing the requirement that HTTPS requests needed a Cache-Control: public directive to be cacheable. -* [Http] Adding support for Content-Type in multipart POST uploads per upload -* [Http] Added support for uploading multiple files using the same name (foo[0], foo[1]) -* Adding more POST data operations for easier manipulation of POST data. -* You can now set empty POST fields. -* The body of a request is only shown on EntityEnclosingRequest objects that do not use POST files. -* Split the Guzzle\Service\Inspector::validateConfig method into two methods. One to initialize when a command is created, and one to validate. -* CS updates - -## 2.6.2 - 2012-05-19 - -* [Http] Better handling of nested scope requests in CurlMulti. Requests are now always prepares in the send() method rather than the addRequest() method. - -## 2.6.1 - 2012-05-19 - -* [BC] Removing 'path' support in service descriptions. Use 'uri'. -* [BC] Guzzle\Service\Inspector::parseDocBlock is now protected. Adding getApiParamsForClass() with cache. -* [BC] Removing Guzzle\Common\NullObject. Use https://github.com/mtdowling/NullObject if you need it. -* [BC] Removing Guzzle\Common\XmlElement. -* All commands, both dynamic and concrete, have ApiCommand objects. -* Adding a fix for CurlMulti so that if all of the connections encounter some sort of curl error, then the loop exits. -* Adding checks to EntityEnclosingRequest so that empty POST files and fields are ignored. -* Making the method signature of Guzzle\Service\Builder\ServiceBuilder::factory more flexible. - -## 2.6.0 - 2012-05-15 - -* [BC] Moving Guzzle\Service\Builder to Guzzle\Service\Builder\ServiceBuilder -* [BC] Executing a Command returns the result of the command rather than the command -* [BC] Moving all HTTP parsing logic to Guzzle\Http\Parsers. Allows for faster C implementations if needed. -* [BC] Changing the Guzzle\Http\Message\Response::setProtocol() method to accept a protocol and version in separate args. -* [BC] Moving ResourceIterator* to Guzzle\Service\Resource -* [BC] Completely refactored ResourceIterators to iterate over a cloned command object -* [BC] Moved Guzzle\Http\UriTemplate to Guzzle\Http\Parser\UriTemplate\UriTemplate -* [BC] Guzzle\Guzzle is now deprecated -* Moving Guzzle\Common\Guzzle::inject to Guzzle\Common\Collection::inject -* Adding Guzzle\Version class to give version information about Guzzle -* Adding Guzzle\Http\Utils class to provide getDefaultUserAgent() and getHttpDate() -* Adding Guzzle\Curl\CurlVersion to manage caching curl_version() data -* ServiceDescription and ServiceBuilder are now cacheable using similar configs -* Changing the format of XML and JSON service builder configs. Backwards compatible. -* Cleaned up Cookie parsing -* Trimming the default Guzzle User-Agent header -* Adding a setOnComplete() method to Commands that is called when a command completes -* Keeping track of requests that were mocked in the MockPlugin -* Fixed a caching bug in the CacheAdapterFactory -* Inspector objects can be injected into a Command object -* Refactoring a lot of code and tests to be case insensitive when dealing with headers -* Adding Guzzle\Http\Message\HeaderComparison for easy comparison of HTTP headers using a DSL -* Adding the ability to set global option overrides to service builder configs -* Adding the ability to include other service builder config files from within XML and JSON files -* Moving the parseQuery method out of Url and on to QueryString::fromString() as a static factory method. - -## 2.5.0 - 2012-05-08 - -* Major performance improvements -* [BC] Simplifying Guzzle\Common\Collection. Please check to see if you are using features that are now deprecated. -* [BC] Using a custom validation system that allows a flyweight implementation for much faster validation. No longer using Symfony2 Validation component. -* [BC] No longer supporting "{{ }}" for injecting into command or UriTemplates. Use "{}" -* Added the ability to passed parameters to all requests created by a client -* Added callback functionality to the ExponentialBackoffPlugin -* Using microtime in ExponentialBackoffPlugin to allow more granular backoff strategies. -* Rewinding request stream bodies when retrying requests -* Exception is thrown when JSON response body cannot be decoded -* Added configurable magic method calls to clients and commands. This is off by default. -* Fixed a defect that added a hash to every parsed URL part -* Fixed duplicate none generation for OauthPlugin. -* Emitting an event each time a client is generated by a ServiceBuilder -* Using an ApiParams object instead of a Collection for parameters of an ApiCommand -* cache.* request parameters should be renamed to params.cache.* -* Added the ability to set arbitrary curl options on requests (disable_wire, progress, etc.). See CurlHandle. -* Added the ability to disable type validation of service descriptions -* ServiceDescriptions and ServiceBuilders are now Serializable diff --git a/includes/vendor/guzzlehttp/guzzle/LICENSE b/includes/vendor/guzzlehttp/guzzle/LICENSE deleted file mode 100644 index fd2375d8..00000000 --- a/includes/vendor/guzzlehttp/guzzle/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2011 Michael Dowling
Class | -Coverage | -
---|
Class | -CRAP | -
---|
Method | -Coverage | -
---|
Method | -CRAP | -
---|
- | Code Coverage |
- ||||||||
- | Lines |
- Functions and Methods |
- Classes and Traits |
-
- | Code Coverage |
- ||||||||||||||
- | Lines |
- Branches |
- Paths |
- Functions and Methods |
- Classes and Traits |
-
- | Code Coverage |
- |||||||||
- | Lines |
- Functions and Methods |
- Classes and Traits |
-
- | Code Coverage |
- |||||||||||||||
- | Lines |
- Branches |
- Paths |
- Functions and Methods |
- Classes and Traits |
-
0)for(u=-1;++u
- Below are the source code lines that represent each code path as identified by Xdebug. Please note a path is not
- necessarily coterminous with a line, a line may contain multiple paths and therefore show up more than once.
- Please also be aware that some paths may include implicit rather than explicit branches, e.g. an ","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n"," ").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return B(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=_e(v.pixelPosition,function(e,t){if(t)return t=Be(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0
"}),b},a.models.candlestickBarChart=function(){var b=a.models.historicalBarChart(a.models.candlestickBar());return b.useInteractiveGuideline(!0),b.interactiveLayer.tooltip.contentGenerator(function(a){var c=a.series[0].data,d=c.openopen: "+b.yAxis.tickFormat()(c.open)+" close: "+b.yAxis.tickFormat()(c.close)+" high "+b.yAxis.tickFormat()(c.high)+" low: "+b.yAxis.tickFormat()(c.low)+"
"}),b},a.models.legend=function(){"use strict";function b(p){function q(a,b){return"furious"!=o?"#000":m?a.disengaged?"#000":"#fff":m?void 0:(a.color||(a.color=g(a,b)),a.disabled?a.color:"#fff")}function r(a,b){return m&&"furious"==o&&a.disengaged?"#eee":a.color||g(a,b)}function s(a){return m&&"furious"==o?1:a.disabled?0:1}return p.each(function(b){var g=d-c.left-c.right,p=d3.select(this);a.utils.initSVG(p);var t=p.selectAll("g.nv-legend").data([b]),u=t.enter().append("g").attr("class","nvd3 nv-legend").append("g"),v=t.select("g");t.attr("transform","translate("+c.left+","+c.top+")");var w,x,y=v.selectAll(".nv-series").data(function(a){return"furious"!=o?a:a.filter(function(a){return m?!0:!a.disengaged})}),z=y.enter().append("g").attr("class","nv-series");switch(o){case"furious":x=23;break;case"classic":x=20}if("classic"==o)z.append("circle").style("stroke-width",2).attr("class","nv-legend-symbol").attr("r",5),w=y.select("circle");else if("furious"==o){z.append("rect").style("stroke-width",2).attr("class","nv-legend-symbol").attr("rx",3).attr("ry",3),w=y.select(".nv-legend-symbol"),z.append("g").attr("class","nv-check-box").property("innerHTML",'open: "+b.yAxis.tickFormat()(c.open)+" close: "+b.yAxis.tickFormat()(c.close)+" high "+b.yAxis.tickFormat()(c.high)+" low: "+b.yAxis.tickFormat()(c.low)+" s[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,w=t(e.instance.popper),y=parseFloat(w['margin'+f]),E=parseFloat(w['border'+f+'Width']),v=b-e.offsets.popper[m]-y-E;return v=ee(Q(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},ae(n,m,$(v)),ae(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case ce.FLIP:p=[n,i];break;case ce.CLOCKWISE:p=G(n);break;case ce.COUNTERCLOCKWISE:p=G(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)
diff --git a/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/lines.html.dist b/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/lines.html.dist
deleted file mode 100644
index add40e4e..00000000
--- a/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/lines.html.dist
+++ /dev/null
@@ -1,5 +0,0 @@
-{{lineNumber}} {{lineContent}}
-
-{{lines}}
-
-
diff --git a/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/method_item.html.dist b/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/method_item.html.dist
deleted file mode 100644
index 2311d456..00000000
--- a/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/method_item.html.dist
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
diff --git a/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/method_item_branch.html.dist b/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/method_item_branch.html.dist
deleted file mode 100644
index 36d6cb74..00000000
--- a/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/method_item_branch.html.dist
+++ /dev/null
@@ -1,18 +0,0 @@
- {{name}}
- {{lines_bar}}
-
-
- {{methods_bar}}
-
-
- {{crap}}
-
-
-
-
diff --git a/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/paths.html.dist b/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/paths.html.dist
deleted file mode 100644
index d14b8ad9..00000000
--- a/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/paths.html.dist
+++ /dev/null
@@ -1,9 +0,0 @@
-{{name}}
- {{lines_bar}}
-
-
- {{branches_bar}}
-
-
- {{paths_bar}}
-
-
- {{methods_bar}}
-
-
- {{crap}}
-
-
-Paths
-if
statement
- always has an else
as part of its logical flow even if you didn't write one.
-current
- 🇺🇦 UKRAINE NEEDS YOUR HELP NOW!
-
-# PHPUnit
-
-PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
-
-[![Latest Stable Version](https://img.shields.io/packagist/v/phpunit/phpunit.svg?style=flat-square)](https://packagist.org/packages/phpunit/phpunit)
-[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.3-8892BF.svg?style=flat-square)](https://php.net/)
-[![CI Status](https://github.com/sebastianbergmann/phpunit/workflows/CI/badge.svg?branch=9.5&event=push)](https://phpunit.de/build-status.html)
-[![Type Coverage](https://shepherd.dev/github/sebastianbergmann/phpunit/coverage.svg)](https://shepherd.dev/github/sebastianbergmann/phpunit)
-
-## Installation
-
-We distribute a [PHP Archive (PHAR)](https://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file:
-
-```bash
-$ wget https://phar.phpunit.de/phpunit-X.Y.phar
-
-$ php phpunit-X.Y.phar --version
-```
-
-Please replace `X.Y` with the version of PHPUnit you are interested in.
-
-Alternatively, you may use [Composer](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the "[Getting Started](https://phpunit.de/getting-started-with-phpunit.html)" guide for details on how to install PHPUnit.
-
-## Contribute
-
-Please refer to [CONTRIBUTING.md](https://github.com/sebastianbergmann/phpunit/blob/master/.github/CONTRIBUTING.md) for information on how to contribute to PHPUnit and its related projects.
-
-## List of Contributors
-
-Thanks to everyone who has contributed to PHPUnit! You can find a detailed list of contributors on every PHPUnit related package on GitHub. This list shows only the major components:
-
-* [PHPUnit](https://github.com/sebastianbergmann/phpunit/graphs/contributors)
-* [php-code-coverage](https://github.com/sebastianbergmann/php-code-coverage/graphs/contributors)
-
-A very special thanks to everyone who has contributed to the documentation and helps maintain the translations:
-
-* [English](https://github.com/sebastianbergmann/phpunit-documentation-english/graphs/contributors)
-* [Spanish](https://github.com/sebastianbergmann/phpunit-documentation-spanish/graphs/contributors)
-* [French](https://github.com/sebastianbergmann/phpunit-documentation-french/graphs/contributors)
-* [Japanese](https://github.com/sebastianbergmann/phpunit-documentation-japanese/graphs/contributors)
-* [Brazilian Portuguese](https://github.com/sebastianbergmann/phpunit-documentation-brazilian-portuguese/graphs/contributors)
-* [Simplified Chinese](https://github.com/sebastianbergmann/phpunit-documentation-chinese/graphs/contributors)
-
diff --git a/vendor/phpunit/phpunit/SECURITY.md b/vendor/phpunit/phpunit/SECURITY.md
deleted file mode 100644
index dcc15385..00000000
--- a/vendor/phpunit/phpunit/SECURITY.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Security Policy
-
-PHPUnit is a framework for writing as well as a commandline tool for running tests. Writing and running tests is a development-time activity. There is no reason why PHPUnit should be installed on a webserver.
-
-**If you upload PHPUnit to a webserver then your deployment process is broken. On a more general note, if your `vendor` directory is publicly accessible on your webserver then your deployment process is also broken.**
-
-Please note that if you upload PHPUnit to a webserver "bad things" may happen. [You have been warned.](https://thephp.cc/articles/phpunit-a-security-risk)
-
-## Security Contact Information
-
-After the above, if you still would like to report a security vulnerability, please email `sebastian@phpunit.de`.
diff --git a/vendor/phpunit/phpunit/composer.json b/vendor/phpunit/phpunit/composer.json
deleted file mode 100644
index af0f0a3a..00000000
--- a/vendor/phpunit/phpunit/composer.json
+++ /dev/null
@@ -1,89 +0,0 @@
-{
- "name": "phpunit/phpunit",
- "description": "The PHP Unit Testing framework.",
- "type": "library",
- "keywords": [
- "phpunit",
- "xunit",
- "testing"
- ],
- "homepage": "https://phpunit.de/",
- "license": "BSD-3-Clause",
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/phpunit/issues"
- },
- "prefer-stable": true,
- "require": {
- "php": ">=7.3",
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "ext-xmlwriter": "*",
- "doctrine/instantiator": "^1.3.1 || ^2",
- "myclabs/deep-copy": "^1.10.1",
- "phar-io/manifest": "^2.0.3",
- "phar-io/version": "^3.0.2",
- "phpunit/php-code-coverage": "^9.2.13",
- "phpunit/php-file-iterator": "^3.0.5",
- "phpunit/php-invoker": "^3.1.1",
- "phpunit/php-text-template": "^2.0.3",
- "phpunit/php-timer": "^5.0.2",
- "sebastian/cli-parser": "^1.0.1",
- "sebastian/code-unit": "^1.0.6",
- "sebastian/comparator": "^4.0.8",
- "sebastian/diff": "^4.0.3",
- "sebastian/environment": "^5.1.3",
- "sebastian/exporter": "^4.0.5",
- "sebastian/global-state": "^5.0.1",
- "sebastian/object-enumerator": "^4.0.3",
- "sebastian/resource-operations": "^3.0.3",
- "sebastian/type": "^3.2",
- "sebastian/version": "^3.0.2"
- },
- "config": {
- "platform": {
- "php": "7.3.0"
- },
- "optimize-autoloader": true,
- "sort-packages": true
- },
- "suggest": {
- "ext-soap": "*",
- "ext-xdebug": "*"
- },
- "bin": [
- "phpunit"
- ],
- "autoload": {
- "classmap": [
- "src/"
- ],
- "files": [
- "src/Framework/Assert/Functions.php"
- ]
- },
- "autoload-dev": {
- "classmap": [
- "tests/"
- ],
- "files": [
- "tests/_files/CoverageNamespacedFunctionTest.php",
- "tests/_files/CoveredFunction.php",
- "tests/_files/NamespaceCoveredFunction.php"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-master": "9.5-dev"
- }
- }
-}
diff --git a/vendor/phpunit/phpunit/phpunit b/vendor/phpunit/phpunit/phpunit
deleted file mode 100644
index c8029566..00000000
--- a/vendor/phpunit/phpunit/phpunit
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/usr/bin/env php
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-if (!version_compare(PHP_VERSION, PHP_VERSION, '=')) {
- fwrite(
- STDERR,
- sprintf(
- '%s declares an invalid value for PHP_VERSION.' . PHP_EOL .
- 'This breaks fundamental functionality such as version_compare().' . PHP_EOL .
- 'Please use a different PHP interpreter.' . PHP_EOL,
-
- PHP_BINARY
- )
- );
-
- die(1);
-}
-
-if (version_compare('7.3.0', PHP_VERSION, '>')) {
- fwrite(
- STDERR,
- sprintf(
- 'This version of PHPUnit requires PHP >= 7.3.' . PHP_EOL .
- 'You are using PHP %s (%s).' . PHP_EOL,
- PHP_VERSION,
- PHP_BINARY
- )
- );
-
- die(1);
-}
-
-foreach (['dom', 'json', 'libxml', 'mbstring', 'tokenizer', 'xml', 'xmlwriter'] as $extension) {
- if (extension_loaded($extension)) {
- continue;
- }
-
- fwrite(
- STDERR,
- sprintf(
- 'PHPUnit requires the "%s" extension.' . PHP_EOL,
- $extension
- )
- );
-
- die(1);
-}
-
-if (!ini_get('date.timezone')) {
- ini_set('date.timezone', 'UTC');
-}
-
-if (isset($GLOBALS['_composer_autoload_path'])) {
- define('PHPUNIT_COMPOSER_INSTALL', $GLOBALS['_composer_autoload_path']);
-
- unset($GLOBALS['_composer_autoload_path']);
-} else {
- foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
- if (file_exists($file)) {
- define('PHPUNIT_COMPOSER_INSTALL', $file);
-
- break;
- }
- }
-
- unset($file);
-}
-
-if (!defined('PHPUNIT_COMPOSER_INSTALL')) {
- fwrite(
- STDERR,
- 'You need to set up the project dependencies using Composer:' . PHP_EOL . PHP_EOL .
- ' composer install' . PHP_EOL . PHP_EOL .
- 'You can learn all about Composer on https://getcomposer.org/.' . PHP_EOL
- );
-
- die(1);
-}
-
-$options = getopt('', array('prepend:'));
-
-if (isset($options['prepend'])) {
- require $options['prepend'];
-}
-
-unset($options);
-
-require PHPUNIT_COMPOSER_INSTALL;
-
-PHPUnit\TextUI\Command::main();
diff --git a/vendor/phpunit/phpunit/phpunit.xsd b/vendor/phpunit/phpunit/phpunit.xsd
deleted file mode 100644
index eabefac3..00000000
--- a/vendor/phpunit/phpunit/phpunit.xsd
+++ /dev/null
@@ -1,330 +0,0 @@
-
-
- * // match first parameter with value 2
- * $b->with(2);
- * // match first parameter with value 'smock' and second identical to 42
- * $b->with('smock', new PHPUnit\Framework\Constraint\IsEqual(42));
- *
- *
- * @return ParametersMatch
- */
- public function with(...$arguments);
-
- /**
- * Sets a rule which allows any kind of parameters.
- *
- * Some examples:
- *
- * // match any number of parameters
- * $b->withAnyParameters();
- *
- *
- * @return ParametersMatch
- */
- public function withAnyParameters();
-}
diff --git a/vendor/phpunit/phpunit/src/Framework/MockObject/Builder/Stub.php b/vendor/phpunit/phpunit/src/Framework/MockObject/Builder/Stub.php
deleted file mode 100644
index d7cb78fc..00000000
--- a/vendor/phpunit/phpunit/src/Framework/MockObject/Builder/Stub.php
+++ /dev/null
@@ -1,24 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PHPUnit\Framework\MockObject\Builder;
-
-use PHPUnit\Framework\MockObject\Stub\Stub as BaseStub;
-
-/**
- * @internal This class is not covered by the backward compatibility promise for PHPUnit
- */
-interface Stub extends Identity
-{
- /**
- * Stubs the matching method with the stub object $stub. Any invocations of
- * the matched method will now be handled by the stub instead.
- */
- public function will(BaseStub $stub): Identity;
-}
diff --git a/vendor/phpunit/phpunit/src/Framework/MockObject/ConfigurableMethod.php b/vendor/phpunit/phpunit/src/Framework/MockObject/ConfigurableMethod.php
deleted file mode 100644
index 4757dc63..00000000
--- a/vendor/phpunit/phpunit/src/Framework/MockObject/ConfigurableMethod.php
+++ /dev/null
@@ -1,53 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PHPUnit\Framework\MockObject;
-
-use SebastianBergmann\Type\Type;
-
-/**
- * @internal This class is not covered by the backward compatibility promise for PHPUnit
- */
-final class ConfigurableMethod
-{
- /**
- * @var string
- */
- private $name;
-
- /**
- * @var Type
- */
- private $returnType;
-
- public function __construct(string $name, Type $returnType)
- {
- $this->name = $name;
- $this->returnType = $returnType;
- }
-
- public function getName(): string
- {
- return $this->name;
- }
-
- public function mayReturn($value): bool
- {
- if ($value === null && $this->returnType->allowsNull()) {
- return true;
- }
-
- return $this->returnType->isAssignable(Type::fromValue($value, false));
- }
-
- public function getReturnTypeDeclaration(): string
- {
- return $this->returnType->asString();
- }
-}
diff --git a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/BadMethodCallException.php b/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/BadMethodCallException.php
deleted file mode 100644
index 7e655e23..00000000
--- a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/BadMethodCallException.php
+++ /dev/null
@@ -1,17 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PHPUnit\Framework\MockObject;
-
-/**
- * @internal This class is not covered by the backward compatibility promise for PHPUnit
- */
-final class BadMethodCallException extends \BadMethodCallException implements Exception
-{
-}
diff --git a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/CannotUseAddMethodsException.php b/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/CannotUseAddMethodsException.php
deleted file mode 100644
index 0698870b..00000000
--- a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/CannotUseAddMethodsException.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PHPUnit\Framework\MockObject;
-
-use function sprintf;
-
-/**
- * @internal This class is not covered by the backward compatibility promise for PHPUnit
- */
-final class CannotUseAddMethodsException extends \PHPUnit\Framework\Exception implements Exception
-{
- public function __construct(string $type, string $methodName)
- {
- parent::__construct(
- sprintf(
- 'Trying to configure method "%s" with addMethods(), but it exists in class "%s". Use onlyMethods() for methods that exist in the class',
- $methodName,
- $type
- )
- );
- }
-}
diff --git a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/CannotUseOnlyMethodsException.php b/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/CannotUseOnlyMethodsException.php
deleted file mode 100644
index 35a29b73..00000000
--- a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/CannotUseOnlyMethodsException.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PHPUnit\Framework\MockObject;
-
-use function sprintf;
-
-/**
- * @internal This class is not covered by the backward compatibility promise for PHPUnit
- */
-final class CannotUseOnlyMethodsException extends \PHPUnit\Framework\Exception implements Exception
-{
- public function __construct(string $type, string $methodName)
- {
- parent::__construct(
- sprintf(
- 'Trying to configure method "%s" with onlyMethods(), but it does not exist in class "%s". Use addMethods() for methods that do not exist in the class',
- $methodName,
- $type
- )
- );
- }
-}
diff --git a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ClassAlreadyExistsException.php b/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ClassAlreadyExistsException.php
deleted file mode 100644
index 0ba9a187..00000000
--- a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ClassAlreadyExistsException.php
+++ /dev/null
@@ -1,28 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PHPUnit\Framework\MockObject;
-
-use function sprintf;
-
-/**
- * @internal This class is not covered by the backward compatibility promise for PHPUnit
- */
-final class ClassAlreadyExistsException extends \PHPUnit\Framework\Exception implements Exception
-{
- public function __construct(string $className)
- {
- parent::__construct(
- sprintf(
- 'Class "%s" already exists',
- $className
- )
- );
- }
-}
diff --git a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ClassIsFinalException.php b/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ClassIsFinalException.php
deleted file mode 100644
index e648f026..00000000
--- a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ClassIsFinalException.php
+++ /dev/null
@@ -1,28 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PHPUnit\Framework\MockObject;
-
-use function sprintf;
-
-/**
- * @internal This class is not covered by the backward compatibility promise for PHPUnit
- */
-final class ClassIsFinalException extends \PHPUnit\Framework\Exception implements Exception
-{
- public function __construct(string $className)
- {
- parent::__construct(
- sprintf(
- 'Class "%s" is declared "final" and cannot be doubled',
- $className
- )
- );
- }
-}
diff --git a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ClassIsReadonlyException.php b/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ClassIsReadonlyException.php
deleted file mode 100644
index aa1a7451..00000000
--- a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ClassIsReadonlyException.php
+++ /dev/null
@@ -1,28 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PHPUnit\Framework\MockObject;
-
-use function sprintf;
-
-/**
- * @internal This class is not covered by the backward compatibility promise for PHPUnit
- */
-final class ClassIsReadonlyException extends \PHPUnit\Framework\Exception implements Exception
-{
- public function __construct(string $className)
- {
- parent::__construct(
- sprintf(
- 'Class "%s" is declared "readonly" and cannot be doubled',
- $className
- )
- );
- }
-}
diff --git a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ConfigurableMethodsAlreadyInitializedException.php b/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ConfigurableMethodsAlreadyInitializedException.php
deleted file mode 100644
index d12ac997..00000000
--- a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ConfigurableMethodsAlreadyInitializedException.php
+++ /dev/null
@@ -1,17 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PHPUnit\Framework\MockObject;
-
-/**
- * @internal This class is not covered by the backward compatibility promise for PHPUnit
- */
-final class ConfigurableMethodsAlreadyInitializedException extends \PHPUnit\Framework\Exception implements Exception
-{
-}
diff --git a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/DuplicateMethodException.php b/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/DuplicateMethodException.php
deleted file mode 100644
index 1216b45d..00000000
--- a/vendor/phpunit/phpunit/src/Framework/MockObject/Exception/DuplicateMethodException.php
+++ /dev/null
@@ -1,35 +0,0 @@
-
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-namespace PHPUnit\Framework\MockObject;
-
-use function array_diff_assoc;
-use function array_unique;
-use function implode;
-use function sprintf;
-
-/**
- * @internal This class is not covered by the backward compatibility promise for PHPUnit
- */
-final class DuplicateMethodException extends \PHPUnit\Framework\Exception implements Exception
-{
- /**
- * @psalm-param list