Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDN Features for files uploaded to system #123

Open
wants to merge 226 commits into
base: master
Choose a base branch
from
Open

CDN Features for files uploaded to system #123

wants to merge 226 commits into from

Commits on Dec 13, 2013

  1. Implement LDAP directory searching

    Jared Hancock committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    accdb5e View commit details
    Browse the repository at this point in the history
  2. Implement user lookup on authenticate

    If the search_base is not defined or not correct for the user being
    authenticated and a search user and password is given and is correct,
    attempt to lookup the user's DN and authenticate as the found DN with the
    given password.
    Jared Hancock committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    1aaa2e3 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2013

  1. auth-passthru: Fix Active Directory username match

    Jared Hancock committed Dec 18, 2013
    Configuration menu
    Copy the full SHA
    ac40364 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2013

  1. Add telephoneNumber lookup for Active Directory

    Add the "Telephone Number" field on the "General" tab of the Windows user
    manager dialog to the "Phone Number" field of the user-to-be-created when
    adding users from the LDAP directory into the system.
    Jared Hancock committed Dec 23, 2013
    Configuration menu
    Copy the full SHA
    691be0d View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2014

  1. auth-ldap: Fix incorrect usage of unconfigured dns

    If the DNS servers were not considered, the empty string would be
    interpreted as a list of one DNS server with an empty IP address. Therefore,
    the name servers specified in the system DNS configuration would not be
    used.
    
    This patch corrects the issue by filtering empty DNS server specifications.
    Jared Hancock committed Jan 1, 2014
    Configuration menu
    Copy the full SHA
    5dd3134 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2014

  1. Configuration menu
    Copy the full SHA
    ff82153 View commit details
    Browse the repository at this point in the history
  2. Add plugin builder script to create PHAR files

    Jared Hancock committed Jan 17, 2014
    Configuration menu
    Copy the full SHA
    bcf5839 View commit details
    Browse the repository at this point in the history
  3. Make LDAPAuthentication abtract

    This is necessary so we can split Staff/User authentication.
    protich committed Jan 17, 2014
    Configuration menu
    Copy the full SHA
    e5fdaa4 View commit details
    Browse the repository at this point in the history
  4. Allow LDAP auth to be used for clients too

    (For when we get there)
    Jared Hancock committed Jan 17, 2014
    Configuration menu
    Copy the full SHA
    ee8fdf0 View commit details
    Browse the repository at this point in the history
  5. Fixup user searches for LDAP

    Jared Hancock committed Jan 17, 2014
    Configuration menu
    Copy the full SHA
    113915c View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2014

  1. Merge pull request #4 from protich/feature/authentication-backends

    Authentication Backends Revisited
    
    Reviewed-By: Jared Hancock <[email protected]>
    greezybacon committed Jan 20, 2014
    Configuration menu
    Copy the full SHA
    aefc10f View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2014

  1. Merge pull request #5 from greezybacon/feature/plugin-builder

    Add plugin builder script to create PHAR files
    greezybacon committed Jan 21, 2014
    Configuration menu
    Copy the full SHA
    51de154 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2014

  1. ldap: Allow specification of extremely long DNs

    Previously the DN length was capped at 80 chars. This patch allows
    specification of up to 120 chars.
    Jared Hancock committed Jan 31, 2014
    Configuration menu
    Copy the full SHA
    e1f7f05 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #10 from greezybacon/issue/long-dns

    ldap: Allow specification of extremely long DNs
    greezybacon committed Jan 31, 2014
    Configuration menu
    Copy the full SHA
    60863d7 View commit details
    Browse the repository at this point in the history
  3. Bump auth-ldap version

    Jared Hancock committed Jan 31, 2014
    Configuration menu
    Copy the full SHA
    12c495a View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2014

  1. ldap: Ensure domain name is a FQDN

    Jared Hancock committed Feb 3, 2014
    Configuration menu
    Copy the full SHA
    b155770 View commit details
    Browse the repository at this point in the history
  2. ldap: Ensure DNS is a comma-separated IP list

    Jared Hancock committed Feb 3, 2014
    Configuration menu
    Copy the full SHA
    3700f0e View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2014

  1. Merge pull request #12 from greezybacon/issue/3

    ldap: AD: Add validation errors
    greezybacon committed Feb 19, 2014
    Configuration menu
    Copy the full SHA
    e52422f View commit details
    Browse the repository at this point in the history
  2. Bump LDAP version

    Jared Hancock committed Feb 19, 2014
    Configuration menu
    Copy the full SHA
    be2000f View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2014

  1. ldap: Increase default domain length

    Also search for inetOrgPerson objectClass objects for standard LDAP systems
    rather than assuming that all users have the posixAccount class as well.
    Jared Hancock committed Mar 3, 2014
    Configuration menu
    Copy the full SHA
    cdf242f View commit details
    Browse the repository at this point in the history
  2. storage-fs: Support reading by block size

    Jared Hancock committed Mar 3, 2014
    Configuration menu
    Copy the full SHA
    8c4d060 View commit details
    Browse the repository at this point in the history
  3. file system config page update

    display some more information to the admin user configuring the plugin
    ntozier authored and Jared Hancock committed Mar 3, 2014
    Configuration menu
    Copy the full SHA
    a29a210 View commit details
    Browse the repository at this point in the history
  4. storage-fs: Bump version number

    Jared Hancock committed Mar 3, 2014
    Configuration menu
    Copy the full SHA
    6d9ea4f View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2014

  1. Add S3 plugin and dependencies

    Use composer to download and manage dependencies
    Jared Hancock committed Mar 18, 2014
    Configuration menu
    Copy the full SHA
    ccdb113 View commit details
    Browse the repository at this point in the history
  2. Implement blocksize for S3

    Jared Hancock committed Mar 18, 2014
    Configuration menu
    Copy the full SHA
    0325190 View commit details
    Browse the repository at this point in the history
  3. s3: Copy password on save (if not set)

    Jared Hancock committed Mar 18, 2014
    Configuration menu
    Copy the full SHA
    e5afeb6 View commit details
    Browse the repository at this point in the history
  4. ldap: Fixup path for PEAR includes

    Jared Hancock committed Mar 18, 2014
    Configuration menu
    Copy the full SHA
    3f6c723 View commit details
    Browse the repository at this point in the history
  5. Add hydrate command for non-phar users

    Jared Hancock committed Mar 18, 2014
    Configuration menu
    Copy the full SHA
    57b3edd View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2014

  1. No implied update of dependencies when building

    Jared Hancock committed Mar 20, 2014
    Configuration menu
    Copy the full SHA
    0af6193 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2014

  1. Merge pull request #11 from greezybacon/feature/s3

    Attachment storage in Amazon S3
    
    Reviewed-By: Peter Rotich <[email protected]>
    protich committed Mar 21, 2014
    Configuration menu
    Copy the full SHA
    ad344ae View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2014

  1. Implement client authentication via LDAP

    Jared Hancock committed Mar 25, 2014
    Configuration menu
    Copy the full SHA
    dc4a1b0 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2014

  1. Implement CreateClientRequest cooperation

    Jared Hancock committed Mar 26, 2014
    Configuration menu
    Copy the full SHA
    d8c507a View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2014

  1. Fixup ClientCreateRequest after searching for user

    Jared Hancock committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    20fea98 View commit details
    Browse the repository at this point in the history
  2. Fixup include_path setup on plugin load

    Jared Hancock committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    8ad6350 View commit details
    Browse the repository at this point in the history
  3. Add missing ldap extension to a red banner

    Jared Hancock committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    0f48180 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2014

  1. s3: Use Content-MD5 header instead of download

    AWS supports sending a Content-MD5 header along with the data. The AWS
    server will re-hash the data received, and if the server-generated hash does
    not match the received hash, the request will fail and the content will be
    discarded.
    
    This offers a significant performance boost over the previous version, as
    the content of the file only needs to be sent over the internet once per
    transaction.
    Jared Hancock committed Apr 14, 2014
    Configuration menu
    Copy the full SHA
    1e2596b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #20 from greezybacon/feature/s3-hash-use-etag

    Reviewed-By: Peter Rotich <[email protected]>
    protich committed Apr 14, 2014
    Configuration menu
    Copy the full SHA
    de95ad3 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2014

  1. Bump version code for AWS S3 storage

    Jared Hancock committed Apr 18, 2014
    Configuration menu
    Copy the full SHA
    a7e3a08 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2014

  1. oauth: Introduce external authentication with Google+

    Jared Hancock committed Apr 29, 2014
    2 Configuration menu
    Copy the full SHA
    e17c89f View commit details
    Browse the repository at this point in the history

