Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Doonoyz Social network
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Jun 5, 2016
0 parents commit de959fd
Show file tree
Hide file tree
Showing 1,071 changed files with 125,858 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Doonoyz (music social network founded in 2010)

Based on femtopixel/twindoo_core - Based on Zend Framework 1
30 changes: 30 additions & 0 deletions application/Bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php
class Bootstrap extends Twindoo_Bootstrap {
public function _initView() {
$registry = $this->getResource('registry');
$config = $this->getResource('config');

$smartyPaths = array ('scriptPath' => ROOT_DIR . 'application/modules/default/views/scripts',
'compileDir' => ROOT_DIR . 'application/modules/default/views/compile',
'cacheDir' => ROOT_DIR . 'application/modules/default/views/cache',
'cache' => $config->template->cache,
'cacheLife' => $config->template->cacheLife,
'compileCheck' => $config->template->compileCheck,
'configDir' => ROOT_DIR . 'application' );

$view = new Twinmusic_View_Smarty ( $smartyPaths );
//$view->setScriptPath(ROOT_DIR.'templates');


$viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer ( );
$viewRenderer->setView ( $view );
// make viewRenderer use Twinmusic_View_Smarty

// make it search for .tpl files
$viewRenderer->setViewSuffix ( 'tpl' );
$registry->template = $view->getEngine ();

Zend_Controller_Action_HelperBroker::addHelper ( $viewRenderer );
return $viewRenderer;
}
}
32 changes: 32 additions & 0 deletions application/application.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[common]
phpSettings.display_errors = true
phpSettings.display_startup_errors = true

includePaths.library = ROOT_DIR "/library"
includePaths.captcha = ROOT_DIR "/../Core/Captcha"
bootstrap.path = ROOT_DIR "/application/Bootstrap.php"
bootstrap.class = "Bootstrap"

resources.frontController.plugins.csrf = Twindoo_Controller_Plugin_CsrfProtect
resources.frontController.plugins.language = Twindoo_Controller_Plugin_Language
resources.frontController.plugins.view = Twinmusic_Plugin_View
resources.frontController.plugins.admin = Twinmusic_Plugin_Admin

resources.frontController.throwExceptions = false
resources.frontController.params.disableOutputBuffering = true
resources.frontController.moduleDirectory = ROOT_DIR "/application/modules"


resources.modules.admin = admin
resources.modules.ajax = ajax


[dev : common]

phpSettings.display_errors = true
phpSettings.display_startup_errors = true

[prod : common]

phpSettings.display_errors = false
phpSettings.display_startup_errors = false
79 changes: 79 additions & 0 deletions application/config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
[common]
db.adapter = PDO_MYSQL

db.config.host = 127.0.0.1
db.config.username = doonoyz
db.config.password = "kI(_mRFp"
db.config.dbname = doonoyz

mail.smtp = smtp.gmail.com

mail.config.ssl = ssl
mail.config.port = 465
mail.config.auth = login
mail.config.username = [email protected]
mail.config.password = "kI(_mRFp"

; forbidden groupname to group creation
forbidden.groupname.1 = admin
forbidden.groupname.2 = ajax
forbidden.groupname.3 = bid
forbidden.groupname.4 = error
forbidden.groupname.5 = flvplayer
forbidden.groupname.6 = groups
forbidden.groupname.7 = index
forbidden.groupname.8 = invitation
forbidden.groupname.9 = language
forbidden.groupname.10 = mp
forbidden.groupname.11 = news
forbidden.groupname.12 = rss
forbidden.groupname.13 = search
forbidden.groupname.14 = sitemap
forbidden.groupname.15 = studio
forbidden.groupname.16 = user
forbidden.groupname.17 = ws

;repository for compositions
; <ROOT> for Project Root
; <GROUP_ID> for Group Id

composition.repository.path.original = "<ROOT>/filerepository/<GROUP_ID>/original"
composition.repository.path.converted = "<ROOT>/filerepository/<GROUP_ID>/converted"

;add a lang.XX.mo in languages directory
language.en = English
language.fr = Français

; cache life time in seconds
cache.life = 7200

; active smarty template caching
template.cache = true
template.cacheLife = 7200
template.compileCheck = false

; use gettext translater
use_language = true

;memcached options
memcached.servers.1.host = localhost
memcached.servers.1.port = 11211

[dev : common]

; cache life time in seconds
cache.life = 10

; active smarty template caching
template.cache = true
template.cacheLife = 10
template.compileCheck = false

[prod : common]

cache.life = 7200

; template cache 1 for cacheLife time 2 for cacheLife + cache life change in project allowing
template.cache = 2
template.cacheLife = 7200
template.compileCheck = false
41 changes: 41 additions & 0 deletions application/files.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
picture.1 = bmp
picture.2 = gif
picture.3 = jpeg
picture.4 = jpg
picture.5 = png

video.1 = flv
video.2 = avi
video.3 = mkv
video.4 = mov
video.5 = mpg
video.6 = mpeg
video.7 = qt
video.8 = wmv
video.9 = 3gp
video.10 = ogv
video.11 = divx

music.1 = mp3
music.2 = wav
music.3 = ogg

text.1 = txt
text.2 = pdf
text.3 = doc
text.4 = docx
text.5 = odt
text.6 = xls
text.7 = xlsx
text.8 = ods
text.9 = ppt
text.10 = pptx
text.11 = odp

text.12 = odg
text.13 = odc
text.14 = odf
text.15 = odb
text.16 = odi
text.17 = odm
text.18 = rtf
74 changes: 74 additions & 0 deletions application/languages/addedValues.en.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Doonoyz Translator Service.
# Copyright (C) 2008 Doonoyz.
# Translator Doonoyz <[email protected]>, 2008.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"POT-Creation-Date: 2002-04-06 21:44-0500\n"
"PO-Revision-Date: 2008-01-01 00:00+0500\n"
"Last-Translator: Translator Doonoyz <[email protected]>\n"
"Language-Team: Translator Doonoyz <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"



msgid "Rock"
msgstr ""

msgid "Metal"
msgstr ""

msgid "Emo"
msgstr ""

msgid "Electro"
msgstr ""

msgid "Lead vocals"
msgstr ""

msgid "Bass"
msgstr ""

msgid "Drums"
msgstr ""

msgid "Guitar"
msgstr ""

msgid "Scratch"
msgstr ""

msgid "Keyboard"
msgstr ""

msgid "One man band"
msgstr ""

msgid "Ska"
msgstr ""

msgid "Funk"
msgstr ""

msgid "Jazz"
msgstr ""

msgid "Reggae"
msgstr ""

msgid "Pop"
msgstr ""

msgid "Punk"
msgstr ""

msgid "Garage"
msgstr ""

msgid "Computer Assisted Music"
msgstr ""
Binary file added application/languages/lang.en.mo
Binary file not shown.
Loading

0 comments on commit de959fd

Please sign in to comment.