[phpwebapp-commits] CVS: books ToDo.txt,1.3,1.4 authenticate.php,1.2,1.3 books.conf,1.2,1.3 chown.c,
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2006-03-17 16:51:37
|
Update of /cvsroot/phpwebapp/books In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv937 Modified Files: ToDo.txt authenticate.php books.conf Removed Files: chown.c install.sh Log Message: Index: ToDo.txt =================================================================== RCS file: /cvsroot/phpwebapp/books/ToDo.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ToDo.txt 7 Nov 2005 14:17:48 -0000 1.3 --- ToDo.txt 17 Mar 2006 16:51:30 -0000 1.4 *************** *** 1,2 **** --- 1,39 ---- + - Improve the installation, so that it becomes platform independent. + //- Try to install swish-e locally. + + - Automatic notification on commit (for subversion). + - Installation of ViewCVS for Subversion. + + - Update 'webnotes'. + + - docbookwiki_guide_en.xml still has problems, generation of pdf fails + + - Changing the structure of a book takes a long time (is very slow). + Maybe there is any problem or maybe it can be optimized. + + - In TextWiki mode: + + there is a small bug with nested lists + + the tag </xmp> inside --code is not displayed in html (because + it is inside an <xmp> element); it should be written < /xmp> + or </ xmp> + + the closing tag \</tagname\> has problems; it should be writen + \</ tagname\> or \< /tagname\> + + - The reader can hide or show user notes. + - The user that has approve rights can see a list of nodes that + he can approve (the modified ones). + + - Keep binary files (media, images etc.) in CVS as well. + + - Search about character encoding and fix some problems related + to them (change encoding to UTF-8 or ISO-8859-15). + + - See whether the certificates (https) can be used for authenticating + editors, admins, etc., instead of (username,password). + + - Make UML Diagrams that document the design of the application. + + + Improvments: *************** *** 42,45 **** --- 79,84 ---- //- Extend <xref/> to link to other books as well, to figures etc. Maybe any other tag should be used. + - Think about integrating DocBookWiki with RefDB + (http://refdb.sourceforge.net/). *************** *** 54,60 **** - Update 'webnotes'. - - explode/implode has some problems with entities (&amp;lt;) - and it does not preserve the CDATA sections. - - Fix chown.c (for some reason it was not working, and it was preventing the work in the other parts of the application, --- 93,96 ---- *************** *** 81,124 **** ----- ! - Fixed: When the validation of a section is done, it gives errors ! for xref-s to other sections. ! ! - Fixed: Automatic email notification on commit for SVN. ! ! - Improvment: Diffs are displayed in text/wiki mode. ! ! - Fixed: Added in docbookwiki_guide some instructions ! for installation of the subversion. ! ! - Fixed: Added some viewcvs installation instructions, ! so that it works with svn as well. ! ! - Improvment: Improves webnotes to: ! + make the moderation optional ! + filter the list of notes according to their status ! (e.g. if the admin wants to see only the notes that ! need to be approved) ! + optionally send email notification to admins ! when new notes are submited ! ! - Fixed: The path of the SVN is hardcoded and when the application ! is renamed, SVN operations fail. This is fixed by ! contents/svn_relocate.sh ! ! - Fixed: book tags ! The public copy of the book can be fixed at a certain revision or ! date. After that, the modifications in the workspace will not be ! published immediately, even when they are approved. ! ! Since it is not easy to remember certain dates or revision numbers, ! the tags can be used, to label a certain revision or date, and to mark ! important points in the development of the document. E.g. a tag can be ! created for each release of the program, if the document is the ! documentation of a program. ! ! To create a tag for a certain version of the document, first fix the ! book to this version (by revision number or by date), and then ! create a new tag for it, which is like a label for it. Then the tags ! can be selected conveniently from the list of tags. ! ! - Fixed: validation problem: warnings (W) should not prevent saving --- 117,120 ---- ----- ! - Improvment: Replaced nsgmls by xmllint for checking the DocBook validity ! of XML files. Index: authenticate.php =================================================================== RCS file: /cvsroot/phpwebapp/books/authenticate.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** authenticate.php 3 Nov 2005 10:43:32 -0000 1.2 --- authenticate.php 17 Mar 2006 16:51:30 -0000 1.3 *************** *** 29,37 **** $passwd = $_SERVER["PHP_AUTH_PW"]; ! if ($user=='superuser' and crypt($passwd,'6ueNQisonyc2o')=='6ueNQisonyc2o') { define('SU', 'true'); define('USER', $user); ! define('EMAIL', 'ad...@ex...'); return true; } --- 29,41 ---- $passwd = $_SERVER["PHP_AUTH_PW"]; ! //the crypted password can be generated from the command line ! //using the command: $ openssl passwd -1 password ! $su_passwd='$1$3Xv3XHQv$YlwXWWf5IzIhIIMOSognG/'; ! ! if ($user=='superuser' and crypt($passwd, $su_passwd)==$su_passwd) { define('SU', 'true'); define('USER', $user); ! define('EMAIL', ADMIN_EMAIL); return true; } *************** *** 82,84 **** if (!isset($_SERVER['PHP_AUTH_USER'])) authenticate(); else if (!is_valid()) authenticate(); ! ?> \ No newline at end of file --- 86,88 ---- if (!isset($_SERVER['PHP_AUTH_USER'])) authenticate(); else if (!is_valid()) authenticate(); ! ?> Index: books.conf =================================================================== RCS file: /cvsroot/phpwebapp/books/books.conf,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** books.conf 3 Nov 2005 10:43:32 -0000 1.2 --- books.conf 17 Mar 2006 16:51:30 -0000 1.3 *************** *** 9,15 **** ### The username and email of the superuser - ADMIN='dasho' # ADMIN_EMAIL='das...@us...' ! ADMIN_EMAIL="$ADMIN" ### A list of languages that can be supported by the application; --- 9,14 ---- ### The username and email of the superuser # ADMIN_EMAIL='das...@us...' ! ADMIN_EMAIL="dasho" ### A list of languages that can be supported by the application; *************** *** 52,58 **** # SWISH-E program path. SWISH_E='/usr/local/bin/swish-e' - - # parameters of nsgmls - SGML_CATALOG='/etc/sgml/catalog' - XML_DCL='/usr/share/sgml/xml.dcl' - #XML_DCL='/usr/share/sgml/declaration/xml.dcl' --- 51,52 ---- --- chown.c DELETED --- --- install.sh DELETED --- |