"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tine20/Tinebase/js/Models.js" between
tine20-2020.08.3.tar.gz and tine20-2020.08.4.tar.gz

About: Tine 2.0 is a platform independent business software system which combines groupware and customer relationship management (CRM). Commercial support is available. Source code.

Models.js  (tine20-2020.08.3):Models.js  (tine20-2020.08.4)
skipping to change at line 492 skipping to change at line 492
], { ], {
appName: 'Tinebase', appName: 'Tinebase',
modelName: 'Config', modelName: 'Config',
idProperty: 'id', idProperty: 'id',
titleProperty: 'name', titleProperty: 'name',
// ngettext('Config', 'Configs', n); gettext('Configs'); // ngettext('Config', 'Configs', n); gettext('Configs');
recordName: 'Config', recordName: 'Config',
recordsName: 'Configs' recordsName: 'Configs'
}); });
Tine.Tinebase.Model.Tree_NodeArray = Tine.Tinebase.Model.modlogFields.concat([
{ name: 'id' },
{ name: 'name', label: 'Name' }, // _('Name')
{ name: 'path', label: 'Path' }, // _('Path')
{ name: 'size', label: 'Size' }, // _('Size')
{ name: 'revision', label: 'Revision' }, // _('Revision')
{ name: 'available_revisions', label: 'Available Revision' }, // _('Availabl
e Revision')
{ name: 'type', label: 'Type' }, // _('Type')
{ name: 'contenttype', label: 'Content Type' }, // _('Content Type')
{ name: 'description', label: 'Description' }, // _('Description')
{ name: 'account_grants' },
{ name: 'grants', label: 'Grants' }, // _('Grants')
{ name: 'acl_node', label: 'Grants Folder' }, // _('Grants Folder')
{ name: 'object_id'},
{ name: 'hash', label: 'MD5 Hash' }, // _('MD5 Hash')
{ name: 'revision_size', label: 'Revision Size' }, // _('Revision Size')
{ name: 'preview_count', label: 'Preview Count', type: 'int' }, // _('Previe
w Count')
{ name: 'parent_id' },
{ name: 'isIndexed', label: 'Indexed' }, // _('Indexed')
{ name: 'pin_protected_node', label: 'Pin Protected' }, // _('Pin Protected'
)
{ name: 'quota', label: 'Quota'}, // _('Quota')
{ name: 'effectiveAndLocalQuota', label: 'Effective Quota' }, // _('Effectiv
e Quota')
{ name: 'is_quarantined', label: 'Is Quarantined' }, // _('Is Quarantined')
// TODO add type bool/int?
{ name: 'relations' },
{ name: 'customfields' },
{ name: 'notes' },
{ name: 'tags' },
{ name: 'revisionProps' },
{ name: 'notificationProps' },
{ name: 'is_quarantined', type: 'boolean'}
]);
/**
* @namespace Tine.Tinebase.Model
* @class Tine.Tinebase.Model.Tree_Node
* @extends Tine.Tinebase.data.Record
*/
Tine.Tinebase.Model.Tree_Node = Tine.Tinebase.data.Record.create(Tine.Tinebase.M
odel.Tree_NodeArray, {
appName: 'Tinebase',
modelName: 'Tree_Node',
idProperty: 'id',
titleProperty: 'name',
// ngettext('File', 'Files', n); gettext('File');
recordName: 'File',
recordsName: 'Files'
});
Tine.widgets.grid.RendererManager.register('Tinebase', 'Tree_Node', 'size', Tine .Tinebase.common.byteRenderer); Tine.widgets.grid.RendererManager.register('Tinebase', 'Tree_Node', 'size', Tine .Tinebase.common.byteRenderer);
Tine.widgets.grid.RendererManager.register('Tinebase', 'Tree_Node', 'revision_si ze', Tine.Tinebase.common.byteRenderer); Tine.widgets.grid.RendererManager.register('Tinebase', 'Tree_Node', 'revision_si ze', Tine.Tinebase.common.byteRenderer);
Tine.Tinebase.Model.KeyFieldRecord = Tine.Tinebase.data.Record.create([ Tine.Tinebase.Model.KeyFieldRecord = Tine.Tinebase.data.Record.create([
{ name: 'id' }, { name: 'id' },
{ name: 'value' }, { name: 'value' },
{ name: 'i18nValue' }, { name: 'i18nValue' },
{ name: 'icon' }, { name: 'icon' },
{ name: 'color' }, { name: 'color' },
{ name: 'system' } { name: 'system' }
 End of changes. 1 change blocks. 
54 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)