Code Monkey home page Code Monkey logo

internal-ldap-based-phonebook's Introduction

Internal LDAP-based phonebook

Build Status codecov Latest Stable Version License: MIT

Internal LDAP-based phonebook

This phonebook provides next features:

  • Authenticating users by membership in the LDAP security group for next roles:
    • user - read-only access without extended fields, allows to change information about yourself;
    • secretary - read-only access include extended fields, allows to change information about yourself;
    • human resources - full access include extended fields, allows to approve changes to information from users;
    • administrator - full access include extended fields, allows to approve changes to information from users and manage phonebook.
  • Changing user information after approval;
  • Ability to change the list of extended fields and read-only fields;
  • Changing the display format of the phone number:
    • E164;
    • INTERNATIONAL;
    • NATIONAL;
    • RFC3966.
  • Export phonebook information in PDF and XLSX format alphabetically and by department. For each user role. Without breaks in table headers at the end of the page for PDF.
  • Ability to change the logo of the organization on the title page PDF;
  • Ability to change order of the columns in the result table;
  • Ability to change label of fields, tooltip, input mask and validation rules and flag of truncate long text in result table;
  • Ability to change the order of departments in the exported files PDF and XLSX;
  • Ability to use the full and abbreviated name of the department;
  • Notice of birthdays of employees;
  • View employees as a subordination tree or gallery;
  • Logging changes in employee information with the ability to recover;
  • Resize photo up to 200x200 px on upload;
  • Support for keyboard layout corrections for the Russian language;
  • Customizable list of fields for synchronization;
  • Synchronizing information from LDAP to database.

Requirements

  • Apache module mod_rewrite;
  • PHP 5.4.0 or greater.

Installation

  1. Install phonebook using composer: composer create-project anklimsk/internal-ldap-based-phonebook /path/to/phonebook.
  2. Copy applicaton files from /path/to/phonebook to VirtualHost document root directory, e.g.: /var/www/phonebook.
  3. Navigate to the directory app application (/var/www/phonebook/app), and run the following command: sudo ./Console/cake CakeInstaller to start interactive shell of installer.
  4. After the installation process is complete, in your browser go to the link http://phonebook.fabrikam.com/settings to change settings of application, where http://phonebook.fabrikam.com - base URL of installited Phonebook.
  5. Fill in the fields in the Authentication group settings and click the Save button.
  6. Login with user group member Administrator or Human resources and choose menu item Employees -> Synchronizing information with LDAP server. For synchronization subordinate employees repeat choose menu item.
  7. To start a tour of the phonebook, select the menu item "?" on the home page.

Using

Using this phonebook

Project icon

Author: Andy Gongea

License

MIT License

Copyright (c) 2018 Andrey Klimov

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.

internal-ldap-based-phonebook's People

Contributors

anklimsk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.