Commits on May 4, 2014

  1. ldap: Fix user name info lookup

    The attributes for first and last name were incorrect for Active Directory
    Jared Hancock committed May 4, 2014
    Configuration menu
    Copy the full SHA
    f60642b View commit details
    Browse the repository at this point in the history
  2. ldap: Fix auto detection of Active Directory

    supportedCapabilities is not included by default for the rootDse lookup
    funciton in the Net_LDAP2 library. Perhaps Windows Server 2003 level Active
    Directory always included it.
    Jared Hancock committed May 4, 2014
    Configuration menu
    Copy the full SHA
    7dc26a0 View commit details
    Browse the repository at this point in the history
  3. ldap: Fix user information lookup for Active Directory

    The user@domain syntax is not a correct distinguished name when querying
    Active Directory for user information. Instead, the search base should be
    queried for an object with (userPrinicipalName=user@domain)
    Jared Hancock committed May 4, 2014
    Configuration menu
    Copy the full SHA
    aa246e6 View commit details
    Browse the repository at this point in the history
  4. make: Don't attempt to add directories to PHARs

    Jared Hancock committed May 4, 2014
    Configuration menu
    Copy the full SHA
    63124e4 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2014

  1. ldap: Allow lookup and registration to coexist

    The way registraiton lookup was corrected broke user lookups in the staff
    portal for Active Directory. This patch allows them to coexist by looking up
    the User's DN in the registration pipeline for Active Directory.
    Jared Hancock committed May 5, 2014
    Configuration menu
    Copy the full SHA
    775528a View commit details
    Browse the repository at this point in the history
  2. ldap: Auto add Active Directory domain to search user

    Jared Hancock committed May 5, 2014
    Configuration menu
    Copy the full SHA
    805ac21 View commit details
    Browse the repository at this point in the history
  3. ldap: Permit authentication by email and password

    Jared Hancock committed May 5, 2014
    Configuration menu
    Copy the full SHA
    6b55697 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2014

  1. Merge pull request #26 from greezybacon/issue/25

    make: Don't attempt to add directories to PHARs
    
    Reviewed-By: Peter Rotich <[email protected]>
    protich committed May 19, 2014
    Configuration menu
    Copy the full SHA
    427527d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #18 from greezybacon/feature/client-ldap-auth

    Implement client authentication via LDAP
    
    Reviewed-By: Peter Rotich <[email protected]>
    protich committed May 19, 2014
    Configuration menu
    Copy the full SHA
    3fda13b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #24 from greezybacon/feature/google-auth

    oath: Introduce external authentication with Google+
    
    Reviewed-By: Peter Rotich <[email protected]>
    protich committed May 19, 2014
    Configuration menu
    Copy the full SHA
    1d08935 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2014

  1. http: Implement pass-through auth for clients

    Jared Hancock committed May 20, 2014
    Configuration menu
    Copy the full SHA
    dcdcddf View commit details
    Browse the repository at this point in the history

