Commit cf136682 authored by disappearer's avatar disappearer

Initial upload of /pi3 (Reviewing framework)


git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/terfe/trunk@2445 735d13b6-9817-0410-8766-e36946ffe9aa
parent 9fb3a923
(add new changes on top of this file)
06-01-02 Michael Scharkow <michael@underused.org>
* Initial upload of /pi3 (Reviewing framework)
05-08-12 Robert Lemke <robert@typo3.org>
* Initial release
......@@ -3,7 +3,7 @@
########################################################################
# Extension Manager/Repository config file for ext: "ter_fe"
#
# Auto generated 12-08-2005 17:50
# Auto generated 16-12-2005 00:20
#
# Manual updates:
# Only the data in the array - anything else is removed by next write
......@@ -16,7 +16,7 @@ $EM_CONF[$_EXTKEY] = Array (
'author' => 'Robert Lemke',
'author_email' => 'robert@typo3.org',
'shy' => '',
'dependencies' => '',
'dependencies' => 'cms,lang,captcha',
'conflicts' => '',
'priority' => '',
'module' => '',
......@@ -31,7 +31,7 @@ $EM_CONF[$_EXTKEY] = Array (
'private' => '',
'download_password' => '',
'version' => '0.0.0', // Don't modify this! Managed automatically during upload to repository.
'_md5_values_when_last_written' => 'a:15:{s:9:"ChangeLog";s:4:"b757";s:10:"README.txt";s:4:"ee2d";s:12:"ext_icon.gif";s:4:"1bdc";s:17:"ext_localconf.php";s:4:"e3f2";s:14:"ext_tables.php";s:4:"faf3";s:13:"locallang.php";s:4:"97b9";s:16:"locallang_db.php";s:4:"f837";s:19:"doc/wizard_form.dat";s:4:"b64e";s:20:"doc/wizard_form.html";s:4:"94c8";s:14:"pi1/ce_wiz.gif";s:4:"02b6";s:26:"pi1/class.tx_terfe_pi1.php";s:4:"fd88";s:34:"pi1/class.tx_terfe_pi1_wizicon.php";s:4:"8221";s:13:"pi1/clear.gif";s:4:"cc11";s:17:"pi1/locallang.php";s:4:"2fd9";s:24:"pi1/static/editorcfg.txt";s:4:"5183";}',
'_md5_values_when_last_written' => 'a:52:{s:8:".project";s:4:"e45a";s:9:"ChangeLog";s:4:"b757";s:21:"ext_conf_template.txt";s:4:"fcd1";s:12:"ext_icon.gif";s:4:"1cd6";s:17:"ext_localconf.php";s:4:"1725";s:14:"ext_tables.php";s:4:"d86f";s:14:"ext_tables.sql";s:4:"d02d";s:24:"ext_typoscript_setup.txt";s:4:"35fc";s:30:"flexform_ds_pluginmode_pi1.xml";s:4:"ec1e";s:30:"flexform_ds_pluginmode_pi2.xml";s:4:"79a4";s:13:"locallang.php";s:4:"e79a";s:16:"locallang_db.php";s:4:"ce48";s:14:"doc/manual.sxw";s:4:"fe2d";s:14:"pi1/ce_wiz.gif";s:4:"02b6";s:26:"pi1/class.tx_terfe_pi1.php";s:4:"4233";s:34:"pi1/class.tx_terfe_pi1_wizicon.php";s:4:"8221";s:13:"pi1/clear.gif";s:4:"cc11";s:17:"pi1/locallang.php";s:4:"039a";s:15:"pi1/CVS/Entries";s:4:"e230";s:18:"pi1/CVS/Repository";s:4:"2ab0";s:12:"pi1/CVS/Root";s:4:"a7f0";s:14:"pi2/ce_wiz.gif";s:4:"02b6";s:26:"pi2/class.tx_terfe_pi2.php";s:4:"7301";s:34:"pi2/class.tx_terfe_pi2_wizicon.php";s:4:"3d1e";s:13:"pi2/clear.gif";s:4:"cc11";s:17:"pi2/locallang.php";s:4:"12f8";s:15:"pi2/CVS/Entries";s:4:"2de4";s:18:"pi2/CVS/Repository";s:4:"f18b";s:12:"pi2/CVS/Root";s:4:"a7f0";s:22:"res/changepassword.gif";s:4:"8be0";s:14:"res/delete.gif";s:4:"46fc";s:13:"res/error.gif";s:4:"3dee";s:12:"res/info.gif";s:4:"eed4";s:19:"res/state_alpha.gif";s:4:"2842";s:18:"res/state_beta.gif";s:4:"9df8";s:26:"res/state_experimental.gif";s:4:"a039";s:16:"res/state_na.gif";s:4:"fb15";s:22:"res/state_obsolete.gif";s:4:"a69b";s:20:"res/state_stable.gif";s:4:"de1c";s:18:"res/state_test.gif";s:4:"f92e";s:19:"res/transferkey.gif";s:4:"ba35";s:15:"res/CVS/Entries";s:4:"77e1";s:18:"res/CVS/Repository";s:4:"8e57";s:12:"res/CVS/Root";s:4:"a7f0";s:11:"CVS/Entries";s:4:"e502";s:14:"CVS/Repository";s:4:"02e7";s:8:"CVS/Root";s:4:"a7f0";s:14:"pi3/ce_wiz.gif";s:4:"02b6";s:26:"pi3/class.tx_terfe_pi3.php";s:4:"3c02";s:34:"pi3/class.tx_terfe_pi3_wizicon.php";s:4:"fa7e";s:13:"pi3/clear.gif";s:4:"cc11";s:17:"pi3/locallang.php";s:4:"6870";}',
);
?>
\ No newline at end of file
......@@ -3,5 +3,6 @@ if (!defined ('TYPO3_MODE')) die ('Access denied.');
t3lib_extMgm::addPItoST43($_EXTKEY,'pi1/class.tx_terfe_pi1.php','_pi1','list_type',1);
t3lib_extMgm::addPItoST43($_EXTKEY,'pi2/class.tx_terfe_pi2.php','_pi2','list_type',0);
t3lib_extMgm::addPItoST43($_EXTKEY,'pi3/class.tx_terfe_pi3.php','_pi3','list_type',0);
?>
\ No newline at end of file
......@@ -11,9 +11,13 @@ t3lib_extMgm::addPlugin(Array('LLL:EXT:ter_fe/locallang_db.php:tt_content.list_t
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi2']='layout,select_key,pages,recursive';
t3lib_extMgm::addPlugin(Array('LLL:EXT:ter_fe/locallang_db.php:tt_content.list_type_pi2', $_EXTKEY.'_pi2'),'list_type');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi3']='layout,select_key,pages,recursive';
t3lib_extMgm::addPlugin(Array('LLL:EXT:ter_fe/locallang_db.php:tt_content.list_type_pi3', $_EXTKEY.'_pi3'),'list_type');
if (TYPO3_MODE=='BE') {
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_terfe_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY).'pi1/class.tx_terfe_pi1_wizicon.php';
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_terfe_pi2_wizicon'] = t3lib_extMgm::extPath($_EXTKEY).'pi2/class.tx_terfe_pi2_wizicon.php';
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_terfe_pi3_wizicon'] = t3lib_extMgm::extPath($_EXTKEY).'pi3/class.tx_terfe_pi3_wizicon.php';
}
?>
\ No newline at end of file
......@@ -9,6 +9,7 @@ CREATE TABLE tx_terfe_extensions (
title varchar(50) DEFAULT '' NOT NULL,
description varchar(255) DEFAULT '' NOT NULL,
state varchar(15) DEFAULT '' NOT NULL,
reviewstate int(11) DEFAULT '0' NOT NULL,
category varchar(30) DEFAULT '' NOT NULL,
lastuploaddate int(11) DEFAULT '0' NOT NULL,
uploadcomment varchar(255) DEFAULT '' NOT NULL,
......@@ -39,3 +40,59 @@ CREATE TABLE tx_terfe_extensiondetails (
KEY extkey (extensionkey),
KEY extversion (version),
);
#
# Table structure for table 'tx_terfe_extensiondependencies'
#
CREATE TABLE tx_terfe_extensiondependencies (
extensionkey varchar(30) DEFAULT '' NOT NULL,
dependingextensions text NOT NULL,
PRIMARY KEY (extensionkey),
);
#
# Table structure for table 'tx_terfe_reviews'
#
CREATE TABLE tx_terfe_reviews (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
reviewer text NOT NULL,
extensionkey varchar(30) DEFAULT '' NOT NULL,
version varchar(11) DEFAULT '' NOT NULL,
t3xfilemd5 varchar(32) DEFAULT '' NOT NULL,
reviewstate int(11) DEFAULT '0' NOT NULL,
objections varchar(255) NOT NULL default '',
notes text NOT NULL,
tstamp int(11) NOT NULL default '0',
PRIMARY KEY (uid),
);
#
# Table structure for table 'tx_terfe_reviewnotes'
#
CREATE TABLE tx_terfe_reviewnotes (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
reviewuid int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
note text NOT NULL,
reviewer varchar(30) DEFAULT '' NOT NULL,
PRIMARY KEY (uid)
);
#
# Table structure for table 'tx_terfe_reviewemails'
#
CREATE TABLE tx_terfe_reviewemails (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
reviewuid int(11) unsigned DEFAULT '0' NOT NULL,
reviewer varchar(30) DEFAULT '' NOT NULL,
mailcontent mediumblob NOT NULL,
from_email varchar(80) DEFAULT '' NOT NULL,
to_email varchar(80) DEFAULT '' NOT NULL,
reply_to_email varchar(80) DEFAULT '' NOT NULL,
sender_email varchar(80) DEFAULT '' NOT NULL,
message_id varchar(80) DEFAULT '' NOT NULL,
subject tinytext NOT NULL,
PRIMARY KEY (uid)
);
plugin.tx_terfe_pi1 {
repositoryDirectory =
}
\ No newline at end of file
}
plugin.tx_terfe_pi3 {
repositoryDirectory =
}
......@@ -11,6 +11,8 @@ $LOCAL_LANG = Array (
'pi1_plus_wiz_description' => 'Frontend for the TYPO3 Extensoin Repository',
'pi2_title' => 'TER Extension Key Management',
'pi2_plus_wiz_description' => 'Plugin for registering and managing extension keys',
'pi3_title' => 'TER Reviewing Framework',
'pi3_plus_wiz_description' => 'Plugin for reviewing extensions',
),
'dk' => Array (
),
......
......@@ -9,6 +9,7 @@ $LOCAL_LANG = Array (
'default' => Array (
'tt_content.list_type_pi1' => 'TER Frontend',
'tt_content.list_type_pi2' => 'TER Registration Key Management',
'tt_content.list_type_pi3' => 'TER Review Framework',
),
'de' => Array (
),
......
This diff is collapsed.
......@@ -20,9 +20,18 @@ $LOCAL_LANG = Array (
'views_popular' => 'Popular',
'views_search' => 'Search',
'views_fulllist' => 'Full list',
'views_unsupported' => 'Unsupported',
'renderview_new_introduction' => 'These extensions have been added or updated during the last %s days:',
'listview_new_introduction' => 'These extensions have been added or updated during the last %s days:',
'listview_fulllist_introduction' => 'This is a list of all extension versions which have at least roughly been checked for possible security issues. Although we have taken great care in reviewing these extensions we cannot guarantee that all of them are secure.',
'listview_unsupported_introduction' => 'The following list contains all extensions which have been uploaded recently and have not been reviewed yet or will never be imported into the official repository.',
'listview_unsupported_introduction_warning' => 'WARNING! These extensions have not been checked for security issues. It is not recommended using any of them in a production enviroment!',
'listview_search_searchbutton' => 'Search',
'listview_search_noresult' => 'Sorry, your search had no results.',
'extension_extensionkey' => 'Extension key',
'extension_title' => 'Title',
'extension_version' => 'Version',
......@@ -33,12 +42,18 @@ $LOCAL_LANG = Array (
'extension_state_test' => 'Test',
'extension_state_experimental' => 'Experimental',
'extension_state_obsolete' => 'Obsolete',
'extension_reviewstate' => 'Review state',
'extension_reviewstate_0' => 'Not reviewed!',
'extension_reviewstate_1' => 'Passed a basic security check',
'extension_dependencies' => 'Dependencies',
'extension_dependencies_kind_depends' => 'depends on',
'extension_dependencies_kind_conflicts' => 'conflicts with',
'extension_dependencies_kind_suggests' => 'suggests',
'extension_dependencies_kind_recommends' => 'recommends',
'extension_dependencies_kind_replaces' => 'replaces',
'extension_dependencies_someextensionsarenotavailable' => 'Warning: Some of the extensions (or versions) are not available in the official repository!',
'extension_reversedependencies' => 'Reverse dependencies',
'extension_reversedependencies_intro' => 'The following extension versions depend on this extension:',
'extension_authorname' => 'Author',
'extension_category' => 'Category',
'extension_category_be' => 'Backend',
......@@ -66,10 +81,28 @@ $LOCAL_LANG = Array (
'extensioninfo_views_feedback' => 'Feedback',
'extensioninfo_views_edit' => 'Edit',
'extensioninfo_documentation' => 'Documentation',
'extensioninfo_documentation' => 'Documentation',
'listview_search_searchbutton' => 'Search',
'listview_search_noresult' => 'Sorry, your search had no results.',
'extensioninfo_feedback_feedbacktotheauthor' => 'Feedback to the author',
'extensioninfo_feedback_introduction' => '
Use this form to give feedback including bug reports to the author (%s) of this extension.
Remember that kind words are a special kind of fuel for the people donation time and talent
to an Open Source project like TYPO3. So be kind, constructive, encouraging, but honest at
the same time.
',
'extensioninfo_feedback_moreintroduction' => '
Please don\'t try to flatter the author for the sole purpose of getting some support for
free. That is not the point here.
',
'extensioninfo_feedback_yourname' => 'Your name',
'extensioninfo_feedback_youremailaddress' => 'Your email address',
'extensioninfo_feedback_yourcomment' => 'Your comment',
'extensioninfo_feedback_captchainstruction' => 'Please enter the following numbers / letters an submit the form',
'extensioninfo_feedback_sendfeedback' => 'Send feedback',
'extensioninfo_feedback_emailsent' => 'Email sent',
'extensioninfo_feedback_emailsent_details' => 'The feedback was sent to %s.',
'extensioninfo_feedback_invalidemailaddress' => 'ERROR: You did not enter a valid email address (%s)',
'extensioninfo_feedback_invalidcaptcha' => 'ERROR: You did not enter the correct numbers / letters',
),
'dk' => Array (
),
......
pi3/ce_wiz.gif

125 Bytes

This diff is collapsed.
<?php
/***************************************************************
* Copyright notice
*
* (c) 2005 Robert Lemke (robert@typo3.org)
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* Class that adds the wizard icon.
*
* @author Robert Lemke <robert@typo3.org>
*/
class tx_terfe_pi3_wizicon {
function proc($wizardItems) {
global $LANG;
$LL = $this->includeLocalLang();
$wizardItems['plugins_tx_terfe_pi3'] = array(
'icon'=>t3lib_extMgm::extRelPath('ter_fe').'pi3/ce_wiz.gif',
'title'=>$LANG->getLLL('pi3_title',$LL),
'description'=>$LANG->getLLL('pi3_plus_wiz_description',$LL),
'params'=>'&defVals[tt_content][CType]=list&defVals[tt_content][list_type]=ter_fe_pi3'
);
return $wizardItems;
}
function includeLocalLang() {
include(t3lib_extMgm::extPath('ter_fe').'locallang.php');
return $LOCAL_LANG;
}
}
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/ter_fe/pi3/class.tx_terfe_pi3_wizicon.php']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/ter_fe/pi3/class.tx_terfe_pi3_wizicon.php']);
}
?>
\ No newline at end of file
<?php
/**
* Language labels for plugin "tx_terfe_pi3"
*
* This file is detected by the translation tool.
*/
$LOCAL_LANG = Array (
'default' => Array (
'general_extensionreview' => 'Extension Review',
'error_extnotfound' => 'Extension version not found.',
'error_alreadyreviewed' => 'Extension version has already been reviewed.',
'error_alreadyreviewedbyuser' => 'Extension version has already been reviewed by you.',
'error_rejectwithoutcomplaints' => 'You cannot reject an extension without at least one complaint.',
'error_passwithcomplaints' => 'You cannot accept an extension when there are complaints.',
'views_unreviewed' => 'Unreviewed',
'views_passed' => 'Passed',
'views_insecure' => 'Insecure',
'views_pending' => 'My pending reviews',
'views_review' => 'Review',
'listview_unreviewed_introduction' => 'This is a list of all extensions which have not been reviewed yet:',
'listview_passedreview_introduction' => 'This is a list of all extensions which successfully passed a review:',
'listview_insecure_introduction' => 'These extension versions have already been reviewed and did not pass the security check:',
'singleview_selectextensionversion_pleaseselect' => 'Please enter an extension key and a version number or select one in one of the list views:',
'singleview_selectextensionversion_submit' => 'Select',
'singleview_review_extensioninfo_sectionheading' => 'Extension details for %s',
'singleview_review_header' => 'Review information for this extension version',
'singleview_review_reviewinfo_noreviewfound' => 'A review for this extension version does not exist yet.',
'singleview_review_startreview' => 'Start a review',
'singleview_review_submitreview' => 'Submit review',
'singleview_review_history' => 'Review history',
'singleview_review_notes' => 'Review notes',
'review_reviewers' => 'Involved reviewers',
'review_reviewstate' => 'Review state',
'review_reviewstate_-1' => 'Failed security check',
'review_reviewstate_0' => 'Unreviewed',
'review_reviewstate_1' => 'Passed basic security check',
'review_reviewstate_2' => 'Passed thorough security review',
'review_reviewstate_setstate' => 'Set state',
'review_t3xfile' => '.T3X File',
'review_t3xfile_download' => 'Download',
'review_t3xfilemd5' => '.T3X File MD5 at review start',
'review_t3xfilemd5_doesnotmatch' => 'MD5 does not match the hash of the current .T3X file!',
'review_t3xfilemd5_updatemd5' => 'Update review MD5 so it matches the file MD5',
),
'dk' => Array (
),
'de' => Array (
),
'no' => Array (
),
'it' => Array (
),
'fr' => Array (
),
'es' => Array (
),
'nl' => Array (
),
'cz' => Array (
),
'pl' => Array (
),
'si' => Array (
),
'fi' => Array (
),
'tr' => Array (
),
'se' => Array (
),
'pt' => Array (
),
'ru' => Array (
),
'ro' => Array (
),
'ch' => Array (
),
'sk' => Array (
),
'lt' => Array (
),
'is' => Array (
),
'hr' => Array (
),
'hu' => Array (
),
'gl' => Array (
),
'th' => Array (
),
'gr' => Array (
),
'hk' => Array (
),
'eu' => Array (
),
'bg' => Array (
),
'br' => Array (
),
'et' => Array (
),
'ar' => Array (
),
'he' => Array (
),
'ua' => Array (
),
'lv' => Array (
),
'jp' => Array (
),
'vn' => Array (
),
'ca' => Array (
),
'ba' => Array (
),
'kr' => Array (
),
'eo' => Array (
),
'my' => Array (
),
);
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment