You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(120) |
Jun
(74) |
Jul
(97) |
Aug
(35) |
Sep
(35) |
Oct
(34) |
Nov
|
Dec
(6) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(18) |
Feb
(8) |
Mar
(7) |
Apr
(23) |
May
(28) |
Jun
(31) |
Jul
(27) |
Aug
(34) |
Sep
(48) |
Oct
(511) |
Nov
(197) |
Dec
(333) |
| 2005 |
Jan
(212) |
Feb
(33) |
Mar
(94) |
Apr
(51) |
May
(16) |
Jun
|
Jul
(200) |
Aug
(43) |
Sep
(88) |
Oct
(60) |
Nov
(62) |
Dec
(41) |
| 2006 |
Jan
(94) |
Feb
(49) |
Mar
(54) |
Apr
|
May
(39) |
Jun
(39) |
Jul
(61) |
Aug
(36) |
Sep
(23) |
Oct
(76) |
Nov
(73) |
Dec
(32) |
| 2007 |
Jan
|
Feb
(87) |
Mar
|
Apr
(8) |
May
(36) |
Jun
(49) |
Jul
(54) |
Aug
(8) |
Sep
(50) |
Oct
(36) |
Nov
|
Dec
(3) |
| 2008 |
Jan
(133) |
Feb
(54) |
Mar
(39) |
Apr
(2) |
May
(6) |
Jun
(74) |
Jul
(97) |
Aug
(70) |
Sep
(12) |
Oct
(20) |
Nov
(64) |
Dec
(24) |
| 2009 |
Jan
(25) |
Feb
(49) |
Mar
(18) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
(10) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <gbr...@us...> - 2003-05-26 18:12:25
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/img In directory sc8-pr-cvs1:/tmp/cvs-serv13765/img Removed Files: slug.gif Log Message: removing a testing file --- slug.gif DELETED --- |
|
From: <gbr...@us...> - 2003-05-26 16:32:29
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/img In directory sc8-pr-cvs1:/tmp/cvs-serv7654/img Added Files: slug.gif Log Message: testing |
|
From: <ref...@us...> - 2003-05-26 16:28:40
|
Update of /cvsroot/phpwebsite-comm/modules In directory sc8-pr-cvs1:/tmp/cvs-serv5764 Added Files: print.gif Log Message: this shouldnt have worked.. --- NEW FILE: print.gif --- (This appears to be a binary file; contents omitted.) |
|
From: <mh...@us...> - 2003-05-26 14:55:40
|
Update of /cvsroot/phpwebsite-comm/CVSROOT
In directory sc8-pr-cvs1:/tmp/cvs-serv30484
Modified Files:
enforce_naming
Log Message:
added binary graphic check
Index: enforce_naming
===================================================================
RCS file: /cvsroot/phpwebsite-comm/CVSROOT/enforce_naming,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** enforce_naming 24 May 2003 20:42:00 -0000 1.2
--- enforce_naming 26 May 2003 14:55:34 -0000 1.3
***************
*** 57,60 ****
--- 57,68 ----
}
+ # Verify that binary graphic files aren't added.
+ if ($_ eq /\.png$/i or $_ eq /\.jpg$/i or $_ eq /\.gif$/i) {
+ print "Adding binary graphics is prohibited. ";
+ print "Please create your graphic in SVG format. ";
+ print "($directory/$_)\n";
+ $exit_val =
+ }
+
next;
}
|
|
From: <mh...@us...> - 2003-05-26 13:53:33
|
Update of /cvsroot/phpwebsite-comm/CVSROOT In directory sc8-pr-cvs1:/tmp/cvs-serv32180 Modified Files: avail Log Message: minor change to documents write access Index: avail =================================================================== RCS file: /cvsroot/phpwebsite-comm/CVSROOT/avail,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** avail 21 May 2003 22:33:23 -0000 1.3 --- avail 26 May 2003 13:53:27 -0000 1.4 *************** *** 6,11 **** # Global access for all project members ! avail||documents ! avail||themes # Complete repository access for project admins --- 6,10 ---- # Global access for all project members ! avail||documents/howto # Complete repository access for project admins |
|
From: <mh...@us...> - 2003-05-25 18:22:05
|
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv12289 Modified Files: 1.1_cvs_repository.html Log Message: minor change Index: 1.1_cvs_repository.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.1_cvs_repository.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** 1.1_cvs_repository.html 25 May 2003 18:15:49 -0000 1.5 --- 1.1_cvs_repository.html 25 May 2003 18:22:01 -0000 1.6 *************** *** 70,74 **** CVSROOT/</a><strong>avail</strong> file defines write access. If you desire write access to an area in our repository, please ! contact one of our project admins. Additional information on the <strong>cvs-acls</strong> script and the <strong>avail</strong> file format is available in the document below.</p> --- 70,75 ---- CVSROOT/</a><strong>avail</strong> file defines write access. If you desire write access to an area in our repository, please ! <a href="/tracker/?func=add&group_id=81360&atid=563509">submit ! a support request</a>. Additional information on the <strong>cvs-acls</strong> script and the <strong>avail</strong> file format is available in the document below.</p> |
|
From: <mh...@us...> - 2003-05-25 18:15:53
|
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv10417 Modified Files: 1.1_cvs_repository.html Log Message: change to question handling Index: 1.1_cvs_repository.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.1_cvs_repository.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** 1.1_cvs_repository.html 25 May 2003 17:37:07 -0000 1.4 --- 1.1_cvs_repository.html 25 May 2003 18:15:49 -0000 1.5 *************** *** 19,24 **** <strong>F2</strong> <a href="/docman/?group_id=1">SourceForge Site Docs</a>. Mandatory reading the remaining documents is conditional. ! Any questions that remain after reading these documents shall be ! addressed to one of our project admins.</p> <ul style="list-style-type: none"> <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> --- 19,26 ---- <strong>F2</strong> <a href="/docman/?group_id=1">SourceForge Site Docs</a>. Mandatory reading the remaining documents is conditional. ! If you still require assistance after reading these documents, ! please feel free to ! <a href="/tracker/?func=add&group_id=81360&atid=563509">submit ! a support request</a>.</p> <ul style="list-style-type: none"> <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> *************** *** 55,60 **** structure, developer responsibility, team write access, etc. All project members must read them prior to performing any CVS tasks. ! Any questions regarding these README files should be addressed to ! one of our project admins.</p></div> <h4 style="font: bold 12pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> Repository Write Access</h4> --- 57,64 ---- structure, developer responsibility, team write access, etc. All project members must read them prior to performing any CVS tasks. ! If you have any questions regarding these README files, please feel ! free to ! <a href="/tracker/?func=add&group_id=81360&atid=563509">submit ! a support request</a>.</p></div> <h4 style="font: bold 12pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> Repository Write Access</h4> *************** *** 103,108 **** contained in the repository. Due to this CVS limitation, the use of binary files is strongly discouraged. If you believe you must use a ! binary file, please contact one of our project admins for an ! exemption.</p> <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> The preferred format for graphics stored in our repository is --- 107,113 ---- contained in the repository. Due to this CVS limitation, the use of binary files is strongly discouraged. If you believe you must use a ! binary file, please ! <a href="/tracker/?func=add&group_id=81360&atid=563509">submit ! a support request</a> requesting an exemption.</p> <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> The preferred format for graphics stored in our repository is |
|
From: <mh...@us...> - 2003-05-25 17:37:11
|
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv29680 Modified Files: 1.1_cvs_repository.html Log Message: minor change Index: 1.1_cvs_repository.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.1_cvs_repository.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** 1.1_cvs_repository.html 25 May 2003 17:29:08 -0000 1.3 --- 1.1_cvs_repository.html 25 May 2003 17:37:07 -0000 1.4 *************** *** 62,71 **** <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> Write access is granted on an as needed basis. Our repository uses ! the cvs-acls script to control write access. The <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpwebsite-comm/CVSROOT/"> ! CVSROOT/</a>avail file defines write access. If you desire write ! access to an area in our repository, please contact one of our ! project admins. Additional information on the cvs-acls script and ! the avail file format is available in the document below.</p> <ul style="list-style-type: none"> <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> --- 62,72 ---- <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> Write access is granted on an as needed basis. Our repository uses ! the <strong>cvs-acls</strong> script to control write access. The <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpwebsite-comm/CVSROOT/"> ! CVSROOT/</a><strong>avail</strong> file defines write access. If ! you desire write access to an area in our repository, please ! contact one of our project admins. Additional information on the ! <strong>cvs-acls</strong> script and the <strong>avail</strong> ! file format is available in the document below.</p> <ul style="list-style-type: none"> <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> |
|
From: <mh...@us...> - 2003-05-25 17:29:13
|
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv27071 Modified Files: 1.1_cvs_repository.html Log Message: initial draft Index: 1.1_cvs_repository.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.1_cvs_repository.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** 1.1_cvs_repository.html 23 May 2003 15:48:01 -0000 1.2 --- 1.1_cvs_repository.html 25 May 2003 17:29:08 -0000 1.3 *************** *** 4,17 **** <!-- Last modified: $Id$ --> <!-- DocManager ID: 17109 --> ! <h3 style="font: small-caps bold 14pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif">CVS Repository</h3> ! ! <p style="font: oblique 8pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif">Authors: Mike Noyes<br /> ! Revision: 0.1<br /> ! Date: 2003-05-23</p> ! <hr /> <!-- begin document body --> <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=81360&atid=563509">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> ! </div> --- 4,117 ---- <!-- Last modified: $Id$ --> <!-- DocManager ID: 17109 --> ! <h3 style="font: small-caps bold 14pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> ! CVS Repository</h3> ! <p style="font: oblique 8pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> ! Authors:  Mike Noyes<br /> ! Revision:  0.1<br /> ! Date:  2003-05-23</p> <hr /> <!-- begin document body --> + <h4 style="font: bold 12pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + SourceForge Site Docs</h4> + <div style="margin-left: 5%"> + <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> + New project members must read the <strong>F1</strong> and + <strong>F2</strong> <a href="/docman/?group_id=1">SourceForge Site + Docs</a>. Mandatory reading the remaining documents is conditional. + Any questions that remain after reading these documents shall be + addressed to one of our project admins.</p> + <ul style="list-style-type: none"> + <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + <a href="/docman/display_doc.php?docid=14033&group_id=1">F1. + Basic Introduction to CVS and SourceForge.net Project CVS + Services</a></li> + <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + <a href="/docman/display_doc.php?docid=768&group_id=1">F2. + Introduction to SourceForge.net Project CVS Services for + Developers</a></li> + <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + <a href="/docman/display_doc.php?docid=766&group_id=1">F4. CVS + client installation: WinCvs with PuTTY on 32-bit Microsoft Windows + platforms</a></li> + <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + <a href="/docman/display_doc.php?docid=2973&group_id=1">F8. CVS + and SSH on MacOS (prior to MacOS X)</a></li></ul></div> + <h4 style="font: bold 12pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + README Files</h4> + <div style="margin-left: 5%"> + <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> + Our repository contains policy README files in the following + directories: + <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpwebsite-comm/"> + toplevel</a>, + <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpwebsite-comm/documents/"> + documents</a>, + <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpwebsite-comm/modules/"> + modules</a>, + <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpwebsite-comm/scripts/"> + scripts</a>, and + <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpwebsite-comm/themes/"> + themes</a>. These files contain information on repository + structure, developer responsibility, team write access, etc. All + project members must read them prior to performing any CVS tasks. + Any questions regarding these README files should be addressed to + one of our project admins.</p></div> + <h4 style="font: bold 12pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + Repository Write Access</h4> + <div style="margin-left: 5%"> + <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> + Write access is granted on an as needed basis. Our repository uses + the cvs-acls script to control write access. The + <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpwebsite-comm/CVSROOT/"> + CVSROOT/</a>avail file defines write access. If you desire write + access to an area in our repository, please contact one of our + project admins. Additional information on the cvs-acls script and + the avail file format is available in the document below.</p> + <ul style="list-style-type: none"> + <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + <a href="/docman/display_doc.php?docid=772&group_id=1">F3. + Enhancing Project CVS Services Using Scripts</a></li></ul></div> + <h4 style="font: bold 12pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + Coding Standards</h4> + <div style="margin-left: 5%"> + <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> + Developers shall read and comply with the + <a href="http://phpwebsite.appstate.edu/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=15&MMN_position=18:13"> + coding standards</a> defined by the + <a href="http://phpwebsite.appstate.edu/">phpWebSite + project</a>.</p></div> + <h4 style="font: bold 12pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + License</h4> + <div style="margin-left: 5%"> + <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> + The preferred license for modules, themes, etc. is + <a href="http://www.gnu.org/licenses/gpl.html">GPL</a> or + <a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a>. However, + any LGPL compatible + <a href="http://www.opensource.org/licenses/index.php">OSI Approved + license</a> is acceptable. A LICENSE and/or COPYING file must + accompany your code in CVS. All project documentation will be + released under the + <a href="http://www.gnu.org/licenses/fdl.html">FDL.</a></p></div> + <h4 style="font: bold 12pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> + Binary Files</h4> + <div style="margin-left: 5%"><!-- look at xdelta SF.net proj --> + <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> + CVS does a poor job of handling binary files. It is unable to diff + them, so a complete copy is stored for every file revision + contained in the repository. Due to this CVS limitation, the use of + binary files is strongly discouraged. If you believe you must use a + binary file, please contact one of our project admins for an + exemption.</p> + <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> + The preferred format for graphics stored in our repository is + Scalable Vector Graphics (SVG). See the <a href="">SVG HOWTO</a> + for details on the use of SVG.</p></div> <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm"> ! If you still have questions or concern regarding this document, ! please feel free to ! <a href="/tracker/?func=add&group_id=81360&atid=563509">submit ! a support request</a>. A member of the phpWebSite Community project ! will be glad to assist you further.</p></div> |
|
From: <mh...@us...> - 2003-05-24 21:18:29
|
Update of /cvsroot/phpwebsite-comm/CVSROOT
In directory sc8-pr-cvs1:/tmp/cvs-serv12824
Modified Files:
enforce_permissions
Log Message:
removed x bit from scripts files
Index: enforce_permissions
===================================================================
RCS file: /cvsroot/phpwebsite-comm/CVSROOT/enforce_permissions,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** enforce_permissions 24 May 2003 15:08:18 -0000 1.2
--- enforce_permissions 24 May 2003 21:18:25 -0000 1.3
***************
*** 4,8 ****
# the repository.
find /cvsroot/p/ph/phpwebsite-comm -type d -exec chmod 2775 {} \;
! find /cvsroot/p/ph/phpwebsite-comm/scripts -type f -exec chmod 0775 {} \;
find /cvsroot/p/ph/phpwebsite-comm/documents -type f -exec chmod 0664 {} \;
find /cvsroot/p/ph/phpwebsite-comm/modules -type f -exec chmod 0664 {} \;
--- 4,8 ----
# the repository.
find /cvsroot/p/ph/phpwebsite-comm -type d -exec chmod 2775 {} \;
! find /cvsroot/p/ph/phpwebsite-comm/scripts -type f -exec chmod 0664 {} \;
find /cvsroot/p/ph/phpwebsite-comm/documents -type f -exec chmod 0664 {} \;
find /cvsroot/p/ph/phpwebsite-comm/modules -type f -exec chmod 0664 {} \;
|
|
From: <gbr...@us...> - 2003-05-24 21:16:54
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/conf
In directory sc8-pr-cvs1:/tmp/cvs-serv11655/conf
Modified Files:
help.php
Log Message:
modifying .tpl, .lng files
Index: help.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/jobman/conf/help.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** help.php 21 May 2003 22:29:34 -0000 1.1.1.1
--- help.php 24 May 2003 21:16:20 -0000 1.2
***************
*** 31,34 ****
--- 31,36 ----
$jmQualifications = $_SESSION['translate']->it("Qualifications");
$jmQualifications_content = "Enter the qualifications required of an applicant for the position. Include desirable qualifications if any.";
+ $jmCategory = $_SESSION['translate']->it("Category");
+ $jmCategory_content = "Choose one or more categories that best fit this position.";
?>
|
|
From: <gbr...@us...> - 2003-05-24 21:16:29
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/templates
In directory sc8-pr-cvs1:/tmp/cvs-serv11655/templates
Modified Files:
edit.tpl
Log Message:
modifying .tpl, .lng files
Index: edit.tpl
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/jobman/templates/edit.tpl,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** edit.tpl 21 May 2003 22:29:37 -0000 1.1.1.1
--- edit.tpl 24 May 2003 21:16:24 -0000 1.2
***************
*** 37,40 ****
--- 37,45 ----
</tr>
<!-- END QUALIFICATIONS -->
+ <!-- BEGIN CATEGORY -->
+ <tr>
+ <td align="right" valign="top">{CATEGORY_HELP}{CATEGORY_LABEL}:</td><td align="left" valign="top">{CATEGORY}</td>
+ </tr>
+ <!-- END CATEGORY -->
<!-- BEGIN SUBMIT -->
<tr>
|
|
From: <gbr...@us...> - 2003-05-24 21:16:27
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/lang In directory sc8-pr-cvs1:/tmp/cvs-serv11655/lang Modified Files: jobman.en.lng Log Message: modifying .tpl, .lng files Index: jobman.en.lng =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/jobman/lang/jobman.en.lng,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** jobman.en.lng 21 May 2003 22:29:37 -0000 1.1.1.1 --- jobman.en.lng 24 May 2003 21:16:21 -0000 1.2 *************** *** 32,33 **** --- 32,34 ---- a:|:Delete this position listing?:|:Delete this position listing? a:|:Error:|:Error + a:|:Category:|:Category |
|
From: <gbr...@us...> - 2003-05-24 21:12:52
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/class In directory sc8-pr-cvs1:/tmp/cvs-serv10448/class Added Files: Job.php Removed Files: job.php Log Message: renaming --- job.php DELETED --- |
|
From: <gbr...@us...> - 2003-05-24 20:59:58
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/img In directory sc8-pr-cvs1:/tmp/cvs-serv6055/img Removed Files: slug.gif Log Message: removing img/slug.gif --- slug.gif DELETED --- |
|
From: <gbr...@us...> - 2003-05-24 20:51:26
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/img In directory sc8-pr-cvs1:/tmp/cvs-serv3028/img Removed Files: jobs.gif Log Message: removing jobs.gif --- jobs.gif DELETED --- |
|
From: <gbr...@us...> - 2003-05-24 20:50:25
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/class In directory sc8-pr-cvs1:/tmp/cvs-serv32501/class Removed Files: Job.php Log Message: renaming... --- Job.php DELETED --- |
|
From: <mh...@us...> - 2003-05-24 20:42:06
|
Update of /cvsroot/phpwebsite-comm/CVSROOT
In directory sc8-pr-cvs1:/tmp/cvs-serv31778
Modified Files:
enforce_naming
Log Message:
removed case enforcement
Index: enforce_naming
===================================================================
RCS file: /cvsroot/phpwebsite-comm/CVSROOT/enforce_naming,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** enforce_naming 24 May 2003 14:41:09 -0000 1.1
--- enforce_naming 24 May 2003 20:42:00 -0000 1.2
***************
*** 49,67 ****
}
- # Verify that all files are lowercase, except Makefiles
- if ((substr($_, 0, 8) ne "Makefile") and (lc($_) ne $_)) {
- print "All filenames must be completely lowercase except ";
- print "Makefiles. ($directory/$_)\n";
- $exit_val = 1;
- }
-
- # Verify that all Makefiles are properly mixed case (M UC, the rest LC)
- if ((substr(lc($_), 0, 8) eq "makefile") and
- (substr($_, 0, 8) ne "Makefile")) {
- print "All Makefiles must have proper case (M should be ";
- print "upper-case). ($directory/$_)\n";
- $exit_val = 1;
- }
-
# Verify that we are not committing a file of the same name
# as a directory
--- 49,52 ----
|
|
From: <gbr...@us...> - 2003-05-24 20:34:44
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/class
In directory sc8-pr-cvs1:/tmp/cvs-serv29847/class
Added Files:
job.php
Log Message:
renaming...
--- NEW FILE: job.php ---
<?php
/**
* Job.php
* Defines Job class for Job Manager module
*
* This class is an extension of the PHPWS_Item class defined in core/Item.php.
* Its function is to create, edit, delete, and view one of the items in a list.
* The class defines additional variables to the standard ones handled automatically
* by PHPWS_Item, defines a constructor, edit(), delete(), and view() function, and
* an action() switch that handles other procedures (here, a save() function) that
* are needed.
*
* The listing of these items is handled by an extension of the PHPWS_Manager
* class, defined in core/Manager.php.
*
* @version $Id: job.php,v 1.1 2003/05/24 20:34:41 gbrackett Exp $
* @author George Brackett <gbr...@NO...>
* @package Job Manager
*/
class Job extends PHPWS_Item {
/**
* title of this job is stored in the item's Label field
*/
/**
* status of this job -- full or part time
* @var string
*/
var $_status = NULL;
/**
* hours of this job - a number, or 'flexible' etc.
* @var string
*/
var $_hours = NULL;
/**
* date this job is available - an actual date, or 'ASAP' etc.
* @var string
*/
var $_date_available = NULL;
/**
* contact for this job
* @var string
*/
var $_contact = NULL;
/**
* description of this job
* @var string
*/
var $_description = NULL;
/**
* qualifications for this job
* @var string
*/
var $_qualifications = NULL;
/**
* Constructor for the job class
* Sets all the job attributes
*
* @param int $job_id id of the job to be constructed; NULL if new job
*/
function Job($job_id = NULL) {
/* point to the jobs data table */
$this->setTable("mod_jobman_jobs");
/* if the job exists, initialize its variables from the database */
if (isset($job_id)) {
$error = $this->setId($job_id); /* setId returns a PHPWS_Error object */
if(PHPWS_Error::isError($error)) {
$error->message('CNT_jobman'); /* report the error, if any */
}
$this->init(); /* initialize variables */
}
}
/**
* Edit a job object's data
*
* @author George Brackett <gbr...@NO...>
*/
function edit() {
// Create a 'Back' button using EZform
// Note: form action defaults to "index.php"
$form = new EZform("JOB_BACK");
$form->add("BACK_BUTTON", "submit", $_SESSION["translate"]->it("Back"));
$form->add("module", "hidden", "jobman");
$form->add("JOB_MAN_op", "hidden", "list");
$tags = array();
$tags = $form->getTemplate();
$content = $GLOBALS["core"]->processTemplate($tags, "jobman", "back.tpl");
// Set up the edit form
$form = new EZform("JOB_EDIT");
$form->add("POSITION", "text", htmlspecialchars($this->getLabel()));
$form->setSize("POSITION", 33);
$form->setMaxSize("POSITION", 255);
$form->setTab("POSITION", 1);
$form->add("STATUS", "text", htmlspecialchars($this->_status));
$form->setSize("STATUS", 30);
$form->setMaxSize("STATUS", 255);
$form->setTab("STATUS", 2);
$form->add("HOURS", "text", htmlspecialchars($this->_hours));
$form->setSize("HOURS", 30);
$form->setMaxSize("HOURS", 255);
$form->setTab("HOURS", 3);
$form->add("DATE_AVAILABLE", "text", htmlspecialchars($this->_date_available));
$form->setSize("DATE_AVAILABLE", 33);
$form->setMaxSize("DATE_AVAILABLE", 255);
$form->setTab("DATE_AVAILABLE", 4);
$form->add("CONTACT", "text", htmlspecialchars($this->_contact));
$form->setSize("CONTACT", 50);
$form->setMaxSize("CONTACT", 255);
$form->setTab("CONTACT", 5);
// note do not need to convert special characters for a text area
$form->add("DESCRIPTION", "textarea", $this->_description);
$form->setTab("DESCRIPTION", 6);
$form->add("QUALIFICATIONS", "textarea", $this->_qualifications);
$form->setTab("QUALIFICATIONS", 7);
$form->add("SUBMIT_BUTTON", "submit", $this->getId() ? $_SESSION["translate"]->it("Update") : $_SESSION["translate"]->it("Save"));
$form->add("module", "hidden", "jobman");
$form->add("JOB_op", "hidden", "save");
$tags = array();
$tags = $form->getTemplate();
// include category selection menu, with help
$tags["CATEGORY"] = $_SESSION['OBJ_fatcat']->showSelect($this->id, "multiple", 3, "jobman");
$tags["CATEGORY_HELP"] = $_SESSION['OBJ_help']->show_link("jobman", "jmCategory");
$tags["CATEGORY_LABEL"] = $_SESSION['translate']->it("Category");
// vary title for new and edited listings
if ($this->getId()) {
$tags["TITLE"] = $_SESSION["translate"]->it("Edit Position Listing");
} else {
$tags["TITLE"] = $_SESSION["translate"]->it("Add Position Listing");
}
/* include help links also, to display help for each field to be completed */
$tags["POSITION_LABEL"] = $_SESSION['translate']->it("Position");
$tags["POSITION_HELP"] = $_SESSION["OBJ_help"]->show_link("jobman", "jmPosition");
$tags["STATUS_LABEL"] = $_SESSION['translate']->it("Status");
$tags["STATUS_HELP"] = $_SESSION["OBJ_help"]->show_link("jobman", "jmStatus");
$tags["HOURS_LABEL"] = $_SESSION['translate']->it("Hours");
$tags["HOURS_HELP"] = $_SESSION["OBJ_help"]->show_link("jobman", "jmHours");
$tags["DATE_AVAILABLE_LABEL"] = $_SESSION['translate']->it("Date Available");
$tags["DATE_AVAILABLE_HELP"] = $_SESSION["OBJ_help"]->show_link("jobman", "jmDateAvailable");
$tags["CONTACT_LABEL"] = $_SESSION['translate']->it("Contact");
$tags["CONTACT_HELP"] = $_SESSION["OBJ_help"]->show_link("jobman", "jmContact");
$tags["DESCRIPTION_LABEL"] = $_SESSION['translate']->it("Description");
$tags["DESCRIPTION_HELP"] = $_SESSION["OBJ_help"]->show_link("jobman", "jmDescription");
$tags["QUALIFICATIONS_LABEL"] = $_SESSION['translate']->it("Qualifications");
$tags["QUALIFICATIONS_HELP"] = $_SESSION["OBJ_help"]->show_link("jobman", "jmQualifications");
$content .= $GLOBALS["core"]->processTemplate($tags, "jobman", "edit.tpl");
return $content;
} //END function edit
/**
* Asks for confirmation and, getting it, deletes the current position listing
*
* @author George Brackett <gbr...@NO...>
*/
function delete() {
if (isset($_REQUEST["YES_BUTTON"])) {
// have confirmation; remove category listing while we know the id
$_SESSION['OBJ_fatcat']->purge($this->getId(), "jobman");
// delete the current item
$this->kill(); // function defined in core/item.php
// tell 'em it's done
$content = $this->_continueContent("Position listing deleted.", "list");
} elseif (isset($_REQUEST["NO_BUTTON"])) {
/* tell user all is still okay */
$content = $this->_continueContent("Position listing NOT deleted.", "list");
} else {
/* ask if the user is sure */
$form = new EZform("JOB_DELETE");
$form->add("YES_BUTTON", "submit", $_SESSION["translate"]->it("Yes"));
$form->add("NO_BUTTON", "submit", $_SESSION["translate"]->it("No"));
$form->add("module", "hidden", "jobman");
$form->add("JOB_MAN_op", "hidden", "delete");
// note must indicate with [] that the id variable is in an array
$form->add("PHPWS_MAN_ITEMS[]", "hidden", $this->getId());
$tags = array();
$tags = $form->getTemplate();
$tags["MESSAGE"] = $_SESSION["translate"]->it("Delete this position listing?");
$tags["POSITION_LABEL"] = $_SESSION['translate']->it("Position");
$tags["STATUS_LABEL"] = $_SESSION['translate']->it("Status");
$tags["HOURS_LABEL"] = $_SESSION['translate']->it("Hours");
$tags["DATE_AVAILABLE_LABEL"] = $_SESSION['translate']->it("Date Available");
$tags["CONTACT_LABEL"] = $_SESSION['translate']->it("Contact");
$tags["DESCRIPTION_LABEL"] = $_SESSION['translate']->it("Description");
$tags["QUALIFICATIONS_LABEL"] = $_SESSION['translate']->it("Qualifications");
$tags["POSITION"] = $this->getLabel();
$tags["STATUS"] = $this->_status;
$tags["HOURS"] = $this->_hours;
$tags["DATE_AVAILABLE"] = $this->_date_available;
$tags["CONTACT"] = $this->_contact;
$tags["DESCRIPTION"] = $this->_description;
$tags["QUALIFICATIONS"] = $this->_qualifications;
$content .= $GLOBALS["core"]->processTemplate($tags, "jobman", "confirm.tpl");
}
return $content;
} //END function delete
/**
* Displays current position listing
*
* @author George Brackett <gbr...@NO...>
*/
function view() {
$form = new EZform("JOB_VIEW");
$form->add("CONTINUE_BUTTON", "submit", $_SESSION["translate"]->it("Continue"));
$form->add("module", "hidden", "jobman");
$form->add("JOB_MAN_op", "hidden", "list");
$tags = array();
$tags = $form->getTemplate();
$tags["POSITION_LABEL"] = $_SESSION['translate']->it("Position");
$tags["STATUS_LABEL"] = $_SESSION['translate']->it("Status");
$tags["HOURS_LABEL"] = $_SESSION['translate']->it("Hours");
$tags["DATE_AVAILABLE_LABEL"] = $_SESSION['translate']->it("Date Available");
$tags["CONTACT_LABEL"] = $_SESSION['translate']->it("Contact");
$tags["DESCRIPTION_LABEL"] = $_SESSION['translate']->it("Description");
$tags["QUALIFICATIONS_LABEL"] = $_SESSION['translate']->it("Qualifications");
$tags["POSITION"] = $this->getLabel();
$tags["STATUS"] = $this->_status;
$tags["HOURS"] = $this->_hours;
$tags["DATE_AVAILABLE"] = $this->_date_available;
$tags["CONTACT"] = $this->_contact;
$tags["DESCRIPTION"] = $this->_description;
$tags["QUALIFICATIONS"] = $this->_qualifications;
$content = $GLOBALS["core"]->processTemplate($tags, "jobman", "view.tpl");
return $content;
} //END function functionname
/**
* Saves data for job object to database
*
* @author George Brackett <gbr...@NO...>
*/
function _save() {
$newjob = ($this->getId() == NULL);
$error = FALSE;
// we MUST have a position title, since this is the label for the data entry; errors if not
if (!isset($_REQUEST["POSITION"]) || (trim($_REQUEST["POSITION"]) == "")) {
$message = "<br /><b>" . $_SESSION['translate']->it("Please enter a position title.") . "</b><hr>";
$_REQUEST["POSITION"] = $_SESSION['translate']->it("Error");
$error = TRUE;
}
// save the edited data in the database in either case
// note that parseInput called this way allows the global set of HTML tags to be included
$this->setLabel(PHPWS_Text::parseInput($_REQUEST["POSITION"]));
$this->_status = PHPWS_Text::parseInput($_REQUEST["STATUS"]);
$this->_hours = PHPWS_Text::parseInput($_REQUEST["HOURS"]);
$this->_date_available = PHPWS_Text::parseInput($_REQUEST["DATE_AVAILABLE"]);
$this->_contact = PHPWS_Text::parseInput($_REQUEST["CONTACT"]);
$this->_description = PHPWS_Text::parseInput($_REQUEST["DESCRIPTION"]);
$this->_qualifications = PHPWS_Text::parseInput($_REQUEST["QUALIFICATIONS"]);
$this->commit();
// save the category
$element_link = "index.php?module=jobman&JOB_MAN_op=sView&JOB_id=" . $this->getId();
$_SESSION['OBJ_fatcat']->saveSelect($this->getLabel(), $element_link, $this->getId());
if ($error) {
$GLOBALS["CNT_jobman"]["title"] = "<span class=\"errortext\">" . $_SESSION['translate']->it("Error") . "</span>";
$content = $message . $this->edit();
} else {
/// tell user data is saved or updated
if ($newjob) {
$content = $this->_continueContent("Position listing saved.", "list");
} else {
$content = $this->_continueContent("Position listing updated.", "list");
}
$GLOBALS["CNT_jobman"]["title"] = $_SESSION['translate']->it("Positions Available");
}
// set content display
$GLOBALS["CNT_jobman"]["content"] = $content;
} //END function _save
/**
* Return content for a display with a message and a continue button
*
* @param string $message The string to display above the continue button, already translated
* @param string $action The JOB_MAN_op action to perform when Continue is pressed
* @author George Brackett <gbr...@NO...>
*/
function _continueContent($message, $action) {
$form = new EZform("JOB_CONTINUE");
$form->add("module", "hidden", "jobman");
$form->add("JOB_MAN_op", "hidden", $action);
$form->add("CONTINUE_BUTTON", "submit", $_SESSION["translate"]->it("Continue"));
$tags = array();
$tags = $form->getTemplate();
$tags["MESSAGE"] = $_SESSION["translate"]->it($message);
$content = $GLOBALS["core"]->processTemplate($tags, "jobman", "continue.tpl");
return $content;
} //END function functionname
/**
* Perform actions on job object data (not object)
*
* @author George Brackett <gbr...@NO...>
*/
function action() {
if (isset($_REQUEST["JOB_op"])) {
switch($_REQUEST["JOB_op"]) {
case "save":
$this->_save();
break;
}
}
/* if ($content != NULL) { */
/* /* set display variables */
/* $GLOBALS["CNT_jobman"]["content"] = $content; */
/* $GLOBALS["CNT_jobman"]["title"] = $_SESSION['translate']->it("Positions Available"); */
/* } */
}// END function action
}
?>
|
|
From: <gbr...@us...> - 2003-05-24 20:20:08
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/conf
In directory sc8-pr-cvs1:/tmp/cvs-serv24960/conf
Added Files:
controlpanel.php
Log Message:
added conf/controlpanel.php
--- NEW FILE: controlpanel.php ---
<?php
// Defines the access to and appearance of module listings.
$image['name'] = "hatdrill.png";
$image['alt'] = "Job List by George Brackett";
$image2['name'] = "hatdrill.png";
$image2['alt'] = "Job List";
$link[] = array("label"=>"Job List Manager",
"module"=>"jobman",
"description"=>"Maintain a list of available positions for an organization.",
"url"=>"index.php?module=jobman&JOB_MAN_op=list",
"image"=>$image,
"admin"=>TRUE,
"tab"=>"content");
/* $link[] = array("label"=>"Job List", */
/* "module"=>"jobman", */
/* "description"=>"View a list of available positions.", */
/* "url"=>"index.php?module=jobman&JOB_MAN_op=list", */
/* "image"=>$image2, */
/* "admin"=>FALSE, */
/* "tab"=>"content"); */
?>
|
|
From: <gbr...@us...> - 2003-05-24 20:17:28
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/img In directory sc8-pr-cvs1:/tmp/cvs-serv23823/img Added Files: hatdrill.png Log Message: added img/hatdrill.png --- NEW FILE: hatdrill.png --- (This appears to be a binary file; contents omitted.) |
|
From: <mh...@us...> - 2003-05-24 15:08:23
|
Update of /cvsroot/phpwebsite-comm/CVSROOT
In directory sc8-pr-cvs1:/tmp/cvs-serv22355
Modified Files:
enforce_directories enforce_permissions
Log Message:
modified enforce scripts for our repository
Index: enforce_directories
===================================================================
RCS file: /cvsroot/phpwebsite-comm/CVSROOT/enforce_directories,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** enforce_directories 24 May 2003 14:41:09 -0000 1.1
--- enforce_directories 24 May 2003 15:08:18 -0000 1.2
***************
*** 1,5 ****
#!/bin/sh
! find /cvsroot/s/si/sitedocs -type d -name CVS -exec rm -Rf {} \; >/dev/null 2>&1
! find /cvsroot/s/si/sitedocs -type d -name cvs -exec rm -Rf {} \; >/dev/null 2>&1
--- 1,5 ----
#!/bin/sh
! find /cvsroot/p/ph/phpwebsite-comm -type d -name CVS -exec rm -Rf {} \; >/dev/null 2>&1
! find /cvsroot/p/ph/phpwebsite-comm -type d -name cvs -exec rm -Rf {} \; >/dev/null 2>&1
Index: enforce_permissions
===================================================================
RCS file: /cvsroot/phpwebsite-comm/CVSROOT/enforce_permissions,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** enforce_permissions 24 May 2003 14:41:09 -0000 1.1
--- enforce_permissions 24 May 2003 15:08:18 -0000 1.2
***************
*** 3,10 ****
# This script will be used to enforce proper permissions on all files within
# the repository.
! find /cvsroot/s/si/sitedocs -type d -exec chmod 2775 {} \;
! find /cvsroot/s/si/sitedocs/docshell/scripts -type f -exec chmod 0775 {} \;
! find /cvsroot/s/si/sitedocs/sitedocs/scripts -type f -exec chmod 0775 {} \;
! find /cvsroot/s/si/sitedocs/sitedocs -type f -name *.xml -exec chmod 0664 {} \;
! find /cvsroot/s/si/sitedocs/sitedocs -type f -name Makefile -exec chmod 0664 {} \;
--- 3,10 ----
# This script will be used to enforce proper permissions on all files within
# the repository.
! find /cvsroot/p/ph/phpwebsite-comm -type d -exec chmod 2775 {} \;
! find /cvsroot/p/ph/phpwebsite-comm/scripts -type f -exec chmod 0775 {} \;
! find /cvsroot/p/ph/phpwebsite-comm/documents -type f -exec chmod 0664 {} \;
! find /cvsroot/p/ph/phpwebsite-comm/modules -type f -exec chmod 0664 {} \;
! find /cvsroot/p/ph/phpwebsite-comm/themes -type f -exec chmod 0664 {} \;
|
|
From: <mh...@us...> - 2003-05-24 14:51:57
|
Update of /cvsroot/phpwebsite-comm/CVSROOT
In directory sc8-pr-cvs1:/tmp/cvs-serv16829
Modified Files:
commitinfo loginfo
Log Message:
enabled enforce scripts
Index: commitinfo
===================================================================
RCS file: /cvsroot/phpwebsite-comm/CVSROOT/commitinfo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** commitinfo 20 May 2003 19:31:17 -0000 1.2
--- commitinfo 24 May 2003 14:51:54 -0000 1.3
***************
*** 15,17 ****
--- 15,18 ----
# in addition to the first matching regex or "DEFAULT".
ALL /cvsroot/sitedocs/CVSROOT/cvstools/cvs_acls
+ ALL $CVSROOT/CVSROOT/enforce_naming
Index: loginfo
===================================================================
RCS file: /cvsroot/phpwebsite-comm/CVSROOT/loginfo,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** loginfo 21 May 2003 22:54:17 -0000 1.3
--- loginfo 24 May 2003 14:51:54 -0000 1.4
***************
*** 25,28 ****
--- 25,30 ----
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
+ ALL $CVSROOT/CVSROOT/enforce_directories
+ ALL $CVSROOT/CVSROOT/enforce_permissions
CVSROOT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail %{sVv} php...@li...
DEFAULT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail %{sVv} php...@li...
|
|
From: <mh...@us...> - 2003-05-24 14:51:11
|
Update of /cvsroot/phpwebsite-comm/CVSROOT In directory sc8-pr-cvs1:/tmp/cvs-serv16580 Modified Files: checkoutlist Log Message: modified for enforce scripts Index: checkoutlist =================================================================== RCS file: /cvsroot/phpwebsite-comm/CVSROOT/checkoutlist,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** checkoutlist 20 May 2003 19:28:20 -0000 1.2 --- checkoutlist 24 May 2003 14:51:08 -0000 1.3 *************** *** 13,15 **** --- 13,18 ---- # comment lines begin with '#' avail + enforce_directories + enforce_naming + enforce_permissions |
|
From: <mh...@us...> - 2003-05-24 14:42:11
|
Update of /cvsroot/phpwebsite-comm/CVSROOT
In directory sc8-pr-cvs1:/tmp/cvs-serv13246
Added Files:
enforce_directories enforce_naming enforce_permissions
Log Message:
added enforce scripts from sitedocs project
--- NEW FILE: enforce_directories ---
#!/bin/sh
find /cvsroot/s/si/sitedocs -type d -name CVS -exec rm -Rf {} \; >/dev/null 2>&1
find /cvsroot/s/si/sitedocs -type d -name cvs -exec rm -Rf {} \; >/dev/null 2>&1
--- NEW FILE: enforce_naming ---
#!/usr/bin/perl
# enforce-naming.pl - Verify undesireable files (by name) are not committed
# Copyright (C) 2002 Open Source Development Network.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
# Original version by: Jacob Moorman <mo...@so...>
# $Id: enforce_naming,v 1.1 2003/05/24 14:41:09 mhnoyes Exp $
# This script will check for common naming violations which can result
# in painful issues for end-users of this repository.
# 1. Verify that we do not create a file named CVS or cvs
# 2. Verify that we do not create a file with the same name as a directory
# 3. Verify that all filenames, except Makefile, are lowercase
# 4. Verify that all Makefiles are mixed case, properly
$exit_val = 0;
# Determine the directory of the commit
$directory = @ARGV[0];
shift @ARGV;
for (@ARGV) {
# Verify that we do not create a file named CVS or cvs.
if ($_ eq "cvs" or $_ eq "CVS") {
print "Creation of files named CVS or cvs is prohibited. ";
print "($directory/$_)\n";
$exit_val = 1;
}
# Verify that all files are lowercase, except Makefiles
if ((substr($_, 0, 8) ne "Makefile") and (lc($_) ne $_)) {
print "All filenames must be completely lowercase except ";
print "Makefiles. ($directory/$_)\n";
$exit_val = 1;
}
# Verify that all Makefiles are properly mixed case (M UC, the rest LC)
if ((substr(lc($_), 0, 8) eq "makefile") and
(substr($_, 0, 8) ne "Makefile")) {
print "All Makefiles must have proper case (M should be ";
print "upper-case). ($directory/$_)\n";
$exit_val = 1;
}
# Verify that we are not committing a file of the same name
# as a directory
if (-d "$directory/$_") {
print "There is already a directory of the same name as the ";
print "file you are trying to commit. ($directory/$_)\n";
$exit_val = 1;
}
next;
}
exit ($exit_val);
--- NEW FILE: enforce_permissions ---
#!/bin/sh
# This script will be used to enforce proper permissions on all files within
# the repository.
find /cvsroot/s/si/sitedocs -type d -exec chmod 2775 {} \;
find /cvsroot/s/si/sitedocs/docshell/scripts -type f -exec chmod 0775 {} \;
find /cvsroot/s/si/sitedocs/sitedocs/scripts -type f -exec chmod 0775 {} \;
find /cvsroot/s/si/sitedocs/sitedocs -type f -name *.xml -exec chmod 0664 {} \;
find /cvsroot/s/si/sitedocs/sitedocs -type f -name Makefile -exec chmod 0664 {} \;
|