Skip to content

Commit

Permalink
missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
k-samuel committed May 6, 2015
1 parent 2705b32 commit e22428d
Show file tree
Hide file tree
Showing 30 changed files with 1,625 additions and 87 deletions.
1 change: 1 addition & 0 deletions www/.backups/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Deny from all
1 change: 1 addition & 0 deletions www/.cache/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Deny from all
Empty file modified www/.log/error/.htaccess
100755 → 100644
Empty file.
Empty file modified www/.log/orm/.htaccess
100755 → 100644
Empty file.
49 changes: 49 additions & 0 deletions www/.log/orm/default_0.1_build_log.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

--
--2015-05-06 09:46:17
--
ALTER TABLE sb_content CHANGE `text` `text_one` longtext NULL COMMENT 'Text'
--
--2015-05-06 09:47:49
--
ALTER TABLE sb_content CHANGE `text_one` `text` longtext NULL COMMENT 'Text'
--
--2015-05-06 09:48:10
--
CREATE TABLE `sb_to` (`id` bigint (20) UNSIGNED AUTO_INCREMENT NOT NULL COMMENT 'Primary key' ,

PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;
--
--2015-05-06 09:48:27
--
ALTER TABLE `dvelum`.`sb_to`
ADD `new_field` varchar (255) NOT NULL COMMENT 'new_field' ;
--
--2015-05-06 09:49:17
--
ALTER TABLE sb_to CHANGE `new_field` `new_fieldw` varchar (255) NOT NULL COMMENT 'new_fieldw'
--
--2015-05-06 09:50:30
--
ALTER TABLE sb_to CHANGE `new_fieldw` `new_fieldwf` varchar (255) NOT NULL COMMENT 'new_fieldwf'
--
--2015-05-06 09:54:20
--
DROP TABLE `sb_to`
--
--2015-05-06 09:57:04
--
CREATE TABLE `sb_testo` (`id` bigint (20) UNSIGNED AUTO_INCREMENT NOT NULL COMMENT 'Primary key' ,

PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;
--
--2015-05-06 09:57:24
--
ALTER TABLE `dvelum`.`sb_testo`
ADD `field_one` varchar (255) NOT NULL COMMENT 'field_one' ;
--
--2015-05-06 09:57:35
--
ALTER TABLE sb_testo CHANGE `field_one` `field_one2` varchar (255) NOT NULL COMMENT 'field_one2'
Empty file modified www/.log/task/.htaccess
100755 → 100644
Empty file.
5 changes: 2 additions & 3 deletions www/install/app/Install/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,10 @@ public function firstcheckAction() {
'path'=>'media',
'accessType'=>'required'
),
/*array(
array(
'path'=>'.backups',
'accessType'=>'required'
),
*/
array(
'path'=>'.tmp',
'accessType'=>'required'
Expand Down Expand Up @@ -705,7 +704,7 @@ public function setuserpassAction()
*/
\'orm_version_object\' => \'Vc\',
/*
* Db_Object for error log
* Db_Object for error log
*/
\'erorr_log_object\'=>\'error_log\'
);';
Expand Down
20 changes: 20 additions & 0 deletions www/js/app/actions/sysdocs_localization.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

/*
* Here you can define application logic
* To obtain info about current user access rights
* you can use global scope JS vars canEdit , canDelete , canPublish
* To access project elements, please use the namespace you defined in the config
* For example: appSysdocsLocalizationRun.Panel or Ext.create("appSysdocsLocalizationClasses.editWindow", {});
*/

function showSysdocsLocalizationEditWindow(id){
Ext.create("appSysdocsLocalizationClasses.editWindow", {
dataItemId:id,
canDelete:canDelete,
canEdit:canEdit
}).show();
}

Ext.onReady(function(){

});
24 changes: 24 additions & 0 deletions www/js/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Ext.ns('app');
app.content = Ext.create('Ext.Panel',{
region: 'center',
frame:false,
border:false,
layout:'fit',
margins: '0 5 0 0',
autoScroll:false,
items:[],
collapsible:false
});

Ext.application({
name: 'DVelum Documentation',
launch: function() {
app.application = this;
this.addEvents('projectLoaded');
app.viewport = Ext.create('Ext.container.Viewport', {
layout: 'fit',
//renderTo: Ext.getBody(),
items:[app.content]
});
}
});
49 changes: 49 additions & 0 deletions www/system/app/Sysdocs/Historyid.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?php
class Sysdocs_Historyid
{
public function getHid(Db_Object $object)
{
$name = strtolower($object->getName());
switch ($object->getName())
{
case 'sysdocs_class':
return $this->getClassHid($object->get('fileHid') , $object->get('name'));
break;
case 'sysdocs_class_method':
return $this->getMethodHid($object->get('classHid') , $object->get('name'));
break;
case 'sysdocs_class_method_param':
return $this->getParamHid($object->get('methodHid') , $object->get('name'));
break;
case 'sysdocs_class_property':
return $this->getPropertysHid($object->get('classHid') , $object->get('name'));
break;
case 'sysdocs_file':
return $this->getFileHid($object->get('path') , $object->get('name'));
break;

default: throw new Exception('Undefined HID generator for '.$name);
}
}

public function getClassHid($fileHid , $className)
{
return md5($fileHid. $className);
}
public function getMethodHid($classHid , $methodName)
{
return md5($classHid . $methodName);
}
public function getParamHid($methodHid , $paramName)
{
return md5($methodHid . $paramName);
}
public function getPropertysHid($classHid , $propertyName)
{
return md5($classHid . $propertyName);
}
public function getFileHid($path , $fileName)
{
return md5($path.$fileName);
}
}
5 changes: 5 additions & 0 deletions www/system/config/dictionary/en/sysdocs_item_type.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php return array (
'trait' => 'Trait',
'interface' => 'Interface',
'class' => 'Class',
);
4 changes: 4 additions & 0 deletions www/system/config/dictionary/en/sysdocs_language.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php return array (
'en' => 'English',
'ru' => 'Русский',
);
7 changes: 7 additions & 0 deletions www/system/config/dictionary/en/sysdocs_type.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php return array (
'property' => 'Property',
'method' => 'Method',
'class' => 'Class',
'file' => 'File',
'param' => 'Param',
);
5 changes: 5 additions & 0 deletions www/system/config/dictionary/en/sysdocs_visibility.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php return array (
'public' => 'Public',
'private' => 'Prvate',
'protected' => 'Protected',
);
5 changes: 5 additions & 0 deletions www/system/config/dictionary/ru/sysdocs_item_type.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php return array (
'trait' => 'Trait',
'interface' => 'Interface',
'class' => 'Class',
);
4 changes: 4 additions & 0 deletions www/system/config/dictionary/ru/sysdocs_language.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php return array (
'en' => 'English',
'ru' => 'Русский',
);
7 changes: 7 additions & 0 deletions www/system/config/dictionary/ru/sysdocs_type.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php return array (
'property' => 'Property',
'method' => 'Method',
'class' => 'Class',
'file' => 'File',
'param' => 'Param',
);
5 changes: 5 additions & 0 deletions www/system/config/dictionary/ru/sysdocs_visibility.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php return array (
'public' => 'Public',
'private' => 'Prvate',
'protected' => 'Protected',
);
Loading

0 comments on commit e22428d

Please sign in to comment.