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

added ability to set status code in controller #540

Merged
merged 2 commits into from
Jan 27, 2019

Conversation

josephmancuso
Copy link
Member

This PR adds the ability to set a status code in a controller

@coveralls
Copy link

coveralls commented Jan 22, 2019

Coverage Status

Coverage increased (+0.004%) to 89.728% when pulling e90f5e8 on fix-status-setting into e4b6d45 on master.

@josephmancuso josephmancuso merged commit 5ede5d8 into master Jan 27, 2019
josephmancuso added a commit that referenced this pull request Jan 27, 2019
* added new config helper function

* flake8

* added docstrings

* flake8

* removed need for config prefix

* Add in container (#520)

* added contains method to container

* formatted and added tests

* bumped version

* Add ability to login using multiple columns (#521)

* add list to auth class

* adds ability to set a password column

* formatted

* fixed space in exception

* Adds route redirection (#545)

* adds a new redirect route class

* flake8

* fixes issue where a json null could throw an exception (#544)

* added ability to set status code in controller (#540)

* added ability to set status code in controller

* flake8

* added better exception when passing incorrect parameter type (#539)

* added better exception when passing incorrect parameter type

* fixed view test

* fix delete method when body length is 0 (#529)

* fix docstring for secure headers middleware (#548)

* bumped version
josephmancuso added a commit that referenced this pull request Feb 10, 2019
* added new config helper function

* flake8

* added docstrings

* flake8

* removed need for config prefix

* Add in container (#520)

* added contains method to container

* formatted and added tests

* bumped version

* Add ability to login using multiple columns (#521)

* add list to auth class

* adds ability to set a password column

* formatted

* fixed space in exception

* Adds route redirection (#545)

* adds a new redirect route class

* flake8

* fixes issue where a json null could throw an exception (#544)

* added ability to set status code in controller (#540)

* added ability to set status code in controller

* flake8

* added better exception when passing incorrect parameter type (#539)

* added better exception when passing incorrect parameter type

* fixed view test

* fix delete method when body length is 0 (#529)

* fix docstring for secure headers middleware (#548)

* bumped version

* Adds ability to use list for route params (#552)

* Adds ability to use list for route params

* added new assertion

* Add new data type to be done serializing after response into json.

* Fixing statement else if to elif

* Inicial code to test response.

* Assigment the serialized data to view variable to return just at end method.

* Add test to verify the return of Response.

* Wrapped serialized content by json() method from Response.

* Filling more code to verify why Response is come empty.

* minor tweaks for tests

* flake8

* added ability to specify routes in the initializer (#559)

* flake8

* Add migration message (#551)

* added ability to show message when migrations are unmigrated

* flake8 fixes

* fixed command

* flake8

* Adding statement to verify whether queue's driver is default.

* Adding tests do verify default queue driver. Closes #564

* reworked queue connection drivers (#563)

* fixed login method (#562)

* bumped version

* reworked queue connection drivers

* modified queues

* Masonite can now retry failed jobs 3 times and call a failed callback

* added queue route

* added failed job handling and job database table

* fixed queue command docstrings

* job failed methods now need to accept payload and error

* commit

* can now specify the channel you want to listen on

* flake8

* flake8

* removed queue failed command

* fixed command option descroption

* fixed failed and fair

* modified test

* added base queue driver

* only queueable classes will get requeud on fail

* flake8

* upgrades async driver

* updated async

* cleaned up class inheritance

* flake8

* fixed contract

* updated queue contract

* added better test for default

* bumped version number
@josephmancuso josephmancuso deleted the fix-status-setting branch April 1, 2019 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants