Commit bc446217 authored by speedprogs_de's avatar speedprogs_de

removed old extension files

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/terfe/branches/ter_fe2@51678 735d13b6-9817-0410-8766-e36946ffe9aa
parent 744d2252
16.03.2009 Steffen Kamper <info@sk-typo3.de>
* Fixed bug 10363: TER not showing filellist - changed TEXT to LONGTEXT for files
* Fixed bug with wrong field name in db_getExtensionDetails
12.02.2009 Steffen Kamper <info@sk-typo3.de>
* fixed bug with feedback mail (typo in extensionkey) thx to Bernhard Kraft
17.12.2008 Steffen Kamper <info@sk-typo3.de>
* added select-part for insecure extensions (reviewstate<0) to standardClause in pi1
Version 1.0.5 16.09.2008 Robert Lemke <robert@typo3.org>
* Checked in the most recent version from typo3.org into Forge
- Removed the reviewed / unreviewed list view for extensions from the menu
- The extension version number is not shown in the URL anymore
- Obsolete extensions are now marked as such (again)
Version 1.0.4 20.03.2007 Robert Lemke <robert@typo3.org>
+ Improved the caching of extension files for the ter_fe details view: Files are now only unpacked again if the md5 sum of the T3X file (not the extensions.xml.gz) changed.
+ Changed the tx_terfe / contentcache file structure: now the files of each extension reside in their own subdirectory.
Version 1.0.3 16.12.2006 Robert Lemke <robert@typo3.org>
# Fixed bug 0004086: extension rating shows 0 (zero) instead of "-" or nothing
# If no title was defined for an extension, links in ter_fe will now have the label "Untitled"
+ Added a little feature (#0004053): You can now link to the single view of the most current version of an extension by omitting the "version" get parameter or setting version to "current".
Version 1.0.2 15.12.2006 Robert Lemke <robert@typo3.org>
+ Added feature "Render Problems" link which explains why documents were not rendered. (See extension ter_doc_renderproblems)
Version 1.0.1, 14.12.2006 Robert Lemke <robert@typo3.org>
# Fixed download counter display
01.09.2005 Robert Lemke <robert@typo3.org>
+ Added extension and extension key management for administrators to ter_fe_pi2. A fe_usergroup for administrators has to be created, and specified in plugin.tx_terfe_pi2.adminFEUserGroup
15.05.2006 Michael Scharkow <michael@underused.org>
* Finished ratings, with changes from public beta
* ATTN: Please remove reference to my server in common class icon
function (although it should never occur on typo3.org
* Fixed a lot of small bugs
22.03.2006 Michael Scharkow <michael@underused.org>
* Fixed small issues (locallang, docstrings, variable names)
* Added stylesheet file and icons in res/ (copy to fileadmin, please!)
16.03.2006 Robert Lemke <robert@typo3.org>
* Removed dummy content from renderListView_detailledExtensionRecord(). That was very confusing because in the list view the documentation link was always "not available" and downloadcounter "12333/32111" - because it was hardcoded. Please make sure to clean up before you commit.
16.03.2006 Robert Lemke <robert@typo3.org>
* Only a few cosmetic changes after the review of Michaels code
13.03.2006 Michael Scharkow <michael@underused.org>
* more refactoring
* complete overhaul of all output (thanks to Ingo Renner and Joey Hasenau)
* info and detail view merged
* stdSelection for all queries (no obsolete, testing and documentation)
* added simple upload comment changelog in single view
12.03.2006 Michael Scharkow <michael@underused.org>
* refactoring of pi1, compact lists use a common function now
* added state and last update in compact lists
* zebra table rows for CSS, less classes in table view (check CSS!)
* added sorting by common criteria
* changed links, so that single view is consistently prefixed with /view
05.03.2006 Robert Lemke <robert@typo3.org>
+ File downloads are now passed through a function which sends correct HTTP headers and nicer file names.
17.01.2006 Robert Lemke <robert@typo3.org>
~ Changed a lot ...
~ Converted locallang to XML
+ Extracted many functions from tx_terfe_pi1 and created a new common library "tx_terfe_common"
09.01.2006 Robert Lemke <robert@typo3.org>
~ Commit of merge between Michael's and my modifications
09.01.2006 Michael Scharkow <michael@underused.org>
* Update for pi3: Delete reviews, better list views, etc.
* TODO: E-Mail-Notification and review-editing (delete+new works!)
07.01.2006 Michael Scharkow <michael@underused.org>
* Initial upload of rating framework (in p1)
06.01.2006 Michael Scharkow <michael@underused.org>
* Initial upload of /pi3 (Reviewing framework)
08.12.2005 Robert Lemke <robert@typo3.org>
* Initial upload
<?php
/*******************************************************************
* Copyright notice
*
* (c) 2011 Kai Vogel <kai.vogel@speedprogs.de>, Speedprogs.de
*
* 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!
******************************************************************/
/**
* Abstract controller
*/
abstract class Tx_TerFe2_Controller_AbstractController extends Tx_Extbase_MVC_Controller_ActionController {
/**
* Pre-parse TypoScript setup
*
* @return void
*/
public function initializeAction() {
// Pre-parse settings
$this->settings = Tx_TerFe2_Utility_TypoScript::parse($this->settings);
// Initialize the controller
$this->initialize();
}
/**
* Override in concrete controller to initialize it
*
* @return void
*/
protected function initialize() {
}
/**
* Translate a label
*
* @param string $label Label to translate
* @param array $arguments Optional arguments array
* @return string Translated label
*/
protected function translate($label, array $arguments = array()) {
$extensionKey = $this->request->getControllerExtensionKey();
return Tx_Extbase_Utility_Localization::translate($label, $extensionKey, $arguments);
}
}
?>
\ No newline at end of file
<?php
/*******************************************************************
* Copyright notice
*
* (c) 2011 Kai Vogel <kai.vogel@speedprogs.de>, Speedprogs.de
*
* 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!
******************************************************************/
/**
* Controller for the Author object
*/
class Tx_TerFe2_Controller_AuthorController extends Tx_TerFe2_Controller_AbstractController {
/**
* @var Tx_TerFe2_Domain_Repository_AuthorRepository
*/
protected $authorRepository;
/**
* Initializes the controller
*
* @return void
*/
protected function initialize() {
$this->authorRepository = t3lib_div::makeInstance('Tx_TerFe2_Domain_Repository_AuthorRepository');
}
/**
* Index action, displays all authors
*
* @return void
*/
public function indexAction() {
$this->view->assign('authors', $this->authorRepository->findAll());
}
/**
* Action that displays a single Author
*
* @param Tx_TerFe2_Domain_Model_Author $author The Author to display
* @return void
*/
public function showAction(Tx_TerFe2_Domain_Model_Author $author) {
$this->view->assign('author', $author);
}
/**
* Displays a form for creating a new Author
*
* @param Tx_TerFe2_Domain_Model_Author $newAuthor A fresh Author object taken as a basis for the rendering
* @return void
* @dontvalidate $newAuthor
*/
public function newAction(Tx_TerFe2_Domain_Model_Author $newAuthor = NULL) {
$this->view->assign('newAuthor', $newAuthor);
}
/**
* Creates a new Author and forwards to the index action
*
* @param Tx_TerFe2_Domain_Model_Author $newAuthor A fresh Author object which has not yet been added to the repository
* @return void
*/
public function createAction(Tx_TerFe2_Domain_Model_Author $newAuthor) {
$this->authorRepository->add($newAuthor);
$this->flashMessageContainer->add($this->translate('msg.author_created'));
$this->redirect('index');
}
/**
* Displays a form to edit an existing Author
*
* @param Tx_TerFe2_Domain_Model_Author $author The Author to display
* @return void
* @dontvalidate $author
*/
public function editAction(Tx_TerFe2_Domain_Model_Author $author) {
$this->view->assign('author', $author);
}
/**
* Updates an existing Author and forwards to the index action afterwards
*
* @param Tx_TerFe2_Domain_Model_Author $author Author to update
* @return void
*/
public function updateAction(Tx_TerFe2_Domain_Model_Author $author) {
$this->authorRepository->update($author);
$this->flashMessageContainer->add($this->translate('msg.author_updated'));
$this->redirect('index');
}
/**
* Deletes an existing Author
*
* @param Tx_TerFe2_Domain_Model_Author $author The Author to be deleted
* @return void
*/
public function deleteAction(Tx_TerFe2_Domain_Model_Author $author) {
$this->authorRepository->remove($author);
$this->flashMessageContainer->add($this->translate('msg.author_deleted'));
$this->redirect('index');
}
/**
* Translate a label
*
* @param string $label Label to translate
* @param array $arguments Optional arguments array
* @return string Translated label
*/
protected function translate($label, array $arguments = array()) {
$extensionKey = $this->request->getControllerExtensionKey();
return Tx_Extbase_Utility_Localization::translate($label, $extensionKey, $arguments);
}
}
?>
\ No newline at end of file
<?php
/*******************************************************************
* Copyright notice
*
* (c) 2011 Kai Vogel <kai.vogel@speedprogs.de>, Speedprogs.de
*
* 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!
******************************************************************/
/**
* Controller for the Category object
*/
class Tx_TerFe2_Controller_CategoryController extends Tx_TerFe2_Controller_AbstractController {
/**
* @var Tx_TerFe2_Domain_Repository_CategoryRepository
*/
protected $categoryRepository;
/**
* Initializes the controller
*
* @return void
*/
protected function initialize() {
$this->categoryRepository = t3lib_div::makeInstance('Tx_TerFe2_Domain_Repository_CategoryRepository');
}
/**
* Index action, displays all categories
*
* @return void
*/
public function indexAction() {
$this->view->assign('categories', $this->categoryRepository->findAll());
}
/**
* Displays a form for creating a new Category
*
* @param Tx_TerFe2_Domain_Model_Category $newCategory A fresh Category object taken as a basis for the rendering
* @return void
* @dontvalidate $newCategory
*/
public function newAction(Tx_TerFe2_Domain_Model_Category $newCategory = NULL) {
$this->view->assign('newCategory', $newCategory);
}
/**
* Creates a new Category and forwards to the index action
*
* @param Tx_TerFe2_Domain_Model_Category $newCategory A fresh Category object which has not yet been added to the repository
* @return void
*/
public function createAction(Tx_TerFe2_Domain_Model_Category $newCategory) {
$this->categoryRepository->add($newCategory);
$this->flashMessageContainer->add($this->translate('msg.category_created'));
$this->redirect('index');
}
/**
* Displays a form to edit an existing Category
*
* @param Tx_TerFe2_Domain_Model_Category $category The Category to display
* @return void
* @dontvalidate $category
*/
public function editAction(Tx_TerFe2_Domain_Model_Category $category) {
$this->view->assign('category', $category);
}
/**
* Updates an existing Category and forwards to the index action afterwards
*
* @param Tx_TerFe2_Domain_Model_Category $category Category to update
* @return void
*/
public function updateAction(Tx_TerFe2_Domain_Model_Category $category) {
$this->categoryRepository->update($category);
$this->flashMessageContainer->add($this->translate('msg.category_updated'));
$this->redirect('index');
}
/**
* Deletes an existing Category
*
* @param Tx_TerFe2_Domain_Model_Category $category The Category to be deleted
* @return void
*/
public function deleteAction(Tx_TerFe2_Domain_Model_Category $category) {
$this->categoryRepository->remove($category);
$this->flashMessageContainer->add($this->translate('msg.category_deleted'));
$this->redirect('index');
}
/**
* Translate a label
*
* @param string $label Label to translate
* @param array $arguments Optional arguments array
* @return string Translated label
*/
protected function translate($label, array $arguments = array()) {
$extensionKey = $this->request->getControllerExtensionKey();
return Tx_Extbase_Utility_Localization::translate($label, $extensionKey, $arguments);
}
}
?>
\ No newline at end of file
<?php
/*******************************************************************
* Copyright notice
*
* (c) 2011 Kai Vogel <kai.vogel@speedprogs.de>, Speedprogs.de
*
* 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!
******************************************************************/
/**
* Controller for the Extension object
*/
class Tx_TerFe2_Controller_ExtensionController extends Tx_TerFe2_Controller_AbstractController {
/**
* @var Tx_TerFe2_Domain_Repository_ExtensionRepository
*/
protected $extensionRepository;
/**
* @var Tx_TerFe2_Domain_Repository_CategoryRepository
*/
protected $categoryRepository;
/**
* @var Tx_TerFe2_Domain_Repository_TagRepository
*/
protected $tagRepository;
/**
* @var Tx_TerFe2_Domain_Repository_AuthorRepository
*/
protected $authorRepository;
/**
* Initializes the controller
*
* @return void
*/
protected function initialize() {
$this->extensionRepository = t3lib_div::makeInstance('Tx_TerFe2_Domain_Repository_ExtensionRepository');
$this->categoryRepository = t3lib_div::makeInstance('Tx_TerFe2_Domain_Repository_CategoryRepository');
$this->tagRepository = t3lib_div::makeInstance('Tx_TerFe2_Domain_Repository_TagRepository');
$this->authorRepository = t3lib_div::makeInstance('Tx_TerFe2_Domain_Repository_AuthorRepository');
}
/**
* Index action, shows an overview
*
* @return void
*/
public function indexAction() {
// Get latest extensions
$latestCount = (!empty($this->settings['latestCount']) ? $this->settings['latestCount'] : 10);
$latestExtensions = $this->extensionRepository->findNewAndUpdated($latestCount);
$this->view->assign('latestExtensions', $latestExtensions);
// Get top rated extensions
$topRatedCount = (!empty($this->settings['topRatedCount']) ? $this->settings['topRatedCount'] : 10);
$topRatedExtensions = $this->extensionRepository->findTopRated($topRatedCount);
$this->view->assign('topRatedExtensions', $topRatedExtensions);
// Get all categories
$categories = $this->categoryRepository->findAll();
$this->view->assign('categories', $categories);
// Get all tags
$tags = $this->tagRepository->findAll();
$this->view->assign('tags', $tags);
// Get random authors
$randomAuthorCount = (!empty($this->settings['randomAuthorCount']) ? $this->settings['randomAuthorCount'] : 10);
$randomAuthors = $this->authorRepository->findRandom($randomAuthorCount);
$this->view->assign('randomAuthors', $randomAuthors);
}
/**
* List action, displays all extensions
*
* @return void
*/
public function listAction() {
$this->view->assign('extensions', $this->extensionRepository->findAll());
}
/**
* List latest action, displays new and updated extensions
*
* @return void
*/
public function listLatestAction() {
$latestCount = (!empty($this->settings['latestCount']) ? $this->settings['latestCount'] : 20);
$extensions = $this->extensionRepository->findNewAndUpdated($latestCount);
$this->view->assign('extensions', $extensions);
}
/**
* List by category action, displays all extensions in a category