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

Bring Parable to 1.0.0 #27

Merged
merged 86 commits into from
Feb 4, 2018
Merged

Bring Parable to 1.0.0 #27

merged 86 commits into from
Feb 4, 2018

Commits on Nov 22, 2017

  1. CHANGELOG will come later. Complete all doc blocks with explanations,…

    … even if superfluous. Add some methods. Fix tests. Remove deprecated stuff.
    Robin de Graaf committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    a4d59d2 View commit details
    Browse the repository at this point in the history
  2. Add a space, or StyleCI will freak out.

    Robin de Graaf committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    86158dd View commit details
    Browse the repository at this point in the history
  3. Add some spaces so the constants in App look nice.

    Robin de Graaf committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    048d00f View commit details
    Browse the repository at this point in the history
  4. Add more config values for Framework Mailer. Now has parable.mail.[se…

    …nder|from.email|from.name].
    Robin de Graaf committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    a2d6e3a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    00e2ba8 View commit details
    Browse the repository at this point in the history
  6. Remove docs from .gitignore

    Robin de Graaf committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    0bbc00e View commit details
    Browse the repository at this point in the history
  7. Fix no routes found app test so that when it fails, it's not just 'di…

    …d not assert anything'.
    Robin de Graaf committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    5c9d4aa View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2017

  1. I almost don't want to mention it, but up the v to 1 and update the C…

    …HANGELOG.md as well.
    Robin de Graaf committed Nov 23, 2017
    Configuration menu
    Copy the full SHA
    320b738 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2017

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

