Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LetoDMS 1.8.1 Patch
#1
Changelog for LetoDMS version 1.8.1 - ©2010 Matteo Lucarelli
================================================================================

REDESIGNED THE ORGANIZATION OF DATA FOLDER ===============================

Now the data folder (where files are located) has a more efficient organization:

data_dir / id / version.filetype

This scheme makes backups much more intuitive (the folder name has
corresponding to the id of the document, all versions and attached files
are in the same folder.

- Removed no longer needed tdbDirPath and tdlPathList
- Removed no longer needed free path lookup functions
- Modified sql create_tables.sql for changes to the DB in accordance with the new organization

WARNING: This change makes the version incompatible with existing archives/DB
but is required by the all thennew features (read ahead)

The "UPDATE" folder contais two script for updating existing installations

To update an existing archive:
- Backup all (including DB)
- Install the new DMS version
- Install the "UPDATE" folder containing two files update.php and update.sql
- Log in as administrator
- Manually invoke the script (http://indirizzo/UPDATE/update.php
- Remove the folder "UPDATE"

If everything works well the old content has ben renamed "old" and can be removed (eg via ftp)

ADDITION FILES ================================================================

Added the ability to upload additional files associated to a document (as attachments)
these files are not versioned and are designed as accessories to the document
(Eg the PDF version or reductions in the image). The files are associated with
the document, not to version.

NOTE: To add attachments the user must have write permission on the document
The attachment can be removed by the user who added it or having total permissions

BACKUP ================================================= ========================

Added some useful tools for backing up files and folders (real files, not the DB).
Especially useful for working with entire folders which, being virtual,
can not easily be backupped via ftp.

There are three operations designed to be eventually applied in sequence.

Data Backup versioning:
Create for each document in a DMS folder a file containing the main versioning informations
This allows you to make backup copies of which also contain information from the DB.
This is meant to be performed before the creation of an archive,
After creating the file versioning file can be viewed from out.ViewDocument

Creating Archives:
Creates a tar.gz file containing all files related to a specific
DMS folder. The file is created in settings->_contentDir
The file is constructed so that it can be unpacked again in the settings->_contentDir
to restore removed files. In the page is presented the list of existing backup files
which you can downloaded or delete

Deleting files:
you can delete from the server all the files related to a specific
DMS folder and all its subfolders. By doing this you can
free space on the server without removing the version information
saved in the database that will be available for regular consultation.
Having a backup deleted files can easily be restored when needed.

All backups operations can be performed on the entire archive or only on a DMS folder.
All backups operations are accessible only to administrators.

OTHER FEATURES ================================================ ==========

Added the possibility to change a approval/review already done.
The editing is possible at any moment only to the user who made it.
The time is retained (so you can understand subsequent amendments).
The document status is updated automatically following a change.
The editing is only possible on the latest version of the document.
If a document expire date is set editing is only possible within that time

Added delete_all_contents script. Cleaning DB tool for test use

Proper content of some e-mail

Added general information to the statistic page:
- No. of documents
- No. of folders
- No. of files in every document
- Number of total files
- Total size of the archive

Fixed the view of system notify list

The comments related to the update opration (versione comment) are now editable

Adjusted out.DefaultKeywords now equal to out.UserDefaultKeyword

Added function formatted_size (view size in Bytes / Kb / Mb / Gb) in inc.Utils and applied where necessary

Fixed a bug on documents cancellation (was not removed the corresponding list of notification)

The files in data folder can be removed without cause errors in the DMS.
When a file is not effectively present in out.ViewDocument displays a warning "file removed"
and, of course, is no longer given the option to download.
This feature can be used to free up space on the server, removing old files, while leaving available the corresponding
version information.

Fixed the view in out.AddSubFolder.php (default font size)

Added icons for openoffice.org mime-type
Added icons for some types of extensions (bz, dot, docx, etc.).

Added (in inc.settings) option to disable the user administrator as a reviewer / approver (not listed)

Remove the untranslated instructions "die" (replaced by UI:: exitError)

Proper control permissions for internal links (related document):
- The guest user can not add links
- Users without write permission can only add links private
- Add link publici the user must have write permission
- To cancel link should be the user that added or have permission to total

Thanks very much to Matteo Lucarelli and E.A.T (www.eatsrl.eu) team".

LetoDMS 1.8.1 Patch will release on April 21 , 2010

Thanks

LetoDMS Team.
#2
We are not able to release the new version of LetoDMS 1.8.1 Patch due to

Language error

when we install it...

Warning: Cannot modify header information - headers already sent by (output started at /home/letodms/public_html/demo/languages/English/lang.inc:498) in /home/letodms/public_html/demo/inc/inc.Authentication.php on line 26

but if we install LetoDMS 1.8.1 Patch with LetoDMS 1.8 Language file it works fine .

so we are trying to figure out what is the issue

Thanks

LetoDMS Group.
#3
Probably there is some stupid syntax error in the lang.inc file.

Note that the new one is requred because there are some new strings for the new features but you can symply add the last strings on the old file.

The string are at the end of file and start from

text["new_file_email"] = "New attachment";

until the end.
the only languages including all the strings required by the new feature are English and Italian, then a contribute is required to complete the translation.

Users can symply take the missing strings from the end of English/lang.inc, put them on their language/lang.inc and translate them.
#4
hi matteo

how are you doing ?

i talked to the Team i was advised to to delay LetoDMS 1.8.1 patch because they don't want people to have problem or add string to code

as you know people want things easy not hard , so we have to fix 1.8.1 patch before we release it to public so public don't have to go through problems.

Thanks

LetoDMS..
#5
Hi Matin,
my suggestion was for you, before release, not for user. The error on the lang.ing must be a syntax one, because on my system (two different) there are none.

The patch need the new strings, then there no other option then resolve it.

To be precise this release should be more then a patch, because the change in the file organization make it uncompatible with previous installation, then (following the freshmeat standard) should be a major release. That's why the "update" script.

let me know,
Matteo
#6
ok i am going to install a beta version on this server today , and we will test it without any content just a fresh copy of 1.8.1 to see how things go about

and we will let you know by tomorrow

Thanks

LetoDMS
#7
i have uploaded the beta version to LetoDMS web site its available.

i tried to do it your way , like do the update so it fixs the issue ,

i am getting error mgs : Parse error: syntax error, unexpected T_RETURN in /home/letodms/public_html/beta/update/update.php on line 56

so i manually added the database to the existing database

so let me know what you think

beta is available on http://www.letodms.com/beta user id and password is demo

Thanks Matteo and E.A.T (www.eatsrl.eu) team".

we appreciate your help but i hope you can understand as much you care for LetoDMS , we care a lot of more for the user so that is why we don't like to warn users about problems , because we just wanna fix this problem so there is no special things that users has to do i hope you know where we are coming from .

Thanks again

LetoDMS team / Trilex Labs.
#8
Beta quick review Smile

Just two things to mention:

On document upload I'm getting error on demo beta

Warning: mkdir() [function.mkdir]: Permission denied in /home/letodms/public_html/beta/inc/inc.FileUtils.php on line 61

this is server related

and second one is about archives:

- Existing backup list sends an warning


Code:
Warning: opendir(/beta/content/) [function.opendir]: failed to open dir: No such file or directory in /home/letodms/public_html/beta/out/out.BackupTools.php on line 96

Warning: readdir(): supplied argument is not a valid Directory resource in /home/letodms/public_html/beta/out/out.BackupTools.php on line 97

Warning: closedir(): supplied argument is not a valid Directory resource in /home/letodms/public_html/beta/out/out.BackupTools.php on line 129
No entries


and after trying to do backup ...

Code:
Warning: fopen(/beta/content/1272345593_2.tar) [function.fopen]: failed to open stream: No such file or directory in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php  on line 163

Warning: fwrite(): supplied argument is not a valid stream resource in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php on line 116

Warning: fclose(): supplied argument is not a valid stream resource in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php on line 172

Warning: fopen(/beta/content/1272345593_2.tar) [function.fopen]: failed to open stream: No such file or directory in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php on line 175

Warning: filesize() [function.filesize]: stat failed for /beta/content/1272345593_2.tar in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php on line 176

Warning: fread(): supplied argument is not a valid stream resource in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php on line 176

Warning: fclose(): supplied argument is not a valid stream resource in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php on line 177

Warning: gzopen(/beta/content/1272345593_2.tar.gz) [function.gzopen]: failed to open stream: No such file or directory in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php on line 179

Warning: gzclose(): supplied argument is not a valid stream resource in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php on line 181

Warning: unlink(/beta/content/1272345593_2.tar) [function.unlink]: No such file or directory in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php on line 182

Warning: Cannot modify header information - headers already sent by (output started at /home/letodms/public_html/beta/op/op.CreateFolderArchive.php:163) in /home/letodms/public_html/beta/op/op.CreateFolderArchive.php on line 184
#9
all these warning are concerning the pormission on the data folder.
Check if httpd can write on the folder named $_contentDir in the inc/inc.Settings.php file.
#10
(04-28-2010, 11:01 PM)matteo lucarelli Wrote: all these warning are concerning the pormission on the data folder.
Check if httpd can write on the folder named $_contentDir in the inc/inc.Settings.php file.

Those warnings were on LetoDMS beta server, not on my local machine.


Forum Jump:


Users browsing this thread: 1 Guest(s)