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

General improvements #1

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

General improvements #1

wants to merge 107 commits into from

Commits on Jul 2, 2014

  1. Apply PHP-FIG coding standards

    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    ccb5d86 View commit details
    Browse the repository at this point in the history
  2. Improved formatting (PSR standards)

        - Add "\" to curl-constants (to avoid conflicts in namespaced code)
        - Add "\" in doc-blocks
    Constructor improvement:
        - Enable passing url as only argument, using parse_url to extract the data
    
    Add exceptions in case bad/invalid/incomplete arguments were passed.
    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    e4603b1 View commit details
    Browse the repository at this point in the history
  3. Add public access modifier to constructor

    Change properties from private to protected
    Fix bug in constructor (by adding a return statement)
    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    600da7a View commit details
    Browse the repository at this point in the history
  4. Add method to access the debug info

    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    6b816cc View commit details
    Browse the repository at this point in the history
  5. Prevent $scheme <> $password issues with any existing code

    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    7a4b5b4 View commit details
    Browse the repository at this point in the history
  6. Initial commit, setup composer aware version of API wrapper

    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    d695d1c View commit details
    Browse the repository at this point in the history
  7. Fix typo + syntax error

    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    042ac31 View commit details
    Browse the repository at this point in the history
  8. Basic setup for composer-aware freshdesk API + working example

    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    62864a6 View commit details
    Browse the repository at this point in the history
  9. Update readme for composer branch

    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    670cf09 View commit details
    Browse the repository at this point in the history
  10. Add languages to README, for clean syntax highlighting

    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    c0cb1cc View commit details
    Browse the repository at this point in the history
  11. fix example

    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    45844a7 View commit details
    Browse the repository at this point in the history
  12. First step towards distinct child classes for particular calls

    Elias Van Ootegem committed Jul 2, 2014
    Configuration menu
    Copy the full SHA
    e67c866 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2014

  1. Add Ticket model, and Ticket Rest class

    Elias Van Ootegem committed Jul 3, 2014
    Configuration menu
    Copy the full SHA
    2e1642b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69cad0c View commit details
    Browse the repository at this point in the history
  3. Bugfix + add createTicket method

    Elias Van Ootegem committed Jul 3, 2014
    Configuration menu
    Copy the full SHA
    6e8e0f0 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2014

  1. Change directory structure to fit namespaces used

    Elias Van Ootegem committed Jul 7, 2014
    Configuration menu
    Copy the full SHA
    6ec14af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4e61cf View commit details
    Browse the repository at this point in the history
  3. Fix bug with createNewTicket call: adding new tickets now works perfe…

    …ctly
    Elias Van Ootegem committed Jul 7, 2014
    Configuration menu
    Copy the full SHA
    998f9d0 View commit details
    Browse the repository at this point in the history
  4. Add id properties to Ticket model + get ticket properties from json r…

    …esponse after create call
    Elias Van Ootegem committed Jul 7, 2014
    Configuration menu
    Copy the full SHA
    44b126d View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2014

  1. Configuration menu
    Copy the full SHA
    df67a3a View commit details
    Browse the repository at this point in the history
  2. Fix error in postInstall/postUpdate script

    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    fee8935 View commit details
    Browse the repository at this point in the history
  3. Fix paths in composer script + fix deadlock

    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    5e1858d View commit details
    Browse the repository at this point in the history
  4. Added class generator + required API calls to get raw response data. …

    …Edited example, to demonstrate usage of generator
    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    c0a3357 View commit details
    Browse the repository at this point in the history
  5. Added some more checks (to ensure valid data) to Ticket model

    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    1da9613 View commit details
    Browse the repository at this point in the history
  6. Add Note model + addNote call to API wrapper

    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    4c15004 View commit details
    Browse the repository at this point in the history
  7. Add abstract class, for shared methods + implement Traversable interf…

    …ace + enforce toJsonData method
    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    5cddacd View commit details
    Browse the repository at this point in the history
  8. Merge branch 'feature/composer-notes' into feature/composer

    * feature/composer-notes:
      Add Note model + addNote call to API wrapper
    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    2cbf49a View commit details
    Browse the repository at this point in the history
  9. Have Note class extend the abstract Base class, too

    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    29a127f View commit details
    Browse the repository at this point in the history
  10. Add doc-block

    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    c8fa479 View commit details
    Browse the repository at this point in the history
  11. Add update-call for tickets

    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    2354c16 View commit details
    Browse the repository at this point in the history
  12. Fix require glitch + bug when checking CHILD constants -> self:: vs $…

    …class::
    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    77fcc6c View commit details
    Browse the repository at this point in the history
  13. Merge branch 'feature/composer-ticket-action' into feature/composer

    * feature/composer-ticket-action:
      Add update-call for tickets
    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    c37bf8e View commit details
    Browse the repository at this point in the history
  14. Flag DateTime setters for bulk-setting methods

    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    ed2e176 View commit details
    Browse the repository at this point in the history
  15. Add initial UNTEST code for customField support

    Elias Van Ootegem committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    c087112 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2014

  1. Fix CustomField class

    Elias Van Ootegem committed Jul 9, 2014
    Configuration menu
    Copy the full SHA
    ee7a0b9 View commit details
    Browse the repository at this point in the history
  2. Add var types + ignore rules to pass code analysis

    Elias Van Ootegem committed Jul 9, 2014
    Configuration menu
    Copy the full SHA
    1999a2e View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feature/composer-custom' into feature/composer

    * feature/composer-custom:
      Fix CustomField class
      Add initial UNTEST code for customField support
    Elias Van Ootegem committed Jul 9, 2014
    Configuration menu
    Copy the full SHA
    64c7578 View commit details
    Browse the repository at this point in the history
  4. Fix class constant => has to be valid regex

    Elias Van Ootegem committed Jul 9, 2014
    Configuration menu
    Copy the full SHA
    9378640 View commit details
    Browse the repository at this point in the history
  5. Add support for pseudo-namespaced classes to generator, allow overwri…

    …te of existing files (through method argument)
    Elias Van Ootegem committed Jul 9, 2014
    Configuration menu
    Copy the full SHA
    68a0fa3 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2014

  1. Bugfix: if RESPONSE_KEY is found, use it

    Elias Van Ootegem committed Jul 11, 2014
    Configuration menu
    Copy the full SHA
    b505ef5 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2014

  1. Add constants (taken from API docs

    Elias Van Ootegem committed Jul 14, 2014
    Configuration menu
    Copy the full SHA
    bafbf0b View commit details
    Browse the repository at this point in the history
  2. Bugfix: add getCustomFields method (undefined ATM)

    Elias Van Ootegem committed Jul 14, 2014
    Configuration menu
    Copy the full SHA
    f0274c6 View commit details
    Browse the repository at this point in the history
  3. typo fix

    Elias Van Ootegem committed Jul 14, 2014
    Configuration menu
    Copy the full SHA
    177b54b View commit details
    Browse the repository at this point in the history
  4. Do not set custom fields, if none are set on the object, to avoid 500…

    … error
    Elias Van Ootegem committed Jul 14, 2014
    Configuration menu
    Copy the full SHA
    f93b978 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2014

  1. Add example Note-call + update models to filter out the comments acco…

    …rdingly
    Elias Van Ootegem committed Jul 15, 2014
    Configuration menu
    Copy the full SHA
    77f4c39 View commit details
    Browse the repository at this point in the history
  2. Change cc_emails to variable, but default to constant, still

    Elias Van Ootegem committed Jul 15, 2014
    Configuration menu
    Copy the full SHA
    aa635e5 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2014

  1. Fix doc-block formatting

    Elias Van Ootegem committed Jul 16, 2014
    Configuration menu
    Copy the full SHA
    ac0c519 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2014

  1. Set properties of note when gotten from API

    Elias Van Ootegem committed Jul 18, 2014
    Configuration menu
    Copy the full SHA
    46fda04 View commit details
    Browse the repository at this point in the history
  2. Add Generic model generator + add Contact model (Generated using gene…

    …rator tool)
    Elias Van Ootegem committed Jul 18, 2014
    Configuration menu
    Copy the full SHA
    9339518 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feature/composer-contact' into feature/composer

    * feature/composer-contact:
      Add Generic model generator + add Contact model (Generated using generator tool)
    Elias Van Ootegem committed Jul 18, 2014
    Configuration menu
    Copy the full SHA
    d1d8e68 View commit details
    Browse the repository at this point in the history
  4. Add Contact-rest class, add all Contact-related requests here

    Elias Van Ootegem committed Jul 18, 2014
    Configuration menu
    Copy the full SHA
    f9f1678 View commit details
    Browse the repository at this point in the history
  5. Fix typo in doc-block

    Elias Van Ootegem committed Jul 18, 2014
    Configuration menu
    Copy the full SHA
    0ca765f View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2014

  1. Add missing doc-block + mention standards in README

    Elias Van Ootegem committed Jul 23, 2014
    Configuration menu
    Copy the full SHA
    d87e923 View commit details
    Browse the repository at this point in the history
  2. Implement certain magic methods as final, to avoid overloading in a g…

    …iven implementation of this wrapper
    Elias Van Ootegem committed Jul 23, 2014
    Configuration menu
    Copy the full SHA
    d14c78d View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2014

  1. Minor fixes

    Elias Van Ootegem committed Jul 31, 2014
    Configuration menu
    Copy the full SHA
    25e8850 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2014

  1. Merge branch 'feature/composer'

    * Make composer-aware feature branch new master!
    * feature/composer: (45 commits)
      Minor fixes
      Implement certain magic methods as final, to avoid overloading in a given implementation of this wrapper
      Add missing doc-block + mention standards in README
      Fix typo in doc-block
      Add Contact-rest class, add all Contact-related requests here
      Add Generic model generator + add Contact model (Generated using generator tool)
      Set properties of note when gotten from API
      Fix doc-block formatting
      Change cc_emails to variable, but default to constant, still
      Add example Note-call + update models to filter out the comments accordingly
      Do not set custom fields, if none are set on the object, to avoid 500 error
      typo fix
      Bugfix: add getCustomFields method (undefined ATM)
      Add constants (taken from API docs
      Bugfix: if RESPONSE_KEY is found, use it
      Add support for pseudo-namespaced classes to generator, allow overwrite of existing files (through method argument)
      Fix class constant => has to be valid regex
      Add var types + ignore rules to pass code analysis
      Fix CustomField class
      Add initial UNTEST code for customField support
      ...
    Elias Van Ootegem committed Aug 19, 2014
    Configuration menu
    Copy the full SHA
    c9de4f4 View commit details
    Browse the repository at this point in the history
  2. Humour packagist: only lower-case package names allowed

    Elias Van Ootegem committed Aug 19, 2014
    Configuration menu
    Copy the full SHA
    85af485 View commit details
    Browse the repository at this point in the history
  3. Add licence

    Elias Van Ootegem committed Aug 19, 2014
    Configuration menu
    Copy the full SHA
    988d1a2 View commit details
    Browse the repository at this point in the history
  4. Change branch names in README

    Elias Van Ootegem committed Aug 19, 2014
    Configuration menu
    Copy the full SHA
    e55e6de View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    522792f View commit details
    Browse the repository at this point in the history
  6. Add buzz-words

    Elias Van Ootegem committed Aug 19, 2014
    Configuration menu
    Copy the full SHA
    3796526 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2014

  1. add statusName property, get tickets for user, grouped by status

    Elias Van Ootegem committed Sep 16, 2014
    Configuration menu
    Copy the full SHA
    657b12d View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2014

  1. Typo in constant in Ticket Model

    Mathew Hucks committed Sep 17, 2014
    Configuration menu
    Copy the full SHA
    58753ab View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2014

  1. Configuration menu
    Copy the full SHA
    034a201 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b27c51b View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into feature/delete-ticket

    update readme on this branch, too
    EVODelavega committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    f456582 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2014

  1. Configuration menu
    Copy the full SHA
    838b010 View commit details
    Browse the repository at this point in the history
  2. Fixed issue using bad constant, added new method examples to the exam…

    …ple file
    Elias Van Ootegem committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    30c7d12 View commit details
    Browse the repository at this point in the history
  3. Update readme, contained outdated info

    Elias Van Ootegem committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    365c4e2 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2014

  1. Configuration menu
    Copy the full SHA
    9bff244 View commit details
    Browse the repository at this point in the history
  2. Add changes to gitignore

    EVODelavega committed Dec 2, 2014
    Configuration menu
    Copy the full SHA
    9e64e0c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61544be View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2014

  1. Declare master as version 1 of wrapper

    Elias Van Ootegem committed Dec 9, 2014
    Configuration menu
    Copy the full SHA
    9e367c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82b0d18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8c7d15 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    363d468 View commit details
    Browse the repository at this point in the history
  5. Add travis to readme

    EVODelavega committed Dec 9, 2014
    Configuration menu
    Copy the full SHA
    f51522f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    de51b0b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    24beaec View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2014

  1. Configuration menu
    Copy the full SHA
    d646299 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1309e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    54f3154 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    31352be View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2014

  1. Add tests for error responses

    Elias Van Ootegem committed Dec 15, 2014
    Configuration menu
    Copy the full SHA
    847a0ca View commit details
    Browse the repository at this point in the history
  2. Add note tests + fix UpdatedAt getter

    Elias Van Ootegem committed Dec 15, 2014
    Configuration menu
    Copy the full SHA
    fc51f4b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8705c32 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2014

  1. Fix typo in description

    Elias Van Ootegem committed Dec 30, 2014
    Configuration menu
    Copy the full SHA
    53782be View commit details
    Browse the repository at this point in the history
  2. Add test for Contact API + fix name conflict in Ticket API + update d…

    …ependencies
    Elias Van Ootegem committed Dec 30, 2014
    Configuration menu
    Copy the full SHA
    6271cfd View commit details
    Browse the repository at this point in the history
  3. Update readme a bit

    Elias Van Ootegem committed Dec 30, 2014
    Configuration menu
    Copy the full SHA
    27a0064 View commit details
    Browse the repository at this point in the history
  4. Add test for error response

    Elias Van Ootegem committed Dec 30, 2014
    Configuration menu
    Copy the full SHA
    a71b677 View commit details
    Browse the repository at this point in the history
  5. Test models more thoroughly

    Elias Van Ootegem committed Dec 30, 2014
    Configuration menu
    Copy the full SHA
    1ca24f4 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2015

  1. Mock API sections properly (skip constructors)

    Elias Van Ootegem committed Jan 12, 2015
    Configuration menu
    Copy the full SHA
    5a187e6 View commit details
    Browse the repository at this point in the history
  2. Add factory-like method + test it

    Elias Van Ootegem committed Jan 12, 2015
    Configuration menu
    Copy the full SHA
    7af8f01 View commit details
    Browse the repository at this point in the history
  3. Add invalid section constants test

    Elias Van Ootegem committed Jan 12, 2015
    Configuration menu
    Copy the full SHA
    3493994 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7821890 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2015

  1. Update PHPUnit dependency

    Elias Van Ootegem committed Jan 28, 2015
    Configuration menu
    Copy the full SHA
    587bc68 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2015

  1. Configuration menu
    Copy the full SHA
    6e51647 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a43be2f View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2015

  1. Add support for tags in the Ticket model

    To support tags, the toJsonData() function was restructured to allow for other data.
    Sam Wierema committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    c7ef13a View commit details
    Browse the repository at this point in the history
  2. Create a protected var called tags in the Ticket model

    Sam Wierema committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    5c9aef2 View commit details
    Browse the repository at this point in the history
  3. Revert back to old array notation

    Sam Wierema committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    6cda3f0 View commit details
    Browse the repository at this point in the history
  4. Set variable name in camelCase

    Sam Wierema committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    a27cf23 View commit details
    Browse the repository at this point in the history
  5. Change tags to be an array

    This allows individual tags to be set using the addTag() method.
    Sam Wierema committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    4cb2397 View commit details
    Browse the repository at this point in the history
  6. Add a CONTRIBUTORS file, remove @author tags

    Sam Wierema committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    1037aea View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6766161 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #2 from samwierema/dev-tags

    Add support for tags in the Ticket model
    EVODelavega committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    74973f3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    077a81a View commit details
    Browse the repository at this point in the history