remove extension metadata comments (we have metadata objects now)

This commit is contained in:
Shish 2019-11-02 20:19:09 +00:00
parent 55c6854003
commit b568933f45
100 changed files with 176 additions and 1039 deletions

View File

@ -1,15 +1,5 @@
<?php
/**
* Name: Admin Controls
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,14 +1,5 @@
<?php
/**
* Name: Alias Editor
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Edit the alias list
* Documentation:
*/
class AliasEditorInfo extends ExtensionInfo
{
public const KEY = "alias_editor";

View File

@ -1,13 +1,5 @@
<?php
/**
* Name: Arrow Key Navigation
* Author: Drudex Software <support@drudexsoftware.com>
* 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";

View File

@ -1,14 +1,5 @@
<?php
/**
* Name: [Beta] Artists System
* Author: Sein Kraft <mail@seinkraft.info>
* Alpha <alpha@furries.com.ar>
* License: GPLv2
* Description: Simple artists extension
* Documentation:
*
*/
class ArtistsInfo extends ExtensionInfo
{
public const KEY = "artists";

View File

@ -1,11 +1,5 @@
<?php
/*
* Name: Autocomplete
* Author: Daku <admin@codeanimu.net>
* Description: Adds autocomplete to search & tagging.
*/
class AutoCompleteInfo extends ExtensionInfo
{
public const KEY = "autocomplete";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Comment Word Ban
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/**
* Name: BBCode
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Turns BBCode into HTML
*/
class BBCodeInfo extends ExtensionInfo
{
public const KEY = "bbcode";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Generic Blocks
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,11 +1,5 @@
<?php
/*
* Name: Blotter
* Author: Zach Hall <zach@sosguy.net> [http://seemslegit.com/]
* License: GPLv2
* Description:
*/
class BlotterInfo extends ExtensionInfo
{
public const KEY = "blotter";

View File

@ -1,17 +1,5 @@
<?php
/*
* Name: Browser Search
* Author: ATravelingGeek <atg@atravelinggeek.com>
* Some code (and lots of help) by Artanis (Erik Youngren <artanis.00@gmail.com>) 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";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Bulk Actions
* Author: Matthew Barbour
* License: WTFPL
* Description: Provides query and selection-based bulk action support
* Documentation: Provides bulk action section in list view. Allows performing actions against a set of images based on query or manual selection.
* Based on Mass Tagger by Christian Walde <walde.christian@googlemail.com>, contributions by Shish and Agasa.
*/
class BulkActionsInfo extends ExtensionInfo
{
public const KEY = "bulk_actions";

View File

@ -1,14 +1,5 @@
<?php
/*
* Name: Bulk Add
* Author: Shish <webmaster@shishnet.org>
* 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 <code>/home/bob/uploads/holiday/2008/</code> and point

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Bulk Add CSV
* Author: velocity37 <velocity37@gmail.com>
* License: GPLv2
* Description: Bulk add server-side images with metadata from CSV file
* Documentation:
*
*
*/
class BulkAddCSVInfo extends ExtensionInfo
{
public const KEY = "bulk_add_csv";

View File

@ -1,14 +1,5 @@
<?php
/*
* Name: [Beta] Bulk Remove
* Author: Drudex Software <support@drudexsoftware.com>
* 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";

View File

@ -1,15 +1,5 @@
<?php
/**
* Name: Image Comments
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,14 +1,5 @@
<?php
/**
* Name: Custom HTML Headers
* Author: Drudex Software <support@drudexsoftware.com>
* Link: http://www.drudexsoftware.com
* License: GPLv2
* Description: Allows admins to modify & set custom &lt;head&gt; content
* Documentation:
*
*/
class CustomHtmlHeadersInfo extends ExtensionInfo
{
public const KEY = "custom_html_headers";

View File

@ -1,13 +1,5 @@
<?php
/*
Name: Danbooru Client API
Author: JJS <jsutinen@gmail.com>
Description: Allow Danbooru apps like Danbooru Uploader for Firefox to communicate with Shimmie
Documentation:
*/
class DanbooruApiInfo extends ExtensionInfo
{
public const KEY = "danbooru_api";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Downtime
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Show a "down for maintenance" page
* Documentation:
*
*/
class DowntimeInfo extends ExtensionInfo
{
public const KEY = "downtime";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Emoticon Filter
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Lets users use graphical smilies
* Documentation:
*
*/
class EmoticonsInfo extends ExtensionInfo
{
public const KEY = "emoticons";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: System Info
* Author: Shish <webmaster@shishnet.org>
* License: GPLv2
* Description: Show various bits of system information
* Documentation:
*/
class ETInfo extends ExtensionInfo
{
public const KEY = "et";

View File

@ -1,15 +1,5 @@
<?php
/**
* Name: Extension Manager
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Favorites
* Author: Daniel Marschall <info@daniel-marschall.de>
* License: GPLv2
* Description: Allow users to favorite images
* Documentation:
*/
class FavoritesInfo extends ExtensionInfo
{
public const KEY = "favorites";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Featured Image
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,14 +1,5 @@
<?php
/**
* Name: [Beta] Forum
* Author: Sein Kraft <mail@seinkraft.info>
* Alpha <alpha@furries.com.ar>
* License: GPLv2
* Description: Rough forum extension
* Documentation:
*/
class ForumInfo extends ExtensionInfo
{
public const KEY = "dorum";

View File

@ -1,14 +1,5 @@
<?php
/**
* Name: Google Analytics
* Author: Drudex Software <support@drudexsoftware.com>
* Link: http://drudexsoftware.com
* License: GPLv2
* Description: Integrates Google Analytics tracking
* Documentation:
*
*/
class GoogleAnalyticsInfo extends ExtensionInfo
{
public const KEY = "google_analytics";

View File

@ -1,13 +1,5 @@
<?php
/**
* Name: 404 Detector
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Handle Archives
* Author: Shish <webmaster@shishnet.org>
* Description: Allow users to upload archives (zip, etc)
* Documentation:
*
*/
class ArchiveFileHandlerInfo extends ExtensionInfo
{
public const KEY = "handle_archive";

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: Handle Flash
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* Description: Handle Flash files.
*/
class FlashFileHandlerInfo extends ExtensionInfo
{
public const KEY = "handle_flash";

View File

@ -1,11 +1,5 @@
<?php
/*
* Name: Handle ICO
* Author: Shish <webmaster@shishnet.org>
* Description: Handle windows icons
*/
class IcoFileHandlerInfo extends ExtensionInfo
{
public const KEY = "handle_ico";

View File

@ -1,11 +1,5 @@
<?php
/*
* Name: Handle MP3
* Author: Shish <webmaster@shishnet.org>
* Description: Handle MP3 files
*/
class MP3FileHandlerInfo extends ExtensionInfo
{
public const KEY = "handle_mp3";

View File

@ -1,12 +1,5 @@
<?php
/**
* Name: Handle Pixel
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* Description: Handle JPEG, PNG, GIF, WEBP, etc files
*/
class PixelFileHandlerInfo extends ExtensionInfo
{
public const KEY = "handle_pixel";

View File

@ -1,14 +1,5 @@
<?php
/**
* Name: Static File Handler
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: Handle SVG
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* Description: Handle static SVG files.
*/
class SVGFileHandlerInfo extends ExtensionInfo
{
public const KEY = "handle_svg";

View File

@ -1,14 +1,5 @@
<?php
/*
* Name: Handle Video
* Author: velocity37 <velocity37@gmail.com>
* Modified By: Shish <webmaster@shishnet.org>, jgen <jeffgenovy@gmail.com>, im-mi <im.mi.mail.mi@gmail.com>
* License: GPLv2
* Description: Handle FLV, MP4, OGV and WEBM video files.
* Documentation:
*/
class VideoFileHandlerInfo extends ExtensionInfo
{
public const KEY = "handle_video";

View File

@ -1,11 +1,5 @@
<?php
/**
* Name: Help Pages
* Author: Matthew Barbour <matthew@darkholme.net>
* Description: Provides documentation screens
*/
class HelpPagesInfo extends ExtensionInfo
{
public const KEY = "help_pages";

View File

@ -1,12 +1,5 @@
<?php
/**
* Name: Holiday Theme
* Author: DakuTree <thedakutree@codeanimu.net>
* Link: http://www.codeanimu.net
* License: GPLv2
* Description: Use an additional stylesheet on certain holidays.
*/
class HolidayInfo extends ExtensionInfo
{
public const KEY = "holiday";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Home Page
* Author: Bzchan <bzchan@animemahou.com>
* 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";

View File

@ -1,14 +1,5 @@
<?php
/*
* Name: Image Manager
* Author: Shish <webmaster@shishnet.org>
* Modified by: jgen <jgen.tech@gmail.com>
* Link: http://code.shishnet.org/shimmie2/
* Description: Handle the image database
* Visibility: admin
*/
class ImageIOInfo extends ExtensionInfo
{
public const KEY = "image";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Image Hash Ban
* Author: ATravelingGeek <atg@atravelinggeek.com>
* 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";

View File

@ -1,14 +1,4 @@
<?php
/**
* Name: Image Hash Ban
* Author: ATravelingGeek <atg@atravelinggeek.com>
* 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
{

View File

@ -1,14 +1,5 @@
<?php
/**
* Name: Image View Counter
* Author: Drudex Software <support@drudexsoftware.com>
* 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";

View File

@ -1,160 +1,5 @@
<?php
/**
* Name: Image List
* Author: Shish <webmaster@shishnet.org>
* 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:
* <ul>
* <li>by tag, eg
* <ul>
* <li>cat
* <li>pie
* <li>somethi* -- wildcards are supported
* </ul>
* <li>size (=, &lt;, &gt;, &lt;=, &gt;=) width x height, eg
* <ul>
* <li>size=1024x768 -- a specific wallpaper size
* <li>size&gt;=500x500 -- no small images
* <li>size&lt;1000x1000 -- no large images
* </ul>
* <li>width (=, &lt;, &gt;, &lt;=, &gt;=) width, eg
* <ul>
* <li>width=1024 -- find images with 1024 width
* <li>width>2000 -- find images bigger than 2000 width
* </ul>
* <li>height (=, &lt;, &gt;, &lt;=, &gt;=) height, eg
* <ul>
* <li>height=768 -- find images with 768 height
* <li>height>1000 -- find images bigger than 1000 height
* </ul>
* <li>ratio (=, &lt;, &gt;, &lt;=, &gt;=) width : height, eg
* <ul>
* <li>ratio=4:3, ratio=16:9 -- standard wallpaper
* <li>ratio=1:1 -- square images
* <li>ratio<1:1 -- tall images
* <li>ratio>1:1 -- wide images
* </ul>
* <li>filesize (=, &lt;, &gt;, &lt;=, &gt;=) size, eg
* <ul>
* <li>filesize&gt;1024 -- no images under 1KB
* <li>filesize&lt=3MB -- shorthand filesizes are supported too
* </ul>
* <li>id (=, &lt;, &gt;, &lt;=, &gt;=) number, eg
* <ul>
* <li>id<20 -- search only the first few images
* <li>id>=500 -- search later images
* </ul>
* <li>user=Username & poster=Username, eg
* <ul>
* <li>user=Shish -- find all of Shish's posts
* <li>poster=Shish -- same as above
* </ul>
* <li>user_id=userID & poster_id=userID, eg
* <ul>
* <li>user_id=2 -- find all posts by user id 2
* <li>poster_id=2 -- same as above
* </ul>
* <li>hash=md5sum & md5=md5sum, eg
* <ul>
* <li>hash=bf5b59173f16b6937a4021713dbfaa72 -- find the "Taiga want up!" image
* <li>md5=bf5b59173f16b6937a4021713dbfaa72 -- same as above
* </ul>
* <li>filetype=type & ext=type, eg
* <ul>
* <li>filetype=png -- find all PNG images
* <li>ext=png -- same as above
* </ul>
* <li>filename=blah & name=blah, eg
* <ul>
* <li>filename=kitten -- find all images with "kitten" in the original filename
* <li>name=kitten -- same as above
* </ul>
* <li>posted (=, &lt;, &gt;, &lt;=, &gt;=) date, eg
* <ul>
* <li>posted&gt;=2009-12-25 posted&lt;=2010-01-01 -- find images posted between christmas and new year
* </ul>
* <li>tags (=, &lt;, &gt;, &lt;=, &gt;=) count, eg
* <ul>
* <li>tags=1 -- search for images with only 1 tag
* <li>tags>=10 -- search for images with 10 or more tags
* <li>tags<25 -- search for images with less than 25 tags
* </ul>
* <li>source=(URL, any, none) eg
* <ul>
* <li>source=http://example.com -- find all images with "http://example.com" in the source
* <li>source=any -- find all images with a source
* <li>source=none -- find all images without a source
* </ul>
* <li>order=(id, width, height, filesize, filename)_(ASC, DESC), eg
* <ul>
* <li>order=width -- find all images sorted from highest > lowest width
* <li>order=filesize_asc -- find all images sorted from lowest > highest filesize
* </ul>
* <li>order=random_####, eg
* <ul>
* <li>order=random_8547 -- find all images sorted randomly using 8547 as a seed
* </ul>
* </ul>
* <p>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.
* <p>Metatags can be followed by ":" rather than "=" if you prefer.
* <br />I.E: "posted:2014-01-01", "id:>=500" etc.
* <p>Some search methods provided by extensions:
* <ul>
* <li>Numeric Score
* <ul>
* <li>score (=, &lt;, &gt;, &lt;=, &gt;=) number -- seach by score
* <li>upvoted_by=Username -- search for a user's likes
* <li>downvoted_by=Username -- search for a user's dislikes
* <li>upvoted_by_id=UserID -- search for a user's likes by user ID
* <li>downvoted_by_id=UserID -- search for a user's dislikes by user ID
* <li>order=score_(ASC, DESC) -- find all images sorted from by score
* </ul>
* <li>Image Rating
* <ul>
* <li>rating=se -- find safe and explicit images, ignore questionable and unknown
* </ul>
* <li>Favorites
* <ul>
* <li>favorites (=, &lt;, &gt;, &lt;=, &gt;=) number -- search for images favourited a certain number of times
* <li>favourited_by=Username -- search for a user's choices by username
* <li>favorited_by_userno=UserID -- search for a user's choice by userID
* </ul>
* <li>Notes
* <ul>
* <li>notes (=, &lt;, &gt;, &lt;=, &gt;=) number -- search by the number of notes an image has
* <li>notes_by=Username -- search for images containing notes created by username
* <li>notes_by_userno=UserID -- search for images containing notes created by userID
* </ul>
* <li>Artists
* <ul>
* <li>author=ArtistName -- search for images by artist
* </ul>
* <li>Image Comments
* <ul>
* <li>comments (=, &lt;, &gt;, &lt;=, &gt;=) number -- search for images by number of comments
* <li>commented_by=Username -- search for images containing user's comments by username
* <li>commented_by_userno=UserID -- search for images containing user's comments by userID
* </ul>
* <li>Pools
* <ul>
* <li>pool=(PoolID, any, none) -- search for images in a pool by PoolID.
* <li>pool_by_name=PoolName -- search for images in a pool by PoolName. underscores are replaced with spaces
* </ul>
* <li>Post Relationships
* <ul>
* <li>parent=(parentID, any, none) -- search for images by parentID / if they have, do not have a parent
* <li>child=(any, none) -- search for images which have, or do not have children
* </ul>
* </ul>
*/
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:
<ul>
<li>by tag, eg
<ul>
<li>cat
<li>pie
<li>somethi* -- wildcards are supported
</ul>
<li>size (=, &lt;, &gt;, &lt;=, &gt;=) width x height, eg
<ul>
<li>size=1024x768 -- a specific wallpaper size
<li>size&gt;=500x500 -- no small images
<li>size&lt;1000x1000 -- no large images
</ul>
<li>width (=, &lt;, &gt;, &lt;=, &gt;=) width, eg
<ul>
<li>width=1024 -- find images with 1024 width
<li>width>2000 -- find images bigger than 2000 width
</ul>
<li>height (=, &lt;, &gt;, &lt;=, &gt;=) height, eg
<ul>
<li>height=768 -- find images with 768 height
<li>height>1000 -- find images bigger than 1000 height
</ul>
<li>ratio (=, &lt;, &gt;, &lt;=, &gt;=) width : height, eg
<ul>
<li>ratio=4:3, ratio=16:9 -- standard wallpaper
<li>ratio=1:1 -- square images
<li>ratio<1:1 -- tall images
<li>ratio>1:1 -- wide images
</ul>
<li>filesize (=, &lt;, &gt;, &lt;=, &gt;=) size, eg
<ul>
<li>filesize&gt;1024 -- no images under 1KB
<li>filesize&lt=3MB -- shorthand filesizes are supported too
</ul>
<li>id (=, &lt;, &gt;, &lt;=, &gt;=) number, eg
<ul>
<li>id<20 -- search only the first few images
<li>id>=500 -- search later images
</ul>
<li>user=Username & poster=Username, eg
<ul>
<li>user=Shish -- find all of Shish's posts
<li>poster=Shish -- same as above
</ul>
<li>user_id=userID & poster_id=userID, eg
<ul>
<li>user_id=2 -- find all posts by user id 2
<li>poster_id=2 -- same as above
</ul>
<li>hash=md5sum & md5=md5sum, eg
<ul>
<li>hash=bf5b59173f16b6937a4021713dbfaa72 -- find the \"Taiga want up!\" image
<li>md5=bf5b59173f16b6937a4021713dbfaa72 -- same as above
</ul>
<li>filetype=type & ext=type, eg
<ul>
<li>filetype=png -- find all PNG images
<li>ext=png -- same as above
</ul>
<li>filename=blah & name=blah, eg
<ul>
<li>filename=kitten -- find all images with \"kitten\" in the original filename
<li>name=kitten -- same as above
</ul>
<li>posted (=, &lt;, &gt;, &lt;=, &gt;=) date, eg
<ul>
<li>posted&gt;=2009-12-25 posted&lt;=2010-01-01 -- find images posted between christmas and new year
</ul>
<li>tags (=, &lt;, &gt;, &lt;=, &gt;=) count, eg
<ul>
<li>tags=1 -- search for images with only 1 tag
<li>tags>=10 -- search for images with 10 or more tags
<li>tags<25 -- search for images with less than 25 tags
</ul>
<li>source=(URL, any, none) eg
<ul>
<li>source=http://example.com -- find all images with \"http://example.com\" in the source
<li>source=any -- find all images with a source
<li>source=none -- find all images without a source
</ul>
<li>order=(id, width, height, filesize, filename)_(ASC, DESC), eg
<ul>
<li>order=width -- find all images sorted from highest > lowest width
<li>order=filesize_asc -- find all images sorted from lowest > highest filesize
</ul>
<li>order=random_####, eg
<ul>
<li>order=random_8547 -- find all images sorted randomly using 8547 as a seed
</ul>
</ul>
<p>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.
<p>Metatags can be followed by \":\" rather than \"=\" if you prefer.
<br />I.E: \"posted:2014-01-01\", \"id:>=500\" etc.
<p>Some search methods provided by extensions:
<ul>
<li>Numeric Score
<ul>
<li>score (=, &lt;, &gt;, &lt;=, &gt;=) number -- seach by score
<li>upvoted_by=Username -- search for a user's likes
<li>downvoted_by=Username -- search for a user's dislikes
<li>upvoted_by_id=UserID -- search for a user's likes by user ID
<li>downvoted_by_id=UserID -- search for a user's dislikes by user ID
<li>order=score_(ASC, DESC) -- find all images sorted from by score
</ul>
<li>Image Rating
<ul>
<li>rating=se -- find safe and explicit images, ignore questionable and unknown
</ul>
<li>Favorites
<ul>
<li>favorites (=, &lt;, &gt;, &lt;=, &gt;=) number -- search for images favourited a certain number of times
<li>favourited_by=Username -- search for a user's choices by username
<li>favorited_by_userno=UserID -- search for a user's choice by userID
</ul>
<li>Notes
<ul>
<li>notes (=, &lt;, &gt;, &lt;=, &gt;=) number -- search by the number of notes an image has
<li>notes_by=Username -- search for images containing notes created by username
<li>notes_by_userno=UserID -- search for images containing notes created by userID
</ul>
<li>Artists
<ul>
<li>author=ArtistName -- search for images by artist
</ul>
<li>Image Comments
<ul>
<li>comments (=, &lt;, &gt;, &lt;=, &gt;=) number -- search for images by number of comments
<li>commented_by=Username -- search for images containing user's comments by username
<li>commented_by_userno=UserID -- search for images containing user's comments by userID
</ul>
<li>Pools
<ul>
<li>pool=(PoolID, any, none) -- search for images in a pool by PoolID.
<li>pool_by_name=PoolName -- search for images in a pool by PoolName. underscores are replaced with spaces
</ul>
<li>Post Relationships
<ul>
<li>parent=(parentID, any, none) -- search for images by parentID / if they have, do not have a parent
<li>child=(any, none) -- search for images which have, or do not have children
</ul>
</ul>
";
}

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: IP Ban
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Ban IP addresses
* Documentation:
*
*/
class IPBanInfo extends ExtensionInfo
{
public const KEY = "ipban";

View File

@ -1,11 +1,5 @@
<?php
/*
* Name: Link to Image
* Author: Artanis <artanis.00@gmail.com>
* 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.
<pre>
|| 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. ||
</pre>
<p>Link to Image will default this option to '\$title - \$id (\$ext \$size \$filesize)'.
<p>To reset to the default, simply clear the current setting. Link to Image
will then fill in the default value after the save.
<p>To leave the setting blank for any reason, leave a space (' ') in it.";
}

View File

@ -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 <artanis.00@gmail.com>
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 "&lt;" from the first escape becoming "&amp;gt;" and "&amp;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

View File

@ -1,14 +1,5 @@
<?php
/*
* Name: Live Feed
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Logging (Database)
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Logging (Logstash)
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Logging (Network)
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/**
* Name: Mail System
* Author: Zach Hall <zach@sosguy.net>
* Link: http://seemslegit.com
* License: GPLv2
* Description: Provides an interface for sending and receiving mail.
*/
class MailInfo extends ExtensionInfo
{
public const KEY = "mail";

View File

@ -1,11 +1,5 @@
<?php
/*
* Name: Media
* Author: Matthew Barbour <matthew@darkholme.net>
* Description: Provides common functions and settings used for media operations.
*/
class MediaInfo extends ExtensionInfo
{
public const KEY = "media";

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: Not A Tag
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/**
* Name: [Beta] Notes
* Author: Sein Kraft <mail@seinkraft.info>
* License: GPLv2
* Description: Annotate images
* Documentation:
*/
class NotesInfo extends ExtensionInfo
{
public const KEY = "notes";

View File

@ -1,14 +1,5 @@
<?php
/*
* Name: Image Scores (Numeric)
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Allow users to score images
* Documentation:
*/
class NumericScoreInfo extends ExtensionInfo
{
public const KEY = "numeric_score";

View File

@ -1,11 +1,5 @@
<?php
/*
* Name: [Beta] Oekaki
* Author: Shish
* Description: ChibiPaint-based Oekaki uploader
*/
class OekakiInfo extends ExtensionInfo
{
public const KEY = "oekaki";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Ouroboros API
* Author: Diftraku <diftraku[at]derpy.me>
* Description: Ouroboros-like API for Shimmie
* Version: 0.2
* Documentation:
*
*/
class OuroborosAPIInfo extends ExtensionInfo
{
public const KEY = "ouroboros_api";

View File

@ -1,14 +1,5 @@
<?php
/*
* Name: Private Messaging
* Author: Shish <webmaster@shishnet.org>
* License: GPLv2
* Description: Allow users to send messages to eachother
* Documentation:
*
*/
class PrivMsgInfo extends ExtensionInfo
{
public const KEY = "pm";

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: [Beta] PM triggers
* Author: Shish <webmaster@shishnet.org>
* License: GPLv2
* Description: Send PMs in response to certain events (eg image deletion)
*/
class PMTriggerInfo extends ExtensionInfo
{
public const KEY = "pm_triggers";

View File

@ -1,13 +1,5 @@
<?php
/**
* Name: Pools System
* Author: Sein Kraft <mail@seinkraft.info>, jgen <jgen.tech@gmail.com>, Daku <admin@codeanimu.net>
* License: GPLv2
* Description: Allow users to create groups of images and order them.
* Documentation:
*/
class PoolsInfo extends ExtensionInfo
{
public const KEY = "pools";

View File

@ -1,11 +1,5 @@
<?php
/**
* Name: Post Titles
* Author: Matthew Barbour <matthew@darkholme.net>
* Description: Add titles to media posts
*/
class PostTitlesInfo extends ExtensionInfo
{
public const KEY = "post_titles";

View File

@ -1,9 +1,5 @@
<?php
/*
* Name: QR Codes
* Author: Zach Hall <zach@sosguy.net> [http://seemslegit.com]
* Description:
*/
class QRImageInfo extends ExtensionInfo
{
public const KEY = "qr_code";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Random Image
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Random List
* Author: Drudex Software <support@drudexsoftware.com>
* 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";

View File

@ -1,14 +1,5 @@
<?php
/*
* Name: Image Ratings
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Regen Thumb
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description:
* Documentation:
*/
class RegenThumbInfo extends ExtensionInfo
{
public const KEY = "regen_thumb";

View File

@ -1,12 +1,5 @@
<?php
/**
* Name: Post Relationships
* Author: Angus Johnston <admin@codeanimu.net>
* License: GPLv2
* Description: Allow posts to have relationships (parent/child).
*/
class RelationshipsInfo extends ExtensionInfo
{
public const KEY = "relationships";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Report Images
* Author: ATravelingGeek <atg@atravelinggeek.com>
* 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";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Report Images
* Author: ATravelingGeek (atg@atravelinggeek.com
* 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 ReportImageTheme extends Themelet
{
public function display_reported_images(Page $page, array $reports)

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: Resolution Limiter
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,16 +1,9 @@
<?php
/*
* Name: Resize Image
* Author: jgen <jgen.tech@gmail.com>
* 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

View File

@ -1,16 +1,9 @@
<?php
/*
* Name: Rotate Image
* Author: jgen <jgen.tech@gmail.com> / Agasa <hiroshiagasa@gmail.com>
* 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

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: RSS for Comments
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Self explanatory
*/
class RSSCommentsInfo extends ExtensionInfo
{
public const KEY = "rss_comments";

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: RSS for Images
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Self explanatory
*/
class RSSImagesInfo extends ExtensionInfo
{
public const KEY = "rss_images";

View File

@ -1,14 +1,5 @@
<?php
/**
* Name: Rule34 Customisations
* Author: Shish <webmaster@shishnet.org>
* License: GPLv2
* Description: Extra site-specific bits
* Documentation:
*
*/
class Rule34Info extends ExtensionInfo
{
public const KEY = "rule34";

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: Board Config
* Author: Shish
* Visibility: admin
* Description: Allows the site admin to configure the board to his or her taste
*/
class SetupInfo extends ExtensionInfo
{
public const KEY = "setup";

View File

@ -1,14 +1,5 @@
<?php
/*
* Name: [Beta] Shimmie JSON API
* Author: Shish <webmaster@shishnet.org>
* Description: A JSON interface to shimmie data [WARNING]
* Documentation:
*
*/
class ShimmieApiInfo extends ExtensionInfo
{
public const KEY = "shimmie_api";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: Site Description
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: XML Sitemap
* Author: Sein Kraft <mail@seinkraft.info>
* Author: Drudex Software <support@drudexsoftware.com>
* Link: http://drudexsoftware.com
* License: GPLv2
* Description: Sitemap with caching & advanced priorities
* Documentation:
*/
class XMLSitemapInfo extends ExtensionInfo
{
public const KEY = "sitemap";

View File

@ -1,11 +1,5 @@
<?php
/*
* Name: Source History
* Author: Shish, copied from Source History
* Description: Keep a record of source changes, and allows you to revert changes.
*/
class SourceHistoryInfo extends ExtensionInfo
{
public const KEY = "source_history";

View File

@ -1,15 +1,5 @@
<?php
/*
* Name: StatsD Interface
* Author: Shish <webmaster@shishnet.org>
* License: GPLv2
* Visibility: admin
* Description: Sends Shimmie stats to a StatsD server
* Documentation:
*
*/
class StatsDInterfaceInfo extends ExtensionInfo
{
public const KEY = "statsd";

View File

@ -1,11 +1,5 @@
<?php
/**
* Name: System
* Author: Matthew Barbour <matthew@darkholme.net>
* Description: Provides system screen
*/
class SystemInfo extends ExtensionInfo
{
public const KEY = "system";

View File

@ -1,11 +1,5 @@
<?php
/**
* Name: Tag Categories
* Author: Daniel Oaks <danneh@danneh.net>
* 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";

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: Tag Editor
* Author: Shish
* Description: Allow images to have tags assigned to them
* Documentation:
*/
class TagEditInfo extends ExtensionInfo
{
public const KEY = "tag_edit";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Tag EditCloud
* Author: AtomicDryad
* Contributors:
* Schizius (Relevance Sort, Category Integration, Cleanup)
* Description: Add or remove tags to the editor via clicking.
*/
class TagEditCloudInfo extends ExtensionInfo
{
public const KEY = "tag_editcloud";

View File

@ -1,11 +1,5 @@
<?php
/*
* Name: Tag History
* Author: Bzchan <bzchan@animemahou.com>, modified by jgen <jgen.tech@gmail.com>
* Description: Keep a record of tag changes, and allows you to revert changes.
*/
class TagHistoryInfo extends ExtensionInfo
{
public const KEY = "tag_history";

View File

@ -1,9 +1,4 @@
<?php
/*
* Name: Tag History
* Author: Bzchan <bzchan@animemahou.com>, modified by jgen <jgen.tech@gmail.com>
*/
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 = '<br><b>'. $validation_msg .'</b>';
}
$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
*/

View File

@ -1,12 +1,5 @@
<?php
/**
* Name: Tag List
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* Description: Show the tags in various ways
*/
class TagListInfo extends ExtensionInfo
{
public const KEY = "tag_list";

View File

@ -1,12 +1,5 @@
<?php
/**
* Name: Tagger
* Description: Advanced Tagging v2
* Author: Artanis (Erik Youngren) <artanis.00@gmail.com>
* Do not remove this notice.
*/
class TaggerInfo extends ExtensionInfo
{
public const KEY = "tagger";

View File

@ -1,15 +1,5 @@
<?php
/**
* Name: Random Tip
* Author: Sein Kraft <mail@seinkraft.info>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Transcode Image
* Author: Matthew Barbour <matthew@darkholme.net>
* Description: Allows admins to automatically and manually transcode images.
* Documentation:
*
*/
class TranscodeImageInfo extends ExtensionInfo
{
public const KEY = "transcode";

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: Trash
* Author: Matthew Barbour <matthew@darkohlme.net>
* Description: Provides "Trash" or "Recycle Bin"-type functionality, storing delete images for later recovery
* Documentation:
*/
class TrashInfo extends ExtensionInfo
{
public const KEY = "trash";

View File

@ -1,13 +1,5 @@
<?php
/**
* Name: [Beta] Update
* Author: DakuTree <dakutree@codeanimu.net>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Database Upgrader
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* Description: Keeps things happy behind the scenes
* Visibility: admin
*/
class UpgradeInfo extends ExtensionInfo
{
public const KEY = "upgrade";

View File

@ -1,12 +1,5 @@
<?php
/**
* Name: Uploader
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* Description: Allows people to upload files to the website
*/
class UploadInfo extends ExtensionInfo
{
public const KEY = "upload";

View File

@ -1,11 +1,5 @@
<?php
/*
* Name: User Management
* Author: Shish
* Description: Allows people to sign up to the website
*/
class UserPageInfo extends ExtensionInfo
{
public const KEY = "user";

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: User-specific settings
* Author: Matthew Barbour <matthew@darkholme.net>
* Description: Provides system-wide support for user-specific settings
* Visibility: admin
*/
class UserConfigInfo extends ExtensionInfo
{
public const KEY = "user_config";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Varnish Purger
* Author: Shish <webmaster@shishnet.org>
* License: GPLv2
* Visibility: admin
* Description: Sends PURGE requests when a /post/view is updated
*/
class VarnishPurgerInfo extends ExtensionInfo
{
public const KEY = "varnish";

View File

@ -1,12 +1,5 @@
<?php
/*
* Name: Image Viewer
* Author: Shish
* Description: Allows users to see uploaded images
*/
class ViewImageInfo extends ExtensionInfo
{
public const KEY = "view";

View File

@ -1,14 +1,5 @@
<?php
/*
* Name: Simple Wiki
* Author: Shish <webmaster@shishnet.org>
* 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";

View File

@ -1,13 +1,5 @@
<?php
/*
* Name: Word Filter
* Author: Shish <webmaster@shishnet.org>
* Link: http://code.shishnet.org/shimmie2/
* License: GPLv2
* Description: Simple search and replace
*/
class WordFilterInfo extends ExtensionInfo
{
public const KEY = "word_filter";