Commits on May 30, 2014

  1. Merge pull request #28 from greezybacon/feature/http-client-sso

    http: Implement pass-through auth for clients
    
    Reviewed-By: Peter Rotich <[email protected]>
    protich committed May 30, 2014
    Configuration menu
    Copy the full SHA
    2d29f33 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2014

  1. Try anonymous bind

    Here is a request from a forum member which does not like to create a github account, so I created the pull request on behalf for him/her.
    
    http://osticket.com/forum/discussion/79234/auth-ldap-and-anonymous-bind
    Chefkeks committed Sep 17, 2014
    Configuration menu
    Copy the full SHA
    1ed33fa View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2014

  1. make: Add PHP compression support

    This significantly reduces the size of generated PHAR files which should
    directly influence osTicket request time using such PHAR files.
    Jared Hancock committed Dec 31, 2014
    Configuration menu
    Copy the full SHA
    66f7e42 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2015

  1. ldap: Fix client login under some circumstances

    Jared Hancock committed Mar 26, 2015
    Configuration menu
    Copy the full SHA
    a829df6 View commit details
    Browse the repository at this point in the history
  2. Allow for longer folder names in the storage-fs plugin

    Jared Hancock committed Mar 26, 2015
    Configuration menu
    Copy the full SHA
    62fabc1 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2015

  1. Configuration menu
    Copy the full SHA
    01d88cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23cbd79 View commit details
    Browse the repository at this point in the history
  3. Add support for customizable CA files

      - Providing no CA file path implies no verification will be used
      - An absolute path to a CA cert can no be provided
      - Resolved a bug with case-sensitive loading from PHAR
    kevinoconnor7 committed Mar 29, 2015
    Configuration menu
    Copy the full SHA
    75743dc View commit details
    Browse the repository at this point in the history
  4. Fix small redirect bug

    kevinoconnor7 committed Mar 29, 2015
    Configuration menu
    Copy the full SHA
    1817465 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2015

  1. Merge pull request #62 from greezybacon/issue/client-auth-fails

    ldap: Fix client login under some circumstances
    
    Reviewed-By: Jared Hancock <[email protected]>
    greezybacon committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    21d5852 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #63 from greezybacon/issue/34

    Allow for longer folder names in the storage-fs plugin
    greezybacon committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    b8183c8 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #49 from Chefkeks/patch-1

    Try anonymous bind
    
    Reviewed-By: Jared Hancock <[email protected]>
    greezybacon committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    cca45b4 View commit details
    Browse the repository at this point in the history
  4. make: Add PHAR list support

    Jared Hancock committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    7053e59 View commit details
    Browse the repository at this point in the history
  5. make: Don't package test files

    Jared Hancock committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    f581f5f View commit details
    Browse the repository at this point in the history
  6. i18n: Translate core plugins!

    Jared Hancock committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    47ae22e View commit details
    Browse the repository at this point in the history
  7. i18n: Add translations to PHAR files

    Jared Hancock committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    945c886 View commit details
    Browse the repository at this point in the history
  8. i18n: Translate the other plugins

    Jared Hancock committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    56d5106 View commit details
    Browse the repository at this point in the history
  9. Add some initial docs concerning translations

    Jared Hancock committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    e6c495c View commit details
    Browse the repository at this point in the history
  10. i18n: Fix typo in ldap configuration

    Jared Hancock committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    58f6ac2 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #44 from greezybacon/feature/translations

    i18n: Translate the plugins!
    greezybacon committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    27fdbf9 View commit details
    Browse the repository at this point in the history
  12. Bump version numbers

    Jared Hancock committed Apr 2, 2015
    Configuration menu
    Copy the full SHA
    4f7f37e View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2015

  1. ldap: oops: Fix bad translation function usage

    Jared Hancock committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    120be51 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2015

  1. Configuration menu
    Copy the full SHA
    30a52dd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #66 from greezybacon/issue/login-198

    ldap, pass thru: Fix login with osTicket v1.9-next (post v1.9.7)
    
    Reviewed-By: Peter Rotich <[email protected]>
    protich committed Apr 10, 2015
    Configuration menu
    Copy the full SHA
    9e7734f View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2015

  1. oauth: Fix crash authenticating with develop-next

    Jared Hancock committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    7de73af View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2015

  1. Add i18n support

    kevinoconnor7 committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    f70b28f View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2015

  1. Merge pull request #31 from kevinoconnor7/add-auth-cas

    Add support for CAS authentication
    
    Reviewed-By: Jared Hancock <[email protected]>
    greezybacon committed Jul 30, 2015
    Configuration menu
    Copy the full SHA
    ee4377b View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2015

  1. Configuration menu
    Copy the full SHA
    138882c View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2015

  1. Merge pull request #80 from jakkul/patch-1

    needed to download Net_LDAP2 properly - as in #38 
    
    Reviewed-By: Jared Hancock <[email protected]>
    greezybacon committed Dec 28, 2015
    Configuration menu
    Copy the full SHA
    59bb611 View commit details
    Browse the repository at this point in the history
  2. s3: Fix upstream change to Symfony framework

    Jared Hancock committed Dec 28, 2015
    Configuration menu
    Copy the full SHA
    bfeee61 View commit details
    Browse the repository at this point in the history
  3. doc: Add blurb on building plugins

    Jared Hancock committed Dec 28, 2015
    Configuration menu
    Copy the full SHA
    81fb472 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2016

  1. Update make.php

    Change the composer pear repo to https from http.  This is necessary for newer versions of composer that do not allow unrestricted connections unless secure-http is set to false, which is NOT recommended.  Without this change, running hydrate or composer update will result in an error and fail.
    
    https://getcomposer.org/doc/06-config.md#secure-http
    Shadow00Caster authored Jun 21, 2016
    Configuration menu
    Copy the full SHA
    7c54aa9 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2016

  1. Update README.md

    fix url to plugin translation site
    ntozier authored Sep 21, 2016
    Configuration menu
    Copy the full SHA
    17eed1d View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2016

  1. modified pear.php.net to https in composer setup

    Unsecured http connections are forbidden in configuration. make.php hydrate DOES NOT FUNCTION without https.
    tkteun authored Sep 22, 2016
    Configuration menu
    Copy the full SHA
    e363360 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2016

  1. Merge pull request #112 from tkteun/patch-1

    modified pear.php.net to https in composer setup
    protich authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    80f96d5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #111 from ntozier/patch-2

    Update README.md
    protich authored Nov 2, 2016
    Configuration menu
    Copy the full SHA
    04fbd9a View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2019

  1. Audit Plugin

    This plugin audits events in the help desk done by Agents and Users. It tracks activities like logging in and out, creating Tickets, creating Departments, changing Configurations, and many more. Audits can be viewed individually for Tickets, Agents, and Users. Additionally, there is a new tab, Audit Logs, on the Dashboard that allows Admins to narrow down audits they would like to see across the whole helpdesk by a date range or specific event. All audit reports can be exported as CSV.
    aydreeihn committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    901520f View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2019

  1. Ticket Audit Pagination

    Make sure the overlay only stays showing for the ticket audit pagination. If you navigate to another page, it should go away as usual.
    aydreeihn committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    5328f78 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2019

  1. Final Touches

    - Minor wording changes
    - Check if thisstaff and thisclient is_null rather than !$thisstaff or !$thisclient
    - Audit agent responses
    - Remove unused methods
    - Account for object coming in as an array
    aydreeihn committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    3aee40d View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2019

  1. Audit Email Export

    This commit allows us to email audit exports to an Agent if we reach the max execution limit.
    aydreeihn committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    9b73d86 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2019

  1. Update Audit Exports

    Make the audit export work with the new implementation of csv exports.
    aydreeihn committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    2190191 View commit details
    Browse the repository at this point in the history
  2. ldap: PHP 7.2+ Host:Port Conflict

    This addresses 160 where setting `host:port` for the "LDAP Servers" option
    does not work when using PHP 7.2+. In PHP 7.2+ the `host:port` string will
    be used as the full hostname and since we are not passing a port the system
    assumes `389`. The end result of this is `host:port:389` which is not valid
    and fails every time. This adds a regex check for the port number in the
    string and if exists we add the port number to the `port` option in the
    `$info` array for `Net_LDAP2::bind()`.  The end result of this is
    `host:port` which is valid and will connect successfully every time. If no
    port is passed the system assumes the port is the default (`389`) and the
    end result will be `host:389`.
    JediKev committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    be0b151 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2020

  1. Final Fixes:

    - Modify code for lint fixes made in osTicket
    - Do audit HTML in signal within the plugin
    - Add missing configuration
    - Change audit table data field to text type field
    - Make sure we display text appropriately (translations/htmlchars)
    aydreeihn committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    d98e5f7 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. issue: Password Validation

    This addresses an issue where attempting to use a password that starts with
    any of these characters (`= - + @`) fails with `Content cannot start with
    the following characters: = - + @` validation error. This adds a new
    validator to the Password Field called `noop` that skips validation. LDAP
    passwords do not need to be validated or checked against any local password
    policies as we are using an externally created password, not creating a new
    one inside the software.
    JediKev committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    0c8a6cf View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2020

  1. audit: Use X-Forwarded-For Address

    This addresses issue reported at osTicket/osTicket/issues/5315 where the
    Audit Log plugin uses the REMOTE_ADDR header for the IP Address for some log
    entries which can be incorrect in some cases. A good case would be a reverse
    proxy, the `REMOTE_ADDR` header will be the IP Address of the Proxy and not
    the original Client’s IP. In order to get the actual Client IP Address from
    a proxied request you need to scan the request for the `X-Forwarded-For`
    header. osTicket already has function to accomplish this called
    `get_client_ip()`. This updates `audit/class.audit.php` to use
    `get_client_ip()` instead of the `REMOTE_ADDR` header which should return
    the actual Client IP Address.
    JediKev committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    3d1990b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #162 from JediKev/ldap/php7.2-host-port-conflict

    ldap: PHP 7.2+ Host:Port Conflict
    protich authored Mar 10, 2020
    Configuration menu
    Copy the full SHA
    0ee0c24 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #168 from JediKev/issue/password-validation

    issue: Password Validation
    protich authored Mar 10, 2020
    Configuration menu
    Copy the full SHA
    9a7d059 View commit details
    Browse the repository at this point in the history
  4. audit: New Agent DB Error

    This addresses an issue where having the Audit Log plugin Enabled and
    creating a new Agent throws a DB Error 1064. This error is due to an
    incomplete Staff object (as it's being created) which causes issues in later
    methods. This adds a check for a Staff ID and if none we avoid running the
    Audit queries.
    JediKev committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    78927ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5c3dd17 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. Issue: Include Templates

    This coommit fixes an issue we had with including the audit templates.
    aydreeihn committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    03f4c45 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. Audit Log Fixes

    - Ticket Audit timestamp sort fix
    - User Audit description formatting fix
    aydreeihn committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    eacc457 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. Switching composer to stable version

    Fix #173
    yalh76 authored Apr 15, 2020
    Configuration menu
    Copy the full SHA
    1da8af7 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. Issue: Class AuditEntry Not Found

    This commit allows us to use the object.deleted signal when deleting help topics, categories, and pages which will prevent us from calling the AuditEntry class from the main osTicket codebase.
    aydreeihn committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    15f30eb View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. Merge pull request #170 from JediKev/audit/new-agent-db-error

    audit: New Agent DB Error
    protich authored Apr 27, 2020
    Configuration menu
    Copy the full SHA
    8791d49 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #171 from aydreeihn/feature/audit-plugin

    Feature/audit plugin
    protich authored Apr 27, 2020
    Configuration menu
    Copy the full SHA
    311cf3e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #179 from aydreeihn/issue/audit-delete

    Issue: Class AuditEntry Not Found
    protich authored Apr 27, 2020
    Configuration menu
    Copy the full SHA
    355648c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #174 from yalh76/patch-1

    Reviewed-By: Peter Rotich <[email protected]>
    protich authored Apr 27, 2020
    Configuration menu
    Copy the full SHA
    0ed99f6 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. Issue: Extra String in Link

    This commit fixes an issue with the last commit where the timestamp sort was being added twice which threw off the pagination for the ticket audit modal.
    aydreeihn committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    8eafd08 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e33211 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. Audit Issue

    This commit fixes an issue where the pagination links were not being correctly formatted in the ticket audit modal.
    aydreeihn committed May 1, 2020
    Configuration menu
    Copy the full SHA
    61a32ba View commit details
    Browse the repository at this point in the history

Commits on May 6, 2020

  1. Configuration menu
    Copy the full SHA
    105d789 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14f4778 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2020

  1. auth: Add concept of a password complexity plugin

    Jared Hancock authored and protich committed May 30, 2020
    Configuration menu
    Copy the full SHA
    7f5658a View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2020

  1. Password Policy Plugin

    This commit extends and generalizes PR made by Jared. Notabled changes include;
    
    * Make plugin generic password policy plugin as opposed to just
    password complexity plugin
    * Support both class of characters AND password strength checking
    * Support checking policy on login.
    protich committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    78ae84d View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2020

  1. Merge pull request #183 from protich/feature/passwd-policy

    Password Policy Plugin
    protich authored Oct 14, 2020
    Configuration menu
    Copy the full SHA
    52f7bae View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2020

  1. Issue: Audit Events

    This commit fixes an issue where we would always try to add events to the event table when installing the plugin when it was possible that they already existed. Now, we'll check to make sure those events don't exist before creating them, and if they do exist, log a warning (if warnings are being logged for the helpdesk).
    aydreeihn committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    7decf6b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #191 from aydreeihn/issue/audit-events

    Issue: Audit Events
    aydreeihn authored Nov 30, 2020
    Configuration menu
    Copy the full SHA
    d42ac0e View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2021

  1. Use Composer 1

    Modified make.php
    Currently it's getting composer-stable, which happens to be composer 2.
    It seems that the installation is not compatible with composer 2.
    rynomster authored Jan 15, 2021
    Configuration menu
    Copy the full SHA
    fd9b326 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

  1. Attachments in Amazon S3: Folders

    This commit adds a new field to the plugin configuration that allows the Admin to put in an S3 Folder Path if they want to upload files to a specific S3 folder. If no folder is provided, the file will be uploaded directly to the S3 Bucket. If a folder is specified and it does not currently exist in S3, the folder will be created.
    aydreeihn committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    e16b803 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2021

  1. Configuration menu
    Copy the full SHA
    aea3128 View commit details
    Browse the repository at this point in the history
  2. Fix "pear-pear.php.net/Net_LDAP2 is invalid"

    > [RuntimeException]
    > require.pear-pear.php.net/Net_LDAP2 is invalid, it should not contain uppercase characters. Please use pear-pear.php.net/net_ldap2 instead.
    mehov authored Feb 12, 2021
    Configuration menu
    Copy the full SHA
    f288e45 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. issue: Host/Port Int Vals

    This addresses an issue introduced with 162 where the port number is
    extracted from the Servers textbox but it is a string value instead of an
    int value. The `Net_LDAP2::__construct()` function expects the port number
    to be an integer so this casts the port number to an int.
    JediKev committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    2e0ae7f View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. Merge pull request #196 from mehov/patch-1

    Fix "name : Does not match the regex pattern"
    protich authored Apr 13, 2021
    Configuration menu
    Copy the full SHA
    af4d27e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #197 from mehov/patch-2

    Fix "pear-pear.php.net/Net_LDAP2 is invalid"
    protich authored Apr 13, 2021
    Configuration menu
    Copy the full SHA
    a3253cd View commit details
    Browse the repository at this point in the history
  3. Merge pull request #202 from JediKev/issue/host-port-int-vals

    issue: Host/Port Int Vals
    protich authored Apr 13, 2021
    Configuration menu
    Copy the full SHA
    b09a00f View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. Additional S3 Folder Functionality

    This commit adds extra functionality needed to ensure that using folders in S3 will still work with helpdesks using the existing plugin without folders as well as working if the name of the S3 folder is changed. We will now store the S3 bucket and folder name in the attrs of the file record so that we know where to retrieve the file from. If no attrs exist and you are downloading a file, we will download from the bucket configured in the plugin
    aydreeihn committed May 3, 2021
    Configuration menu
    Copy the full SHA
    d7e491c View commit details
    Browse the repository at this point in the history
  2. Authenticator Plugin

    This commit adds the Authenticator Plugin to the osTicket Plugins repo. The wording of the Plugin has been changed to specify that it works with other Authenticator apps, and when a QR code is scanned, the title shown in the app is the Helpdesk title.
    aydreeihn committed May 3, 2021
    Configuration menu
    Copy the full SHA
    3b26e97 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. Merge pull request #204 from aydreeihn/feature/auth-plugin

    Reviewed-By: Peter Rotich <[email protected]>
    protich authored May 5, 2021
    Configuration menu
    Copy the full SHA
    38a520c View commit details
    Browse the repository at this point in the history
  2. Issue: Use Static Id

    This commit makes sure we're using the defined static $id for the database key of the plugin.
    aydreeihn committed May 5, 2021
    Configuration menu
    Copy the full SHA
    52664e2 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2021

  1. Merge pull request #205 from aydreeihn/feature/auth-plugin

    Reviewed-By: Peter Rotich <[email protected]>
    protich authored May 13, 2021
    Configuration menu
    Copy the full SHA
    2452d95 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Merge pull request #195 from aydreeihn/feature/s3-folder

    Reviewed-By: Peter Rotich <[email protected]>
    protich authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    9609519 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #104 from Shadow00Caster/patch-1

    Reviewed-By: Peter Rotich <[email protected]>
    protich authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    cea7826 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #193 from rynomster/patch-1

    Reviewed-By: Peter Rotich <[email protected]>
    protich authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    f00b381 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2021

  1. Issue: Undefined Method getUserId

    This commit fixes an issue in the Audit Plugin in a scenario that if we could not retrieve the staff or user during checks, the default else statement was $object->getUserId(). In the event that the object did not have that method, it resulted in a fatal error.
    aydreeihn committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    e9ba990 View commit details
    Browse the repository at this point in the history
  2. Issue: Audit Plugin Config Table Updates

    This commit fixes an issue we had with the audit plugin assuming that any time the config table is being updated, it is by a signed in Agent.
    aydreeihn committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    6d55c8a View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2021

  1. Issue: 2FA URL Spaces

    This commit adds an option for an Admin to add a custom Issuer name in the Config for the 2FA plugin. The issueer is the title shown i
    n an Authenticator app after the QR code is scanned. If no configuration is set up, we use 'osTicket' as the issuer name..
    
    It also fixes an issue where some authenticators cannot handle spaces or special characters in the URL. It strips out spaces and special characters when generating the URL for the QR code.
    aydreeihn committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    8c5357a View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. storage-fs: mkdir Octal Numbers

    This addresses issue 215 where the permissions for `mkdir()` need to be
    octal numbers. This updates the permissions from `751` to `0751`.
    JediKev committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    1559d11 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. Merge pull request #216 from aydreeihn/issue/2fa-spaces

    Reviewed-By: JediKev <[email protected]>, aydreeihn <[email protected]>, protich <[email protected]>
    JediKev authored Feb 1, 2022
    Configuration menu
    Copy the full SHA
    1b0cc55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2d668e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e5ed68a View commit details
    Browse the repository at this point in the history
  4. issue: Calling Non-Static Statically

    This addresses the `Non-static method XXX cannot be called statically`
    errors.
    JediKev committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    003f25e View commit details
    Browse the repository at this point in the history
  5. issue: Static to Non-Static

    This updates the static calls that need to be non-static.
    JediKev committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    7a61fd1 View commit details
    Browse the repository at this point in the history
  6. issue: Compatible Errors

    This addresses the `Declaration of Methods should be Compatible with Parent
    Methods` errors.
    JediKev committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    f3038d9 View commit details
    Browse the repository at this point in the history
  7. issue: Remove Pear Dependency

    This removes the Pear Dependency for composer and includes it in lib until
    we completely rewrite the plugin.
    JediKev committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    3eed93e View commit details
    Browse the repository at this point in the history
  8. issue: Map Custom Dependencies

    This adds functionality to map custom decencies on hydrate. A custom
    dependency is a decency that is not managed through Composer (like auth-ldap
    is now). This means any decency that is included in lib/ and is configured
    to be mapped (via plugin config) will be mapped as normal Composer
    dependencies.
    JediKev committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    5a193fd View commit details
    Browse the repository at this point in the history
  9. issue: Composer 2

    This updates the code to use Composer 2 on hydrate so we can utilize latest
    standards/dependencies.
    JediKev committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    17fb510 View commit details
    Browse the repository at this point in the history
  10. issue: Latest aws-sdk-php

    This updates the storage-s3 plugin to utilize latest aws-sdk-php.
    JediKev committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    78bd732 View commit details
    Browse the repository at this point in the history
  11. issue: PHP8 Hydrate

    This commit fixes a PHP warning with the make.php file while trying to
    hydrate the plugins.
    aydreeihn authored and JediKev committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    7f7d862 View commit details
    Browse the repository at this point in the history
  12. issue: mapDependencies() Missing Argument

    This addresses an issue found by @aydreeihn where the `$options` argument
    was missing from `mapDependencies()`. This adds the parameter so that it can
    be used.
    JediKev committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    cd2d38e View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. issue: auth-ldap Errors

    This addresses some lingering errors with the auth-ldap plugin. This
    includes `calling a non-static method statically` and `expects two arguments
    but received three` errors.
    JediKev committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    845bc9e View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Merge pull request #223 from JediKev/issue/php8-support

    Reviewed-By: JediKev <[email protected]>, aydreeihn <[email protected]>, protich <[email protected]>
    JediKev authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    fc089b9 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. issue: autodiscover Static

    This addresses an issue where `LDAPAuthentication::autodiscover()` is not
    static but is being called statically. This changes the method to static and
    updates the subsequent calls to static calls.
    JediKev committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    2e0f3d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b33116 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. security: Audit Log Injection

    This mitigates a vulnerability discovered by the AppSec Research Team at
    Checkmarx where it's possible to perform injection via Audit Log plugin.
    This is due to passing the `order` URL param directly to the select query.
    This refactors the `getOrder()` method to only return predefined sort orders
    to prevent using user-input.
    JediKev committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    0b59afb View commit details
    Browse the repository at this point in the history
  2. xss: Audit Log

    This mitigates a vulnerability discovered by the AppSec Research Team at
    Checkmarx where it's possible to perform XSS via the Audit Log plugin. This
    is due to not properly escaping the `state` and `type` URL params. This adds
    `Format::htmlchars()` to both params to ensure they are properly escaped.
    JediKev committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    047a1c3 View commit details
    Browse the repository at this point in the history
  3. security: Filesystem Listing

    This helps mitigate a vulnerability discovered by the AppSec Research Team
    at Checkmarx where it's possible to list the contents of the attachment
    directory if one setup the directory in the site root without proper
    permissions, access, etc. This updates the `pre_save()` method so that upon
    saving the Plugin configuration we create an `.htaccess` file with `Options
    -Indexes` content so that directory listing is disabled.
    JediKev committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    3e8a302 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. Merge pull request #229 from JediKev/security/latest-security-patches…

    …-05-2022
    
    Reviewed-By: JediKev <[email protected]>, aydreeihn <[email protected]>
    JediKev authored May 19, 2022
    Configuration menu
    Copy the full SHA
    a7842d4 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2022

  1. oauth2: Add OAuth2 Plugin

    The plugin provides OAuth2 Authentication and Authorization backends
    protich committed Jul 2, 2022
    3 Configuration menu
    Copy the full SHA
    faf7131 View commit details
    Browse the repository at this point in the history
  2. oauth: Retire the OLD OAuth Plugin

    Plugin replaced by auth-oauth2
    protich committed Jul 2, 2022
    Configuration menu
    Copy the full SHA
    f5f722b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ca1492 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b6cecc1 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. oauth2: Email Authorization Backend

    Make sure OAuth2 Plugin is active when triggering email authorization.
    protich committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    0b507df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64a7592 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. Configuration menu
    Copy the full SHA
    df8d4d6 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. Configuration menu
    Copy the full SHA
    c91489f View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. auth-oauth2: Use PasswordField for ClientSecret

    Password Field supports auto encrypt/decrypt
    protich committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    cb9dcfe View commit details
    Browse the repository at this point in the history
  2. auth-oauth2: Force Email Match

    Make sure authorized email matches local email address.
    protich committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    c267ebc View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. auth-oauth2: Fix Scopes

    This commit addresses scopes related issues
    protich committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    19875a2 View commit details
    Browse the repository at this point in the history
  2. auth-oauth2: Outlook Office Scopes

    This commit changes Outlook office scopes separator to space. It also sets
    separator to comma when scopes are command separated as entered.
    protich committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    f5e1f54 View commit details
    Browse the repository at this point in the history
  3. auth-oauth2: Change version to 0.2

    This commit changes the plugin version to 0.2 due to recent changes since 0.1 release
    protich committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    7ebe42f View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. auth-oauth2: Email Address Attribute

    This commit exposes email address atrribute setting  when configuring an
    instance via email interface.
    protich committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    276b91a View commit details
    Browse the repository at this point in the history
  2. auth-oauth2: Email Attribute Error

    Add ERR_EMAIL_ATTR error to help hint that the attribute is wrong.
    protich committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    2145f55 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. auth-oauth2: Move Scopes Up

    This commits moves scopes up the list of inputs when configuring an instance
    via basic/email interface.
    protich committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    a24afc5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9346b14 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. auth-oauth2: Remove maxlength restriction on Config fields

    This commits removes maxlength restriction on config fields since the url used
    can be terrifically long depending on the provider.
    protich committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    faaea9d View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. auth-oauth2: Change M$ default scope and email attr.

    Use Mail.ReadWrite by default instead of individual scopes.
    Change the email default atrribute from mail to EmailAddress.
    protich committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    e5070cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f72727 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. auth-oauth2: Stash Authorization Result

    Stash authorization result (errors or msg) via email onject before redirecting
    protich committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    6f17fbc View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. auth-oauth2: Add GenericEmailOauth2Provider

    This is necessay so we can override the default Config class.
    protich committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    b3729db View commit details
    Browse the repository at this point in the history
  2. auth-oauth2: OAuth2 Config Improvements

    - Restructure fields and add visibility options
    - Add pre_save to reject Authorization updates via plugin interface
    protich committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    06a31e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8cfcf0 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. auth-oauth2: Add Default Microsoft Endpoints

    This Commit adds default endpoints and Username attribute for Azure common
    tenant app. It was not preciously added because endpoints can point to
    directory specific application. It also adds the posibility to backfill email
    with principal name if it's an email address.
    protich committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    593607f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf6e72d View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. hydrate: Expanded matching for files/directories

    This commit adds support for expanded matching when hydrating libraries. This
    allows us to only pick part of the library or sdk we need to make the plugin
    functional without any extra packages.
    
    PS: GLOB_BRACE flag used for expanded search is not available on some non GNU systems, like Solaris or Alpine Linux.
    protich committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    2c0fdf7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #231 from protich/plugins/auth-oauth2

    Reviewed-By: osTicket Team <[email protected]>
    JediKev authored Sep 27, 2022
    Configuration menu
    Copy the full SHA
    e3195e9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #237 from protich/feature/smart-hydrate

    Reviewed-By: osTicket Team <[email protected]>
    JediKev authored Sep 27, 2022
    Configuration menu
    Copy the full SHA
    68b8eca View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Configuration menu
    Copy the full SHA
    3fd8112 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38ed198 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. MS OAuth2: Don't force consent prompt

    Microsoft OAuth2 endpoints are smart enough that we don't need to tell it to issue a consent prompt.
    
    In a number of cases (I tested this with two separate differently configured differently-secured tenants on MS365 today), defining `'prompt' => 'consent'` as one of the url options will force **admin consent** (this is translated to `admin_consent` on the MS365 backend - figured out after a 3 hour power session with MS365 admins and support who discovered this).
    
    When you send the OAuth request to MS365, the system is smart enough to determine if you need consent or not, and you do **NOT** need to tell MS365 that a consent window is required.  That may be a requisite for other providers, but not MS365 based on the testing I've done.
    teward authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    f52ce37 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. auth-oauth2: Disable Strict Email Matching on Authorization

    This commit disables strict email match when doing email authorization (getting
    token). While strict by default was noble, checking for a match is troublesome
    when a global admin can authorize for an email account or/and its aliases.
    
    A strict placeholder flag is set to false default for now with the intention of
    making it configurable in the future.
    protich committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    631e833 View commit details
    Browse the repository at this point in the history
  2. Issue: Decrease S3 Plugin Size

    This commit reduces the size of the S3 plugin by only pulling services related to S3 from the AWS SDK.
    
    This is done by following the steps outlined here:
    https://github.com/stobrien89/aws-sdk-php/tree/remove-unused-services/src/Script/Composer
    aydreeihn committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    baa0a63 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #241 from teward/develop

    Reviewed-By: JediKev <[email protected]>, aydreeihn <[email protected]>
    JediKev authored Nov 3, 2022
    Configuration menu
    Copy the full SHA
    52950db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    adfef05 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. Merge pull request #251 from aydreeihn/issue/aws-sdk-size-117

    Reviewed-By: Peter Rotich <[email protected]>
    protich authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    ac2576a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2271e01 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. auth-oauth2: Resource Owner Email Mismatch

    When authorizing an email account to obtain a token -  some providers, like
    Office365, allow for global admins to authorize on behalf of the accounts they
    manage. This is possible when OAuth2 plugin is NOT in strict mode (default:
    false) - however , on-authorization, the returned resource owner email is set
    to the authorizing admin email / account  which in turn causes account /
    resource  mismatch when the token is used onbehalf of resource owner.
    
    This commit changes the plugin so that on mismatch and with strict mode set to
    false - the email address being authorized is set as the resource owner.
    protich committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    1bc8cef View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. ldap: Staff Authentication Backend ID

    This addresses an issue where we are still using the static ID instead
    of using the Backend ID causing Agent lookups and searches to fail. This
    updates both places we use the static ID to `getBkId()` instead. This
    will retrieve the proper Backend ID and will allow Agent lookups and
    searches to function successfully.
    JediKev committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    af8b399 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2023

  1. oauth2: User/Agent Destination Url

    This addresses an issue reported on the Forum where you click a direct
    link from an email or something, you hit the login page, you login via
    OAuth2 SSO, and when you are redirected back you are not presented with
    the original URL. This is due to not accounting for the destination URL
    in the `onSignIn()` methods for the OAuth2 User/Agent backends. This adds
    a ternary statement that uses the dest URL from the session, otherwise
    it defaults to the base URL.
    JediKev committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    0ff1fcd View commit details
    Browse the repository at this point in the history
  2. ldap: No current() Fatal Error

    This addresses an issue where `msad` schemas can return `false` when
    calling `current()` on an LDAP search result. We do not check if
    `current()` is false before attempting to call `dn()` on it so this adds
    a check to see if `current()` returns a value before using it.
    JediKev committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4cdfa35 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. Configuration menu
    Copy the full SHA
    2387c5e View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. auth-oauth2: Update Refresh Token

    This commit addresses an issue where Refersh Token expires after
    90 days for users using Office 365 as the provider.
    
    It turns out Microsoft (Office 365) issues a new Refresh Token
    everytime Access Token is refreshed, otherwise the original Refresh
    Token expires after 90 days from the time it was issued.
    
    This commit adds the logic to update Refresh Token while refreshing Access
    Token, **if reissued**.
    protich committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    d467c55 View commit details
    Browse the repository at this point in the history
  2. Fixed issue for Microsoft 365 Shared Mailboxes.

    This issue has been discussed in the following forum post
    https://forum.osticket.com/d/101462-oauth2-shared-mailboxes/34
    
    This push fixes and resolves the issue so that the
    **`resource_owner_email`** is set correctly as the **Shared Mailbox**
    email on the **_Remote Mailbox_** tab and the **User Mailbox / Global
    Admin** is set on the **_Outgoing (SMTP)_** tab.
    
    The logic for this is
    
    - To pickup emails you need to use the email address of the account that
      emails were sent to, this can either be a **User Mailbox** or a
    **Shared Mailbox**.
    - To send emails a **_Licenced Microsoft 365 User Mailbox_** must be
      used, so the emails are sent from the **User Mailbox** account that is
    used to authenticate the **Shared Mailbox** or the actual **User
    Mailbox** on the Microsoft 365 OAuth2 challenge.
    
    If using Shared Mailboxes, the User Mailbox account that is used to send
    emails is often referred to as a **Service Account** or a **Global
    Admin** account.  This account needs to have permissions to be able to
    access and send emails on behalf of the Shared Mailbox(es) that you
    configure on your osTicket configuration.
    MarcBanyard authored and protich committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    231acdd View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. auth-oauth2: Office 365 SMTP Resource Owner

    This commit simply cleans up the logic in commit `231acddb1` to make sure it only targets
    Office 365 Accounts as intended.
    protich committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    512d93d View commit details
    Browse the repository at this point in the history
  2. auth-oauth2: Strict Match Mode

    This is a temp hack to delegate strict matching mode checking to
    provider.
    protich committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    eaaf37d View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. auth-oauth2: Leave Resource Owner Alone!

    This commit reverses changes added in 512d93d to remove Application
    logic from plugin level. Core osTicket will handle Shared Mailbox logic
    going forward.
    protich committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    029c4c9 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    bc61616 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5bb9a1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b9997d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d866053 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4d95ec8 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. issue: resolveDependencies Scripts and Extra

    This resolves and issue where when hydrating the S3 plugin it's still
    including uneeded dependencies even though the plugin info includes the
    script and extra tags. This is due to `make.php` not taking those into
    account when resolving the dependencies. This updates the
    `resolveDependencies` method to account for the scripts and extra tags
    and will include them if found. This also addresses an small issue
    where the extra value needs to be an array otherwise it causes fatal
    error.
    JediKev committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    033767b View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Merge pull request #267 from JediKev/issue/resolveDependencies-script…

    …s-and-extra
    
    Reviewed-By: Peter Rotich <[email protected]>
    protich authored Mar 17, 2023
    Configuration menu
    Copy the full SHA
    685d03a View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. oauth2: Okta Defaults

    This adds the OAuth2 Authentication defaults for Okta provider. This
    will make Okta setup a little easier.
    JediKev committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    b120edc View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. audit: i18n Export Issues

    This is the second part to the main core pull that fixes an issue where
    using any other language than English and attempting to export `All`
    events for a specific object fails. This removes the translation method
    from the instances that do not need it and cause issues.
    JediKev committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    9b2f8b6 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. ldap: PHP 8.1 Support

    This addresses PHP 8.1 compatibilty issues with the LDAP plugin. Since
    the LDAP resources were converted to LDAP\Connection, LDAP\Result, and
    LDAP\ResultEntry objects respectively, the previous `is_resource()`
    checks fail. This updates all relevant cases of `is_resource()` to `!==
    false` checks to make LDAP plugin compatible with PHP 8.1.
    JediKev committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    094219d View commit details
    Browse the repository at this point in the history
  2. ldap: No current() Fatal Error 2

    This addresses an error reported in 270 where we are attempting to call
    `dn()` on `$r->current()` but `current()` can sometimes return `false`.
    This adds a check for `!$r->current()` before continuing to `dn()`. See
    similar issue here: 260
    JediKev committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    ff814b5 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Merge pull request #268 from JediKev/oauth2/okta-defaults

    Reviewed-By: JediKev <[email protected]>
    JediKev authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    972559f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58aef96 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #271 from JediKev/ldap/php8.1-support

    Reviewed-By: JediKev <[email protected]>
    JediKev authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    215dced View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    508b15e View commit details
    Browse the repository at this point in the history
  5. issue: Password Length

    This is a commit that goes along with a core commit for password length.
    We should limit passwords to minimum of 1 and maximum of 128.
    JediKev committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1f17a11 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4b54531 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Configuration menu
    Copy the full SHA
    d17c58a View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. ldap: Hostname REGEX

    This addresses an issue where `ldap://` and `ldaps://` gets stripped
    from the hostname by weak REGEX. This updates the REGEX to make it
    account for `ldap://` and `ldaps://` so that it remains as part of the
    hostname. This will allow people to typehint LDAPS connections.
    JediKev committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    50ad145 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Merge pull request #279 from JediKev/ldap/hostname-regex

    Reviewed-By: Peter Rotich <[email protected]>
    protich authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    8dc604f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #275 from GabrielMajeri/microsoft-email-auth-accou…

    …nt-selection-prompt
    
    Reviewed-By: Peter Rotich <[email protected]>
    protich authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    2bb7717 View commit details
    Browse the repository at this point in the history