diff --git a/ext/admin/info.php b/ext/admin/info.php index 84db9927..bdaafa4a 100644 --- a/ext/admin/info.php +++ b/ext/admin/info.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Various things to make admins' lives easier - * Documentation: - - */ - class AdminPageInfo extends ExtensionInfo { public const KEY = "admin"; diff --git a/ext/alias_editor/info.php b/ext/alias_editor/info.php index 4990ac6d..b846b815 100644 --- a/ext/alias_editor/info.php +++ b/ext/alias_editor/info.php @@ -1,14 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Edit the alias list - * Documentation: - */ - class AliasEditorInfo extends ExtensionInfo { public const KEY = "alias_editor"; diff --git a/ext/arrowkey_navigation/info.php b/ext/arrowkey_navigation/info.php index ee6b88f2..4d0a2f38 100644 --- a/ext/arrowkey_navigation/info.php +++ b/ext/arrowkey_navigation/info.php @@ -1,13 +1,5 @@ - * Link: http://www.drudexsoftware.com/ - * License: GPLv2 - * Description: Allows viewers no navigate between images using the left & right arrow keys. - * Documentation: - * Simply enable this extention in the extention manager to enable arrow key navigation. - */ + class ArrowkeyNavigationInfo extends ExtensionInfo { public const KEY = "arrowkey_navigation"; diff --git a/ext/artists/info.php b/ext/artists/info.php index 5da88896..efdc77a9 100644 --- a/ext/artists/info.php +++ b/ext/artists/info.php @@ -1,14 +1,5 @@ - * Alpha - * License: GPLv2 - * Description: Simple artists extension - * Documentation: - * - */ class ArtistsInfo extends ExtensionInfo { public const KEY = "artists"; diff --git a/ext/autocomplete/info.php b/ext/autocomplete/info.php index 3d420496..259ab70b 100644 --- a/ext/autocomplete/info.php +++ b/ext/autocomplete/info.php @@ -1,11 +1,5 @@ - * Description: Adds autocomplete to search & tagging. - */ - class AutoCompleteInfo extends ExtensionInfo { public const KEY = "autocomplete"; diff --git a/ext/ban_words/info.php b/ext/ban_words/info.php index 6b56c045..b816b89c 100644 --- a/ext/ban_words/info.php +++ b/ext/ban_words/info.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: For stopping spam and other comment abuse - * Documentation: - * - */ - class BanWordsInfo extends ExtensionInfo { public const KEY = "ban_words"; diff --git a/ext/bbcode/info.php b/ext/bbcode/info.php index 06798aab..d97ae411 100644 --- a/ext/bbcode/info.php +++ b/ext/bbcode/info.php @@ -1,13 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Turns BBCode into HTML - */ - class BBCodeInfo extends ExtensionInfo { public const KEY = "bbcode"; diff --git a/ext/blocks/info.php b/ext/blocks/info.php index 23d24604..2bf68f2b 100644 --- a/ext/blocks/info.php +++ b/ext/blocks/info.php @@ -1,13 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Add HTML to some space (News, Ads, etc) - */ - class BlocksInfo extends ExtensionInfo { public const KEY = "blocks"; diff --git a/ext/blotter/info.php b/ext/blotter/info.php index d03891ec..7fab798c 100644 --- a/ext/blotter/info.php +++ b/ext/blotter/info.php @@ -1,11 +1,5 @@ [http://seemslegit.com/] - * License: GPLv2 - * Description: - */ class BlotterInfo extends ExtensionInfo { public const KEY = "blotter"; diff --git a/ext/browser_search/info.php b/ext/browser_search/info.php index ba353e4c..34360c5b 100644 --- a/ext/browser_search/info.php +++ b/ext/browser_search/info.php @@ -1,17 +1,5 @@ - * Some code (and lots of help) by Artanis (Erik Youngren ) from the 'tagger' extention - Used with permission - * Link: http://atravelinggeek.com/ - * License: GPLv2 - * Description: Allows the user to add a browser 'plugin' to search the site with real-time suggestions - * Version: 0.1c, October 26, 2007 - * Documentation: - * - */ - class BrowserSearchInfo extends ExtensionInfo { public const KEY = "browser_search"; diff --git a/ext/bulk_actions/info.php b/ext/bulk_actions/info.php index 00c66576..76158a76 100644 --- a/ext/bulk_actions/info.php +++ b/ext/bulk_actions/info.php @@ -1,15 +1,5 @@ , contributions by Shish and Agasa. - */ - - class BulkActionsInfo extends ExtensionInfo { public const KEY = "bulk_actions"; diff --git a/ext/bulk_add/info.php b/ext/bulk_add/info.php index f7624604..1d25d373 100644 --- a/ext/bulk_add/info.php +++ b/ext/bulk_add/info.php @@ -1,14 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Bulk add server-side images - * Documentation: - */ - class BulkAddInfo extends ExtensionInfo { public const KEY = "bulk_add"; @@ -20,7 +11,7 @@ class BulkAddInfo extends ExtensionInfo public $license = self::LICENSE_GPLV2; public $description = "Bulk add server-side images"; public $documentation = -" Upload the images into a new directory via ftp or similar, go to +"Upload the images into a new directory via ftp or similar, go to shimmie's admin page and put that directory in the bulk add box. If there are subdirectories, they get used as tags (eg if you upload into /home/bob/uploads/holiday/2008/ and point diff --git a/ext/bulk_add_csv/info.php b/ext/bulk_add_csv/info.php index a2e6af69..30a407eb 100644 --- a/ext/bulk_add_csv/info.php +++ b/ext/bulk_add_csv/info.php @@ -1,15 +1,5 @@ - * License: GPLv2 - * Description: Bulk add server-side images with metadata from CSV file - * Documentation: - * - * - */ - class BulkAddCSVInfo extends ExtensionInfo { public const KEY = "bulk_add_csv"; diff --git a/ext/bulk_remove/info.php b/ext/bulk_remove/info.php index 7f90b825..6a48ee2b 100644 --- a/ext/bulk_remove/info.php +++ b/ext/bulk_remove/info.php @@ -1,14 +1,5 @@ - * Link: http://www.drudexsoftware.com/ - * License: GPLv2 - * Description: Allows admin to delete many images at once through Board Admin. - * Documentation: - * - */ class BulkRemoveInfo extends ExtensionInfo { public const KEY = "bulk_remove"; diff --git a/ext/comment/info.php b/ext/comment/info.php index 600d1eab..38191656 100644 --- a/ext/comment/info.php +++ b/ext/comment/info.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Allow users to make comments on images - * Documentation: - * Formatting is done with the standard formatting API (normally BBCode) - */ - class CommentListInfo extends ExtensionInfo { public const KEY = "comment"; diff --git a/ext/custom_html_headers/info.php b/ext/custom_html_headers/info.php index 5ac483d3..617ce791 100644 --- a/ext/custom_html_headers/info.php +++ b/ext/custom_html_headers/info.php @@ -1,14 +1,5 @@ - * Link: http://www.drudexsoftware.com - * License: GPLv2 - * Description: Allows admins to modify & set custom <head> content - * Documentation: - * - */ class CustomHtmlHeadersInfo extends ExtensionInfo { public const KEY = "custom_html_headers"; diff --git a/ext/danbooru_api/info.php b/ext/danbooru_api/info.php index 89047d3b..fd68c229 100644 --- a/ext/danbooru_api/info.php +++ b/ext/danbooru_api/info.php @@ -1,13 +1,5 @@ -Description: Allow Danbooru apps like Danbooru Uploader for Firefox to communicate with Shimmie -Documentation: - -*/ - class DanbooruApiInfo extends ExtensionInfo { public const KEY = "danbooru_api"; diff --git a/ext/downtime/info.php b/ext/downtime/info.php index fd8df943..671af143 100644 --- a/ext/downtime/info.php +++ b/ext/downtime/info.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Show a "down for maintenance" page - * Documentation: - * - */ - class DowntimeInfo extends ExtensionInfo { public const KEY = "downtime"; diff --git a/ext/emoticons/info.php b/ext/emoticons/info.php index 8c19165d..e2f44cdd 100644 --- a/ext/emoticons/info.php +++ b/ext/emoticons/info.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Lets users use graphical smilies - * Documentation: - * - */ - class EmoticonsInfo extends ExtensionInfo { public const KEY = "emoticons"; diff --git a/ext/et/info.php b/ext/et/info.php index 3245f10c..297647aa 100644 --- a/ext/et/info.php +++ b/ext/et/info.php @@ -1,13 +1,5 @@ - * License: GPLv2 - * Description: Show various bits of system information - * Documentation: - */ - class ETInfo extends ExtensionInfo { public const KEY = "et"; diff --git a/ext/ext_manager/info.php b/ext/ext_manager/info.php index 80ade6e9..6c979d5e 100644 --- a/ext/ext_manager/info.php +++ b/ext/ext_manager/info.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Visibility: admin - * Description: A thing for point & click extension management - * Documentation: - */ - class ExtManagerInfo extends ExtensionInfo { public const KEY = "ext_manager"; diff --git a/ext/favorites/info.php b/ext/favorites/info.php index 0e49b8d1..7d6ab844 100644 --- a/ext/favorites/info.php +++ b/ext/favorites/info.php @@ -1,13 +1,5 @@ - * License: GPLv2 - * Description: Allow users to favorite images - * Documentation: - */ - class FavoritesInfo extends ExtensionInfo { public const KEY = "favorites"; diff --git a/ext/featured/info.php b/ext/featured/info.php index b28277e1..c677f582 100644 --- a/ext/featured/info.php +++ b/ext/featured/info.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Bring a specific image to the users' attentions - * Documentation: - * - */ - class FeaturedInfo extends ExtensionInfo { public const KEY = "featured"; diff --git a/ext/forum/info.php b/ext/forum/info.php index 5671e8b2..a7d5a72d 100644 --- a/ext/forum/info.php +++ b/ext/forum/info.php @@ -1,14 +1,5 @@ - * Alpha - * License: GPLv2 - * Description: Rough forum extension - * Documentation: - */ - class ForumInfo extends ExtensionInfo { public const KEY = "dorum"; diff --git a/ext/google_analytics/info.php b/ext/google_analytics/info.php index a62cc880..f81d4fde 100644 --- a/ext/google_analytics/info.php +++ b/ext/google_analytics/info.php @@ -1,14 +1,5 @@ - * Link: http://drudexsoftware.com - * License: GPLv2 - * Description: Integrates Google Analytics tracking - * Documentation: - * - */ class GoogleAnalyticsInfo extends ExtensionInfo { public const KEY = "google_analytics"; diff --git a/ext/handle_404/info.php b/ext/handle_404/info.php index f18367c8..f32d74cd 100644 --- a/ext/handle_404/info.php +++ b/ext/handle_404/info.php @@ -1,13 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Visibility: admin - * Description: If no other extension puts anything onto the page, show 404 - */ class Handle404Info extends ExtensionInfo { public const KEY = "handle_404"; diff --git a/ext/handle_archive/info.php b/ext/handle_archive/info.php index 174e18d3..078d2001 100644 --- a/ext/handle_archive/info.php +++ b/ext/handle_archive/info.php @@ -1,13 +1,5 @@ - * Description: Allow users to upload archives (zip, etc) - * Documentation: - * - */ - class ArchiveFileHandlerInfo extends ExtensionInfo { public const KEY = "handle_archive"; diff --git a/ext/handle_flash/info.php b/ext/handle_flash/info.php index 9d997aaa..642cf64c 100644 --- a/ext/handle_flash/info.php +++ b/ext/handle_flash/info.php @@ -1,12 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * Description: Handle Flash files. - */ - class FlashFileHandlerInfo extends ExtensionInfo { public const KEY = "handle_flash"; diff --git a/ext/handle_ico/info.php b/ext/handle_ico/info.php index 64ba9984..90419d79 100644 --- a/ext/handle_ico/info.php +++ b/ext/handle_ico/info.php @@ -1,11 +1,5 @@ - * Description: Handle windows icons - */ - class IcoFileHandlerInfo extends ExtensionInfo { public const KEY = "handle_ico"; diff --git a/ext/handle_mp3/info.php b/ext/handle_mp3/info.php index df17f2ad..9bf9093b 100644 --- a/ext/handle_mp3/info.php +++ b/ext/handle_mp3/info.php @@ -1,11 +1,5 @@ - * Description: Handle MP3 files - */ - class MP3FileHandlerInfo extends ExtensionInfo { public const KEY = "handle_mp3"; diff --git a/ext/handle_pixel/info.php b/ext/handle_pixel/info.php index 2dc2d17c..03095f7c 100644 --- a/ext/handle_pixel/info.php +++ b/ext/handle_pixel/info.php @@ -1,12 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * Description: Handle JPEG, PNG, GIF, WEBP, etc files - */ - class PixelFileHandlerInfo extends ExtensionInfo { public const KEY = "handle_pixel"; diff --git a/ext/handle_static/info.php b/ext/handle_static/info.php index 1ba6ea9c..14a61a34 100644 --- a/ext/handle_static/info.php +++ b/ext/handle_static/info.php @@ -1,14 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Visibility: admin - * Description: If Shimmie can't handle a request, check static files ($theme/static/$filename, then ext/handle_static/static/$filename) - */ - class HandleStaticInfo extends ExtensionInfo { public const KEY = "handle_static"; diff --git a/ext/handle_svg/info.php b/ext/handle_svg/info.php index 68e59cb8..50acfdce 100644 --- a/ext/handle_svg/info.php +++ b/ext/handle_svg/info.php @@ -1,12 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * Description: Handle static SVG files. - */ - class SVGFileHandlerInfo extends ExtensionInfo { public const KEY = "handle_svg"; diff --git a/ext/handle_video/info.php b/ext/handle_video/info.php index 52c357c3..7c7ad713 100644 --- a/ext/handle_video/info.php +++ b/ext/handle_video/info.php @@ -1,14 +1,5 @@ - * Modified By: Shish , jgen , im-mi - * License: GPLv2 - * Description: Handle FLV, MP4, OGV and WEBM video files. - * Documentation: - */ - class VideoFileHandlerInfo extends ExtensionInfo { public const KEY = "handle_video"; diff --git a/ext/help_pages/info.php b/ext/help_pages/info.php index 58845be2..1375ef51 100644 --- a/ext/help_pages/info.php +++ b/ext/help_pages/info.php @@ -1,11 +1,5 @@ - * Description: Provides documentation screens - */ - class HelpPagesInfo extends ExtensionInfo { public const KEY = "help_pages"; diff --git a/ext/holiday/info.php b/ext/holiday/info.php index 92bcd521..6f291436 100644 --- a/ext/holiday/info.php +++ b/ext/holiday/info.php @@ -1,12 +1,5 @@ - * Link: http://www.codeanimu.net - * License: GPLv2 - * Description: Use an additional stylesheet on certain holidays. - */ class HolidayInfo extends ExtensionInfo { public const KEY = "holiday"; diff --git a/ext/home/info.php b/ext/home/info.php index 4d248371..84087de8 100644 --- a/ext/home/info.php +++ b/ext/home/info.php @@ -1,15 +1,5 @@ -* License: GPLv2 -* Visibility: admin -* Description: Displays a front page with logo, search box and image count -* Documentation: -* -*/ - class HomeInfo extends ExtensionInfo { public const KEY = "home"; diff --git a/ext/image/info.php b/ext/image/info.php index 8dee38fd..30ad53bd 100644 --- a/ext/image/info.php +++ b/ext/image/info.php @@ -1,14 +1,5 @@ - * Modified by: jgen - * Link: http://code.shishnet.org/shimmie2/ - * Description: Handle the image database - * Visibility: admin - */ - class ImageIOInfo extends ExtensionInfo { public const KEY = "image"; diff --git a/ext/image_hash_ban/info.php b/ext/image_hash_ban/info.php index d165286f..a3080331 100644 --- a/ext/image_hash_ban/info.php +++ b/ext/image_hash_ban/info.php @@ -1,15 +1,5 @@ - * Link: http://atravelinggeek.com/ - * License: GPLv2 - * Description: Ban images based on their hash - * Based on the ResolutionLimit and IPban extensions by Shish - * Version 0.1, October 21, 2007 - */ - class ImageBanInfo extends ExtensionInfo { public const KEY = "image_hash_ban"; diff --git a/ext/image_hash_ban/theme.php b/ext/image_hash_ban/theme.php index 53bf6139..5a3afd99 100644 --- a/ext/image_hash_ban/theme.php +++ b/ext/image_hash_ban/theme.php @@ -1,14 +1,4 @@ - * Link: http://atravelinggeek.com/ - * License: GPLv2 - * Description: Ban images based on their hash - * Based on the ResolutionLimit and IPban extensions by Shish - * Version 0.1 - * October 21, 2007 - */ class ImageBanTheme extends Themelet { diff --git a/ext/image_view_counter/info.php b/ext/image_view_counter/info.php index 2cea0069..e9dede91 100644 --- a/ext/image_view_counter/info.php +++ b/ext/image_view_counter/info.php @@ -1,14 +1,5 @@ - * Link: http://www.drudexsoftware.com/ - * License: GPLv2 - * Description: Tracks & displays how many times an image is viewed - * Documentation: - * - */ class ImageViewCounterInfo extends ExtensionInfo { public const KEY = "image_view_counter"; diff --git a/ext/index/info.php b/ext/index/info.php index 9987f569..6f46c2ef 100644 --- a/ext/index/info.php +++ b/ext/index/info.php @@ -1,160 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Show a list of uploaded images - * Documentation: - * Here is a list of the search methods available out of the box; - * Shimmie extensions may provide other filters: - *
    - *
  • by tag, eg - *
      - *
    • cat - *
    • pie - *
    • somethi* -- wildcards are supported - *
    - *
  • size (=, <, >, <=, >=) width x height, eg - *
      - *
    • size=1024x768 -- a specific wallpaper size - *
    • size>=500x500 -- no small images - *
    • size<1000x1000 -- no large images - *
    - *
  • width (=, <, >, <=, >=) width, eg - *
      - *
    • width=1024 -- find images with 1024 width - *
    • width>2000 -- find images bigger than 2000 width - *
    - *
  • height (=, <, >, <=, >=) height, eg - *
      - *
    • height=768 -- find images with 768 height - *
    • height>1000 -- find images bigger than 1000 height - *
    - *
  • ratio (=, <, >, <=, >=) width : height, eg - *
      - *
    • ratio=4:3, ratio=16:9 -- standard wallpaper - *
    • ratio=1:1 -- square images - *
    • ratio<1:1 -- tall images - *
    • ratio>1:1 -- wide images - *
    - *
  • filesize (=, <, >, <=, >=) size, eg - *
      - *
    • filesize>1024 -- no images under 1KB - *
    • filesize<=3MB -- shorthand filesizes are supported too - *
    - *
  • id (=, <, >, <=, >=) number, eg - *
      - *
    • id<20 -- search only the first few images - *
    • id>=500 -- search later images - *
    - *
  • user=Username & poster=Username, eg - *
      - *
    • user=Shish -- find all of Shish's posts - *
    • poster=Shish -- same as above - *
    - *
  • user_id=userID & poster_id=userID, eg - *
      - *
    • user_id=2 -- find all posts by user id 2 - *
    • poster_id=2 -- same as above - *
    - *
  • hash=md5sum & md5=md5sum, eg - *
      - *
    • hash=bf5b59173f16b6937a4021713dbfaa72 -- find the "Taiga want up!" image - *
    • md5=bf5b59173f16b6937a4021713dbfaa72 -- same as above - *
    - *
  • filetype=type & ext=type, eg - *
      - *
    • filetype=png -- find all PNG images - *
    • ext=png -- same as above - *
    - *
  • filename=blah & name=blah, eg - *
      - *
    • filename=kitten -- find all images with "kitten" in the original filename - *
    • name=kitten -- same as above - *
    - *
  • posted (=, <, >, <=, >=) date, eg - *
      - *
    • posted>=2009-12-25 posted<=2010-01-01 -- find images posted between christmas and new year - *
    - *
  • tags (=, <, >, <=, >=) count, eg - *
      - *
    • tags=1 -- search for images with only 1 tag - *
    • tags>=10 -- search for images with 10 or more tags - *
    • tags<25 -- search for images with less than 25 tags - *
    - *
  • source=(URL, any, none) eg - *
      - *
    • source=http://example.com -- find all images with "http://example.com" in the source - *
    • source=any -- find all images with a source - *
    • source=none -- find all images without a source - *
    - *
  • order=(id, width, height, filesize, filename)_(ASC, DESC), eg - *
      - *
    • order=width -- find all images sorted from highest > lowest width - *
    • order=filesize_asc -- find all images sorted from lowest > highest filesize - *
    - *
  • order=random_####, eg - *
      - *
    • order=random_8547 -- find all images sorted randomly using 8547 as a seed - *
    - *
- *

Search items can be combined to search for images which match both, - * or you can stick "-" in front of an item to search for things that don't - * match it. - *

Metatags can be followed by ":" rather than "=" if you prefer. - *
I.E: "posted:2014-01-01", "id:>=500" etc. - *

Some search methods provided by extensions: - *

    - *
  • Numeric Score - *
      - *
    • score (=, <, >, <=, >=) number -- seach by score - *
    • upvoted_by=Username -- search for a user's likes - *
    • downvoted_by=Username -- search for a user's dislikes - *
    • upvoted_by_id=UserID -- search for a user's likes by user ID - *
    • downvoted_by_id=UserID -- search for a user's dislikes by user ID - *
    • order=score_(ASC, DESC) -- find all images sorted from by score - *
    - *
  • Image Rating - *
      - *
    • rating=se -- find safe and explicit images, ignore questionable and unknown - *
    - *
  • Favorites - *
      - *
    • favorites (=, <, >, <=, >=) number -- search for images favourited a certain number of times - *
    • favourited_by=Username -- search for a user's choices by username - *
    • favorited_by_userno=UserID -- search for a user's choice by userID - *
    - *
  • Notes - *
      - *
    • notes (=, <, >, <=, >=) number -- search by the number of notes an image has - *
    • notes_by=Username -- search for images containing notes created by username - *
    • notes_by_userno=UserID -- search for images containing notes created by userID - *
    - *
  • Artists - *
      - *
    • author=ArtistName -- search for images by artist - *
    - *
  • Image Comments - *
      - *
    • comments (=, <, >, <=, >=) number -- search for images by number of comments - *
    • commented_by=Username -- search for images containing user's comments by username - *
    • commented_by_userno=UserID -- search for images containing user's comments by userID - *
    - *
  • Pools - *
      - *
    • pool=(PoolID, any, none) -- search for images in a pool by PoolID. - *
    • pool_by_name=PoolName -- search for images in a pool by PoolName. underscores are replaced with spaces - *
    - *
  • Post Relationships - *
      - *
    • parent=(parentID, any, none) -- search for images by parentID / if they have, do not have a parent - *
    • child=(any, none) -- search for images which have, or do not have children - *
    - *
- */ - class IndexInfo extends ExtensionInfo { public const KEY = "index"; @@ -166,4 +11,151 @@ class IndexInfo extends ExtensionInfo public $license = self::LICENSE_GPLV2; public $description = "Show a list of uploaded images"; public $core = true; + public $documentation = "Here is a list of the search methods available out of the box; +Shimmie extensions may provide other filters: +
    +
  • by tag, eg +
      +
    • cat +
    • pie +
    • somethi* -- wildcards are supported +
    +
  • size (=, <, >, <=, >=) width x height, eg +
      +
    • size=1024x768 -- a specific wallpaper size +
    • size>=500x500 -- no small images +
    • size<1000x1000 -- no large images +
    +
  • width (=, <, >, <=, >=) width, eg +
      +
    • width=1024 -- find images with 1024 width +
    • width>2000 -- find images bigger than 2000 width +
    +
  • height (=, <, >, <=, >=) height, eg +
      +
    • height=768 -- find images with 768 height +
    • height>1000 -- find images bigger than 1000 height +
    +
  • ratio (=, <, >, <=, >=) width : height, eg +
      +
    • ratio=4:3, ratio=16:9 -- standard wallpaper +
    • ratio=1:1 -- square images +
    • ratio<1:1 -- tall images +
    • ratio>1:1 -- wide images +
    +
  • filesize (=, <, >, <=, >=) size, eg +
      +
    • filesize>1024 -- no images under 1KB +
    • filesize<=3MB -- shorthand filesizes are supported too +
    +
  • id (=, <, >, <=, >=) number, eg +
      +
    • id<20 -- search only the first few images +
    • id>=500 -- search later images +
    +
  • user=Username & poster=Username, eg +
      +
    • user=Shish -- find all of Shish's posts +
    • poster=Shish -- same as above +
    +
  • user_id=userID & poster_id=userID, eg +
      +
    • user_id=2 -- find all posts by user id 2 +
    • poster_id=2 -- same as above +
    +
  • hash=md5sum & md5=md5sum, eg +
      +
    • hash=bf5b59173f16b6937a4021713dbfaa72 -- find the \"Taiga want up!\" image +
    • md5=bf5b59173f16b6937a4021713dbfaa72 -- same as above +
    +
  • filetype=type & ext=type, eg +
      +
    • filetype=png -- find all PNG images +
    • ext=png -- same as above +
    +
  • filename=blah & name=blah, eg +
      +
    • filename=kitten -- find all images with \"kitten\" in the original filename +
    • name=kitten -- same as above +
    +
  • posted (=, <, >, <=, >=) date, eg +
      +
    • posted>=2009-12-25 posted<=2010-01-01 -- find images posted between christmas and new year +
    +
  • tags (=, <, >, <=, >=) count, eg +
      +
    • tags=1 -- search for images with only 1 tag +
    • tags>=10 -- search for images with 10 or more tags +
    • tags<25 -- search for images with less than 25 tags +
    +
  • source=(URL, any, none) eg +
      +
    • source=http://example.com -- find all images with \"http://example.com\" in the source +
    • source=any -- find all images with a source +
    • source=none -- find all images without a source +
    +
  • order=(id, width, height, filesize, filename)_(ASC, DESC), eg +
      +
    • order=width -- find all images sorted from highest > lowest width +
    • order=filesize_asc -- find all images sorted from lowest > highest filesize +
    +
  • order=random_####, eg +
      +
    • order=random_8547 -- find all images sorted randomly using 8547 as a seed +
    +
+

Search items can be combined to search for images which match both, +or you can stick \"-\" in front of an item to search for things that don't +match it. +

Metatags can be followed by \":\" rather than \"=\" if you prefer. +
I.E: \"posted:2014-01-01\", \"id:>=500\" etc. +

Some search methods provided by extensions: +

    +
  • Numeric Score +
      +
    • score (=, <, >, <=, >=) number -- seach by score +
    • upvoted_by=Username -- search for a user's likes +
    • downvoted_by=Username -- search for a user's dislikes +
    • upvoted_by_id=UserID -- search for a user's likes by user ID +
    • downvoted_by_id=UserID -- search for a user's dislikes by user ID +
    • order=score_(ASC, DESC) -- find all images sorted from by score +
    +
  • Image Rating +
      +
    • rating=se -- find safe and explicit images, ignore questionable and unknown +
    +
  • Favorites +
      +
    • favorites (=, <, >, <=, >=) number -- search for images favourited a certain number of times +
    • favourited_by=Username -- search for a user's choices by username +
    • favorited_by_userno=UserID -- search for a user's choice by userID +
    +
  • Notes +
      +
    • notes (=, <, >, <=, >=) number -- search by the number of notes an image has +
    • notes_by=Username -- search for images containing notes created by username +
    • notes_by_userno=UserID -- search for images containing notes created by userID +
    +
  • Artists +
      +
    • author=ArtistName -- search for images by artist +
    +
  • Image Comments +
      +
    • comments (=, <, >, <=, >=) number -- search for images by number of comments +
    • commented_by=Username -- search for images containing user's comments by username +
    • commented_by_userno=UserID -- search for images containing user's comments by userID +
    +
  • Pools +
      +
    • pool=(PoolID, any, none) -- search for images in a pool by PoolID. +
    • pool_by_name=PoolName -- search for images in a pool by PoolName. underscores are replaced with spaces +
    +
  • Post Relationships +
      +
    • parent=(parentID, any, none) -- search for images by parentID / if they have, do not have a parent +
    • child=(any, none) -- search for images which have, or do not have children +
    +
+"; } diff --git a/ext/ipban/info.php b/ext/ipban/info.php index 83e595f8..92605d22 100644 --- a/ext/ipban/info.php +++ b/ext/ipban/info.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Ban IP addresses - * Documentation: - * - */ - class IPBanInfo extends ExtensionInfo { public const KEY = "ipban"; diff --git a/ext/link_image/info.php b/ext/link_image/info.php index cbc46255..1e97c2bc 100644 --- a/ext/link_image/info.php +++ b/ext/link_image/info.php @@ -1,11 +1,5 @@ - * Description: Show various forms of link to each image, for copy & paste - */ - class LinkImageInfo extends ExtensionInfo { public const KEY = "link_image"; @@ -14,4 +8,27 @@ class LinkImageInfo extends ExtensionInfo public $name = "Link to Image"; public $authors = ["Artanis"=>"artanis.00@gmail.com"]; public $description = "Show various forms of link to each image, for copy & paste"; + public $license = self::LICENSE_GPLV2; + public $documentation = "There is one option in Board Config: Text Link Format. +It takes the following arguments as well as plain text. + +
+|| arguments    || replacement                      ||
+|| \$id          || The image ID.                    ||
+|| \$hash        || The MD5 hash of the image.       ||
+|| \$tags        || The image's tag list.            ||
+|| \$base        || The base HREF as set in Config.  ||
+|| \$ext         || The image's extension.           ||
+|| \$size        || The image's display size.        ||
+|| \$filesize    || The image's size in KB.          ||
+|| \$filename    || The image's original filename.   ||
+|| \$title       || The site title as set in Config. ||
+
+ +

Link to Image will default this option to '\$title - \$id (\$ext \$size \$filesize)'. + +

To reset to the default, simply clear the current setting. Link to Image +will then fill in the default value after the save. + +

To leave the setting blank for any reason, leave a space (' ') in it."; } diff --git a/ext/link_image/readme.txt b/ext/link_image/readme.txt deleted file mode 100644 index 6051103a..00000000 --- a/ext/link_image/readme.txt +++ /dev/null @@ -1,82 +0,0 @@ -Link to Image adds BBCode and HTML link codes to the image view. Offers code for a customizable text link, thumbnail links, and full image inline. - -Author: Erik Youngren - -License: GPLv2 - -Submit a Bug Report or Suggestion for Link to Image: - * http://trac.shishnet.org/shimmie2/newticket?owner=artanis.00@gmail.com&component=third%20party%20extensions&keywords=link_to_image - -= Use = -There is one option in Board Config: Text Link Format. -It takes the following arguments as well as plain text. -|| arguments || replacement || -|| $id || The image ID. || -|| $hash || The MD5 hash of the image. || -|| $tags || The image's tag list. || -|| $base || The base HREF as set in Config. || -|| $ext || The image's extension. || -|| $size || The image's display size. || -|| $filesize || The image's size in KB. || -|| $filename || The image's original filename. || -|| $title || The site title as set in Config. || -Link to Image will default this option to '$title - $id ($ext $size $filesize)'. -To reset to the default, simply clear the current setting. Link to Image will then fill in the default value after the save. - -To leave the setting blank for any reason, leave a space (' ') in it. - -= Install = - 1. Copy the folder {{{contrib/link_image/}}} to {{{ext/}}}. - 2. In the Config panel, make sure Base URL is set (you may as well set Data URL while you're there, if you haven't already.) - 3. Make sure Image Link, Thumb Link, and Short Link all contain the full path ("http://" and onward,) either by using $base or plain text. Link to Image will not be able to retrieve the correct paths without these variables. - -= Change Log = -== Version 0.3.0 == - * Moved Link to Image over to the official theme engine. This functions basically the same as what the prototype was, but it's more thought out and nicer. - * Cleaned up the insides a bit. - -== Version 0.2.0 == - * Changed the HTML generation to use a prototype theme engine. All HTML generation is now contained within {{{link_image.html.php}}}, which may be copied to the current theme folder and edited from there. - -== Version 0.1.4 - 20070510 == - * Style changes. - * Added output containing only the locations of the thumb, image and post. - * Added a link to wikipedia's HTML page, just as BBCode has a wikipedia link. - -== Version 0.1.3b - 20070509 == - * Renamed style.css to _style.css to avoid the auto loader. - -== Version 0.1.3 - 20070508 == - * Created Readme.txt - * Merged 0.1.2 into 0.1.2b - * Removed uneeded documentation from main.php - * Rewrote the css to be unique. Previously used CSS I wrote for elsewhere. Styled to reduce space consumption. - * Added code to insert the CSS import. - * Updated Nice URLs to allow access to the /ext/ folder. (Why is my stylesheet returning HTML instead of CSS?) - * First SVN update. - -== Version 0.1.2b - 20070507 == -(fairly simultaneous with 0.1.2) - * shish: - * Updated to new extension format - * Created folder link_image in trunk/contrib - * Renamed link_image.ext.php to main.php and moved to /link_image/ - * Created style.css {{{ /* 404'd :|*/ }}}. - * Documentation (different from mine.) - * Changed add_text_option() and added add_label() in SetupBuildingEvent because I was using an edited version of the function that shish didn't know about. It was a wonder that didn't throw massive errors. - * Published on SVN. - -== Version 0.1.2 - 20070506 == - * Textboxes now select-all when they gain focus. - * Commenting and documentation. - -== Version 0.1.1 - 20070506 == - * Fixed HTML thumbnail link code. (image tag was being html_escaped twice, resulting in "$gt;" and "<" from the first escape becoming "&gt;" and "&lt;") It turns out that html_escape was completely unnecessary, all I had to do was replace the single-quotes around the attributes with escaped double-quotes ('\"'.) - -== Version 0.1.0 - 20070506 == - * Release. - -= Links = - * http://trac.shishnet.org/shimmie2/wiki/Contrib/Extensions/LinkToImage - Home - * http://forum.shishnet.org/viewtopic.php?p=153 - Discussion - * http://trac.shishnet.org/shimmie2/browser/trunk/contrib/link_image - Shimmie2 Trac SVN diff --git a/ext/livefeed/info.php b/ext/livefeed/info.php index 5aeb4ea4..e5a888fc 100644 --- a/ext/livefeed/info.php +++ b/ext/livefeed/info.php @@ -1,14 +1,5 @@ -* License: GPLv2 -* Visibility: admin -* Description: Logs user-safe (no IPs) data to a UDP socket, eg IRCCat -* Documentation: -*/ - class LiveFeedInfo extends ExtensionInfo { public const KEY = "livefeed"; diff --git a/ext/log_db/info.php b/ext/log_db/info.php index 0757b4df..177cef81 100644 --- a/ext/log_db/info.php +++ b/ext/log_db/info.php @@ -1,13 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * Description: Keep a record of SCore events (in the database). - * Visibility: admin - */ - class LogDatabaseInfo extends ExtensionInfo { public const KEY = "log_db"; diff --git a/ext/log_logstash/info.php b/ext/log_logstash/info.php index 6f35d526..d3413048 100644 --- a/ext/log_logstash/info.php +++ b/ext/log_logstash/info.php @@ -1,13 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * Description: Send log events to a network port. - * Visibility: admin - */ - class LogLogstashInfo extends ExtensionInfo { public const KEY = "log_logstash"; diff --git a/ext/log_net/info.php b/ext/log_net/info.php index a053a994..7aa660d5 100644 --- a/ext/log_net/info.php +++ b/ext/log_net/info.php @@ -1,13 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * Description: Send log events to a network port. - * Visibility: admin - */ - class LogNetInfo extends ExtensionInfo { public const KEY = "log_net"; diff --git a/ext/mail/info.php b/ext/mail/info.php index bb370eae..b5c1044d 100644 --- a/ext/mail/info.php +++ b/ext/mail/info.php @@ -1,13 +1,5 @@ - * Link: http://seemslegit.com - * License: GPLv2 - * Description: Provides an interface for sending and receiving mail. - */ - class MailInfo extends ExtensionInfo { public const KEY = "mail"; diff --git a/ext/media/info.php b/ext/media/info.php index abafffbe..3a514557 100644 --- a/ext/media/info.php +++ b/ext/media/info.php @@ -1,11 +1,5 @@ - * Description: Provides common functions and settings used for media operations. - */ - class MediaInfo extends ExtensionInfo { public const KEY = "media"; diff --git a/ext/not_a_tag/info.php b/ext/not_a_tag/info.php index ddd97f82..4f4224c7 100644 --- a/ext/not_a_tag/info.php +++ b/ext/not_a_tag/info.php @@ -1,12 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Redirect users to the rules if they use bad tags - */ class NotATagInfo extends ExtensionInfo { public const KEY = "not_a_tag"; diff --git a/ext/notes/info.php b/ext/notes/info.php index 9296b7b8..fcb6d4e9 100644 --- a/ext/notes/info.php +++ b/ext/notes/info.php @@ -1,13 +1,5 @@ - * License: GPLv2 - * Description: Annotate images - * Documentation: - */ - class NotesInfo extends ExtensionInfo { public const KEY = "notes"; diff --git a/ext/numeric_score/info.php b/ext/numeric_score/info.php index ca2b77ab..bd7ffa27 100644 --- a/ext/numeric_score/info.php +++ b/ext/numeric_score/info.php @@ -1,14 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Allow users to score images - * Documentation: - */ - class NumericScoreInfo extends ExtensionInfo { public const KEY = "numeric_score"; diff --git a/ext/oekaki/info.php b/ext/oekaki/info.php index 2600bf7f..99ec45b7 100644 --- a/ext/oekaki/info.php +++ b/ext/oekaki/info.php @@ -1,11 +1,5 @@ - * Description: Ouroboros-like API for Shimmie - * Version: 0.2 - * Documentation: - * - */ - - class OuroborosAPIInfo extends ExtensionInfo { public const KEY = "ouroboros_api"; diff --git a/ext/pm/info.php b/ext/pm/info.php index 795ee31f..93986fca 100644 --- a/ext/pm/info.php +++ b/ext/pm/info.php @@ -1,14 +1,5 @@ - * License: GPLv2 - * Description: Allow users to send messages to eachother - * Documentation: - * - */ - class PrivMsgInfo extends ExtensionInfo { public const KEY = "pm"; diff --git a/ext/pm_triggers/info.php b/ext/pm_triggers/info.php index d36ca3b5..1fd356c1 100644 --- a/ext/pm_triggers/info.php +++ b/ext/pm_triggers/info.php @@ -1,12 +1,5 @@ - * License: GPLv2 - * Description: Send PMs in response to certain events (eg image deletion) - */ - class PMTriggerInfo extends ExtensionInfo { public const KEY = "pm_triggers"; diff --git a/ext/pools/info.php b/ext/pools/info.php index 5acf4629..2cfa72d6 100644 --- a/ext/pools/info.php +++ b/ext/pools/info.php @@ -1,13 +1,5 @@ , jgen , Daku - * License: GPLv2 - * Description: Allow users to create groups of images and order them. - * Documentation: - */ - class PoolsInfo extends ExtensionInfo { public const KEY = "pools"; diff --git a/ext/post_titles/info.php b/ext/post_titles/info.php index 208cf231..87c22267 100644 --- a/ext/post_titles/info.php +++ b/ext/post_titles/info.php @@ -1,11 +1,5 @@ - * Description: Add titles to media posts - */ - class PostTitlesInfo extends ExtensionInfo { public const KEY = "post_titles"; diff --git a/ext/qr_code/info.php b/ext/qr_code/info.php index f8fe2f5e..d97d9c11 100644 --- a/ext/qr_code/info.php +++ b/ext/qr_code/info.php @@ -1,9 +1,5 @@ [http://seemslegit.com] - * Description: - */ + class QRImageInfo extends ExtensionInfo { public const KEY = "qr_code"; diff --git a/ext/random_image/info.php b/ext/random_image/info.php index 3143f883..389f52a1 100644 --- a/ext/random_image/info.php +++ b/ext/random_image/info.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Do things with a random image - * Documentation: - * - */ - class RandomImageInfo extends ExtensionInfo { public const KEY = "random_image"; diff --git a/ext/random_list/info.php b/ext/random_list/info.php index f7d9dd12..226619af 100644 --- a/ext/random_list/info.php +++ b/ext/random_list/info.php @@ -1,15 +1,5 @@ - * Link: http://www.drudexsoftware.com - * License: GPLv2 - * Description: Allows displaying a page with random images - * Documentation: - * - */ - class RandomListInfo extends ExtensionInfo { public const KEY = "random_list"; diff --git a/ext/rating/info.php b/ext/rating/info.php index c53335ef..529b9b2a 100644 --- a/ext/rating/info.php +++ b/ext/rating/info.php @@ -1,14 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Allow users to rate images "safe", "questionable" or "explicit" - * Documentation: - */ - class RatingsInfo extends ExtensionInfo { public const KEY = "rating"; diff --git a/ext/regen_thumb/info.php b/ext/regen_thumb/info.php index 8f272915..86075141 100644 --- a/ext/regen_thumb/info.php +++ b/ext/regen_thumb/info.php @@ -1,13 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: - * Documentation: - */ class RegenThumbInfo extends ExtensionInfo { public const KEY = "regen_thumb"; diff --git a/ext/relationships/info.php b/ext/relationships/info.php index 941e202b..024b5c5b 100644 --- a/ext/relationships/info.php +++ b/ext/relationships/info.php @@ -1,12 +1,5 @@ - * License: GPLv2 - * Description: Allow posts to have relationships (parent/child). - */ - class RelationshipsInfo extends ExtensionInfo { public const KEY = "relationships"; diff --git a/ext/report_image/info.php b/ext/report_image/info.php index 937f0a6e..4477fbb9 100644 --- a/ext/report_image/info.php +++ b/ext/report_image/info.php @@ -1,15 +1,5 @@ - * Link: http://atravelinggeek.com/ - * License: GPLv2 - * Description: Report images as dupes/illegal/etc - * Version 0.3a - See changelog in main.php - * November 06, 2007 - */ - class ReportImageInfo extends ExtensionInfo { public const KEY = "report_image"; diff --git a/ext/report_image/theme.php b/ext/report_image/theme.php index f4de5934..6c34178a 100644 --- a/ext/report_image/theme.php +++ b/ext/report_image/theme.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Allows the admin to set min / max image dimensions - */ class ResolutionLimitInfo extends ExtensionInfo { public const KEY = "res_limit"; diff --git a/ext/resize/info.php b/ext/resize/info.php index 72ea0bd1..326eafe3 100644 --- a/ext/resize/info.php +++ b/ext/resize/info.php @@ -1,16 +1,9 @@ - * Description: Allows admins to resize images. - * License: GPLv2 - * Version: 0.1 * Notice: * The image resize and resample code is based off of the "smart_resize_image" * function copyright 2008 Maxim Chernyak, released under a MIT-style license. - * Documentation: - * This extension allows admins to resize images. */ class ResizeImageInfo extends ExtensionInfo diff --git a/ext/rotate/info.php b/ext/rotate/info.php index de7bb471..b10e4ad0 100644 --- a/ext/rotate/info.php +++ b/ext/rotate/info.php @@ -1,16 +1,9 @@ / Agasa - * Description: Allows admins to rotate images. - * License: GPLv2 - * Version: 0.1 * Notice: * The image resize and resample code is based off of the "smart_resize_image" * function copyright 2008 Maxim Chernyak, released under a MIT-style license. - * Documentation: - * This extension allows admins to rotate images. */ class RotateImageInfo extends ExtensionInfo diff --git a/ext/rss_comments/info.php b/ext/rss_comments/info.php index f6074f62..a69d58b0 100644 --- a/ext/rss_comments/info.php +++ b/ext/rss_comments/info.php @@ -1,13 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Self explanatory - */ - class RSSCommentsInfo extends ExtensionInfo { public const KEY = "rss_comments"; diff --git a/ext/rss_images/info.php b/ext/rss_images/info.php index 33f814ed..bc58134c 100644 --- a/ext/rss_images/info.php +++ b/ext/rss_images/info.php @@ -1,12 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Self explanatory - */ class RSSImagesInfo extends ExtensionInfo { public const KEY = "rss_images"; diff --git a/ext/rule34/info.php b/ext/rule34/info.php index 606e9607..11988432 100644 --- a/ext/rule34/info.php +++ b/ext/rule34/info.php @@ -1,14 +1,5 @@ - * License: GPLv2 - * Description: Extra site-specific bits - * Documentation: - * - */ - class Rule34Info extends ExtensionInfo { public const KEY = "rule34"; diff --git a/ext/setup/info.php b/ext/setup/info.php index 03fb0774..7fa3e5ef 100644 --- a/ext/setup/info.php +++ b/ext/setup/info.php @@ -1,12 +1,5 @@ - * Description: A JSON interface to shimmie data [WARNING] - * Documentation: - * - */ - - class ShimmieApiInfo extends ExtensionInfo { public const KEY = "shimmie_api"; diff --git a/ext/site_description/info.php b/ext/site_description/info.php index 2bbc25e7..7a5da7bc 100644 --- a/ext/site_description/info.php +++ b/ext/site_description/info.php @@ -1,15 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Visibility: admin - * Description: A description for search engines - * Documentation: - * - */ class SiteDescriptionInfo extends ExtensionInfo { public const KEY = "site_description"; diff --git a/ext/sitemap/info.php b/ext/sitemap/info.php index 3cee3e3a..5f7cb12e 100644 --- a/ext/sitemap/info.php +++ b/ext/sitemap/info.php @@ -1,15 +1,5 @@ - * Author: Drudex Software - * Link: http://drudexsoftware.com - * License: GPLv2 - * Description: Sitemap with caching & advanced priorities - * Documentation: - */ - class XMLSitemapInfo extends ExtensionInfo { public const KEY = "sitemap"; diff --git a/ext/source_history/info.php b/ext/source_history/info.php index cce9a369..07784147 100644 --- a/ext/source_history/info.php +++ b/ext/source_history/info.php @@ -1,11 +1,5 @@ -* License: GPLv2 -* Visibility: admin -* Description: Sends Shimmie stats to a StatsD server -* Documentation: -* -*/ - class StatsDInterfaceInfo extends ExtensionInfo { public const KEY = "statsd"; diff --git a/ext/system/info.php b/ext/system/info.php index 7f32847f..04ed13d3 100644 --- a/ext/system/info.php +++ b/ext/system/info.php @@ -1,11 +1,5 @@ - * Description: Provides system screen - */ - class SystemInfo extends ExtensionInfo { public const KEY = "system"; diff --git a/ext/tag_categories/info.php b/ext/tag_categories/info.php index 7c3ebe1c..4b382754 100644 --- a/ext/tag_categories/info.php +++ b/ext/tag_categories/info.php @@ -1,11 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * Description: Let tags be split into 'categories', like Danbooru's tagging - */ class TagCategoriesInfo extends ExtensionInfo { public const KEY = "tag_categories"; diff --git a/ext/tag_edit/info.php b/ext/tag_edit/info.php index d19e1f45..4fb4fdd8 100644 --- a/ext/tag_edit/info.php +++ b/ext/tag_edit/info.php @@ -1,12 +1,5 @@ , modified by jgen - * Description: Keep a record of tag changes, and allows you to revert changes. - */ - class TagHistoryInfo extends ExtensionInfo { public const KEY = "tag_history"; diff --git a/ext/tag_history/theme.php b/ext/tag_history/theme.php index 099b8215..353901bb 100644 --- a/ext/tag_history/theme.php +++ b/ext/tag_history/theme.php @@ -1,9 +1,4 @@ , modified by jgen - */ - class TagHistoryTheme extends Themelet { private $messages = []; @@ -117,11 +112,11 @@ class TagHistoryTheme extends Themelet public function display_admin_block(string $validation_msg='') { global $page; - + if (!empty($validation_msg)) { $validation_msg = '
'. $validation_msg .''; } - + $html = ' Revert tag changes by a specific IP address or username, optionally limited to recent changes. '.$validation_msg.' @@ -137,7 +132,7 @@ class TagHistoryTheme extends Themelet "; $page->add_block(new Block("Mass Tag Revert", $html)); } - + /* * Show a standard page for results to be put into */ diff --git a/ext/tag_list/info.php b/ext/tag_list/info.php index a44adfe3..a3fa78f2 100644 --- a/ext/tag_list/info.php +++ b/ext/tag_list/info.php @@ -1,12 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * Description: Show the tags in various ways - */ - class TagListInfo extends ExtensionInfo { public const KEY = "tag_list"; diff --git a/ext/tagger/info.php b/ext/tagger/info.php index b240b70b..79d975b4 100644 --- a/ext/tagger/info.php +++ b/ext/tagger/info.php @@ -1,12 +1,5 @@ - * Do not remove this notice. - */ - class TaggerInfo extends ExtensionInfo { public const KEY = "tagger"; diff --git a/ext/tips/info.php b/ext/tips/info.php index acacf98e..f5822c7c 100644 --- a/ext/tips/info.php +++ b/ext/tips/info.php @@ -1,15 +1,5 @@ - * License: GPLv2 - * Description: Show a random line of text in the subheader space - * Documentation: - * Formatting is done with HTML - */ - - class TipsInfo extends ExtensionInfo { public const KEY = "tips"; diff --git a/ext/transcode/info.php b/ext/transcode/info.php index 5ed63862..ceb6f9f9 100644 --- a/ext/transcode/info.php +++ b/ext/transcode/info.php @@ -1,13 +1,5 @@ - * Description: Allows admins to automatically and manually transcode images. - * Documentation: - * - */ - class TranscodeImageInfo extends ExtensionInfo { public const KEY = "transcode"; diff --git a/ext/trash/info.php b/ext/trash/info.php index a4991f36..87d1c7eb 100644 --- a/ext/trash/info.php +++ b/ext/trash/info.php @@ -1,12 +1,5 @@ - * Description: Provides "Trash" or "Recycle Bin"-type functionality, storing delete images for later recovery - * Documentation: - */ - class TrashInfo extends ExtensionInfo { public const KEY = "trash"; diff --git a/ext/update/info.php b/ext/update/info.php index 979bcbab..9e3631b3 100644 --- a/ext/update/info.php +++ b/ext/update/info.php @@ -1,13 +1,5 @@ - * Link: http://www.codeanimu.net - * License: GPLv2 - * Description: Shimmie updater! (Requires admin panel extension & transload engine (cURL/fopen/Wget)) - */ - class UpdateInfo extends ExtensionInfo { public const KEY = "update"; diff --git a/ext/upgrade/info.php b/ext/upgrade/info.php index 6ece153b..8432ccb6 100644 --- a/ext/upgrade/info.php +++ b/ext/upgrade/info.php @@ -1,13 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * Description: Keeps things happy behind the scenes - * Visibility: admin - */ - class UpgradeInfo extends ExtensionInfo { public const KEY = "upgrade"; diff --git a/ext/upload/info.php b/ext/upload/info.php index c14ae1d3..b8e18692 100644 --- a/ext/upload/info.php +++ b/ext/upload/info.php @@ -1,12 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * Description: Allows people to upload files to the website - */ - class UploadInfo extends ExtensionInfo { public const KEY = "upload"; diff --git a/ext/user/info.php b/ext/user/info.php index f8b5943e..04664feb 100644 --- a/ext/user/info.php +++ b/ext/user/info.php @@ -1,11 +1,5 @@ - * Description: Provides system-wide support for user-specific settings - * Visibility: admin - */ - class UserConfigInfo extends ExtensionInfo { public const KEY = "user_config"; diff --git a/ext/varnish/info.php b/ext/varnish/info.php index eacaa0cd..4c0c575d 100644 --- a/ext/varnish/info.php +++ b/ext/varnish/info.php @@ -1,13 +1,5 @@ -* License: GPLv2 -* Visibility: admin -* Description: Sends PURGE requests when a /post/view is updated -*/ - class VarnishPurgerInfo extends ExtensionInfo { public const KEY = "varnish"; diff --git a/ext/view/info.php b/ext/view/info.php index a8e9cc81..55253ddf 100644 --- a/ext/view/info.php +++ b/ext/view/info.php @@ -1,12 +1,5 @@ - * License: GPLv2 - * Description: A simple wiki, for those who don't want the hugeness of mediawiki - * Documentation: - * - */ - class WikiInfo extends ExtensionInfo { public const KEY = "wiki"; diff --git a/ext/word_filter/info.php b/ext/word_filter/info.php index 89b76079..8575ef98 100644 --- a/ext/word_filter/info.php +++ b/ext/word_filter/info.php @@ -1,13 +1,5 @@ - * Link: http://code.shishnet.org/shimmie2/ - * License: GPLv2 - * Description: Simple search and replace - */ - class WordFilterInfo extends ExtensionInfo { public const KEY = "word_filter";