DEPRECATED - Mozilla's old PTO app. Though I prefer the term "vintage".
Перейти к файлу
Rob Tucker 88307db24e Reworking code to function with pluggable authentication. Moving PHP_AUTH_USER to variable to be set via config instead of relying blindly on PHP_AUTH_USER 2017-02-14 11:06:54 -05:00
FirePHPCore Initial 2009-07-22 17:33:12 +00:00
css Do not cut off the right side of the logo. 2015-02-09 11:06:23 -08:00
img Improved PTO tool 2011-04-16 18:38:20 +00:00
js Improved PTO tool 2011-04-16 18:38:20 +00:00
templates Reworking code to function with pluggable authentication. Moving PHP_AUTH_USER to variable to be set via config instead of relying blindly on PHP_AUTH_USER 2017-02-14 11:06:54 -05:00
.gitignore gitignore file 2014-08-11 16:27:11 -07:00
README.md README tweaks 2014-08-15 14:39:54 -07:00
auth.php Reworking code to function with pluggable authentication. Moving PHP_AUTH_USER to variable to be set via config instead of relying blindly on PHP_AUTH_USER 2017-02-14 11:06:54 -05:00
class.Debug.php Improved PTO tool 2011-04-16 18:38:20 +00:00
class.Filtering.php Fixes bug 1052153, Don't allow anyone except the appropriate People people to view other employees' PTO 2014-08-11 20:59:11 -04:00
config-dist.php Reworking code to function with pluggable authentication. Moving PHP_AUTH_USER to variable to be set via config instead of relying blindly on PHP_AUTH_USER 2017-02-14 11:06:54 -05:00
contribute.json Added contribute.json. Bug 1054505. 2014-08-15 16:17:45 -07:00
edit.php Reworking code to function with pluggable authentication. Moving PHP_AUTH_USER to variable to be set via config instead of relying blindly on PHP_AUTH_USER 2017-02-14 11:06:54 -05:00
export.php Reworking code to function with pluggable authentication. Moving PHP_AUTH_USER to variable to be set via config instead of relying blindly on PHP_AUTH_USER 2017-02-14 11:06:54 -05:00
favicon.ico Initial 2009-07-22 17:33:12 +00:00
filtering.inc Improved PTO tool 2011-04-16 18:38:20 +00:00
index.php Improved PTO tool 2011-04-16 18:38:20 +00:00
mypto.php Reworking code to function with pluggable authentication. Moving PHP_AUTH_USER to variable to be set via config instead of relying blindly on PHP_AUTH_USER 2017-02-14 11:06:54 -05:00
output.inc Fixes bug 1052153, Don't allow anyone except the appropriate People people to view other employees' PTO 2014-08-11 20:59:11 -04:00
perms.inc Reworking code to function with pluggable authentication. Moving PHP_AUTH_USER to variable to be set via config instead of relying blindly on PHP_AUTH_USER 2017-02-14 11:06:54 -05:00
prefetch.inc Removed extra getRecords from prefetch 2013-09-03 19:49:25 +00:00
pto.inc Improved PTO tool 2011-04-16 18:38:20 +00:00
report.inc Allow reports generated for a specific person 2010-08-19 21:55:48 +00:00
report.php Reworking code to function with pluggable authentication. Moving PHP_AUTH_USER to variable to be set via config instead of relying blindly on PHP_AUTH_USER 2017-02-14 11:06:54 -05:00
schema.sql Improved PTO tool 2011-04-16 18:38:20 +00:00
submit.php Reworking code to function with pluggable authentication. Moving PHP_AUTH_USER to variable to be set via config instead of relying blindly on PHP_AUTH_USER 2017-02-14 11:06:54 -05:00

README.md

Old PTO

Mozilla's old PTO app. Though I prefer the term "vintage".

Libraries Used

Installation

  • copy config-dist.php to config.php
  • import schema.sql into your own database
  • copy config-dist.php to config.php and fill in the blanks

Note: The app requires LDAP server access. You probably need a VPN connection up and running.

LDAP Assumptions

  • manager field contains a dn pointing to manager's record
  • everyone has a manager, with the exception of known tree roots such as the CEO
  • /^.*@mozilla.*$/ can match everyone's email address

Contributing

If you feel so inclined, feel free to contribute:

  • Bugs in Bugzilla: Webtools :: PTO
  • Code via github pull request
  • Empathy via any appropriate medium.