Skip to content

Commit

Permalink
v1.2 (#10)
Browse files Browse the repository at this point in the history
* Bump SDK version

* Remove local repository link for compose

* Prepare for release
  • Loading branch information
tobytwigger authored Mar 16, 2020
1 parent 3e6bb18 commit 4d103c2
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 41 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.2] - (16/03/2020)

### Changed
- Bump SDK version
- Use the request parameters to track the activity instance

### Added
- Bind default testing Authentication and ActivityInstance contracts in tests

## [1.1.2] - (12/03/2020)

Expand Down Expand Up @@ -54,7 +61,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Open and save module instances
- Change settings, permissions and third party connections

[Unreleased]: https://github.com/bristol-su/playground/compare/v1.1.2...HEAD
[Unreleased]: https://github.com/bristol-su/playground/compare/v1.2...HEAD
[1.2]: https://github.com/bristol-su/playground/compare/v1.1.2...v1.2
[1.1.2]: https://github.com/bristol-su/playground/compare/v1.1.1...v1.1.2
[1.1.1]: https://github.com/bristol-su/playground/compare/v1.1...v1.1.1
[1.1]: https://github.com/bristol-su/playground/compare/v1.0.3...v1.1
Expand Down
2 changes: 1 addition & 1 deletion app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function render($request, Exception $exception)
app(ResourceIdGenerator::class)->fromString($activity->activity_for)
);
app(ActivityInstanceResolver::class)->setActivityInstance($activityInstance);
return redirect()->to($request->url());
return redirect()->to($request->fullUrl());
}

return parent::render($request, $exception);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": "^7.2",
"bristol-su/static-page": "^1.0",
"bristol-su/support": "^3.0",
"bristol-su/support": "^3.1",
"bristol-su/typeform": "^1.0",
"bristol-su/upload-file": "^1.0",
"fideloper/proxy": "^4.0",
Expand Down
38 changes: 21 additions & 17 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions docs/Console_2Kernel_8php_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,13 @@
<div class="title">Kernel.php</div> </div>
</div><!--header-->
<div class="contents">
<a href="Console_2Kernel_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;&lt;?php</div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceBristolSU_1_1Playground_1_1Console.html">BristolSU\Playground\Console</a>;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;use <a class="code" href="namespaceIlluminate_1_1Console_1_1Scheduling_1_1Schedule.html">Illuminate\Console\Scheduling\Schedule</a>;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;use Illuminate\Foundation\Console\Kernel as ConsoleKernel;</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html"> 8</a></span>&#160;<span class="keyword">class </span><a class="code" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html">Kernel</a> <span class="keyword">extends</span> ConsoleKernel</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;{</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a16376546901e7aa74555d41dc80c8ad8"> 15</a></span>&#160; <span class="keyword">protected</span> <a class="code" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a16376546901e7aa74555d41dc80c8ad8">$commands</a> = [</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="comment">//</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; ];</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#ab130c95406fed6f6b3ff89d7767287b7"> 25</a></span>&#160; <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#ab130c95406fed6f6b3ff89d7767287b7">schedule</a>(Schedule $schedule)</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; }</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a85db311e3a1d78bdc9144e1c199f0f83"> 34</a></span>&#160; <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a85db311e3a1d78bdc9144e1c199f0f83">commands</a>()</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; $this-&gt;load(__DIR__.<span class="stringliteral">&#39;/Commands&#39;</span>);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; require base_path(<span class="stringliteral">&#39;routes/console.php&#39;</span>);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; }</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;}</div><div class="ttc" id="namespaceIlluminate_1_1Console_1_1Scheduling_1_1Schedule_html"><div class="ttname"><a href="namespaceIlluminate_1_1Console_1_1Scheduling_1_1Schedule.html">Schedule</a></div></div>
<div class="ttc" id="classBristolSU_1_1Playground_1_1Console_1_1Kernel_html_ab130c95406fed6f6b3ff89d7767287b7"><div class="ttname"><a href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#ab130c95406fed6f6b3ff89d7767287b7">BristolSU\Playground\Console\Kernel\schedule</a></div><div class="ttdeci">schedule(Schedule $schedule)</div><div class="ttdef"><b>Definition:</b> <a href="Console_2Kernel_8php_source.html#l00025">Kernel.php:25</a></div></div>
<div class="ttc" id="classBristolSU_1_1Playground_1_1Console_1_1Kernel_html"><div class="ttname"><a href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html">BristolSU\Playground\Console\Kernel</a></div><div class="ttdef"><b>Definition:</b> <a href="Console_2Kernel_8php_source.html#l00008">Kernel.php:8</a></div></div>
<a href="Console_2Kernel_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;&lt;?php</div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceBristolSU_1_1Playground_1_1Console.html">BristolSU\Playground\Console</a>;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;use <a class="code" href="namespaceIlluminate_1_1Console_1_1Scheduling_1_1Schedule.html">Illuminate\Console\Scheduling\Schedule</a>;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;use Illuminate\Foundation\Console\Kernel as ConsoleKernel;</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;use <a class="code" href="namespaceBristolSU_1_1Support_1_1ModuleInstance_1_1Contracts_1_1Scheduler_1_1CommandStore.html">BristolSU\Support\ModuleInstance\Contracts\Scheduler\CommandStore</a>;</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html"> 9</a></span>&#160;<span class="keyword">class </span><a class="code" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html">Kernel</a> <span class="keyword">extends</span> ConsoleKernel</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;{</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a16376546901e7aa74555d41dc80c8ad8"> 16</a></span>&#160; <span class="keyword">protected</span> <a class="code" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a16376546901e7aa74555d41dc80c8ad8">$commands</a> = [</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="comment">//</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; ];</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#ab130c95406fed6f6b3ff89d7767287b7"> 26</a></span>&#160; <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#ab130c95406fed6f6b3ff89d7767287b7">schedule</a>(Schedule $schedule)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keywordflow">foreach</span>(app(CommandStore::class)-&gt;all() as $alias =&gt; <a class="code" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a16376546901e7aa74555d41dc80c8ad8">$commands</a>) {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keywordflow">foreach</span>(<a class="code" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a16376546901e7aa74555d41dc80c8ad8">$commands</a> as $command =&gt; $cron) {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; $schedule-&gt;command($command)-&gt;cron($cron);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; }</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; }</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; }</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a85db311e3a1d78bdc9144e1c199f0f83"> 40</a></span>&#160; <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a85db311e3a1d78bdc9144e1c199f0f83">commands</a>()</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; $this-&gt;load(__DIR__.<span class="stringliteral">&#39;/Commands&#39;</span>);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; require base_path(<span class="stringliteral">&#39;routes/console.php&#39;</span>);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; }</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;}</div><div class="ttc" id="namespaceIlluminate_1_1Console_1_1Scheduling_1_1Schedule_html"><div class="ttname"><a href="namespaceIlluminate_1_1Console_1_1Scheduling_1_1Schedule.html">Schedule</a></div></div>
<div class="ttc" id="classBristolSU_1_1Playground_1_1Console_1_1Kernel_html_ab130c95406fed6f6b3ff89d7767287b7"><div class="ttname"><a href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#ab130c95406fed6f6b3ff89d7767287b7">BristolSU\Playground\Console\Kernel\schedule</a></div><div class="ttdeci">schedule(Schedule $schedule)</div><div class="ttdef"><b>Definition:</b> <a href="Console_2Kernel_8php_source.html#l00026">Kernel.php:26</a></div></div>
<div class="ttc" id="namespaceBristolSU_1_1Support_1_1ModuleInstance_1_1Contracts_1_1Scheduler_1_1CommandStore_html"><div class="ttname"><a href="namespaceBristolSU_1_1Support_1_1ModuleInstance_1_1Contracts_1_1Scheduler_1_1CommandStore.html">CommandStore</a></div></div>
<div class="ttc" id="classBristolSU_1_1Playground_1_1Console_1_1Kernel_html"><div class="ttname"><a href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html">BristolSU\Playground\Console\Kernel</a></div><div class="ttdef"><b>Definition:</b> <a href="Console_2Kernel_8php_source.html#l00009">Kernel.php:9</a></div></div>
<div class="ttc" id="namespaceBristolSU_1_1Playground_1_1Console_html"><div class="ttname"><a href="namespaceBristolSU_1_1Playground_1_1Console.html">BristolSU\Playground\Console</a></div></div>
<div class="ttc" id="classBristolSU_1_1Playground_1_1Console_1_1Kernel_html_a16376546901e7aa74555d41dc80c8ad8"><div class="ttname"><a href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a16376546901e7aa74555d41dc80c8ad8">BristolSU\Playground\Console\Kernel\$commands</a></div><div class="ttdeci">$commands</div><div class="ttdef"><b>Definition:</b> <a href="Console_2Kernel_8php_source.html#l00015">Kernel.php:15</a></div></div>
<div class="ttc" id="classBristolSU_1_1Playground_1_1Console_1_1Kernel_html_a85db311e3a1d78bdc9144e1c199f0f83"><div class="ttname"><a href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a85db311e3a1d78bdc9144e1c199f0f83">BristolSU\Playground\Console\Kernel\commands</a></div><div class="ttdeci">commands()</div><div class="ttdef"><b>Definition:</b> <a href="Console_2Kernel_8php_source.html#l00034">Kernel.php:34</a></div></div>
<div class="ttc" id="classBristolSU_1_1Playground_1_1Console_1_1Kernel_html_a16376546901e7aa74555d41dc80c8ad8"><div class="ttname"><a href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a16376546901e7aa74555d41dc80c8ad8">BristolSU\Playground\Console\Kernel\$commands</a></div><div class="ttdeci">$commands</div><div class="ttdef"><b>Definition:</b> <a href="Console_2Kernel_8php_source.html#l00016">Kernel.php:16</a></div></div>
<div class="ttc" id="classBristolSU_1_1Playground_1_1Console_1_1Kernel_html_a85db311e3a1d78bdc9144e1c199f0f83"><div class="ttname"><a href="classBristolSU_1_1Playground_1_1Console_1_1Kernel.html#a85db311e3a1d78bdc9144e1c199f0f83">BristolSU\Playground\Console\Kernel\commands</a></div><div class="ttdeci">commands()</div><div class="ttdef"><b>Definition:</b> <a href="Console_2Kernel_8php_source.html#l00040">Kernel.php:40</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Expand Down
Loading

0 comments on commit 4d103c2

Please sign in to comment.