Commits on Nov 27, 2017

  1. Rework clearLine logic to use actual terminal width rather than buggy…

    … line length.
    Robin de Graaf committed Nov 27, 2017
    Configuration menu
    Copy the full SHA
    a48c702 View commit details
    Browse the repository at this point in the history
  2. Fix comments on Console Output methods that disable/enable line clear…

    …ing.
    Robin de Graaf committed Nov 27, 2017
    Configuration menu
    Copy the full SHA
    19966f4 View commit details
    Browse the repository at this point in the history
  3. Fix float detection in Route

    Robin de Graaf committed Nov 27, 2017
    Configuration menu
    Copy the full SHA
    ef62e6e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cea9cb5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    401ec69 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into develop

    Robin de Graaf committed Nov 27, 2017
    Configuration menu
    Copy the full SHA
    b421904 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2017

  1. Make Route object more robust, add some important tests, remove @var

    …refs that are no longer needed.
    Robin de Graaf committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    9b39b1f View commit details
    Browse the repository at this point in the history
  2. StyleCI fix

    Robin de Graaf committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    156e63e View commit details
    Browse the repository at this point in the history
  3. Starting to regret this whole StyleCI thing.

    Robin de Graaf committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    6977aa4 View commit details
    Browse the repository at this point in the history
  4. Remove obsolete comment from CHANGELOG.md

    Robin de Graaf committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    f1c375f View commit details
    Browse the repository at this point in the history
  5. Add/rework some methods on Router

    Robin de Graaf committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    d591bea View commit details
    Browse the repository at this point in the history
  6. Revert overwrite of dynamicReturnTypeMeta.json and fix the weird happ…

    …enstance that caused it.
    Robin de Graaf committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    d16c614 View commit details
    Browse the repository at this point in the history
  7. Fix obscure Path::getDir() bug, no longer need jury-rig in init-struc…

    …ture command copy.
    Robin de Graaf committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    2749ab3 View commit details
    Browse the repository at this point in the history
  8. Add Response::clearContent()

    Robin de Graaf committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    8cee277 View commit details
    Browse the repository at this point in the history
  9. Upgrade \Console\Input significantly with single key presses. Far too…

    … happy about this.
    Robin de Graaf committed Nov 28, 2017
    4 Configuration menu
    Copy the full SHA
    ad0c76f View commit details
    Browse the repository at this point in the history
  10. Suck on a stick, StyleCI.

    Robin de Graaf committed Nov 28, 2017
    1 Configuration menu
    Copy the full SHA
    fc4cb70 View commit details
    Browse the repository at this point in the history
  11. Add $default parameter to \Parable\GetSet\Base::get()

    to return when `$key` not found. Default `null` for BC.
    dmvdbrugge committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    9ebbb7a View commit details
    Browse the repository at this point in the history
  12. Merge pull request #30 from dmvdbrugge/default-for-getset-base-get

    Add `$default` parameter to `\Parable\GetSet\Base::get()`
    Robin de Graaf authored Nov 28, 2017
    Configuration menu
    Copy the full SHA
    b634ec1 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2017

  1. Fix parameter parsing bug

    When having an argument after an `--option=value`, option's value became argument, and both value and the argument got lost.
    dmvdbrugge committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    3a79130 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #31 from dmvdbrugge/fix-argument-after-option

    Fix parameter parsing bug
    Robin de Graaf authored Nov 29, 2017
    Configuration menu
    Copy the full SHA
    bb2235a View commit details
    Browse the repository at this point in the history
  3. Rename some config values, add possibility to register classes with t…

    …he view, add getTerminalHeight() to Console\Output
    Robin de Graaf committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    8eb5f5b View commit details
    Browse the repository at this point in the history
  4. Remove left-behind var_dump debug code

    Robin de Graaf committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    ef4c6b0 View commit details
    Browse the repository at this point in the history
  5. Add getDispatchedRoute() to Dispatcher.

    Robin de Graaf committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    f28d547 View commit details
    Browse the repository at this point in the history
  6. Add two dispatch events to hook into between controller/callable and …

    …template loading.
    Robin de Graaf committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    d127e6d View commit details
    Browse the repository at this point in the history
  7. Add setValue() on Route

    Robin de Graaf committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    054b310 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2017

  1. Remove ###VENDOR_PATH### rewriting in public/index.php and make it dy…

    …namic again.
    Robin de Graaf committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    44890bb View commit details
    Browse the repository at this point in the history
  2. Add constants to Parameter to replace required/valueRequired booleans…

    … for more options.
    Robin de Graaf committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    16d62d3 View commit details
    Browse the repository at this point in the history
  3. Rewrite parameters to use classes rather than arrays. Also rewrite pa…

    …rsing.
    Robin de Graaf committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    5c5af94 View commit details
    Browse the repository at this point in the history
  4. StyleCI again.

    Robin de Graaf committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    9acfdcf View commit details
    Browse the repository at this point in the history
  5. Merge pull request #32 from devvoh/develop-parameter-rewrite

    Rewrite parameters to use classes rather than arrays. Also rewrite parsing.
    Robin de Graaf authored Nov 30, 2017
    Configuration menu
    Copy the full SHA
    d84611d View commit details
    Browse the repository at this point in the history
  6. Update CHANGELOG.md with the Parameter rewrite notables.

    Robin de Graaf committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    34b8982 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c01a65c View commit details
    Browse the repository at this point in the history
  8. Remove obsolete index setting from parseParameters()

    Robin de Graaf committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    a68d16d View commit details
    Browse the repository at this point in the history
  9. Make the parable command executable by default

    Because now every time I composer update, it complains about "changed files",
    because the install makes it executable while in the repo it isn't.
    dmvdbrugge committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    c3026d2 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #33 from dmvdbrugge/plus-x-for-parable-executable

    Make the parable command executable by default
    Robin de Graaf authored Nov 30, 2017
    Configuration menu
    Copy the full SHA
    6554f0e View commit details
    Browse the repository at this point in the history
  11. Fix arguments

    Arguments were being added to Command by name.
    Arguments were being added to Parameter by index.
    Index was thus not an int, but a name.
    A non-numerical string converted to int becomes 0.
    Thus, all arguments in Parameter were at order 0.
    Thus, while there were possibly a lot of arguments in Command, there was only 1 in Parameter.
    Why didn't the test pick this up? Because the test case didn't represent the actual situation.
    As soon as I added names as keys to the test, it broke.
    
    Solution: don't key by name in Command.
    It wasn't used anyway, and the typehint for getArguments was `Argument[]` which implies numerical keys.
    Not adding a changelog, because the bug was introduced earlier in PR #27 and hadn't reached master yet.
    dmvdbrugge committed Nov 30, 2017
    Configuration menu
    Copy the full SHA
    b86df14 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #34 from dmvdbrugge/fix-argument-indexing

    Fix arguments
    Robin de Graaf authored Nov 30, 2017
    Configuration menu
    Copy the full SHA
    e9f8cfc View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2017

  1. Parameter::getArguments() no longer calls getArgument() since it does…

    … ->getValue() anyway.
    Robin de Graaf committed Dec 1, 2017
    Configuration menu
    Copy the full SHA
    2a807ff View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2017

  1. Configuration menu
    Copy the full SHA
    991ad9b View commit details
    Browse the repository at this point in the history
  2. There isn't a commit where StyleCI doesn't whine.

    Robin de Graaf committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    a4e588f View commit details
    Browse the repository at this point in the history
  3. Told ya.

    Robin de Graaf committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    e644b84 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2017

  1. Add defines.php so DS and BASEDIR are back but without odd bootstrapp…

    …ing.
    Robin de Graaf committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    0c62409 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29f63b0 View commit details
    Browse the repository at this point in the history
  3. Rename any() to multiple(), which accepts an array of methods, and ma…

    …ke any just call multiple with all valid methods.
    Robin de Graaf committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    91a3b92 View commit details
    Browse the repository at this point in the history
  4. Okay StyleCI, I'll give you that one...

    Robin de Graaf committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    6000a67 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2017

  1. Some small fixes based on feedback from @dmvdbrugge

    Robin de Graaf committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    8b8d395 View commit details
    Browse the repository at this point in the history
  2. Update README.md summat.

    Robin de Graaf committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    2246d4c View commit details
    Browse the repository at this point in the history
  3. Make preformatted text prettier.

    Robin de Graaf committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    5ebeba5 View commit details
    Browse the repository at this point in the history
  4. Update README some mo and add CONTRIBUTING.md

    Robin de Graaf committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    e9edfa9 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2017

  1. Update CONTRIBUTING.md with design goals.

    Robin de Graaf committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    e11664f View commit details
    Browse the repository at this point in the history
  2. Console fixes for Windows

    - Check if posix_isatty function exists before calling
    - Get terminal width and height for Windows (both cmd and shell)
    dmvdbrugge committed Dec 10, 2017
    Configuration menu
    Copy the full SHA
    155a32b View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2017

  1. Ditch Windows mode, keep tput if shell.

    Also constants for defaults.
    dmvdbrugge committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    d676dcc View commit details
    Browse the repository at this point in the history
  2. Merge pull request #36 from dmvdbrugge/console-fixes-for-windows

    Console fixes for Windows
    Robin de Graaf authored Dec 11, 2017
    Configuration menu
    Copy the full SHA
    d4731b8 View commit details
    Browse the repository at this point in the history
  3. Make @dmvdbrugge's fix for Console\Output more compact.

    Robin de Graaf committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    8a1f296 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2017

  1. Prevent XSS through urls passed to the Router.

    Robin de Graaf committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    026d376 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2017

  1. Fix getOption() and getProvidedValue() for they break on falsy values.

    See new test, dp-testcases with index 5, 6, 7, and 9 fail without these changes.
    dmvdbrugge committed Dec 16, 2017
    Configuration menu
    Copy the full SHA
    1667e78 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2017

  1. Merge pull request #37 from dmvdbrugge/fix-option-value-zero

    Fix getOption() and getProvidedValue() for they break on falsy values.
    Robin de Graaf authored Dec 17, 2017
    Configuration menu
    Copy the full SHA
    b206198 View commit details
    Browse the repository at this point in the history
  2. Add usage to Help, remove PARAMETER_x from Options, test fixes and im…

    …provements.
    Robin de Graaf committed Dec 17, 2017
    Configuration menu
    Copy the full SHA
    f72f37e View commit details
    Browse the repository at this point in the history
  3. Small fixes.

    Robin de Graaf committed Dec 17, 2017
    Configuration menu
    Copy the full SHA
    6b50d32 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2017

  1. Small code & typo fixes

    Robin de Graaf committed Dec 29, 2017
    Configuration menu
    Copy the full SHA
    a0c72f9 View commit details
    Browse the repository at this point in the history
  2. Add tests for array-style controller+action callbacks and add a fix f…

    …or calling non-static actions.
    Robin de Graaf committed Dec 29, 2017
    Configuration menu
    Copy the full SHA
    624a85c View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2017

  1. Kill all the legacy! Routes now added using the method functions on A…

    …pp rather than arrays.
    Robin de Graaf committed Dec 31, 2017
    Configuration menu
    Copy the full SHA
    67b5d34 View commit details
    Browse the repository at this point in the history
  2. Add trailing newline

    Robin de Graaf committed Dec 31, 2017
    Configuration menu
    Copy the full SHA
    9440085 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2018

  1. Configuration menu
    Copy the full SHA
    f9e38de View commit details
    Browse the repository at this point in the history
  2. PR fixes suggested by @dmvdbrugge

    Robin de Graaf committed Jan 2, 2018
    Configuration menu
    Copy the full SHA
    f06e4c9 View commit details
    Browse the repository at this point in the history
  3. More PR fixes

    Robin de Graaf committed Jan 2, 2018
    Configuration menu
    Copy the full SHA
    f41c589 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #38 from devvoh/break-the-routes

    Break the routes and then unbreak them again.
    Robin de Graaf authored Jan 2, 2018
    Configuration menu
    Copy the full SHA
    5372a5b View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2018

  1. 1 Configuration menu
    Copy the full SHA
    d873dd4 View commit details
    Browse the repository at this point in the history
  2. Remove test debug code

    Robin de Graaf committed Jan 7, 2018
    Configuration menu
    Copy the full SHA
    d71d391 View commit details
    Browse the repository at this point in the history
  3. And some more. Great day.

    Robin de Graaf committed Jan 7, 2018
    Configuration menu
    Copy the full SHA
    4991816 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2018

  1. Refresh the default welcome page.

    Robin de Graaf committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    ac8bb27 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2018

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

Commits on Feb 3, 2018

  1. Add ::create() to Models for easy instantiating.

    Robin de Graaf committed Feb 3, 2018
    Configuration menu
    Copy the full SHA
    cd4de1f View commit details
    Browse the repository at this point in the history
  2. Fix style

    Robin de Graaf committed Feb 3, 2018
    Configuration menu
    Copy the full SHA
    e1c1ca3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d774fdc View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2018

  1. Improvements to ORM and the default structure's config.

    Robin de Graaf committed Feb 4, 2018
    Configuration menu
    Copy the full SHA
    942a2c2 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG and CHANGELOG-HISTORY.md

    Robin de Graaf committed Feb 4, 2018
    Configuration menu
    Copy the full SHA
    cbe53da View commit details
    Browse the repository at this point in the history